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

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:
1
MBManager.shared().apiToken = “8e4d4521516289755c8d33e61cc0ca08c800c2ec”
Copied!
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.