I have a simple app that uses an NSArrayController to bind data to an
NSTableView. The NSArrayController is bound to a NSMutableArray. When
the app loads I load data from a file, and add it to the
NSMutableArray. However, the data does not appear in the NSTableView
until I click one of the headers to sort the data.

If I just add one item to the NSMutableArray, it works fine. But when
I add 995, it doesnt work. I am adding the data through the
appropriate KVC methods.

So, my questions are:

1. Is there any reason I shouldnt just get rid of the NSMutableArray
and add / remove data from the NSArrayController directly?

2. Anyone know why my table view is not updating when adding a large
number of items?

mike
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to