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.
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.






Cocoa mail archive

