• 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: more than one plist in a file.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more than one plist in a file.


  • Subject: Re: more than one plist in a file.
  • From: Paul Thomas <email@hidden>
  • Date: Thu, 1 Dec 2005 10:15:12 +0000


On 30 Nov 2005, at 20:46, Markus Hitter wrote:


Am 30.11.2005 um 20:56 schrieb Paul Thomas:

I have an application that is logging events (date + string + attributed string) to a file and I want to be able to read in the file when I restart the app. I can't use a straight forward plist (array of dictionary of {date,string,data}) because the files can get large and I don't want to rewrite the entire file to append a single event.

Sounds a lot like you want to use CoreData. Fire up a new project from the CoreData template in Xcode, then look at the already inserted code to see how to modify the storage place.

I can't see how that solves my appending problem. Although there's a lot to take in (never looked at CoreData before - thanks for bringing it to my attention) it looks like it manages the object graph and then syncs it to a file on demand.

I'm happy enough with the basic plist functionality - but I only want to append items to a file.

Cheers,
Paul.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: more than one plist in a file.
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Re: NSBitmapImageRep and 1-bit image
  • Next by Date: Re: more than one plist in a file.
  • Previous by thread: Re: NSBitmapImageRep and 1-bit image
  • Next by thread: Re: more than one plist in a file.
  • Index(es):
    • Date
    • Thread