• 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: inference of block return type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: inference of block return type
      • From: Bill Bumgarner <email@hidden>
References: 
 >inference of block return type (From: Matt Neuburg <email@hidden>)
 >Re: inference of block return type (From: Tony Romano <email@hidden>)

  • Prev by Date: Re: inference of block return type
  • Next by Date: Re: Unstuffing my build
  • Previous by thread: Re: inference of block return type
  • Next by thread: Re: inference of block return type
  • Index(es):
    • Date
    • Thread