ios - Using Swift library in an Objective-C project -


i working in objective-c, ios project, used danielgindi charts library swift library. downloaded using cocoapods.

i trying import library files objective-c files using 'projectname-swift.h' mentioned in this question faced error:

'projectname-swift.h' file not found

if have installed swift library using cocoapods

to import library in objective c code use in objective c

@import frameworkname; 

in swift

@import frameworkname 

Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -