Closed iDevo closed 6 years ago
I figured out, the best way is to simply create a swift wrapper and use this swift wrapper to interact between your ObjC classes and the framework.
So simply create a new NSObject swift file and follow Frugghi's documentation, to set everything up. Then go to your ObjC file and import your <MyProjectName>-Swift.h
file, so you can call your swift functions using ObjC.
Hi Frugghi! First of all thank you all so much for sharing your awesome library! I switched from NMSSH and already tested your project in a tiny Swift Hello-World, which worked great.
Due to the fact that my existing App is written in ObjC, I'd like to get everything running within a ObjC class but the compiler can't find any classes, like for example the
Command
class or theSSHConnection
class beyond. I tried multiple lines of code, in order to import the framework into my ObjC wrapper class:Of course I followed your handy description to install the framework via CocoaPods. Do you have any idea, recommendation or workaround?
Thank you very much!