Re: writeToFile:atomically ... again
Re: writeToFile:atomically ... again
- Subject: Re: writeToFile:atomically ... again
- From: "stephen joseph butler" <email@hidden>
- Date: Sun, 10 Jun 2007 20:38:02 -0500
On 6/10/07, Nima Talebi <email@hidden> wrote:
Thankyou, I'm not sure what I did, but I just attempted a NSString as key
again (or perhapse for the first time as it makes no sense) and it does
work. I can't find where it says the key has to be a String but will look
again, I'm sure as you say it's in there somewhere.
Hey, I found it! It's hiding in the CoreFoundation documents:
<http://developer.apple.com/documentation/CoreFoundation/Reference/CFPropertyListRef/Reference/reference.html>
"Note that if you use a property list to generate XML, the keys of any
dictionaries in the property list must be CFString objects."
I've taken your advice on NSLog and the printf vulnerability (Which I still
don't know about). I'm still making my way through Hillegass =)
I screwed that one example up. I meant NSLog( @"%@" ); Anyway, here's
the Wiki page:
<http://en.wikipedia.org/wiki/Format_string_attack>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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