Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNehemiah Reese
17,692 PointsMachine node showed and animated the first time running. After I stopped and ran it again it disappeared. Any help?
It showed and animated first time I built it. Next time I built it, it disappeared
1 Answer
ilyatoka
1,845 PointsI found the solution. The problem is that your machine is placed underneath background image (because of zPosition) To fix this, navigate to ViewController and inside viewDidLoad method change skView.ignoresSiblingOrder = YES; to skView.ignoresSiblingOrder = NO; So your nodes will placed on the scene in order they where called.
Kyle Case
44,857 PointsThanks so much! I had the same issue.
ilyatoka
1,845 Pointsilyatoka
1,845 PointsI have the same problem. And also this message in console: "CUICatalog: Invalid Request: requesting subtype without specifying idiom"