Skip to content

Releases: RxSwiftCommunity/RxAlertViewable

1.2.1

18 Dec 14:10
34994c6
Compare
Choose a tag to compare
  • Support SPM

1.2

04 Nov 13:16
c52f546
Compare
Choose a tag to compare
1.2
  • Support text inputs
private let textSubject = BehaviorRelay<String?>(value: nil)

func showInputAlertView() {
    
    alert.onNextTip(
        "My Input AlertView",
        inputs: [
            RxAlertInput(
                placeholder: "My placeholder",
                text: "My text",
                textAlignment: .center,
                onTextChanged: RxAlertInput.OnTextChanged(
                    text: textSubject,
                    disposeBag: self.disposeBag
                )
            )
        ],
        onConfirm: {
            self.alert.onNextTip(self.textSubject.value ?? "")
        }
    )
}

1.1

17 Jan 05:07
eef8410
Compare
Choose a tag to compare
1.1
  • Support multiple actions for alert
alert.onNextMultiple(
    title: "Multiple",
    message: "Multiple actions alert",
    .destructive(title: "destructive") {
        self.alert.onNextTip("destructive")
    },
    .default(title: "default") {
        self.alert.onNextTip("default")
    },
    .customCancel(title: "customCancel")
)

0.10

17 Jan 08:44
Compare
Choose a tag to compare
  • Downgrade to RxSwift 5

1.0

16 Jan 14:06
2d359af
Compare
Choose a tag to compare
1.0
  • Update RxSwift to 6.0+

0.9.3

29 Oct 12:32
dcef763
Compare
Choose a tag to compare
  • Add cancel to alert config

0.9.2

06 Sep 05:42
229d3b0
Compare
Choose a tag to compare
  • Support setting title and message for action sheet

0.9.1

13 May 13:11
8ec4c56
Compare
Choose a tag to compare
  • Fix layout warning for action sheet

0.9

17 Apr 16:08
Compare
Choose a tag to compare
0.9
  • Fix the error to show global alert from iOS 13

0.8.4

15 Aug 06:30
Compare
Choose a tag to compare
  • Add wrapper methods for RxAlert and RxActionSheet.
  • Set source view for action sheet.