Compare commits

...

7 Commits

Author SHA1 Message Date
jonkykong da1c07080b Updated README and pod spec for Cocoapods. 2016-09-28 16:10:31 -07:00
jonkykong 227207438c Merge branch 'pr/77' into 2.0.3
* pr/77:
  Comments cleanup.
  adding capability to add submenus
2016-09-28 16:02:01 -07:00
jonkykong 0d6d833a23 Comments cleanup. 2016-09-28 16:01:35 -07:00
Jon Kent 74d1142537 Update README.md 2016-09-26 14:32:02 -07:00
Jon Kent 7ff74b862c Update README.md 2016-09-26 14:10:12 -07:00
Oliver Gepp 0b70228ddf adding capability to add submenus 2016-09-23 19:25:54 +02:00
jonkykong 316608d5d5 Reverse README for GitHub. 2016-09-20 13:51:57 -07:00
4 changed files with 10 additions and 2 deletions
+3
View File
@@ -93,6 +93,9 @@ open class SideMenuManager : NSObject {
/// Draws the `menuAnimationBackgroundColor` behind the status bar. Default is true.
open static var menuFadeStatusBar = true
/// When true, pushViewController called within the menu it will push the new view controller inside of the menu. Otherwise, it is pushed on the menu's presentingViewController. Default is false.
open static var menuAllowSubmenus: Bool = false
/// -Warning: Deprecated. Use `menuAnimationTransformScaleFactor` instead.
@available(*, deprecated, renamed: "menuAnimationTransformScaleFactor")
open static var menuAnimationShrinkStrength: CGFloat {
@@ -132,6 +132,11 @@ open class UISideMenuNavigationController: UINavigationController {
return
}
if SideMenuManager.menuAllowSubmenus{
super.pushViewController(viewController, animated: true)
return
}
// to avoid overlapping dismiss & pop/push calls, create a transaction block where the menu
// is dismissed after showing the appropriate screen
CATransaction.begin()
+1 -1
View File
@@ -171,7 +171,7 @@ My name is Jon Kent and I'm a freelance iOS designer, developer, and mobile stra
🌎 Web: [http://jonkent.me](http://jonkent.me)
✉️ Email: [contact@jonkent.me](mailto:contact@jonkent.me) **_IMPORTANT: If you're having a problem implementing SideMenu, please open an [issue](https://github.com/jonkykong/SideMenu/issues) instead of emailing me. Thanks!_**
✉️ Email: [contact@jonkent.me](mailto:contact@jonkent.me) **IMPORTANT: Before emailing me, please read [this](https://github.com/jonkykong/SideMenu/issues/58).**
## License
+1 -1
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "SideMenu"
s.version = "2.0.2"
s.version = "2.0.3"
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.