• 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: writeToFile:atomically ... again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >writeToFile:atomically ... again (From: "Nima Talebi" <email@hidden>)
 >Re: writeToFile:atomically ... again (From: "stephen joseph butler" <email@hidden>)
 >Re: writeToFile:atomically ... again (From: "Nima Talebi" <email@hidden>)

  • Prev by Date: Re: writeToFile:atomically ... again
  • Next by Date: Re: programmatically adding model objects to NSOultineView/NSTreeController
  • Previous by thread: Re: writeToFile:atomically ... again
  • Next by thread: Retrieving the text color from NSFontPanel
  • Index(es):
    • Date
    • Thread