SwiftyUtils v0.6.0 Release Notes
Release Date: 2016-11-18 // over 7 years ago-
API breaking changes
NSDate
is now used asDate
โจ Enhancements
๐ Note: Take a look into the README to see the details of all the following enhancements
๐ New protocols available:
- Iteratable
๐ New extensions:
- CGFloatLiteral (Integer / Float extension):
public var f: CGFloat
- Array
subscript(safe index: Int) -> Element?
- Sugar syntax for
Date
Too many things to be described here... check the README
- UILabelExtension (iOS only)
func isTruncated() -> Bool func setText(_ text: String, truncatedText: String)
๐ New extensions for macOS:
- NSView:
func convertLocalizables()