I had a previous question about whether or not I could add SpriteKit to an Empty Application. Now that I know that this is possible, I had one more question. I have added the SpriteKit.framework
to the correct area in Xcode.
After this, do I have to add the framework to my .pch
file? If this turns out to not be necessary, will it increase performance?
Here is my current .pch
file.
#import <Availability.h>
#ifndef __IPHONE_3_0
#warning "This project uses features only available in iOS SDK 3.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <SpriteKit/SpriteKit.h> // do I have to / should I do this?
#endif
Is the #import
necessary