You are viewing an old version of this page. View the current version.
This is Phunware's iOS SDK for the Core module. Visit http://maas.phunware.com/ for more details and to sign up.
- iOS 6.0 or greater
- Xcode 6 or greater
MaaS Core documentation is included in the Documents folder in the repository as both HTML and as a .docset. You can also find the latest documentation here: Core API Reference (iOS)
MaaS Core is a required dependency for all MaaS modules.
It's recommended that you add MaaSCore.framework to the 'Vendor/Phunware' directory, then add it to your Xcode project.
The following frameworks are required:
The following frameworks are optional:
CoreLocation is used for comprehensive analytics. Apple mandates that your app have a good reason for enabling location services. Apple will deny your app if location is not a core feature for your app.
After specifying the frameworks, you will need to add a linker flag to your build target.
Alternatively, you can install MaaSCore using CocoaPods:
// Add this to your Podfile:
To do this:
- Navigate to your build target.
- Navigate to the Build Settings tab.
- Find the Linking Section > Other Linker Flags.
- Add "-ObjC" to Other Linker Flags.
You can now install additional MaaS modules.
At the top of your application delegate implementation (.m) file, add the following:
Inside your application delegate, you will need to initialize MaaS Core in the application:didFinishLaunchingWithOptions: method:
MaaS Core uses the following third-party components. All components are prefixed so you won't have to worry about namespace collisions.
|AFNetworking||A delightful iOS and OS X networking framework.||MIT|
|RNCryptor||CCCryptor (AES encryption) wrappers for iOS and Mac.||MIT|
|NSOperationStack||A LIFO (Last-In, First-Out) queuing extension for NSOperationQueue.||MIT|
|TMCache||Fast parallel object cache for iOS and OS X.||Apache 2.0|
ON THIS PAGE