Tools

class Tools

Undocumented

  • Adding a cornerRadius of 15 onto a UIButton to encourage global styling.

    Tools.beautifulButton(someButton)
    

    Is all you need to do to implement this.

    Declaration

    Swift

    public static func beautifulButton(_ object: UIButton)

    Parameters

    object

    UIButton that you are trying to modify.

  • Undocumented

    Declaration

    Swift

    public static func makeDate(year: Int, month: Int, day: Int, hr: Int, min: Int, sec: Int) -> NSDate
  • Undocumented

    Declaration

    Swift

    public static func component2Date(_ component: DateComponents) -> NSDate