prime_sliding_menu 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWM5NWNiNmMwNjdiM2YwOGNiNDRiOTgyNWU5M2FjYzRiMzQ1NDYwYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjU5YjNkNTM5YjFlMTg3MmNlYjBiZjMzMjZlOTBhNGUxODRjZDg5Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDFkYjYzMzc3OTgxMzJkM2E5ZTg4MmIwMzAzNzc1MzA0MmRjMDU0NmI5ZWEw
|
10
|
+
OGI3YWMxNjlmN2YwYjI0YmVhMDlmMmZmOTZiNDY0NjExODUwYmY4ZDczMWM1
|
11
|
+
OGRkMTM4OTA4NDk0MzU2OGU2YzEzMTY0ZjAzYmVjZDlhODM5NDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTc4ZDg2YjA5MmFiZTE1Yjg5ZjEwOTYyZjAyOTllMmZhNDgxZDJjMGYxMDk0
|
14
|
+
ZTQzMmU1ZTAxNThmYjgwYjgxZmU4YzQzNWM3MzdjOGU1MjVmYjIyMTg3ZWRj
|
15
|
+
N2NjMTE0YjkyNTkxNWNlZTVmYjJhYWRlZjQ5ZjY5ZDc1M2Y1MjM=
|
@@ -43,6 +43,7 @@ module PrimeSlidingMenu
|
|
43
43
|
@content_controller_ref.view.addGestureRecognizer self.panGesture
|
44
44
|
@content_controller_ref.view.addGestureRecognizer self.resetTapGesture
|
45
45
|
self.resetTapGesture.delegate = self
|
46
|
+
self.panGesture.delegate = self
|
46
47
|
else
|
47
48
|
content_controller.viewControllers = [@content_controller_ref]
|
48
49
|
end
|
@@ -57,8 +58,17 @@ module PrimeSlidingMenu
|
|
57
58
|
self.topViewController
|
58
59
|
end
|
59
60
|
|
61
|
+
|
60
62
|
def gestureRecognizer(gestureRecognizer, shouldReceiveTouch: touch)
|
61
|
-
|
63
|
+
if gestureRecognizer.is_a?(UITapGestureRecognizer)
|
64
|
+
sidebar_visible?
|
65
|
+
else
|
66
|
+
allow_sidebar?(touch)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def allow_sidebar?(touch)
|
71
|
+
true
|
62
72
|
end
|
63
73
|
|
64
74
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prime_sliding_menu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Haziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|