| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/QTKit.framework |
| Availability | Available in Mac OS X v10.4 and later. |
| Declared in | QTTime.h QTTimeRange.h |
The QuickTime Kit supports categories on the NSCoder class that allow you to encode and decode structures of type QTTime and QTTimeRange, in addition to structures of type SMPTETime in Mac OS X v10.5.
Decodes a QTTime structure.
- (QTTime)decodeQTTimeForKey:(NSString *)key
This method matches an encode QTTime message used during encoding.
QTTime.hDecodes a QTTimeRange structure.
- (QTTimeRange)decodeQTTimeRangeForKey:(NSString *)key
This method matches an encode QTTimeRange message used during encoding.
QTTimeRange.hDecodes an SMPTETime structure encoded by the receiver for the given key.
- (SMPTETime)decodeSMPTETimeForKey:(NSString *)key
QTTime.hEncodes a QTTime structure.
- (void)encodeQTTime:(QTTime)timeforKey :(NSString *)key
This method must be matched by a decode QTTime message.
QTTime.hEncodes a QTTimeRange structure range.
- (void)encodeQTTimeRange:(QTTimeRange)rangeforKey :(NSString *)key
This method must be matched by a decode QTTimeRange message.
QTTimeRange.hEncodes an SMPTETime for the given key.
- (void)encodeSMPTETime:(SMPTETime)time forKey:(NSString *)key
QTTime.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-05-07)