Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/skyfe79/cmtimeutils
- Owner: skyfe79
- License: mit
- Created: 2024-03-24T10:24:05.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-24T10:41:33.000Z (8 months ago)
- Last Synced: 2024-04-16T12:09:41.699Z (7 months ago)
- Topics: ios, macos, swift
- Language: Swift
- Homepage: https://github.com/skyfe79/CMTimeUtils
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.