I don't have a key called NSMainStoryBoardFile in the pulldown menu, but I do
have a key called Main storyboard file name base (note: not the iphone / iPad
version), and the value I put in for that key is 'Main', which matches the name
of my storyboard file, which is called 'Main.storyboard'. I should mention that
I'm running Xcode 6 Beta 6, which might explain the key name difference...
The storyboard has been added to the target, and I had found the
IsInitialController checkbox when poking around in IB trying to fix this thing,
so yes, I had already checked that as well, sorry, I forgot to mention it in
the original post!
I did try copying from a template (that's how I found the IsInitialController
checkbox!), but there's obviously a magic setting hidden somewhere that I can't
find :(
On Sep 02, 2014, at 04:38 AM, Roland King <[email protected]> wrote:
> On 2 Sep 2014, at 6:33 pm, Allison Newman <[email protected] >
wrote:
....
What key did you put it under in the info.plist file? It should be under
‘NSMainStoryBoardFile’ and have the name ‘Main’ (clever OS knows to add the
.storyboard).
Are you copying the Main.storyboard during the Copy Bundle Resources phase?
Just having it added to the target should do that, but check .. and you did add
it to the target, right?
The Window Controller for the main window needs to have ‘Is Initial Controller’
checked in IB as well, does it?
One thing you can do is make a test project from a template then go look at
that and see how it’s set up, then copy. Remember great artists steal.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]