• 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: Objective-C Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Objective-C Question
      • From: publiclook <email@hidden>
References: 
 >Re: Objective-C Question (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Objective-C Question
  • Next by Date: Re: Objective-C Question
  • Previous by thread: Re: Objective-C Question
  • Next by thread: Re: Objective-C Question
  • Index(es):
    • Date
    • Thread