Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skyfe79/cmtimeutils

Simplifying CMTime and CMTimeRange operations in Apple's Core Media framework.
https://github.com/skyfe79/cmtimeutils

ios macos swift

Last synced: 10 days ago
JSON representation

Simplifying CMTime and CMTimeRange operations in Apple's Core Media framework.

Awesome Lists containing this project

README

        

# CMTimeUtils

CMTimeUtils is a Swift library designed to simplify working with `CMTime` and `CMTimeRange` in Apple's Core Media framework. It provides utility functions for common operations such as splitting time ranges, calculating midpoints, and generating strides of `CMTime` values.

## Installation

CMTimeUtils is available through [Swift Package Manager](https://swift.org/package-manager/).

### Swift Package Manager

1. Add the following dependency to your `Package.swift` file:

```swift
dependencies: [
.package(url: "https://github.com/skyfe79/CMTimeUtils.git", from: "0.0.1")
]
```

2. Run `swift build` to build the project.

## License

CMTimeUtils is distributed under the MIT license. See the LICENSE file for more details.