Re: NSMenuItemCell setMenuItem does not retain?
Re: NSMenuItemCell setMenuItem does not retain?
- Subject: Re: NSMenuItemCell setMenuItem does not retain?
- From: Uli Kusterer <email@hidden>
- Date: Fri, 02 Aug 2013 18:47:16 +0200
On Aug 2, 2013, at 4:36 PM, Steve Mills <email@hidden> wrote:
> Oh, it's actually an NSPopUpButtonCell, which is based on NSMenuItemCell. I don't see anything in the docs about not using one of those.
You shouldn't have to use that method on a popup button cell. Instead, use setMenu: to set the whole menu, and setSelectedItem: to select that particular item.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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