SwifterSwift v4.0.0 Release Notes

Release Date: 2017-09-27 // over 6 years ago
  • API Breaking

    • Swift4 / Xcode9 ๐ŸŽ‰
    • UIColor
      • social has been renamed to Social to match Apple Swift guidelines
      • material has been renamed to Material to match Apple Swift guidelines
      • flatUI has been renamed to FlatUI to match Apple Swift guidelines
      • css has been renamed to CSS to match Apple Swift guidelines
    • NSColor
      • social has been renamed to Social to match Apple Swift guidelines
      • material has been renamed to Material to match Apple Swift guidelines
      • flatUI has been renamed to FlatUI to match Apple Swift guidelines
      • css has been renamed to CSS to match Apple Swift guidelines

    โœจ Enhancements

    • ๐Ÿ‘• SwiftLint
      • Added SwiftLint to enforce Swift style and conventions.
    • Danger
      • Added Danger to continuous integration. #252 by SD10.
    • New Date extensions
      • added isBetween(_ startDate: Date, _ endDate: Date, includeBounds: Bool = false) -> Bool method to check if a date is between two other dates. #248 by BennX.
    • New UIFont extensions
    • UITableView
      • dequeueReusableCell now returns an optional
      • dequeueReusableHeaderFooterView now returns an optional
    • UICollectionView
      • dequeueReusableCell now returns an optional
      • dequeueReusableSupplementaryView now returns an optional
    • UIAlertController
      • Added preferredStyle: UIAlertControllerStyle = .alert to init from error.
    • UIStoryboard
      • instantiateViewController now returns an optional.
    • Continuous Integration
      • Travis now builds watchOS target.

    ๐Ÿ›  Bugfixes

    • SwifterSwift
      • didTakeScreenShot now returns the notification, make sure to remove listener when you don't need it anymore.