Latest 0.9.1
Homepage https://github.com/Blue-Rocket/BRMenu
License Apache License, Version 2.0
Platforms ios 8.4, requires ARC
Authors

A menu and order framework optimized for encoding into barcodes.

MenuKit Sampler

A MenuSampler iOS application is included that demonstrates the core
components of MenuKit. See the wiki
for more details.

TODO: this is a work in progress.

Project Integration

You can integrate MenuKit via CocoaPods.

via CocoaPods

Install CocoaPods if not already available:

$ [sudo] gem install cocoapods
$ pod setup

Change to the directory of your Xcode project, and create a file named Podfile with
contents similar to this:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.4'
pod 'MenuKit/All'

That will pull in the default Core subspec in addition to various other
subspecs. You can tweak this list as needed, for example if you don’t want
to use the RestKit integration you can omit the 'RestKit' subspec.

Install into your project:

$ pod install

Open your project in Xcode using the .xcworkspace file CocoaPods generated.

CocoaPod subspecs

MenuKit is divided into several CocoaPod components, or subspecs.

  1. Core – this is the default spec if you don’t specify anything else. It
    contains the core domain objects, without any user-interface related code.

  2. UI – provides various user interface support such as views and view
    controllers to help build a MenuKit-powered app.

  3. RestKit – provides integration with JSON object mapping via the RestKit
    project. MenuKit only depends on the RestKit/ObjectMapping subspec, and as such
    does not pull in the full RestKit stack, such as networking support. This is
    because MenuKit integrates with AFNetworking version 2 but RestKit
    networking depends on AFNetworking version 1.

  4. AFNetworking – provides integration with AFNetworking version 2 to
    support network requests for menu resources.

Latest podspec

{
    "name": "MenuKit",
    "version": "0.9.1",
    "summary": "Objective-C menu and order framework optimized for encoding into barcodes.",
    "description": "This project provides an implementation of a menu domain model and menunordering framework that is designed with encoding orders into 2D barcodes.",
    "homepage": "https://github.com/Blue-Rocket/BRMenu",
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Matt Magoffin": "[email protected]"
    },
    "platforms": {
        "ios": "8.4"
    },
    "source": {
        "git": "https://github.com/Blue-Rocket/BRMenu.git",
        "tag": "0.9.1"
    },
    "requires_arc": true,
    "default_subspecs": "All",
    "subspecs": [
        {
            "name": "All",
            "source_files": "Menu/Code/MenuKit.h",
            "dependencies": {
                "MenuKit/Core": [],
                "MenuKit/RestKit": [],
                "MenuKit/AFNetworking": [],
                "MenuKit/UI": []
            }
        },
        {
            "name": "Core",
            "source_files": [
                "Menu/Code/Core.h",
                "Menu/Code/Core"
            ],
            "dependencies": {
                "CocoaLumberjack": [
                    "~> 2.0"
                ],
                "BRStyle/Core": [
                    "~> 0.11"
                ]
            },
            "resource_bundles": {
                "BRMenu": "Menu/Resources/Core/**"
            }
        },
        {
            "name": "RestKit",
            "source_files": [
                "Menu/Code/RestKit.h",
                "Menu/Code/RestKit"
            ],
            "dependencies": {
                "MenuKit/Core": [],
                "RestKit/ObjectMapping": [
                    "~> 0.24"
                ]
            }
        },
        {
            "name": "AFNetworking",
            "source_files": [
                "Menu/Code/AFNetworking.h",
                "Menu/Code/AFNetworking"
            ],
            "dependencies": {
                "MenuKit/RestKit": [],
                "AFNetworking": [
                    "~> 2.5"
                ]
            }
        },
        {
            "name": "UI",
            "source_files": [
                "Menu/Code/UI.h",
                "Menu/Code/UI"
            ],
            "dependencies": {
                "MenuKit/Core": [],
                "BRLocalize/Core": [
                    "~> 0.9"
                ],
                "BRPDFImage": [
                    "~> 1.0"
                ],
                "Masonry": [
                    "~> 0.6"
                ]
            },
            "resource_bundles": {
                "BRMenuUI": "Menu/Resources/UI/**/*.{storyboard,lproj,pdf}"
            }
        }
    ]
}

Pin It on Pinterest

Share This