Re: inference of block return type
Re: inference of block return type
- Subject: Re: inference of block return type
- From: Michael Ash <email@hidden>
- Date: Mon, 28 Jun 2010 16:45:59 -0400
On Mon, Jun 28, 2010 at 4:42 PM, Tony Romano <email@hidden> wrote:
> Did you happen to read this link? It's clearly documented in the section
> Declaring and Using a Block. HTH.
>
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html
I see this part:
"If you don’t explicitly declare the return value of a block
expression, it can be automatically inferred from the contents of the
block."
But I was unable to find any discussion of HOW you explicitly declare
the return value of a block expression.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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