diff --git a/Documentation/Classes.html b/Documentation/Classes.html index 4a7d539..b422471 100644 --- a/Documentation/Classes.html +++ b/Documentation/Classes.html @@ -16,7 +16,7 @@

VSAlert Docs - (76% documented) + (100% documented)

@@ -72,7 +72,7 @@

Classes

Declaration

Objective-C

-
@interface VSAlertAction
+
@interface VSAlertAction : UIButton <UIAppearance>
@@ -104,7 +104,7 @@

Declaration

Declaration

Objective-C

-
@interface VSAlertController
+
@interface VSAlertController : UIViewController <UIAppearance>
@@ -134,9 +134,6 @@

Declaration

diff --git a/Documentation/Classes/VSAlertAction.html b/Documentation/Classes/VSAlertAction.html index 554a2db..f7c03fc 100644 --- a/Documentation/Classes/VSAlertAction.html +++ b/Documentation/Classes/VSAlertAction.html @@ -16,7 +16,7 @@

VSAlert Docs - (76% documented) + (100% documented)

@@ -47,7 +47,7 @@

VSAlertAction

-
@interface VSAlertAction
+
@interface VSAlertAction : UIButton <UIAppearance>
@@ -85,8 +85,8 @@

Declaration

Objective-C

+ (nullable instancetype)
-alertActionWithTitle:(id)title
-               style:(id)style
+alertActionWithTitle:(nonnull NSString *)title
+               style:(VSAlertActionStyle)style
               action:(void (^_Nullable)(VSAlertAction *_Nonnull))action;
@@ -162,8 +162,8 @@

Declaration

Objective-C

- (nullable instancetype)
-initWithTitle:(id)title
-        style:(id)style
+initWithTitle:(nonnull NSString *)title
+        style:(VSAlertActionStyle)style
        action:(void (^_Nullable)(VSAlertAction *_Nonnull))action;
@@ -249,7 +249,7 @@

Configuring Action Appearance

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *actionTextColor;
+
@property (readwrite, strong, nonatomic, nonnull) UIColor *actionTextColor;
@@ -276,7 +276,8 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *destructiveActionTextColor;
+
@property (readwrite, strong, nonatomic, nonnull)
+    UIColor *destructiveActionTextColor;
@@ -303,7 +304,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *actionTextFont;
+
@property (readwrite, strong, nonatomic, nonnull) UIFont *actionTextFont;
@@ -330,7 +331,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *cancelActionTextFont;
+
@property (readwrite, strong, nonatomic, nonnull) UIFont *cancelActionTextFont;
@@ -368,7 +369,7 @@

Interacting with Actions

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *alertTitle;
+
@property (readonly, copy, nonatomic, nullable) NSString *alertTitle;
@@ -395,7 +396,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int style;
+
@property (readonly, assign, nonatomic) VSAlertActionStyle style;
@@ -422,7 +423,8 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) void (^)(VSAlertAction *_Nonnull) action;
+
@property (readonly, copy, nonatomic, nullable) void (^)(VSAlertAction *_Nonnull)
+    action;
@@ -452,9 +454,6 @@

Declaration

diff --git a/Documentation/Classes/VSAlertController.html b/Documentation/Classes/VSAlertController.html index 7fc095c..37bbceb 100644 --- a/Documentation/Classes/VSAlertController.html +++ b/Documentation/Classes/VSAlertController.html @@ -16,7 +16,7 @@

VSAlert Docs - (76% documented) + (100% documented)

@@ -47,7 +47,7 @@

VSAlertController

-
@interface VSAlertController
+
@interface VSAlertController : UIViewController <UIAppearance>
@@ -84,10 +84,11 @@

Creating Alerts

Declaration

Objective-C

-
+ (nullable instancetype)alertControllerWithTitle:(id)title
-                                          message:(id)message
-                                            image:(id)image
-                                   preferredStyle:(id)preferredStyle;
+
+ (nullable instancetype)alertControllerWithTitle:(nullable NSString *)title
+                                          message:(nullable NSString *)message
+                                            image:(nullable UIImage *)image
+                                   preferredStyle:
+                                       (VSAlertControllerStyle)preferredStyle;
@@ -173,9 +174,10 @@

Return Value

Declaration

Objective-C

-
+ (nullable instancetype)alertControllerWithTitle:(id)title
-                                          message:(id)message
-                                   preferredStyle:(id)preferredStyle;
+
+ (nullable instancetype)alertControllerWithTitle:(nullable NSString *)title
+                                          message:(nullable NSString *)message
+                                   preferredStyle:
+                                       (VSAlertControllerStyle)preferredStyle;
@@ -249,10 +251,10 @@

Return Value

Declaration

Objective-C

