• 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: Plist -> array -> tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plist -> array -> tableview


  • Subject: Re: Plist -> array -> tableview
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 20 Nov 2008 11:10:30 -0500

On Thu, Nov 20, 2008 at 10:59 AM, Richard S. French
<email@hidden> wrote:
> How does one get plist data into an array to be displayed in a tableview?

http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/ReadWritePlistData/chapter_7_section_2.html

http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/TableView.html


  One splits the problem into its two separate issues then reads the
documentation on both. :-)

  NSArray (and NSDictionary) can be created with the contents of a
plist (make sure it's the proper one - a dictionary plist can't create
an array and vice-versa). NSTableDataSource can be used to feed the
data to a table, or Cocoa Bindings can be used.

--
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

References: 
 >Plist -> array -> tableview (From: "Richard S. French" <email@hidden>)

  • Prev by Date: Plist -> array -> tableview
  • Next by Date: Re: what replaces ICARegisterEventNotificationPB
  • Previous by thread: Plist -> array -> tableview
  • Next by thread: Forcing toolbar validation...
  • Index(es):
    • Date
    • Thread