SwiftyUtils v0.6.0 Release Notes

Release Date: 2016-11-18 // over 7 years ago
  • API breaking changes

    • NSDate is now used as Date

    โœจ 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()