Re: Objective-C Question
Re: Objective-C Question
- Subject: Re: Objective-C Question
- From: email@hidden
- Date: Mon, 22 Sep 2003 17:09:46 -0600
On Monday, September 22, 2003, at 04:23 PM, Chris Hanson wrote:
...
you can write
@try {
// something that could throw
}
@catch (NSException *exception) {
// handle the exception
}
@finally {
// do any necessary clean-up
}
Seems kind of inconsistent - syntax wise. Seems like it ought to be
@catch:(NSException*) exception
{
}
For all this does anyone know if blocks are on the horizon (seems like
it ought to be doable with local functions).
Even blocks that only work for the current scope would be nice for
collection processing.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.