Re: NIB's owner doesn't get released because of NSArrayController
Re: NIB's owner doesn't get released because of NSArrayController
- Subject: Re: NIB's owner doesn't get released because of NSArrayController
- From: "Vitaly Ovchinnikov" <email@hidden>
- Date: Thu, 15 Jan 2009 22:44:08 +0300
I finally did it :) I added third object to NIB and used it as proxy
to store data and to bind array controller. Now array controller
doesn't retain file's owner and I don't need to unbind anything, just
release file's owner when I need.
Thank you.
On Thu, Jan 15, 2009 at 7:40 PM, Keary Suska <email@hidden> wrote:
> Alternatively, and I think this is a better way to go, don't bind anything
> to file's owner when you are loading nibs in this way. Instead, use outlets
> and/or intermediary controllers. Your sanity will thank you.
>
> HTH,
>
> Keary Suska
> Esoteritech, Inc.
> "Demystifying technology for your home or business"
>
>
_______________________________________________
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