Contents

encode(_:forKey:)

Encodes a given Core Media time mapping structure and associates it with a specified key.

Declaration

func encode(_ timeMapping: CMTimeMapping, forKey key: String)

Parameters

  • timeMapping:

    A CMTimeMapping structure.

  • key:

    The key with which to associate timeMapping in the archive.

See Also

Related Documentation

Encoding Core Media Time Structures