Messages

public enum Messages: String, CustomStringConvertible

User Messages


These messages should generally be localized by the consuming container application.

Localization can also be used to change these standard messages to something more specific to the consuming container app.

  • Declaration

    Swift

    case authenticationFailed = "Authentication failed. Unable to continue."
  • Declaration

    Swift

    case downloadingData = "Downloading data"
  • Declaration

    Swift

    case notConfigured = "Initial server not configured"
  • Template message, expected to be used as a formating string.

    Example:

    print(String(format:Messages.TemplateWebAppCouldNotBeLoaded.description, "AwesomeApp"))

    Outputs: The PredixMobile App AwesomeApp could not be loaded

    Declaration

    Swift

    case templateWebAppCouldNotBeLoaded = "The PredixMobile App %@ could not be loaded"
  • Returns the enumeration string, or a localized version of the string, if localization support is configured in the consuming app.

    Declaration

    Swift

    public var description: String

    Return Value

    localized version of enumeration message