My suggestion would to be not to try and make ObjC fit the practices
of another language, it has its own practices and style that you'll be
far more productive with if you adopt rather than fight.
Also, you can write unit tests that demonstrate your code throws the
appropriate exceptions in the exceptional circumstances in which they
should be thrown.
Since you have specific NSException subclasses, you can use the
STAssertThrowsSpecificmacro for this. You could also use
STAssertThrowsSpecificNamed if you're using NSException itself or a
single subclass, and distinguishing exceptions by their name.
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden