diff --git a/AnchoredBottomSheet.podspec b/AnchoredBottomSheet.podspec
index b33271e..c790ec4 100644
--- a/AnchoredBottomSheet.podspec
+++ b/AnchoredBottomSheet.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AnchoredBottomSheet'
- s.version = '1.3.4'
+ s.version = '1.3.5'
s.summary = 'iOS Maps like bottom sheet with configurable anchors and reusable pannable View'
s.description = <<-DESC
diff --git a/Example/Podfile.lock b/Example/Podfile.lock
index baa6312..389d7eb 100644
--- a/Example/Podfile.lock
+++ b/Example/Podfile.lock
@@ -1,5 +1,5 @@
PODS:
- - AnchoredBottomSheet (1.3.2)
+ - AnchoredBottomSheet (1.3.5)
DEPENDENCIES:
- AnchoredBottomSheet (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
- AnchoredBottomSheet: b658d0df794818e21b611098fe516e5bd5f610dd
+ AnchoredBottomSheet: 1ce8689a10408ddc58f21f7a98e29931c90e5d7d
PODFILE CHECKSUM: 9d2fa57cad45113c77064b354f9582a45331dfbf
diff --git a/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json b/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json
index 74f5509..62a60a7 100644
--- a/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json
+++ b/Example/Pods/Local Podspecs/AnchoredBottomSheet.podspec.json
@@ -1,6 +1,6 @@
{
"name": "AnchoredBottomSheet",
- "version": "1.3.2",
+ "version": "1.3.5",
"summary": "iOS Maps like bottom sheet with configurable anchors and reusable pannable View",
"description": "This small library tries to achieve this goals:\n1. Provide an easy to use interface to create popup like controller with configurable anchor points\n2. Provide a reusable view that can be used without a popup for some UI cases (split screen for example). Used that way the BottomSheetView will handle it's own pan gesture",
"homepage": "https://github.com/havebeenfitz/AnchoredBottomSheet",
@@ -12,11 +12,16 @@
"havebeenfitz": "max.kraev@gmail.com"
},
"source": {
- "git": "https://github.com/havebeenfitz/AnchoredBottomSheet.git",
- "tag": "1.3.2"
+ "git": "https://github.com/havebeenfitz/anchoredbottomsheet.git",
+ "tag": "1.3.5"
},
+ "swift_versions": [
+ "4.0",
+ "5.0"
+ ],
"platforms": {
"ios": "10.0"
},
- "source_files": "Sources/AnchoredBottomSheet/**/*"
+ "source_files": "Sources/AnchoredBottomSheet/**/*",
+ "swift_version": "5.0"
}
diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock
index baa6312..389d7eb 100644
--- a/Example/Pods/Manifest.lock
+++ b/Example/Pods/Manifest.lock
@@ -1,5 +1,5 @@
PODS:
- - AnchoredBottomSheet (1.3.2)
+ - AnchoredBottomSheet (1.3.5)
DEPENDENCIES:
- AnchoredBottomSheet (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
- AnchoredBottomSheet: b658d0df794818e21b611098fe516e5bd5f610dd
+ AnchoredBottomSheet: 1ce8689a10408ddc58f21f7a98e29931c90e5d7d
PODFILE CHECKSUM: 9d2fa57cad45113c77064b354f9582a45331dfbf
diff --git a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist
index 6c1d64f..d7863a0 100644
--- a/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist
+++ b/Example/Pods/Target Support Files/AnchoredBottomSheet/AnchoredBottomSheet-Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.3.2
+ 1.3.5
CFBundleSignature
????
CFBundleVersion
diff --git a/README.md b/README.md
index e8d6a71..a48e268 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ AnchoredBottomSheet is available through [CocoaPods](https://cocoapods.org). To
it, simply add the following line to your Podfile:
```ruby
-pod 'AnchoredBottomSheet', '~> 1.3.4'
+pod 'AnchoredBottomSheet', '~> 1.3.5'
```
@@ -91,7 +91,7 @@ $ brew install carthage
To integrate AnchoredBottomSheet into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
-github "havebeenfitz/anchoredbottomsheet" "1.3.4"
+github "havebeenfitz/anchoredbottomsheet" "1.3.5"
```
Run `carthage update` to build the framework and drag the built `SnapKit.framework` into your Xcode project.
@@ -108,7 +108,7 @@ To integrate AnchoredBottomSheet into your Xcode project using Swift Package Man
dependencies: [
.package(
url: "https://github.com/havebeenfitz/anchoredbottomsheet.git",
- .upToNextMajor(from: "1.3.4")
+ .upToNextMajor(from: "1.3.5")
)
]
```
diff --git a/Sources/AnchoredBottomSheet/BottomSheetViewControllerDelegate.swift b/Sources/AnchoredBottomSheet/BottomSheetViewControllerDelegate.swift
index e89fc36..1307ca4 100644
--- a/Sources/AnchoredBottomSheet/BottomSheetViewControllerDelegate.swift
+++ b/Sources/AnchoredBottomSheet/BottomSheetViewControllerDelegate.swift
@@ -8,6 +8,6 @@
import Foundation
-public protocol BottomSheetViewControllerDelegate: class {
+public protocol BottomSheetViewControllerDelegate: AnyObject {
func didDismiss()
}
diff --git a/Sources/AnchoredBottomSheet/BottomSheetViewDelegate.swift b/Sources/AnchoredBottomSheet/BottomSheetViewDelegate.swift
index d36ae18..f3199c1 100644
--- a/Sources/AnchoredBottomSheet/BottomSheetViewDelegate.swift
+++ b/Sources/AnchoredBottomSheet/BottomSheetViewDelegate.swift
@@ -8,7 +8,7 @@
import UIKit
-public protocol BottomSheetViewDelegate: class {
+public protocol BottomSheetViewDelegate: AnyObject {
func heightDidChange(to y: CGFloat)
func shouldDismiss(sender: UIView)
}