Re: AppKit source available as reference?
Re: AppKit source available as reference?
- Subject: Re: AppKit source available as reference?
- From: jgo <email@hidden>
- Date: Mon, 2 Jul 2001 20:40:56 -0700
>
I disagree. OOD/P is about hiding implementation details from all but
>
the designer/implementer. You don't need to know the details of an
>
object's implementation, but you do need to know what an object will do
>
for you. The programmer is as much a client of the object as another
>
object is. Explaining the behavior of an object is a function of the
>
object's documentation, not its implementation. If you can't determine
>
an object's expected behavior from the documentation, then the object
>
designer/implementer has violated the contract between himself and the
>
clients of his object. Since this is true of the Cocoa frameworks to a
>
large degree, your best bet to understanding an object's behavior is to
>
post to groups such as this.
Yes, well, good documentation would describe the API. All of the
API. That includes how one would go about sub-classing or
delegating as well as using the class as an instance variable
of your own classes, how one might go about obtaining the objects
it wants as parameters, which is to say, how it fits within the
context of the rest of the frameworks and programming language.
John G. Otto Nisus Software, Engineering
www.infoclick.com www.mathhelp.com www.nisus.com software4usa.com
EasyAlarms PowerSleuth NisusEMail NisusWriter MailKeeper QUED/M
Will program Macs for food.