Class or struct from string? http://inessential.com/2015/07/20/swift_diary_1_class_or_struct_from_str …
-
-
@mjtsai@owensd@brentsimmons I think the prefixes are legit module names, just that ObjC doesn’t require modules? - View other replies
-
@danielpunkass@owensd@brentsimmons Yes, but why does the Objective-C runtime have access to non-Obj-C classes? -
@mjtsai@owensd@brentsimmons Good question. I assumed it was only looking up@objc Swift classes. -
@danielpunkass@owensd@brentsimmons The example he gave seems to use pure Swift classes. -
@mjtsai@danielpunkass@brentsimmons very interesting; they may be unifying the runtime more than I imagined they would. -
@owensd@mjtsai@brentsimmons Maybe something they are chipping away at? From lldb stopped in Swift code…pic.twitter.com/Ol9cpVDX14
- Show more
-
@brentsimmons I've done similar items for loading game engine bits that change; problem is you cannot unload, so requires app restart. -
@owensd@brentsimmons I've make it work in playgroundhttps://gist.github.com/kostiakoval/945f70af0cfcc4270807 …
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.
Brent Simmons
David Owens II
Michael Tsai
Daniel Jalkut
Kostiantyn Koval