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

Re: isa


  • Subject: Re: isa
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 3 Jun 2002 13:36:41 +0200

On Monday, June 3, 2002, at 04:23 , Aram Greenman wrote:

the possibility that someone (possibly yourself) might subclass your class without .... reading your comments

Sorry, but this is so pathological a case that the aforementioned problem of uninitialized data is the very smallest of all potential havocs, like

- not implementing the designed initializer;
- overriding some method by a non-compatible way (like, returning nil when it happens to be forbidden);
- not implementing some mandatory accessor, which might result in improper sharing of variables;
- not noticing the class is a cluster trying to subclass it the normal way;
- and many more...

If you're going to subclass anything, well, go check docs first.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: isa (From: Aram Greenman <email@hidden>)

  • Prev by Date: Re: isa
  • Next by Date: Mouse events inside a cell
  • Previous by thread: Re: isa
  • Next by thread: Customization NSRulerView
  • Index(es):
    • Date
    • Thread