From 92c6c35e1d96fdbebae1a084c8bc0909d028589d Mon Sep 17 00:00:00 2001 From: Scott Berrevoets Date: Sun, 11 Sep 2016 13:04:59 -0700 Subject: [PATCH] Update to 7.0 --- CHANGELOG.md | 6 ++++++ README.md | 8 ++++---- SDCAlertView.podspec | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6ca2719..f8ab660d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +# 7.0 +This is a compatibility update for Swift 3. + +**Bug Fixes:** +- Correctly calls the cancel button's handler in action sheets + # 6.0 This is a compatibility update for Swift 2.3. diff --git a/README.md b/README.md index 8f9b36a0..e278ea45 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ # Requirements - - Xcode 8.0 + - Swift 3 - iOS 8 or higher If you want to use the library on iOS 7, please use version 2.5.4 (the latest 2.x release). SDCAlertView is not available on iOS 6.1 or below. @@ -43,7 +43,7 @@ platform :ios, '8.0' use_frameworks! target 'MyApp' do - pod 'SDCAlertView', '~> 6.0' + pod 'SDCAlertView', '~> 7.0' end ``` @@ -53,7 +53,7 @@ Then run `pod install`. To install with Carthage, add the following line to your `Cartfile`: ```ruby -github "sberrevoets/SDCAlertView" ~> 6.0 +github "sberrevoets/SDCAlertView" ~> 7.0 ``` Run `carthage update` and drag `SDCAlertView.framework` in the `Build` folder into your project. @@ -63,7 +63,7 @@ SPM does not yet support iOS, but SDCAlertView will be available there once it d # Alerts vs. Action Sheets -Starting with version 4.0, `SDCAlertController` also supports the presentation of action sheets. Some things to keep in mind when using action sheets: +`SDCAlertController` supports the presentation of action sheets, but there are some limitations and things to keep in mind when using action sheets: - It does not properly adapt on iPad. This is because iOS doesn't support `UIModalPresentationStyle.Custom` for adaptive presentations (such as when presenting an action sheet from a bar button item). - The new `AlertBehaviors` is, due to limitations in the Swift/Objective-C interop, not available when using `SDCAlertController` from Swift. This affects `AlertControllerStyle.Alert` as well. diff --git a/SDCAlertView.podspec b/SDCAlertView.podspec index 87b5588d..975d0a8d 100644 --- a/SDCAlertView.podspec +++ b/SDCAlertView.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SDCAlertView" - s.version = "6.0" + s.version = "7.0" s.summary = "The little alert that could" s.homepage = "https://github.com/sberrevoets/SDCAlertView" s.license = { :type => "MIT" }