rsanchezsaez / CardboardSDK-iOS

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

Added designated initializer initWithCoder to support Storyboard #17

Closed kgoedecke closed 8 years ago

kgoedecke commented 8 years ago

See issue https://github.com/rsanchezsaez/CardboardSDK-iOS/issues/16

rsanchezsaez commented 8 years ago

So, wasn't my master commit enough to support Storyboards?

kgoedecke commented 8 years ago

Storyboard seems to use initWithCoder as designated initializer and not initWithNib.

And I also moved everything to sharedInit as you suggested ;-)

See: http://stackoverflow.com/questions/11973054/initwithnibname-method-in-storyboard

rsanchezsaez commented 8 years ago

Merged, thanks for submitting the fix!