Skip to content

v0.9.1

Compare
Choose a tag to compare
@LowKostKustomz LowKostKustomz released this 09 Dec 12:31
· 96 commits to master since this release

Source-breaking changes

You should no longer call prepare() method before showing StatusAlert.

Old

let statusAlert = StatusAlert.instantiate(
    withImage: UIImage(named: "Some image name"),
    title: "StatusAlert title",
    message: "Message to show beyond title",
    canBePickedOrDismissed: isUserInteractionAllowed)
statusAlert.prepare()
statusAlert.show(
    in: viewShowAlertIn,
    withVerticalPosition: .center(offset: 0))

New

let statusAlert = StatusAlert.instantiate(
    withImage: UIImage(named: "Some image name"),
    title: "StatusAlert title",
    message: "Message to show beyond title",
    canBePickedOrDismissed: isUserInteractionAllowed)
// prepare() method called automatically before showing
statusAlert.show(
    in: viewShowAlertIn,
    withVerticalPosition: .center(offset: 0))