NSTableView doesn't increase the number of elements in table?
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