28 lines
1.0 KiB
Swift
28 lines
1.0 KiB
Swift
//
|
|
// AlertConstants.swift
|
|
// Siren
|
|
//
|
|
// Created by Arthur Sabintsev on 12/18/18.
|
|
// Copyright © 2018 Sabintsev iOS Projects. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
/// The default constants used for the update alert's messaging.
|
|
public struct AlertConstants {
|
|
/// The text that conveys the message that there is an app update available
|
|
public static let alertMessage = "A new version of %@ is available. Please update to version %@ now."
|
|
|
|
/// The alert title which defaults to *Update Available*.
|
|
public static let alertTitle = "Update Available"
|
|
|
|
/// The button text that conveys the message that the user should be prompted to update next time the app launches.
|
|
public static let nextTimeButtonTitle = "Next time"
|
|
|
|
/// The text that conveys the message that the the user wants to skip this version update.
|
|
public static let skipButtonTitle = "Skip this version"
|
|
|
|
/// The button text that conveys the message that the user would like to update the app right away.
|
|
public static let updateButtonTitle = "Update"
|
|
}
|