Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Objective-C C Shell Ruby
branch: master

design improvements, trip details

latest commit 2615bce75d
rok črešnik authored
Failed to load latest commit information.
Example design improvements, trip details
M3SideMenu side menu table redesign
Pod scrolling bug fix
.gitignore
LICENSE cocoapods
M3SideMenu.podspec
README.md no message

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.