Skip to content

Commit 2818e31

Browse files
authored
Update README.md
1 parent bc9240f commit 2818e31

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Side Menu
1+
#Side Menu
22

33
[![Platform](http://img.shields.io/badge/platform-iOS-blue.svg?style=flat)](http://cocoapods.org/?q=YALSideMenu)
44
[![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
1313
##Requirements
1414

1515
- iOS 7.x / 8.x / 9.x (see installation instructions)
16-
- Swift 3
17-
- Xcode 8
16+
- Swift 3
17+
- Xcode 8
1818

1919
##Installation
2020

@@ -53,7 +53,7 @@ pod 'YALSideMenu', '~> 2.0'
5353

5454
```swift
5555
class MyFancyMenuViewController: UIViewController, Menu {
56-
@IBOutlet var menuItems = [UIView] ()
56+
@IBOutlet var menuItems = [UIView] ()
5757
}
5858
```
5959

@@ -83,13 +83,13 @@ pod 'YALSideMenu', '~> 2.0'
8383
menu.modalPresentationStyle = .custom
8484
}
8585

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)
9393
}
9494
```
9595

@@ -103,7 +103,7 @@ P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on
103103

104104
The MIT License (MIT)
105105

106-
Copyright © 2016 Yalantis
106+
Copyright © 2017 Yalantis
107107

108108
Permission is hereby granted, free of charge, to any person obtaining a copy
109109
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)