@brentsimmons the best I got requires recompiles at runtime: https://gist.github.com/owensd/343ec6774c56a1bdb0b8 …
-
-
@owensd@brentsimmons Have you seen this? http://mjtsai.com/blog/2015/07/23/dynamic-swift/#comment-2482856 … http://www.spanware.com/blog/files/81bb0532b7f5c9ce9d015abc9b50c0e5-0.html …0 replies 1 retweet 6 likes -
@mjtsai@owensd@brentsimmons I think the prefixes are legit module names, just that ObjC doesn’t require modules?0 replies 0 retweets 0 likes -
@danielpunkass@owensd@brentsimmons Yes, but why does the Objective-C runtime have access to non-Obj-C classes?0 replies 0 retweets 0 likes -
@mjtsai@owensd@brentsimmons Good question. I assumed it was only looking up@objc Swift classes.0 replies 0 retweets 0 likes -
@danielpunkass@owensd@brentsimmons The example he gave seems to use pure Swift classes.0 replies 0 retweets 0 likes -
@mjtsai@danielpunkass@brentsimmons very interesting; they may be unifying the runtime more than I imagined they would.0 replies 0 retweets 0 likes -
@owensd@mjtsai@brentsimmons Maybe something they are chipping away at? From lldb stopped in Swift code…pic.twitter.com/Ol9cpVDX14
0 replies 0 retweets 0 likes -
@danielpunkass@owensd@mjtsai@brentsimmons NSClassFromString will only find classes, and needs a module-qualified name.0 replies 0 retweets 1 like -
@jckarter@danielpunkass@owensd@brentsimmons Can we rely on it finding classes going forward?0 replies 0 retweets 0 likes
@mjtsai @danielpunkass @owensd @brentsimmons One limitation: classes with generic heritage won't be registered until they're used from Swift
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
David Owens II
Michael Tsai
Daniel Jalkut
Joe Groff