Skip navigation.
 
mlRe: why are there zero examples in the cocoa docs?!
FROM : mmalc crawford
DATE : Sun Jan 20 18:32:27 2008

On Jan 19, 2008, at 11:47 AM, Joeles Baker wrote:

> why does the documentation suck so much (for beginners)? :-)
> am i researching the wrong place?
> when looking at for example the php documentation, every method has 
> at least a nice syntax sample...
> when reading the cocoa doc, i have something like this:
> addChapters
> Adds chapters to the receiver using the information specified in the 
> chapters array.
> - (void)addChapters:(NSArray *)chapters withAttributes:(NSDictionary 
> *)attributes error:(NSError **)errorPtr
>

Another aspect to this is that QTKit is not a "core" Cocoa framework. 
There are likely to be fewer examples of *basic* techniques than in, 
say, Foundation or AppKit.

The subject line notwithstanding, there *are* many examples in the 
documentation -- even in the API reference.  One of the most extreme 
examples perhaps is given in NSMutableArray:
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSMutableArray_Class/Reference/Reference.html#//apple_ref/occ/instm/NSMutableArray/insertObjects:atIndexes:
>

mmalc

Related mailsAuthorDate
mlwhy are there zero examples in the cocoa docs?! Joeles Baker Jan 19, 20:47
mlRe: why are there zero examples in the cocoa docs?! Kyle Sluder Jan 19, 21:13
mlRe: why are there zero examples in the cocoa docs?! Andrew Farmer Jan 19, 21:35
mlRe: why are there zero examples in the cocoa docs?! I. Savant Jan 19, 21:36
mlRe: why are there zero examples in the cocoa docs?! Boyd Collier Jan 19, 23:59
mlRe: why are there zero examples in the cocoa docs?! Joeles Baker Jan 20, 00:11
mlRe: why are there zero examples in the cocoa docs?! Hamish Allan Jan 20, 00:16
mlRe: why are there zero examples in the cocoa docs?! Scott Andrew Jan 20, 00:24
mlRe: why are there zero examples in the cocoa docs?! I. Savant Jan 20, 00:34
mlRe: why are there zero examples in the cocoa docs?! Scott Anguish Jan 20, 08:15
mlRe: why are there zero examples in the cocoa docs?! René v Amerongen Jan 20, 11:20
mlRe: why are there zero examples in the cocoa docs?! mmalc crawford Jan 20, 12:11
mlRe: why are there zero examples in the cocoa docs?! jonathan@mugginsof… Jan 20, 18:05
mlRe: why are there zero examples in the cocoa docs?! mmalc crawford Jan 20, 18:32
mlRe: why are there zero examples in the cocoa docs?! Tom Davies Jan 21, 00:02
mlRe: why are there zero examples in the cocoa docs?! I. Savant Jan 21, 00:25
mlRe: why are there zero examples in the cocoa docs?! Scott Anguish Jan 21, 06:26
mlRe: why are there zero examples in the cocoa docs?! Scott Anguish Jan 21, 07:56
mlRe: why are there zero examples in the cocoa docs?! Antonio Nunes Jan 21, 11:45