Liu Shiwen |
Wednesday, October 1, 2014
Tuesday, September 30, 2014
Monday, September 29, 2014
iOS:main.m AppDelegate.h AppDelegate.m
main.m
AppDelegate.h
AppDelegate.m
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * arv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
AppDelegate.h
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder
@property (strong, nonatomic) UIWindow *window;
@end
AppDelegate.m
#import "AppDelegate.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
}
-(void)applicationDidEnterBackground:(UIApplication *)application
{
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
}
- (void)applicationWillTerminate:(UIApplication *)application
{
}
@end
ラベル:
iOS
Sunday, September 28, 2014
Saturday, September 27, 2014
Friday, September 26, 2014
Subscribe to:
Posts (Atom)