Compare commits

..

3 Commits

Author SHA1 Message Date
jonkykong 3234d78609 Update README and podspec. 2016-10-20 14:30:01 -07:00
jonkykong 8b5af286e9 Fix to test non-optionals when type comparing. 2016-10-20 14:26:18 -07:00
jonkykong 603a7a1832 Update README for Github. 2016-10-19 23:47:59 -07:00
2 changed files with 3 additions and 3 deletions
@@ -152,8 +152,8 @@ open class UISideMenuNavigationController: UINavigationController {
}
}
}
if !SideMenuManager.menuAllowPushOfSameClassTwice {
if type(of: presentingViewController.viewControllers.last) == type(of: viewController) {
if let lastViewController = presentingViewController.viewControllers.last, SideMenuManager.menuAllowPushOfSameClassTwice {
if type(of: lastViewController) == type(of: viewController) {
CATransaction.commit()
return
}
+1 -1
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "SideMenu"
s.version = "2.0.4"
s.version = "2.0.5"
s.summary = "Simple side menu control for iOS in Swift inspired by Facebook. Right and Left sides. No coding required."
# This description is used to generate tags and improve search results.