diff --git a/RNAlertController.xcodeproj/project.pbxproj b/RNAlertController.xcodeproj/project.pbxproj index faf239a..1d97d43 100644 --- a/RNAlertController.xcodeproj/project.pbxproj +++ b/RNAlertController.xcodeproj/project.pbxproj @@ -533,7 +533,7 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 680; + CURRENT_PROJECT_VERSION = 681; DEVELOPMENT_TEAM = PCH85ZHVFN; INFOPLIST_FILE = "$(SRCROOT)/RNAlertControllerExample/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 12.4; @@ -555,7 +555,7 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 680; + CURRENT_PROJECT_VERSION = 681; DEVELOPMENT_TEAM = PCH85ZHVFN; INFOPLIST_FILE = "$(SRCROOT)/RNAlertControllerExample/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 12.4; @@ -702,7 +702,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1004; + CURRENT_PROJECT_VERSION = 1005; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = PCH85ZHVFN; DYLIB_COMPATIBILITY_VERSION = 1; @@ -734,7 +734,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1004; + CURRENT_PROJECT_VERSION = 1005; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = PCH85ZHVFN; DYLIB_COMPATIBILITY_VERSION = 1; diff --git a/RNAlertControllerExample/Controllers/OtherViewController.swift b/RNAlertControllerExample/Controllers/OtherViewController.swift index 3fb3892..bb3b5c2 100644 --- a/RNAlertControllerExample/Controllers/OtherViewController.swift +++ b/RNAlertControllerExample/Controllers/OtherViewController.swift @@ -26,7 +26,9 @@ class OtherViewController: UIViewController { @IBAction func didTapChooseDate(_ sender: UIButton) { RNAlertController(title: "Pick a date", message: "This date will be selected when you tap Done") - .setDatePicker(mode: .date, date: selectedDate) { date in + .setDatePicker(mode: .date, + selectedDate: selectedDate, + maximumDate: Date()) { date in self.selectedDate = date let formatter = DateFormatter() formatter.dateFormat = "dd MMMM yyyy" diff --git a/Source/RNAlertController+API.swift b/Source/RNAlertController+API.swift index abe7640..5ed0e05 100644 --- a/Source/RNAlertController+API.swift +++ b/Source/RNAlertController+API.swift @@ -111,14 +111,20 @@ public extension RNAlertController { /// A date picker is placed under the message body. /// - Parameters: /// - mode: `UIDatePicker.Mode` describing the mode displayed the date picker. - /// - date: `Date` to set. If passed `nil`, current date is used. + /// - selectedDate: `Date` to set. If passed `nil`, current date is used. + /// - maximumDate: Maximum date that a date picker can show. + /// - minimumDate: Minimum date that a date picker can show. /// - selectionAction: Block to execute when date is selected. /// - Returns: `RNAlertController` instance. @discardableResult func setDatePicker(mode: UIDatePicker.Mode, - date: Date? = nil, + selectedDate: Date? = nil, + maximumDate: Date? = nil, + minimumDate: Date? = nil, selectionAction: AlertDatePickerAction? = nil) -> RNAlertController { - alertDatePicker = AlertDatePicker(datePickerMode: mode, selectedDate: date) + alertDatePicker = AlertDatePicker(datePickerMode: mode, selectedDate: selectedDate) + alertDatePicker?.maximumDate = maximumDate + alertDatePicker?.minimumDate = minimumDate alertDatePicker?.action = selectionAction return self } diff --git a/docs/Classes/RNAlertController.html b/docs/Classes/RNAlertController.html index b7b4f64..bdd3897 100644 --- a/docs/Classes/RNAlertController.html +++ b/docs/Classes/RNAlertController.html @@ -714,9 +714,9 @@

Return Value

  • - - - setDatePicker(mode:date:selectionAction:) + + + setDatePicker(mode:selectedDate:maximumDate:minimumDate:selectionAction:)
    @@ -735,7 +735,9 @@

    Declaration

    Swift

    @discardableResult
     func setDatePicker(mode: UIDatePicker.Mode,
    -                   date: Date? = nil,
    +                   selectedDate: Date? = nil,
    +                   maximumDate: Date? = nil,
    +                   minimumDate: Date? = nil,
                        selectionAction: AlertDatePickerAction? = nil) -> RNAlertController
    @@ -759,7 +761,7 @@

    Parameters

    - date + selectedDate @@ -768,6 +770,30 @@

    Parameters

    + + + + maximumDate + + + +
    +

    Maximum date that a date picker can show.

    +
    + + + + + + minimumDate + + + +
    +

    Minimum date that a date picker can show.

    +
    + + diff --git a/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/Classes/RNAlertController.html b/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/Classes/RNAlertController.html index b7b4f64..bdd3897 100644 --- a/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/Classes/RNAlertController.html +++ b/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/Classes/RNAlertController.html @@ -714,9 +714,9 @@

    Return Value

  • - - - setDatePicker(mode:date:selectionAction:) + + + setDatePicker(mode:selectedDate:maximumDate:minimumDate:selectionAction:)
    @@ -735,7 +735,9 @@

    Declaration

    Swift

    @discardableResult
     func setDatePicker(mode: UIDatePicker.Mode,
    -                   date: Date? = nil,
    +                   selectedDate: Date? = nil,
    +                   maximumDate: Date? = nil,
    +                   minimumDate: Date? = nil,
                        selectionAction: AlertDatePickerAction? = nil) -> RNAlertController
    @@ -759,7 +761,7 @@

    Parameters

    - date + selectedDate @@ -768,6 +770,30 @@

    Parameters

    + + + + maximumDate + + + +
    +

    Maximum date that a date picker can show.

    +
    + + + + + + minimumDate + + + +
    +

    Minimum date that a date picker can show.

    +
    + + diff --git a/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/search.json b/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/search.json index 4ae0ba4..4a508f7 100644 --- a/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/RNAlertController.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Typealiases.html#/s:17RNAlertController11AlertActiona":{"name":"AlertAction","abstract":"

    Action block to perform when a button is pressed.

    "},"Typealiases.html#/s:17RNAlertController21AlertDatePickerActiona":{"name":"AlertDatePickerAction","abstract":"

    Action block to perform when a date is selected.

    "},"Typealiases.html#/s:17RNAlertController17AlertPickerActiona":{"name":"AlertPickerAction","abstract":"

    Action block when a picker item is selected.

    "},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDefault":{"name":"default","abstract":"

    Apply the default style to the button.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeCancel":{"name":"cancel","abstract":"

    Apply a style that indicates the action cancels the operation and leaves things unchanged.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDestructive":{"name":"destructive","abstract":"

    Apply a style that indicates the action might change or delete data.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html":{"name":"AlertButtonType","abstract":"

    Describes the appearances of the alert buttons.

    "},"Classes/AlertPickerRow.html#/s:17RNAlertController14AlertPickerRowC5titleSSvp":{"name":"title","abstract":"

    Title for the row.

    ","parent_name":"AlertPickerRow"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)initWithTitle:message:":{"name":"init(title:message:)","abstract":"

    Initializes the alert

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidLoad":{"name":"viewDidLoad()","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidAppear:":{"name":"viewDidAppear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewWillDisappear:":{"name":"viewWillDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidDisappear:":{"name":"viewDidDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)traitCollectionDidChange:":{"name":"traitCollectionDidChange(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)presentOn:completion:":{"name":"present(on:completion:)","abstract":"

    Presents the alert on the specified view controller or a window.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addButtonWithTitle:type:action:":{"name":"addButton(title:type:action:)","abstract":"

    Adds a button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addOkButtonWithAction:":{"name":"addOkButton(action:)","abstract":"

    Adds an OK button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addCancelButtonWithAction:":{"name":"addCancelButton(action:)","abstract":"

    Adds a Cancel button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setBannerImage:":{"name":"setBannerImage(_:)","abstract":"

    Sets the banner image for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setPickerDataWithItems:selectedRow:selectionAction:":{"name":"setPickerData(items:selectedRow:selectionAction:)","abstract":"

    Sets picker view data for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setURLWithUrlString:text:":{"name":"setURL(urlString:text:)","abstract":"

    Sets a button with an URL.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setDatePickerWithMode:date:selectionAction:":{"name":"setDatePicker(mode:date:selectionAction:)","abstract":"

    Sets a date picker with a selected date.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html":{"name":"RNAlertController","abstract":"

    An object that provides RNAlertController.

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

    An object which identifies the row of a picker view.

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

    The following classes are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:17RNAlertController11AlertActiona":{"name":"AlertAction","abstract":"

    Action block to perform when a button is pressed.

    "},"Typealiases.html#/s:17RNAlertController21AlertDatePickerActiona":{"name":"AlertDatePickerAction","abstract":"

    Action block to perform when a date is selected.

    "},"Typealiases.html#/s:17RNAlertController17AlertPickerActiona":{"name":"AlertPickerAction","abstract":"

    Action block when a picker item is selected.

    "},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDefault":{"name":"default","abstract":"

    Apply the default style to the button.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeCancel":{"name":"cancel","abstract":"

    Apply a style that indicates the action cancels the operation and leaves things unchanged.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDestructive":{"name":"destructive","abstract":"

    Apply a style that indicates the action might change or delete data.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html":{"name":"AlertButtonType","abstract":"

    Describes the appearances of the alert buttons.

    "},"Classes/AlertPickerRow.html#/s:17RNAlertController14AlertPickerRowC5titleSSvp":{"name":"title","abstract":"

    Title for the row.

    ","parent_name":"AlertPickerRow"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)initWithTitle:message:":{"name":"init(title:message:)","abstract":"

    Initializes the alert

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidLoad":{"name":"viewDidLoad()","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidAppear:":{"name":"viewDidAppear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewWillDisappear:":{"name":"viewWillDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidDisappear:":{"name":"viewDidDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)traitCollectionDidChange:":{"name":"traitCollectionDidChange(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)presentOn:completion:":{"name":"present(on:completion:)","abstract":"

    Presents the alert on the specified view controller or a window.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addButtonWithTitle:type:action:":{"name":"addButton(title:type:action:)","abstract":"

    Adds a button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addOkButtonWithAction:":{"name":"addOkButton(action:)","abstract":"

    Adds an OK button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addCancelButtonWithAction:":{"name":"addCancelButton(action:)","abstract":"

    Adds a Cancel button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setBannerImage:":{"name":"setBannerImage(_:)","abstract":"

    Sets the banner image for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setPickerDataWithItems:selectedRow:selectionAction:":{"name":"setPickerData(items:selectedRow:selectionAction:)","abstract":"

    Sets picker view data for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setURLWithUrlString:text:":{"name":"setURL(urlString:text:)","abstract":"

    Sets a button with an URL.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setDatePickerWithMode:selectedDate:maximumDate:minimumDate:selectionAction:":{"name":"setDatePicker(mode:selectedDate:maximumDate:minimumDate:selectionAction:)","abstract":"

    Sets a date picker with a selected date.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html":{"name":"RNAlertController","abstract":"

    An object that provides RNAlertController.

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

    An object which identifies the row of a picker view.

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

    The following classes are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/RNAlertController.docset/Contents/Resources/docSet.dsidx b/docs/docsets/RNAlertController.docset/Contents/Resources/docSet.dsidx index 1d4dbcf..4df4f12 100644 Binary files a/docs/docsets/RNAlertController.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/RNAlertController.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/RNAlertController.tgz b/docs/docsets/RNAlertController.tgz index 5f71643..01a6348 100644 Binary files a/docs/docsets/RNAlertController.tgz and b/docs/docsets/RNAlertController.tgz differ diff --git a/docs/search.json b/docs/search.json index 4ae0ba4..4a508f7 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Typealiases.html#/s:17RNAlertController11AlertActiona":{"name":"AlertAction","abstract":"

    Action block to perform when a button is pressed.

    "},"Typealiases.html#/s:17RNAlertController21AlertDatePickerActiona":{"name":"AlertDatePickerAction","abstract":"

    Action block to perform when a date is selected.

    "},"Typealiases.html#/s:17RNAlertController17AlertPickerActiona":{"name":"AlertPickerAction","abstract":"

    Action block when a picker item is selected.

    "},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDefault":{"name":"default","abstract":"

    Apply the default style to the button.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeCancel":{"name":"cancel","abstract":"

    Apply a style that indicates the action cancels the operation and leaves things unchanged.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDestructive":{"name":"destructive","abstract":"

    Apply a style that indicates the action might change or delete data.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html":{"name":"AlertButtonType","abstract":"

    Describes the appearances of the alert buttons.

    "},"Classes/AlertPickerRow.html#/s:17RNAlertController14AlertPickerRowC5titleSSvp":{"name":"title","abstract":"

    Title for the row.

    ","parent_name":"AlertPickerRow"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)initWithTitle:message:":{"name":"init(title:message:)","abstract":"

    Initializes the alert

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidLoad":{"name":"viewDidLoad()","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidAppear:":{"name":"viewDidAppear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewWillDisappear:":{"name":"viewWillDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidDisappear:":{"name":"viewDidDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)traitCollectionDidChange:":{"name":"traitCollectionDidChange(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)presentOn:completion:":{"name":"present(on:completion:)","abstract":"

    Presents the alert on the specified view controller or a window.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addButtonWithTitle:type:action:":{"name":"addButton(title:type:action:)","abstract":"

    Adds a button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addOkButtonWithAction:":{"name":"addOkButton(action:)","abstract":"

    Adds an OK button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addCancelButtonWithAction:":{"name":"addCancelButton(action:)","abstract":"

    Adds a Cancel button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setBannerImage:":{"name":"setBannerImage(_:)","abstract":"

    Sets the banner image for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setPickerDataWithItems:selectedRow:selectionAction:":{"name":"setPickerData(items:selectedRow:selectionAction:)","abstract":"

    Sets picker view data for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setURLWithUrlString:text:":{"name":"setURL(urlString:text:)","abstract":"

    Sets a button with an URL.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setDatePickerWithMode:date:selectionAction:":{"name":"setDatePicker(mode:date:selectionAction:)","abstract":"

    Sets a date picker with a selected date.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html":{"name":"RNAlertController","abstract":"

    An object that provides RNAlertController.

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

    An object which identifies the row of a picker view.

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

    The following classes are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:17RNAlertController11AlertActiona":{"name":"AlertAction","abstract":"

    Action block to perform when a button is pressed.

    "},"Typealiases.html#/s:17RNAlertController21AlertDatePickerActiona":{"name":"AlertDatePickerAction","abstract":"

    Action block to perform when a date is selected.

    "},"Typealiases.html#/s:17RNAlertController17AlertPickerActiona":{"name":"AlertPickerAction","abstract":"

    Action block when a picker item is selected.

    "},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDefault":{"name":"default","abstract":"

    Apply the default style to the button.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeCancel":{"name":"cancel","abstract":"

    Apply a style that indicates the action cancels the operation and leaves things unchanged.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html#/c:@M@RNAlertController@E@AlertButtonType@AlertButtonTypeDestructive":{"name":"destructive","abstract":"

    Apply a style that indicates the action might change or delete data.

    ","parent_name":"AlertButtonType"},"Enums/AlertButtonType.html":{"name":"AlertButtonType","abstract":"

    Describes the appearances of the alert buttons.

    "},"Classes/AlertPickerRow.html#/s:17RNAlertController14AlertPickerRowC5titleSSvp":{"name":"title","abstract":"

    Title for the row.

    ","parent_name":"AlertPickerRow"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)initWithTitle:message:":{"name":"init(title:message:)","abstract":"

    Initializes the alert

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidLoad":{"name":"viewDidLoad()","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidAppear:":{"name":"viewDidAppear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewWillDisappear:":{"name":"viewWillDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)viewDidDisappear:":{"name":"viewDidDisappear(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@M@RNAlertController@objc(cs)RNAlertController(im)traitCollectionDidChange:":{"name":"traitCollectionDidChange(_:)","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)presentOn:completion:":{"name":"present(on:completion:)","abstract":"

    Presents the alert on the specified view controller or a window.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addButtonWithTitle:type:action:":{"name":"addButton(title:type:action:)","abstract":"

    Adds a button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addOkButtonWithAction:":{"name":"addOkButton(action:)","abstract":"

    Adds an OK button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)addCancelButtonWithAction:":{"name":"addCancelButton(action:)","abstract":"

    Adds a Cancel button to the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setBannerImage:":{"name":"setBannerImage(_:)","abstract":"

    Sets the banner image for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setPickerDataWithItems:selectedRow:selectionAction:":{"name":"setPickerData(items:selectedRow:selectionAction:)","abstract":"

    Sets picker view data for the alert.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setURLWithUrlString:text:":{"name":"setURL(urlString:text:)","abstract":"

    Sets a button with an URL.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html#/c:@CM@RNAlertController@objc(cs)RNAlertController(im)setDatePickerWithMode:selectedDate:maximumDate:minimumDate:selectionAction:":{"name":"setDatePicker(mode:selectedDate:maximumDate:minimumDate:selectionAction:)","abstract":"

    Sets a date picker with a selected date.

    ","parent_name":"RNAlertController"},"Classes/RNAlertController.html":{"name":"RNAlertController","abstract":"

    An object that provides RNAlertController.

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

    An object which identifies the row of a picker view.

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

    The following classes are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file