Re: Swift Open Sourced

2015-12-09 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: Swift Open Sourced @Camlorn, you can't make a portable accessibility library; it just isn't possible. To do so, you'd have to tap in to every accessibility API on the system, learn all the functions it uses, and then find a way to execute them. It's not like WXWidgets where

Re: Swift Open Sourced

2015-12-09 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: Swift Open Sourced @Camlorn, you can't make a portableaccessibility library; it just isn't possible. To do so, you'd aveh to tap in to every accessibility API on the system, learn all the functions it uses, and then find a way to execute them. It's not like WXWidgets where

Re: Swift Open Sourced

2015-12-09 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: Swift Open Sourced It would be smaller than Libaudioverse and all the accessibility APIs save Linux are fully, 100% documented.  The semantic meanings of all the basic controls are the same on all platforms.  It's just the facade pattern and then a bunch of testing.  It's not even

Re: Swift Open Sourced

2015-12-07 Thread AudioGames . net Forum — Developers room : Sebby via Audiogames-reflector
Re: Swift Open Sourced Yeah, I've seen this. It's now mostly obsolete. Wonder why? But my point here is that without any concerted effort to get Objective-C bridging easily accessible, our apps will not be getting any more accessible either (iOS or OS X). That's because toolkits are simply

Re: Swift Open Sourced

2015-12-07 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: Swift Open Sourced I think accessibility on all platforms can be abstracted behind a library: acc_controlSetLable, acc_buttonSetClickHandler, etc.  In a lot of cases you can just redo your complicated control as ,one of the basic roles, and therefore it should arguably be doable.  COM

Re: Swift Open Sourced

2015-12-06 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: Swift Open Sourced Have you seen the Objective-C runtime reference?  You can call into the Objective-C runtime from any C-capable language.  I think you can also make your own classes on the C side of things.  Someone has done it for at least Python--see PyObjC--but I'm not sure

Swift Open Sourced

2015-12-06 Thread AudioGames . net Forum — Developers room : Sebby via Audiogames-reflector
Swift Open Sourced I didn't see any recent mention of it here, but now you can tailor Swift. The most interesting part of this is that Apple is not using the Objective-C runtime for the foundation classes. That's a shame--it would have meant we'd get to see how to talk to it in the real

Swift Open Sourced

2015-12-06 Thread AudioGames . net Forum — Developers room : Sebby via Audiogames-reflector
Swift Open Sourced I didn't see any recent mention of it here, but now you can tailor Swift. The most interesting part of this is that Apple is not using the Objective-C runtime for the foundation classes. That's a shame; it would have meant we'd get to see how to talk to it in the real

Re: Swift Open Sourced

2015-12-06 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: Swift Open Sourced You really need to skim this..  I'm 99.99% certain it's possible.  While the functions there are ill-documented, everything appears to be present, including class creation; I also recall seeing other guides on how to do it from back in the days when I cared

Re: Swift Open Sourced

2015-12-06 Thread AudioGames . net Forum — Developers room : Sebby via Audiogames-reflector
Re: Swift Open Sourced There are bindings for the OBJC runtime, but so far all of the ones I've seen (including PyOBJC) still require that you build and link using an Objective-C thunk. I don't believe there's any binary-compatible way to do it from straight C a la COM, which I was rather