ironSource iOS SDK Integration with Swift
ironSource supports both Objective-C and Swift. While the ironSource SDK is written in Objective-C, you can easily make it compatible to Swift by following the below steps. The ironSource SDK supports Swift 3 and above.
Important!
Starting from SDK 7.2.7 do not use ironSource.h as bridging header. Instead, use the following import:
import IronSource
Import Objective-C to Swift
If you are using swift, you need to make sure your application is pointing to IronSource.h file to include the bridge you need.
Once you’ve completed the above step, you can use Swift seamlessly within the ironSource SDK, without importing any additional Header Files.
Done!
What’s Next?
You are now all set to start integrating the ironSource SDK with Swift!
Navigate to Getting Started With ironSource iOS SDK to integrate our latest iOS SDK.