아이폰 프로그래밍
-
UINavigationController 사용시 self.navigationController프로그래밍/아이폰 프로그래밍 2011. 5. 30. 11:00
UINavigationController 를 사용한 계층구조의 App 제작시 다음과 같이 하위 계층의 UIViewController 진입시 pushViewController 를 사용하게되는데요, SecondDepthViewController *sdViewController = [[SecondDepthViewController alloc] initWithNibName:@"SecondDepthViewController" bundle:nil]; [self.navigationController pushViewController:sdViewController animated:YES]; [sdViewController release]; 이를 사용하다보니 위의 self.navigationController 에서 na..
-
three20 - iPhone 확장 라이브러리프로그래밍/아이폰 프로그래밍 2010. 8. 4. 13:04
URL - http://three20.info Three20 Overview Core Think of core as your swiss-army knife of Objective-C development. You should take some time to familiarize yourself with its features. With the Three20 Core you can generate md5 hashes from NSData objects, extend the logging and debug capabilities of Xcode, compare two version strings (is 3.0 older than 3.1?), create non-retaining NSArrays and NSD..
-
[iOS 4]어플 종료시 일어나는 Notification프로그래밍/아이폰 프로그래밍 2010. 8. 2. 17:06
1. iOS 4에서의 어플 종료 Notification은? 멀티태스킹이 지원되지 않던 iPhone OS 3.x까지는, 어플 종료 시에 일어나는 Notification으로 'UIApplicationWillTerminateNotification'을 많이 사용했습니다. 이 Notification을 쓰는 목적부터 말씀드리면, 홈 버튼을 눌러서 어플이 종료될 때 현재 어플의 정보를 저장하기 위해서입니다. 예를 들면, 스도쿠 게임을 하다가 갑자기 그만두고 싶어서 홈 버튼을 누르는 경우가 있겠죠. 그런데 iOS 4가 나오고 멀티태스킹이 지원되면서 이 Notification이 작동하지 않게 되었습니다. 아니, 멀티태스킹을 지원하는 어플에서만 작동하지 않게 되었습니다. (홈 버튼을 두 번 눌러서 나오는 프로세스 바(정확..