prime_sliding_menu 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/prime_sliding_menu/app_delegate.rb +9 -1
- data/lib/prime_sliding_menu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTlmZTZiMmYwMzEzZjI5Yjc0YzZjNzBiYTJlZDFkODg0MDcwZjBiMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzE4NTg3ZmEwZWI0MmI4ODA5Y2U5MTVjODZjYjM3YzMyMmRkNjk4Nw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODE3MjM1ZjU5Y2Y0NjI4MTQ5NjEyNTVjZmQ3ZjEwZjdhN2QxZjZhOTY4NWQw
|
10
|
+
YTVhMGE3NzM4ZDc1ZmRjZmI1NGNiY2YwMTZiODk1MjgxZmJkYTNkNTdmNjRh
|
11
|
+
YzcwYTIzNGRhN2E3OTAwZWMwOTc0NGIyYjNlYWZmZDFjYjZkYWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTMxZWNiN2M5ZWRjOGE5NmRkNjYzZDMzNzFhYTkyZmZmYzE1NDgwN2QxZjc3
|
14
|
+
ODk4MWFjNTgzNzMxYmVkMWQ0YjU1ZmU2MGZhZGI0YzNiMzc2OGE5Y2JlM2My
|
15
|
+
NDI2N2E0MDU4MWRhNjgwYzU2N2Q3NzBkYTViM2U2NTMwZWQxMzI=
|
@@ -18,7 +18,15 @@ module PrimeSlidingMenu
|
|
18
18
|
alias_method :open_content_screen!, :open_content_screen
|
19
19
|
def open_content_screen(screen, options = {})
|
20
20
|
if sidebar?
|
21
|
-
|
21
|
+
if options[:animated]
|
22
|
+
UIView.transitionWithView @sidebar_container,
|
23
|
+
duration: 0.5,
|
24
|
+
options: UIViewAnimationOptionTransitionFlipFromLeft,
|
25
|
+
animations: proc { @sidebar_container.content_controller = screen },
|
26
|
+
completion: nil
|
27
|
+
else
|
28
|
+
@sidebar_container.content_controller = screen
|
29
|
+
end
|
22
30
|
else
|
23
31
|
open_content_screen!(screen)
|
24
32
|
end
|
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.2
|
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-01-
|
11
|
+
date: 2014-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|