Latest 1.0.0
Homepage https://github.com/typesprite/JESlideOutMenu
License MIT
Platforms ios 10.0

Slide Out Menu

GitHub license Carthage compatible Cocoapds compatible

Requirements

  • Xcode 9.0+
  • iOS 10+
  • Swift 4

About

A simple Slide-Out Menu completely written in Swift 4. The menu utilizes a horizontal paging scrollView for a natural feeling navigation. The motivation of this project is to make it simple to integrate in an existing project without sacrificing design choices and flexiblity.

Usage

This library is meant for projects which utilize Storyboards.

  1. Set JESlideOutMenuController as the Initial View Controller
  2. Setup your ViewControllers & Menu (Table)ViewController
  3. Enter the Storyboard identifiers for the first ViewController and the Menu ViewController in JESlideOutMenuController as Runtime Attributes via IBInspectable
  4. In your Menu ViewController implement the protocol JESlideOutMenuProtocol
  5. Set a new ViewController by calling setViewController?(viewcontroller, indexPath) for example in tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
  6. Add UIBarButtonItem to your ViewControllers. The toggle button should call the following method in the button action:
JESlideOutMenu.toggle()

For more information, refer to the example project.

Installation

CocoaPods

CocoaPods is a popular dependency manager. You can install CocoaPods via terminal with the following command:

$ gem install cocoapods

Add the following lines to your Podfile:

target '<Your Target Name>' do
  use_frameworks!
  pod 'JESlideOutMenu', :git => 'https://github.com/typesprite/JESlideOutMenu.git', '~> 1.0.0'
end

Install the pod via:

$ pod install

Carthage

Carthage is a decentralized dependency manager. You may install Carthage via the following command:

$ brew install carthage

Add the following line to your Cartfile:

github "typesprite/JESlideOutMenu" ~> 1.0.0

And run:

$ carthage update

To integrate this library into your project, follow the steps described in Adding Frameworks.

License

This framework is released under MIT License.
All icons used in this project were created by Alexander Kahlkopf, ©iconmonstr 2017, iconmonstr.com

Latest podspec

{
    "name": "JESlideOutMenu",
    "version": "1.0.0",
    "summary": "An easy to use and versatile slide-out menu.",
    "description": "The JESlideOutMenu provides a simple slide-out menu which can be installed via storyboard.",
    "homepage": "https://github.com/typesprite/JESlideOutMenu",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": "Jasmin",
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/typesprite/JESlideOutMenu.git",
        "tag": "1.0.0"
    },
    "source_files": "Sources/**/*",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4"
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This