Releases: orchetect/swift-timecode
Releases · orchetect/swift-timecode
1.2.2
1.2.1
- Refactored
FrameCountwhich was introduced in 1.2.0 to have more friendly API - Added
StringFormat(replacesdisplaySubFrames: Boolthroughout the library) - Added
SubFramesBase(replacessubFramesDivisorthroughout the library) Timecodeinits and all.toTimecode()methods have been updated to reflect API changes- Updated unit tests
1.2.0
- Refactored how internal math is done
- Renamed all references to
totalElapsedFramesto now be calledframeCountusing newTimecode.FrameCounttype - Renamed
.init(clamping:)to.init(clampingEach:)(clamp individual timecode components) - Renamed
.setTimecode(clamping:)to.setTimecode(clampingEach:)(clamp individual timecode components) - Added
.init(clamping:)methods to clamp to upper/lower extents of valid timecodes - Added
.setTimecode(clamping:)methods to clamp to upper/lower extents of valid timecodes - Various bug fixes
- Added additional unit tests
- README Documentation updated
1.1.5
1.1.4
- Added
Timecode.stringValueValidatedText()property to return a SwiftUIText()instance applying formatting to invalid components (either default, or user-supplied as a parameter) similar to how .stringValueValidatedreturns anNSAttributedStringshowing invalid components with different fomatting attributes. - Minor improvements
1.1.3
1.1.2
1.1.1
1.1.0
- Math operator behavior change
+,-,+=,-=now usewrapping:instead ofclamping:when underflow/overflow occurs around timecode bounds+,-,+=,-=now convertsrhstolhs's frame rate if they do not match prior to calculating*,/,*=,/=can now take a Double as therhsoperand
- Added
Timecode.Delta - Added
Timecode.Transformer - Removed
TimeValuestruct and replaced it withTimeInterval(akaDouble, from Foundation)