How do I change the default ViewController in xcode?

In your _info. Plist, you'll have a "Main nib file base name", most likely MainWindow. Open up this xib and change the class of the View Controller to notdummyViewController.

Thank. It works. Notice: NIB name attribute needs to change too – jebberwocky Mar 10 at 4:45.

You have this code in your appDelegate applicationnDidFinishLaunching window addSubview:viewController; window makeKeyAndVisible; In your dummyAppDelegate. H the viewCOOntroller is of type dummyViewController So now what you can do is change the viewController object in . H to notDummyViewController type And one more step remaining is in MainWindow.

Xib change the viewcontroller type to notdummyViewController and assign it to File Owners viewController property! And now you are ready to launch the application!

Thanks! It helps alot – jebberwocky Mar 11 at 5:49.

I figured out but not sure it is the appropriate approach - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after app launch. Notdummy = notdummyViewController allocinit; self. Window addSubview:notdummy.

View; self. Window makeKeyAndVisible; return YES; }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions