Skip to content

Commit

Permalink
Update to 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sberrevoets committed Sep 12, 2016
1 parent 62c8f8f commit 92c6c35
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -43,7 +43,7 @@ platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
pod 'SDCAlertView', '~> 6.0'
pod 'SDCAlertView', '~> 7.0'
end
```

Expand All @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion SDCAlertView.podspec
Original file line number Diff line number Diff line change
@@ -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" }
Expand Down

0 comments on commit 92c6c35

Please sign in to comment.