Skip to content

Commit 159dada

Browse files
authored
Merge pull request #85 from zhxnlai/swift3
Swift 3 into master
2 parents 8deffbe + 9999a47 commit 159dada

File tree

70 files changed

+979
-1508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+979
-1508
lines changed

ZLSwipeableViewSwift/Scheduler.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Scheduler : NSObject {
2525
}
2626

2727
func doAction(_ timer: Timer) {
28-
guard let action = action, let endCondition = endCondition , !endCondition() else {
28+
guard let action = action, let endCondition = endCondition, !endCondition() else {
2929
timer.invalidate()
3030
self.timer = nil
3131
self.action = nil

ZLSwipeableViewSwift/ZLSwipeableView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ open class ZLSwipeableView: UIView {
204204
view.isUserInteractionEnabled = false
205205
}
206206

207-
guard let gestureRecognizers = activeViews.first?.gestureRecognizers , gestureRecognizers.filter({ gestureRecognizer in gestureRecognizer.state != .possible }).count == 0 else { return }
207+
guard let gestureRecognizers = activeViews.first?.gestureRecognizers, gestureRecognizers.filter({ gestureRecognizer in gestureRecognizer.state != .possible }).count == 0 else { return }
208208

209209
for i in 0 ..< activeViews.count {
210210
let view = activeViews[i]

ZLSwipeableViewSwiftDemo/Podfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
target 'ZLSwipeableViewSwiftDemo' do
22
pod 'UIColor+FlatColors'
33
pod 'Cartography'
4-
pod 'ReactiveUI'
4+
# pod 'ReactiveUI'
55
end
66

77
target 'ZLSwipeableViewSwiftDemoTests' do
88
pod 'UIColor+FlatColors'
99
pod 'Cartography'
10-
pod 'ReactiveUI'
10+
# pod 'ReactiveUI'
1111
end
1212

1313
use_frameworks!

ZLSwipeableViewSwiftDemo/Podfile.lock

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
PODS:
2-
- Cartography (0.6.0)
3-
- ReactiveUI (0.0.3)
2+
- Cartography (1.0.1)
43
- UIColor+FlatColors (0.0.2)
54

65
DEPENDENCIES:
76
- Cartography
8-
- ReactiveUI
97
- UIColor+FlatColors
108

119
SPEC CHECKSUMS:
12-
Cartography: 70af183a248547694a8cfaa6b989cb7e04589985
13-
ReactiveUI: 05d1f5d884e5a2496a2cd2ac6c0ed35ab0218c02
10+
Cartography: c1460e99395b824d9d75360b0382faeb0b33dcd7
1411
UIColor+FlatColors: 6c699df7a575281794c688c64cee6c44fd1f93b4
1512

16-
PODFILE CHECKSUM: df88596158702c1394e102054df436e6ba492f07
13+
PODFILE CHECKSUM: 8e7c96524d011a1ab9a3ff3f064c099b04f6b392
1714

18-
COCOAPODS: 1.0.0
15+
COCOAPODS: 1.1.1

ZLSwipeableViewSwiftDemo/Pods/Cartography/Cartography/Align.swift

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ZLSwipeableViewSwiftDemo/Pods/Cartography/Cartography/Coefficients.swift

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ZLSwipeableViewSwiftDemo/Pods/Cartography/Cartography/Compound.swift

+93-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)