Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: Project Builder 1.0

Runtime Requirements: Mac OS X Mac OS X 10.0, Project Builder 1.0

View Source Code:

Download Sample (“bMoviePalette.zip”, 114.3K)
Download Sample (“bMoviePalette.dmg”, 155.2K)


bMoviePalette is an example of how to do a rudimentary QuickTime movie editor in Cocoa as a Interface Builder Palette. This example was shown at the 2001 WWDC conference in San Jose. bMoviePalette contains 5 objects: MovieController The Main controller object. This object has 2 outlets, a movieClipView (which gets connected to a tableView) and a movieView (which gets connected to a NSMovieView) MovieEditorPalette A subclass of IBPalette. Provides the glue code between IB and the MovieController. MyMovie A subclass of NSMovie, this class handles all of the various editing tasks on a movie (spliting a movie, appending one movie to another, etc..), it also provides a small bit of encapsulation of the QuickTime API in Cocoa form. (Getting the posterImage of a movie as a NSImage, and adding writeToFile:attomically:) SoundFileWell A subclass of NSImageView, that allows files to be dragged into it, when the file is dragged into the SoundFileWell the target and action method is called. This class really should be just a FileWell instead of a SoundFileWell. It really does accept anything TimeFormatter A subclass of NSFormatter that takes a NSNumber as input and formats it in standard time format hh:mm:ss Requirements: Mac OS X 10.0, Project Builder 1.0 Keywords: NSMovie, NSMovieView, palette, NSImageView, movie, edit, Interface Builder

Document Revision History

Date Notes
2003-01-14Shows a rudimentary QuickTime movie editor in a Cocoa Interface Builder palette.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.