Accela SDK for iOS  V3.0
Accela SDK for iOS

Introduction

Accela SDK for iOS allows you to add Accela Civic Cloud functionality to your iPhone, iPod touch, and iPad applications. The SDK includes an Objective-C API that leverages functionality provided by Accela Civic Cloud services through the REST interface. The API primarily provides record and inspection components. The record component accesses record information and allows for simple create of records. The inspections component allows access to inspection data with functions to schedule, reschedule, and cancel.

The API is available in a single AccelaMobile.framework. Classes and functions defined in this library begin with the prefix AM. This prefix acts as a namespace and prevents naming conflicts with classes defined in your application or other frameworks you use.

Setting up your XCode project

You need to use a minimum of iOS 5 SDK to build your applications. Be sure to set your XCode project's Base SDK setting accordingly. Even though you need to build with the aforementioned SDKs, you can still target devices running iPhone OS 5.0 or higher. You can do this by configuring your XCode project's iPhone OS Deployment Target setting and adding runtime checks to ensure that your application does not use features that are unavailable on the target device/platform.

The Accela SDK library depends upon the following frameworks and libraries. These need your XCode project as references -

  • libxml2.dylib
  • libz.1.2.5.dylib
  • CoreFoundation.framework
  • SystemConfiguration.framework
  • MobileCoreServices.framework
  • CFNetwork.framework
  • Foundation.framework
  • CoreGraphics.framework
  • UIKit.framework

You need to set the Target -> Other Linker Flags Session to include -lz

Finally, you must also specify use the -ObjC and -all_load linker flags in your project's Other Linker Flags build setting. This is because the Accela SDK library defines Objective-C categories which do not get loaded without these flags. See this for more information.

 All Classes Functions Properties