mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 20:11:47 +08:00
21 lines
490 B
Objective-C
21 lines
490 B
Objective-C
|
|
#import <UIKit/UIKit.h>
|
|
#import "cocos2d.h"
|
|
|
|
// Added only for iOS 6 support
|
|
@interface MyNavigationController : UINavigationController <CCDirectorDelegate>
|
|
@end
|
|
|
|
@interface AppController : NSObject <UIApplicationDelegate> {
|
|
UIWindow *window_;
|
|
MyNavigationController *navController_;
|
|
|
|
CCDirectorIOS *director_; // weak ref
|
|
}
|
|
|
|
@property (nonatomic, retain) UIWindow *window;
|
|
@property (readonly) MyNavigationController *navController;
|
|
@property (readonly) CCDirectorIOS *director;
|
|
|
|
@end
|