• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: filling & sorting and NSTableView through bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >filling & sorting and NSTableView through bindings (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: How to add an managedObject to an arrayController and inherit from a superentity ?
  • Next by Date: setState of NSMenuItem in MainMenu.nib on program start
  • Previous by thread: filling & sorting and NSTableView through bindings
  • Next by thread: NSTimer pauses when opening a menu HELP!
  • Index(es):
    • Date
    • Thread