main.m1 [옛 글] Hello World - main.m, ..._Prefix.pch 최초 작성일 : 2010/03/07 09:22 main.m #import int main(int argc, char *argv[]){ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, nil); [pool release]; return retVal;} - UIApplicationMain : 일반적인 iPhone 유저 인터페이스를 보여주기 위해, 유저 인터페이스 프레임워크를 실행하는 코드를 지님(모든 iPhone 애플리케이션은 main 함수에서 UIApplicationMain 함수를 실행해야 함) (1) UIApplication 객체와 애플리케이션 델리게이트 객체.. 2013. 7. 4. 이전 1 다음 반응형