iOS Category to match OS X category
iOS Category to match OS X category
- Subject: iOS Category to match OS X category
- From: Kevin Meaney <email@hidden>
- Date: Tue, 07 Oct 2014 09:09:02 +0100
This is more of an objective-c question than Cocoa, but I'm getting no traction on the objective-c devforums discussion list.
I've got a OSX Framework that I'm updating to to also work on iOS.
In the Framework I take advantage of the name property added to the CIFilter class by the category CACIFilterAdditions which is added as part of QuartzCore and I've made things depend on it when setting up the filter chain.
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. 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.
Is there an alternative less hacky solution I've missed?
Am I being too cautious about this as a solution?
Thanks
Kevin
_______________________________________________
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