Skip to content

Swift 4.2 and API improvements

Compare
Choose a tag to compare
@koher koher released this 30 Oct 01:26
· 13 commits to master since this release
5b6df07
  • Swift 4.2 and Xcode 10
  • Renamed APIs
    • cos(angleFrom:) to cos(from:)
    • nealyEqual to isNealyEqual
  • Support CGVector
  • Add missing APIs
    • New operators
      • *(CGPoint, CGPoint) -> CGPoint, /(CGPoint, CGPoint) -> CGPoint
      • *=(inout CGPoint, CGPoint), /=(inout CGPoint, CGPoint)
      • Operators for mixed types
    • Full vector APIs for CGSize and CGVector same as CGPoint
  • Remove CGAffineTransform.inverse