Skip to content

The Improvening

Compare
Choose a tag to compare
@hsoi hsoi released this 21 Jun 13:25
· 75 commits to master since this release

Changes since v1.1.0

  • Improvements to Swift 2.2 syntax, and overall things are more Swifty (including looking forward to Swift 3).
  • Array
    • mapWithIndex()
    • rotate() / rotateInPlace()
    • before() & after()
  • CGFloat
    • rounded()
  • Int
    • toAbbreviatedString
  • NSMutableAttributedString
    • addFont()
    • addAlignment()
    • addForegroundColor()
    • addUnderline()
  • Custom % operator
  • String
    • isNumeric
    • rangeFromNSRange() / NSRangeFromRange()
  • UIColor extended to make it much easier to work with colors.
  • UIView
    • auto-layout use strives to use leading/trailing instead of left/right.
    • add many conveniences, especially for working with layout constraints.
    • view snapshotting
  • Moar unit tests.
  • Build/Tests against Xcode 7.3.