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 userString.count
โจ Enhancements
- Each
UIButton
'sUIControlState
will be translated when usingtranslateSubviews
- 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