CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

xamoom-ios-sdk 1.4.2

xamoom-ios-sdk 1.4.2

TestsTested
LangLanguage Obj-CObjective C
License Custom
ReleasedLast Release Jan 2016

Maintained by Raphael Seher.



 
Depends on:
RestKit~> 0.25.0
QRCodeReaderViewController~> 2.0.0
SMCalloutView>= 0
youtube-ios-player-helper= 0.1.4
SDWebImage~> 3.7
 

With the xamoom-ios-sdk we created a simple SDK to let you create apps based on our system.

More informations about xamoom and how xamoom works? Visit our Github page xamoom Github Wiki

Getting Started

Installation

Manual Installation

Download the xamoom-ios-sdk and add it to your project. Don't forget to install the dependencies.

Usage

Setup XMMEnduserApi

//set your api key
[[XMMEnduserApi sharedInstance] setApiKey:kApiKey];

Make your first call

Grab a contentId from your xamoom-system (open a page and copy id from url) and make your first call like this:

//make your call
[[XMMEnduserApi sharedInstance] contentWithContentId:kContentId includeStyle:YES includeMenu:YES withLanguage:[XMMEnduserApi sharedInstance].systemLanguage full:YES preview:NO
                                            completion:^(XMMResponseGetById *result){
                                              NSLog(@"finishedLoadDataById: %@", result.description);
                                            } error:^(XMMError *error) {
                                              NSLog(@"LoadDataById Error: %@", error.message);
                                            }
   ];

When your call is successful you will get a XMMResponseGetById object.

API Calls

Check out our API Calls Wiki Page.

Every call is also on our documentation: XMMEnduserApi documentation

iBeacons

xamoom offers support for iBeacons. We have a small guide to implement them in the wiki.

XMMContentBlocks

xamoom has a lot of different contentBlocks. With XMMContentBlocks you have a easy way to display them. How to use it is in our Step by Step Guide.

Requirements