• 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
NSTableView doesn't increase the number of elements in table?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView doesn't increase the number of elements in table?


  • Subject: NSTableView doesn't increase the number of elements in table?
  • From: Rui Pacheco <email@hidden>
  • Date: Tue, 8 Sep 2009 15:55:58 +0100

Hi all,
I've an NSTableView that uses the controller object for the NIB being
displayed as the data source. I implement the NSTableView informal protocol.

This NSTableView gets its values from Core Data. I startup the application,
load all values I have in XML and then display them.

My problem is, the NSTableView doesn't seem to add any new rows to the end
of the table. If I start the application with no values in permanent storage
and add another one (adding values works as I can see them being saved to
XML), the table view simply ignores the new value.

If I add a value I know will go to the end of the table (the contents are
organized alphabetically), I won't see the new value.

If I and a value that I know won't go to the end of the table, the value
will be added, I will see it on the table, but the last value on the table
will be pushed out and become invisible.

Has anyone encountered something like this? Any clues to what might be?

--
Best regards,
Rui Pacheco
_______________________________________________

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: NSTableView doesn't increase the number of elements in table?
      • From: Steven Degutis <email@hidden>
  • Prev by Date: Core Data SQLite I/O error on 10.6
  • Next by Date: Re: [iPhone] : How to customize Phonepad ?
  • Previous by thread: Core Data SQLite I/O error on 10.6
  • Next by thread: Re: NSTableView doesn't increase the number of elements in table?
  • Index(es):
    • Date
    • Thread