SystemMessageHelper
public final class SystemMessageHelper
extension SystemMessageHelper: MessageHelper
SystemMessageHelper is used to display a system defined styled message on the screen.
Version
1.5.0Date
31/07/2019-
MessageHelper
Declaration
Swift
public weak var delegate: MessageHelperDelegate? -
Initialize the helper.
Declaration
Swift
public init?(application: UIApplication = .shared)Parameters
applicationThe application used to make a function call.
-
Declaration
Swift
public func showInfo(_ content: String, withTitle title: String = successTitle, withConfirmButtonName confirmButtonName: String = infoConfirmButtonName) -
Declaration
Swift
public func showWarning(_ content: String, withTitle title: String = warningTitle, withConfirmButtonName confirmButtonName: String = warningConfirmButtonName, withCancelButtonName cancelButtonName: String = warningCancelButtonName) -
Declaration
Swift
public func showError(_ content: String, withTitle title: String = errorTitle, withConfirmButtonName confirmButtonName: String = errorConfirmButtonName) -
Declaration
Swift
public func showInput(withTitle title: String, withConfirmButtonName confirmButtonName: String = inputConfirmButtonName, withCancelButtonName cancelButtonName: String = inputCancelButtonName)
SystemMessageHelper Class Reference