I'm creating a unscramble words game.
I've reached the stage where I can save/load the game using:
(void)encodeWithCoder:(NSCoder *)aCoder
(instancetype)initWithCoder:(NSCoder *)aDecoder
When I save / load the game the first time there's no problem. When I press the home button the second time the app crashes & I end up with an error that I don't know how to understand.
What does this mean?
2014-01-11 18:23:12.254 GameTest[16622:70b]
Terminating app due to uncaught exception
'Attemped to add nil node', reason: 'Attemped to add nil node to parent: <SKNode> name:'(null)' position:{0, 0} accumulatedFrame:{{inf, inf}, {inf, inf}}'
I don't know where the error occurs in my code.
Cheers Luke