PrideChung/FontAwesomeKit

how to integrated with swift?

adad184 opened this issue · 5 comments

i install with cocoapod & imported in bridge header

#import <FontAwesomeKit/FAKFontAwesome.h>

but i still got

Use of unresolved identifier 'FAKFontAwesome'

I have the same problem.

#import "FAKFontAwesome.h" instead.

It's similar to this problem.
SwiftyJSON/SwiftyJSON#192 (comment)

My problem has been solved.

Project > General > Linked Framework and Libraries > 
add FontAwesomeKit

import FontAwesomeKit

I'm running into issues as well. Neither solutions have worked for me.

i'm getting my code to compile with the following Podfile:

# since I'm using pods as frameworks, i usually don't need to import obj-c libs in the bridging header.
use_frameworks!
link_with 'MyApp', 'MyAppTests'

target 'MyApp' do
  pod 'FontAwesomeKit/FontAwesome', '~> 2.1.0'
end

and then, somewhere in my project:

import 'FontAwesomeKit'

And my code compiles.