Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50
Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50
- Subject: Re: *** -[NSSavePanel _blocksActionWhenModal:]: message sent to deallocated instance 0x15a05e50
- From: "Kyle Sluder" <email@hidden>
- Date: Sun, 24 Aug 2008 21:09:32 -0400
On Sun, Aug 24, 2008 at 6:03 PM, Cate Tony <email@hidden> wrote:
> If I put a retain on the panel, the error stops, but isn't it now leaking?
No. You took ownership of the NSSavePanel when you created it by
using a convenience constructor. You must retain it, and release it
when you're done with it.
--Kyle Sluder
_______________________________________________
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