Properties - Tim77277/WizardUIKit GitHub Wiki
StatusAlert
- Properties
var successStatus: WizardStatus
A struct contains the information how StatusAlert should be displayed when status is success
var warningStatus: WizardStatus
A struct contains the information how StatusAlert should be displayed when status is warning
var errorStatus: WizardStatus
A struct contains the information how StatusAlert should be displayed when status is error
var animation: WizardAnimation
A struct contains the information how StatusAlert should be animated
var expandable: Bool
Use to set up if the StatusAlert should be expanded when the message is longer than default heigh
ActionAlert
- Properties
var cornerRadius: CGFloat
Use to change ActionAlert's cornerRadius
var backgroundColor: UIColor
Use to change ActionAlert's background color
var expandable: Bool
Use to set up if the ActionAlert should be expanded when the message is longer than default heigh
var titleLabel: WizardLabel
A struct contains the information how title label should be displayed on ActionAlert
var contentLabel: WizardLabel
A struct contains the information how message label should be displayed on ActionAlert
var cancelButton: WizardButton
A struct contains the information how cancel button should be displayed on ActionAlert
var actionButton: WizardButton
A struct contains the information how action button should be displayed on ActionAlert
var animation: WizardAnimation
A struct contains the information how ActionAlert should be animated
ImageActionAlert
ImageActionAlert is idendical to ActionAlert, the only difference is it comes with an image.
- Properties
var image: UIImage
Use to change ImageAlert's image
var backgroundColor: UIColor
Use to change ImageAlert's background color
var cornerRadius: CGFloat
Use to change ImageAlert's cornerRadius
var expandable: Bool
Use to set up if the ImageActionAlert should be expanded when the message is longer than default heigh
var contentLabel: WizardLabel
A struct contains the information how content label should be displayed on ImageActionAlert
var actionButton: WizardButton
A struct contains the information how action button should be displayed on ImageActionAlert
var animation: WizardAnimation
A struct contains the information how ImageActionAlert should be animated
TextFieldAlert
- Properties
var backgroundColor: UIColor
Use to change TextFieldAlert's background color
var cornerRadius: CGFloat
Use to change TextFieldAlert's cornerRadius
var keyboardType: UIKeyboardType
Use to change TextFieldAlert's keyboard type
var expandable: Bool
Use to set up if the ImageActionAlert should be expanded when the message is longer than default heigh
var titleLabel: WizardLabel
A struct contains the information how title label should be displayed on TextFieldAlert
var textField: WizardTextField
A struct contains the information how text field should be displayed on TextFieldAlert
var button: WizardButton
A struct contains the information how confirm button should be displayed on TextFieldAlert
var animation: WizardAnimation
A struct contains the information how ImageActionAlert should be animated
ProgressAlert
- Properties
var cornerRadius: CGFloat
Use to change how ProgressAlert's cornerRadius
var backgroundColor: UIColor
Use to change how ProgressAlert's background color
var titleLabel: WizardLabel
A struct contains the information how title label should be displayed on ProgressAlert
var progressBar: WizardProgressBar
A struct contains the information how progress bar should be displayed on ProgressAlert
- Functions
func showProgressAlert(viewController: UIViewController)
Use to show progress alert
func setProgress(progress: Float)
Use to update progress bar (Force to be executed in main thread)
func hideProgressAlert()
Use to hide progress bar (Force to be executed in main thread)
Indicator
- Properties
var color: UIColor
Use to change Indicator's color
var cornerRadius: CGFloat
Use to change Indicator's square-shape background corneradius
var backgroundColor : UIColor
Use to change Indicator's square-shape background color
var dimColor: UIColor
Use to change screen's color
- Functions
func showIndicator(withStyle style: IndicatorStyle, viewController: UIViewController)
Show indicatoor with default styles (black, white)
func showIndicator(viewController: UIViewController)
Show Indicator with custom style
func hideIndicator()
Hide Indicator (Force to be executed in main thread)
DatePicker
- Properties
var backgroundColor: UIColor
Use to change how DatePicker's background color
var titleLabel: WizardLabel
A struct contains the information how title label should be displayed on DatePicker
var todayButton: WizardButton
A struct contains the information how today button should be displayed on DatePicker
var doneButton: WizardButton
A struct contains the information how done button should be displayed on DatePicker
var picker: WizardDatePicker
A struct contains the information how picker should be displayed on DatePicker
var animation: WizardAnimation
A struct contains the information how DatePicker should be animated
NamePicker
- Properties
var pickerTextColor: UIColor
Use to change how NamePicker's picker text color
var backgroundColor: UIColor
Use to change how NamePicker's background color
var titleLabel: WizardLabel
A struct contains the information how title label should be displayed on NamePicker
var doneButton: WizardButton
A struct contains the information how done button should be displayed on NamePicker
var animation: WizardAnimation
A struct contains the information how NamePicker should be animated