Coder Social home page Coder Social logo

namenu's Introduction

a dead simple SpringBoard-like grid menu for iOS with landscape support

Introduction

NAMenu is a dead simple grid menu you can use to launch other view controllers. It features smooth animation and full landscape support. It was designed to be minimalistic and dead-easy to use or modify. It's licensed under the Apache license so feel modify it and share your changes with the world.

Getting Started

You can add NAMenu to you your project in under 5 minutes! Simply copy the files in the Source directory to your project.

There are two ways to create your menu. The easiest way to use NAMenu is to simply subclass NAMenuViewController and set the menuItems array to an array of NAMenuItem objects (see the included example project for an example of how to do this).

You can also drop an NAMenuView in an existing view controller and implement its delegate methods (which are similar to UITableViewDelegate methods).

Adding a menu item is only a few lines of code:

// First Item
NAMenuItem *item1 = [[[NAMenuItem alloc] initWithTitle:@"First Item"
												 image:[UIImage imageNamed:@"icon.png"]
											   vcClass:[SampleViewController class]] autorelease];
[items addObject:item1]; 

License

Copyright 2012 [Cameron Saul] cammsaul. This library is distributed under the terms of the Apache license.

While not required, I greatly encourage and appreciate any improvements that you make to this library be contributed back for the benefit of all who use NAMenu.

Screenshots

Portrait Mode

Landscape Mode

Landscape Mode, Scrolled

namenu's People

Contributors

camsaul avatar harrymoo avatar

Watchers

 avatar  avatar

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.