Skip to content

Releases: orchetect/swift-timecode

2.1.0

21 Sep 01:43

Choose a tag to compare

Added

  • Fraction: Added stringValue property

Improvements

  • Added Identifiable conformance to all relevant types

2.0.11

25 Jun 04:57

Choose a tag to compare

Improvements

  • Improved AVAsset add/replace timecode track reliability
  • Fixed rare compiler error on build pipelines using old minimum platform versions

2.0.10

23 Feb 20:46

Choose a tag to compare

Added

  • Fraction: Added * and / math operators between two instances (#71)

2.0.9

06 Jan 22:13

Choose a tag to compare

Added

  • Timecode: Added base parameter to converted(to:) instance method (to convert to a new sub-frames base if needed)

2.0.8

15 Dec 10:36

Choose a tag to compare

Added

  • TimecodeInterval: Added init(realTime: TimeInterval)
  • Fraction: Added Sendable conformance
  • Timecode.Properties: Added Sendable conformance
  • Timecode.UpperLimit: Added Sendable conformance

Improvements

  • Fraction: Changed Equatable behavior to compare reduced values and not literal values
  • Fraction: init(fcpxmlString:) no longer reduces fraction implicitly
  • Fraction: fcpxmlStringValue property no longer reduces fraction implicitly

2.0.7

04 Dec 06:17

Choose a tag to compare

  • Fraction: Added zero static constructor
  • Fraction: Added Comparable conformance
  • Fraction: Added + and - math operators between instances

2.0.6

21 Nov 02:03

Choose a tag to compare

  • Fraction: Fixed bug where fraction might not normalize
  • Fraction: Improved conversion from Double
  • Fraction: Added init?(double:decimalPrecision:)
  • Fraction: Added decimalValue property
  • Fraction: Added isWholeInteger property
  • Fraction: Added init?(fcpxmlString:) and fcpxmlStringValue property
    This can init from and produce strings formatted like "60s" or "1125/500s"
  • Updated unit tests

2.0.5

20 Nov 05:23

Choose a tag to compare

  • Fixed bug where performing math between two Timecode instances with different frame rates would produce incorrect results
  • Timecode description now includes subframes for better debugging

2.0.4

29 Oct 23:10

Choose a tag to compare

  • Added Sendable conformance to all concrete types

2.0.3

10 Oct 23:37

Choose a tag to compare

Fixes

  • Timecode: Fixed potential overflow/underflow crash when raw component value(s) were very large