Re: I've lost my MainMenu.
Re: I've lost my MainMenu.
- Subject: Re: I've lost my MainMenu.
- From: Michael Crawford <email@hidden>
- Date: Tue, 20 Jul 2004 00:23:14 -0700
Here are the contents of my plist file.
<key>NSMainNibFile</key>
<string>MainMenu</string>
Seems to match what I have in IB. Thanks for the suggestion, though.
I do have two nibs for the project, could that be the problem? One of
them is the default MainMenu.nib. The other (AboutPanel.nib) contains
a custom view in an about box for doing some Quartz graphics
programming. This is taken right out of the O'Reilly Cocoa programming
book.
-Michael
On Jul 19, 2004, at 10:13 PM, Louis C. Sacha wrote:
>
Hello...
>
>
You might want to check and make sure that the Info.plist file for the
>
application has the "NSMainNibFile" key and the value contains the
>
name of the correct nib file (without the .nib extension).
>
>
Hope that helps,
>
>
Louis
>
>
> I usually develop POSIX code for the Mac and Linux but now I'm
>
> experimenting with Objective C and Cocoa Bindings. While building a
>
> small application to display changing data based on an NSTimer (a
>
> unit test application), I've somehow disconnected my main menu.
>
> Interface builder shows the MainMenu icon in the instances tab with a
>
> little yellow exclamation point. Mouse-over says one of the children
>
> has a bad/missing connection. I've gone through each of the menu
>
> items to make sure they are connected to an action but when I run the
>
> app, I get no menu.
>
>
>
> Can someone please tell me how I broke this application and what I
>
> can do to re-connect or re-activate the main menu?
>
...
>
>
>
> -Michael
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.