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

Re: NSError question


  • Subject: Re: NSError question
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 28 Feb 2007 10:30:43 +0100

Am 26.02.2007 um 09:29 schrieb email@hidden:
although I've read some of the NSError documentation, there are still two
things that are unclear to me :


1) Why are "double pointer" NSError** used instead of a single pointer ?
2) When debugging, how should I read the NSError objects ? With
"po theError" or "po *theError" ?

I wrote an article a while ago:

	http://www.zathras.de/howmemorymanagementworks.htm

it has lots of pictures explaining what memory is and how it works. Maybe that'll help you build a metaphor in your head that makes it obvious why NSError** is used.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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: 
 >NSError question (From: email@hidden)

  • Prev by Date: [Moderator] EOT Re: UNIX SDK & Compiling under OS X
  • Next by Date: Save to file or db
  • Previous by thread: Re: NSError question
  • Next by thread: Re: NSError question
  • Index(es):
    • Date
    • Thread