• 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: NSArray EXEC_BAD_ACCESS when initalized with strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray EXEC_BAD_ACCESS when initalized with strings


  • Subject: Re: NSArray EXEC_BAD_ACCESS when initalized with strings
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 10 Sep 2009 11:31:59 -0700


On Sep 9, 2009, at 11:39 PM, Dave Keck wrote:

If you enable the -Wformat warning, the compiler will warn you if you
omit the trailing nil. Never understood why it's not enabled by
default...

The first thing I do in a new Xcode project is, in the project build settings, add "-Wall" to "other warning flags". This turns on pretty much all warnings. (I don't know why there isn't a checkbox for this.) I also turn on "Treat warnings as errors" to make sure none of them slip by — this is pretty essential for Obj-C development, as some very common coding mistakes (like misspelling a message name) are reported as warnings instead of errors.


—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >NSArray EXEC_BAD_ACCESS when initalized with strings (From: Devraj Mukherjee <email@hidden>)
 >Re: NSArray EXEC_BAD_ACCESS when initalized with strings (From: Steven Degutis <email@hidden>)
 >Re: NSArray EXEC_BAD_ACCESS when initalized with strings (From: Devraj Mukherjee <email@hidden>)
 >Re: NSArray EXEC_BAD_ACCESS when initalized with strings (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: UIImagePickerController problem
  • Next by Date: Re: QTMovie and audio stream
  • Previous by thread: Re: NSArray EXEC_BAD_ACCESS when initalized with strings
  • Next by thread: Re: NSArray EXEC_BAD_ACCESS when initalized with strings
  • Index(es):
    • Date
    • Thread