Re: adding something to a setter
Re: adding something to a setter
- Subject: Re: adding something to a setter
- From: Matt Neuburg <email@hidden>
- Date: Fri, 07 Oct 2011 10:06:19 -0700
On Thu, 06 Oct 2011 13:28:43 +0200, Torsten Curdt <email@hidden> said:
>The property syntax is great until you need one more thing.
>
>Think of a NSView and that view displays a value.
>
> @synthesize value;
>
>Now you also want to setNeedsDisplay: when a new value is set.
Isn't this the same as the discussion we had here?
<http://www.cocoabuilder.com/archive/cocoa/304465-synthesised-properties-and-additional-actions.html>
If so, let's pretend I just repeat my answer. :) m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________
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