MBurger Explorer
At this repository you’ll find a comprehensive, full-force sample app, with:
Home page
Photo gallery
Custom WYSIWYG
Contact data
Points of interest
List of partners
News list with detail.
This sample teaches the basics on how to use MBurger:
Install the SDK
Initialize the SDK
Fetch Blocks and Sections
Use Filters
App Requirements
Xcode 9
CocoaPods 1.5.3
Dependencies: MBurger, SWRevealViewController
MBurger Usage and tutorial
MBurger is initialized in the
AppDelegate application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:
function with a demo API KEY
.
It’s essential to initialize Nooko at the start of the application or you won't be able to use the SDK API:
This sample uses the MBClient
class to retrieve data from the MBurger dashboard using the function getSectionsWithBlockId:
and then by mapping the results to custom objects with a mapping
dictionary.
Last updated