Skip navigation.
 
mlRe: why are there zero examples in the cocoa docs?!
FROM : Andrew Farmer
DATE : Sat Jan 19 21:35:27 2008

On 19 Jan 08, at 11:47, Joeles Baker wrote:
> or in other words:
> why does the documentation suck so much (for beginners)? :-)

<snip>
> yeah..... cool.... what?
>
> so probably i have to call something like:
>
> [myMovie addChapters:myChapterArray]
>
> but i have really no idea how that chapterarray should look like :-/
>
> looking forward for the "initial hint" that will hopefully light the 
> spark :-)


"Each array element is an NSDictionary containing key-value pairs. 
Currently two keys are defined for this dictionary, 
QTMovieChapterNameand QTMovieChapterStartTime. The value for the 
QTMovieChapterName key is an NSString object that is the chapter name. 
The value for the QTMovieChapterStartTime key is an NSValue object 
that wraps a QTTime structure that indicates the start time of the 
chapter."

Everything you need to know is right there. If some of the terms 
aren't familiar, look them up - NSDictionary, NSString, and NSValue 
are all basic Cocoa concepts which you _need_ to be familiar with, and 
QTTime is something you'll need to know about if you're doing anything 
with Quicktime.

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