• 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: Why is my NSTableView empty?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is my NSTableView empty?


  • Subject: Re: Why is my NSTableView empty?
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 28 Apr 2008 10:46:23 -0400

>  and I'm trying to display all last names in the table.

>  - I created NSArrayController ABPeople and set content to my delagate, key
> path: peeps

  This is imprecise - if there is a problem with this, we won't know
to tell you about it without the specifics of how this works in your
application.

>  - I bound table content to ABPeople, controller key: arrangedObjects
>  - I bound table column value to ABPeople, controller key: arrangedObjects,
> model key path: lastname

  Why both? Drop the table content binding and just bind the column
value. Also, was "lastname" a typo or is the model key path actually
"lastName"? This matters.

--
I.S.
_______________________________________________

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

  • Follow-Ups:
    • Re: Why is my NSTableView empty?
      • From: Robert Cerny <email@hidden>
References: 
 >Why is my NSTableView empty? (From: Robert Cerny <email@hidden>)

  • Prev by Date: Why is my NSTableView empty?
  • Next by Date: Re: Why is my NSTableView empty?
  • Previous by thread: Why is my NSTableView empty?
  • Next by thread: Re: Why is my NSTableView empty?
  • Index(es):
    • Date
    • Thread