diff --git a/Documentation/Classes.html b/Documentation/Classes.html index 1123604..c73722d 100644 --- a/Documentation/Classes.html +++ b/Documentation/Classes.html @@ -171,7 +171,7 @@
+
+
+ alertBackgroundColor
+
+ The background color of the alert.
+ +Objective-C
+@property (readwrite, strong, nonatomic, nonnull) UIColor *alertBackgroundColor;
+
+
@@ -437,6 +464,34 @@ Declaration
+
+
+ alertMessageTextAlignment
+
+ The text alignment of the alert message
+ +Objective-C
+@property (assign, readwrite, nonatomic)
+ NSTextAlignment alertMessageTextAlignment;
+
+
+
+
+ alertBackgroundColor
+
+ The background color of the alert.
+ +Objective-C
+@property (readwrite, strong, nonatomic, nonnull) UIColor *alertBackgroundColor;
+
+
@@ -437,6 +464,34 @@ Declaration
+
+
+ alertMessageTextAlignment
+
+ The text alignment of the alert message
+ +Objective-C
+@property (assign, readwrite, nonatomic)
+ NSTextAlignment alertMessageTextAlignment;
+
+ Sent to the delegate just before the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidAppear:":{"name":"-alertControllerDidAppear:","abstract":"Sent to teh delegate just after the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerWillDisappear:":{"name":"-alertControllerWillDisappear:","abstract":"Sent to the delegate just before the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidDisappear:":{"name":"-alertControllerDidDisappear:","abstract":"Sent to teh delegate just after the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertController:didSelectAction:":{"name":"-alertController:didSelectAction:","abstract":"Sent to the delegate when the user taps on an action. Message is sent before the action block is executed.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html":{"name":"VSAlertControllerDelegate","abstract":"VSAlertControllerDelegate is a protocol used to inform an object about user intractions with alerts
"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleRise":{"name":"VSAlertControllerAnimationStyleRise","abstract":"The alert rises from the bottom of the screen and falls down when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFall":{"name":"VSAlertControllerAnimationStyleFall","abstract":"The alert falls from the top of the screen and rises up when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSlide":{"name":"VSAlertControllerAnimationStyleSlide","abstract":"The alert slides from the left of the screen and slides to the right when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFlip":{"name":"VSAlertControllerAnimationStyleFlip","abstract":"The alert flips from the right, and flips to the left when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSticker":{"name":"VSAlertControllerAnimationStyleSticker","abstract":"The alert page flips from the top, then again from the bottom when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleCrossDisolve":{"name":"VSAlertControllerAnimationStyleCrossDisolve","abstract":"The alert page fades in, then fades out dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleAutomatic":{"name":"VSAlertControllerAnimationStyleAutomatic","abstract":"The alert chooses its presentation and dismissal styles automatically.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleAlert":{"name":"VSAlertControllerStyleAlert","abstract":"A standard alert, 270pt wide, variable height. Supports text fields
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleWalkthroughAlert":{"name":"VSAlertControllerStyleWalkthroughAlert","abstract":"A wider alert that stretches to the margins of the device - 18pt in either direction. Supports text fields, useful for onboarding. 500pt wide on iPad.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleActionSheet":{"name":"VSAlertControllerStyleActionSheet","abstract":"An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDefault":{"name":"VSAlertActionStyleDefault","abstract":"A normal action
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleCancel":{"name":"VSAlertActionStyleCancel","abstract":"An action that indicates to the user that the current process wil be cancelled
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDestructive":{"name":"VSAlertActionStyleDestructive","abstract":"An action indicates to the user that an irreversible process is about to happen.
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html":{"name":"VSAlertActionStyle","abstract":"An enumeration for the kinds of actions that can be created
"},"Enums/VSAlertControllerStyle.html":{"name":"VSAlertControllerStyle","abstract":"An enumeration describing the kinds of alerts that VSAlertController can display
"},"Enums/VSAlertControllerAnimationStyle.html":{"name":"VSAlertControllerAnimationStyle","abstract":"An enumeration describing the kinds of animations that can be used to present and hide an alert
"},"Constants.html#/c:@VSAlertControllerNotImplementedException":{"name":"VSAlertControllerNotImplementedException","abstract":"An exception thrown when an unimplemented feature is encountered at runtime.
"},"Constants.html#/c:@VSAlertControllerTextFieldInvalidException":{"name":"VSAlertControllerTextFieldInvalidException","abstract":"An exception thrown when a text field is added to an alert controller which doesn’t support text fields
"},"Constants.html#/c:@VSAlertControllerPresentationAnimationException":{"name":"VSAlertControllerPresentationAnimationException","abstract":"An exception thrown when a view controller presentation animation fails
"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:image:style:":{"name":"+alertControllerWithTitle:message:image:style:","abstract":"A factory method to create an instance of VSAlertController. This is the preffered way to instantiate alerts
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:style:":{"name":"+alertControllerWithTitle:message:style:","abstract":"A factory method to create an instance of VSAlertController.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:style:":{"name":"-initWithTitle:message:image:style:","abstract":"Create an instance of VSAlertController
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextColor":{"name":"alertTitleTextColor","abstract":"The color of the alert title. The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextColor":{"name":"alertMessageTextColor","abstract":"The color of the alert message (description). The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextFont":{"name":"alertTitleTextFont","abstract":"The font of the alert title. The default value is the system font size 17 weight medium.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextFont":{"name":"alertMessageTextFont","abstract":"The font of the alert message (description). The default value is the system font size 15 weight regular.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addAction:":{"name":"-addAction:","abstract":"Add an action to an alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addTextField:":{"name":"-addTextField:","abstract":"Add a text field to the alert. Rather than instantiating a UITextField object yourself, VSAlertController instantiates one for you. You can configure it using the optional configuration block
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)dismissOnBackgroundTap":{"name":"dismissOnBackgroundTap","abstract":"Set to YES if you want the alert to dismiss itself when the user taps on the background of the alert. Default is NO.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)animationStyle":{"name":"animationStyle","abstract":"Change the animation used when the alert is presented AND dismissed. Default is VSAlertControllerAnimationStyleRise.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)delegate":{"name":"delegate","abstract":"The delegate object to handle alert action interactions
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)textFields":{"name":"textFields","abstract":"Returns the array of text field objects that are displayed in the alert, so you can interact with the user’s inputs.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)style":{"name":"style","abstract":"The style of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)message":{"name":"message","abstract":"The message of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)image":{"name":"image","abstract":"The image of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(cm)alertActionWithTitle:style:action:":{"name":"+alertActionWithTitle:style:action:","abstract":"A factory method to create an instance of UIAlertAction. This is the prefered way to create alert actions.
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(im)initWithTitle:style:action:":{"name":"-initWithTitle:style:action:","abstract":"Create an instance of UIAlertAction
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextColor":{"name":"actionTextColor","abstract":"The color of the title text used in non-desctructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)destructiveActionTextColor":{"name":"destructiveActionTextColor","abstract":"The color of the title text used in destructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextFont":{"name":"actionTextFont","abstract":"The font of the title used in non-cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)cancelActionTextFont":{"name":"cancelActionTextFont","abstract":"The font of the title used in cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)alertTitle":{"name":"alertTitle","abstract":"The title of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)style":{"name":"style","abstract":"The display style of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)action":{"name":"action","abstract":"The block that will be executed when the user interacts with the action. The block is called on the main thread always, and begins executed before the alert is dismissed
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html":{"name":"VSAlertAction","abstract":"VSAlertAction is a specialized subclass of UIButton that is used to populate and provide interactive controls to an instance of VSAlertController.
"},"Classes/VSAlertController.html":{"name":"VSAlertController","abstract":"VSAlertController is a drop-in replacement for UIAlertController with more features. It is created using the +alertControllerWithTitle:message:image:style:
class method, and configured using instances of VSAlertAction. You can add text fields by calling -addTextField:
on an instance of VSAlertController. Instantiate the controller, add your actions and textfieds. and any other configuration you might need. Present the controller modally using UIViewController’s -presentViewController:animated:completion:
method. VSAlertController respects the animation paramater of this call, and you configure the animation in question by setting your instances animationStyle property before presentation. You can also change this property in the handler of an action to use a different animation on dismissal.
The following classes are available globally.
"},"Constants.html":{"name":"Constants","abstract":"The following constants are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"}} \ No newline at end of file +{"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerWillAppear:":{"name":"-alertControllerWillAppear:","abstract":"Sent to the delegate just before the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidAppear:":{"name":"-alertControllerDidAppear:","abstract":"Sent to teh delegate just after the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerWillDisappear:":{"name":"-alertControllerWillDisappear:","abstract":"Sent to the delegate just before the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidDisappear:":{"name":"-alertControllerDidDisappear:","abstract":"Sent to teh delegate just after the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertController:didSelectAction:":{"name":"-alertController:didSelectAction:","abstract":"Sent to the delegate when the user taps on an action. Message is sent before the action block is executed.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html":{"name":"VSAlertControllerDelegate","abstract":"VSAlertControllerDelegate is a protocol used to inform an object about user intractions with alerts
"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleRise":{"name":"VSAlertControllerAnimationStyleRise","abstract":"The alert rises from the bottom of the screen and falls down when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFall":{"name":"VSAlertControllerAnimationStyleFall","abstract":"The alert falls from the top of the screen and rises up when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSlide":{"name":"VSAlertControllerAnimationStyleSlide","abstract":"The alert slides from the left of the screen and slides to the right when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFlip":{"name":"VSAlertControllerAnimationStyleFlip","abstract":"The alert flips from the right, and flips to the left when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSticker":{"name":"VSAlertControllerAnimationStyleSticker","abstract":"The alert page flips from the top, then again from the bottom when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleCrossDisolve":{"name":"VSAlertControllerAnimationStyleCrossDisolve","abstract":"The alert page fades in, then fades out dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleAutomatic":{"name":"VSAlertControllerAnimationStyleAutomatic","abstract":"The alert chooses its presentation and dismissal styles automatically.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleAlert":{"name":"VSAlertControllerStyleAlert","abstract":"A standard alert, 270pt wide, variable height. Supports text fields
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleWalkthroughAlert":{"name":"VSAlertControllerStyleWalkthroughAlert","abstract":"A wider alert that stretches to the margins of the device - 18pt in either direction. Supports text fields, useful for onboarding. 500pt wide on iPad.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleActionSheet":{"name":"VSAlertControllerStyleActionSheet","abstract":"An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDefault":{"name":"VSAlertActionStyleDefault","abstract":"A normal action
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleCancel":{"name":"VSAlertActionStyleCancel","abstract":"An action that indicates to the user that the current process wil be cancelled
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDestructive":{"name":"VSAlertActionStyleDestructive","abstract":"An action indicates to the user that an irreversible process is about to happen.
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html":{"name":"VSAlertActionStyle","abstract":"An enumeration for the kinds of actions that can be created
"},"Enums/VSAlertControllerStyle.html":{"name":"VSAlertControllerStyle","abstract":"An enumeration describing the kinds of alerts that VSAlertController can display
"},"Enums/VSAlertControllerAnimationStyle.html":{"name":"VSAlertControllerAnimationStyle","abstract":"An enumeration describing the kinds of animations that can be used to present and hide an alert
"},"Constants.html#/c:@VSAlertControllerNotImplementedException":{"name":"VSAlertControllerNotImplementedException","abstract":"An exception thrown when an unimplemented feature is encountered at runtime.
"},"Constants.html#/c:@VSAlertControllerTextFieldInvalidException":{"name":"VSAlertControllerTextFieldInvalidException","abstract":"An exception thrown when a text field is added to an alert controller which doesn’t support text fields
"},"Constants.html#/c:@VSAlertControllerPresentationAnimationException":{"name":"VSAlertControllerPresentationAnimationException","abstract":"An exception thrown when a view controller presentation animation fails
"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:image:style:":{"name":"+alertControllerWithTitle:message:image:style:","abstract":"A factory method to create an instance of VSAlertController. This is the preffered way to instantiate alerts
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:style:":{"name":"+alertControllerWithTitle:message:style:","abstract":"A factory method to create an instance of VSAlertController.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:style:":{"name":"-initWithTitle:message:image:style:","abstract":"Create an instance of VSAlertController
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertBackgroundColor":{"name":"alertBackgroundColor","abstract":"The background color of the alert.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextColor":{"name":"alertTitleTextColor","abstract":"The color of the alert title. The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextColor":{"name":"alertMessageTextColor","abstract":"The color of the alert message (description). The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextFont":{"name":"alertTitleTextFont","abstract":"The font of the alert title. The default value is the system font size 17 weight medium.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextFont":{"name":"alertMessageTextFont","abstract":"The font of the alert message (description). The default value is the system font size 15 weight regular.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextAlignment":{"name":"alertMessageTextAlignment","abstract":"The text alignment of the alert message
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addAction:":{"name":"-addAction:","abstract":"Add an action to an alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addTextField:":{"name":"-addTextField:","abstract":"Add a text field to the alert. Rather than instantiating a UITextField object yourself, VSAlertController instantiates one for you. You can configure it using the optional configuration block
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)dismissOnBackgroundTap":{"name":"dismissOnBackgroundTap","abstract":"Set to YES if you want the alert to dismiss itself when the user taps on the background of the alert. Default is NO.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)animationStyle":{"name":"animationStyle","abstract":"Change the animation used when the alert is presented AND dismissed. Default is VSAlertControllerAnimationStyleRise.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)delegate":{"name":"delegate","abstract":"The delegate object to handle alert action interactions
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)textFields":{"name":"textFields","abstract":"Returns the array of text field objects that are displayed in the alert, so you can interact with the user’s inputs.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)style":{"name":"style","abstract":"The style of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)message":{"name":"message","abstract":"The message of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)image":{"name":"image","abstract":"The image of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(cm)alertActionWithTitle:style:action:":{"name":"+alertActionWithTitle:style:action:","abstract":"A factory method to create an instance of UIAlertAction. This is the prefered way to create alert actions.
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(im)initWithTitle:style:action:":{"name":"-initWithTitle:style:action:","abstract":"Create an instance of UIAlertAction
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextColor":{"name":"actionTextColor","abstract":"The color of the title text used in non-desctructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)destructiveActionTextColor":{"name":"destructiveActionTextColor","abstract":"The color of the title text used in destructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextFont":{"name":"actionTextFont","abstract":"The font of the title used in non-cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)cancelActionTextFont":{"name":"cancelActionTextFont","abstract":"The font of the title used in cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)alertTitle":{"name":"alertTitle","abstract":"The title of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)style":{"name":"style","abstract":"The display style of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)action":{"name":"action","abstract":"The block that will be executed when the user interacts with the action. The block is called on the main thread always, and begins executed before the alert is dismissed
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html":{"name":"VSAlertAction","abstract":"VSAlertAction is a specialized subclass of UIButton that is used to populate and provide interactive controls to an instance of VSAlertController.
"},"Classes/VSAlertController.html":{"name":"VSAlertController","abstract":"VSAlertController is a drop-in replacement for UIAlertController with more features. It is created using the +alertControllerWithTitle:message:image:style:
class method, and configured using instances of VSAlertAction. You can add text fields by calling -addTextField:
on an instance of VSAlertController. Instantiate the controller, add your actions and textfieds. and any other configuration you might need. Present the controller modally using UIViewController’s -presentViewController:animated:completion:
method. VSAlertController respects the animation paramater of this call, and you configure the animation in question by setting your instances animationStyle property before presentation. You can also change this property in the handler of an action to use a different animation on dismissal.
The following classes are available globally.
"},"Constants.html":{"name":"Constants","abstract":"The following constants are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"}} \ No newline at end of file diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/docSet.dsidx b/Documentation/docsets/VSAlert.docset/Contents/Resources/docSet.dsidx index d23f94b..14ab6b2 100644 Binary files a/Documentation/docsets/VSAlert.docset/Contents/Resources/docSet.dsidx and b/Documentation/docsets/VSAlert.docset/Contents/Resources/docSet.dsidx differ diff --git a/Documentation/docsets/VSAlert.tgz b/Documentation/docsets/VSAlert.tgz index 6697540..8c4d455 100644 Binary files a/Documentation/docsets/VSAlert.tgz and b/Documentation/docsets/VSAlert.tgz differ diff --git a/Documentation/index.html b/Documentation/index.html index 56ba76d..d392285 100644 --- a/Documentation/index.html +++ b/Documentation/index.html @@ -180,7 +180,7 @@Sent to the delegate just before the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidAppear:":{"name":"-alertControllerDidAppear:","abstract":"Sent to teh delegate just after the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerWillDisappear:":{"name":"-alertControllerWillDisappear:","abstract":"Sent to the delegate just before the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidDisappear:":{"name":"-alertControllerDidDisappear:","abstract":"Sent to teh delegate just after the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertController:didSelectAction:":{"name":"-alertController:didSelectAction:","abstract":"Sent to the delegate when the user taps on an action. Message is sent before the action block is executed.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html":{"name":"VSAlertControllerDelegate","abstract":"VSAlertControllerDelegate is a protocol used to inform an object about user intractions with alerts
"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleRise":{"name":"VSAlertControllerAnimationStyleRise","abstract":"The alert rises from the bottom of the screen and falls down when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFall":{"name":"VSAlertControllerAnimationStyleFall","abstract":"The alert falls from the top of the screen and rises up when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSlide":{"name":"VSAlertControllerAnimationStyleSlide","abstract":"The alert slides from the left of the screen and slides to the right when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFlip":{"name":"VSAlertControllerAnimationStyleFlip","abstract":"The alert flips from the right, and flips to the left when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSticker":{"name":"VSAlertControllerAnimationStyleSticker","abstract":"The alert page flips from the top, then again from the bottom when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleCrossDisolve":{"name":"VSAlertControllerAnimationStyleCrossDisolve","abstract":"The alert page fades in, then fades out dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleAutomatic":{"name":"VSAlertControllerAnimationStyleAutomatic","abstract":"The alert chooses its presentation and dismissal styles automatically.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleAlert":{"name":"VSAlertControllerStyleAlert","abstract":"A standard alert, 270pt wide, variable height. Supports text fields
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleWalkthroughAlert":{"name":"VSAlertControllerStyleWalkthroughAlert","abstract":"A wider alert that stretches to the margins of the device - 18pt in either direction. Supports text fields, useful for onboarding. 500pt wide on iPad.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleActionSheet":{"name":"VSAlertControllerStyleActionSheet","abstract":"An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDefault":{"name":"VSAlertActionStyleDefault","abstract":"A normal action
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleCancel":{"name":"VSAlertActionStyleCancel","abstract":"An action that indicates to the user that the current process wil be cancelled
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDestructive":{"name":"VSAlertActionStyleDestructive","abstract":"An action indicates to the user that an irreversible process is about to happen.
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html":{"name":"VSAlertActionStyle","abstract":"An enumeration for the kinds of actions that can be created
"},"Enums/VSAlertControllerStyle.html":{"name":"VSAlertControllerStyle","abstract":"An enumeration describing the kinds of alerts that VSAlertController can display
"},"Enums/VSAlertControllerAnimationStyle.html":{"name":"VSAlertControllerAnimationStyle","abstract":"An enumeration describing the kinds of animations that can be used to present and hide an alert
"},"Constants.html#/c:@VSAlertControllerNotImplementedException":{"name":"VSAlertControllerNotImplementedException","abstract":"An exception thrown when an unimplemented feature is encountered at runtime.
"},"Constants.html#/c:@VSAlertControllerTextFieldInvalidException":{"name":"VSAlertControllerTextFieldInvalidException","abstract":"An exception thrown when a text field is added to an alert controller which doesn’t support text fields
"},"Constants.html#/c:@VSAlertControllerPresentationAnimationException":{"name":"VSAlertControllerPresentationAnimationException","abstract":"An exception thrown when a view controller presentation animation fails
"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:image:style:":{"name":"+alertControllerWithTitle:message:image:style:","abstract":"A factory method to create an instance of VSAlertController. This is the preffered way to instantiate alerts
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:style:":{"name":"+alertControllerWithTitle:message:style:","abstract":"A factory method to create an instance of VSAlertController.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:style:":{"name":"-initWithTitle:message:image:style:","abstract":"Create an instance of VSAlertController
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextColor":{"name":"alertTitleTextColor","abstract":"The color of the alert title. The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextColor":{"name":"alertMessageTextColor","abstract":"The color of the alert message (description). The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextFont":{"name":"alertTitleTextFont","abstract":"The font of the alert title. The default value is the system font size 17 weight medium.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextFont":{"name":"alertMessageTextFont","abstract":"The font of the alert message (description). The default value is the system font size 15 weight regular.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addAction:":{"name":"-addAction:","abstract":"Add an action to an alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addTextField:":{"name":"-addTextField:","abstract":"Add a text field to the alert. Rather than instantiating a UITextField object yourself, VSAlertController instantiates one for you. You can configure it using the optional configuration block
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)dismissOnBackgroundTap":{"name":"dismissOnBackgroundTap","abstract":"Set to YES if you want the alert to dismiss itself when the user taps on the background of the alert. Default is NO.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)animationStyle":{"name":"animationStyle","abstract":"Change the animation used when the alert is presented AND dismissed. Default is VSAlertControllerAnimationStyleRise.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)delegate":{"name":"delegate","abstract":"The delegate object to handle alert action interactions
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)textFields":{"name":"textFields","abstract":"Returns the array of text field objects that are displayed in the alert, so you can interact with the user’s inputs.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)style":{"name":"style","abstract":"The style of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)message":{"name":"message","abstract":"The message of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)image":{"name":"image","abstract":"The image of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(cm)alertActionWithTitle:style:action:":{"name":"+alertActionWithTitle:style:action:","abstract":"A factory method to create an instance of UIAlertAction. This is the prefered way to create alert actions.
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(im)initWithTitle:style:action:":{"name":"-initWithTitle:style:action:","abstract":"Create an instance of UIAlertAction
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextColor":{"name":"actionTextColor","abstract":"The color of the title text used in non-desctructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)destructiveActionTextColor":{"name":"destructiveActionTextColor","abstract":"The color of the title text used in destructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextFont":{"name":"actionTextFont","abstract":"The font of the title used in non-cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)cancelActionTextFont":{"name":"cancelActionTextFont","abstract":"The font of the title used in cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)alertTitle":{"name":"alertTitle","abstract":"The title of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)style":{"name":"style","abstract":"The display style of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)action":{"name":"action","abstract":"The block that will be executed when the user interacts with the action. The block is called on the main thread always, and begins executed before the alert is dismissed
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html":{"name":"VSAlertAction","abstract":"VSAlertAction is a specialized subclass of UIButton that is used to populate and provide interactive controls to an instance of VSAlertController.
"},"Classes/VSAlertController.html":{"name":"VSAlertController","abstract":"VSAlertController is a drop-in replacement for UIAlertController with more features. It is created using the +alertControllerWithTitle:message:image:style:
class method, and configured using instances of VSAlertAction. You can add text fields by calling -addTextField:
on an instance of VSAlertController. Instantiate the controller, add your actions and textfieds. and any other configuration you might need. Present the controller modally using UIViewController’s -presentViewController:animated:completion:
method. VSAlertController respects the animation paramater of this call, and you configure the animation in question by setting your instances animationStyle property before presentation. You can also change this property in the handler of an action to use a different animation on dismissal.
The following classes are available globally.
"},"Constants.html":{"name":"Constants","abstract":"The following constants are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"}} \ No newline at end of file +{"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerWillAppear:":{"name":"-alertControllerWillAppear:","abstract":"Sent to the delegate just before the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidAppear:":{"name":"-alertControllerDidAppear:","abstract":"Sent to teh delegate just after the view controller appears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerWillDisappear:":{"name":"-alertControllerWillDisappear:","abstract":"Sent to the delegate just before the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertControllerDidDisappear:":{"name":"-alertControllerDidDisappear:","abstract":"Sent to teh delegate just after the view controller disappears.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html#/c:objc(pl)VSAlertControllerDelegate(im)alertController:didSelectAction:":{"name":"-alertController:didSelectAction:","abstract":"Sent to the delegate when the user taps on an action. Message is sent before the action block is executed.
","parent_name":"VSAlertControllerDelegate"},"Protocols/VSAlertControllerDelegate.html":{"name":"VSAlertControllerDelegate","abstract":"VSAlertControllerDelegate is a protocol used to inform an object about user intractions with alerts
"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleRise":{"name":"VSAlertControllerAnimationStyleRise","abstract":"The alert rises from the bottom of the screen and falls down when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFall":{"name":"VSAlertControllerAnimationStyleFall","abstract":"The alert falls from the top of the screen and rises up when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSlide":{"name":"VSAlertControllerAnimationStyleSlide","abstract":"The alert slides from the left of the screen and slides to the right when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleFlip":{"name":"VSAlertControllerAnimationStyleFlip","abstract":"The alert flips from the right, and flips to the left when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleSticker":{"name":"VSAlertControllerAnimationStyleSticker","abstract":"The alert page flips from the top, then again from the bottom when dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleCrossDisolve":{"name":"VSAlertControllerAnimationStyleCrossDisolve","abstract":"The alert page fades in, then fades out dismissed.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerAnimationStyle.html#/c:@E@VSAlertControllerAnimationStyle@VSAlertControllerAnimationStyleAutomatic":{"name":"VSAlertControllerAnimationStyleAutomatic","abstract":"The alert chooses its presentation and dismissal styles automatically.
","parent_name":"VSAlertControllerAnimationStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleAlert":{"name":"VSAlertControllerStyleAlert","abstract":"A standard alert, 270pt wide, variable height. Supports text fields
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleWalkthroughAlert":{"name":"VSAlertControllerStyleWalkthroughAlert","abstract":"A wider alert that stretches to the margins of the device - 18pt in either direction. Supports text fields, useful for onboarding. 500pt wide on iPad.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertControllerStyle.html#/c:@E@VSAlertControllerStyle@VSAlertControllerStyleActionSheet":{"name":"VSAlertControllerStyleActionSheet","abstract":"An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
","parent_name":"VSAlertControllerStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDefault":{"name":"VSAlertActionStyleDefault","abstract":"A normal action
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleCancel":{"name":"VSAlertActionStyleCancel","abstract":"An action that indicates to the user that the current process wil be cancelled
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html#/c:@E@VSAlertActionStyle@VSAlertActionStyleDestructive":{"name":"VSAlertActionStyleDestructive","abstract":"An action indicates to the user that an irreversible process is about to happen.
","parent_name":"VSAlertActionStyle"},"Enums/VSAlertActionStyle.html":{"name":"VSAlertActionStyle","abstract":"An enumeration for the kinds of actions that can be created
"},"Enums/VSAlertControllerStyle.html":{"name":"VSAlertControllerStyle","abstract":"An enumeration describing the kinds of alerts that VSAlertController can display
"},"Enums/VSAlertControllerAnimationStyle.html":{"name":"VSAlertControllerAnimationStyle","abstract":"An enumeration describing the kinds of animations that can be used to present and hide an alert
"},"Constants.html#/c:@VSAlertControllerNotImplementedException":{"name":"VSAlertControllerNotImplementedException","abstract":"An exception thrown when an unimplemented feature is encountered at runtime.
"},"Constants.html#/c:@VSAlertControllerTextFieldInvalidException":{"name":"VSAlertControllerTextFieldInvalidException","abstract":"An exception thrown when a text field is added to an alert controller which doesn’t support text fields
"},"Constants.html#/c:@VSAlertControllerPresentationAnimationException":{"name":"VSAlertControllerPresentationAnimationException","abstract":"An exception thrown when a view controller presentation animation fails
"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:image:style:":{"name":"+alertControllerWithTitle:message:image:style:","abstract":"A factory method to create an instance of VSAlertController. This is the preffered way to instantiate alerts
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(cm)alertControllerWithTitle:message:style:":{"name":"+alertControllerWithTitle:message:style:","abstract":"A factory method to create an instance of VSAlertController.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:style:":{"name":"-initWithTitle:message:image:style:","abstract":"Create an instance of VSAlertController
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertBackgroundColor":{"name":"alertBackgroundColor","abstract":"The background color of the alert.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextColor":{"name":"alertTitleTextColor","abstract":"The color of the alert title. The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextColor":{"name":"alertMessageTextColor","abstract":"The color of the alert message (description). The default value is black.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertTitleTextFont":{"name":"alertTitleTextFont","abstract":"The font of the alert title. The default value is the system font size 17 weight medium.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextFont":{"name":"alertMessageTextFont","abstract":"The font of the alert message (description). The default value is the system font size 15 weight regular.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)alertMessageTextAlignment":{"name":"alertMessageTextAlignment","abstract":"The text alignment of the alert message
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addAction:":{"name":"-addAction:","abstract":"Add an action to an alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)addTextField:":{"name":"-addTextField:","abstract":"Add a text field to the alert. Rather than instantiating a UITextField object yourself, VSAlertController instantiates one for you. You can configure it using the optional configuration block
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)dismissOnBackgroundTap":{"name":"dismissOnBackgroundTap","abstract":"Set to YES if you want the alert to dismiss itself when the user taps on the background of the alert. Default is NO.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)animationStyle":{"name":"animationStyle","abstract":"Change the animation used when the alert is presented AND dismissed. Default is VSAlertControllerAnimationStyleRise.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)delegate":{"name":"delegate","abstract":"The delegate object to handle alert action interactions
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)textFields":{"name":"textFields","abstract":"Returns the array of text field objects that are displayed in the alert, so you can interact with the user’s inputs.
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)style":{"name":"style","abstract":"The style of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)message":{"name":"message","abstract":"The message of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(py)image":{"name":"image","abstract":"The image of the alert
","parent_name":"VSAlertController"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(cm)alertActionWithTitle:style:action:":{"name":"+alertActionWithTitle:style:action:","abstract":"A factory method to create an instance of UIAlertAction. This is the prefered way to create alert actions.
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(im)initWithTitle:style:action:":{"name":"-initWithTitle:style:action:","abstract":"Create an instance of UIAlertAction
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextColor":{"name":"actionTextColor","abstract":"The color of the title text used in non-desctructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)destructiveActionTextColor":{"name":"destructiveActionTextColor","abstract":"The color of the title text used in destructive actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)actionTextFont":{"name":"actionTextFont","abstract":"The font of the title used in non-cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)cancelActionTextFont":{"name":"cancelActionTextFont","abstract":"The font of the title used in cancel actions
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)alertTitle":{"name":"alertTitle","abstract":"The title of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)style":{"name":"style","abstract":"The display style of the alert
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html#/c:objc(cs)VSAlertAction(py)action":{"name":"action","abstract":"The block that will be executed when the user interacts with the action. The block is called on the main thread always, and begins executed before the alert is dismissed
","parent_name":"VSAlertAction"},"Classes/VSAlertAction.html":{"name":"VSAlertAction","abstract":"VSAlertAction is a specialized subclass of UIButton that is used to populate and provide interactive controls to an instance of VSAlertController.
"},"Classes/VSAlertController.html":{"name":"VSAlertController","abstract":"VSAlertController is a drop-in replacement for UIAlertController with more features. It is created using the +alertControllerWithTitle:message:image:style:
class method, and configured using instances of VSAlertAction. You can add text fields by calling -addTextField:
on an instance of VSAlertController. Instantiate the controller, add your actions and textfieds. and any other configuration you might need. Present the controller modally using UIViewController’s -presentViewController:animated:completion:
method. VSAlertController respects the animation paramater of this call, and you configure the animation in question by setting your instances animationStyle property before presentation. You can also change this property in the handler of an action to use a different animation on dismissal.
The following classes are available globally.
"},"Constants.html":{"name":"Constants","abstract":"The following constants are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"}} \ No newline at end of file diff --git a/README.md b/README.md index 440e8a5..e166a02 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ The included Xcode project allows you to build the static library and an example Full documentation is [here](https://vsanthanam.github.io/VSAlert/Documentation/index.html), at https://code.vsanthanam.com/VSAlert/Documentation/index.html -Documentation with made with [Jazzy](https://github.com/realm/jazzy) by [Realm](https://realm.io), using the [Jony Theme](https://github.com/HarshilShah/Jony) by [Harshil Shah](https://github.com/HarshilShah/) +Documentation with made with [Jazzy](https://github.com/realm/jazzy) by [Realm](https://realm.io), using the [Jony Theme](https://github.com/HarshilShah/Jony) by [Harshil Shah](https://github.com/HarshilShah/), and is hosted on GitHub Pages. ### Image Template diff --git a/Release/VSAlert.framework/Versions/A/Headers/VSAlertController.h b/Release/VSAlert.framework/Versions/A/Headers/VSAlertController.h index 0661205..768cf87 100644 --- a/Release/VSAlert.framework/Versions/A/Headers/VSAlertController.h +++ b/Release/VSAlert.framework/Versions/A/Headers/VSAlertController.h @@ -192,6 +192,11 @@ typedef NS_ENUM(NSInteger, VSAlertControllerAnimationStyle) { @name Configuring Alert Appearance */ +/** + The background color of the alert. + */ +@property (NS_NONATOMIC_IOSONLY, strong, nonnull) UIColor *alertBackgroundColor UI_APPEARANCE_SELECTOR; + /** The color of the alert title. The default value is black. */ @@ -212,6 +217,11 @@ typedef NS_ENUM(NSInteger, VSAlertControllerAnimationStyle) { */ @property (NS_NONATOMIC_IOSONLY, strong, nonnull) UIFont *alertMessageTextFont UI_APPEARANCE_SELECTOR; +/** + The text alignment of the alert message + */ +@property (NS_NONATOMIC_IOSONLY, assign) NSTextAlignment alertMessageTextAlignment; + /** @name Configuring Interactive Alert Content */ diff --git a/Release/VSAlert.framework/Versions/A/VSAlert b/Release/VSAlert.framework/Versions/A/VSAlert index 225c73d..e1f63d5 100644 Binary files a/Release/VSAlert.framework/Versions/A/VSAlert and b/Release/VSAlert.framework/Versions/A/VSAlert differ diff --git a/VSAlert.xcodeproj/project.pbxproj b/VSAlert.xcodeproj/project.pbxproj index 62f2902..7a94ea7 100644 --- a/VSAlert.xcodeproj/project.pbxproj +++ b/VSAlert.xcodeproj/project.pbxproj @@ -39,6 +39,8 @@ 0710F9C91F8B1E3500C6D084 /* VSAlertAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 0710F9C21F8B1E1000C6D084 /* VSAlertAction.m */; }; 0710F9CA1F8B1E3700C6D084 /* VSAlertController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0710F9C51F8B1E1000C6D084 /* VSAlertController.m */; }; 0710F9D41F8BCDBE00C6D084 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0710F9D21F8BCDB700C6D084 /* CoreGraphics.framework */; }; + 078C277C207D246800DF9D0C /* VSAlertTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 078C277B207D246800DF9D0C /* VSAlertTests.m */; }; + 078C277E207D246800DF9D0C /* libVSAlert.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 07F00EFF1F8A972D006FAC96 /* libVSAlert.a */; }; 07FF9E171F8FEF8C002966A3 /* AlertExample.m in Sources */ = {isa = PBXBuildFile; fileRef = 07FF9E111F8FEF03002966A3 /* AlertExample.m */; }; 07FF9E181F8FEF8E002966A3 /* AlertExampleSettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 07FF9E0F1F8FEF03002966A3 /* AlertExampleSettingsViewController.m */; }; 07FF9E191F8FEF92002966A3 /* AlertExampleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 07FF9E0E1F8FEF03002966A3 /* AlertExampleViewController.m */; }; @@ -63,6 +65,13 @@ remoteGlobalIDString = 07F00EFE1F8A972D006FAC96; remoteInfo = VSAlert; }; + 078C277F207D246800DF9D0C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 07F00ED91F8A96D9006FAC96 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 07F00EFE1F8A972D006FAC96; + remoteInfo = VSAlert; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -88,6 +97,9 @@ 0710F9C51F8B1E1000C6D084 /* VSAlertController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VSAlertController.m; sourceTree = "