Skip to content

Releases: orchetect/OTCore

1.4.3

23 Aug 07:19
Compare
Choose a tag to compare
  • Added PassiveDataReader struct with .withDataReader { } instance method on DataProtocol
  • DataReader: internal refactor
  • Minor fixes and reliability improvements

1.4.2

26 Jul 19:12
Compare
Choose a tag to compare
  • Collection: Added shortest() and shortestIndex()
  • 


Collection: Added longest() and longestIndex()

1.4.1

26 Feb 03:08
acaf382
Compare
Choose a tag to compare
  • Added URL path manipulation methods

1.4.0

25 Feb 08:09
d3bf853
Compare
Choose a tag to compare

Updates

  • Reduced precedence of all methods and properties to proactively avoid potential global namespace collisions
  • Progress: added parent and children 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

14 Feb 23:47
36d9e69
Compare
Choose a tag to compare
  • XCTestCase: Added wait(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 and OperationQueue subclasses to new OTOperations repo

1.2.1

08 Feb 10:01
84f0ece
Compare
Choose a tag to compare
  • Improvements and resiliency added to Operation and OperationQueue subclasses

1.2.0

05 Feb 04:44
03eac93
Compare
Choose a tag to compare
  • CharacterSet: added init(_: [Character])
  • Added @UserDefaultsBacked property wrapper
  • Added @Clamped property wrapper
  • Added @Validate property wrapper
  • @Atomic now includes set { } to give the compiler more flexibility
  • DispatchGroup
    • 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 Operation subclasses
    • BasicOperation, BasicAsyncOperation
    • ClosureOperation, AsyncClosureOperation
    • CancellableClosureOperation, CancellableAsyncClosureOperation
    • AtomicBlockOperation
  • Added OperationQueue subclasses
    • BasicOperationQueue
    • AtomicOperationQueue
  • Moved split(every:backwards:) from String to Collection
  • Collection: added indices(splitEvery:)
  • Range: added split(every:)
  • ClosedRange: added split(every:)
  • File organization
  • Inline docs updated
  • Updated unit tests, better resilience for watchOS testing

1.1.29

05 Jan 05:42
8fa0ff6
Compare
Choose a tag to compare
  • Dictionary: Added .compactMapDictionary method

1.1.28

18 Dec 00:34
a5ab789
Compare
Choose a tag to compare
  • Added .contains(RangeExpression) extension method on all relevant RangeExpression base types

1.1.27

17 Dec 05:46
e4c16b8
Compare
Choose a tag to compare
  • Added CGPoint.nsPoint and NSPoint.cgPoint methods
  • CGRect: Added .center, .grow(by:), .shrink(by:)
  • NSEvent: Added .location(in: NSView)
  • NSScreen: Added static screenWithMouseCursor and instance method containsMouseCursor
  • NSFont: Added .cgFont