Top "Objective-c-swift-bridge" questions

Swift’s compatibility with Objective-C lets you create a project that contains files written in either language.

Swift Bridging Header import issue

Following instructions, I've created a bridging header and added to my project. Unfortunately, the following error occurred: :0: error: could not …

ios swift xcode6 bridging-header objective-c-swift-bridge
Failed to emit precompiled header for bridging header

I downloaded a project from GitHub, then pod the following files, some of which are written by OBJ-C and I …

ios swift compiler-errors objective-c-swift-bridge
Cannot access property on Swift type from Objective-C

I am trying to access a Swift class's Double? property from Objective-C. class BusinessDetailViewController: UIViewController { var lat : Double? var lon : …

objective-c swift types objective-c-swift-bridge
How do I convert NSDictionary to Dictionary?

I have already updated to XCode 8 and now I need to convert my code from Swift 2 to Swift 3. Before, when …

swift dictionary nsdictionary objective-c-swift-bridge
How do I remove a bridge header without getting errors?

I added a bridge header to my app the other day because I was trying to add Objective-C files to …

ios objective-c xcode swift objective-c-swift-bridge
How to modify SWIFT_MODULE_NAME?

The title says it all. I've searched in the build settings for SWIFT_MODULE_NAME, and nothing came up. I've …

ios objective-c xcode swift objective-c-swift-bridge