Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Jan 3, 2023
1 parent 76f2b13 commit 666f1e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following BITC frame rates are supported. These are used widely in DAWs (dig
- In a Swift Package, add it to the Package.swift dependencies:

```swift
.package(url: "https://github.com/orchetect/TimecodeKit", from: "1.5.0")
.package(url: "https://github.com/orchetect/TimecodeKit", from: "1.6.0")
```

2. Import the library:
Expand Down Expand Up @@ -554,7 +554,9 @@ try Timecode(TCC(h: 00, m: 01, s: 03, f: 29), at: ._29_97)

`CMTime` is a type exported by the Core Media framework (and used pervasively in AVFoundation). It represents time as a rational fraction of a `value` in a `timescale`.

`Timecode`, as well as `TimecodeFrameRate` and `VideoFrameRate` can convert to/from `CMTime` using the respective inits and properties.
`Timecode` and `TimecodeInterval`, as well as `TimecodeFrameRate` and `VideoFrameRate` can convert to/from `CMTime` using the respective inits and properties.

`CMTime` and `Fraction` can convert between themselves as well with respective inits and properties.

#### Timecode Intervals

Expand Down

0 comments on commit 666f1e9

Please sign in to comment.