I need to create my own view with controller on empty template without help of Interface Builder. What i need to write in AppDelegate ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
XCode -> New project -> Select Window Based Template. Then Remove MainWindow.xib from resources, from info.plist remove this key “Main Nib file base name”.In your main.m file
int retVal = UIApplicationMain(argc, argv, nil, @”AppDelegate”); // 4th parameter is name of your AppDelegate. In your AppDelegate.h remove property/synthesize for your IBOutlet UIWindow as you are not using IB at all..