NSMovie

NSMovie Mac OS X 10.0

This class provides an object-oriented wrapper for QuickTime movie data, which allows clients to easily load QuickTime movies into memory. The data represented by an NSMovie object can be any format supported by the QuickTime APIs, including video, sound, and still images. Clients can obtain a pointer to the QuickTime data by sending a QTMovie message to the NSMovie instance; this pointer is suitable for use with any of the QuickTime APIs.

figs/cocn_1552.gif

@interface NSMovie : NSObject <NSCoding, NSCopying>
 // Class Methods
   + (BOOL)canInitWithPasteboard:(NSPasteboard*)pasteboard;
   + (NSArray*)movieUnfilteredFileTypes;
   + (NSArray*)movieUnfilteredPasteboardTypes;
 // Instance Methods
   - (id)initWithMovie:(void* /*Movie*/)movie;
   - (id)initWithPasteboard:(NSPasteboard*)pasteboard;
   - (id)initWithURL:(NSURL*)url byReference:(BOOL)byRef;
   - (void*/*Movie*/)QTMovie;
   - (NSURL*)URL;
 // Methods Implementing NSCoding
   - (void)encodeWithCoder:(NSCoder *)aCoder;
   - (id)initWithCoder:(NSCoder *)aDecoder;
 // Methods Implementing NSCopying
   - (id)copyWithZone:(NSZone *)zone;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes