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 in the Foundation framework’s NSValue
class that allow you to get QTTime
and QTTimeRange
structures as objects of type NSValue. In Mac OS X v10.5, QTKit defines extra operations on the SMPTETime
type. SMPTETime
is defined in CoreAudio/CoreAudioTypes.h
.
+ valueWithQTTime:
+ valueWithQTTimeRange:
+ valueWithSMPTETime:
– QTTimeValue
– SMPTETimeValue
– QTTimeRangeValue
Creates an NSValue object that wraps the specified QTTime
structure.
+ (NSValue *)valueWithQTTime:(QTTime)time
QTTime.h
Creates an NSValue object that wraps the specified QTTimeRange
structure.
+ (NSValue *)valueWithQTTimeRange:(QTTimeRange)range
QTTimeRange.h
Returns a new NSValue object containing an SMPTETime
.
+ (NSValue *)valueWithSMPTETime:(SMPTETime)time
QTTime.h
Returns a QTTimeRange structure that contains the range in an NSValue object.
- (QTTimeRange)QTTimeRangeValue
QTTimeRange.h
Returns a QTTime structure that contains the time in an NSValue object.
- (QTTime)QTTimeValue
QTTime.h
Returns a SMPTETime structure contained in an NSValue.
- (SMPTETime)SMPTETimeValue
QTTime.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-05-07)