Latest 0.1.0
Homepage https://github.com/mice3/M3SideMenu
License MIT
Platforms ios 7.0, requires ARC
Authors

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, [email protected]

License

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

Latest podspec

{
    "name": "M3SideMenu",
    "version": "0.1.0",
    "summary": "light weight side menu, that offers navigation and other useful containers",
    "description": "a little Objective C side navigation view, that we created for a certain project.nThe view is separated into 3 segments: n- top: extendable table view with add/remove cell functionalities n- middle: navigation buttons, the view resizes itself depending on the button count) n- bottom: custom view template (e.g. profile picture) n nEach of the three segments can be disabled/hidden, which will make the others adjust their sizes accordinglyn",
    "homepage": "https://github.com/mice3/M3SideMenu",
    "license": "MIT",
    "authors": {
        "rok cu030cresu030cnik": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mice3/M3SideMenu.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/rcresnik",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resources": "Pod/Assets/*.xib"
}

Pin It on Pinterest

Share This