Can you use objective c in swift?



Can you use objective c in swift?..

Answer / Vikrant Singh Bhadana

Yes, it is possible to use Objective-C code within Swift projects by bridging the two languages. However, it is recommended to write new code in Swift when possible, as it provides a more modern and efficient development experience.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is .h and .m file in xcode?

1 Answers  


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

1 Answers  


What is ivar objective c?

1 Answers  


Can you please explain the way messaging works in objective-c?

1 Answers  


Does objective-c contain private strategies?

1 Answers  


Can I write some c++ function in same .m file? Will it compile? If no, what changes should I do to compile it?

1 Answers  


Where is objective c used?

1 Answers  


What is a block objective c?

1 Answers  


How to make a code snippet thread safe?

1 Answers  


What is objective c vs c?

1 Answers  


Is objective c, a dynamic language? True/false, explain.

1 Answers  


Explain immutable types in objective c programming language?

1 Answers  


Categories