Re: [Solved] Re: NSTableView: no display until header clicked
Re: [Solved] Re: NSTableView: no display until header clicked
- Subject: Re: [Solved] Re: NSTableView: no display until header clicked
- From: David Hirsch <email@hidden>
- Date: Mon, 05 Oct 2009 10:26:52 -0700
I (now) realize that I could use the arrayController to populate the
array, but retaining my direct array manipulation and doing the KVO
notification myself is less rewriting, and in fact entails fewer KVO
calls.
-Dave
On Oct 5, 2009, at 10:21 AM, Volker in Lists wrote:
maybe it works even without these two lines - how are you populating
the array controller in code ?
Am 05.10.2009 um 19:19 schrieb David Hirsch:
That's right on the money: The array was indeed bound to the
contentArray in IB (otherwise it would never have been able to show
any data), but I needed to surround my populating of the array with:
[phaseController willChangeValueForKey:@"arrangedObjects"]
and
[phaseController didChangeValueForKey:@"arrangedObjects"];
_______________________________________________
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