Re: adding something to a setter
Re: adding something to a setter
- Subject: Re: adding something to a setter
- From: Charles Srstka <email@hidden>
- Date: Thu, 06 Oct 2011 18:21:23 -0500
On Oct 6, 2011, at 5:34 PM, Torsten Curdt wrote:
> While I agree that this is not a big deal in practice, I am sure you'd
> agree that it would be indeed nice if we could somehow call out to the
> synthesized setters. I don't have so deep insights into the Obj-C
> runtime but I was wondering if there is some magic one can pull off to
> get to the original setters.
You could probably do that via method swizzling, but either using a private property or using KVO would probably be a lot less clunky.
Charles_______________________________________________
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