Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Swift 5 #3

Merged
merged 2 commits into from
Jun 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions WOWCardStackView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

Pod::Spec.new do |s|
s.name = 'WOWCardStackView'
s.version = '0.1.3'
s.summary = 'Swapable Card Stack View in Swift 3.0.'
s.version = '0.1.4'
s.summary = 'Swapable Card Stack View in Swift 5.2.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
Swapable Card Stack View in Swift 3.0. It's able to use in Storyboard and Programatically and it's similar to UITableView.
Swapable Card Stack View in Swift 5.2. It's able to use in Storyboard and Programatically and it's similar to UITableView.
DESC

s.homepage = 'https://github.com/zhouhao27/WOWCardStackView'
Expand Down
3 changes: 2 additions & 1 deletion WOWCardStackView/Classes/CardView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// CardStack
//
// Created by Zhou Hao on 11/3/17.
// Modified by Devzhr on 27/5/20.
// Copyright © 2017 Zhou Hao. All rights reserved.
//

Expand Down Expand Up @@ -81,7 +82,7 @@ open class CardView: UIView {
}
}

func drag(gesture: UIPanGestureRecognizer) {
@objc func drag(gesture: UIPanGestureRecognizer) {

guard isTopMost() else {
return
Expand Down