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

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

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

Classes

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

@@ -172,7 +169,7 @@

Declaration

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

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

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

VSAlertAction

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

Declaration

Objective-C

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

Declaration

Objective-C

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

Configuring Action Appearance

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Interacting with Actions

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

@@ -492,7 +487,7 @@

Declaration

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

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

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

VSAlertController

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

Creating Alerts

Declaration

Objective-C

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

Return Value

Declaration

Objective-C

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

Return Value

Declaration

Objective-C

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

Configuring Alert Appearance

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

Parameters

Declaration

Objective-C

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

Configure Alert Behavior

Declaration

Objective-C

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

Declaration

Declaration

Objective-C

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

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;
    - -
    -
    -
    -
    -
  • @@ -750,7 +717,7 @@

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

  • @@ -872,7 +836,7 @@

    Declaration

    diff --git a/Documentation/Constants.html b/Documentation/Constants.html index 8592f60..0eceb05 100644 --- a/Documentation/Constants.html +++ b/Documentation/Constants.html @@ -16,7 +16,7 @@

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

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

    Constants

    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

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

      Constants

      Declaration

      Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    @@ -193,7 +221,7 @@

    Declaration

    diff --git a/Documentation/Enums.html b/Documentation/Enums.html deleted file mode 100644 index fed7203..0000000 --- a/Documentation/Enums.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - 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 deleted file mode 100644 index 20acb8b..0000000 --- a/Documentation/Enums/VSAlertActionStyle.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - 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 deleted file mode 100644 index d2dafcc..0000000 --- a/Documentation/Enums/VSAlertControllerAnimationStyle.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - 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 deleted file mode 100644 index f39a8c6..0000000 --- a/Documentation/Enums/VSAlertControllerStyle.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - 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 new file mode 100644 index 0000000..5ccb077 --- /dev/null +++ b/Documentation/Functions.html @@ -0,0 +1,152 @@ + + + + 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 5ad5f8c..ed3f104 100644 --- a/Documentation/Protocols.html +++ b/Documentation/Protocols.html @@ -16,7 +16,7 @@

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

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

    Protocols

    Declaration

    Objective-C

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

    Declaration

    @@ -140,7 +137,7 @@

    Declaration

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

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

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

    VSAlertControllerDelegate

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

    Parameters

    @@ -363,7 +360,7 @@

    Parameters

    diff --git a/Documentation/badge.svg b/Documentation/badge.svg index a096fec..91e5a07 100644 --- a/Documentation/badge.svg +++ b/Documentation/badge.svg @@ -1,15 +1,15 @@ - + - + - - + + @@ -18,11 +18,11 @@ documentation - - 100% + + 76% - - 100% + + 76% diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Classes.html index 5d0c6a8..4a7d539 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 - (100% documented) + (76% documented)

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

    Classes

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    @@ -172,7 +169,7 @@

    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 1ee685d..554a2db 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 - (100% documented) + (76% documented)

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

    VSAlertAction

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Configuring Action Appearance

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Interacting with Actions

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    @@ -492,7 +487,7 @@

    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 52929b9..7fc095c 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 - (100% documented) + (76% documented)

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

    VSAlertController

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

    Creating Alerts

    Declaration

    Objective-C

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

    Return Value

    Declaration

    Objective-C

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

    Return Value

    Declaration

    Objective-C

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

    Configuring Alert Appearance

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Parameters

    Declaration

    Objective-C

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

    Configure Alert Behavior

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    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;
    - -
    -
    -
    -
    -
  • @@ -750,7 +717,7 @@

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

  • @@ -872,7 +836,7 @@

    Declaration

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Constants.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Constants.html index 8592f60..0eceb05 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 - (100% documented) + (76% documented)

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

    Constants

    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

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

      Constants

      Declaration

      Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    Declaration

    Objective-C

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

    Declaration

    @@ -193,7 +221,7 @@

    Declaration

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums.html deleted file mode 100644 index fed7203..0000000 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - 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 deleted file mode 100644 index 20acb8b..0000000 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertActionStyle.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - 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 deleted file mode 100644 index d2dafcc..0000000 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerAnimationStyle.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - 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 deleted file mode 100644 index f39a8c6..0000000 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Enums/VSAlertControllerStyle.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - 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 new file mode 100644 index 0000000..5ccb077 --- /dev/null +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/Functions.html @@ -0,0 +1,152 @@ + + + + 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 5ad5f8c..ed3f104 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 - (100% documented) + (76% documented)

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

    Protocols

    Declaration

    Objective-C

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

    Declaration

    @@ -140,7 +137,7 @@

    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 5d72f5b..cf45507 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 - (100% documented) + (76% documented)

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

    VSAlertControllerDelegate

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

    Parameters

    @@ -363,7 +360,7 @@

    Parameters

    diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/index.html b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/index.html index 4ffabe0..c9fd3c3 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 - (100% documented) + (76% documented)

    @@ -50,7 +50,8 @@

    VSAlert

    license GitHub (pre-)release documentation -CocoaPods

    +CocoaPods +CocoaPods

    Setup

    For a quick start guide, see the project website. @@ -86,6 +87,9 @@

    Community Guidelines

    @@ -124,7 +122,7 @@

    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 6d7f7a0..7fe5040 100644 --- a/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/search.json +++ b/Documentation/docsets/VSAlert.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"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 +{"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 diff --git a/Documentation/docsets/VSAlert.docset/Contents/Resources/docSet.dsidx b/Documentation/docsets/VSAlert.docset/Contents/Resources/docSet.dsidx index 94d042a..4d886b0 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 14374e7..b4b29fe 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 4ffabe0..c9fd3c3 100644 --- a/Documentation/index.html +++ b/Documentation/index.html @@ -15,7 +15,7 @@

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

    @@ -50,7 +50,8 @@

    VSAlert

    license GitHub (pre-)release documentation -CocoaPods

    +CocoaPods +CocoaPods

    Setup

    For a quick start guide, see the project website. @@ -86,6 +87,9 @@

    Community Guidelines

    @@ -124,7 +122,7 @@

    Community Guidelines

    diff --git a/Documentation/search.json b/Documentation/search.json index 6d7f7a0..7fe5040 100644 --- a/Documentation/search.json +++ b/Documentation/search.json @@ -1 +1 @@ -{"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 +{"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 diff --git a/Documentation/undocumented.json b/Documentation/undocumented.json index fee0fc0..18373ca 100644 --- a/Documentation/undocumented.json +++ b/Documentation/undocumented.json @@ -1,6 +1,89 @@ { "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/VMS/VSAlert" + "source_directory": "/Users/vsanthanam/Documents/Dev/Users/Varun/VSAlert" } \ No newline at end of file diff --git a/Release/VSAlert.framework/Versions/A/VSAlert b/Release/VSAlert.framework/Versions/A/VSAlert index db07f97..9fcfff4 100644 Binary files a/Release/VSAlert.framework/Versions/A/VSAlert and b/Release/VSAlert.framework/Versions/A/VSAlert differ diff --git a/VSAlert.xcodeproj/project.pbxproj b/VSAlert.xcodeproj/project.pbxproj index 47d2a39..12c1343 100755 --- a/VSAlert.xcodeproj/project.pbxproj +++ b/VSAlert.xcodeproj/project.pbxproj @@ -361,7 +361,7 @@ 07F00ED91F8A96D9006FAC96 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0940; + LastUpgradeCheck = 1000; TargetAttributes = { 0710F9B61F8B1CB800C6D084 = { CreatedOnToolsVersion = 9.0; @@ -441,7 +441,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "set -e\nexport FRAMEWORK_LOCN=\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework\"\n# Create the path to the real Headers die\nmkdir -p \"${FRAMEWORK_LOCN}/Versions/A/Headers\"\nmkdir -p \"${FRAMEWORK_LOCN}/Modules\"\n# Create the required symlinks\n/bin/ln -sfh A \"${FRAMEWORK_LOCN}/Versions/Current\"\n/bin/ln -sfh Versions/Current/Headers \"${FRAMEWORK_LOCN}/Headers\"\n/bin/ln -sfh \"Versions/Current/${PRODUCT_NAME}\" \\\n\"${FRAMEWORK_LOCN}/${PRODUCT_NAME}\"\n# Copy the public headers into the framework\n/bin/cp -a \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/\" \\\n\"${FRAMEWORK_LOCN}/Versions/A/Headers\""; + shellScript = "set -e\nexport FRAMEWORK_LOCN=\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework\"\n# Create the path to the real Headers die\nmkdir -p \"${FRAMEWORK_LOCN}/Versions/A/Headers\"\nmkdir -p \"${FRAMEWORK_LOCN}/Modules\"\n# Create the required symlinks\n/bin/ln -sfh A \"${FRAMEWORK_LOCN}/Versions/Current\"\n/bin/ln -sfh Versions/Current/Headers \"${FRAMEWORK_LOCN}/Headers\"\n/bin/ln -sfh \"Versions/Current/${PRODUCT_NAME}\" \\\n\"${FRAMEWORK_LOCN}/${PRODUCT_NAME}\"\n# Copy the public headers into the framework\n/bin/cp -a \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/\" \\\n\"${FRAMEWORK_LOCN}/Versions/A/Headers\"\n"; }; 0710F9BE1F8B1CE800C6D084 /* Bind Slices */ = { isa = PBXShellScriptBuildPhase; @@ -455,7 +455,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "set -e\n# If we're already inside this script then die\nif [ -n \"$MULTIPLATFORM_BUILD_IN_PROGRESS\" ]; then\nexit 0\nfi\nexport MULTIPLATFORM_BUILD_IN_PROGRESS=1\nFRAMEWORK_NAME=\"VSAlert\"\nINPUT_STATIC_LIB=\"lib${FRAMEWORK_NAME}.a\"\nFRAMEWORK_LOCATION=\"${BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework\"\nfunction build_static_library {\n # Will rebuild the static library as specified\n # build_static_library sdk\n xcrun xcodebuild -project \"${PROJECT_FILE_PATH}\" \\\n -target \"${TARGET_NAME}\" \\\n -configuration \"${CONFIGURATION}\" \\\n -sdk \"${1}\" \\\n ONLY_ACTIVE_ARCH=NO \\\n BUILD_DIR=\"${BUILD_DIR}\" \\\n OBJROOT=\"${OBJROOT}\" \\\n BUILD_ROOT=\"${BUILD_ROOT}\" \\\n SYMROOT=\"${SYMROOT}\" $ACTION\n}\nfunction make_fat_library {\n # Will smash 2 static libs together\n # make_fat_library in1 in2 out\n xcrun lipo -create \"${1}\" \"${2}\" -output \"${3}\"\n}\n# 1 - Extract the platform (iphoneos/iphonesimulator) from the SDK name\nif [[ \"$SDK_NAME\" =~ ([A-Za-z]+) ]]; then\nSDK_PLATFORM=${BASH_REMATCH[1]}\nelse\necho \"Could not find platform name from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 2 - Extract the version from the SDK\nif [[ \"$SDK_NAME\" =~ ([0-9]+.*$) ]]; then\nSDK_VERSION=${BASH_REMATCH[1]}\nelse\necho \"Could not find sdk version from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 3 - Determine the other platform\nif [ \"$SDK_PLATFORM\" == \"iphoneos\" ]; then\nOTHER_PLATFORM=iphonesimulator\nelse\nOTHER_PLATFORM=iphoneos\nfi\n# 4 - Find the build directory\nif [[ \"$BUILT_PRODUCTS_DIR\" =~ (.*)$SDK_PLATFORM$ ]]; then\nOTHER_BUILT_PRODUCTS_DIR=\"${BASH_REMATCH[1]}${OTHER_PLATFORM}\"\nelse\necho \"Could not find other platform build directory.\"\nexit 1\nfi\n# Build the other platform.\nbuild_static_library \"${OTHER_PLATFORM}${SDK_VERSION}\"\n# If we're currently building for iphonesimulator, then need to rebuild\n# to ensure that we get both i386 and x86_64\nif [ \"$SDK_PLATFORM\" == \"iphonesimulator\" ]; then\nbuild_static_library \"${SDK_NAME}\"\nfi\n# Join the 2 static libs into 1 and push into the .framework\nmake_fat_library \"${BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\"\n# Ensure that the framework is present in both platform's build directories\ncp -a \"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework/Versions/A/${FRAMEWORK_NAME}\"\n# Copy the framework to the user's desktop\nditto \"${FRAMEWORK_LOCATION}\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework\"\nditto \"${PROJECT_DIR}/${FRAMEWORK_NAME}/Supporting/module.modulemap\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework/Modules\""; + shellScript = "set -e\n# If we're already inside this script then die\nif [ -n \"$MULTIPLATFORM_BUILD_IN_PROGRESS\" ]; then\nexit 0\nfi\nexport MULTIPLATFORM_BUILD_IN_PROGRESS=1\nFRAMEWORK_NAME=\"VSAlert\"\nINPUT_STATIC_LIB=\"lib${FRAMEWORK_NAME}.a\"\nFRAMEWORK_LOCATION=\"${BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework\"\nfunction build_static_library {\n # Will rebuild the static library as specified\n # build_static_library sdk\n xcrun xcodebuild -project \"${PROJECT_FILE_PATH}\" \\\n -target \"${TARGET_NAME}\" \\\n -configuration \"${CONFIGURATION}\" \\\n -sdk \"${1}\" \\\n ONLY_ACTIVE_ARCH=NO \\\n BUILD_DIR=\"${BUILD_DIR}\" \\\n OBJROOT=\"${OBJROOT}/DependentBuilds\" \\\n BUILD_ROOT=\"${BUILD_ROOT}\" \\\n SYMROOT=\"${SYMROOT}\" $ACTION\n}\nfunction make_fat_library {\n # Will smash 2 static libs together\n # make_fat_library in1 in2 out\n xcrun lipo -create \"${1}\" \"${2}\" -output \"${3}\"\n}\n# 1 - Extract the platform (iphoneos/iphonesimulator) from the SDK name\nif [[ \"$SDK_NAME\" =~ ([A-Za-z]+) ]]; then\nSDK_PLATFORM=${BASH_REMATCH[1]}\nelse\necho \"Could not find platform name from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 2 - Extract the version from the SDK\nif [[ \"$SDK_NAME\" =~ ([0-9]+.*$) ]]; then\nSDK_VERSION=${BASH_REMATCH[1]}\nelse\necho \"Could not find sdk version from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 3 - Determine the other platform\nif [ \"$SDK_PLATFORM\" == \"iphoneos\" ]; then\nOTHER_PLATFORM=iphonesimulator\nelse\nOTHER_PLATFORM=iphoneos\nfi\n# 4 - Find the build directory\nif [[ \"$BUILT_PRODUCTS_DIR\" =~ (.*)$SDK_PLATFORM$ ]]; then\nOTHER_BUILT_PRODUCTS_DIR=\"${BASH_REMATCH[1]}${OTHER_PLATFORM}\"\nelse\necho \"Could not find other platform build directory.\"\nexit 1\nfi\n# Build the other platform.\nbuild_static_library \"${OTHER_PLATFORM}${SDK_VERSION}\"\n# If we're currently building for iphonesimulator, then need to rebuild\n# to ensure that we get both i386 and x86_64\nif [ \"$SDK_PLATFORM\" == \"iphonesimulator\" ]; then\nbuild_static_library \"${SDK_NAME}\"\nfi\n# Join the 2 static libs into 1 and push into the .framework\nmake_fat_library \"${BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\"\n# Ensure that the framework is present in both platform's build directories\ncp -a \"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework/Versions/A/${FRAMEWORK_NAME}\"\n# Copy the framework to the user's desktop\nditto \"${FRAMEWORK_LOCATION}\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework\"\nditto \"${PROJECT_DIR}/${FRAMEWORK_NAME}/Supporting/module.modulemap\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework/Modules\"\n"; }; 07FBE3F620D31BD900BE857B /* Build Documentation w/ Jazzy */ = { isa = PBXShellScriptBuildPhase;