Re: premature dealloc of the datasource of a NSTableView crashes my application
Re: premature dealloc of the datasource of a NSTableView crashes my application
- Subject: Re: premature dealloc of the datasource of a NSTableView crashes my application
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 5 Oct 2008 12:34:39 -0600
On Oct 5, 2008, at 7:32 AM, Dr. Rolf Jansen wrote:
Anyway, now I cannot understand, why the NSTableView does not retain
the dataSource, when it still needs it?
Delegates and data sources don't get retained in order to avoid
retention loops. If the table view did retain its delegate and data
source, and the data source retained the table view, then neither
would ever be deallocated.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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