FontAwesomeKit
FontAwesomeKit copied to clipboard
how to integrated with swift?
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. https://github.com/SwiftyJSON/SwiftyJSON/issues/192#issuecomment-95345623
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.