Giter Club home page Giter Club logo

ios-custom-drawer-menu's Introduction

iOS - Custom Drawer Menu

This demo project provides customizable Drawer Menu with dynamic Menu that can be used as a reusable component in your application.

Table of contents

iOS Support

Version - iOS 12, iOS 13

We have tested our program in above versions, however you can use it in other versions as well

Demo


Features

  • Left Side / Right Side drawer menu can be presented.
  • Customizable Slider Menu as per requirements.

Getting started

  • Download this sample project and import SideMenu folder files in your Swift-iOS App.
  • Update Slider Menu ViewController UI based on your requirements.

Usage

Setup process is described below to integrate in project.

Configure DrawerMenu in your rootview controller by following below method steps

Methods

Step 1. Create you view controlelr for present side menu UI (MyMenuTableViewController())

Step 2. Add navigation for show one view to other view controller

// Create a table view controller for side menu
let tableViewController = MyMenuTableViewController()
   
// Create side menu & set position
sideMenu = WLISideMenu(sourceView: view, menuViewController: tableViewController, menuPosition:.left)
   
// Set a delegate
sideMenu?.delegate = self
  
// Configure side menu
sideMenu?.menuWidth = 180.0
   
// Show navigation bar above side menu  
view.bringSubviewToFront(navigationBar)

Step 3. set delegte if you want call back otherwise skip it

If you want call back then set in your present sidemenu delegate in ViewController

self.sideMenuController()?.sideMenu?.delegate = self

Step 4. Set delegate for get call back sidemenu current status

func sideMenuWillOpen() 

func sideMenuWillClose()

func sideMenuDidClose()

func sideMenuDidOpen() 

func sideMenuShouldOpenSideMenu() -> Bool

Step 5. Open / Close side menu just call this function in your projects

toggleSideMenuView()

Want to Contribute?

  • Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).
  • Fork it.
  • Create new branch to contribute your changes.
  • Commit all your changes to your branch.
  • Submit a pull request.

Need Help?

We also provide a free, basic support for all users who want to use this SideMenu demo in project. In case you want to customize this SideMenu input to suit your development needs, then feel free to contact our iOS developers.


Collection of Components

We have built many other components and free resources for software development in various programming languages. Kindly click here to view our Free Resources for Software Development.


Changelog

Detailed changes for each release are documented in CHANGELOG.

License

MIT

Keywords

iOS Drawer Menu, Slider Menu, Swift Slider Menu, Drawer Menu, Side Menu , Weblineindia

ios-custom-drawer-menu's People

Contributors

partners-wli avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

angeloffury7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.