How/where to catch QTMovieDidEndNotification
How/where to catch QTMovieDidEndNotification
- Subject: How/where to catch QTMovieDidEndNotification
- From: Oliver Quas <email@hidden>
- Date: Fri, 3 Feb 2006 22:33:03 +0100
Hi there,
i am currently working on a project using the QTKit API in a document-
based Cocoa application. I am somewhat new to Cocoa programming but i
have to say: i really like it. :)
I wonder how/where i can get the QTMovieDidEndNotification, when my
QTMovie in a QTMovieView ends playing (literally: currenttime ==
totaltime).
So far, i have a done the application using a NSDocument subclass
( 'MyDocument' ) and a subclass of NSWindowController
( 'MainWindowController' ). MainWindowController is File's Owner and
also the delegate to the document window containing the QTMovieView.
MyDocument contains all the document data (model).
MainWindowController works as a controller between the main window
(view) and the document model.
In the MainWindowController class, i tried catching the notification
with something like this:
<pre>
- (void)QTMovieDidEndNotification:(NSNotification *)anotification
{
// do something here...
}
</pre>
With no luck. Even setting the delegate of the QTMovie to
MainWindowController didn't change anything.
Unfortunately, i couldn't find any information to this in the manuals/
on the web. So, any help would be greatly appreciated. Thanks in
advance!
Oliver
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden