Hi all

I just started using @properties this week, so probably don't understand the 
nuances, but after looking at Matt's sample code, reading the property related 
docs and doing some experimentation, I'm not sure I understand what problem 
he's trying to solve. Is he talking about overriding inherited getters/setters?

With my own very limited experience with properties, it seems to be really easy 
to add functionality. Just write the getter/setter yourself. When you go to use 
them, they behave exactly like the auto generated ones re dot syntax, and do 
whatever cool thing you added.

What am I missing?


On Jun 19, 2011, at 2:02 PM, Dave DeLong 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/p275b_overrideSynthesizedAccessors
> 
> Ha, that's quite clever.  I like it.  :)
> 
> Dave
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/kentozier%40comcast.net
> 
> This email sent to kentoz...@comcast.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to