-
- (nullable instancetype)initWithTitle:(id)title
-                               message:(id)message
-                                 image:(id)image
-                        preferredStyle:(id)preferredStyle;
+
- (nullable instancetype)initWithTitle:(nullable NSString *)title
+                               message:(nullable NSString *)message
+                                 image:(nullable UIImage *)image
+                        preferredStyle:(VSAlertControllerStyle)preferredStyle;
@@ -349,7 +351,7 @@

Configuring Alert Appearance

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *alertTitleTextColor;
+
@property (readwrite, strong, nonatomic, nonnull) UIColor *alertTitleTextColor;
@@ -376,7 +378,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *alertMessageTextColor;
+
@property (readwrite, strong, nonatomic, nonnull) UIColor *alertMessageTextColor;
@@ -403,7 +405,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *alertTitleTextFont;
+
@property (readwrite, strong, nonatomic, nonnull) UIFont *alertTitleTextFont;
@@ -430,7 +432,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *alertMessageTextFont;
+
@property (readwrite, strong, nonatomic, nonnull) UIFont *alertMessageTextFont;
@@ -457,7 +459,8 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int alertMessageTextAlignment;
+
@property (assign, readwrite, nonatomic)
+    NSTextAlignment alertMessageTextAlignment;
@@ -484,7 +487,7 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int *alertBackgroundColor;
+
@property (readwrite, strong, nonatomic, nonnull) UIColor *alertBackgroundColor;
@@ -568,7 +571,7 @@

Parameters

Declaration

Objective-C

-
- (void)addTextField:(void (^_Nullable)(int *_Nonnull))configuration;
+
- (void)addTextField:(void (^_Nullable)(UITextField *_Nonnull))configuration;
@@ -625,7 +628,8 @@

Configure Alert Behavior

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int dismissOnBackgroundTap;
+
@property (getter=shouldDismissOnBackgroundTap, assign, readwrite, nonatomic)
+    BOOL dismissOnBackgroundTap;
@@ -652,7 +656,8 @@

Declaration

Declaration

Objective-C

-
@property (assign, readwrite, atomic) int animationStyle;
+
@property (assign, readwrite, nonatomic)
+    VSAlertControllerAnimationStyle animationStyle;
@@ -697,6 +702,34 @@

Declaration

