On Aug 22, 2008, at 6:28 AM, Stuart Green wrote:
Hi, I've got a menu item in my app's root menu that I want to hide. I've referenced it as an IBOutlet as per: IBOutlet id itemToBeHidden; I'm trying to hide it as per: [itemToBeHidden setHidden:YES]; Problem is, item does not hide. Any ideas? Thanks,
The most likely reason is that you never connected the outlet, so itemToBeHidden is nil.
-Peter _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]