Re: NSInvocation question
Re: NSInvocation question
- Subject: Re: NSInvocation question
- From: Hank Heijink <email@hidden>
- Date: Mon, 25 Feb 2008 15:44:56 -0500
That's essentially what I ended up doing: I need to save the other
three instance variables of the MVActions, so for now I release the
NSInvocation ivar before adding an MVAction to the array. Not very
elegant maybe, but it does solve my problem.
Thanks,
Hank
On Feb 25, 2008, at 3:30 PM, Nir Soffer wrote:
Another fix - when your document is closed, release the array
holding the MVActions, which retain the invocation. This will break
the retain cycle and allow your document to be released.
Best Regards,
Nir Soffer
Hank Heijink
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