Skip to content

Added ability to override default messages

Compare
Choose a tag to compare
@ArtSabintsev ArtSabintsev released this 08 Dec 16:21
· 361 commits to master since this release

#187: Adds the SirenAlertMessaging struct, which allows for custom overriding of messaging in UIAlertController update modal.

        siren.alertMessaging = SirenAlertMessaging(updateTitle: "New Fancy Title",
                                                   updateMessage: "New message goes here!",
                                                   updateButtonMessage: "Update Now, Plz!?",
                                                   nextTimeButtonMessage: "OK, next time it is!",
                                                   skipVersionButtonMessage: "Please don't push skip, please don't!")