Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sgr-ksmt committed Apr 16, 2018
2 parents 25979c1 + 53bc3e2 commit b6a2f97
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0
4.1
2 changes: 1 addition & 1 deletion Alertift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Alertift"
s.version = "3.1"
s.version = "3.2"
s.summary = "UIAlertControlelr wrapper for Swift."
s.homepage = "https://github.com/sgr-ksmt/Alertift"
# s.screenshots = ""
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Alertift.alert(title: "Alertift", message: "Alertift is swifty, modern, and awes
```

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

```bash
# Swift4 or later
github "sgr-ksmt/Alertift" ~> 3.0
github "sgr-ksmt/Alertift" ~> 3.2

# Less than Swift4
github "sgr-ksmt/Alertift" ~> 2.0
Expand Down
2 changes: 1 addition & 1 deletion Sources/InnerAlertController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class InnerAlertController: UIAlertController {

private func searchLabel(from text: String) -> UILabel? {
return view.recursiveSubviews
.flatMap { $0 as? UILabel}
.compactMap { $0 as? UILabel}
.first { $0.text == text }
}

Expand Down

0 comments on commit b6a2f97

Please sign in to comment.