Hi Matt

> Well, if you really want to know that, just read the discussion in the book:
> 
> http://www.apeth.com/iOSBook/ch12.html
> 
> My thought was (putting myself in the shoes of the student), hey, I have no 
> idea exactly what code @synthesize generates, but whatever it is, it surely 
> constitutes a correct getter and (especially) setter, whereas if I write 
> those things myself (and especially the setter) the chances that I'll do 
> something wrong are quite high. So the question is simply, how can I add my 
> own functionality while at the same time inheriting all the synthesized 
> accessors' yummy goodness, whatever it may be? m.

Ah, now I get it!!!  - at least I think I do ;-)

AFAICT, you are talking about making "non-GC" accessors less prone to reference 
counting errors? If I'm using GC, then this, presumably, becomes less relevant?

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

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