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:
- Perform the basic SDK integration steps until step 9, as described in the Quickstart guide.
- Make sure you have properly placed the
BuiltSDKframework, its dependencies, and the
- In order to use the
builtSDKframework, you will have to create a bridging header file. Click on
New. After creating a new file, click on
File, and select
Header Filein the
Sourcetab. You cann name this file
- Open your project build settings and search for "Bridging". Change the name of the key from,
Objective-C Bridging Header, to
- You are now ready to add your imports into your
BridgeHeader.hfile for the built framework you want to use, just as you would do in your
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.