Re: Is this an incorrect use of categories ?
Re: Is this an incorrect use of categories ?
- Subject: Re: Is this an incorrect use of categories ?
- From: Erik Stainsby <email@hidden>
- Date: Fri, 06 Jul 2012 17:30:32 -0700
On 2012-07-06, at 5:28 PM, Erik Stainsby <email@hidden> wrote:
> On 2012-07-06, at 5:11 PM, Greg Parker <email@hidden> wrote:
>
>> On Jul 6, 2012, at 4:48 PM, Erik Stainsby <email@hidden> wrote:
>>> 2012-07-04 20:44:02.980 Trixie[422:303] -[RSReactionRule(RSReactionRuleFromPlugin) loadFromPlugin:]- [0015] plugin.action: addClass
>>> 2012-07-04 20:44:02.981 Trixie[422:303] -[RSReactionRule setAction:]: unrecognized selector sent to instance 0x101833fe0
>>
>> How is -[RSReactionRule setAction:] implemented? It wasn't in your quoted categories.
>
> Actually it was part of my first post: it is declared
>
> @property (retain) action;
Check that:
@property (retain) NSString * action;
> @synthesize action=_action;
>
> ~ as implemented in the RSReactionRule. It is invoked in the category, as: [self setAction: plugin.action];
>
>
>
>
>
>> --
>> Greg Parker email@hidden Runtime Wrangler
>>
>>
>
_______________________________________________
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