[ios] 아이폰 생명주기 사이클 생명주기 사이클은 크게 두 종류로 나눠지는데요application 과 view 생명주기로 나눠 집니다. 1) 먼저 어플리케이션 생명주기 사이클은 이렇습니다. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions => 어플리케이션이 처음 실행될 때. (처음 메모리상에 올라가게 될 때를 말함) - (void)applicationDidBecomeActive:(UIApplication *)application => 어플리케이션이 활성화 될 때, 즉 didFinishLaunchingWithOption 호출 직후, 어플리케이션이 백그라운드로 돌아갔다가 다시 불러질 때 호출 -.. 더보기 [아이폰] NSUserDefault -> NSMutableArry NSUserDefault -> NSMutableArray 저장하여 addobject 처리 http://cafe.naver.com/mcbugi/215564 http://simverse.tistory.com/26 더보기 [iphone] UIActivityIndicatorView spinner for long running operations http://agilewarrior.wordpress.com/2012/04/03/how-to-display-uiactivityindicatorview-spinner-for-long-running-operations/쓰레드 값을 주어 마치 indicatior 가 움직이게 처리하는 것이라 착각하게 만듬.#import "rcsViewController.h" @implementation rcsViewController @synthesize myLabel; @synthesize myButton; - (IBAction)process:(id)sender { // replace right bar button 'refresh' with spinner UIActivityIndicatorView *spinner = [[UI.. 더보기 이전 1 ··· 78 79 80 81 82 83 84 ··· 253 다음