Re: more than one plist in a file.
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 11:25:13 +0000
On 1 Dec 2005, at 11:10, j o a r wrote:
On 30 nov 2005, at 20.56, Paul Thomas wrote:
Writing a plist for every event using NSPropertyListSerialization
only half works because I can't find the start of the next plist
when it comes to reading the file back in.
Just make sure that you add a sequence of characters / bytes that
you can look for. It should be straight forward.
That's not really the issue. If I was to start searching the file by
hand (as it were) then I might as well write the codec. All the same
issues apply with making a sequence of characters that don't appear
in the source data.
Plus it bloats the file somewhat.
How?
It adds wrappers.
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
etc.
It's probably not an issue in the binary representation, but as it's
a log file, I'd rather have it a little more human readable.
j o a r
_______________________________________________
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