hero: SKSpriteNode = SKSpriteNode() var objects: [SKSpriteNode] = [] override fund didMoveToView(){ camera = myCamera addChild(hero) hero.addChild(myCamera) for object in objects{ addChild(objects[object]) } }
iOS devices // MetalKit includes ModelIO class ViewController: UIViewController { let theView = SCNView() let scene = SCNScene(named: "Art.scnassets/ Building.scn")! override func viewDidLoad() { super.viewDidLoad() theView.scene = scene } }
intensive apps for iOS and OS X – 800,000,000 iOS devices @ WWDC2014 – 40,000,000 OS X devices – New hardware – OS X 10.11 El Capitan on September 30th