資源簡介
iOS 個(gè)人中心 demo 用collectionView做的

代碼片段和文件信息
//
//??AppDelegate.m
//??PersonCenter
//
//??Created?by?X?on?16/1/7.
//??Copyright???2016年?X.?All?rights?reserved.
//
#import?“AppDelegate.h“
#import?“CenterViewController.h“
@interface?AppDelegate?()
@end
@implementation?AppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????self.window?=?[[UIWindow?alloc]?initWithframe:[[UIScreen?mainScreen]?bounds]];
????//?Override?point?for?customization?after?application?launch.
????self.window.backgroundColor?=?[UIColor?whiteColor];
????[self.window?makeKeyAndVisible];
????self.window.rootViewController?=?[[CenterViewController?alloc]?init];
????return?YES;
}
-?(void)applicationWillResignActive:(UIApplication?*)application?{
????//?Sent?when?the?application?is?about?to?move?from?active?to?inactive?state.?This?can?occur?for?certain?types?of?temporary?interruptions?(such?as?an?incoming?phone?call?or?SMS?message)?or?when?the?user?quits?the?application?and?it?begins?the?transition?to?the?background?state.
????//?Use?this?method?to?pause?ongoing?tasks?disable?timers?and?throttle?down?OpenGL?ES?frame?rates.?Games?should?use?this?method?to?pause?the?game.
}
-?(void)applicationDidEnterBackground:(UIApplication?*)application?{
????//?Use?this?method?to?release?shared?resources?save?user?data?invalidate?timers?and?store?enough?application?state?information?to?restore?your?application?to?its?current?state?in?case?it?is?terminated?later.
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}
-?(void)applicationWillEnterForeground:(UIApplication?*)application?{
????//?Called?as?part?of?the?transition?from?the?background?to?the?inactive?state;?here?you?can?undo?many?of?the?changes?made?on?entering?the?background.
}
-?(void)applicationDidBecomeActive:(UIApplication?*)application?{
????//?Restart?any?tasks?that?were?paused?(or?not?yet?started)?while?the?application?was?inactive.?If?the?application?was?previously?in?the?background?optionally?refresh?the?user?interface.
}
-?(void)applicationWillTerminate:(UIApplication?*)application?{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}
@end
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\
?????目錄???????????0??2016-01-07?21:22??XLPersonCenter\.git\
?????文件??????????15??2016-01-07?20:13??XLPersonCenter\.git\COMMIT_EDITMSG
?????文件?????????137??2016-01-07?20:13??XLPersonCenter\.git\config
?????文件??????????73??2016-01-07?20:13??XLPersonCenter\.git\desc
?????文件??????????23??2016-01-07?20:13??XLPersonCenter\.git\HEAD
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\hooks\
?????文件?????????177??2016-01-07?20:13??XLPersonCenter\.git\hooks\README.sample
?????文件????????2778??2016-01-07?21:16??XLPersonCenter\.git\index
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\info\
?????文件??????????40??2016-01-07?20:13??XLPersonCenter\.git\info\exclude
?????目錄???????????0??2016-01-07?21:30??__MACOSX\
?????目錄???????????0??2016-01-07?21:30??__MACOSX\XLPersonCenter\
?????目錄???????????0??2016-01-07?21:30??__MACOSX\XLPersonCenter\.git\
?????目錄???????????0??2016-01-07?21:30??__MACOSX\XLPersonCenter\.git\info\
?????文件?????????171??2016-01-07?20:13??__MACOSX\XLPersonCenter\.git\info\._exclude
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\logs\
?????文件?????????155??2016-01-07?20:13??XLPersonCenter\.git\logs\HEAD
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\logs\refs\
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\logs\refs\heads\
?????文件?????????155??2016-01-07?20:13??XLPersonCenter\.git\logs\refs\heads\master
?????目錄???????????0??2016-01-07?21:16??XLPersonCenter\.git\ob
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\ob
?????文件?????????132??2016-01-07?20:13??XLPersonCenter\.git\ob
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\ob
?????文件?????????161??2016-01-07?20:13??XLPersonCenter\.git\ob
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\ob
?????文件????????1007??2016-01-07?20:13??XLPersonCenter\.git\ob
?????文件?????????217??2016-01-07?20:13??XLPersonCenter\.git\ob
?????目錄???????????0??2016-01-07?20:13??XLPersonCenter\.git\ob
?????文件?????????124??2016-01-07?20:13??XLPersonCenter\.git\ob
............此處省略125個(gè)文件信息
評論
共有 條評論