I upgraded Xcode to version 6. Since then, I have not been able to use the code that was used to write to Xcode 5 using Objective C.
There are several new files: GameScene.h and GameScene.m and GameScene.sks instead of MyScene.h and MyScene.m
They are loaded using:
-(void)didMoveToView:(SKView *)view {
}
instead of the usual
-(id) initWithSize: (CGSize)size {
}
I can not use the code that I used to write to initWithSize in the didMoveToView file, it does not work properly. And if I create initWithSize myself, it doesn't work either.
Please, help! :)
source
share