Skip to content

Releases: orchetect/OTCore

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

1.1.26

04 Dec 03:34
ce207ec
Compare
Choose a tag to compare
  • Improved OSLogger: flexible token templates, closure-based init

1.1.25

03 Dec 06:09
7c7937d
Compare
Choose a tag to compare
  • Collection: Added .remove(safePositionAt:) method
  • Collection & NSArray: Improved [safe:]/[safePosition:] setters by allowing inline mutability

1.1.24

02 Dec 05:07
45eb077
Compare
Choose a tag to compare
  • Refactored Log static enum as new Logger class

1.1.23

30 Nov 08:20
9b96de0
Compare
Choose a tag to compare
  • Refactored [position:] subscripts on StringProtocol to work on any Collection type
  • Collection: Improved [safe: Int] subscript, added [safePosition: Int] subscript
  • Collection: Added [safe: ClosedRange] and [safePosition: ClosedRange] subscripts
  • Collection: Added [safe: Range] and [safePosition: Range] subscripts
  • Collection: Added [safe: PartialRangeFrom] and [safePosition: PartialRangeFrom] subscripts
  • Collection: Added [safe: PartialRangeThrough] and [safePosition: PartialRangeThrough] subscripts
  • Collection: Added [safe: PartialRangeUpTo] and [safePosition: PartialRangeUpTo] subscripts
  • Fixed Xcode 12.4 build

1.1.22

29 Nov 12:44
880e64b
Compare
Choose a tag to compare
  • CharacterSet: Added .consonants, .vowels, .lowercaseVowels, .uppercaseVowels
  • CharacterSet: Added operators +, +=, -, -=
  • StringProtocol: Improved .only() & .removing() to allow multiple CharacterSets
  • StringProtocol: Added .firstIndex(of: StringProtocol)
  • StringProtocol: Added .isASCII,
  • StringProtocol: Added .isOnly(characterSet:), .contains(any characterSet:)
  • StringProtocol: Added .startIndex(offsetBy:) and .endIndex(offsetBy:)
  • StringProtocol: Added [position:] index offset subscripts for Int and all Range types
  • String: Added .isValidEmailAddress
  • String: Improved extensions to accept StringProtocol parameters and return Substring where possible
  • Respelled all uint* methods as uInt*

1.1.21

25 Nov 08:04
b7329eb
Compare
Choose a tag to compare
  • Dictionary: Added mapKeys and mapDictionary methods

1.1.20

23 Nov 06:43
8b9bd6c
Compare
Choose a tag to compare
  • Removed unused .if extension methods