Skip to content

Commit

Permalink
Support iOS 9.0 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
KyoheiG3 committed Jun 17, 2019
1 parent 84cc535 commit 92c3923
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,8 +17,8 @@ Can be used as `UIAlertController`.

## Requirements

- Swift 4.2
- iOS 8.0 or later
- Swift 5.0
- iOS 9.0 or later

## How to Install SimpleAlert

Expand Down
4 changes: 2 additions & 2 deletions SimpleAlert.podspec
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "SimpleAlert"
s.version = "4.0.1"
s.version = "5.0.0"
s.summary = "Simply Alert for Swift"
s.homepage = "https://github.com/KyoheiG3/SimpleAlert"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Kyohei Ito" => "je.suis.kyohei@gmail.com" }
s.swift_version = '5.0'
s.platform = :ios, "8.0"
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/KyoheiG3/SimpleAlert.git", :tag => s.version.to_s }
s.source_files = "SimpleAlert/**/*.{h,swift,xib}"
s.requires_arc = true
Expand Down
Expand Up @@ -408,7 +408,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -456,7 +456,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down
Expand Up @@ -47,5 +47,6 @@ class CustomAlertController: AlertController {
contentView.messageLabel.font = UIFont.boldSystemFont(ofSize: 16)
contentView.textBackgroundView.layer.cornerRadius = 10.0
contentView.textBackgroundView.clipsToBounds = true
contentView.textBackgroundView.backgroundColor = .lightGray
}
}

0 comments on commit 92c3923

Please sign in to comment.