• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How/where to catch QTMovieDidEndNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSTable view NSArrayController add: not updating
  • Next by Date: Re: arrays of doubles
  • Previous by thread: Re: Detecting Frontmost Application
  • Next by thread: NSBitmapImageRep RGBA byte order endianess
  • Index(es):
    • Date
    • Thread