A menu and order framework optimized for encoding into barcodes.
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.
You can integrate MenuKit 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.
MenuKit is divided into several CocoaPod components, or subspecs.
-
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. -
UI
- provides various user interface support such as views and view controllers to help build a MenuKit-powered app. -
RestKit
- provides integration with JSON object mapping via the RestKit project.MenuKit
only depends on theRestKit/ObjectMapping
subspec, and as such does not pull in the full RestKit stack, such as networking support. This is becauseMenuKit
integrates with AFNetworking version 2 but RestKit networking depends on AFNetworking version 1. -
AFNetworking
- provides integration with AFNetworking version 2 to support network requests for menu resources.