Mac Developer Library

Developer

CoreMedia Framework Reference Core Media Framework Data Types Reference

Options
Deployment Target:

On This Page
Language:

Core Media Framework Data Types Reference

This document describes data types defined in the Core Media framework not described in individual references.

Data Types

  • Data type for the item count.

    Declaration

    Swift

    typealias CMItemCount = Int

    Objective-C

    typedef signed long CMItemCount;

    Import Statement

    Objective-C

    @import CoreMedia;

    Swift

    import CoreMedia

    Availability

    Available in OS X v10.7 and later.

  • Data type for the item index.

    Declaration

    Swift

    typealias CMItemIndex = Int

    Objective-C

    typedef signed long CMItemIndex;

    Import Statement

    Objective-C

    @import CoreMedia;

    Swift

    import CoreMedia

    Availability

    Available in OS X v10.7 and later.

  • Data type for the persistent track ID.

    Declaration

    Swift

    typealias CMPersistentTrackID = Int32

    Objective-C

    typedef int32_t CMPersistentTrackID;

    Import Statement

    Objective-C

    @import CoreMedia;

    Swift

    import CoreMedia

    Availability

    Available in OS X v10.7 and later.