I'm using Xcode 7.3.1, Swift 2.x, iOS target is 9.3. I can find convenience init init(MDLObject mdlObject: MDLObject)
in Apple docs, but I don't see it in my project. I opened standard game project starter, SceneKit is imported. I've tried:
import ModelIO
MDLObject
I can see all SceneKit classes, and I can create MDLAsset (part of ModelIO, can return MDLObjects) instance. Any ideas, maybe I've overlooked something obvious?
the following should do
import SceneKit.ModelIO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With