O'Reilly logo

Mac Application Development by Example Beginner's Guide by Robert Wiebe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – capturing a Quicktime movie

In addition to adding the movie file output, we will need to provide some GUI interaction to allow our App user to save the movie to a file of their choice once it has been captured.

  1. As with all of our Apps' instance variables, we need to add the program code for the @property in the file named BTSAppDelegate.h and to @synthesize the accessor in the file named BTSAppDelegate.m.
    // Use this property to capture a movie to disk
    @property (strong) QTCaptureMovieFileOutput*
     m_CaptureMovieFileOutput;
    
    
    // Create the accessors for the Capture
    // Movie File Output object
    @synthesize m_CaptureMovieFileOutput;
  2. In the file named BTSAppDelegate.m to create the movie file object, add the following program code in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required