Re: Define NSError Domain
Re: Define NSError Domain
- Subject: Re: Define NSError Domain
- From: Andreas Mayer <email@hidden>
- Date: Sat, 24 Sep 2005 14:48:55 +0200
Am 24.09.2005 um 02:18 Uhr schrieb Johan Kool:
What I don't understand is how I define my own domain.
You "define" your own domain by creating an NSError for it.
What I don't understand
is how I tell the compiler that this enum belongs to my domain.
As Sherm said: The compiler doesn't need to know.
The Cocoa runtime will know about the association you made by
creating the error object.
Andreas
_______________________________________________
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