Add ObjC Cocoapod to Swift
There is a wonderful Objc pod ( this ) that I want to implement in my project, but I am not making it work.
As I understand it, I need:
- Download pod
platform :ios, '8.0' use_frameworks! pod 'SwiftyJSON' pod 'KVNProgress'
- Create Objectiv C Header File
#import <KVNProgress/KVNProgress.h>
- Set the Objective-C Bridging Header under Application> Build Settings
That's it, but I don't understand why it doesn't work.
+3
AndrΓ© Kuhlmann
source
to share
1 answer
Great after half a day of testing and 4 minutes after I asked my question I received it, thanks for helping me .; D
My problem was to add ...
import KVNProgress
... in my swift file.
+4
AndrΓ© Kuhlmann
source
to share