Re: Question on NSTableViewDataSource Protocol
Re: Question on NSTableViewDataSource Protocol
- Subject: Re: Question on NSTableViewDataSource Protocol
- From: Graham Cox <email@hidden>
- Date: Fri, 16 May 2014 16:45:35 +1000
On 16 May 2014, at 11:18 am, Varun Chandramohan <email@hidden> wrote:
> [_tableContents removeAllObjects];
I wouldn't do this, because it invalidates the value of 'row', which may be assumed by the table code to remain valid. Implementation details may change on different systems, and so this might be OK on 10.9, but fail on earlier. The assertion seems definitely to do with an invalid row index.
--Graham
_______________________________________________
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