Re: NSError question
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