Built.io joins Software AG! Read all about the news.

Built.io Blog

Using Swift with built.io


As most people now know, Apple has released a new language similar to Objective-C called Swift. Swift makes it easier, faster, and more intuitive to build iOS applications. We're excited to announce that built.io supports Swift development within our application development platform. Even more exciting is that using the Swift SDK for built.io is super simple and can be done in just 5 simple steps:

  1. Perform the basic SDK integration steps until step 9, as described in the Quickstart guide.
  2. Make sure you have properly placed the BuiltSDK framework, its dependencies, and the OtherLinkerFlags set.
  3. In order to use the builtSDK framework, you will have to create a bridging header file. Click on File, New. After creating a new file, click on File, and select Header File in the Source tab. You cann name this file BridgeHeader.h.Screen-Shot-2014-08-07-at-3.06.40-pm.png
  4. Open your project build settings and search for "Bridging". Change the name of the key from, Objective-C Bridging Header, to your_project_name_path/BridgeHeader.h.


  5. You are now ready to add your imports into your BridgeHeader.h file for the built framework you want to use, just as you would do in your .pch file.Screen-Shot-2014-08-07-at-3.17.25-pm.png

That’s it! You can now use the built framework. You don’t even have to import them again in your .swift files. You can also import any other Objective-C file added to your workspace this way.


To learn more, read the documentation.

Popular Posts

Subscribe to our blog