• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: adding something to a setter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: adding something to a setter
      • From: Torsten Curdt <email@hidden>
  • Prev by Date: Re: Adding "Import" to a document based application
  • Next by Date: Re: Why doesn't UIViewController retain its UISearchDisplayController
  • Previous by thread: Re: adding something to a setter
  • Next by thread: Re: adding something to a setter
  • Index(es):
    • Date
    • Thread