SwiftyUtils v2.0.0 Release Notes

Release Date: 2017-11-04 // over 6 years ago
  • API breaking changes

    • ๐Ÿ‘ Xcode 9 and Swift 4 support
    • Removing String.length, starting with swift 4, you can directly user String.count

    โœจ Enhancements

    • Each UIButton's UIControlState will be translated when using translateSubviews
    • UIApplicationExtension (iOS only)
    public static func delegate<T: UIApplicationDelegate>(_ type: T.Type) -> T? 
    
    • NSMutableAttributedString:
    public static func font(inText text: String, font: SwiftyFont, afterOcurrence occurence: String) -> NSMutableAttributedString
    public func font(_ font: SwiftyFont, afterOcurrence occurence: String)
    
    public static func font(inText text: String, font: SwiftyFont, occurences searchString: String) -> NSMutableAttributedString
    public func font(_ font: SwiftyFont, occurences searchString: String)
    

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘‰ Make Array subscript public
    • No more duplicate letter when using String's capitalizedFirst