Skip to content

Commit b6a2f97

Browse files
author
sgr-ksmt
committed
Merge branch 'develop'
2 parents 25979c1 + 53bc3e2 commit b6a2f97

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0
1+
4.1

Alertift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Alertift"
3-
s.version = "3.1"
3+
s.version = "3.2"
44
s.summary = "UIAlertControlelr wrapper for Swift."
55
s.homepage = "https://github.com/sgr-ksmt/Alertift"
66
# s.screenshots = ""

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Alertift.alert(title: "Alertift", message: "Alertift is swifty, modern, and awes
1010
```
1111

1212
[![GitHub release](https://img.shields.io/github/release/sgr-ksmt/Alertift.svg)](https://github.com/sgr-ksmt/Alertift/releases)
13-
![Language](https://img.shields.io/badge/language-Swift%204.0-orange.svg)
13+
![Language](https://img.shields.io/badge/language-Swift%204.1-orange.svg)
1414
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
1515
[![CocoaPods](https://img.shields.io/badge/Cocoa%20Pods-✓-4BC51D.svg?style=flat)](https://cocoapods.org/pods/Alertift)
1616
[![CocoaPodsDL](https://img.shields.io/cocoapods/dt/Alertift.svg)](https://cocoapods.org/pods/Alertift)
@@ -41,7 +41,7 @@ Alertift.alert(title: "Alertift", message: "Alertift is swifty, modern, and awes
4141

4242
```bash
4343
# Swift4 or later
44-
github "sgr-ksmt/Alertift" ~> 3.0
44+
github "sgr-ksmt/Alertift" ~> 3.2
4545

4646
# Less than Swift4
4747
github "sgr-ksmt/Alertift" ~> 2.0

Sources/InnerAlertController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class InnerAlertController: UIAlertController {
241241

242242
private func searchLabel(from text: String) -> UILabel? {
243243
return view.recursiveSubviews
244-
.flatMap { $0 as? UILabel}
244+
.compactMap { $0 as? UILabel}
245245
.first { $0.text == text }
246246
}
247247

0 commit comments

Comments
 (0)