1

I have a use case, where we am using two different classes written in Swift and Objective-C. So Is it possible to user these two language together in the same project?

My current code is written on Swift, Now there is one new library (iHealthLab), which we are gonna use, is written on Objective-C. So I want to use their library code in my project.

So is it possible? Is there any example where someone have done this before?

Sophia
  • 1,046
  • 1
  • 12
  • 15
  • 1
    yes, it is possible to use both on same ios project. some ref: https://stackoverflow.com/questions/24002369/how-do-i-call-objective-c-code-from-swift – CbL May 19 '22 at 10:21
  • https://pub.dev/packages/pigeon , I dont know but if I correct. this is what you want – Skyturkish May 19 '22 at 14:50

0 Answers0