+
  • +
    + + + + textFields + +
    +
    +
    +
    +
    +
    +

    Returns the array of text field objects that are displayed in the alert, so you can interact with the user’s inputs.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, strong, nonatomic, nonnull)
    +    NSArray<UITextField *> *textFields;
    + +
    +
    +
    +
    +
  • @@ -717,7 +750,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int style;
    +
    @property (readonly, assign, nonatomic) VSAlertControllerStyle style;
    @@ -744,7 +777,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *message;
    +
    @property (readonly, copy, nonatomic, nonnull) NSString *message;
    @@ -771,7 +804,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *image;
    +
    @property (readonly, strong, nonatomic, nullable) UIImage *image;
    @@ -801,9 +834,6 @@

    Declaration

  • diff --git a/Documentation/Constants.html b/Documentation/Constants.html index 0eceb05..6965dbb 100644 --- a/Documentation/Constants.html +++ b/Documentation/Constants.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -49,37 +49,6 @@

    Constants

    -
    -
      -
    • - -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Objective-C

      -
      UI_APPEARANCE_SELECTOR
      - -
      -
      -
      -
      -
    • -
    -
    • @@ -102,7 +71,7 @@

      Declaration

      Declaration

      Objective-C

      -
      extern NSString * _Nonnull const VSAlertControllerNotImplementedException
      +
      extern NSString *const _Nonnull VSAlertControllerNotImplementedException
    @@ -129,7 +98,7 @@

    Declaration

    Declaration

    Objective-C

    -
    extern NSString * _Nonnull const VSAlertControllerTextFieldInvalidException
    +
    extern NSString *const _Nonnull VSAlertControllerTextFieldInvalidException
    @@ -156,7 +125,7 @@

    Declaration

    Declaration

    Objective-C

    -
    extern NSString * _Nonnull const VSAlertControllerPresentationAnimationException
    +
    extern NSString *const _Nonnull VSAlertControllerPresentationAnimationException
    @@ -186,9 +155,6 @@

    Declaration

    diff --git a/Documentation/Enums.html b/Documentation/Enums.html new file mode 100644 index 0000000..88d803b --- /dev/null +++ b/Documentation/Enums.html @@ -0,0 +1,232 @@ + + + + Enumerations Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    Enumerations

    +

    The following enumerations are available globally.

    + +
    +
    +
    +
      +
    • +
      + + + + VSAlertActionStyle + +
      +
      +
      +
      +
      +
      +

      An enumeration for the kinds of actions that can be created

      + +
        +
      • VSAlertActionStyleDefault: A normal action
      • +
      • VSAlertActionStyleCancel: An action that indicates to the user that the current process wil be cancelled
      • +
      • VSAlertActionStyleDestructive: An action indicates to the user that an irreversible process is about to happen.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      enum VSAlertActionStyle {}
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      An enumeration describing the kinds of alerts that VSAlertController can display

      + +
        +
      • VSAlertControllerStyleAlert: A standard alert, 270pt wide, variable height. Supports texts fields.
      • +
      • VSAlertControllerStyleWalkthroughAlert: 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.
      • +
      • VSAlertControllerStyleActionSheet: An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      enum VSAlertControllerStyle {}
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An enumeration describing the kinds of animations that can be used to present and hide an alert

      + +
        +
      • VSAlertControllerAnimationStyleRise: The alert rises from the bottom of the screen and falls down when dismissed.
      • +
      • VSAlertControllerAnimationStyleFall: The alert falls from the top of the screen and rises up when dismissed.
      • +
      • VSAlertControllerAnimationStyleSlide: The alert slides from the left of the screen and slides to the right when dismissed.
      • +
      • VSAlertControllerAnimationStyleFlip: The alert flips from the right, and flips to the left when dismissed.
      • +
      • VSAlertControllerAnimationStyleSticker: The alert page flips from the top, then again from the bottom when dismissed.
      • +
      • VSAlertControllerAnimationStyleCrossDisolve: The alert page fades in, then fades out dismissed.
      • +
      • VSAlertControllerAnimationStyleAutomatic: The alert chooses its presentation and dismissal styles automatically.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      enum VSAlertControllerAnimationStyle {}
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/Enums/VSAlertActionStyle.html b/Documentation/Enums/VSAlertActionStyle.html new file mode 100644 index 0000000..4187004 --- /dev/null +++ b/Documentation/Enums/VSAlertActionStyle.html @@ -0,0 +1,215 @@ + + + + VSAlertActionStyle Enumeration Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    VSAlertActionStyle

    +
    +
    +
    enum VSAlertActionStyle {}
    + +
    +
    +

    An enumeration for the kinds of actions that can be created

    + +
      +
    • VSAlertActionStyleDefault: A normal action
    • +
    • VSAlertActionStyleCancel: An action that indicates to the user that the current process wil be cancelled
    • +
    • VSAlertActionStyleDestructive: An action indicates to the user that an irreversible process is about to happen.
    • +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      A normal action

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertActionStyleDefault
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An action that indicates to the user that the current process wil be cancelled

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertActionStyleCancel
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An action indicates to the user that an irreversible process is about to happen.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertActionStyleDestructive
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/Enums/VSAlertControllerAnimationStyle.html b/Documentation/Enums/VSAlertControllerAnimationStyle.html new file mode 100644 index 0000000..9e94b82 --- /dev/null +++ b/Documentation/Enums/VSAlertControllerAnimationStyle.html @@ -0,0 +1,327 @@ + + + + VSAlertControllerAnimationStyle Enumeration Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    VSAlertControllerAnimationStyle

    +
    +
    +
    enum VSAlertControllerAnimationStyle {}
    + +
    +
    +

    An enumeration describing the kinds of animations that can be used to present and hide an alert

    + +
      +
    • VSAlertControllerAnimationStyleRise: The alert rises from the bottom of the screen and falls down when dismissed.
    • +
    • VSAlertControllerAnimationStyleFall: The alert falls from the top of the screen and rises up when dismissed.
    • +
    • VSAlertControllerAnimationStyleSlide: The alert slides from the left of the screen and slides to the right when dismissed.
    • +
    • VSAlertControllerAnimationStyleFlip: The alert flips from the right, and flips to the left when dismissed.
    • +
    • VSAlertControllerAnimationStyleSticker: The alert page flips from the top, then again from the bottom when dismissed.
    • +
    • VSAlertControllerAnimationStyleCrossDisolve: The alert page fades in, then fades out dismissed.
    • +
    • VSAlertControllerAnimationStyleAutomatic: The alert chooses its presentation and dismissal styles automatically.
    • +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      The alert rises from the bottom of the screen and falls down when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleRise
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert falls from the top of the screen and rises up when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleFall
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert slides from the left of the screen and slides to the right when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleSlide
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert flips from the right, and flips to the left when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleFlip
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert page flips from the top, then again from the bottom when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleSticker
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert page fades in, then fades out dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleCrossDisolve
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert chooses its presentation and dismissal styles automatically.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleAutomatic
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/Enums/VSAlertControllerStyle.html b/Documentation/Enums/VSAlertControllerStyle.html new file mode 100644 index 0000000..ccf38dd --- /dev/null +++ b/Documentation/Enums/VSAlertControllerStyle.html @@ -0,0 +1,215 @@ + + + + VSAlertControllerStyle Enumeration Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    VSAlertControllerStyle

    +
    +
    +
    enum VSAlertControllerStyle {}
    + +
    +
    +

    An enumeration describing the kinds of alerts that VSAlertController can display

    + +
      +
    • VSAlertControllerStyleAlert: A standard alert, 270pt wide, variable height. Supports texts fields.
    • +
    • VSAlertControllerStyleWalkthroughAlert: 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.
    • +
    • VSAlertControllerStyleActionSheet: An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
    • +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      A standard alert, 270pt wide, variable height. Supports text fields

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerStyleAlert
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      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.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerStyleWalkthroughAlert
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerStyleActionSheet
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/Functions.html b/Documentation/Functions.html deleted file mode 100644 index 5ccb077..0000000 --- a/Documentation/Functions.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - Functions Reference - - - - - - - - - - -
    -
    -

    - VSAlert Docs - (76% documented) -

    - -

    - - - View on GitHub - -

    - -
    -
    - -
    -
    -
    -
    -
    -

    Functions

    -

    The following functions are available globally.

    - -
    -
    -
    -
      -
    • -
      - - - - NS_ENUM - -
      -
      -
      -
      -
      -
      -

      An enumeration for the kinds of actions that can be created

      - -
        -
      • VSAlertActionStyleDefault: A normal action
      • -
      • VSAlertActionStyleCancel: An action that indicates to the user that the current process wil be cancelled
      • -
      • VSAlertActionStyleDestructive: An action indicates to the user that an irreversible process is about to happen.
      • -
      - -
      -
      -

      Declaration

      -
      -

      Objective-C

      -
      int NS_ENUM(NSInteger, VSAlertActionStyle)
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    -
    -
    - - -
    - - - diff --git a/Documentation/Protocols.html b/Documentation/Protocols.html index ed3f104..cbd8dcd 100644 --- a/Documentation/Protocols.html +++ b/Documentation/Protocols.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -72,7 +72,7 @@

    Protocols

    Declaration

    Objective-C

    -
    @protocol VSAlertControllerDelegate
    +
    @protocol VSAlertControllerDelegate <NSObject>
    @@ -102,9 +102,6 @@

    Declaration

    diff --git a/Documentation/Protocols/VSAlertControllerDelegate.html b/Documentation/Protocols/VSAlertControllerDelegate.html index cf45507..21898ee 100644 --- a/Documentation/Protocols/VSAlertControllerDelegate.html +++ b/Documentation/Protocols/VSAlertControllerDelegate.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -47,7 +47,7 @@

    VSAlertControllerDelegate

    -
    @protocol VSAlertControllerDelegate
    +
    @protocol VSAlertControllerDelegate <NSObject>
    @@ -325,9 +325,6 @@

    Parameters

    diff --git a/Documentation/badge.svg b/Documentation/badge.svg index 91e5a07..a096fec 100644 --- a/Documentation/badge.svg +++ b/Documentation/badge.svg @@ -1,15 +1,15 @@ - + - + - - + + @@ -18,11 +18,11 @@ documentation - - 76% + + 100% - - 76% + + 100% diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes.html index 4a7d539..b422471 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -72,7 +72,7 @@

    Classes

    Declaration

    Objective-C

    -
    @interface VSAlertAction
    +
    @interface VSAlertAction : UIButton <UIAppearance>
    @@ -104,7 +104,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @interface VSAlertController
    +
    @interface VSAlertController : UIViewController <UIAppearance>
    @@ -134,9 +134,6 @@

    Declaration

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertAction.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertAction.html index 554a2db..f7c03fc 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertAction.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertAction.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -47,7 +47,7 @@

    VSAlertAction

    -
    @interface VSAlertAction
    +
    @interface VSAlertAction : UIButton <UIAppearance>
    @@ -85,8 +85,8 @@

    Declaration

    Objective-C

    + (nullable instancetype)
    -alertActionWithTitle:(id)title
    -               style:(id)style
    +alertActionWithTitle:(nonnull NSString *)title
    +               style:(VSAlertActionStyle)style
                   action:(void (^_Nullable)(VSAlertAction *_Nonnull))action;
    @@ -162,8 +162,8 @@

    Declaration

    Objective-C

    - (nullable instancetype)
    -initWithTitle:(id)title
    -        style:(id)style
    +initWithTitle:(nonnull NSString *)title
    +        style:(VSAlertActionStyle)style
            action:(void (^_Nullable)(VSAlertAction *_Nonnull))action;
    @@ -249,7 +249,7 @@

    Configuring Action Appearance

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *actionTextColor;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIColor *actionTextColor;
    @@ -276,7 +276,8 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *destructiveActionTextColor;
    +
    @property (readwrite, strong, nonatomic, nonnull)
    +    UIColor *destructiveActionTextColor;
    @@ -303,7 +304,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *actionTextFont;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIFont *actionTextFont;
    @@ -330,7 +331,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *cancelActionTextFont;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIFont *cancelActionTextFont;
    @@ -368,7 +369,7 @@

    Interacting with Actions

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *alertTitle;
    +
    @property (readonly, copy, nonatomic, nullable) NSString *alertTitle;
    @@ -395,7 +396,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int style;
    +
    @property (readonly, assign, nonatomic) VSAlertActionStyle style;
    @@ -422,7 +423,8 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) void (^)(VSAlertAction *_Nonnull) action;
    +
    @property (readonly, copy, nonatomic, nullable) void (^)(VSAlertAction *_Nonnull)
    +    action;
    @@ -452,9 +454,6 @@

    Declaration

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertController.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertController.html index 7fc095c..37bbceb 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertController.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes/VSAlertController.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -47,7 +47,7 @@

    VSAlertController

    -
    @interface VSAlertController
    +
    @interface VSAlertController : UIViewController <UIAppearance>
    @@ -84,10 +84,11 @@

    Creating Alerts

    Declaration

    Objective-C

    -
    + (nullable instancetype)alertControllerWithTitle:(id)title
    -                                          message:(id)message
    -                                            image:(id)image
    -                                   preferredStyle:(id)preferredStyle;
    +
    + (nullable instancetype)alertControllerWithTitle:(nullable NSString *)title
    +                                          message:(nullable NSString *)message
    +                                            image:(nullable UIImage *)image
    +                                   preferredStyle:
    +                                       (VSAlertControllerStyle)preferredStyle;
    @@ -173,9 +174,10 @@

    Return Value

    Declaration

    Objective-C

    -
    + (nullable instancetype)alertControllerWithTitle:(id)title
    -                                          message:(id)message
    -                                   preferredStyle:(id)preferredStyle;
    +
    + (nullable instancetype)alertControllerWithTitle:(nullable NSString *)title
    +                                          message:(nullable NSString *)message
    +                                   preferredStyle:
    +                                       (VSAlertControllerStyle)preferredStyle;
    @@ -249,10 +251,10 @@

    Return Value

    Declaration

    Objective-C

    -
    - (nullable instancetype)initWithTitle:(id)title
    -                               message:(id)message
    -                                 image:(id)image
    -                        preferredStyle:(id)preferredStyle;
    +
    - (nullable instancetype)initWithTitle:(nullable NSString *)title
    +                               message:(nullable NSString *)message
    +                                 image:(nullable UIImage *)image
    +                        preferredStyle:(VSAlertControllerStyle)preferredStyle;
    @@ -349,7 +351,7 @@

    Configuring Alert Appearance

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *alertTitleTextColor;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIColor *alertTitleTextColor;
    @@ -376,7 +378,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *alertMessageTextColor;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIColor *alertMessageTextColor;
    @@ -403,7 +405,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *alertTitleTextFont;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIFont *alertTitleTextFont;
    @@ -430,7 +432,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *alertMessageTextFont;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIFont *alertMessageTextFont;
    @@ -457,7 +459,8 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int alertMessageTextAlignment;
    +
    @property (assign, readwrite, nonatomic)
    +    NSTextAlignment alertMessageTextAlignment;
    @@ -484,7 +487,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *alertBackgroundColor;
    +
    @property (readwrite, strong, nonatomic, nonnull) UIColor *alertBackgroundColor;
    @@ -568,7 +571,7 @@

    Parameters

    Declaration

    Objective-C

    -
    - (void)addTextField:(void (^_Nullable)(int *_Nonnull))configuration;
    +
    - (void)addTextField:(void (^_Nullable)(UITextField *_Nonnull))configuration;
    @@ -625,7 +628,8 @@

    Configure Alert Behavior

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int dismissOnBackgroundTap;
    +
    @property (getter=shouldDismissOnBackgroundTap, assign, readwrite, nonatomic)
    +    BOOL dismissOnBackgroundTap;
    @@ -652,7 +656,8 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int animationStyle;
    +
    @property (assign, readwrite, nonatomic)
    +    VSAlertControllerAnimationStyle animationStyle;
    @@ -697,6 +702,34 @@

    Declaration

    +
  • +
    + + + + textFields + +
    +
    +
    +
    +
    +
    +

    Returns the array of text field objects that are displayed in the alert, so you can interact with the user’s inputs.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, strong, nonatomic, nonnull)
    +    NSArray<UITextField *> *textFields;
    + +
    +
    +
    +
    +
  • @@ -717,7 +750,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int style;
    +
    @property (readonly, assign, nonatomic) VSAlertControllerStyle style;
    @@ -744,7 +777,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *message;
    +
    @property (readonly, copy, nonatomic, nonnull) NSString *message;
    @@ -771,7 +804,7 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (assign, readwrite, atomic) int *image;
    +
    @property (readonly, strong, nonatomic, nullable) UIImage *image;
    @@ -801,9 +834,6 @@

    Declaration

  • diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Constants.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Constants.html index 0eceb05..6965dbb 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Constants.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Constants.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -49,37 +49,6 @@

    Constants

    -
    -
      -
    • - -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Objective-C

      -
      UI_APPEARANCE_SELECTOR
      - -
      -
      -
      -
      -
    • -
    -
    • @@ -102,7 +71,7 @@

      Declaration

      Declaration

      Objective-C

      -
      extern NSString * _Nonnull const VSAlertControllerNotImplementedException
      +
      extern NSString *const _Nonnull VSAlertControllerNotImplementedException
    @@ -129,7 +98,7 @@

    Declaration

    Declaration

    Objective-C

    -
    extern NSString * _Nonnull const VSAlertControllerTextFieldInvalidException
    +
    extern NSString *const _Nonnull VSAlertControllerTextFieldInvalidException
    @@ -156,7 +125,7 @@

    Declaration

    Declaration

    Objective-C

    -
    extern NSString * _Nonnull const VSAlertControllerPresentationAnimationException
    +
    extern NSString *const _Nonnull VSAlertControllerPresentationAnimationException
    @@ -186,9 +155,6 @@

    Declaration

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums.html new file mode 100644 index 0000000..88d803b --- /dev/null +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums.html @@ -0,0 +1,232 @@ + + + + Enumerations Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    Enumerations

    +

    The following enumerations are available globally.

    + +
    +
    +
    +
      +
    • +
      + + + + VSAlertActionStyle + +
      +
      +
      +
      +
      +
      +

      An enumeration for the kinds of actions that can be created

      + +
        +
      • VSAlertActionStyleDefault: A normal action
      • +
      • VSAlertActionStyleCancel: An action that indicates to the user that the current process wil be cancelled
      • +
      • VSAlertActionStyleDestructive: An action indicates to the user that an irreversible process is about to happen.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      enum VSAlertActionStyle {}
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      An enumeration describing the kinds of alerts that VSAlertController can display

      + +
        +
      • VSAlertControllerStyleAlert: A standard alert, 270pt wide, variable height. Supports texts fields.
      • +
      • VSAlertControllerStyleWalkthroughAlert: 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.
      • +
      • VSAlertControllerStyleActionSheet: An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      enum VSAlertControllerStyle {}
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An enumeration describing the kinds of animations that can be used to present and hide an alert

      + +
        +
      • VSAlertControllerAnimationStyleRise: The alert rises from the bottom of the screen and falls down when dismissed.
      • +
      • VSAlertControllerAnimationStyleFall: The alert falls from the top of the screen and rises up when dismissed.
      • +
      • VSAlertControllerAnimationStyleSlide: The alert slides from the left of the screen and slides to the right when dismissed.
      • +
      • VSAlertControllerAnimationStyleFlip: The alert flips from the right, and flips to the left when dismissed.
      • +
      • VSAlertControllerAnimationStyleSticker: The alert page flips from the top, then again from the bottom when dismissed.
      • +
      • VSAlertControllerAnimationStyleCrossDisolve: The alert page fades in, then fades out dismissed.
      • +
      • VSAlertControllerAnimationStyleAutomatic: The alert chooses its presentation and dismissal styles automatically.
      • +
      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      enum VSAlertControllerAnimationStyle {}
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertActionStyle.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertActionStyle.html new file mode 100644 index 0000000..4187004 --- /dev/null +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertActionStyle.html @@ -0,0 +1,215 @@ + + + + VSAlertActionStyle Enumeration Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    VSAlertActionStyle

    +
    +
    +
    enum VSAlertActionStyle {}
    + +
    +
    +

    An enumeration for the kinds of actions that can be created

    + +
      +
    • VSAlertActionStyleDefault: A normal action
    • +
    • VSAlertActionStyleCancel: An action that indicates to the user that the current process wil be cancelled
    • +
    • VSAlertActionStyleDestructive: An action indicates to the user that an irreversible process is about to happen.
    • +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      A normal action

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertActionStyleDefault
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An action that indicates to the user that the current process wil be cancelled

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertActionStyleCancel
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An action indicates to the user that an irreversible process is about to happen.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertActionStyleDestructive
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerAnimationStyle.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerAnimationStyle.html new file mode 100644 index 0000000..9e94b82 --- /dev/null +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerAnimationStyle.html @@ -0,0 +1,327 @@ + + + + VSAlertControllerAnimationStyle Enumeration Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    VSAlertControllerAnimationStyle

    +
    +
    +
    enum VSAlertControllerAnimationStyle {}
    + +
    +
    +

    An enumeration describing the kinds of animations that can be used to present and hide an alert

    + +
      +
    • VSAlertControllerAnimationStyleRise: The alert rises from the bottom of the screen and falls down when dismissed.
    • +
    • VSAlertControllerAnimationStyleFall: The alert falls from the top of the screen and rises up when dismissed.
    • +
    • VSAlertControllerAnimationStyleSlide: The alert slides from the left of the screen and slides to the right when dismissed.
    • +
    • VSAlertControllerAnimationStyleFlip: The alert flips from the right, and flips to the left when dismissed.
    • +
    • VSAlertControllerAnimationStyleSticker: The alert page flips from the top, then again from the bottom when dismissed.
    • +
    • VSAlertControllerAnimationStyleCrossDisolve: The alert page fades in, then fades out dismissed.
    • +
    • VSAlertControllerAnimationStyleAutomatic: The alert chooses its presentation and dismissal styles automatically.
    • +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      The alert rises from the bottom of the screen and falls down when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleRise
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert falls from the top of the screen and rises up when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleFall
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert slides from the left of the screen and slides to the right when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleSlide
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert flips from the right, and flips to the left when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleFlip
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert page flips from the top, then again from the bottom when dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleSticker
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert page fades in, then fades out dismissed.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleCrossDisolve
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The alert chooses its presentation and dismissal styles automatically.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerAnimationStyleAutomatic
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerStyle.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerStyle.html new file mode 100644 index 0000000..ccf38dd --- /dev/null +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerStyle.html @@ -0,0 +1,215 @@ + + + + VSAlertControllerStyle Enumeration Reference + + + + + + + + + + +
    +
    +

    + VSAlert Docs + (100% documented) +

    + +

    + + + View on GitHub + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    VSAlertControllerStyle

    +
    +
    +
    enum VSAlertControllerStyle {}
    + +
    +
    +

    An enumeration describing the kinds of alerts that VSAlertController can display

    + +
      +
    • VSAlertControllerStyleAlert: A standard alert, 270pt wide, variable height. Supports texts fields.
    • +
    • VSAlertControllerStyleWalkthroughAlert: 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.
    • +
    • VSAlertControllerStyleActionSheet: An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
    • +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      A standard alert, 270pt wide, variable height. Supports text fields

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerStyleAlert
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      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.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerStyleWalkthroughAlert
      + +
      +
      +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      VSAlertControllerStyleActionSheet
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    +
    +
    + + +
    + + + diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Functions.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Functions.html deleted file mode 100644 index 5ccb077..0000000 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Functions.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - Functions Reference - - - - - - - - - - -
    -
    -

    - VSAlert Docs - (76% documented) -

    - -

    - - - View on GitHub - -

    - -
    -
    - -
    -
    -
    -
    -
    -

    Functions

    -

    The following functions are available globally.

    - -
    -
    -
    -
      -
    • -
      - - - - NS_ENUM - -
      -
      -
      -
      -
      -
      -

      An enumeration for the kinds of actions that can be created

      - -
        -
      • VSAlertActionStyleDefault: A normal action
      • -
      • VSAlertActionStyleCancel: An action that indicates to the user that the current process wil be cancelled
      • -
      • VSAlertActionStyleDestructive: An action indicates to the user that an irreversible process is about to happen.
      • -
      - -
      -
      -

      Declaration

      -
      -

      Objective-C

      -
      int NS_ENUM(NSInteger, VSAlertActionStyle)
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    -
    -
    - - -
    - - - diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols.html index ed3f104..cbd8dcd 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -72,7 +72,7 @@

    Protocols

    Declaration

    Objective-C

    -
    @protocol VSAlertControllerDelegate
    +
    @protocol VSAlertControllerDelegate <NSObject>
    @@ -102,9 +102,6 @@

    Declaration

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols/VSAlertControllerDelegate.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols/VSAlertControllerDelegate.html index cf45507..21898ee 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols/VSAlertControllerDelegate.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Protocols/VSAlertControllerDelegate.html @@ -16,7 +16,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -47,7 +47,7 @@

    VSAlertControllerDelegate

    -
    @protocol VSAlertControllerDelegate
    +
    @protocol VSAlertControllerDelegate <NSObject>
    @@ -325,9 +325,6 @@

    Parameters

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/index.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/index.html index c9fd3c3..f54a452 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/index.html +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/index.html @@ -15,7 +15,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -87,9 +87,6 @@

    Community Guidelines

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/search.json b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/search.json index 7fe5040..6d7f7a0 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/search.json +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Functions.html#/c:@F@NS_ENUM":{"name":"NS_ENUM","abstract":"

    An enumeration for the kinds of actions that can be created

    "},"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

    "},"Constants.html#/c:@UI_APPEARANCE_SELECTOR":{"name":"UI_APPEARANCE_SELECTOR","abstract":"

    Undocumented

    "},"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:preferredStyle:":{"name":"+alertControllerWithTitle:message:image:preferredStyle:","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:preferredStyle:":{"name":"+alertControllerWithTitle:message:preferredStyle:","abstract":"

    A factory method to create an instance of VSAlertController.

    ","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:preferredStyle:":{"name":"-initWithTitle:message:image:preferredStyle:","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(py)alertMessageTextAlignment":{"name":"alertMessageTextAlignment","abstract":"

    The text alignment of the alert message

    ","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(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)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.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Constants.html":{"name":"Constants","abstract":"

    The following constants are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions 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:preferredStyle:":{"name":"+alertControllerWithTitle:message:image:preferredStyle:","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:preferredStyle:":{"name":"+alertControllerWithTitle:message:preferredStyle:","abstract":"

    A factory method to create an instance of VSAlertController.

    ","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:preferredStyle:":{"name":"-initWithTitle:message:image:preferredStyle:","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(py)alertMessageTextAlignment":{"name":"alertMessageTextAlignment","abstract":"

    The text alignment of the alert message

    ","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(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.

    "},"Classes.html":{"name":"Classes","abstract":"

    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 4d886b0..e0cfb71 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 b4b29fe..fa6264c 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 c9fd3c3..f54a452 100644 --- a/Documentation/index.html +++ b/Documentation/index.html @@ -15,7 +15,7 @@

    VSAlert Docs - (76% documented) + (100% documented)

    @@ -87,9 +87,6 @@

    Community Guidelines

    diff --git a/Documentation/search.json b/Documentation/search.json index 7fe5040..6d7f7a0 100644 --- a/Documentation/search.json +++ b/Documentation/search.json @@ -1 +1 @@ -{"Functions.html#/c:@F@NS_ENUM":{"name":"NS_ENUM","abstract":"

    An enumeration for the kinds of actions that can be created

    "},"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

    "},"Constants.html#/c:@UI_APPEARANCE_SELECTOR":{"name":"UI_APPEARANCE_SELECTOR","abstract":"

    Undocumented

    "},"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:preferredStyle:":{"name":"+alertControllerWithTitle:message:image:preferredStyle:","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:preferredStyle:":{"name":"+alertControllerWithTitle:message:preferredStyle:","abstract":"

    A factory method to create an instance of VSAlertController.

    ","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:preferredStyle:":{"name":"-initWithTitle:message:image:preferredStyle:","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(py)alertMessageTextAlignment":{"name":"alertMessageTextAlignment","abstract":"

    The text alignment of the alert message

    ","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(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)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.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Constants.html":{"name":"Constants","abstract":"

    The following constants are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions 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:preferredStyle:":{"name":"+alertControllerWithTitle:message:image:preferredStyle:","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:preferredStyle:":{"name":"+alertControllerWithTitle:message:preferredStyle:","abstract":"

    A factory method to create an instance of VSAlertController.

    ","parent_name":"VSAlertController"},"Classes/VSAlertController.html#/c:objc(cs)VSAlertController(im)initWithTitle:message:image:preferredStyle:":{"name":"-initWithTitle:message:image:preferredStyle:","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(py)alertMessageTextAlignment":{"name":"alertMessageTextAlignment","abstract":"

    The text alignment of the alert message

    ","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(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.

    "},"Classes.html":{"name":"Classes","abstract":"

    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/undocumented.json b/Documentation/undocumented.json index 18373ca..0296c4d 100644 --- a/Documentation/undocumented.json +++ b/Documentation/undocumented.json @@ -1,89 +1,6 @@ { "warnings": [ - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertAction.h", - "line": 34, - "symbol": "", - "symbol_kind": "sourcekitten.source.lang.objc.decl.unexposed", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertAction.h", - "line": 72, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertAction.h", - "line": 77, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertAction.h", - "line": 82, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertAction.h", - "line": 87, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 51, - "symbol": "", - "symbol_kind": "sourcekitten.source.lang.objc.decl.unexposed", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 101, - "symbol": "", - "symbol_kind": "sourcekitten.source.lang.objc.decl.unexposed", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 198, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 203, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 208, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 213, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - }, - { - "file": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert/VSAlert/VSAlertController.h", - "line": 223, - "symbol": "UI_APPEARANCE_SELECTOR", - "symbol_kind": "sourcekitten.source.lang.objc.decl.constant", - "warning": "undocumented" - } + ], "source_directory": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert" } \ No newline at end of file