1
- #Side Menu
1
+ #Side Menu
2
2
3
3
[ ![ Platform] ( http://img.shields.io/badge/platform-iOS-blue.svg?style=flat )] ( http://cocoapods.org/?q=YALSideMenu )
4
4
[ ![ License] ( http://img.shields.io/badge/license-MIT-green.svg?style=flat )] ( https://github.com/Yalantis/Side-Menu.iOS/blob/master/LICENSE )
@@ -13,8 +13,8 @@ Check this <a href="https://www.behance.net/gallery/20411445/Mobile-Animations-I
13
13
##Requirements
14
14
15
15
- iOS 7.x / 8.x / 9.x (see installation instructions)
16
- - Swift 3
17
- - Xcode 8
16
+ - Swift 3
17
+ - Xcode 8
18
18
19
19
##Installation
20
20
@@ -53,7 +53,7 @@ pod 'YALSideMenu', '~> 2.0'
53
53
54
54
```swift
55
55
class MyFancyMenuViewController: UIViewController, Menu {
56
- @IBOutlet var menuItems = [UIView] ()
56
+ @IBOutlet var menuItems = [UIView] ()
57
57
}
58
58
```
59
59
@@ -83,13 +83,13 @@ pod 'YALSideMenu', '~> 2.0'
83
83
menu.modalPresentationStyle = .custom
84
84
}
85
85
86
- func animationController (forPresented presented: UIViewController, presenting _ : UIViewController,
87
- source _ : UIViewController) -> UIViewControllerAnimatedTransitioning? {
88
- return menuAnimator
89
- }
90
-
91
- func animationController (forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
92
- return MenuTransitionAnimator (mode : .dismissal )
86
+ func animationController (forPresented presented: UIViewController, presenting _ : UIViewController,
87
+ source _ : UIViewController) -> UIViewControllerAnimatedTransitioning? {
88
+ return menuAnimator
89
+ }
90
+
91
+ func animationController (forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
92
+ return MenuTransitionAnimator (mode : .dismissal )
93
93
}
94
94
```
95
95
@@ -103,7 +103,7 @@ P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on
103
103
104
104
The MIT License (MIT)
105
105
106
- Copyright © 2016 Yalantis
106
+ Copyright © 2017 Yalantis
107
107
108
108
Permission is hereby granted, free of charge, to any person obtaining a copy
109
109
of this software and associated documentation files (the " Software" ), to deal
0 commit comments