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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -