Releases: orchetect/OTCore
Releases · orchetect/OTCore
1.4.3
1.4.2
1.4.1
1.4.0
Updates
- Reduced precedence of all methods and properties to proactively avoid potential global namespace collisions
Progress
: addedparent
andchildren
properties- Added XCTestUtils testing dependency and moved testing helpers there
- Formatting and general cleanup
API Changes
String
: Renamed.parens
to.parenthesized
- Removed
ifTrue()
,ifFalse()
,ifContained()
,ifNotContained()
category methods
1.3.0
XCTestCase
: Addedwait(for condition: timeout: polling:)
method- Added
sleep(TimeInterval)
method - Added
DispatchTimeInterval.microseconds
property - Various bugfixes, fixed build on Xcode 12.4 and various platforms, made watchOS unit testing more resilient
- Unit tests updated
@Atomic
is moved to new OTAtomics repo, renamed to@OTAtomicsThreadSafe
- Moved new
Operation
andOperationQueue
subclasses to new OTOperations repo
1.2.1
1.2.0
CharacterSet
: addedinit(_: [Character])
- Added
@UserDefaultsBacked
property wrapper - Added
@Clamped
property wrapper - Added
@Validate
property wrapper @Atomic
now includesset { }
to give the compiler more flexibilityDispatchGroup
- Added
.sync { }
static method - Added
.sync(asyncOn:) { }
static method - Added
.sync(asyncOn:timeout:) { }
static method - Added variants to above methods that can return a value from the closure
- Added
- Added
Operation
subclassesBasicOperation
,BasicAsyncOperation
ClosureOperation
,AsyncClosureOperation
CancellableClosureOperation
,CancellableAsyncClosureOperation
AtomicBlockOperation
- Added
OperationQueue
subclassesBasicOperationQueue
AtomicOperationQueue
- Moved
split(every:backwards:)
fromString
toCollection
Collection
: addedindices(splitEvery:)
Range
: addedsplit(every:)
ClosedRange
: addedsplit(every:)
- File organization
- Inline docs updated
- Updated unit tests, better resilience for watchOS testing