• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question on NSTableViewDataSource Protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Question on NSTableViewDataSource Protocol
      • From: Varun Chandramohan <email@hidden>
References: 
 >Question on NSTableViewDataSource Protocol (From: Varun Chandramohan <email@hidden>)

  • Prev by Date: Re: where to put persistent storage for command-line app
  • Next by Date: Re: Share and store RSA - public key in java server and vice versa
  • Previous by thread: Re: Question on NSTableViewDataSource Protocol
  • Next by thread: Re: Question on NSTableViewDataSource Protocol
  • Index(es):
    • Date
    • Thread