Re: filling & sorting and NSTableView through bindings
Re: filling & sorting and NSTableView through bindings
- Subject: Re: filling & sorting and NSTableView through bindings
- From: Scott Stevenson <email@hidden>
- Date: Tue, 30 Jan 2007 07:29:31 -0800
On Jan 29, 2007, at 4:23 PM, Koen van der Drift wrote:
However, nothing appears in the tableview, although I can see from
the scrollbar that the array is being populated. Now when I click
one of the column headers and then click on the action-button, I
see all the items in the NSTableView as expected.
There's clearly a bug here, but the cause could be any number of things.
I can convert this to my own code, but what I am missing is where
the key @"employees" comes from. Seems to me that the above snippet
is part of a larger code chunk, which is where @"employees" is also
used. How do I get this to work?
@"employees" is the key name for the array you're adding items to.
This is usually the same as the instance variable name, though
without any leading underscores (@"myArray" not @"_myArray").
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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