Releases: orchetect/OTCore
Releases · orchetect/OTCore
1.1.9
1.1.8
1.1.7
1.1.6
- Added
CGPoint.angle(to: CGPoint)
- Added
CGPoint.cardinalAngle(to: CGPoint)
- Added
CGPoint.distance(to: CGPoint)
- Added
CGPoint
.xInverted
,.yInverted
,.xyInverted
- Added
BinaryFloatingPoint
.degreesToRadians
/.radiansToDegrees
- Added
FloatingPoint.wrapped(around:)
- Added missing
CGFloat
andBinaryFloatingPoint
conversion methods - Made
String.regex*
methods more flexible- CODE-BREAKING NOTE:
regexMatches(captureGroupsFromPattern:::)
now returns capture 0 instead of omitting it.
- CODE-BREAKING NOTE:
1.1.5
1.1.4
- Fixed rare crashes when
Data
had improper memory alignment in the followingData
extension methods:.toInt16(from:)
.toUInt16(from:)
.toInt32(from:)
.toUInt32(from:)
.toInt64(from:)
.toUInt64(from:)
.toFloat32(from:)
.toDouble(from:)
- Aggressive memory alignment unit test has been added to prevent possible regression in future
1.1.3
1.1.2
1.1.1
- Added: Comparable
.isContained(in:)
- Added: Comparable
.ifContained(in:then:)
,.ifNotContained(in:then:)
- Added: BinaryInteger
.intExactly
thru.uint64Exactly
,.doubleExactly
,.floatExactly
- Added: Bool
.ifTrue(T, else:T)→T
,.ifTrue(T)→T?
,ifFalse(T)→T?
- Added: Equatable
.transform { }
,.if(:then:)
,.if(:then:else:)
- Log: made properties static
- Log: Added
OSLogType.x.log(...)
convenience method - Minor bugfixes, typo fixes, inline documentation tweaks