Xcode 6 이상에서 Empty Application template 생성하기

2014. 12. 13. 12:18Programming/XCode

Xcode 5를 포함한 이전버전에서는 

새로 프로젝트를 만들때 Empty Application template 을 선택하여 스토리보드나 xib없이 깨끗하게 빈

시작용 프로젝트를 얻을 수 있었다.


하지만

Xcode 6부터는 그저 Empty

하나만 남았는데 이걸 선택하면 정말 텅빈 프로젝트가 생성된다..


--


방법은 

1. Single View Application 선택하여 프로젝트 생성

2. Main.storyboard, launchscreen.xib를 프로젝트에서 제거

3. SupportingFile> Info.plist를 열어서 Main storyboard file base name에서 Main스토리보드 이름 제거

    Launch screen interface file base name에서 launchscreen 이름 제거

4. AppDelegate.m> didFinishLaunchingWithOptions 메서드 안에


1
2
3
4
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
 
cs

넣어주면 완료.


'Programming > XCode' 카테고리의 다른 글

App Store Connect ... Issue  (1) 2019.06.27
XCode 단축키 모음  (0) 2014.12.06