• 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: Accessors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >RE: Accessors (From: Kevin Elliott <email@hidden>)

  • Prev by Date: Hit testing open bezier path
  • Next by Date: How to make window not taking focus?
  • Previous by thread: Re: Accessors
  • Next by thread: Re: Accessors
  • Index(es):
    • Date
    • Thread