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

Re: CFPreferences


  • Subject: Re: CFPreferences
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 27 Jan 2006 15:38:48 -0800

On 1/27/06, Alan Smith <email@hidden> wrote:

> NSLog(myString);

Logging a string the above way is bad since NSLog will evaluate
myString as a format string instead which depending on the contents of
the string can result in strange output and potentially crash your
application.

NSLog(@"%@", myString);

-Shawn
 _______________________________________________
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: CFPreferences
      • From: Robert Dell <email@hidden>
References: 
 >Re: CFPreferences (From: Alan Smith <email@hidden>)

  • Prev by Date: Re: CFPreferences
  • Next by Date: Re: Universal Binary & Mac OS 10.1
  • Previous by thread: Re: CFPreferences
  • Next by thread: Re: CFPreferences
  • Index(es):
    • Date
    • Thread