Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation : Using Typhoon with Swift #230

Closed
jasperblues opened this issue Jun 3, 2014 · 4 comments
Closed

Documentation : Using Typhoon with Swift #230

jasperblues opened this issue Jun 3, 2014 · 4 comments

Comments

@jasperblues
Copy link
Member

No description provided.

@jervine10
Copy link
Contributor

Has any thought been put into what this might look like? I'm curious to see where this might lead. I've played around with Swift a little bit so far, and from what I can tell the runtime introspection of Swift classes is much different than Objective-C.

@jervine10
Copy link
Contributor

Just found one of your questions on StackOverflow that is relevant to this topic, linking to it:

http://stackoverflow.com/questions/24057525/swift-native-base-class-or-nsobject

@jasperblues
Copy link
Member Author

So far I'm thinking it will be fairly similar. Though there's too much casting required in Typhoon+swift.

Typhoon will work with dynamic dispatch. For static, Swift doesn't yet have any reflection except for Mirror which is very limited - just properties. Like c++ is static with no reflection. . Still not clear what Apple's intention is. Reflection is coming? Or we're supposed to extend NSObject and use objc runtime.

@jasperblues jasperblues changed the title Guide : Using Typhoon with Swift Documentation : Using Typhoon with Swift Aug 26, 2014
@jasperblues
Copy link
Member Author

Closing, since we have a Swift sample application and quick start guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants