rsanchezsaez / CardboardSDK-iOS

iOS port of Google's CardboardSDK (mobile VR toolkit)
Other
334 stars 104 forks source link

Swift support #12

Closed raptox closed 8 years ago

raptox commented 9 years ago

Hello there,

writing it in Swift 2 would be cool.

I am currently using it for a project. Maybe I could help?

regards

rsanchezsaez commented 8 years ago

Hi @raptox, sorry for my late reply. It's quite easy to import and use Objective-C libraries on Swift projects.

I don't see any immediate benefit in rewriting the inner SDK in Swift, but it'd be great to have an additional example (e.g., CGDTreasure) written in Swift.

I'm closing this issue now, but if you had any Swift example code that you want to contribute, please feel free to submit a PR. (Try to model its structure within the project as a sibling to CBDTreasure, with its own separate project file.) :-)