Skip to content
No description or website provided.
Objective-C C Shell Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Example
M3SideMenu
Pod
.gitignore
LICENSE
M3SideMenu.podspec
README.md

README.md

M3SideMenu

Version License

Platform

Overview

a little Objective C side navigation view, that we created for a certain project. The view is separated into 3 segments:

  • top: extendable table view with add/remove cell functionalities
  • middle: navigation buttons, the view resizes itself depending on the button count)
  • bottom: custom view template (e.g. profile picture)

Each of the three segments can be disabled/hidden, which will make the others adjust their sizes accordingly

Demo

M3SideMenu Demo

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

  • M3SideMenu is available through CocoaPods. To install it, simply add the following line to your Podfile:

    pod "M3SideMenu"

  • in your desired ViewController import the "M3SideMenu.h" header

  • create the side menu:
M3SideMenu *menu = [[M3SideMenu alloc] initWithDelegate:self]; 
// this sets the tableView datasource delegate to your view as well,
// so the basic tableView datasource methods need to be implemented
     [self.view addSubview:self.menu]; 
// optional
     self.menu.isTableViewExtandingEnabled = YES; // makes the tableView extendable 
     [self.menu configureBottom:view]; // add the desired bottom view 
  • in "M3SideMenu.h" set the cell/header heights and the desired padding
  • build & run!

Author

rok črešnik, rok@mice3.it

License

M3SideMenu is available under the MIT license. See the LICENSE file for more info.

Something went wrong with that request. Please try again.