• 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: Property List Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Property List Question


  • Subject: Re: Property List Question
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 16 May 2001 03:52:43 +0100

On Wednesday, May 16, 2001, at 03:30 am, Karl Goiser wrote:

The problem is is that I want to represent the 'people' as objects (for the obvious OO benefits). However, if I do, I will lose the ability to use "arrayWithContentsOfFile:" and "writeToFile:atomically:" because the array will no longer contain only property list objects.
Is there a protocol or something which I can make the 'people' objects conform to which will make the saving and loading work?

Maybe not quite what you're after, but (as is so often the case) I suspect looking at the source code to Sketch will prove instructive.

In particular look at the propertyListRepresentation methods...

mmalc.


References: 
 >Property List Question (From: Karl Goiser <email@hidden>)

  • Prev by Date: Property List Question
  • Next by Date: Re: Newbie Question about Document/Window/Text Field
  • Previous by thread: Property List Question
  • Next by thread: Re: Property List Question
  • Index(es):
    • Date
    • Thread