NSCoder AV Foundation Additions Reference
| Inherits from | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Companion guide | |
| Declared in | AVTime.h |
Overview
The AV Foundation framework adds methods to the NSCoder class to make it easier to create archives including Core Media time structures, and extract Core Media time structure from archives.
Instance Methods
decodeCMTimeForKey:
Returns the CMTime structure associated with a given key.
Parameters
- key
The key for a
CMTimestructure encoded in the receiver.
Return Value
The CMTime structure associated with key in the archive.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVTime.hdecodeCMTimeMappingForKey:
Returns the CMTimeMapping structure associated with a given key.
Parameters
- key
The key for a
CMTimeMappingstructure encoded in the receiver.
Return Value
The CMTimeMapping structure associated with key in the archive.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVTime.hdecodeCMTimeRangeForKey:
Returns the CMTimeRange structure associated with a given key.
Parameters
- key
The key for a
CMTimeRangestructure encoded in the receiver.
Return Value
The CMTimeRange structure associated with key in the archive.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVTime.hencodeCMTime:forKey:
Encodes a given CMTime structure and associates it with a specified key.
Parameters
- time
A
CMTimestructure.- key
The key with which to associate time in the archive.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVTime.hencodeCMTimeMapping:forKey:
Encodes a given CMTimeMapping structure and associates it with a specified key.
Parameters
- timeMapping
A
CMTimeMappingstructure.- key
The key with which to associate timeMapping in the archive.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVTime.hencodeCMTimeRange:forKey:
Encodes a given CMTimeRange structure and associates it with a specified key.
Parameters
- timeRange
A
CMTimeRangestructure.- key
The key with which to associate timeRange in the archive.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVTime.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-02-01)