What is bridging header in swift?



What is bridging header in swift?..

Answer / Rohit Srivastava

A Swift bridging header is a source file with a .h extension, created by Xcode when you add a Swift file to your Objective-C project. It provides a way for Swift and Objective-C code to communicate, making it possible for the two languages to interact with each other in a project.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Swift Interview Questions

What is difference between weak and strong in swift?

1 Answers  


What is enum in swift?

1 Answers  


Is swift pass by reference?

1 Answers  


What is differences in swift 1.x, 2.x, 3.x, 4.x?

1 Answers  


Consider the following code: let op1: Int = 1 let op2: UInt = 2 let op3: Double = 3.34 var result = op1 + op2 + op3 Where is the error and why? How can it be fixed?

1 Answers  


What is a tuple in swift?

1 Answers  


What is tuple? How to create a tuple in swift?

1 Answers  


How does a swift transfer work?

1 Answers  


Explain how multiple line comment can be written in swift?

1 Answers  


Is swift similar to c?

1 Answers  


How will you define base class?

1 Answers  


What is a type in swift?

1 Answers  


Categories