Re: NSTableView: no display until header clicked
Re: NSTableView: no display until header clicked
- Subject: Re: NSTableView: no display until header clicked
- From: Stamenkovic Florijan <email@hidden>
- Date: Mon, 05 Oct 2009 13:15:52 -0400
On Oct 05, 2009, at 13:08, Volker in Lists wrote:
so you seemed to have populated the array controller in a non KVO
way... but still, w/o code not to be discussed.
I think that is the problem. If you bind the content of an
NSArrayController to someObject.variable, then the controller will be
notified of a change in it's content only if you assign a different
object (NSArray) to the variable, but NOT if you manipulate the
contents of the array. Instead, you need to manipulate the contents of
the variable via the controller. So, instead of populating the mutable
array directly in your windowControllerDidLoadNib method, try
populating it via the controller.
HTH,
F
_______________________________________________
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