Estimote SDK for iOS

In this section, we will learn how to implement the same examples using iOS. The Estimote SDK is written in Objective-C, but it works perfectly with Swift as well. You need to provide a bridging header by following these steps:

  1. Choose New File by right-clicking on the project's group.
  2. Pick a Header File from the iOS-Source section.
  3. Save the header file as ObjCBridge.h.
  4. Import the Estimote SDK by calling #import <EstimoteSDK/EstimoteSDK.h> in the newly created file.
  5. Go to Build Settings.
  6. Find the Objective-C Bridging Header setting, and set it to ${PROJECT_NAME}/ObjCBridge.h.

Once you are all set up with the bridging header, you can start using the SDK in Swift.

For iOS, we will use the same procedure and example as ...

Get Building Bluetooth Low Energy Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.