• 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: Synthesised properties and additional actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synthesised properties and additional actions


  • Subject: Re: Synthesised properties and additional actions
  • From: Tony Romano <email@hidden>
  • Date: Sun, 19 Jun 2011 13:50:50 -0700
  • Thread-topic: Synthesised properties and additional actions

Of course they are not designed for atomic operations, you have to add all
the critical sections to make it so. If you argue that you don't need the
multi threaded robustness, then you could argue the value hooking the
setter diminishes the benefit of using the synthesis feature since you are
writing the setter anyways.

Tony Romano

On 6/19/11 11:02 AM, "Dave DeLong" <email@hidden> wrote:


>
>On Jun 19, 2011, at 11:01 AM, Matt Neuburg wrote:
>
>> I provide a good (I think) technique for doing this in my book (p. 275,
>>example 12-5 "Overriding synthesized accessors"). You can also download
>>sample code here:
>>
>>
>>https://github.com/mattneub/Programming-iOS-4-Book-Examples/tree/master/p
>>275b_overrideSynthesizedAccessors
>
>Ha, that's quite clever.  I like it.  :)
>
>Dave
>_______________________________________________
>
>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


_______________________________________________

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

References: 
 >Re: Synthesised properties and additional actions (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: How to redraw a view in slow-motion
  • Next by Date: Re: CATransactions having no effect in CALayer draw delegate
  • Previous by thread: Re: Synthesised properties and additional actions
  • Next by thread: Re: Synthesised properties and additional actions
  • Index(es):
    • Date
    • Thread