Re: Accessors
Re: Accessors
- Subject: Re: Accessors
- From: Marco Scheurer <email@hidden>
- Date: Wed, 7 Aug 2002 19:51:56 +0200
On Wednesday, August 7, 2002, at 07:04 pm, Kevin Elliott wrote:
BUT, again, that is irrelevant because you are once again relying on an
internal implementation detail of the class, which is contrary to OO
design!!!
Thank you!
That's a hell of a good reason not to use the "return [[ivar retain]
autorelease]" pattern.
Unfortunately, some will pretend there is an implicit "contract" made by
the provider that makes the return value unbreakable....
Marco Scheurer
Sen:te, Lausanne, Switzerland
http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.