These two errors keep popping up and i can't seem to figure what the problem is. Im making an app and wanted to have scenes so I followed the tutorial and then copy and pasted my code into what was in the tutorial and these errors popped up.
let smileyScene = SmileyScene(fileNamed: "SmileyScene")
self.view?.presentScene(SmileyScene, transition: doors)
Cannot find an initializer for type 'SmileyScene' that accepts an argument list of type '(fileNamed: String)'
Could not find an overload for 'init' that accepts the supplied arguments
Transitioning to a New Scene Swift Tutorial 33
Post a Reply
Nothing to see here.
iOS Development / Swift
This forum is for questions, comments, and general discussion about iOS Development and Swift.
|Bucky Roberts Administrator|