ios-fontawesome icon indicating copy to clipboard operation
ios-fontawesome copied to clipboard

Is there any way to put font from storyboard?

Open sk29110 opened this issue 9 years ago • 4 comments

A lot of times we have designer updating the asset and it would very nice if we can specified through the UI. However I only see the way to input is through the code. Let me know if anyone knows how to enter through ui.

Shinya

sk29110 avatar Aug 21 '15 16:08 sk29110

This is definitely possible @sk29110 (it doesn't require this library). All you need is the FontAwesome.ttf font installed in your Xcode project. Then, just create a label as normal, setting the font to 'FontAwesome' from the font list. Then simply pick your icon from the FontAwesome cheatsheet (http://fortawesome.github.io/Font-Awesome/cheatsheet/). Don't type the fa code, or the unicode string, just copy and paste the icon itself into the label text field for the label in Interface Builder. Voila. :)

jasontrask avatar Sep 18 '15 07:09 jasontrask

Hello: I am trying to use fontAwesome for a UIButton in interface builder with this library. The font appears in the font list in interface builder and it renders in xCode, but it is showing the typical question mark icon when running. Any workaround? Thanks!

acecilia avatar Jun 20 '16 14:06 acecilia

@acecilia I think you might need to add an entry to your plist like mentioned here

kdawgwilk avatar Oct 22 '16 01:10 kdawgwilk

I made entry in info.plist. And trying to put label text & copied icon from (http://fortawesome.github.io/Font-Awesome/cheatsheet)/. But it is showing question mark icon on run. What can be the issue?

amruta-sanap avatar Oct 12 '17 07:10 amruta-sanap