Warning: is_writable(): open_basedir restriction in effect. File(/var/www/clients/client2/web93/web/wp-content/uploads/broken-link-checker/blc-log.txt) is not within the allowed path(s): (/var/www/clients/client1/web15/web:/var/www/clients/client1/web15/private:/var/www/clients/client1/web15/tmp:/var/www/supersonic-knowledge.rtl.co.il/web:/srv/www/supersonic-knowledge.rtl.co.il/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web15/web/wp-content/plugins/broken-link-checker/core/init.php on line 141
Supersonic iOS Integration with Swift - Supersonic Knowledge Center

Supersonic iOS Integration with Swift

Supersonic supports both Objective-C and Swift. While the Supersonic SDK is written in Objective-C, you can easily make it compatible to Swift by following the subsequent procedure:

Import Objective-C to Swift

  1. Download ‘Supersonic-Bridging-Header.h‘ file here.
  2. Unzip it and add Supersonic-Bridging-Header.h into your Xcode Project.
  3. Navigate to Targets Build Setting and scroll down to the Objective-C Bridging Header.
  4.  Enter the Header File path or drag it into the box as can be seen below:
    Supersonic iOS Integration with Swift - 00

Once you’ve completed the above steps, you can use Swift seamlessly within the Supersonic SDK, without importing any additional Header Files.

 


 

What’s Next?

You are now all set to start integrating Supersonic’s SDK with Swift!
Navigate to Getting Started With Supersonic iOS SDK to integrate Supersonic’s iOS SDK.