O'Reilly logo

Building Bluetooth Low Energy Systems by Muhammad Usama bin Aftab

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required