• 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: How to implement an object whose properties are really dictionary entries.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement an object whose properties are really dictionary entries.


  • Subject: Re: How to implement an object whose properties are really dictionary entries.
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 12 Jul 2012 15:00:11 -0700

On Thu, Jul 12, 2012, at 02:49 PM, Jens Alfke wrote:
>
> On Jul 12, 2012, at 2:44 PM, Kyle Sluder <email@hidden> wrote:
>
> > Not necessarily. Now that we have blocks-as-IMPs
>
> *scratching-record sound*
>
> We do?! How do I get in on that goodness?

Use imp_implementationWithBlock (available as of OS X 10.7 and iOS 4.3):
http://opensource.apple.com/source/objc4/objc4-493.11/runtime/runtime.h

More info here:
http://www.friday.com/bbum/2011/03/17/ios-4-3-imp_implementationwithblock/

--Kyle Sluder
_______________________________________________

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

References: 
 >How to implement an object whose properties are really dictionary entries. (From: Motti Shneor <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Keary Suska <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Dave DeLong <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Keary Suska <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Motti Shneor <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Keary Suska <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Motti Shneor <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Quincey Morris <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Motti Shneor <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Jens Alfke <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Kyle Sluder <email@hidden>)
 >Re: How to implement an object whose properties are really dictionary entries. (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to implement an object whose properties are really dictionary entries.
  • Next by Date: Re: Write Finder plugin
  • Previous by thread: Re: How to implement an object whose properties are really dictionary entries.
  • Next by thread: Re: How to implement an object whose properties are really dictionary entries.
  • Index(es):
    • Date
    • Thread