Re: Looking for Cocoa source code
Re: Looking for Cocoa source code
- Subject: Re: Looking for Cocoa source code
- From: David Remahl <email@hidden>
- Date: Thu, 6 Mar 2003 19:15:54 +0100
Does anyone know if the Cocoa source code is available? I'm finding
that the documentation doesn't answer many of my questions, and if the
details are available elsewhere I haven't stumbled upon them yet.
The Cocoa community doesn't seem to have the inside track (c.f. my
unanswered question about exceptions in dataRepresentationOfType; as I
see it the issue of exceptions during save operations should be a
fairly
important and well understood concept), and I suppose I'm more used to
C++ frameworks, where the source is usually available, and a developer
generally has a better idea of what they're overriding.
Apple is keeping the source to themselves, and this is actually good in
some cases, since it enforces encapsulation and forces you to rely only
on what is documented. The thing is, that the developer should not know
exactly what he/she is overriding, since that can change in future
implementations of the framework, and then break existing code.
If you find problems in the documentation, file bugs against it at
<
http://bugreporter.apple.com>.
For some things you may find it useful to refer to the GNUStep source,
which is a separate implementation of the OpenStep specification.
/ David
_______________________________________________
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.