diff --git a/README.md b/README.md index ab082d7..575bf06 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A really useful way to use `UIAlertController`, using extensions. Let's say you want to show a basic alert. Rather than writing this: -```Swift +```swift let alertController = UIAlertController(title: "Title", message: "Message") let okAction = UIAlertAction(title: "OK", style: .default) { _ in @@ -18,14 +18,14 @@ present(alertController, animated: true, completion: nil) ``` You can write this: -```Swift +```swift UIAlertController.showBasicAlert("Title", message: "Message") ``` Not a big enough difference for you? Okay, let's suppose you've got a more complicated one. Instead of THIS: -```Swift +```swift let alertController = UIAlertController(title: "Title", message: "Message") let cancelAction = UIAlertAction(title: "Cancel", style: .cancel) { _ in @@ -43,14 +43,14 @@ present(alertController, animated: true, completion: nil) ``` Why not have this: -```Swift +```swift UIAlertController.showOKCancelAlert("Title", message: "Message") { confirmed in // Handle OK or Cancel based on `confirmed` being true or false } ``` Or, if you're using Swift Concurrency: -```Swift +```swift if await UIAlertController.showOKCancelAlert("Title", message: "Message") { // User tapped OK! } @@ -76,7 +76,15 @@ With GreenAlert, you're granted all sorts of `UIAlertController` superpowers, in So give it a shot! 😁 +## Documentation + +For more information, check out the [documentation](https://ether.jacobpritchett.app/documentation/ether)! + +## Support + If you're anything less than delighted, or have any ideas on how to improve GreenAlert, be sure to [open an issue](https://github.com/JacobSyndeo/GreenAlert/issues), and I'll be sure to address it! +## More + If you like GreenAlert, be sure to check out my other projects: -- 🎆 [Ether](https://github.com/JacobSyndeo/Ether), a _delightful_ networking library for Swift +- 🎆 [Ether](https://github.com/JacobSyndeo/Ether), a delightful and easy to understand networking library for Swift diff --git a/Sources/GreenAlert/Documentation.docc/Introduction.md b/Sources/GreenAlert/Documentation.docc/Introduction.md index 7af69cf..5213976 100644 --- a/Sources/GreenAlert/Documentation.docc/Introduction.md +++ b/Sources/GreenAlert/Documentation.docc/Introduction.md @@ -9,7 +9,7 @@ GreenAlert is a really useful way to use `UIAlertController`, using extensions. Let's say you want to show a basic alert. Rather than writing this: -```Swift +```swift let alertController = UIAlertController(title: "Title", message: "Message") let okAction = UIAlertAction(title: "OK", style: .default) { _ in @@ -22,14 +22,14 @@ present(alertController, animated: true, completion: nil) ``` You can write this: -```Swift +```swift UIAlertController.showBasicAlert("Title", message: "Message") ``` Not a big enough difference for you? Okay, let's suppose you've got a more complicated one. Instead of THIS: -```Swift +```swift let alertController = UIAlertController(title: "Title", message: "Message") let cancelAction = UIAlertAction(title: "Cancel", style: .cancel) { _ in @@ -47,14 +47,14 @@ present(alertController, animated: true, completion: nil) ``` Why not have this: -```Swift +```swift UIAlertController.showOKCancelAlert("Title", message: "Message") { confirmed in // Handle OK or Cancel based on `confirmed` being true or false } ``` Or, if you're using Swift Concurrency: -```Swift +```swift if await UIAlertController.showOKCancelAlert("Title", message: "Message") { // User tapped OK! } @@ -80,7 +80,11 @@ With GreenAlert, you're granted all sorts of `UIAlertController` superpowers, in So give it a shot! 😁 +## Support + If you're anything less than delighted, or have any ideas on how to improve GreenAlert, be sure to [open an issue](https://github.com/JacobSyndeo/GreenAlert/issues), and I'll be sure to address it! +## More + If you like GreenAlert, be sure to check out my other projects: - 🎆 [Ether](https://github.com/JacobSyndeo/Ether), a delightful and easy to understand networking library for Swift diff --git a/buildDocs.sh b/buildDocs.sh deleted file mode 100755 index 6d92fcd..0000000 --- a/buildDocs.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -swift package --allow-writing-to-directory ./docs \ - generate-documentation --target GreenAlert \ - --disable-indexing \ - --transform-for-static-hosting \ - --hosting-base-path / \ - --output-path ./docs \ - --include-extended-types diff --git a/docs/data/documentation/greenalert.json b/docs/data/documentation/greenalert.json index 127cf18..266bdd2 100644 --- a/docs/data/documentation/greenalert.json +++ b/docs/data/documentation/greenalert.json @@ -1 +1 @@ -{"kind":"symbol","hierarchy":{"paths":[[]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert","interfaceLanguage":"swift"},"sections":[],"topicSections":[{"title":"Essentials","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/Introduction"]},{"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"],"title":"Presenting alerts (with completion callbacks)"},{"title":"Prompting for values (async\/await and completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"],"title":"Extended Modules"}],"primaryContentSections":[{"content":[{"level":2,"text":"Welcome!","type":"heading","anchor":"Welcome"},{"inlineContent":[{"text":"Welcome! This documentation is designed to help you get started with ","type":"text"},{"code":"GreenAlert","type":"codeVoice"},{"type":"text","text":" as quickly as possible, answer any questions you might have, and provide a reference for the API."}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you have any questions not covered here, feel free to "},{"identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues\/new","isActive":true,"type":"reference"},{"type":"text","text":"! I’ll be happy to help. 🙂"}]},{"inlineContent":[{"type":"text","text":"By the way, don’t be overwhelmed by the big method signatures listed here. "},{"type":"codeVoice","code":"GreenAlert"},{"text":" follows the principle of ","type":"text"},{"inlineContent":[{"identifier":"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure","isActive":true,"type":"reference"},{"type":"text","text":","}],"type":"emphasis"},{"text":" so all but the very most important parameters are completely optional! 😁","type":"text"}],"type":"paragraph"}],"kind":"content"}],"metadata":{"roleHeading":"Framework","modules":[{"name":"GreenAlert"}],"role":"collection","title":"GreenAlert","externalID":"GreenAlert","symbolKind":"module"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert"]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with custom actions."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"text":": ((","kind":"text"},{"text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField","kind":"typeIdentifier"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okButtonText"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"text","kind":"internalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","type":"topic","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","kind":"symbol","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"kind":"text","text":": (("},{"text":"UITextField","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"text":"presentionCompletion","kind":"externalParam"},{"kind":"text","text":": (() -> ())?)"}],"abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showBasicAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"confirmed","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"type":"text","text":"Shows a prompt for a value."}],"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"https://github.com/JacobSyndeo/GreenAlert/issues/new":{"titleInlineContent":[{"type":"text","text":"open an issue"}],"title":"open an issue","url":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues\/new","type":"link","identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues\/new"},"https://en.wikipedia.org/wiki/Progressive_disclosure":{"titleInlineContent":[{"type":"text","text":"progressive disclosure"}],"type":"link","url":"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure","title":"progressive disclosure","identifier":"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with “OK” and “Cancel” buttons."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelActionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/Introduction":{"kind":"article","url":"\/documentation\/greenalert\/introduction","abstract":[{"type":"text","text":"What is GreenAlert, and why should you use it?"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/Introduction","role":"article","title":"Introduction"}}} \ No newline at end of file +{"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"roleHeading":"Framework","title":"GreenAlert","modules":[{"name":"GreenAlert"}],"role":"collection","externalID":"GreenAlert","symbolKind":"module"},"sections":[],"primaryContentSections":[{"content":[{"text":"Welcome!","anchor":"Welcome","level":2,"type":"heading"},{"type":"paragraph","inlineContent":[{"text":"Welcome! This documentation is designed to help you get started with ","type":"text"},{"code":"GreenAlert","type":"codeVoice"},{"text":" as quickly as possible, answer any questions you might have, and provide a reference for the API.","type":"text"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you have any questions not covered here, feel free to "},{"isActive":true,"identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues\/new","type":"reference"},{"type":"text","text":"! I’ll be happy to help. 🙂"}]},{"inlineContent":[{"text":"By the way, don’t be overwhelmed by the big method signatures listed here. ","type":"text"},{"type":"codeVoice","code":"GreenAlert"},{"text":" follows the principle of ","type":"text"},{"type":"emphasis","inlineContent":[{"isActive":true,"type":"reference","identifier":"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure"},{"text":",","type":"text"}]},{"type":"text","text":" so all but the very most important parameters are completely optional! 😁"}],"type":"paragraph"}],"kind":"content"}],"kind":"symbol","variants":[{"paths":["\/documentation\/greenalert"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[[]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"topicSections":[{"title":"Essentials","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/Introduction"]},{"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"]},{"title":"Presenting alerts (with completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"]},{"title":"Prompting for values (async\/await and completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"],"title":"Extended Modules"}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","abstract":[{"type":"text","text":"Shows a basic alert with a single “OK” button."}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"role":"symbol","type":"topic","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"role":"symbol","type":"topic","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"placeHolder","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showCustomAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"], "},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField","kind":"typeIdentifier"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},"doc://GreenAlert/documentation/GreenAlert/Introduction":{"url":"\/documentation\/greenalert\/introduction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/Introduction","role":"article","kind":"article","abstract":[{"text":"What is GreenAlert, and why should you use it?","type":"text"}],"type":"topic","title":"Introduction"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"https://en.wikipedia.org/wiki/Progressive_disclosure":{"titleInlineContent":[{"text":"progressive disclosure","type":"text"}],"url":"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure","type":"link","identifier":"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure","title":"progressive disclosure"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showPromptForValue"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"placeHolder","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@E@UIKeyboardType","text":"UIKeyboardType","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"text"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","kind":"symbol"},"https://github.com/JacobSyndeo/GreenAlert/issues/new":{"titleInlineContent":[{"text":"open an issue","type":"text"}],"url":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues\/new","type":"link","identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues\/new","title":"open an issue"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/introduction.json b/docs/data/documentation/greenalert/introduction.json index 4693cac..e6e0785 100644 --- a/docs/data/documentation/greenalert/introduction.json +++ b/docs/data/documentation/greenalert/introduction.json @@ -1 +1 @@ -{"kind":"article","metadata":{"roleHeading":"Article","modules":[{"name":"GreenAlert"}],"role":"article","title":"Introduction"},"abstract":[{"text":"What is GreenAlert, and why should you use it?","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"content","content":[{"type":"heading","text":"What is GreenAlert?","anchor":"What-is-GreenAlert","level":2},{"inlineContent":[{"text":"GreenAlert is a really useful way to use ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"text":", using extensions.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"text":"Let’s say you want to show a basic alert.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"text":"Rather than writing this:","type":"text"}],"type":"paragraph"},{"code":["let alertController = UIAlertController(title: \"Title\", message: \"Message\")","","let okAction = UIAlertAction(title: \"OK\", style: .default) { _ in"," ()","}","","alertController.addAction(okAction)","","present(alertController, animated: true, completion: nil)"],"type":"codeListing","syntax":"Swift"},{"inlineContent":[{"type":"text","text":"You can write this:"}],"type":"paragraph"},{"syntax":"Swift","type":"codeListing","code":["UIAlertController.showBasicAlert(\"Title\", message: \"Message\")"]},{"type":"paragraph","inlineContent":[{"text":"Not a big enough difference for you? Okay, let’s suppose you’ve got a more complicated one.","type":"text"}]},{"inlineContent":[{"type":"text","text":"Instead of THIS:"}],"type":"paragraph"},{"code":["let alertController = UIAlertController(title: \"Title\", message: \"Message\")","","let cancelAction = UIAlertAction(title: \"Cancel\", style: .cancel) { _ in"," \/\/ handle Cancel","}","","let okAction = UIAlertAction(title: \"OK\", style: .default) { _ in"," \/\/ handle OK","}","","alertController.addAction(cancelAction)","alertController.addAction(okAction)","","present(alertController, animated: true, completion: nil)"],"type":"codeListing","syntax":"Swift"},{"inlineContent":[{"text":"Why not have this:","type":"text"}],"type":"paragraph"},{"code":["UIAlertController.showOKCancelAlert(\"Title\", message: \"Message\") { confirmed in"," \/\/ Handle OK or Cancel based on `confirmed` being true or false","}"],"syntax":"Swift","type":"codeListing"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Or, if you’re using Swift Concurrency:"}]},{"type":"codeListing","code":["if await UIAlertController.showOKCancelAlert(\"Title\", message: \"Message\") {"," \/\/ User tapped OK!","}"],"syntax":"Swift"},{"inlineContent":[{"type":"text","text":"Now, isn’t that nicer?"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"type":"text","text":"But wait, there’s more."}],"type":"emphasis"}],"type":"paragraph"},{"inlineContent":[{"text":"With GreenAlert, you’re granted all sorts of ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"text":" superpowers, including the following:","type":"text"}],"type":"paragraph"},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Customizations galore"}]},{"items":[{"content":[{"inlineContent":[{"type":"text","text":"SAFELY set alert style to action sheet, using enums to enforce the presence of source information."}],"type":"paragraph"},{"items":[{"content":[{"inlineContent":[{"type":"text","text":"I say “safely” here because you can easily crash an iPadOS app by creating an "},{"type":"codeVoice","code":".actionSheet"},{"type":"text","text":" and forgetting to set the "},{"type":"codeVoice","code":"popoverPresentationController"},{"type":"text","text":"‘s "},{"type":"codeVoice","code":"sourceView"},{"text":", ","type":"text"},{"code":"sourceRect","type":"codeVoice"},{"text":", or ","type":"text"},{"type":"codeVoice","code":"barButtonItem"},{"type":"text","text":". These crashes don’t occur on iPhones, and are therefore easy to miss if you don’t test throughly. Using GreenAlert eliminates these crashes."}],"type":"paragraph"}]}],"type":"unorderedList"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Custom button action icons, via SF Symbols (preferred) or a "},{"code":"UIImage","type":"codeVoice"}]}]}],"type":"unorderedList"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Show prompts for values"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"With all the customizations listed above, but also including customizable:"}]},{"items":[{"content":[{"inlineContent":[{"text":"preset text","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"placeholder"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"keyboard type","type":"text"}],"type":"paragraph"}]}],"type":"unorderedList"}]}]}]},{"content":[{"inlineContent":[{"type":"text","text":"Add progress bars to alert controllers"}],"type":"paragraph"}]}],"type":"unorderedList"},{"type":"paragraph","inlineContent":[{"text":"…And even more!","type":"text"}]},{"inlineContent":[{"text":"So give it a shot! 😁","type":"text"}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"If you’re anything less than delighted, or have any ideas on how to improve GreenAlert, be sure to "},{"isActive":true,"identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues","type":"reference"},{"type":"text","text":", and I’ll be sure to address it!"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"text":"If you like GreenAlert, be sure to check out my other projects:","type":"text"}]},{"items":[{"content":[{"inlineContent":[{"type":"text","text":"🎆 "},{"isActive":true,"type":"reference","identifier":"https:\/\/github.com\/JacobSyndeo\/Ether"},{"type":"text","text":", a delightful and easy to understand networking library for Swift"}],"type":"paragraph"}]}],"type":"unorderedList"}]}],"variants":[{"paths":["\/documentation\/greenalert\/introduction"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/Introduction","interfaceLanguage":"swift"},"references":{"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"https://github.com/JacobSyndeo/Ether":{"identifier":"https:\/\/github.com\/JacobSyndeo\/Ether","titleInlineContent":[{"text":"Ether","type":"text"}],"url":"https:\/\/github.com\/JacobSyndeo\/Ether","type":"link","title":"Ether"},"https://github.com/JacobSyndeo/GreenAlert/issues":{"identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues","title":"open an issue","titleInlineContent":[{"type":"text","text":"open an issue"}],"type":"link","url":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues"}}} \ No newline at end of file +{"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[],"metadata":{"role":"article","roleHeading":"Article","modules":[{"name":"GreenAlert"}],"title":"Introduction"},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/Introduction","interfaceLanguage":"swift"},"primaryContentSections":[{"content":[{"text":"What is GreenAlert?","level":2,"anchor":"What-is-GreenAlert","type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"GreenAlert is a really useful way to use "},{"code":"UIAlertController","type":"codeVoice"},{"type":"text","text":", using extensions."}]},{"type":"paragraph","inlineContent":[{"text":"Let’s say you want to show a basic alert.","type":"text"}]},{"type":"paragraph","inlineContent":[{"text":"Rather than writing this:","type":"text"}]},{"type":"codeListing","code":["let alertController = UIAlertController(title: \"Title\", message: \"Message\")","","let okAction = UIAlertAction(title: \"OK\", style: .default) { _ in"," ()","}","","alertController.addAction(okAction)","","present(alertController, animated: true, completion: nil)"],"syntax":"swift"},{"type":"paragraph","inlineContent":[{"type":"text","text":"You can write this:"}]},{"code":["UIAlertController.showBasicAlert(\"Title\", message: \"Message\")"],"type":"codeListing","syntax":"swift"},{"type":"paragraph","inlineContent":[{"text":"Not a big enough difference for you? Okay, let’s suppose you’ve got a more complicated one.","type":"text"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Instead of THIS:"}]},{"type":"codeListing","syntax":"swift","code":["let alertController = UIAlertController(title: \"Title\", message: \"Message\")","","let cancelAction = UIAlertAction(title: \"Cancel\", style: .cancel) { _ in"," \/\/ handle Cancel","}","","let okAction = UIAlertAction(title: \"OK\", style: .default) { _ in"," \/\/ handle OK","}","","alertController.addAction(cancelAction)","alertController.addAction(okAction)","","present(alertController, animated: true, completion: nil)"]},{"type":"paragraph","inlineContent":[{"text":"Why not have this:","type":"text"}]},{"syntax":"swift","code":["UIAlertController.showOKCancelAlert(\"Title\", message: \"Message\") { confirmed in"," \/\/ Handle OK or Cancel based on `confirmed` being true or false","}"],"type":"codeListing"},{"type":"paragraph","inlineContent":[{"text":"Or, if you’re using Swift Concurrency:","type":"text"}]},{"syntax":"swift","code":["if await UIAlertController.showOKCancelAlert(\"Title\", message: \"Message\") {"," \/\/ User tapped OK!","}"],"type":"codeListing"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Now, isn’t that nicer?"}]},{"inlineContent":[{"type":"emphasis","inlineContent":[{"type":"text","text":"But wait, there’s more."}]}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"text":"With GreenAlert, you’re granted all sorts of ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":" superpowers, including the following:"}]},{"items":[{"content":[{"inlineContent":[{"type":"text","text":"Customizations galore"}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"text","text":"SAFELY set alert style to action sheet, using enums to enforce the presence of source information."}],"type":"paragraph"},{"items":[{"content":[{"type":"paragraph","inlineContent":[{"text":"I say “safely” here because you can easily crash an iPadOS app by creating an ","type":"text"},{"type":"codeVoice","code":".actionSheet"},{"text":" and forgetting to set the ","type":"text"},{"code":"popoverPresentationController","type":"codeVoice"},{"type":"text","text":"‘s "},{"code":"sourceView","type":"codeVoice"},{"type":"text","text":", "},{"code":"sourceRect","type":"codeVoice"},{"type":"text","text":", or "},{"code":"barButtonItem","type":"codeVoice"},{"type":"text","text":". These crashes don’t occur on iPhones, and are therefore easy to miss if you don’t test throughly. Using GreenAlert eliminates these crashes."}]}]}],"type":"unorderedList"}]},{"content":[{"inlineContent":[{"type":"text","text":"Custom button action icons, via SF Symbols (preferred) or a "},{"type":"codeVoice","code":"UIImage"}],"type":"paragraph"}]}]}]},{"content":[{"inlineContent":[{"type":"text","text":"Show prompts for values"}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"text","text":"With all the customizations listed above, but also including customizable:"}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"text","text":"preset text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"placeholder","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"keyboard type"}]}]}]}]}]}]},{"content":[{"inlineContent":[{"type":"text","text":"Add progress bars to alert controllers"}],"type":"paragraph"}]}],"type":"unorderedList"},{"inlineContent":[{"text":"…And even more!","type":"text"}],"type":"paragraph"},{"inlineContent":[{"type":"text","text":"So give it a shot! 😁"}],"type":"paragraph"},{"level":2,"type":"heading","text":"Support","anchor":"Support"},{"type":"paragraph","inlineContent":[{"text":"If you’re anything less than delighted, or have any ideas on how to improve GreenAlert, be sure to ","type":"text"},{"isActive":true,"type":"reference","identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues"},{"text":", and I’ll be sure to address it!","type":"text"}]},{"anchor":"More","type":"heading","level":2,"text":"More"},{"inlineContent":[{"type":"text","text":"If you like GreenAlert, be sure to check out my other projects:"}],"type":"paragraph"},{"items":[{"content":[{"inlineContent":[{"type":"text","text":"🎆 "},{"isActive":true,"type":"reference","identifier":"https:\/\/github.com\/JacobSyndeo\/Ether"},{"type":"text","text":", a delightful and easy to understand networking library for Swift"}],"type":"paragraph"}]}],"type":"unorderedList"}],"kind":"content"}],"kind":"article","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"abstract":[{"type":"text","text":"What is GreenAlert, and why should you use it?"}],"variants":[{"paths":["\/documentation\/greenalert\/introduction"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"https://github.com/JacobSyndeo/Ether":{"titleInlineContent":[{"type":"text","text":"Ether"}],"identifier":"https:\/\/github.com\/JacobSyndeo\/Ether","url":"https:\/\/github.com\/JacobSyndeo\/Ether","type":"link","title":"Ether"},"https://github.com/JacobSyndeo/GreenAlert/issues":{"identifier":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues","titleInlineContent":[{"type":"text","text":"open an issue"}],"type":"link","url":"https:\/\/github.com\/JacobSyndeo\/GreenAlert\/issues","title":"open an issue"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit.json b/docs/data/documentation/greenalert/uikit.json index 5d24071..24f376e 100644 --- a/docs/data/documentation/greenalert/uikit.json +++ b/docs/data/documentation/greenalert/uikit.json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit"]}],"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"],"title":"Extended Classes"}],"metadata":{"externalID":"s:m:s:e:s:So13UIAlertActionC10GreenAlertE0B4TypeO","symbolKind":"extension","role":"collection","roleHeading":"Extended Module","modules":[{"name":"GreenAlert"}],"title":"UIKit"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]}}} \ No newline at end of file +{"kind":"symbol","metadata":{"roleHeading":"Extended Module","modules":[{"name":"GreenAlert"}],"title":"UIKit","symbolKind":"extension","role":"collection","externalID":"s:m:s:e:s:So13UIAlertActionC10GreenAlertE0B4TypeO"},"variants":[{"paths":["\/documentation\/greenalert\/uikit"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"topicSections":[{"title":"Extended Classes","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction.json b/docs/data/documentation/greenalert/uikit/uialertaction.json index e21323f..98fcb19 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction.json @@ -1 +1 @@ -{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"}]}],"kind":"declarations"}],"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)"],"title":"Initializers"},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode"],"title":"Instance Properties"},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)"],"title":"Instance Methods"},{"title":"Enumerations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"],"generated":true,"title":"Default Implementations"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction"]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","interfaceLanguage":"swift"},"metadata":{"roleHeading":"Extended Class","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}],"modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"extendedModule":"UIKit","title":"UIAlertAction","symbolKind":"extension","role":"symbol","externalID":"s:e:s:So13UIAlertActionC10GreenAlertE0B4TypeO","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"]]},"abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"type":"text","text":"."}],"sections":[],"relationshipsSections":[{"title":"Conforms To","type":"conformsTo","kind":"relationships","identifiers":["doc:\/\/GreenAlert\/6Soccer0A15PropertyStoringP"]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/init(title:style:icon:handler:)":{"type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertaction\/init(title:style:icon:handler:)","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"style"},{"kind":"text","text":": "},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"icon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"handler"},{"kind":"text","text":": (("},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")?)","kind":"text"}],"title":"init(title:style:icon:handler:)","abstract":[{"text":"A convenience initializer for creating an alert action with an icon.","type":"text"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/textAlignmentMode":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/textalignmentmode","type":"topic","abstract":[{"type":"text","text":"An accessor for the text alignment mode of the alert action’s title."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"textAlignmentMode","kind":"identifier"},{"text":": ","kind":"text"},{"text":"CATextLayerAlignmentMode","kind":"typeIdentifier","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"text":"?","kind":"text"}],"title":"textAlignmentMode"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/icon-swift.property":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"icon","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","title":"icon","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.property","abstract":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"role":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","kind":"article","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","abstract":[],"role":"collectionGroup","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","title":"SoccerPropertyStoring Implementations"},"doc://GreenAlert/6Soccer0A15PropertyStoringP":{"type":"unresolvable","identifier":"doc:\/\/GreenAlert\/6Soccer0A15PropertyStoringP","title":"Soccer.SoccerPropertyStoring"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setSystemIconName(_:)":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/setsystemiconname(_:)","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)","abstract":[{"type":"text","text":"A convenience method for setting the icon of the alert action to a system icon."}],"role":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setSystemIconName"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"setSystemIconName(_:)"}}} \ No newline at end of file +{"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"]]},"abstract":[{"text":"A collection of extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertAction"},{"type":"text","text":"."}],"kind":"symbol","relationshipsSections":[{"title":"Conforms To","identifiers":["doc:\/\/GreenAlert\/6Soccer0A15PropertyStoringP"],"kind":"relationships","type":"conformsTo"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"extension","kind":"keyword"},{"kind":"text","text":" "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"}],"languages":["swift"]}]}],"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)"],"title":"Instance Methods"},{"title":"Enumerations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"]},{"title":"Default Implementations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"],"generated":true}],"metadata":{"externalID":"s:e:s:So13UIAlertActionC10GreenAlertE0B4TypeO","symbolKind":"extension","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"}],"roleHeading":"Extended Class","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}],"title":"UIAlertAction","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"extendedModule":"UIKit"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction"]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","abstract":[],"type":"topic","url":"\/documentation\/greenalert\/uikit","title":"UIKit","kind":"symbol","role":"collection"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/icon-swift.property":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.property","type":"topic","abstract":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"title":"icon","kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"icon","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/init(title:style:icon:handler:)":{"title":"init(title:style:icon:handler:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/init(title:style:icon:handler:)","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"A convenience initializer for creating an alert action with an icon."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"style"},{"text":": ","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"text":"icon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"handler"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?)","kind":"text"}]},"doc://GreenAlert/6Soccer0A15PropertyStoringP":{"identifier":"doc:\/\/GreenAlert\/6Soccer0A15PropertyStoringP","type":"unresolvable","title":"Soccer.SoccerPropertyStoring"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setSystemIconName(_:)":{"abstract":[{"text":"A convenience method for setting the icon of the alert action to a system icon.","type":"text"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/setsystemiconname(_:)","title":"setSystemIconName(_:)","role":"symbol","kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setSystemIconName","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","role":"collectionGroup","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","title":"SoccerPropertyStoring Implementations","kind":"article","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/textAlignmentMode":{"abstract":[{"type":"text","text":"An accessor for the text alignment mode of the alert action’s title."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode","url":"\/documentation\/greenalert\/uikit\/uialertaction\/textalignmentmode","title":"textAlignmentMode","role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"textAlignmentMode","kind":"identifier"},{"kind":"text","text":": "},{"text":"CATextLayerAlignmentMode","kind":"typeIdentifier","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"text":"?","kind":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype.json b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype.json index ecb10f8..bf5d7f5 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype.json @@ -1 +1 @@ -{"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"},"sections":[],"abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/GreenAlert\/SQ","doc:\/\/GreenAlert\/SH"],"title":"Conforms To","type":"conformsTo"}],"metadata":{"modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"symbolKind":"enum","externalID":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"title":"UIAlertAction.ActionType","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"ActionType","kind":"identifier"}],"extendedModule":"UIKit","roleHeading":"Enumeration"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype"]}],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok"]},{"title":"Default Implementations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations"],"generated":true}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ActionType"}],"languages":["swift"],"platforms":["iOS"]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/Equatable-Implementations":{"type":"topic","kind":"article","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations","abstract":[],"role":"collectionGroup","url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/equatable-implementations","title":"Equatable Implementations"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/ok":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ok","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/ok","title":"UIAlertAction.ActionType.ok","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"role":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction","title":"UIAlertAction"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/SQ":{"identifier":"doc:\/\/GreenAlert\/SQ","title":"Swift.Equatable","type":"unresolvable"},"doc://GreenAlert/SH":{"identifier":"doc:\/\/GreenAlert\/SH","title":"Swift.Hashable","type":"unresolvable"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/cancel":{"kind":"symbol","title":"UIAlertAction.ActionType.cancel","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"cancel","kind":"identifier"}],"abstract":[],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/cancel","role":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"metadata":{"title":"UIAlertAction.ActionType","extendedModule":"UIKit","externalID":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ActionType"}],"navigatorTitle":[{"text":"ActionType","kind":"identifier"}],"symbolKind":"enum","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"role":"symbol","roleHeading":"Enumeration"},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok"]},{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"},"relationshipsSections":[{"kind":"relationships","identifiers":["doc:\/\/GreenAlert\/SQ","doc:\/\/GreenAlert\/SH"],"type":"conformsTo","title":"Conforms To"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"kind":"symbol","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype"]}],"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/cancel":{"title":"UIAlertAction.ActionType.cancel","abstract":[],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/cancel","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"cancel","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/Equatable-Implementations":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/equatable-implementations","role":"collectionGroup","title":"Equatable Implementations","type":"topic","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations","kind":"article"},"doc://GreenAlert/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/GreenAlert\/SQ"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/ok":{"title":"UIAlertAction.ActionType.ok","abstract":[],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/ok","role":"symbol","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ok"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/GreenAlert\/SH"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/!=(_:_:).json b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/!=(_:_:).json index 3321b7b..9e5bbd1 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/!=(_:_:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/!=(_:_:).json @@ -1 +1 @@ -{"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"text":".","type":"text"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]}]}],"sections":[],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","title":"!=(_:_:)","extendedModule":"Swift","modules":[{"name":"GreenAlert","relatedModules":["Swift"]}],"externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:So13UIAlertActionC10GreenAlertE0B4TypeO","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"symbolKind":"op","roleHeading":"Operator"},"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)","interfaceLanguage":"swift"},"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/!=(_:_:)":{"abstract":[],"role":"symbol","type":"topic","title":"!=(_:_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/!=(_:_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/Equatable-Implementations":{"type":"topic","kind":"article","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations","abstract":[],"role":"collectionGroup","url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/equatable-implementations","title":"Equatable Implementations"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]}}} \ No newline at end of file +{"sections":[],"metadata":{"roleHeading":"Operator","title":"!=(_:_:)","role":"symbol","modules":[{"relatedModules":["Swift"],"name":"GreenAlert"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:So13UIAlertActionC10GreenAlertE0B4TypeO","extendedModule":"Swift","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}]},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/!=(_:_:)"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"internalParam","text":"lhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]}]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations"]]},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/!=(_:_:)":{"type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)","title":"!=(_:_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/Equatable-Implementations":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/equatable-implementations","role":"collectionGroup","title":"Equatable Implementations","type":"topic","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations","kind":"article"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/cancel.json b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/cancel.json index 6ce479a..43fd18d 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/cancel.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/cancel.json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel"},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"symbolKind":"case","title":"UIAlertAction.ActionType.cancel","modules":[{"name":"GreenAlert"}],"role":"symbol","roleHeading":"Case","externalID":"s:So13UIAlertActionC10GreenAlertE0B4TypeO6cancelyA2EmF","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cancel","kind":"identifier"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cancel"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/cancel"]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"]]},"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/cancel":{"kind":"symbol","title":"UIAlertAction.ActionType.cancel","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"cancel","kind":"identifier"}],"abstract":[],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/cancel","role":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel","interfaceLanguage":"swift"},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cancel"}],"languages":["swift"]}]}],"metadata":{"role":"symbol","roleHeading":"Case","title":"UIAlertAction.ActionType.cancel","modules":[{"name":"GreenAlert"}],"externalID":"s:So13UIAlertActionC10GreenAlertE0B4TypeO6cancelyA2EmF","symbolKind":"case","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"cancel"}]},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/cancel"]}],"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/cancel":{"title":"UIAlertAction.ActionType.cancel","abstract":[],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/cancel","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"cancel","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/cancel"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/equatable-implementations.json b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/equatable-implementations.json index a8ff4f4..1dfd88d 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/equatable-implementations.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/equatable-implementations.json @@ -1 +1 @@ -{"kind":"article","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"]]},"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)"],"title":"Operators","generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/equatable-implementations"]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"title":"Equatable Implementations","modules":[{"name":"GreenAlert"}],"role":"collectionGroup"},"sections":[],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/!=(_:_:)":{"abstract":[],"role":"symbol","type":"topic","title":"!=(_:_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/!=(_:_:)","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]}}} \ No newline at end of file +{"metadata":{"role":"collectionGroup","modules":[{"name":"GreenAlert"}],"title":"Equatable Implementations"},"kind":"article","sections":[],"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)"],"generated":true,"title":"Operators"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"]]},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/Equatable-Implementations","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/!=(_:_:)":{"type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/!=(_:_:)","title":"!=(_:_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/!=(_:_:)","fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/ok.json b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/ok.json index f213074..01ca90c 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/ok.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/actiontype/ok.json @@ -1 +1 @@ -{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/ok"]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"]]},"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"ok","kind":"identifier"}],"platforms":["iOS"]}]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok","interfaceLanguage":"swift"},"metadata":{"modules":[{"name":"GreenAlert"}],"symbolKind":"case","title":"UIAlertAction.ActionType.ok","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ok"}],"role":"symbol","externalID":"s:So13UIAlertActionC10GreenAlertE0B4TypeO2okyA2EmF","roleHeading":"Case"},"sections":[],"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/ok":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok","kind":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"ok","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/ok","title":"UIAlertAction.ActionType.ok","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]}}} \ No newline at end of file +{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"]]},"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"ok","kind":"identifier"}],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/ok"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ok"}],"externalID":"s:So13UIAlertActionC10GreenAlertE0B4TypeO2okyA2EmF","role":"symbol","modules":[{"name":"GreenAlert"}],"roleHeading":"Case","title":"UIAlertAction.ActionType.ok","symbolKind":"case"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"role":"collection","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","abstract":[],"kind":"symbol","title":"UIKit","url":"\/documentation\/greenalert\/uikit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType/ok":{"title":"UIAlertAction.ActionType.ok","abstract":[],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype\/ok","role":"symbol","type":"topic","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ok"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType\/ok"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/getassociatedobject(_:defaultvalue:).json b/docs/data/documentation/greenalert/uikit/uialertaction/getassociatedobject(_:defaultvalue:).json index f10ad7e..e86e07e 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/getassociatedobject(_:defaultvalue:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/getassociatedobject(_:defaultvalue:).json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/getassociatedobject(_:defaultvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"]]},"metadata":{"extendedModule":"Soccer","externalID":"s:6Soccer0A15PropertyStoringPAAE19getAssociatedObject_12defaultValue1TQzSgSVSg_AHtF::SYNTHESIZED::c:objc(cs)UIAlertAction","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"getAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SV","text":"UnsafeRawPointer"},{"text":"!, ","kind":"text"},{"text":"defaultValue","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"modules":[{"relatedModules":["Soccer"],"name":"GreenAlert"}],"roleHeading":"Instance Method","title":"getAssociatedObject(_:defaultValue:)","role":"symbol","symbolKind":"method"},"sections":[],"abstract":[{"type":"text","text":"Inherited from "},{"code":"SoccerPropertyStoring.getAssociatedObject(_:defaultValue:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"getAssociatedObject"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"text":"UnsafeRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:SV"},{"text":"!, ","kind":"text"},{"text":"defaultValue","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"text":"? = nil) -> ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)"},"schemaVersion":{"major":0,"minor":3,"patch":0},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","kind":"article","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","abstract":[],"role":"collectionGroup","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","title":"SoccerPropertyStoring Implementations"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/getAssociatedObject(_:defaultValue:)":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/getassociatedobject(_:defaultvalue:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getAssociatedObject","kind":"identifier"},{"text":"(","kind":"text"},{"text":"UnsafeRawPointer","preciseIdentifier":"s:SV","kind":"typeIdentifier"},{"kind":"text","text":"!, "},{"kind":"externalParam","text":"defaultValue"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)","title":"getAssociatedObject(_:defaultValue:)","role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getAssociatedObject","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SV","text":"UnsafeRawPointer"},{"kind":"text","text":"!, "},{"text":"defaultValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"?"}],"title":"getAssociatedObject(_:defaultValue:)","externalID":"s:6Soccer0A15PropertyStoringPAAE19getAssociatedObject_12defaultValue1TQzSgSVSg_AHtF::SYNTHESIZED::c:objc(cs)UIAlertAction","symbolKind":"method","roleHeading":"Instance Method","extendedModule":"Soccer","modules":[{"relatedModules":["Soccer"],"name":"GreenAlert"}],"role":"symbol"},"kind":"symbol","abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"SoccerPropertyStoring.getAssociatedObject(_:defaultValue:)"},{"text":".","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"getAssociatedObject"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"key","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"text":"!, ","kind":"text"},{"text":"defaultValue","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"text":"? = nil) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"?"}],"platforms":["iOS"],"languages":["swift"]}]}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/getassociatedobject(_:defaultvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","role":"collectionGroup","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","title":"SoccerPropertyStoring Implementations","kind":"article","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/getAssociatedObject(_:defaultValue:)":{"abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SV","text":"UnsafeRawPointer"},{"kind":"text","text":"!, "},{"kind":"externalParam","text":"defaultValue"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"getAssociatedObject(_:defaultValue:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/getassociatedobject(_:defaultvalue:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum.json b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum.json index af32712..d8aba32 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum.json @@ -1 +1 @@ -{"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"Icon","kind":"identifier"}]}],"kind":"declarations"}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"metadata":{"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"extendedModule":"UIKit","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"roleHeading":"Enumeration","role":"symbol","externalID":"s:So13UIAlertActionC10GreenAlertE4IconO","symbolKind":"enum","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon"},"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)"]}],"abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/custom(_:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/custom(_:)","abstract":[{"text":"A custom image to be used as the icon.","type":"text"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"kind":"text","text":"("},{"text":"UIImage","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIImage"},{"kind":"text","text":")"}],"title":"UIAlertAction.Icon.custom(_:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/system(_:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/system(_:)","type":"topic","abstract":[{"text":"An icon from the system’s SF Symbols library.","type":"text"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"system"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"title":"UIAlertAction.Icon.system(_:)"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]}}} \ No newline at end of file +{"sections":[],"topicSections":[{"title":"Enumeration Cases","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Icon"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum"]}],"metadata":{"extendedModule":"UIKit","navigatorTitle":[{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"symbolKind":"enum","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"externalID":"s:So13UIAlertActionC10GreenAlertE4IconO","roleHeading":"Enumeration","role":"symbol"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/system(_:)":{"kind":"symbol","title":"UIAlertAction.Icon.system(_:)","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/system(_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"system"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"text":"An icon from the system’s SF Symbols library.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/custom(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"custom","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIImage","text":"UIImage","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","abstract":[{"text":"A custom image to be used as the icon.","type":"text"}],"role":"symbol","type":"topic","title":"UIAlertAction.Icon.custom(_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/custom(_:)","kind":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/custom(_:).json b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/custom(_:).json index c0a9ff4..616e9eb 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/custom(_:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/custom(_:).json @@ -1 +1 @@ -{"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"]]},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","interfaceLanguage":"swift"},"metadata":{"role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"custom","kind":"identifier"},{"text":"(","kind":"text"},{"text":"UIImage","preciseIdentifier":"c:objc(cs)UIImage","kind":"typeIdentifier"},{"text":")","kind":"text"}],"externalID":"s:So13UIAlertActionC10GreenAlertE4IconO6customyAESo7UIImageCcAEmF","modules":[{"name":"GreenAlert"}],"symbolKind":"case","roleHeading":"Case","title":"UIAlertAction.Icon.custom(_:)"},"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIImage","text":"UIImage"},{"text":")","kind":"text"}],"languages":["swift"]}],"kind":"declarations"}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/custom(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"text":"A custom image to be used as the icon.","type":"text"}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/custom(_:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/custom(_:)","abstract":[{"text":"A custom image to be used as the icon.","type":"text"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"kind":"text","text":"("},{"text":"UIImage","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIImage"},{"kind":"text","text":")"}],"title":"UIAlertAction.Icon.custom(_:)"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"]]},"primaryContentSections":[{"declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"custom","kind":"identifier"},{"kind":"text","text":"("},{"text":"UIImage","preciseIdentifier":"c:objc(cs)UIImage","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)"},"metadata":{"fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"custom"},{"text":"(","kind":"text"},{"text":"UIImage","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIImage"},{"text":")","kind":"text"}],"role":"symbol","title":"UIAlertAction.Icon.custom(_:)","symbolKind":"case","modules":[{"name":"GreenAlert"}],"externalID":"s:So13UIAlertActionC10GreenAlertE4IconO6customyAESo7UIImageCcAEmF","roleHeading":"Case"},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/custom(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"A custom image to be used as the icon.","type":"text"}],"sections":[],"schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/custom(_:)":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"custom","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIImage","text":"UIImage","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/custom(_:)","abstract":[{"text":"A custom image to be used as the icon.","type":"text"}],"role":"symbol","type":"topic","title":"UIAlertAction.Icon.custom(_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/custom(_:)","kind":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/system(_:).json b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/system(_:).json index a4d4092..6394d37 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/system(_:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.enum/system(_:).json @@ -1 +1 @@ -{"abstract":[{"text":"An icon from the system’s SF Symbols library.","type":"text"}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/system(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"]]},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"system"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","metadata":{"modules":[{"name":"GreenAlert"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"system"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":")","kind":"text"}],"symbolKind":"case","title":"UIAlertAction.Icon.system(_:)","role":"symbol","roleHeading":"Case","externalID":"s:So13UIAlertActionC10GreenAlertE4IconO6systemyAESScAEmF"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/system(_:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/system(_:)","type":"topic","abstract":[{"text":"An icon from the system’s SF Symbols library.","type":"text"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"system"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":")","kind":"text"}],"title":"UIAlertAction.Icon.system(_:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"abstract":[{"type":"text","text":"An icon from the system’s SF Symbols library."}],"sections":[],"kind":"symbol","variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/system(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)","interfaceLanguage":"swift"},"metadata":{"title":"UIAlertAction.Icon.system(_:)","modules":[{"name":"GreenAlert"}],"roleHeading":"Case","externalID":"s:So13UIAlertActionC10GreenAlertE4IconO6systemyAESScAEmF","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"system"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"symbolKind":"case"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"system"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":")"}],"platforms":["iOS"]}],"kind":"declarations"}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"]]},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum/system(_:)":{"kind":"symbol","title":"UIAlertAction.Icon.system(_:)","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum\/system(_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum\/system(_:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"system"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[{"text":"An icon from the system’s SF Symbols library.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.property.json b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.property.json index 7095275..e6a3de2 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.property.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/icon-swift.property.json @@ -1 +1 @@ -{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.property"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"icon"},{"text":": ","kind":"text"},{"text":"Icon","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"set"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}]}],"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"metadata":{"symbolKind":"property","roleHeading":"Instance Property","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"icon"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?","kind":"text"}],"role":"symbol","externalID":"s:So13UIAlertActionC10GreenAlertE4iconAbCE4IconOSgvp","extendedModule":"UIKit","title":"icon"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/icon-swift.property":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"icon","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","title":"icon","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.property","abstract":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"role":"symbol","type":"topic"}}} \ No newline at end of file +{"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"icon","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}]}],"sections":[],"metadata":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"icon","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"kind":"text","text":"?"}],"externalID":"s:So13UIAlertActionC10GreenAlertE4iconAbCE4IconOSgvp","title":"icon","symbolKind":"property","extendedModule":"UIKit","roleHeading":"Instance Property","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"role":"symbol"},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.property"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/icon-swift.property":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/icon-swift.property","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.property","type":"topic","abstract":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"title":"icon","kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"icon","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/init(title:style:icon:handler:).json b/docs/data/documentation/greenalert/uikit/uialertaction/init(title:style:icon:handler:).json index 3df236a..3eb0cbe 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/init(title:style:icon:handler:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/init(title:style:icon:handler:).json @@ -1 +1 @@ -{"abstract":[{"type":"text","text":"A convenience initializer for creating an alert action with an icon."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"convenience","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"style","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"icon"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","text":"Icon"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"handler"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":") -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")? = nil)","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}]},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title of the alert action."}]}],"name":"title"},{"name":"style","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert action."}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The icon to be displayed alongside the alert action’s title."}],"type":"paragraph"}],"name":"icon"},{"name":"handler","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The closure to be executed when the alert action is tapped."}]}]}],"kind":"parameters"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)"},"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/init(title:style:icon:handler:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","metadata":{"symbolKind":"init","title":"init(title:style:icon:handler:)","roleHeading":"Initializer","externalID":"s:So13UIAlertActionC10GreenAlertE5title5style4icon7handlerABSSSg_So0aB5StyleVAbCE4IconOSgyABcSgtcfc","role":"symbol","extendedModule":"UIKit","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"style"},{"text":": ","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"text":"icon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"handler"},{"kind":"text","text":": (("},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")?)"}],"modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}]},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction","fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"text":"UIAlertAction","kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction"}],"title":"UIAlertAction","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"type":"text","text":"."}],"navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/init(title:style:icon:handler:)":{"type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertaction\/init(title:style:icon:handler:)","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"style"},{"kind":"text","text":": "},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"icon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"handler"},{"kind":"text","text":": (("},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")?)","kind":"text"}],"title":"init(title:style:icon:handler:)","abstract":[{"text":"A convenience initializer for creating an alert action with an icon.","type":"text"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/init(title:style:icon:handler:)"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"type":"text","text":"A convenience initializer for creating an alert action with an icon."}],"metadata":{"roleHeading":"Initializer","extendedModule":"UIKit","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"symbolKind":"init","externalID":"s:So13UIAlertActionC10GreenAlertE5title5style4icon7handlerABSSSg_So0aB5StyleVAbCE4IconOSgyABcSgtcfc","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"title"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"text":"style","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"icon"},{"kind":"text","text":": "},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"text":"handler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?)","kind":"text"}],"role":"symbol","title":"init(title:style:icon:handler:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"convenience"},{"kind":"text","text":" "},{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"style"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"icon"},{"text":": ","kind":"text"},{"text":"Icon","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"handler"},{"text":": ((","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":") -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")? = nil)","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}]},{"parameters":[{"name":"title","content":[{"inlineContent":[{"type":"text","text":"The title of the alert action."}],"type":"paragraph"}]},{"name":"style","content":[{"inlineContent":[{"type":"text","text":"The style of the alert action."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The icon to be displayed alongside the alert action’s title.","type":"text"}]}],"name":"icon"},{"content":[{"inlineContent":[{"text":"The closure to be executed when the alert action is tapped.","type":"text"}],"type":"paragraph"}],"name":"handler"}],"kind":"parameters"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)","interfaceLanguage":"swift"},"sections":[],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/init(title:style:icon:handler:)":{"title":"init(title:style:icon:handler:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/init(title:style:icon:handler:)","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"A convenience initializer for creating an alert action with an icon."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/init(title:style:icon:handler:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"title","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"style"},{"text":": ","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"text":"icon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"handler"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")?)","kind":"text"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/setassociatedobject(_:newvalue:).json b/docs/data/documentation/greenalert/uikit/uialertaction/setassociatedobject(_:newvalue:).json index 36b09f6..fee4eca 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/setassociatedobject(_:newvalue:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/setassociatedobject(_:newvalue:).json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/setassociatedobject(_:newvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"SoccerPropertyStoring.setAssociatedObject(_:newValue:)","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"]]},"sections":[],"metadata":{"role":"symbol","title":"setAssociatedObject(_:newValue:)","symbolKind":"method","extendedModule":"Soccer","modules":[{"name":"GreenAlert","relatedModules":["Soccer"]}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"text":"UnsafeRawPointer","kind":"typeIdentifier","preciseIdentifier":"s:SV"},{"text":"!, ","kind":"text"},{"text":"newValue","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"T"},{"text":"?)","kind":"text"}],"externalID":"s:6Soccer0A15PropertyStoringPAAE19setAssociatedObject_8newValueySVSg_1TQzSgtF::SYNTHESIZED::c:objc(cs)UIAlertAction"},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SV","text":"UnsafeRawPointer"},{"text":"!, ","kind":"text"},{"text":"newValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)","interfaceLanguage":"swift"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","kind":"article","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","abstract":[],"role":"collectionGroup","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","title":"SoccerPropertyStoring Implementations"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setAssociatedObject(_:newValue:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/setassociatedobject(_:newvalue:)","type":"topic","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setAssociatedObject","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeRawPointer","preciseIdentifier":"s:SV"},{"kind":"text","text":"!, "},{"text":"newValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"title":"setAssociatedObject(_:newValue:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"metadata":{"extendedModule":"Soccer","externalID":"s:6Soccer0A15PropertyStoringPAAE19setAssociatedObject_8newValueySVSg_1TQzSgtF::SYNTHESIZED::c:objc(cs)UIAlertAction","modules":[{"relatedModules":["Soccer"],"name":"GreenAlert"}],"title":"setAssociatedObject(_:newValue:)","symbolKind":"method","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setAssociatedObject","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SV","text":"UnsafeRawPointer"},{"text":"!, ","kind":"text"},{"kind":"externalParam","text":"newValue"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"?)"}],"roleHeading":"Instance Method"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"]]},"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"major":0,"patch":0},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"SoccerPropertyStoring.setAssociatedObject(_:newValue:)"},{"text":".","type":"text"}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/setassociatedobject(_:newvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"setAssociatedObject"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"key"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"text":"!, ","kind":"text"},{"text":"newValue","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setAssociatedObject(_:newValue:)":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/setassociatedobject(_:newvalue:)","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"text":"!, ","kind":"text"},{"kind":"externalParam","text":"newValue"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)","role":"symbol","title":"setAssociatedObject(_:newValue:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","abstract":[],"type":"topic","url":"\/documentation\/greenalert\/uikit","title":"UIKit","kind":"symbol","role":"collection"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","role":"collectionGroup","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","title":"SoccerPropertyStoring Implementations","kind":"article","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/setsystemiconname(_:).json b/docs/data/documentation/greenalert/uikit/uialertaction/setsystemiconname(_:).json index ea1cf5b..a4e5cfb 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/setsystemiconname(_:).json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/setsystemiconname(_:).json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)","interfaceLanguage":"swift"},"sections":[],"abstract":[{"type":"text","text":"A convenience method for setting the icon of the alert action to a system icon."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/setsystemiconname(_:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"kind":"symbol","metadata":{"extendedModule":"UIKit","symbolKind":"method","role":"symbol","externalID":"s:So13UIAlertActionC10GreenAlertE17setSystemIconNameyySSF","title":"setSystemIconName(_:)","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setSystemIconName"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setSystemIconName","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"newValue"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setSystemIconName(_:)":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/setsystemiconname(_:)","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)","abstract":[{"type":"text","text":"A convenience method for setting the icon of the alert action to a system icon."}],"role":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setSystemIconName"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"setSystemIconName(_:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]}}} \ No newline at end of file +{"abstract":[{"text":"A convenience method for setting the icon of the alert action to a system icon.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/setsystemiconname(_:)"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setSystemIconName","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"newValue","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)","interfaceLanguage":"swift"},"metadata":{"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"setSystemIconName","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"role":"symbol","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"title":"setSystemIconName(_:)","symbolKind":"method","extendedModule":"UIKit","roleHeading":"Instance Method","externalID":"s:So13UIAlertActionC10GreenAlertE17setSystemIconNameyySSF"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setSystemIconName(_:)":{"abstract":[{"text":"A convenience method for setting the icon of the alert action to a system icon.","type":"text"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setSystemIconName(_:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/setsystemiconname(_:)","title":"setSystemIconName(_:)","role":"symbol","kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"setSystemIconName","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/soccerpropertystoring-implementations.json b/docs/data/documentation/greenalert/uikit/uialertaction/soccerpropertystoring-implementations.json index cfd7cda..1c241b8 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/soccerpropertystoring-implementations.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/soccerpropertystoring-implementations.json @@ -1 +1 @@ -{"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"article","metadata":{"role":"collectionGroup","title":"SoccerPropertyStoring Implementations","modules":[{"name":"GreenAlert"}]},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations"]}],"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)"],"generated":true,"title":"Instance Methods"},{"title":"Type Aliases","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T"],"generated":true}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/T":{"title":"UIAlertAction.T","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T","url":"\/documentation\/greenalert\/uikit\/uialertaction\/t","type":"topic","abstract":[],"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"T","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"T","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setAssociatedObject(_:newValue:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/setassociatedobject(_:newvalue:)","type":"topic","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setAssociatedObject","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UnsafeRawPointer","preciseIdentifier":"s:SV"},{"kind":"text","text":"!, "},{"text":"newValue","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?)"}],"title":"setAssociatedObject(_:newValue:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/getAssociatedObject(_:defaultValue:)":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/getassociatedobject(_:defaultvalue:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getAssociatedObject","kind":"identifier"},{"text":"(","kind":"text"},{"text":"UnsafeRawPointer","preciseIdentifier":"s:SV","kind":"typeIdentifier"},{"kind":"text","text":"!, "},{"kind":"externalParam","text":"defaultValue"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"T","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)","title":"getAssociatedObject(_:defaultValue:)","role":"symbol"}}} \ No newline at end of file +{"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations"]}],"topicSections":[{"title":"Instance Methods","generated":true,"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)"]},{"title":"Type Aliases","generated":true,"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T"]}],"metadata":{"role":"collectionGroup","modules":[{"name":"GreenAlert"}],"title":"SoccerPropertyStoring Implementations"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"kind":"article","references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/setAssociatedObject(_:newValue:)":{"url":"\/documentation\/greenalert\/uikit\/uialertaction\/setassociatedobject(_:newvalue:)","abstract":[],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"setAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SV","text":"UnsafeRawPointer","kind":"typeIdentifier"},{"text":"!, ","kind":"text"},{"kind":"externalParam","text":"newValue"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/setAssociatedObject(_:newValue:)","role":"symbol","title":"setAssociatedObject(_:newValue:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/getAssociatedObject(_:defaultValue:)":{"abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getAssociatedObject","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SV","text":"UnsafeRawPointer"},{"kind":"text","text":"!, "},{"kind":"externalParam","text":"defaultValue"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"T"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"text":".","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"title":"getAssociatedObject(_:defaultValue:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/getAssociatedObject(_:defaultValue:)","url":"\/documentation\/greenalert\/uikit\/uialertaction\/getassociatedobject(_:defaultvalue:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/T":{"title":"UIAlertAction.T","url":"\/documentation\/greenalert\/uikit\/uialertaction\/t","kind":"symbol","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"T","kind":"identifier"}],"navigatorTitle":[{"text":"T","kind":"identifier"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/t.json b/docs/data/documentation/greenalert/uikit/uialertaction/t.json index 145c7a6..8aaaead 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/t.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/t.json @@ -1 +1 @@ -{"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"SoccerPropertyStoring.T"},{"text":".","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"navigatorTitle":[{"kind":"identifier","text":"T"}],"extendedModule":"UIKit","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"roleHeading":"Type Alias","role":"symbol","externalID":"s:So13UIAlertActionC10GreenAlertE1Ta","symbolKind":"typealias","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"T"}],"title":"UIAlertAction.T"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/t"]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"T"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Icon","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"}]}],"kind":"declarations"}],"sections":[],"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/T":{"title":"UIAlertAction.T","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T","url":"\/documentation\/greenalert\/uikit\/uialertaction\/t","type":"topic","abstract":[],"kind":"symbol","role":"symbol","navigatorTitle":[{"text":"T","kind":"identifier"}],"fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"T","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","kind":"article","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","abstract":[],"role":"collectionGroup","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","title":"SoccerPropertyStoring Implementations"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"}}} \ No newline at end of file +{"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations"]]},"metadata":{"symbolKind":"typealias","roleHeading":"Type Alias","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"title":"UIAlertAction.T","fragments":[{"text":"typealias","kind":"keyword"},{"text":" ","kind":"text"},{"text":"T","kind":"identifier"}],"extendedModule":"UIKit","role":"symbol","navigatorTitle":[{"text":"T","kind":"identifier"}],"externalID":"s:So13UIAlertActionC10GreenAlertE1Ta"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"SoccerPropertyStoring.T","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T","interfaceLanguage":"swift"},"sections":[],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/t"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"typealias","kind":"keyword"},{"kind":"text","text":" "},{"text":"T","kind":"identifier"},{"text":" = ","kind":"text"},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"}],"languages":["swift"]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/T":{"title":"UIAlertAction.T","url":"\/documentation\/greenalert\/uikit\/uialertaction\/t","kind":"symbol","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/T","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"text":"T","kind":"identifier"}],"navigatorTitle":[{"text":"T","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/SoccerPropertyStoring-Implementations":{"type":"topic","role":"collectionGroup","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/SoccerPropertyStoring-Implementations","title":"SoccerPropertyStoring Implementations","kind":"article","url":"\/documentation\/greenalert\/uikit\/uialertaction\/soccerpropertystoring-implementations","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertaction/textalignmentmode.json b/docs/data/documentation/greenalert/uikit/uialertaction/textalignmentmode.json index bb96181..106488a 100644 --- a/docs/data/documentation/greenalert/uikit/uialertaction/textalignmentmode.json +++ b/docs/data/documentation/greenalert/uikit/uialertaction/textalignmentmode.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"An accessor for the text alignment mode of the alert action’s title."}],"metadata":{"extendedModule":"UIKit","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"roleHeading":"Instance Property","externalID":"s:So13UIAlertActionC10GreenAlertE17textAlignmentModeSo011CATextLayerfG0aSgvp","role":"symbol","symbolKind":"property","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"textAlignmentMode"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"CATextLayerAlignmentMode","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"text":"?","kind":"text"}],"title":"textAlignmentMode"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"textAlignmentMode","kind":"identifier"},{"kind":"text","text":": "},{"text":"CATextLayerAlignmentMode","kind":"typeIdentifier","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"text":"? { ","kind":"text"},{"text":"get","kind":"keyword"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"]}]}],"kind":"symbol","variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/textalignmentmode"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode","interfaceLanguage":"swift"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/textAlignmentMode":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/textalignmentmode","type":"topic","abstract":[{"type":"text","text":"An accessor for the text alignment mode of the alert action’s title."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"textAlignmentMode","kind":"identifier"},{"text":": ","kind":"text"},{"text":"CATextLayerAlignmentMode","kind":"typeIdentifier","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"text":"?","kind":"text"}],"title":"textAlignmentMode"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"type":"topic","abstract":[{"type":"text","text":"A collection of extensions for "},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"extension"},{"kind":"text","text":" "},{"kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"}],"kind":"symbol","title":"UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","role":"symbol","navigatorTitle":[{"text":"UIAlertAction","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]}}} \ No newline at end of file +{"sections":[],"metadata":{"externalID":"s:So13UIAlertActionC10GreenAlertE17textAlignmentModeSo011CATextLayerfG0aSgvp","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"textAlignmentMode","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@T@CATextLayerAlignmentMode","text":"CATextLayerAlignmentMode","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"roleHeading":"Instance Property","role":"symbol","symbolKind":"property","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"extendedModule":"UIKit","title":"textAlignmentMode"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertaction\/textalignmentmode"]}],"abstract":[{"text":"An accessor for the text alignment mode of the alert action’s title.","type":"text"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"textAlignmentMode","kind":"identifier"},{"text":": ","kind":"text"},{"text":"CATextLayerAlignmentMode","kind":"typeIdentifier","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"text":" ","kind":"text"},{"text":"set","kind":"keyword"},{"text":" }","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/textAlignmentMode":{"abstract":[{"type":"text","text":"An accessor for the text alignment mode of the alert action’s title."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/textAlignmentMode","url":"\/documentation\/greenalert\/uikit\/uialertaction\/textalignmentmode","title":"textAlignmentMode","role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"textAlignmentMode","kind":"identifier"},{"kind":"text","text":": "},{"text":"CATextLayerAlignmentMode","kind":"typeIdentifier","preciseIdentifier":"c:@T@CATextLayerAlignmentMode"},{"text":"?","kind":"text"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction","url":"\/documentation\/greenalert\/uikit\/uialertaction","type":"topic","abstract":[{"text":"A collection of extensions for ","type":"text"},{"code":"UIAlertAction","type":"codeVoice"},{"text":".","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"UIAlertAction"}],"title":"UIAlertAction","kind":"symbol","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"identifier","text":"UIAlertAction"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller.json b/docs/data/documentation/greenalert/uikit/uialertcontroller.json index 0a19609..e7fa13b 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller.json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller.json @@ -1 +1 @@ -{"sections":[],"abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"text":".","type":"text"}],"metadata":{"modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"title":"UIAlertController","role":"symbol","symbolKind":"extension","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","kind":"identifier","preciseIdentifier":"c:objc(cs)UIAlertController"}],"externalID":"s:e:s:So17UIAlertControllerC10GreenAlertE09showBasicD0_7message10buttonText11actionStyle0J4Icon09preferreddK0014presentingViewB0ySS_S2SSo0a6ActionK0VSo0aP0CACE0L0OSgAbCE0dK0OSo06UIViewB0CSgtYaFZ","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"extendedModule":"UIKit","roleHeading":"Extended Class"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)"],"title":"Type Methods"},{"title":"Enumerations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"]]},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertController","text":"UIAlertController"}],"languages":["swift"]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/presentOnTopVC(_:animated:completion:)":{"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"presentOnTopVC","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"},{"text":", ","kind":"text"},{"text":"animated","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completion"},{"text":": (() -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"kind":"text","text":")?)"}],"title":"presentOnTopVC(_:animated:completion:)","kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/presentontopvc(_:animated:completion:)","abstract":[{"type":"text","text":"Presents the alert on the top view controller."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/addProgressBar()":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","role":"symbol","title":"addProgressBar()","abstract":[{"type":"text","text":"Adds a progress bar to the alert."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/addprogressbar()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addProgressBar","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIProgressView","text":"UIProgressView"}],"kind":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/andPresent(presentingViewController:presentionCompletion:)":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)","title":"andPresent(presentingViewController:presentionCompletion:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"andPresent","kind":"identifier"},{"text":"(","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"kind":"text","text":": (() -> ())?)"}],"abstract":[{"type":"text","text":"Presents the alert on the given view controller, or on the top view controller if none is given."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/andpresent(presentingviewcontroller:presentioncompletion:)","kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]}}} \ No newline at end of file +{"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"text":".","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertController","text":"UIAlertController"}],"languages":["swift"],"platforms":["iOS"]}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)"]},{"title":"Type Methods","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)"]},{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"],"title":"Enumerations"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"},"metadata":{"title":"UIAlertController","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertController","text":"UIAlertController","kind":"identifier"}],"extendedModule":"UIKit","externalID":"s:e:s:So17UIAlertControllerC10GreenAlertE09showBasicD0_7message10buttonText11actionStyle0J4Icon09preferreddK0014presentingViewB0ySS_S2SSo0a6ActionK0VSo0aP0CACE0L0OSgAbCE0dK0OSo06UIViewB0CSgtYaFZ","roleHeading":"Extended Class","symbolKind":"extension"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit":{"role":"collection","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","abstract":[],"kind":"symbol","title":"UIKit","url":"\/documentation\/greenalert\/uikit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/andPresent(presentingViewController:presentionCompletion:)":{"abstract":[{"text":"Presents the alert on the given view controller, or on the top view controller if none is given.","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"andPresent"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)","title":"andPresent(presentingViewController:presentionCompletion:)","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/andpresent(presentingviewcontroller:presentioncompletion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/addProgressBar()":{"abstract":[{"text":"Adds a progress bar to the alert.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addProgressBar","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"UIProgressView","preciseIdentifier":"c:objc(cs)UIProgressView","kind":"typeIdentifier"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","type":"topic","title":"addProgressBar()","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/addprogressbar()"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/presentOnTopVC(_:animated:completion:)":{"abstract":[{"text":"Presents the alert on the top view controller.","type":"text"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)","role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"presentOnTopVC","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"animated"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"completion"},{"text":": (() -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?)","kind":"text"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/presentontopvc(_:animated:completion:)","title":"presentOnTopVC(_:animated:completion:)"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/addprogressbar().json b/docs/data/documentation/greenalert/uikit/uialertcontroller/addprogressbar().json index e9d78f2..ba4a485 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/addprogressbar().json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/addprogressbar().json @@ -1 +1 @@ -{"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE14addProgressBarSo14UIProgressViewCyF","symbolKind":"method","title":"addProgressBar()","roleHeading":"Instance Method","role":"symbol","extendedModule":"UIKit","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addProgressBar","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIProgressView","text":"UIProgressView"}]},"abstract":[{"text":"Adds a progress bar to the alert.","type":"text"}],"schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/addprogressbar()"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addProgressBar","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIProgressView","text":"UIProgressView"}],"languages":["swift"]}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The progress bar that was added to the alert."}]}]}],"sections":[],"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","interfaceLanguage":"swift"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/addProgressBar()":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","role":"symbol","title":"addProgressBar()","abstract":[{"type":"text","text":"Adds a progress bar to the alert."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/addprogressbar()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"addProgressBar","kind":"identifier"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIProgressView","text":"UIProgressView"}],"kind":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"metadata":{"title":"addProgressBar()","role":"symbol","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"roleHeading":"Instance Method","externalID":"s:So17UIAlertControllerC10GreenAlertE14addProgressBarSo14UIProgressViewCyF","extendedModule":"UIKit","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"addProgressBar"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","text":"UIProgressView","preciseIdentifier":"c:objc(cs)UIProgressView"}]},"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"text":"Adds a progress bar to the alert.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/addprogressbar()"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()"},"sections":[],"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addProgressBar"},{"text":"() -> ","kind":"text"},{"text":"UIProgressView","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIProgressView"}],"platforms":["iOS"]}],"kind":"declarations"},{"kind":"content","content":[{"text":"Return Value","type":"heading","level":2,"anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"The progress bar that was added to the alert.","type":"text"}]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/addProgressBar()":{"abstract":[{"text":"Adds a progress bar to the alert.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"addProgressBar","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"UIProgressView","preciseIdentifier":"c:objc(cs)UIProgressView","kind":"typeIdentifier"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/addProgressBar()","type":"topic","title":"addProgressBar()","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/addprogressbar()"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle.json b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle.json index 4aca022..37254e0 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle.json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle.json @@ -1 +1 @@ -{"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert"],"title":"Enumeration Cases"},{"title":"Enumerations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"AlertStyle"}]}],"kind":"declarations"}],"metadata":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"title":"UIAlertController.AlertStyle","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"roleHeading":"Enumeration","symbolKind":"enum","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","extendedModule":"UIKit"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","abstract":[{"type":"text","text":"The style of the alert."}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle"]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","interfaceLanguage":"swift"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"navigatorTitle":[{"kind":"identifier","text":"Source"}],"title":"UIAlertController.AlertStyle.Source","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","role":"symbol","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/actionSheet(source:)":{"type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/actionsheet(source:)","kind":"symbol","abstract":[{"type":"text","text":"An action sheet."}],"title":"UIAlertController.AlertStyle.actionSheet(source:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"actionSheet"},{"kind":"text","text":"("},{"kind":"externalParam","text":"source"},{"text":": ","kind":"text"},{"text":"Source","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/alert":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"alert"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/alert","kind":"symbol","role":"symbol","title":"UIAlertController.AlertStyle.alert","abstract":[{"type":"text","text":"A standard alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]}}} \ No newline at end of file +{"abstract":[{"text":"The style of the alert.","type":"text"}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","interfaceLanguage":"swift"},"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["iOS"],"tokens":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"AlertStyle"}],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"roleHeading":"Enumeration","symbolKind":"enum","title":"UIAlertController.AlertStyle","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"AlertStyle"}],"role":"symbol","extendedModule":"UIKit"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert"],"title":"Enumeration Cases"},{"title":"Enumerations","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"]}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/actionSheet(source:)":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"actionSheet","kind":"identifier"},{"kind":"text","text":"("},{"text":"source","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","text":"Source"},{"text":")","kind":"text"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)","role":"symbol","title":"UIAlertController.AlertStyle.actionSheet(source:)","abstract":[{"text":"An action sheet.","type":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/actionsheet(source:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"title":"UIAlertController.AlertStyle.Source","abstract":[],"role":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","kind":"symbol","navigatorTitle":[{"text":"Source","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/alert":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert","abstract":[{"text":"A standard alert.","type":"text"}],"role":"symbol","title":"UIAlertController.AlertStyle.alert","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/alert","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"}],"type":"topic","kind":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/actionsheet(source:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/actionsheet(source:).json index ef64320..7d233a4 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/actionsheet(source:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/actionsheet(source:).json @@ -1 +1 @@ -{"metadata":{"modules":[{"name":"GreenAlert"}],"symbolKind":"case","title":"UIAlertController.AlertStyle.actionSheet(source:)","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO11actionSheetyA2E6SourceO_tcAEmF","roleHeading":"Case","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"actionSheet"},{"text":"(","kind":"text"},{"text":"source","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Source","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO"},{"kind":"text","text":")"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"actionSheet","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"source"},{"kind":"text","text":": "},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","text":"Source","kind":"typeIdentifier"},{"text":")","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"},{"parameters":[{"name":"source","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The source of the action sheet. This is required for iPads."}]}]}],"kind":"parameters"}],"abstract":[{"text":"An action sheet.","type":"text"}],"sections":[],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/actionsheet(source:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]]},"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/actionSheet(source:)":{"type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/actionsheet(source:)","kind":"symbol","abstract":[{"type":"text","text":"An action sheet."}],"title":"UIAlertController.AlertStyle.actionSheet(source:)","role":"symbol","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"actionSheet"},{"kind":"text","text":"("},{"kind":"externalParam","text":"source"},{"text":": ","kind":"text"},{"text":"Source","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","kind":"typeIdentifier"},{"kind":"text","text":")"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"navigatorTitle":[{"kind":"identifier","text":"Source"}],"title":"UIAlertController.AlertStyle.Source","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","role":"symbol","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]]},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO11actionSheetyA2E6SourceO_tcAEmF","modules":[{"name":"GreenAlert"}],"symbolKind":"case","roleHeading":"Case","title":"UIAlertController.AlertStyle.actionSheet(source:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"actionSheet","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"source"},{"kind":"text","text":": "},{"text":"Source","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO"},{"text":")","kind":"text"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"actionSheet","kind":"identifier"},{"kind":"text","text":"("},{"text":"source","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","kind":"typeIdentifier","text":"Source"},{"kind":"text","text":")"}]}]},{"kind":"parameters","parameters":[{"name":"source","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The source of the action sheet. This is required for iPads."}]}]}]}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/actionsheet(source:)"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"text","text":"An action sheet."}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/actionSheet(source:)":{"fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"actionSheet","kind":"identifier"},{"kind":"text","text":"("},{"text":"source","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","text":"Source"},{"text":")","kind":"text"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/actionSheet(source:)","role":"symbol","title":"UIAlertController.AlertStyle.actionSheet(source:)","abstract":[{"text":"An action sheet.","type":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/actionsheet(source:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"title":"UIAlertController.AlertStyle.Source","abstract":[],"role":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","kind":"symbol","navigatorTitle":[{"text":"Source","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/alert.json b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/alert.json index 937effa..380bddb 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/alert.json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/alert.json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]]},"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/alert"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert"},"metadata":{"modules":[{"name":"GreenAlert"}],"symbolKind":"case","role":"symbol","title":"UIAlertController.AlertStyle.alert","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO5alertyA2EmF","roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"}]},"abstract":[{"type":"text","text":"A standard alert."}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"}],"platforms":["iOS"]}],"kind":"declarations"}],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/alert":{"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"alert"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/alert","kind":"symbol","role":"symbol","title":"UIAlertController.AlertStyle.alert","abstract":[{"type":"text","text":"A standard alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]]},"kind":"symbol","primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"alert"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/alert"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert"},"schemaVersion":{"major":0,"minor":3,"patch":0},"abstract":[{"type":"text","text":"A standard alert."}],"metadata":{"title":"UIAlertController.AlertStyle.alert","symbolKind":"case","role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO5alertyA2EmF","modules":[{"name":"GreenAlert"}],"roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"alert","kind":"identifier"}]},"references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/alert":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/alert","abstract":[{"text":"A standard alert.","type":"text"}],"role":"symbol","title":"UIAlertController.AlertStyle.alert","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/alert","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source.json b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source.json index e4f24cb..795c45a 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source.json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source.json @@ -1 +1 @@ -{"topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)"],"title":"Enumeration Cases"}],"metadata":{"navigatorTitle":[{"text":"Source","kind":"identifier"}],"title":"UIAlertController.AlertStyle.Source","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Source","kind":"identifier"}],"externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO","roleHeading":"Enumeration","modules":[{"name":"GreenAlert"}],"symbolKind":"enum"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Source","kind":"identifier"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source"]}],"sections":[],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]]},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/barButtonItem(_:)":{"title":"UIAlertController.AlertStyle.Source.barButtonItem(_:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/barbuttonitem(_:)","type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","abstract":[{"text":"The source bar button item for the action sheet.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"barButtonItem","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIBarButtonItem","text":"UIBarButtonItem"},{"kind":"text","text":")"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"navigatorTitle":[{"kind":"identifier","text":"Source"}],"title":"UIAlertController.AlertStyle.Source","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","role":"symbol","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/view(_:_:)":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)","role":"symbol","title":"UIAlertController.AlertStyle.Source.view(_:_:)","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/view(_:_:)","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"view"},{"text":"(","kind":"text"},{"text":"UIView","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIView"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"CGRect","preciseIdentifier":"c:@S@CGRect"},{"text":")","kind":"text"}],"type":"topic","abstract":[{"type":"text","text":"The source view and rect for the action sheet."}]}}} \ No newline at end of file +{"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)"],"title":"Enumeration Cases"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"]]},"metadata":{"title":"UIAlertController.AlertStyle.Source","role":"symbol","roleHeading":"Enumeration","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"text":"Source","kind":"identifier"}],"modules":[{"name":"GreenAlert"}],"symbolKind":"enum","navigatorTitle":[{"text":"Source","kind":"identifier"}],"externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO"},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"},"schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}],"languages":["swift"],"platforms":["iOS"]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/view(_:_:)":{"abstract":[{"type":"text","text":"The source view and rect for the action sheet."}],"title":"UIAlertController.AlertStyle.Source.view(_:_:)","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/view(_:_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)","kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"view","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIView","text":"UIView","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"CGRect","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect"},{"text":")","kind":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"title":"UIAlertController.AlertStyle.Source","abstract":[],"role":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","kind":"symbol","navigatorTitle":[{"text":"Source","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/barButtonItem(_:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/barbuttonitem(_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","role":"symbol","kind":"symbol","abstract":[{"text":"The source bar button item for the action sheet.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"barButtonItem"},{"text":"(","kind":"text"},{"text":"UIBarButtonItem","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIBarButtonItem"},{"text":")","kind":"text"}],"title":"UIAlertController.AlertStyle.Source.barButtonItem(_:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/barbuttonitem(_:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/barbuttonitem(_:).json index 95366aa..30bdf6c 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/barbuttonitem(_:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/barbuttonitem(_:).json @@ -1 +1 @@ -{"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)"},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/barbuttonitem(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"barButtonItem","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"c:objc(cs)UIBarButtonItem","kind":"typeIdentifier","text":"UIBarButtonItem"},{"text":")","kind":"text"}],"languages":["swift"]}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","abstract":[{"type":"text","text":"The source bar button item for the action sheet."}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"]]},"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO13barButtonItemyAGSo05UIBarhI0CcAGmF","roleHeading":"Case","title":"UIAlertController.AlertStyle.Source.barButtonItem(_:)","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"barButtonItem","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIBarButtonItem","text":"UIBarButtonItem"},{"kind":"text","text":")"}],"modules":[{"name":"GreenAlert"}],"role":"symbol","symbolKind":"case"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/barButtonItem(_:)":{"title":"UIAlertController.AlertStyle.Source.barButtonItem(_:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/barbuttonitem(_:)","type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","abstract":[{"text":"The source bar button item for the action sheet.","type":"text"}],"fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"barButtonItem","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIBarButtonItem","text":"UIBarButtonItem"},{"kind":"text","text":")"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"navigatorTitle":[{"kind":"identifier","text":"Source"}],"title":"UIAlertController.AlertStyle.Source","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","role":"symbol","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"]]},"abstract":[{"text":"The source bar button item for the action sheet.","type":"text"}],"metadata":{"roleHeading":"Case","title":"UIAlertController.AlertStyle.Source.barButtonItem(_:)","symbolKind":"case","role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO13barButtonItemyAGSo05UIBarhI0CcAGmF","fragments":[{"kind":"keyword","text":"case"},{"text":" ","kind":"text"},{"kind":"identifier","text":"barButtonItem"},{"kind":"text","text":"("},{"text":"UIBarButtonItem","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIBarButtonItem"},{"text":")","kind":"text"}],"modules":[{"name":"GreenAlert"}]},"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"barButtonItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"UIBarButtonItem","preciseIdentifier":"c:objc(cs)UIBarButtonItem","kind":"typeIdentifier"},{"kind":"text","text":")"}]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/barbuttonitem(_:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"title":"UIAlertController.AlertStyle.Source","abstract":[],"role":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","kind":"symbol","navigatorTitle":[{"text":"Source","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/barButtonItem(_:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/barbuttonitem(_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/barButtonItem(_:)","role":"symbol","kind":"symbol","abstract":[{"text":"The source bar button item for the action sheet.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"kind":"identifier","text":"barButtonItem"},{"text":"(","kind":"text"},{"text":"UIBarButtonItem","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIBarButtonItem"},{"text":")","kind":"text"}],"title":"UIAlertController.AlertStyle.Source.barButtonItem(_:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/view(_:_:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/view(_:_:).json index 521e4b9..aa916e4 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/view(_:_:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/alertstyle/source/view(_:_:).json @@ -1 +1 @@ -{"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"]]},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"view","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"c:objc(cs)UIView","text":"UIView","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect","text":"CGRect"},{"text":" = CGRect.null)","kind":"text"}],"languages":["swift"]}]}],"metadata":{"modules":[{"name":"GreenAlert"}],"roleHeading":"Case","title":"UIAlertController.AlertStyle.Source.view(_:_:)","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"view"},{"text":"(","kind":"text"},{"text":"UIView","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIView"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect","text":"CGRect"},{"text":")","kind":"text"}],"symbolKind":"case","externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO4viewyAGSo6UIViewC_So6CGRectVtcAGmF"},"sections":[],"abstract":[{"type":"text","text":"The source view and rect for the action sheet."}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/view(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/view(_:_:)":{"type":"topic","fragments":[{"kind":"keyword","text":"case"},{"kind":"text","text":" "},{"text":"view","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIView","text":"UIView"},{"text":", ","kind":"text"},{"text":"CGRect","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect"},{"text":")","kind":"text"}],"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/view(_:_:)","abstract":[{"text":"The source view and rect for the action sheet.","type":"text"}],"title":"UIAlertController.AlertStyle.Source.view(_:_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)","role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"navigatorTitle":[{"kind":"identifier","text":"Source"}],"title":"UIAlertController.AlertStyle.Source","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","role":"symbol","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]}}} \ No newline at end of file +{"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO6SourceO4viewyAGSo6UIViewC_So6CGRectVtcAGmF","roleHeading":"Case","fragments":[{"text":"case","kind":"keyword"},{"kind":"text","text":" "},{"text":"view","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"c:objc(cs)UIView","kind":"typeIdentifier","text":"UIView"},{"text":", ","kind":"text"},{"text":"CGRect","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect"},{"text":")","kind":"text"}],"role":"symbol","title":"UIAlertController.AlertStyle.Source.view(_:_:)","modules":[{"name":"GreenAlert"}],"symbolKind":"case"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"view","kind":"identifier"},{"kind":"text","text":"("},{"text":"UIView","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIView"},{"text":", ","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CGRect","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect"},{"kind":"text","text":" = CGRect.null)"}],"languages":["swift"],"platforms":["iOS"]}]}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/view(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)"},"abstract":[{"type":"text","text":"The source view and rect for the action sheet."}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source":{"title":"UIAlertController.AlertStyle.Source","abstract":[],"role":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source","type":"topic","kind":"symbol","navigatorTitle":[{"text":"Source","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Source"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","abstract":[],"type":"topic","url":"\/documentation\/greenalert\/uikit","title":"UIKit","kind":"symbol","role":"collection"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"title":"UIAlertController.AlertStyle","abstract":[{"type":"text","text":"The style of the alert."}],"role":"symbol","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","kind":"symbol","navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"AlertStyle","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle/Source/view(_:_:)":{"abstract":[{"type":"text","text":"The source view and rect for the action sheet."}],"title":"UIAlertController.AlertStyle.Source.view(_:_:)","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle\/source\/view(_:_:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle\/Source\/view(_:_:)","kind":"symbol","role":"symbol","fragments":[{"text":"case","kind":"keyword"},{"text":" ","kind":"text"},{"text":"view","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIView","text":"UIView","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"CGRect","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGRect"},{"text":")","kind":"text"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/andpresent(presentingviewcontroller:presentioncompletion:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/andpresent(presentingviewcontroller:presentioncompletion:).json index 57e1382..625f115 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/andpresent(presentingviewcontroller:presentioncompletion:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/andpresent(presentingviewcontroller:presentioncompletion:).json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/andpresent(presentingviewcontroller:presentioncompletion:)"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"andPresent","kind":"identifier"},{"text":"(","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"presentionCompletion","kind":"externalParam"},{"kind":"text","text":": (() -> ())? = nil)"}],"languages":["swift"]}]},{"parameters":[{"name":"presentingViewController","content":[{"inlineContent":[{"text":"The view controller on which to present the alert. If left as the default ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":", the alert will be presented on the top view controller.","type":"text"}],"type":"paragraph"}]},{"name":"presentionCompletion","content":[{"inlineContent":[{"text":"The completion handler to be called when the alert is presented. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"schemaVersion":{"patch":0,"major":0,"minor":3},"sections":[],"metadata":{"roleHeading":"Instance Method","externalID":"s:So17UIAlertControllerC10GreenAlertE10andPresent014presentingViewB020presentionCompletionySo06UIViewB0CSg_yycSgtF","symbolKind":"method","role":"symbol","title":"andPresent(presentingViewController:presentionCompletion:)","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"extendedModule":"UIKit","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"andPresent","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}]},"abstract":[{"text":"Presents the alert on the given view controller, or on the top view controller if none is given.","type":"text"}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/andPresent(presentingViewController:presentionCompletion:)":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)","title":"andPresent(presentingViewController:presentionCompletion:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"andPresent","kind":"identifier"},{"text":"(","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"kind":"text","text":": (() -> ())?)"}],"abstract":[{"type":"text","text":"Presents the alert on the given view controller, or on the top view controller if none is given."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/andpresent(presentingviewcontroller:presentioncompletion:)","kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"}}} \ No newline at end of file +{"metadata":{"role":"symbol","extendedModule":"UIKit","externalID":"s:So17UIAlertControllerC10GreenAlertE10andPresent014presentingViewB020presentionCompletionySo06UIViewB0CSg_yycSgtF","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"symbolKind":"method","roleHeading":"Instance Method","title":"andPresent(presentingViewController:presentionCompletion:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"andPresent"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"kind":"text","text":": (() -> ())?)"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"andPresent","kind":"identifier"},{"text":"(","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())? = nil)","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The view controller on which to present the alert. If left as the default "},{"type":"codeVoice","code":"nil"},{"text":", the alert will be presented on the top view controller.","type":"text"}]}]},{"name":"presentionCompletion","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The completion handler to be called when the alert is presented. Default is "},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}]}]}]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/andpresent(presentingviewcontroller:presentioncompletion:)"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)"},"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"Presents the alert on the given view controller, or on the top view controller if none is given."}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/andPresent(presentingViewController:presentionCompletion:)":{"abstract":[{"text":"Presents the alert on the given view controller, or on the top view controller if none is given.","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"andPresent"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/andPresent(presentingViewController:presentionCompletion:)","title":"andPresent(presentingViewController:presentionCompletion:)","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/andpresent(presentingviewcontroller:presentioncompletion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/presentontopvc(_:animated:completion:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/presentontopvc(_:animated:completion:).json index a48af4f..3670d24 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/presentontopvc(_:animated:completion:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/presentontopvc(_:animated:completion:).json @@ -1 +1 @@ -{"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE14presentOnTopVC_8animated10completionyAB_SbyycSgtFZ","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"presentOnTopVC","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"c:objc(cs)UIAlertController","kind":"typeIdentifier","text":"UIAlertController"},{"text":", ","kind":"text"},{"text":"animated","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completion"},{"text":": (() -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"text":")?)","kind":"text"}],"extendedModule":"UIKit","symbolKind":"method","roleHeading":"Type Method","title":"presentOnTopVC(_:animated:completion:)","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"role":"symbol"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/presentontopvc(_:animated:completion:)"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"abstract":[{"text":"Presents the alert on the top view controller.","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"presentOnTopVC","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"alertController","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertController","text":"UIAlertController","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"animated","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":" = true, ","kind":"text"},{"text":"completion","kind":"externalParam"},{"kind":"text","text":": (() -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")? = nil)","kind":"text"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The alert controller to be presented."}]}],"name":"alertController"},{"name":"animated","content":[{"inlineContent":[{"text":"Whether to animate the presentation. Default is ","type":"text"},{"code":"true","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"The completion handler to be called when the alert is presented. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"completion"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"title":"UIKit","url":"\/documentation\/greenalert\/uikit","type":"topic","role":"collection","kind":"symbol","abstract":[],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/presentOnTopVC(_:animated:completion:)":{"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"presentOnTopVC","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"},{"text":", ","kind":"text"},{"text":"animated","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completion"},{"text":": (() -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","kind":"typeIdentifier","text":"Void"},{"kind":"text","text":")?)"}],"title":"presentOnTopVC(_:animated:completion:)","kind":"symbol","role":"symbol","type":"topic","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/presentontopvc(_:animated:completion:)","abstract":[{"type":"text","text":"Presents the alert on the top view controller."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UIAlertController"}],"kind":"symbol","title":"UIAlertController","abstract":[{"type":"text","text":"A collection of async\/await extensions for "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","role":"symbol","fragments":[{"text":"extension","kind":"keyword"},{"text":" ","kind":"text"},{"text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController","kind":"identifier"}]}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","sections":[],"metadata":{"symbolKind":"method","roleHeading":"Type Method","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"title":"presentOnTopVC(_:animated:completion:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"presentOnTopVC"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"},{"text":", ","kind":"text"},{"text":"animated","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"completion","kind":"externalParam"},{"text":": (() -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")?)","kind":"text"}],"role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE14presentOnTopVC_8animated10completionyAB_SbyycSgtFZ","extendedModule":"UIKit"},"abstract":[{"type":"text","text":"Presents the alert on the top view controller."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/presentontopvc(_:animated:completion:)"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"presentOnTopVC","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"alertController"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertController","kind":"typeIdentifier","text":"UIAlertController"},{"kind":"text","text":", "},{"text":"animated","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":" = true, "},{"kind":"externalParam","text":"completion"},{"text":": (() -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")? = nil)","kind":"text"}]}]},{"kind":"parameters","parameters":[{"name":"alertController","content":[{"type":"paragraph","inlineContent":[{"text":"The alert controller to be presented.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"Whether to animate the presentation. Default is "},{"code":"true","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"animated"},{"name":"completion","content":[{"inlineContent":[{"type":"text","text":"The completion handler to be called when the alert is presented. Default is "},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]}]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController"]]},"references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit","title":"UIKit","role":"collection","url":"\/documentation\/greenalert\/uikit","abstract":[],"kind":"symbol","type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/presentOnTopVC(_:animated:completion:)":{"abstract":[{"text":"Presents the alert on the top view controller.","type":"text"}],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/presentOnTopVC(_:animated:completion:)","role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"presentOnTopVC","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"animated"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"completion"},{"text":": (() -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")?)","kind":"text"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/presentontopvc(_:animated:completion:)","title":"presentOnTopVC(_:animated:completion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller","kind":"symbol","title":"UIAlertController","role":"symbol","fragments":[{"kind":"keyword","text":"extension"},{"text":" ","kind":"text"},{"kind":"identifier","text":"UIAlertController","preciseIdentifier":"c:objc(cs)UIAlertController"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController","type":"topic","navigatorTitle":[{"text":"UIAlertController","kind":"identifier"}],"abstract":[{"text":"A collection of async\/await extensions for ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":"."}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:).json index 3a4cea6..be8c595 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:).json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)"},"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"seeAlsoSections":[{"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"],"generated":true}],"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE09showBasicD0_7message10buttonText11actionStyle0J4Icon09preferreddK0014presentingViewB0ySS_S2SSo0a6ActionK0VSo0aP0CACE0L0OSgAbCE0dK0OSo06UIViewB0CSgtYaFZ","role":"symbol","roleHeading":"Type Method","symbolKind":"method","extendedModule":"UIKit","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"async"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showBasicAlert","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":" = \"OK\", "},{"text":"actionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":" = .default, ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil) ","kind":"text"},{"text":"async","kind":"keyword"}],"languages":["swift"],"platforms":["iOS"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"The title of the alert.","type":"text"}],"type":"paragraph"}],"name":"title"},{"name":"message","content":[{"type":"paragraph","inlineContent":[{"text":"The message of the alert.","type":"text"}]}]},{"content":[{"inlineContent":[{"text":"The text of the button. Default is “OK”.","type":"text"}],"type":"paragraph"}],"name":"buttonText"},{"name":"actionStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the button. Default is "},{"code":".default","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"actionIcon","content":[{"inlineContent":[{"type":"text","text":"The icon of the button. Default is "},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}],"type":"paragraph"}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"code":".alert","type":"codeVoice"},{"type":"text","text":"."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":", the alert will be presented on the top view controller.","type":"text"}]}],"name":"presentingViewController"}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)"]}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showBasicAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with custom actions."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"text":": ((","kind":"text"},{"text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField","kind":"typeIdentifier"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with “OK” and “Cancel” buttons."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelActionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"}}} \ No newline at end of file +{"sections":[],"seeAlsoSections":[{"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"],"generated":true}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)"]}],"abstract":[{"type":"text","text":"Shows a basic alert with a single “OK” button."}],"metadata":{"extendedModule":"UIKit","externalID":"s:So17UIAlertControllerC10GreenAlertE09showBasicD0_7message10buttonText11actionStyle0J4Icon09preferreddK0014presentingViewB0ySS_S2SSo0a6ActionK0VSo0aP0CACE0L0OSgAbCE0dK0OSo06UIViewB0CSgtYaFZ","roleHeading":"Type Method","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","symbolKind":"method","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"role":"symbol","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}]},"schemaVersion":{"major":0,"minor":3,"patch":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showBasicAlert","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = \"OK\", ","kind":"text"},{"text":"actionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"kind":"text","text":" = .default, "},{"text":"actionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"},{"kind":"text","text":"? = nil, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","text":"AlertStyle"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil) ","kind":"text"},{"text":"async","kind":"keyword"}],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"content":[{"inlineContent":[{"text":"The title of the alert.","type":"text"}],"type":"paragraph"}],"name":"title"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The message of the alert."}]}],"name":"message"},{"name":"buttonText","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the button. Default is “OK”."}]}]},{"name":"actionStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the button. Default is "},{"code":".default","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"actionIcon","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The icon of the button. Default is "},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}]}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"code":".alert","type":"codeVoice"},{"type":"text","text":"."}]}]},{"content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":", the alert will be presented on the top view controller."}],"type":"paragraph"}],"name":"presentingViewController"}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"name":"See Also","style":"note","content":[{"inlineContent":[{"type":"text","text":""},{"isActive":true,"type":"reference","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"},{"type":"text","text":", the callback-based version of this method."}],"type":"paragraph"}],"type":"aside"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","abstract":[{"type":"text","text":"Shows a basic alert with a single “OK” button."}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"role":"symbol","type":"topic","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"role":"symbol","type":"topic","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:).json index f0d0866..060f364 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:).json @@ -1 +1 @@ -{"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)"]}],"seeAlsoSections":[{"title":"Presenting alerts (with completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"],"generated":true}],"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" = \"OK\", "},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":" = .default, "},{"kind":"externalParam","text":"actionIcon"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"? = nil, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())? = nil)","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"title","content":[{"inlineContent":[{"text":"The title of the alert.","type":"text"}],"type":"paragraph"}]},{"name":"message","content":[{"inlineContent":[{"text":"The message of the alert.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the button. Default is “OK”."}]}],"name":"buttonText"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The style of the button. Default is ","type":"text"},{"code":".default","type":"codeVoice"},{"type":"text","text":"."}]}],"name":"actionStyle"},{"name":"actionIcon","content":[{"type":"paragraph","inlineContent":[{"text":"The icon of the button. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"preferredAlertStyle"},{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default "},{"type":"codeVoice","code":"nil"},{"type":"text","text":", the alert will be presented on the top view controller."}]}]},{"content":[{"inlineContent":[{"text":"The callback to be called when the button is tapped. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":", meaning nothing happens when the button is tapped."}],"type":"paragraph"}],"name":"callback"}]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"metadata":{"symbolKind":"method","extendedModule":"UIKit","externalID":"s:So17UIAlertControllerC10GreenAlertE09showBasicD0_7message10buttonText11actionStyle0J4Icon09preferreddK0014presentingViewB08callbackySS_S2SSo0a6ActionK0VSo0aQ0CACE0L0OSgAbCE0dK0OSo06UIViewB0CSgyycSgtFZ","role":"symbol","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","roleHeading":"Type Method","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showBasicAlert","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"actionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"?, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": (() -> ())?)"}],"modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}]},"sections":[],"schemaVersion":{"minor":3,"patch":0,"major":0},"references":{"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"confirmed","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","kind":"symbol","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"kind":"text","text":": (("},{"text":"UITextField","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"text":"presentionCompletion","kind":"externalParam"},{"kind":"text","text":": (() -> ())?)"}],"abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"}}} \ No newline at end of file +{"metadata":{"modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"symbolKind":"method","externalID":"s:So17UIAlertControllerC10GreenAlertE09showBasicD0_7message10buttonText11actionStyle0J4Icon09preferreddK0014presentingViewB08callbackySS_S2SSo0a6ActionK0VSo0aQ0CACE0L0OSgAbCE0dK0OSo06UIViewB0CSgyycSgtFZ","role":"symbol","roleHeading":"Type Method","extendedModule":"UIKit","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showBasicAlert","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"actionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"title"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"buttonText"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" = \"OK\", ","kind":"text"},{"text":"actionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":" = .default, ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"},{"kind":"text","text":"? = nil, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"AlertStyle","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"callback"},{"text":": (() -> ())? = nil)","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The title of the alert."}],"type":"paragraph"}],"name":"title"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The message of the alert.","type":"text"}]}],"name":"message"},{"name":"buttonText","content":[{"inlineContent":[{"text":"The text of the button. Default is “OK”.","type":"text"}],"type":"paragraph"}]},{"name":"actionStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the button. Default is "},{"type":"codeVoice","code":".default"},{"text":".","type":"text"}]}]},{"name":"actionIcon","content":[{"type":"paragraph","inlineContent":[{"text":"The icon of the button. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}]}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"type":"codeVoice","code":".alert"},{"text":".","type":"text"}]}]},{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":", the alert will be presented on the top view controller."}]}]},{"name":"callback","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The callback to be called when the button is tapped. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":", meaning nothing happens when the button is tapped."}]}]}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","level":2,"text":"Discussion"},{"name":"See Also","type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"reference","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","isActive":true},{"text":", the async\/await version of this method.","type":"text"}]}]}]}],"sections":[],"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","interfaceLanguage":"swift"},"seeAlsoSections":[{"title":"Presenting alerts (with completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"],"generated":true}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showCustomAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"], "},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField","kind":"typeIdentifier"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"role":"symbol","type":"topic","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","abstract":[{"type":"text","text":"Shows a basic alert with a single “OK” button."}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:).json index d3495bf..1abd90c 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:).json @@ -1 +1 @@ -{"seeAlsoSections":[{"generated":true,"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"metadata":{"roleHeading":"Type Method","role":"symbol","symbolKind":"method","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","extendedModule":"UIKit","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showCustomAlert","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"text":"preferredActionIndex","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"kind":"text","text":") -> ())?, "},{"kind":"externalParam","text":"contentViewController"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"}],"externalID":"s:So17UIAlertControllerC10GreenAlertE010showCustomD0_7message7actions20preferredActionIndex29textFieldConfigurationHandler011contentViewB00iD5Style010presentingqB0ySS_SSSgSaySo0aJ0CGSiSgySo06UITextM0CcSgSo06UIViewB0CSgAbCE0dR0OAVtYaFZ"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showCustomAlert"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"text":"preferredActionIndex","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"text":"UITextField","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())? = nil, ","kind":"text"},{"kind":"externalParam","text":"contentViewController"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil) ","kind":"text"},{"text":"async","kind":"keyword"}],"languages":["swift"]}]},{"parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The title of the alert."}],"type":"paragraph"}],"name":"title"},{"name":"message","content":[{"type":"paragraph","inlineContent":[{"text":"The message of the alert.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The actions to be displayed in the alert."}],"type":"paragraph"}],"name":"actions"},{"name":"preferredActionIndex","content":[{"type":"paragraph","inlineContent":[{"text":"Allows you to specify which action should be the preferred action. This information is passed to the ","type":"text"},{"code":"UIAlertController","type":"codeVoice"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"textFieldConfigurationHandler","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If not "},{"type":"codeVoice","code":"nil"},{"text":", the alert will contain a text field with the given configuration. Default is ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}]}]},{"content":[{"inlineContent":[{"text":"A view controller to be displayed in the alert. Default is ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"contentViewController"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The style of the alert. Default is ","type":"text"},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}]}],"name":"preferredAlertStyle"},{"name":"presentingViewController","content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":", the alert will be presented on the top view controller.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"}],"kind":"symbol","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","interfaceLanguage":"swift"},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with “OK” and “Cancel” buttons."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelActionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showBasicAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with custom actions."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"text":": ((","kind":"text"},{"text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField","kind":"typeIdentifier"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]}}} \ No newline at end of file +{"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)"]}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"title"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":"? = nil, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UITextField","kind":"typeIdentifier","text":"UITextField"},{"text":") -> ())? = nil, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":" = .alert, ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"? = nil) "},{"kind":"keyword","text":"async"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"type":"text","text":"The title of the alert."}],"type":"paragraph"}],"name":"title"},{"name":"message","content":[{"inlineContent":[{"text":"The message of the alert.","type":"text"}],"type":"paragraph"}]},{"name":"actions","content":[{"inlineContent":[{"type":"text","text":"The actions to be displayed in the alert."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"Allows you to specify which action should be the preferred action. This information is passed to the ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"preferredActionIndex"},{"name":"textFieldConfigurationHandler","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If not "},{"code":"nil","type":"codeVoice"},{"text":", the alert will contain a text field with the given configuration. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}]}]},{"name":"contentViewController","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A view controller to be displayed in the alert. Default is "},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}]}]},{"name":"preferredAlertStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"type":"codeVoice","code":".alert"},{"text":".","type":"text"}],"type":"paragraph"}]},{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default "},{"code":"nil","type":"codeVoice"},{"text":", the alert will be presented on the top view controller.","type":"text"}]}]}]},{"kind":"content","content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"type":"reference","isActive":true,"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},{"text":", the callback-based version of this method.","type":"text"}]}],"type":"aside","style":"note","name":"See Also"}]}],"kind":"symbol","seeAlsoSections":[{"title":"Presenting alerts (with async\/await)","generated":true,"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"]}],"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"abstract":[{"type":"text","text":"Shows an alert with custom actions."}],"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE010showCustomD0_7message7actions20preferredActionIndex29textFieldConfigurationHandler011contentViewB00iD5Style010presentingqB0ySS_SSSgSaySo0aJ0CGSiSgySo06UITextM0CcSgSo06UIViewB0CSgAbCE0dR0OAVtYaFZ","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"text":"async","kind":"keyword"}],"modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"extendedModule":"UIKit","symbolKind":"method","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","roleHeading":"Type Method","role":"symbol"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showCustomAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"], "},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField","kind":"typeIdentifier"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"role":"symbol","type":"topic","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","abstract":[{"type":"text","text":"Shows a basic alert with a single “OK” button."}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}]}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:).json index 2acb8b3..37ea201 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:).json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"seeAlsoSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"],"generated":true,"title":"Presenting alerts (with completion callbacks)"}],"metadata":{"role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE010showCustomD0_7message7actions20preferredActionIndex29textFieldConfigurationHandler011contentViewB00iD5Style010presentingqB020presentionCompletionySS_SSSgSaySo0aJ0CGSiSgySo06UITextM0CcSgSo06UIViewB0CSgAbCE0dR0OAWyycSgtFZ","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"extendedModule":"UIKit","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","roleHeading":"Type Method","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"text":": ((","kind":"text"},{"text":"UITextField","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"kind":"text","text":": (() -> ())?)"}],"symbolKind":"method"},"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"text":"title","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? = nil, "},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"kind":"text","text":": (("},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField"},{"text":") -> ())? = nil, ","kind":"text"},{"kind":"externalParam","text":"contentViewController"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"typeIdentifier","text":"AlertStyle"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())? = nil)","kind":"text"}]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title of the alert."}]}],"name":"title"},{"content":[{"inlineContent":[{"type":"text","text":"The message of the alert."}],"type":"paragraph"}],"name":"message"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The actions to be displayed in the alert."}]}],"name":"actions"},{"content":[{"inlineContent":[{"type":"text","text":"Allows you to specify which action should be the preferred action. This information is passed to the "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"preferredActionIndex"},{"name":"textFieldConfigurationHandler","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If not "},{"type":"codeVoice","code":"nil"},{"type":"text","text":", the alert will contain a text field with the given configuration. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]}]},{"name":"contentViewController","content":[{"type":"paragraph","inlineContent":[{"text":"A view controller to be displayed in the alert. Default is ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":".","type":"text"}]}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"type":"codeVoice","code":".alert"},{"text":".","type":"text"}]}]},{"name":"presentingViewController","content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":", the alert will be presented on the top view controller."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The completion handler to be called when the alert is presented. Default is ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]}],"name":"presentionCompletion"}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)"]}],"abstract":[{"type":"text","text":"Shows an alert with custom actions."}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","kind":"symbol","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"kind":"text","text":": (("},{"text":"UITextField","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"text":"presentionCompletion","kind":"externalParam"},{"kind":"text","text":": (() -> ())?)"}],"abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"confirmed","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic"}}} \ No newline at end of file +{"metadata":{"symbolKind":"method","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"actions"},{"kind":"text","text":": ["},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField","kind":"typeIdentifier"},{"kind":"text","text":") -> ())?, "},{"kind":"externalParam","text":"contentViewController"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"kind":"text","text":": (() -> ())?)"}],"roleHeading":"Type Method","role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE010showCustomD0_7message7actions20preferredActionIndex29textFieldConfigurationHandler011contentViewB00iD5Style010presentingqB020presentionCompletionySS_SSSgSaySo0aJ0CGSiSgySo06UITextM0CcSgSo06UIViewB0CSgAbCE0dR0OAWyycSgtFZ","extendedModule":"UIKit","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}]},"abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showCustomAlert","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"title"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"? = nil, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())? = nil, ","kind":"text"},{"kind":"externalParam","text":"contentViewController"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","text":"AlertStyle"},{"text":" = .alert, ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())? = nil)","kind":"text"}],"platforms":["iOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"text":"The title of the alert.","type":"text"}]}]},{"name":"message","content":[{"inlineContent":[{"text":"The message of the alert.","type":"text"}],"type":"paragraph"}]},{"name":"actions","content":[{"inlineContent":[{"type":"text","text":"The actions to be displayed in the alert."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Allows you to specify which action should be the preferred action. This information is passed to the "},{"type":"codeVoice","code":"UIAlertController"},{"text":" instance, which will then give the action more visual prominence. Default is ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]}],"name":"preferredActionIndex"},{"content":[{"inlineContent":[{"text":"If not ","type":"text"},{"type":"codeVoice","code":"nil"},{"type":"text","text":", the alert will contain a text field with the given configuration. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"textFieldConfigurationHandler"},{"name":"contentViewController","content":[{"inlineContent":[{"text":"A view controller to be displayed in the alert. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"code":".alert","type":"codeVoice"},{"type":"text","text":"."}]}]},{"content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":", the alert will be presented on the top view controller.","type":"text"}],"type":"paragraph"}],"name":"presentingViewController"},{"name":"presentionCompletion","content":[{"inlineContent":[{"type":"text","text":"The completion handler to be called when the alert is presented. Default is "},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"discussion","text":"Discussion"},{"style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","isActive":true,"type":"reference"},{"text":", the async\/await version of this method.","type":"text"}]}],"name":"See Also"}]}],"kind":"symbol","identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","interfaceLanguage":"swift"},"seeAlsoSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"],"generated":true,"title":"Presenting alerts (with completion callbacks)"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"sections":[],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showCustomAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"], "},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField","kind":"typeIdentifier"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"role":"symbol","type":"topic","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json index 3ba226c..a316b12 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json @@ -1 +1 @@ -{"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","interfaceLanguage":"swift"},"seeAlsoSections":[{"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"],"generated":true}],"sections":[],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" = \"Cancel\", ","kind":"text"},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":" = .cancel, ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","text":"Icon"},{"text":"? = nil, ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" = \"OK\", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":" = .default, ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","text":"ActionType"},{"text":" = .cancel, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":" = .alert, "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"? = nil) "},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title of the alert."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The message of the alert.","type":"text"}]}],"name":"message"},{"name":"cancelButtonText","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the cancel button. Default is "},{"code":".cancel","type":"codeVoice"},{"text":".","type":"text"}]}],"name":"cancelActionStyle"},{"content":[{"inlineContent":[{"text":"The icon of the cancel button. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"cancelActionIcon"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the OK button. Default is “OK”."}]}],"name":"okButtonText"},{"name":"okActionStyle","content":[{"type":"paragraph","inlineContent":[{"text":"The style of the OK button. Default is ","type":"text"},{"code":".default","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"okActionIcon","content":[{"inlineContent":[{"text":"The icon of the OK button. Default is ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"The preferred action. This information is passed to the "},{"type":"codeVoice","code":"UIAlertController"},{"text":" instance, which will then give the action more visual prominence. Default is ","type":"text"},{"type":"codeVoice","code":".cancel"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"preferredAction"},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}]}]},{"name":"presentingViewController","content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"type":"codeVoice","code":"nil"},{"text":", the alert will be presented on the top view controller.","type":"text"}],"type":"paragraph"}]}]},{"content":[{"level":2,"type":"heading","text":"Return Value","anchor":"return-value"},{"inlineContent":[{"text":"A boolean indicating whether the OK button (true) or the Cancel button (false) was tapped.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"]}],"abstract":[{"type":"text","text":"Shows an alert with “OK” and “Cancel” buttons."}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE012showOKCancelD0_7message16cancelButtonText0H11ActionStyle0hK4Icon02okiJ00nkL00nkM009preferredK00odL0014presentingViewB0SbSS_S2SSo0akL0VSo0aK0CACE0M0OSgSSApurCE0K4TypeOAbCE0dL0OSo06UIViewB0CSgtYaFZ","role":"symbol","roleHeading":"Type Method","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showOKCancelAlert","kind":"identifier"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"text":" -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"extendedModule":"UIKit","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","symbolKind":"method"},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showBasicAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with custom actions."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showCustomAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":"?, "},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"text":": ((","kind":"text"},{"text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField","kind":"typeIdentifier"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"type":"text","text":"Shows an alert with “OK” and “Cancel” buttons."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelActionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"}}} \ No newline at end of file +{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"]}],"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","interfaceLanguage":"swift"},"metadata":{"symbolKind":"method","roleHeading":"Type Method","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","externalID":"s:So17UIAlertControllerC10GreenAlertE012showOKCancelD0_7message16cancelButtonText0H11ActionStyle0hK4Icon02okiJ00nkL00nkM009preferredK00odL0014presentingViewB0SbSS_S2SSo0akL0VSo0aK0CACE0M0OSgSSApurCE0K4TypeOAbCE0dL0OSo06UIViewB0CSgtYaFZ","extendedModule":"UIKit","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"text":" -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"role":"symbol"},"seeAlsoSections":[{"generated":true,"title":"Presenting alerts (with async\/await)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)"]}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"title"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = \"Cancel\", ","kind":"text"},{"kind":"externalParam","text":"cancelActionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"kind":"text","text":" = .cancel, "},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"okButtonText"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" = \"OK\", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":" = .default, ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType"},{"kind":"text","text":" = .cancel, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"typeIdentifier"},{"text":" = .alert, ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"? = nil) "},{"kind":"keyword","text":"async"},{"kind":"text","text":" -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"text":"The title of the alert.","type":"text"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The message of the alert."}]}],"name":"message"},{"name":"cancelButtonText","content":[{"inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}],"type":"paragraph"}]},{"name":"cancelActionStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the cancel button. Default is "},{"code":".cancel","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"cancelActionIcon","content":[{"inlineContent":[{"type":"text","text":"The icon of the cancel button. Default is "},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"okButtonText","content":[{"type":"paragraph","inlineContent":[{"text":"The text of the OK button. Default is “OK”.","type":"text"}]}]},{"name":"okActionStyle","content":[{"inlineContent":[{"text":"The style of the OK button. Default is ","type":"text"},{"type":"codeVoice","code":".default"},{"text":".","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}]}],"name":"okActionIcon"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The preferred action. This information is passed to the ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"text":" instance, which will then give the action more visual prominence. Default is ","type":"text"},{"code":".cancel","type":"codeVoice"},{"text":".","type":"text"}]}],"name":"preferredAction"},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"text":"The style of the alert. Default is ","type":"text"},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}]}]},{"name":"presentingViewController","content":[{"inlineContent":[{"type":"text","text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default "},{"type":"codeVoice","code":"nil"},{"type":"text","text":", the alert will be presented on the top view controller."}],"type":"paragraph"}]}]},{"content":[{"text":"Return Value","type":"heading","anchor":"return-value","level":2},{"inlineContent":[{"type":"text","text":"A boolean indicating whether the OK button (true) or the Cancel button (false) was tapped."}],"type":"paragraph"}],"kind":"content"},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"type":"aside","name":"See Also","style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"type":"reference","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","isActive":true},{"type":"text","text":", the callback-based version of this method."}]}]}]}],"sections":[],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"role":"symbol","type":"topic","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)":{"kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:)","type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","role":"symbol","abstract":[{"type":"text","text":"Shows a basic alert with a single “OK” button."}],"title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"buttonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)":{"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:)","type":"topic","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"actions"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"preferredActionIndex"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","kind":"typeIdentifier","text":"Int"},{"text":"?, ","kind":"text"},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"text":": ((","kind":"text"},{"kind":"typeIdentifier","text":"UITextField","preciseIdentifier":"c:objc(cs)UITextField"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json index 6b8ebfd..16f0654 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json @@ -1 +1 @@ -{"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"seeAlsoSections":[{"generated":true,"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"],"title":"Presenting alerts (with completion callbacks)"}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","interfaceLanguage":"swift"},"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"sections":[],"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"role":"symbol","roleHeading":"Type Method","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"symbolKind":"method","externalID":"s:So17UIAlertControllerC10GreenAlertE012showOKCancelD0_7message16cancelButtonText0H11ActionStyle0hK4Icon02okiJ00nkL00nkM009preferredK00odL0014presentingViewB08callbackySS_S2SSo0akL0VSo0aK0CACE0M0OSgSSAqvsCE0K4TypeOAbCE0dL0OSo06UIViewB0CSgySbctFZ","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") -> ())","kind":"text"}],"extendedModule":"UIKit","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"title"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" = \"Cancel\", ","kind":"text"},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":" = .cancel, ","kind":"text"},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"? = nil, ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" = \"OK\", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":" = .default, "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier"},{"kind":"text","text":"? = nil, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":" = .cancel, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":" = .alert, ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"attribute","text":"@escaping"},{"kind":"text","text":" ("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":") -> ())"}],"platforms":["iOS"],"languages":["swift"]}]},{"parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title of the alert."}]}]},{"content":[{"inlineContent":[{"text":"The message of the alert.","type":"text"}],"type":"paragraph"}],"name":"message"},{"name":"cancelButtonText","content":[{"inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}],"type":"paragraph"}]},{"name":"cancelActionStyle","content":[{"type":"paragraph","inlineContent":[{"text":"The style of the cancel button. Default is ","type":"text"},{"type":"codeVoice","code":".cancel"},{"text":".","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"text","text":"The icon of the cancel button. Default is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"cancelActionIcon"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the OK button. Default is “OK”."}]}],"name":"okButtonText"},{"content":[{"inlineContent":[{"type":"text","text":"The style of the OK button. Default is "},{"code":".default","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"okActionStyle"},{"name":"okActionIcon","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]}]},{"name":"preferredAction","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The preferred action. This information is passed to the "},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"type":"codeVoice","code":".cancel"},{"type":"text","text":"."}]}]},{"name":"preferredAlertStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":", the alert will be presented on the top view controller.","type":"text"}]}]},{"name":"callback","content":[{"inlineContent":[{"type":"text","text":"The callback to be called, with a boolean indicating whether the OK button (true) or the Cancel button (false) was tapped."}],"type":"paragraph"}]}],"kind":"parameters"}],"kind":"symbol","references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"callback"},{"kind":"text","text":": ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"confirmed","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","kind":"symbol","title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showCustomAlert"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":"], ","kind":"text"},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"textFieldConfigurationHandler"},{"kind":"text","text":": (("},{"text":"UITextField","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UITextField"},{"text":") -> ())?, ","kind":"text"},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?, ","kind":"text"},{"text":"presentionCompletion","kind":"externalParam"},{"kind":"text","text":": (() -> ())?)"}],"abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","kind":"symbol","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"text":"actionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"type":"topic"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]}}} \ No newline at end of file +{"abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"title","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":" = \"Cancel\", "},{"kind":"externalParam","text":"cancelActionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":" = .cancel, "},{"text":"cancelActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"},{"kind":"text","text":"? = nil, "},{"kind":"externalParam","text":"okButtonText"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" = \"OK\", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":" = .default, "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"text":"? = nil, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType"},{"kind":"text","text":" = .cancel, "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"attribute","text":"@escaping"},{"text":" (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"confirmed","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":") -> ())"}]}]},{"kind":"parameters","parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"text":"The title of the alert.","type":"text"}]}]},{"name":"message","content":[{"inlineContent":[{"type":"text","text":"The message of the alert."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}]}],"name":"cancelButtonText"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The style of the cancel button. Default is ","type":"text"},{"type":"codeVoice","code":".cancel"},{"type":"text","text":"."}]}],"name":"cancelActionStyle"},{"name":"cancelActionIcon","content":[{"inlineContent":[{"type":"text","text":"The icon of the cancel button. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"text":"The text of the OK button. Default is “OK”.","type":"text"}],"type":"paragraph"}],"name":"okButtonText"},{"name":"okActionStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the OK button. Default is "},{"type":"codeVoice","code":".default"},{"text":".","type":"text"}]}]},{"name":"okActionIcon","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"code":"nil","type":"codeVoice"},{"type":"text","text":"."}]}]},{"name":"preferredAction","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The preferred action. This information is passed to the "},{"code":"UIAlertController","type":"codeVoice"},{"text":" instance, which will then give the action more visual prominence. Default is ","type":"text"},{"code":".cancel","type":"codeVoice"},{"type":"text","text":"."}]}]},{"name":"preferredAlertStyle","content":[{"inlineContent":[{"text":"The style of the alert. Default is ","type":"text"},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default "},{"code":"nil","type":"codeVoice"},{"type":"text","text":", the alert will be presented on the top view controller."}]}]},{"name":"callback","content":[{"inlineContent":[{"text":"The callback to be called, with a boolean indicating whether the OK button (true) or the Cancel button (false) was tapped.","type":"text"}],"type":"paragraph"}]}]},{"content":[{"text":"Discussion","anchor":"discussion","type":"heading","level":2},{"content":[{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"isActive":true,"type":"reference","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},{"text":", the async\/await version of this method.","type":"text"}]}],"style":"note","type":"aside","name":"See Also"}],"kind":"content"}],"metadata":{"externalID":"s:So17UIAlertControllerC10GreenAlertE012showOKCancelD0_7message16cancelButtonText0H11ActionStyle0hK4Icon02okiJ00nkL00nkM009preferredK00odL0014presentingViewB08callbackySS_S2SSo0akL0VSo0aK0CACE0M0OSgSSAqvsCE0K4TypeOAbCE0dL0OSo06UIViewB0CSgySbctFZ","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","extendedModule":"UIKit","role":"symbol","roleHeading":"Type Method","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"confirmed"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"text":") -> ())","kind":"text"}],"symbolKind":"method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"sections":[],"kind":"symbol","seeAlsoSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"],"generated":true,"title":"Presenting alerts (with completion callbacks)"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showOKCancelAlert","kind":"identifier"},{"kind":"text","text":"("},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"role":"symbol","type":"topic","title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showcustomalert(_:message:actions:preferredactionindex:textfieldconfigurationhandler:contentviewcontroller:preferredalertstyle:presentingviewcontroller:presentioncompletion:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with custom actions.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showCustomAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"actions","kind":"externalParam"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"], "},{"text":"preferredActionIndex","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?, "},{"text":"textFieldConfigurationHandler","kind":"externalParam"},{"kind":"text","text":": (("},{"preciseIdentifier":"c:objc(cs)UITextField","text":"UITextField","kind":"typeIdentifier"},{"kind":"text","text":") -> ())?, "},{"text":"contentViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"presentionCompletion"},{"text":": (() -> ())?)","kind":"text"}],"title":"showCustomAlert(_:message:actions:preferredActionIndex:textFieldConfigurationHandler:contentViewController:preferredAlertStyle:presentingViewController:presentionCompletion:)"},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showokcancelalert(_:message:cancelbuttontext:cancelactionstyle:cancelactionicon:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows an alert with “OK” and “Cancel” buttons.","type":"text"}],"type":"topic","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showOKCancelAlert"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"cancelActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"confirmed"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":") -> ())","kind":"text"}],"title":"showOKCancelAlert(_:message:cancelButtonText:cancelActionStyle:cancelActionIcon:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showbasicalert(_:message:buttontext:actionstyle:actionicon:preferredalertstyle:presentingviewcontroller:callback:)","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showBasicAlert"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"buttonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"actionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"actionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (() -> ())?)","kind":"text"}],"role":"symbol","type":"topic","title":"showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a basic alert with a single “OK” button.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showBasicAlert(_:message:buttonText:actionStyle:actionIcon:preferredAlertStyle:presentingViewController:callback:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json index 9006e83..bc92659 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:).json @@ -1 +1 @@ -{"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"roleHeading":"Type Method","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"extendedModule":"UIKit","title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","symbolKind":"method","role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE18showPromptForValue_7message10presetText11placeHolder12keyboardType012cancelButtonK002okqK00R11ActionStyle0rS4Icon09preferredS00vdT0014presentingViewB0SSSgSS_S3SSo010UIKeyboardO0VS2SSo0asT0VSo0aS0CACE0U0OSgAvCE0sO0OAbCE0dT0OSo06UIViewB0CSgtYaFZ","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presetText"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"placeHolder","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType"},{"kind":"text","text":", "},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"?) ","kind":"text"},{"kind":"keyword","text":"async"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?","kind":"text"}]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"]}],"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"kind":"internalParam","text":"title"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presetText"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" = \"\", "},{"kind":"externalParam","text":"placeHolder"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = \"\", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":" = .asciiCapable, ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" = \"Cancel\", ","kind":"text"},{"kind":"externalParam","text":"okButtonText"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":" = \"OK\", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style"},{"text":" = .default, ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"? = nil, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"typeIdentifier","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"text":" = .cancel, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":" = .alert, "},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil) ","kind":"text"},{"text":"async","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"},{"parameters":[{"name":"title","content":[{"type":"paragraph","inlineContent":[{"text":"The title of the prompt.","type":"text"}]}]},{"name":"message","content":[{"inlineContent":[{"type":"text","text":"The message of the prompt."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"text":"The text to be pre-filled in the text field. Default is an empty string.","type":"text"}]}],"name":"presetText"},{"name":"placeHolder","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The placeholder of the text field. Default is an empty string."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The keyboard type of the text field. Default is "},{"code":".asciiCapable","type":"codeVoice"},{"text":".","type":"text"}]}],"name":"keyboardType"},{"name":"cancelButtonText","content":[{"inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}],"type":"paragraph"}]},{"name":"okButtonText","content":[{"inlineContent":[{"text":"The text of the OK button. Default is “OK”.","type":"text"}],"type":"paragraph"}]},{"name":"okActionStyle","content":[{"inlineContent":[{"text":"The style of the OK button. Default is ","type":"text"},{"code":".default","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"okActionIcon","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"code":"nil","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"preferredAction","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The preferred action. This information is passed to the "},{"code":"UIAlertController","type":"codeVoice"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"type":"codeVoice","code":".cancel"},{"text":".","type":"text"}]}]},{"name":"preferredAlertStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"code":".alert","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default "},{"type":"codeVoice","code":"nil"},{"text":", the alert will be presented on the top view controller.","type":"text"}]}],"name":"presentingViewController"}],"kind":"parameters"},{"content":[{"anchor":"return-value","text":"Return Value","level":2,"type":"heading"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The text entered by the user, or "},{"code":"nil","type":"codeVoice"},{"type":"text","text":" if the user tapped the cancel button."}]}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"seeAlsoSections":[{"title":"Prompting for values (async\/await and completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"],"generated":true}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"type":"text","text":"Shows a prompt for a value."}],"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okButtonText"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"text","kind":"internalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","type":"topic","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"}}} \ No newline at end of file +{"seeAlsoSections":[{"identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"],"title":"Prompting for values (async\/await and completion callbacks)","generated":true}],"metadata":{"symbolKind":"method","extendedModule":"UIKit","roleHeading":"Type Method","role":"symbol","externalID":"s:So17UIAlertControllerC10GreenAlertE18showPromptForValue_7message10presetText11placeHolder12keyboardType012cancelButtonK002okqK00R11ActionStyle0rS4Icon09preferredS00vdT0014presentingViewB0SSSgSS_S3SSo010UIKeyboardO0VS2SSo0asT0VSo0aS0CACE0U0OSgAvCE0sO0OAbCE0dT0OSo06UIViewB0CSgtYaFZ","title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showPromptForValue"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presetText"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyboardType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"text":": ","kind":"text"},{"text":"UIViewController","preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"?","kind":"text"}]},"abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showPromptForValue"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"title","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presetText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" = \"\", ","kind":"text"},{"text":"placeHolder","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":" = \"\", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"kind":"text","text":" = .asciiCapable, "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = \"Cancel\", ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" = \"OK\", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"text":" = .default, ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum"},{"kind":"text","text":"? = nil, "},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ActionType","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":" = .cancel, "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"},{"kind":"text","text":" = .alert, "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil) ","kind":"text"},{"text":"async","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"languages":["swift"]}],"kind":"declarations"},{"parameters":[{"name":"title","content":[{"inlineContent":[{"text":"The title of the prompt.","type":"text"}],"type":"paragraph"}]},{"name":"message","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The message of the prompt."}]}]},{"name":"presetText","content":[{"inlineContent":[{"text":"The text to be pre-filled in the text field. Default is an empty string.","type":"text"}],"type":"paragraph"}]},{"name":"placeHolder","content":[{"inlineContent":[{"type":"text","text":"The placeholder of the text field. Default is an empty string."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"The keyboard type of the text field. Default is "},{"code":".asciiCapable","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"name":"keyboardType"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}]}],"name":"cancelButtonText"},{"name":"okButtonText","content":[{"inlineContent":[{"type":"text","text":"The text of the OK button. Default is “OK”."}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"The style of the OK button. Default is "},{"type":"codeVoice","code":".default"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"okActionStyle"},{"content":[{"inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"okActionIcon"},{"name":"preferredAction","content":[{"type":"paragraph","inlineContent":[{"text":"The preferred action. This information is passed to the ","type":"text"},{"type":"codeVoice","code":"UIAlertController"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"type":"codeVoice","code":".cancel"},{"type":"text","text":"."}]}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the alert. Default is "},{"code":".alert","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"presentingViewController","content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":", the alert will be presented on the top view controller.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"content":[{"level":2,"type":"heading","anchor":"return-value","text":"Return Value"},{"inlineContent":[{"type":"text","text":"The text entered by the user, or "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" if the user tapped the cancel button."}],"type":"paragraph"}],"kind":"content"},{"content":[{"level":2,"anchor":"discussion","text":"Discussion","type":"heading"},{"name":"See Also","type":"aside","style":"note","content":[{"type":"paragraph","inlineContent":[{"text":"","type":"text"},{"isActive":true,"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","type":"reference"},{"type":"text","text":", the callback-based version of this method."}]}]}],"kind":"content"}],"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","interfaceLanguage":"swift"},"kind":"symbol","sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"placeHolder","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showPromptForValue"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"placeHolder","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@E@UIKeyboardType","text":"UIKeyboardType","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"text"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","kind":"symbol"}}} \ No newline at end of file diff --git a/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json b/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json index 40905f6..1b26c90 100644 --- a/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json +++ b/docs/data/documentation/greenalert/uikit/uialertcontroller/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:).json @@ -1 +1 @@ -{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"title","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" = \"\", ","kind":"text"},{"kind":"externalParam","text":"placeHolder"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = \"\", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType","text":"UIKeyboardType"},{"text":" = .asciiCapable, ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" = \"Cancel\", "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":" = \"OK\", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Style","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":" = .default, ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","text":"Icon","kind":"typeIdentifier"},{"text":"? = nil, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","text":"ActionType"},{"text":" = .cancel, ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle"},{"text":" = .alert, ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"text":"? = nil, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"attribute","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"text":"text","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")"}],"languages":["swift"]}]},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title of the prompt."}]}],"name":"title"},{"name":"message","content":[{"inlineContent":[{"text":"The message of the prompt.","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text to be pre-filled in the text field. Default is an empty string."}]}],"name":"presetText"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The placeholder of the text field. Default is an empty string."}]}],"name":"placeHolder"},{"content":[{"type":"paragraph","inlineContent":[{"text":"The keyboard type of the text field. Default is ","type":"text"},{"code":".asciiCapable","type":"codeVoice"},{"type":"text","text":"."}]}],"name":"keyboardType"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}]}],"name":"cancelButtonText"},{"content":[{"inlineContent":[{"type":"text","text":"The text of the OK button. Default is “OK”."}],"type":"paragraph"}],"name":"okButtonText"},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The style of the OK button. Default is "},{"code":".default","type":"codeVoice"},{"type":"text","text":"."}]}],"name":"okActionStyle"},{"content":[{"inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"okActionIcon"},{"content":[{"inlineContent":[{"type":"text","text":"The preferred action. This information is passed to the "},{"code":"UIAlertController","type":"codeVoice"},{"text":" instance, which will then give the action more visual prominence. Default is ","type":"text"},{"code":".cancel","type":"codeVoice"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"preferredAction"},{"content":[{"inlineContent":[{"text":"The style of the alert. Default is ","type":"text"},{"type":"codeVoice","code":".alert"},{"type":"text","text":"."}],"type":"paragraph"}],"name":"preferredAlertStyle"},{"name":"presentingViewController","content":[{"type":"paragraph","inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"type":"text","text":", the alert will be presented on the top view controller."}]}]},{"name":"callback","content":[{"inlineContent":[{"type":"text","text":"The callback to be called, with the text entered by the user, or "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" if the user tapped the cancel button."}],"type":"paragraph"}]}],"kind":"parameters"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"metadata":{"symbolKind":"method","modules":[{"relatedModules":["UIKit"],"name":"GreenAlert"}],"role":"symbol","title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"showPromptForValue"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"presetText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"placeHolder","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType","text":"UIKeyboardType"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionStyle"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"kind":"text","text":"."},{"text":"Icon","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"kind":"externalParam","text":"preferredAction"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"text"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"?) -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":")","kind":"text"}],"extendedModule":"UIKit","externalID":"s:So17UIAlertControllerC10GreenAlertE18showPromptForValue_7message10presetText11placeHolder12keyboardType012cancelButtonK002okqK00R11ActionStyle0rS4Icon09preferredS00vdT0014presentingViewB08callbackySS_S3SSo010UIKeyboardO0VS2SSo0asT0VSo0aS0CACE0U0OSgAvCE0sO0OAbCE0dT0OSo06UIViewB0CSgySSSgctFZ","roleHeading":"Type Method"},"seeAlsoSections":[{"generated":true,"title":"Prompting for values (async\/await and completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"]}],"abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"references":{"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","title":"UIAlertAction.ActionType","navigatorTitle":[{"kind":"identifier","text":"ActionType"}],"abstract":[{"text":"The type of action that the alert action represents.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"type":"topic","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Icon"}],"title":"UIAlertAction.Icon","abstract":[{"text":"An enum representing the type of icon that the alert action should display.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}],"role":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"navigatorTitle":[{"text":"AlertStyle","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","role":"symbol","title":"UIAlertController.AlertStyle","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"The style of the alert."}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"message"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okButtonText"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier","text":"Style"},{"text":", ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","kind":"typeIdentifier","text":"Icon"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction"},{"kind":"text","text":"."},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","text":"ActionType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"text","kind":"internalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","type":"topic","kind":"symbol","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"kind":"text","text":"("},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"placeHolder"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okButtonText"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionStyle"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO","text":"Icon","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"preferredAlertStyle"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController","kind":"typeIdentifier"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"kind":"text","text":" -> "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"?","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","abstract":[{"type":"text","text":"Shows a prompt for a value."}],"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)"},"doc://GreenAlert/documentation/GreenAlert":{"title":"GreenAlert","url":"\/documentation\/greenalert","type":"topic","role":"collection","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert","abstract":[]}}} \ No newline at end of file +{"metadata":{"role":"symbol","symbolKind":"method","roleHeading":"Type Method","extendedModule":"UIKit","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presetText"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"placeHolder"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"keyboardType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType","text":"UIKeyboardType"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"text":"?, ","kind":"text"},{"text":"preferredAction","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier","text":"UIAlertAction"},{"text":".","kind":"text"},{"preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier","text":"ActionType"},{"text":", ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":", "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)UIViewController","kind":"typeIdentifier","text":"UIViewController"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"callback"},{"text":": (","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"text","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","modules":[{"name":"GreenAlert","relatedModules":["UIKit"]}],"externalID":"s:So17UIAlertControllerC10GreenAlertE18showPromptForValue_7message10presetText11placeHolder12keyboardType012cancelButtonK002okqK00R11ActionStyle0rS4Icon09preferredS00vdT0014presentingViewB08callbackySS_S3SSo010UIKeyboardO0VS2SSo0asT0VSo0aS0CACE0U0OSgAvCE0sO0OAbCE0dT0OSo06UIViewB0CSgySSSgctFZ"},"abstract":[{"type":"text","text":"Shows a prompt for a value."}],"identifier":{"url":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"hierarchy":{"paths":[["doc:\/\/GreenAlert\/documentation\/GreenAlert"]]},"variants":[{"paths":["\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)"],"traits":[{"interfaceLanguage":"swift"}]}],"seeAlsoSections":[{"title":"Prompting for values (async\/await and completion callbacks)","identifiers":["doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"],"generated":true}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"kind":"text","text":" "},{"text":"title","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":" = \"\", ","kind":"text"},{"kind":"externalParam","text":"placeHolder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" = \"\", ","kind":"text"},{"kind":"externalParam","text":"keyboardType"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"UIKeyboardType","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":" = .asciiCapable, ","kind":"text"},{"kind":"externalParam","text":"cancelButtonText"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":" = \"Cancel\", ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = \"OK\", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle","kind":"typeIdentifier"},{"text":" = .default, ","kind":"text"},{"text":"okActionIcon","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"? = nil, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"text":" = .cancel, ","kind":"text"},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","text":"AlertStyle","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"kind":"text","text":" = .alert, "},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIViewController","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController"},{"text":"? = nil, ","kind":"text"},{"text":"callback","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@escaping","kind":"attribute"},{"text":" (","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"text"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")","kind":"text"}],"platforms":["iOS"]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The title of the prompt."}]}],"name":"title"},{"name":"message","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The message of the prompt."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text to be pre-filled in the text field. Default is an empty string."}]}],"name":"presetText"},{"name":"placeHolder","content":[{"type":"paragraph","inlineContent":[{"text":"The placeholder of the text field. Default is an empty string.","type":"text"}]}]},{"name":"keyboardType","content":[{"inlineContent":[{"text":"The keyboard type of the text field. Default is ","type":"text"},{"code":".asciiCapable","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The text of the cancel button. Default is “Cancel”."}]}],"name":"cancelButtonText"},{"name":"okButtonText","content":[{"inlineContent":[{"text":"The text of the OK button. Default is “OK”.","type":"text"}],"type":"paragraph"}]},{"name":"okActionStyle","content":[{"inlineContent":[{"type":"text","text":"The style of the OK button. Default is "},{"type":"codeVoice","code":".default"},{"type":"text","text":"."}],"type":"paragraph"}]},{"name":"okActionIcon","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The icon of the OK button. Default is "},{"type":"codeVoice","code":"nil"},{"type":"text","text":"."}]}]},{"name":"preferredAction","content":[{"inlineContent":[{"text":"The preferred action. This information is passed to the ","type":"text"},{"code":"UIAlertController","type":"codeVoice"},{"type":"text","text":" instance, which will then give the action more visual prominence. Default is "},{"code":".cancel","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}]},{"name":"preferredAlertStyle","content":[{"type":"paragraph","inlineContent":[{"text":"The style of the alert. Default is ","type":"text"},{"code":".alert","type":"codeVoice"},{"text":".","type":"text"}]}]},{"name":"presentingViewController","content":[{"inlineContent":[{"text":"If you want to present the alert on a specific view controller, you can specify it here. If left as the default ","type":"text"},{"code":"nil","type":"codeVoice"},{"text":", the alert will be presented on the top view controller.","type":"text"}],"type":"paragraph"}]},{"name":"callback","content":[{"inlineContent":[{"type":"text","text":"The callback to be called, with the text entered by the user, or "},{"type":"codeVoice","code":"nil"},{"type":"text","text":" if the user tapped the cancel button."}],"type":"paragraph"}]}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"name":"See Also","style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"isActive":true,"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","type":"reference"},{"text":", the async\/await version of this method.","type":"text"}]}]}]}],"references":{"doc://GreenAlert/documentation/GreenAlert":{"role":"collection","url":"\/documentation\/greenalert","title":"GreenAlert","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/ActionType":{"title":"UIAlertAction.ActionType","abstract":[{"type":"text","text":"The type of action that the alert action represents."}],"url":"\/documentation\/greenalert\/uikit\/uialertaction\/actiontype","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"ActionType","kind":"identifier"}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/ActionType","kind":"symbol","navigatorTitle":[{"text":"ActionType","kind":"identifier"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)":{"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:callback:)","url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:callback:)","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"showPromptForValue"},{"text":"(","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"placeHolder","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"keyboardType","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@E@UIKeyboardType","text":"UIKeyboardType","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"cancelButtonText","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Style","preciseIdentifier":"c:@E@UIAlertActionStyle"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"okActionIcon"},{"text":": ","kind":"text"},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"kind":"externalParam","text":"preferredAction"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"ActionType","kind":"typeIdentifier","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO"},{"kind":"text","text":", "},{"text":"preferredAlertStyle","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO","kind":"typeIdentifier","text":"AlertStyle"},{"text":", ","kind":"text"},{"text":"presentingViewController","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?, "},{"text":"callback","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"externalParam","text":"_"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"text"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?) -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"kind":"text","text":")"}],"type":"topic","kind":"symbol"},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/AlertStyle":{"type":"topic","role":"symbol","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/AlertStyle","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"AlertStyle"}],"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/alertstyle","title":"UIAlertController.AlertStyle","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"text":"AlertStyle","kind":"identifier"}],"abstract":[{"text":"The style of the alert.","type":"text"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertAction/Icon-swift.enum":{"title":"UIAlertAction.Icon","url":"\/documentation\/greenalert\/uikit\/uialertaction\/icon-swift.enum","kind":"symbol","role":"symbol","type":"topic","abstract":[{"type":"text","text":"An enum representing the type of icon that the alert action should display."}],"identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertAction\/Icon-swift.enum","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Icon","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Icon"}]},"doc://GreenAlert/documentation/GreenAlert/UIKit/UIAlertController/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)":{"url":"\/documentation\/greenalert\/uikit\/uialertcontroller\/showpromptforvalue(_:message:presettext:placeholder:keyboardtype:cancelbuttontext:okbuttontext:okactionstyle:okactionicon:preferredaction:preferredalertstyle:presentingviewcontroller:)","identifier":"doc:\/\/GreenAlert\/documentation\/GreenAlert\/UIKit\/UIAlertController\/showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)","role":"symbol","kind":"symbol","abstract":[{"text":"Shows a prompt for a value.","type":"text"}],"type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"showPromptForValue","kind":"identifier"},{"text":"(","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"presetText","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"placeHolder","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"keyboardType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"UIKeyboardType","kind":"typeIdentifier","preciseIdentifier":"c:@E@UIKeyboardType"},{"text":", ","kind":"text"},{"text":"cancelButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"okButtonText","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"okActionStyle","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","preciseIdentifier":"c:objc(cs)UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"c:@E@UIAlertActionStyle","text":"Style","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"okActionIcon","kind":"externalParam"},{"kind":"text","text":": "},{"text":"UIAlertAction","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIAlertAction"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Icon","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE4IconO"},{"kind":"text","text":"?, "},{"text":"preferredAction","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UIAlertAction","text":"UIAlertAction","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"ActionType","preciseIdentifier":"s:So13UIAlertActionC10GreenAlertE0B4TypeO","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"preferredAlertStyle"},{"kind":"text","text":": "},{"text":"AlertStyle","kind":"typeIdentifier","preciseIdentifier":"s:So17UIAlertControllerC10GreenAlertE0D5StyleO"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"presentingViewController"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UIViewController","text":"UIViewController"},{"kind":"text","text":"?) "},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"title":"showPromptForValue(_:message:presetText:placeHolder:keyboardType:cancelButtonText:okButtonText:okActionStyle:okActionIcon:preferredAction:preferredAlertStyle:presentingViewController:)"}}} \ No newline at end of file diff --git a/docs/metadata.json b/docs/metadata.json index 89b4f0b..ed5a9a4 100644 --- a/docs/metadata.json +++ b/docs/metadata.json @@ -1 +1 @@ -{"bundleDisplayName":"GreenAlert","schemaVersion":{"minor":1,"patch":0,"major":0},"bundleIdentifier":"GreenAlert"} \ No newline at end of file +{"bundleDisplayName":"GreenAlert","bundleIdentifier":"GreenAlert","schemaVersion":{"minor":1,"patch":0,"major":0}} \ No newline at end of file