StatusAlert v0.10.0 Release Notes

Release Date: 2018-01-08 // over 6 years ago
  • Source-breaking changes

    StatusAlert.Appearance structure

    0️⃣ now has common property, used by default by all alerts.

    Old

    StatusAlert.Appearance.contentColor = UIColor.black
    

    New

    // contentColor was renamed to tintColorStatusAlert.Appearance.common.tintColor = UIColor.black
    

    StatusAlert's appearance

    0️⃣ now can be set up with appearance property of type StatusAlert.Appearance. By default will be user StatusAlert.Appearance.common.

    Old

    statusAlert.contentColor = UIColor.black
    

    New

    statusAlert.appearance.tintColor = UIColor.black
    

    Vertical position offset

    no longer can be passed as associated value to enum case. Instead, offset can be passed as parameter to show method.

    Old

    statusAlert.show(withVerticalPosition: .center(offset: 8)
    

    New

    statusAlert.show(withVerticalPosition: .center, offset: 8)
    

    What's new

    • ➕ Added Objective-C support
    • ➕ Added Swift 3.2 support
    • ➕ Added VoiceOver support