How do I create a bridging header file?



How do I create a bridging header file?..

Answer / Monika Deora

To create a bridging header file in Xcode, select your project in the Project Navigator, click on the Build Settings tab, search for 'Objective-C Bridging Header', and set its value to the desired name. Then, you can import this header file in any Swift source file (.swift) that needs access to Objective-C code using the `#import` directive.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What happen if we send any message to an object which is released?

1 Answers  


Can a protocol have properties?

1 Answers  


what is gcd? What are advantages over nsthread?

1 Answers  


Explain class definition in objective-c?

1 Answers  


What is objective c good for?

1 Answers  


What are the rules of variable?

1 Answers  


How do I open .m files?

1 Answers  


What is the difference between a script and function?

1 Answers  


What do you mean by @synthesize and @dynamic in the objective-c?

1 Answers  


How much does m files cost?

1 Answers  


What is parsing? Mention which class can you use for parsing of xml in iphone?

1 Answers  


Is objective c type safe?

1 Answers  


Categories