googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
647 stars 191 forks source link

Swift import #133

Closed waltermvp closed 6 years ago

waltermvp commented 8 years ago

I attempted to import themodule into swift with no success.

import GVRSDK

I get no such module found

Perhaps im using the incorrect name or is there a specific way to import into swift (maybe using a bridging header)?

waltermvp commented 8 years ago

Managed to get it working using a objective-c bridging header. IF this is the recommended way i can do a PR to include in the readme.

iraritchiemeek commented 8 years ago

Struggled with this for a long time too. Some more swift tutorials would be useful.

This is the article that helped me in the end. https://www.raywenderlich.com/136692/introduction-google-cardboard-ios

lirunfengnotAlone commented 7 years ago

might be you just build it..seems alright. display bugs?