Problem loading Main NIB on XCode 5/iOS 7
Problem loading Main NIB on XCode 5/iOS 7
- Subject: Problem loading Main NIB on XCode 5/iOS 7
- From: Dave <email@hidden>
- Date: Mon, 30 Jun 2014 16:44:33 +0100
Hi,
My App is an iPad only app running under iOS 7 with ARC enabled.
I’m getting a Could not load NIB in bundle: when I try to run my App under the simulator.
I’m merging two App’s, the original application used a Storyboard but I’ve removed it and want to handle my View Controllers and XIBs manually as it’s going to be a lot easier that way due to the way the existing XIBs and code have been setup and since there are only a couple of View Controllers in the old storyboard file.
To remove the Storyboard, I deleted the Storyboard file from the project, then deleted the “Main Storyboard file base name” setting in the info.plist file and added “main nib file base name (iPad)” and set it to “LTWMainWindow.xib”.
In the LTWMainWindow.xib file, I set the “File’s Owner” to be UIApplication,
Set the App Delegate Object to be of class “LTWAppDelegate”.
Add a Window, a Navigation Controller, and “LTWLoginViewController” and wired up the corresponding IBOutlet’s in the LTWAppDelete class.
Is there anything else I need to change in order to stop then above error?
Thanks a lot Dave
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden