Re: Best way to get outlet from one NIB to another NIB
Re: Best way to get outlet from one NIB to another NIB
- Subject: Re: Best way to get outlet from one NIB to another NIB
- From: email@hidden
- Date: Thu, 4 Nov 2010 12:30:38 -0600
NSResponder has nothing to do with IBOutlets as far as I can tell.
I did this to get the NSMenuItem I was interested in:
NSMenuItem *theItem = [[[[NSApp mainMenu] itemWithTitle:@"Menu"]
submenu] itemWithTitle:@"Title"];
Works just fine.
-koko
On Nov 4, 2010, at 12:18 PM, Seth Willits wrote:
On Nov 2, 2010, at 11:51 AM, email@hidden wrote:
I would like to get a menu item in main mneu nib pointed to a
outlet reference in another NIB.
No.
Is there a preferred pattern/method to do so
Read the documentation on the "responder chain" to learn what you
should be doing.
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden