+0
日增长
5,820
stars
695
forks
90
watchers
90
prs
615
issues
0
releases
README
▤ SideMenu If you like SideMenu, give it a ★ at the top right of this page. SideMenu needs your help! If you're a skilled iOS developer and want to help maintain this repository and answer issues asked by the community, please send me an email. Hi, I'm Jon Kent and I am an iOS designer, developer, and mobile strategist. I love coffee and play the drums. Hire me to help you make cool stuff. Note: If you're having a problem with SideMenu, please open an issue and do not email me. Check out my website to see some of my other projects. Building and maintaining this free library takes a lot of my time and saves you time. Please consider paying it forward by supporting me with a small amount to my PayPal. (only 13 people have donated since 12/23/15 but thank you to those who have!) Overview Preview Samples Requirements Installation CocoaPods Carthage Swift Package Manager Usage Code-less Storyboard Implementation Code Implementation Customization SideMenuManager SideMenuNavigationController SideMenuNavigationControllerDelegate Advanced Known Issues Thank You License Overview SideMenu is a simple and versatile side menu control written in Swift. - [x] It can be implemented in storyboard without a single line of code. - [x] Eight standard animation styles to choose from (there's even a parallax effect if you want to get weird). - [x] Highly customizable without needing to write tons of custom code. - [x] Supports continuous swiping between side menus on boths sides in a single gesture. - [x] Global menu configuration. Set-up once and be done for all screens. - [x] Menus can be presented and dismissed the same as any other view controller since this control uses custom transitions. - [x] Animations use your view controllers, not snapshots. - [x] Properly handles screen rotation and in-call status bar height changes. Check out the example project to see it in action! Preview Samples | Slide Out | Slide In | Dissolve | Slide In + Out | | --- | --- | --- | --- | | ! | ! | ! | ! | Requirements - [x] Xcode 11. - [x] Swift 5. - [x] iOS 10 or higher. Installation CocoaPods CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command: bash $ gem install cocoapods To integrate SideMenu into your Xcode project using CocoaPods, specify it in your Podfile: ruby source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' use_frameworks! pod 'SideMenu' For Swift 5 use: pod 'SideMenu', '~ 6.0' For Swift 4.2 (no longer maintained) use: pod 'SideMenu', '~ 5.0' Then, run the following command: bash $ pod install Carthage Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. You can install Carthage with Homebrew using the following command: bash $ brew update $ brew install carthage To integrate SideMenu into your Xcode project using Carthage, specify it in your Cartfile: o
Top issues
#258iOS 11: Status bar of the transitioned view is white when using menuAnimationTransformScaleFactor56 comments · 2017-09-13#289Creating UISideMenuNavigationController via Storyboard if installed using Carthage not working18 comments · 2017-11-01#570Keyboard Hides when sidemenu appears but after closing side menu keyboard appears again.16 comments · 2019-10-21#656App behaves weird in iPad due to transition13 comments · 2020-10-21#637SwiftUI Support10 comments · 2020-08-05#694Pushing UIViewController from SideMenu sometimes blinks/flashes This bugs has no fix at 6.5.0 7 comments · 2022-07-07#682overlay for mainviewcontroler3 comments · 2021-08-11#698my app in Xcode is showing error at the time of archiving that SideMenuView not in scope 5 times as I have used sidemenuview under homeview,kindly confirm if you could help resolve the same2 comments · 2023-03-18