> On Oct 7, 2014, at 1:09 AM, Kevin Meaney <k...@yvs.eu.com> wrote:
> 
> This category is not in any of the iOS frameworks as far as I can tell. So it 
> looks like the only way I can get the same behaviour on iOS is using 
> associated objects/references.

That sounds reasonable.

> I'm not comfortable with this solution, it feels too much like a hack so I'm 
> asking a couple of questions before going ahead.

I don't think so; if anything, associated objects are the solution for the real 
hacks people used to use to do this :)

> Is there an alternative less hacky solution I've missed?

You can create a global weak-key NSMapTable that maps CIFilter objects to 
NSStrings.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to