Re: Must remove submenu when dealloccing NSMenuItem?
Re: Must remove submenu when dealloccing NSMenuItem?
- Subject: Re: Must remove submenu when dealloccing NSMenuItem?
- From: Jerry Krinock <email@hidden>
- Date: Thu, 22 Feb 2007 05:30:23 -0800
- Thread-topic: Must remove submenu when dealloccing NSMenuItem?
on 07/02/21 22:11, stephen joseph butler at email@hidden wrote:
> -[NSMenu init] is not the designated initializer for NSMenu. -[NSMenu
> initWithTitle:] is.
Thanks Stephen, you're correct. (This is why I like to post a lot of code!)
However, after I fixed that mistake and carefully repeated my experiments,
my results and conclusion are still the same: Unless I use my workaround
-removeSubmenusFromAllItems, the inner nested menus do not get deallocced.
Anyone else like to look at that lot of code ?
Jerry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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