Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
An helper to use FontAwesome iconic font semantically with image rendering and caching support.
// erkanyildiz
// 20180823-0122+0900
//
// FontAwesome.h
// Based on FontAwesome 4.7.0
// Check https://fontawesome.com/v4.7.0/cheatsheet/ for icons
// Make sure FontAwesome.otf is specified in info plist file, and added to bundle resources.
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIBarButtonItem (FontAwesome)
+ (UIBarButtonItem *)withIcon:(NSString *)iconID target:(nullable id)target action:(nullable SEL)action;
+ (UIBarButtonItem *)withIcon:(NSString *)iconID target:(nullable id)target action:(nullable SEL)action size:(CGFloat)size;
@end
@interface UIButton (FontAwesome)
- (void)setIcon:(NSString *)iconID size:(CGFloat)size;
@end
@interface UIImage (FontAwesome)
+ (UIImage *)tabBarIcon:(NSString *)iconID;
+ (UIImage *)navBarIcon:(NSString *)iconID;
+ (UIImage *)withIcon:(NSString *)iconID size:(CGSize)size color:(UIColor *)color;
@end
extern const struct FontAwesome
{
__unsafe_unretained NSString* five_hundred_px;
__unsafe_unretained NSString* address_book;
__unsafe_unretained NSString* address_book_o;
__unsafe_unretained NSString* address_card;
__unsafe_unretained NSString* address_card_o;
__unsafe_unretained NSString* adjust;
__unsafe_unretained NSString* adn;
__unsafe_unretained NSString* align_center;
__unsafe_unretained NSString* align_justify;
__unsafe_unretained NSString* align_left;
__unsafe_unretained NSString* align_right;
__unsafe_unretained NSString* amazon;
__unsafe_unretained NSString* ambulance;
__unsafe_unretained NSString* anchor;
__unsafe_unretained NSString* android;
__unsafe_unretained NSString* angellist;
__unsafe_unretained NSString* angle_double_down;
__unsafe_unretained NSString* angle_double_left;
__unsafe_unretained NSString* angle_double_right;
__unsafe_unretained NSString* angle_double_up;
__unsafe_unretained NSString* angle_down;
__unsafe_unretained NSString* angle_left;
__unsafe_unretained NSString* angle_right;
__unsafe_unretained NSString* angle_up;
__unsafe_unretained NSString* apple;
__unsafe_unretained NSString* archive;
__unsafe_unretained NSString* area_chart;
__unsafe_unretained NSString* arrow_circle_down;
__unsafe_unretained NSString* arrow_circle_left;
__unsafe_unretained NSString* arrow_circle_o_down;
__unsafe_unretained NSString* arrow_circle_o_left;
__unsafe_unretained NSString* arrow_circle_o_right;
__unsafe_unretained NSString* arrow_circle_o_up;
__unsafe_unretained NSString* arrow_circle_right;
__unsafe_unretained NSString* arrow_circle_up;
__unsafe_unretained NSString* arrow_down;
__unsafe_unretained NSString* arrow_left;
__unsafe_unretained NSString* arrow_right;
__unsafe_unretained NSString* arrow_up;
__unsafe_unretained NSString* arrows;
__unsafe_unretained NSString* arrows_alt;
__unsafe_unretained NSString* arrows_h;
__unsafe_unretained NSString* arrows_v;
__unsafe_unretained NSString* asl_interpreting;
__unsafe_unretained NSString* assistive_listening_systems;
__unsafe_unretained NSString* asterisk;
__unsafe_unretained NSString* at;
__unsafe_unretained NSString* audio_description;
__unsafe_unretained NSString* automobile;
__unsafe_unretained NSString* backward;
__unsafe_unretained NSString* balance_scale;
__unsafe_unretained NSString* ban;
__unsafe_unretained NSString* bandcamp;
__unsafe_unretained NSString* bank;
__unsafe_unretained NSString* bar_chart;
__unsafe_unretained NSString* bar_chart_o;
__unsafe_unretained NSString* barcode;
__unsafe_unretained NSString* bars;
__unsafe_unretained NSString* bath;
__unsafe_unretained NSString* bathtub;
__unsafe_unretained NSString* battery;
__unsafe_unretained NSString* battery_0;
__unsafe_unretained NSString* battery_1;
__unsafe_unretained NSString* battery_2;
__unsafe_unretained NSString* battery_3;
__unsafe_unretained NSString* battery_4;
__unsafe_unretained NSString* battery_empty;
__unsafe_unretained NSString* battery_full;
__unsafe_unretained NSString* battery_half;
__unsafe_unretained NSString* battery_quarter;
__unsafe_unretained NSString* battery_three_quarters;
__unsafe_unretained NSString* bed;
__unsafe_unretained NSString* beer;
__unsafe_unretained NSString* behance;
__unsafe_unretained NSString* behance_square;
__unsafe_unretained NSString* bell;
__unsafe_unretained NSString* bell_o;
__unsafe_unretained NSString* bell_slash;
__unsafe_unretained NSString* bell_slash_o;
__unsafe_unretained NSString* bicycle;
__unsafe_unretained NSString* binoculars;
__unsafe_unretained NSString* birthday_cake;
__unsafe_unretained NSString* bitbucket;
__unsafe_unretained NSString* bitbucket_square;
__unsafe_unretained NSString* bitcoin;
__unsafe_unretained NSString* black_tie;
__unsafe_unretained NSString* blind;
__unsafe_unretained NSString* bluetooth;
__unsafe_unretained NSString* bluetooth_b;
__unsafe_unretained NSString* bold;
__unsafe_unretained NSString* bolt;
__unsafe_unretained NSString* bomb;
__unsafe_unretained NSString* book;
__unsafe_unretained NSString* bookmark;
__unsafe_unretained NSString* bookmark_o;
__unsafe_unretained NSString* braille;
__unsafe_unretained NSString* briefcase;
__unsafe_unretained NSString* btc;
__unsafe_unretained NSString* bug;
__unsafe_unretained NSString* building;
__unsafe_unretained NSString* building_o;
__unsafe_unretained NSString* bullhorn;
__unsafe_unretained NSString* bullseye;
__unsafe_unretained NSString* bus;
__unsafe_unretained NSString* buysellads;
__unsafe_unretained NSString* cab;
__unsafe_unretained NSString* calculator;
__unsafe_unretained NSString* calendar;
__unsafe_unretained NSString* calendar_check_o;
__unsafe_unretained NSString* calendar_minus_o;
__unsafe_unretained NSString* calendar_o;
__unsafe_unretained NSString* calendar_plus_o;
__unsafe_unretained NSString* calendar_times_o;
__unsafe_unretained NSString* camera;
__unsafe_unretained NSString* camera_retro;
__unsafe_unretained NSString* car;
__unsafe_unretained NSString* caret_down;
__unsafe_unretained NSString* caret_left;
__unsafe_unretained NSString* caret_right;
__unsafe_unretained NSString* caret_square_o_down;
__unsafe_unretained NSString* caret_square_o_left;
__unsafe_unretained NSString* caret_square_o_right;
__unsafe_unretained NSString* caret_square_o_up;
__unsafe_unretained NSString* caret_up;
__unsafe_unretained NSString* cart_arrow_down;
__unsafe_unretained NSString* cart_plus;
__unsafe_unretained NSString* cc;
__unsafe_unretained NSString* cc_amex;
__unsafe_unretained NSString* cc_diners_club;
__unsafe_unretained NSString* cc_discover;
__unsafe_unretained NSString* cc_jcb;
__unsafe_unretained NSString* cc_mastercard;
__unsafe_unretained NSString* cc_paypal;
__unsafe_unretained NSString* cc_stripe;
__unsafe_unretained NSString* cc_visa;
__unsafe_unretained NSString* certificate;
__unsafe_unretained NSString* chain;
__unsafe_unretained NSString* chain_broken;
__unsafe_unretained NSString* check;
__unsafe_unretained NSString* check_circle;
__unsafe_unretained NSString* check_circle_o;
__unsafe_unretained NSString* check_square;
__unsafe_unretained NSString* check_square_o;
__unsafe_unretained NSString* chevron_circle_down;
__unsafe_unretained NSString* chevron_circle_left;
__unsafe_unretained NSString* chevron_circle_right;
__unsafe_unretained NSString* chevron_circle_up;
__unsafe_unretained NSString* chevron_down;
__unsafe_unretained NSString* chevron_left;
__unsafe_unretained NSString* chevron_right;
__unsafe_unretained NSString* chevron_up;
__unsafe_unretained NSString* child;
__unsafe_unretained NSString* chrome;
__unsafe_unretained NSString* circle;
__unsafe_unretained NSString* circle_o;
__unsafe_unretained NSString* circle_o_notch;
__unsafe_unretained NSString* circle_thin;
__unsafe_unretained NSString* clipboard;
__unsafe_unretained NSString* clock_o;
__unsafe_unretained NSString* clone;
__unsafe_unretained NSString* close;
__unsafe_unretained NSString* cloud;
__unsafe_unretained NSString* cloud_download;
__unsafe_unretained NSString* cloud_upload;
__unsafe_unretained NSString* cny;
__unsafe_unretained NSString* code;
__unsafe_unretained NSString* code_fork;
__unsafe_unretained NSString* codepen;
__unsafe_unretained NSString* codiepie;
__unsafe_unretained NSString* coffee;
__unsafe_unretained NSString* cog;
__unsafe_unretained NSString* cogs;
__unsafe_unretained NSString* columns;
__unsafe_unretained NSString* comment;
__unsafe_unretained NSString* comment_o;
__unsafe_unretained NSString* commenting;
__unsafe_unretained NSString* commenting_o;
__unsafe_unretained NSString* comments;
__unsafe_unretained NSString* comments_o;
__unsafe_unretained NSString* compass;
__unsafe_unretained NSString* compress;
__unsafe_unretained NSString* connectdevelop;
__unsafe_unretained NSString* contao;
__unsafe_unretained NSString* copy;
__unsafe_unretained NSString* copyright;
__unsafe_unretained NSString* creative_commons;
__unsafe_unretained NSString* credit_card;
__unsafe_unretained NSString* credit_card_alt;
__unsafe_unretained NSString* crop;
__unsafe_unretained NSString* crosshairs;
__unsafe_unretained NSString* css3;
__unsafe_unretained NSString* cube;
__unsafe_unretained NSString* cubes;
__unsafe_unretained NSString* cut;
__unsafe_unretained NSString* cutlery;
__unsafe_unretained NSString* dashboard;
__unsafe_unretained NSString* dashcube;
__unsafe_unretained NSString* database;
__unsafe_unretained NSString* deaf;
__unsafe_unretained NSString* deafness;
__unsafe_unretained NSString* dedent;
__unsafe_unretained NSString* delicious;
__unsafe_unretained NSString* desktop;
__unsafe_unretained NSString* deviantart;
__unsafe_unretained NSString* diamond;
__unsafe_unretained NSString* digg;
__unsafe_unretained NSString* dollar;
__unsafe_unretained NSString* dot_circle_o;
__unsafe_unretained NSString* download;
__unsafe_unretained NSString* dribbble;
__unsafe_unretained NSString* drivers_license;
__unsafe_unretained NSString* drivers_license_o;
__unsafe_unretained NSString* dropbox;
__unsafe_unretained NSString* drupal;
__unsafe_unretained NSString* edge;
__unsafe_unretained NSString* edit;
__unsafe_unretained NSString* eercast;
__unsafe_unretained NSString* eject;
__unsafe_unretained NSString* ellipsis_h;
__unsafe_unretained NSString* ellipsis_v;
__unsafe_unretained NSString* empire;
__unsafe_unretained NSString* envelope;
__unsafe_unretained NSString* envelope_o;
__unsafe_unretained NSString* envelope_open;
__unsafe_unretained NSString* envelope_open_o;
__unsafe_unretained NSString* envelope_square;
__unsafe_unretained NSString* envira;
__unsafe_unretained NSString* eraser;
__unsafe_unretained NSString* etsy;
__unsafe_unretained NSString* eur;
__unsafe_unretained NSString* euro;
__unsafe_unretained NSString* exchange;
__unsafe_unretained NSString* exclamation;
__unsafe_unretained NSString* exclamation_circle;
__unsafe_unretained NSString* exclamation_triangle;
__unsafe_unretained NSString* expand;
__unsafe_unretained NSString* expeditedssl;
__unsafe_unretained NSString* external_link;
__unsafe_unretained NSString* external_link_square;
__unsafe_unretained NSString* eye;
__unsafe_unretained NSString* eye_slash;
__unsafe_unretained NSString* eyedropper;
__unsafe_unretained NSString* fa;
__unsafe_unretained NSString* facebook;
__unsafe_unretained NSString* facebook_f;
__unsafe_unretained NSString* facebook_official;
__unsafe_unretained NSString* facebook_square;
__unsafe_unretained NSString* fast_backward;
__unsafe_unretained NSString* fast_forward;
__unsafe_unretained NSString* fax;
__unsafe_unretained NSString* feed;
__unsafe_unretained NSString* female;
__unsafe_unretained NSString* fighter_jet;
__unsafe_unretained NSString* file;
__unsafe_unretained NSString* file_archive_o;
__unsafe_unretained NSString* file_audio_o;
__unsafe_unretained NSString* file_code_o;
__unsafe_unretained NSString* file_excel_o;
__unsafe_unretained NSString* file_image_o;
__unsafe_unretained NSString* file_movie_o;
__unsafe_unretained NSString* file_o;
__unsafe_unretained NSString* file_pdf_o;
__unsafe_unretained NSString* file_photo_o;
__unsafe_unretained NSString* file_picture_o;
__unsafe_unretained NSString* file_powerpoint_o;
__unsafe_unretained NSString* file_sound_o;
__unsafe_unretained NSString* file_text;
__unsafe_unretained NSString* file_text_o;
__unsafe_unretained NSString* file_video_o;
__unsafe_unretained NSString* file_word_o;
__unsafe_unretained NSString* file_zip_o;
__unsafe_unretained NSString* files_o;
__unsafe_unretained NSString* film;
__unsafe_unretained NSString* filter;
__unsafe_unretained NSString* fire;
__unsafe_unretained NSString* fire_extinguisher;
__unsafe_unretained NSString* firefox;
__unsafe_unretained NSString* first_order;
__unsafe_unretained NSString* flag;
__unsafe_unretained NSString* flag_checkered;
__unsafe_unretained NSString* flag_o;
__unsafe_unretained NSString* flash;
__unsafe_unretained NSString* flask;
__unsafe_unretained NSString* flickr;
__unsafe_unretained NSString* floppy_o;
__unsafe_unretained NSString* folder;
__unsafe_unretained NSString* folder_o;
__unsafe_unretained NSString* folder_open;
__unsafe_unretained NSString* folder_open_o;
__unsafe_unretained NSString* font;
__unsafe_unretained NSString* font_awesome;
__unsafe_unretained NSString* fonticons;
__unsafe_unretained NSString* fort_awesome;
__unsafe_unretained NSString* forumbee;
__unsafe_unretained NSString* forward;
__unsafe_unretained NSString* foursquare;
__unsafe_unretained NSString* free_code_camp;
__unsafe_unretained NSString* frown_o;
__unsafe_unretained NSString* futbol_o;
__unsafe_unretained NSString* gamepad;
__unsafe_unretained NSString* gavel;
__unsafe_unretained NSString* gbp;
__unsafe_unretained NSString* ge;
__unsafe_unretained NSString* gear;
__unsafe_unretained NSString* gears;
__unsafe_unretained NSString* genderless;
__unsafe_unretained NSString* get_pocket;
__unsafe_unretained NSString* gg;
__unsafe_unretained NSString* gg_circle;
__unsafe_unretained NSString* gift;
__unsafe_unretained NSString* git;
__unsafe_unretained NSString* git_square;
__unsafe_unretained NSString* github;
__unsafe_unretained NSString* github_alt;
__unsafe_unretained NSString* github_square;
__unsafe_unretained NSString* gitlab;
__unsafe_unretained NSString* gittip;
__unsafe_unretained NSString* glass;
__unsafe_unretained NSString* glide;
__unsafe_unretained NSString* glide_g;
__unsafe_unretained NSString* globe;
__unsafe_unretained NSString* google;
__unsafe_unretained NSString* google_plus;
__unsafe_unretained NSString* google_plus_circle;
__unsafe_unretained NSString* google_plus_official;
__unsafe_unretained NSString* google_plus_square;
__unsafe_unretained NSString* google_wallet;
__unsafe_unretained NSString* graduation_cap;
__unsafe_unretained NSString* gratipay;
__unsafe_unretained NSString* grav;
__unsafe_unretained NSString* group;
__unsafe_unretained NSString* h_square;
__unsafe_unretained NSString* hacker_news;
__unsafe_unretained NSString* hand_grab_o;
__unsafe_unretained NSString* hand_lizard_o;
__unsafe_unretained NSString* hand_o_down;
__unsafe_unretained NSString* hand_o_left;
__unsafe_unretained NSString* hand_o_right;
__unsafe_unretained NSString* hand_o_up;
__unsafe_unretained NSString* hand_paper_o;
__unsafe_unretained NSString* hand_peace_o;
__unsafe_unretained NSString* hand_pointer_o;
__unsafe_unretained NSString* hand_rock_o;
__unsafe_unretained NSString* hand_scissors_o;
__unsafe_unretained NSString* hand_spock_o;
__unsafe_unretained NSString* hand_stop_o;
__unsafe_unretained NSString* handshake_o;
__unsafe_unretained NSString* hard_of_hearing;
__unsafe_unretained NSString* hashtag;
__unsafe_unretained NSString* hdd_o;
__unsafe_unretained NSString* header;
__unsafe_unretained NSString* headphones;
__unsafe_unretained NSString* heart;
__unsafe_unretained NSString* heart_o;
__unsafe_unretained NSString* heartbeat;
__unsafe_unretained NSString* history;
__unsafe_unretained NSString* home;
__unsafe_unretained NSString* hospital_o;
__unsafe_unretained NSString* hotel;
__unsafe_unretained NSString* hourglass;
__unsafe_unretained NSString* hourglass_1;
__unsafe_unretained NSString* hourglass_2;
__unsafe_unretained NSString* hourglass_3;
__unsafe_unretained NSString* hourglass_end;
__unsafe_unretained NSString* hourglass_half;
__unsafe_unretained NSString* hourglass_o;
__unsafe_unretained NSString* hourglass_start;
__unsafe_unretained NSString* houzz;
__unsafe_unretained NSString* html5;
__unsafe_unretained NSString* i_cursor;
__unsafe_unretained NSString* id_badge;
__unsafe_unretained NSString* id_card;
__unsafe_unretained NSString* id_card_o;
__unsafe_unretained NSString* ils;
__unsafe_unretained NSString* image;
__unsafe_unretained NSString* imdb;
__unsafe_unretained NSString* inbox;
__unsafe_unretained NSString* indent;
__unsafe_unretained NSString* industry;
__unsafe_unretained NSString* info;
__unsafe_unretained NSString* info_circle;
__unsafe_unretained NSString* inr;
__unsafe_unretained NSString* instagram;
__unsafe_unretained NSString* institution;
__unsafe_unretained NSString* internet_explorer;
__unsafe_unretained NSString* intersex;
__unsafe_unretained NSString* ioxhost;
__unsafe_unretained NSString* italic;
__unsafe_unretained NSString* joomla;
__unsafe_unretained NSString* jpy;
__unsafe_unretained NSString* jsfiddle;
__unsafe_unretained NSString* key;
__unsafe_unretained NSString* keyboard_o;
__unsafe_unretained NSString* krw;
__unsafe_unretained NSString* language;
__unsafe_unretained NSString* laptop;
__unsafe_unretained NSString* lastfm;
__unsafe_unretained NSString* lastfm_square;
__unsafe_unretained NSString* leaf;
__unsafe_unretained NSString* leanpub;
__unsafe_unretained NSString* legal;
__unsafe_unretained NSString* lemon_o;
__unsafe_unretained NSString* level_down;
__unsafe_unretained NSString* level_up;
__unsafe_unretained NSString* life_bouy;
__unsafe_unretained NSString* life_buoy;
__unsafe_unretained NSString* life_ring;
__unsafe_unretained NSString* life_saver;
__unsafe_unretained NSString* lightbulb_o;
__unsafe_unretained NSString* line_chart;
__unsafe_unretained NSString* link;
__unsafe_unretained NSString* linkedin;
__unsafe_unretained NSString* linkedin_square;
__unsafe_unretained NSString* linode;
__unsafe_unretained NSString* linux;
__unsafe_unretained NSString* list;
__unsafe_unretained NSString* list_alt;
__unsafe_unretained NSString* list_ol;
__unsafe_unretained NSString* list_ul;
__unsafe_unretained NSString* location_arrow;
__unsafe_unretained NSString* lock;
__unsafe_unretained NSString* long_arrow_down;
__unsafe_unretained NSString* long_arrow_left;
__unsafe_unretained NSString* long_arrow_right;
__unsafe_unretained NSString* long_arrow_up;
__unsafe_unretained NSString* low_vision;
__unsafe_unretained NSString* magic;
__unsafe_unretained NSString* magnet;
__unsafe_unretained NSString* mail_forward;
__unsafe_unretained NSString* mail_reply;
__unsafe_unretained NSString* mail_reply_all;
__unsafe_unretained NSString* male;
__unsafe_unretained NSString* map;
__unsafe_unretained NSString* map_marker;
__unsafe_unretained NSString* map_o;
__unsafe_unretained NSString* map_pin;
__unsafe_unretained NSString* map_signs;
__unsafe_unretained NSString* mars;
__unsafe_unretained NSString* mars_double;
__unsafe_unretained NSString* mars_stroke;
__unsafe_unretained NSString* mars_stroke_h;
__unsafe_unretained NSString* mars_stroke_v;
__unsafe_unretained NSString* maxcdn;
__unsafe_unretained NSString* meanpath;
__unsafe_unretained NSString* medium;
__unsafe_unretained NSString* medkit;
__unsafe_unretained NSString* meetup;
__unsafe_unretained NSString* meh_o;
__unsafe_unretained NSString* mercury;
__unsafe_unretained NSString* microchip;
__unsafe_unretained NSString* microphone;
__unsafe_unretained NSString* microphone_slash;
__unsafe_unretained NSString* minus;
__unsafe_unretained NSString* minus_circle;
__unsafe_unretained NSString* minus_square;
__unsafe_unretained NSString* minus_square_o;
__unsafe_unretained NSString* mixcloud;
__unsafe_unretained NSString* mobile;
__unsafe_unretained NSString* mobile_phone;
__unsafe_unretained NSString* modx;
__unsafe_unretained NSString* money;
__unsafe_unretained NSString* moon_o;
__unsafe_unretained NSString* mortar_board;
__unsafe_unretained NSString* motorcycle;
__unsafe_unretained NSString* mouse_pointer;
__unsafe_unretained NSString* music;
__unsafe_unretained NSString* navicon;
__unsafe_unretained NSString* neuter;
__unsafe_unretained NSString* newspaper_o;
__unsafe_unretained NSString* object_group;
__unsafe_unretained NSString* object_ungroup;
__unsafe_unretained NSString* odnoklassniki;
__unsafe_unretained NSString* odnoklassniki_square;
__unsafe_unretained NSString* opencart;
__unsafe_unretained NSString* openid;
__unsafe_unretained NSString* opera;
__unsafe_unretained NSString* optin_monster;
__unsafe_unretained NSString* outdent;
__unsafe_unretained NSString* pagelines;
__unsafe_unretained NSString* paint_brush;
__unsafe_unretained NSString* paper_plane;
__unsafe_unretained NSString* paper_plane_o;
__unsafe_unretained NSString* paperclip;
__unsafe_unretained NSString* paragraph;
__unsafe_unretained NSString* paste;
__unsafe_unretained NSString* pause;
__unsafe_unretained NSString* pause_circle;
__unsafe_unretained NSString* pause_circle_o;
__unsafe_unretained NSString* paw;
__unsafe_unretained NSString* paypal;
__unsafe_unretained NSString* pencil;
__unsafe_unretained NSString* pencil_square;
__unsafe_unretained NSString* pencil_square_o;
__unsafe_unretained NSString* percent;
__unsafe_unretained NSString* phone;
__unsafe_unretained NSString* phone_square;
__unsafe_unretained NSString* photo;
__unsafe_unretained NSString* picture_o;
__unsafe_unretained NSString* pie_chart;
__unsafe_unretained NSString* pied_piper;
__unsafe_unretained NSString* pied_piper_alt;
__unsafe_unretained NSString* pied_piper_pp;
__unsafe_unretained NSString* pinterest;
__unsafe_unretained NSString* pinterest_p;
__unsafe_unretained NSString* pinterest_square;
__unsafe_unretained NSString* plane;
__unsafe_unretained NSString* play;
__unsafe_unretained NSString* play_circle;
__unsafe_unretained NSString* play_circle_o;
__unsafe_unretained NSString* plug;
__unsafe_unretained NSString* plus;
__unsafe_unretained NSString* plus_circle;
__unsafe_unretained NSString* plus_square;
__unsafe_unretained NSString* plus_square_o;
__unsafe_unretained NSString* podcast;
__unsafe_unretained NSString* power_off;
__unsafe_unretained NSString* print;
__unsafe_unretained NSString* product_hunt;
__unsafe_unretained NSString* puzzle_piece;
__unsafe_unretained NSString* qq;
__unsafe_unretained NSString* qrcode;
__unsafe_unretained NSString* question;
__unsafe_unretained NSString* question_circle;
__unsafe_unretained NSString* question_circle_o;
__unsafe_unretained NSString* quora;
__unsafe_unretained NSString* quote_left;
__unsafe_unretained NSString* quote_right;
__unsafe_unretained NSString* ra;
__unsafe_unretained NSString* random;
__unsafe_unretained NSString* ravelry;
__unsafe_unretained NSString* rebel;
__unsafe_unretained NSString* recycle;
__unsafe_unretained NSString* reddit;
__unsafe_unretained NSString* reddit_alien;
__unsafe_unretained NSString* reddit_square;
__unsafe_unretained NSString* refresh;
__unsafe_unretained NSString* registered;
__unsafe_unretained NSString* remove;
__unsafe_unretained NSString* renren;
__unsafe_unretained NSString* reorder;
__unsafe_unretained NSString* repeat;
__unsafe_unretained NSString* reply;
__unsafe_unretained NSString* reply_all;
__unsafe_unretained NSString* resistance;
__unsafe_unretained NSString* retweet;
__unsafe_unretained NSString* rmb;
__unsafe_unretained NSString* road;
__unsafe_unretained NSString* rocket;
__unsafe_unretained NSString* rotate_left;
__unsafe_unretained NSString* rotate_right;
__unsafe_unretained NSString* rouble;
__unsafe_unretained NSString* rss;
__unsafe_unretained NSString* rss_square;
__unsafe_unretained NSString* rub;
__unsafe_unretained NSString* ruble;
__unsafe_unretained NSString* rupee;
__unsafe_unretained NSString* s15;
__unsafe_unretained NSString* safari;
__unsafe_unretained NSString* save;
__unsafe_unretained NSString* scissors;
__unsafe_unretained NSString* scribd;
__unsafe_unretained NSString* search;
__unsafe_unretained NSString* search_minus;
__unsafe_unretained NSString* search_plus;
__unsafe_unretained NSString* sellsy;
__unsafe_unretained NSString* send;
__unsafe_unretained NSString* send_o;
__unsafe_unretained NSString* server;
__unsafe_unretained NSString* share;
__unsafe_unretained NSString* share_alt;
__unsafe_unretained NSString* share_alt_square;
__unsafe_unretained NSString* share_square;
__unsafe_unretained NSString* share_square_o;
__unsafe_unretained NSString* shekel;
__unsafe_unretained NSString* sheqel;
__unsafe_unretained NSString* shield;
__unsafe_unretained NSString* ship;
__unsafe_unretained NSString* shirtsinbulk;
__unsafe_unretained NSString* shopping_bag;
__unsafe_unretained NSString* shopping_basket;
__unsafe_unretained NSString* shopping_cart;
__unsafe_unretained NSString* shower;
__unsafe_unretained NSString* sign_in;
__unsafe_unretained NSString* sign_language;
__unsafe_unretained NSString* sign_out;
__unsafe_unretained NSString* signal;
__unsafe_unretained NSString* signing;
__unsafe_unretained NSString* simplybuilt;
__unsafe_unretained NSString* sitemap;
__unsafe_unretained NSString* skyatlas;
__unsafe_unretained NSString* skype;
__unsafe_unretained NSString* slack;
__unsafe_unretained NSString* sliders;
__unsafe_unretained NSString* slideshare;
__unsafe_unretained NSString* smile_o;
__unsafe_unretained NSString* snapchat;
__unsafe_unretained NSString* snapchat_ghost;
__unsafe_unretained NSString* snapchat_square;
__unsafe_unretained NSString* snowflake_o;
__unsafe_unretained NSString* soccer_ball_o;
__unsafe_unretained NSString* sort;
__unsafe_unretained NSString* sort_alpha_asc;
__unsafe_unretained NSString* sort_alpha_desc;
__unsafe_unretained NSString* sort_amount_asc;
__unsafe_unretained NSString* sort_amount_desc;
__unsafe_unretained NSString* sort_asc;
__unsafe_unretained NSString* sort_desc;
__unsafe_unretained NSString* sort_down;
__unsafe_unretained NSString* sort_numeric_asc;
__unsafe_unretained NSString* sort_numeric_desc;
__unsafe_unretained NSString* sort_up;
__unsafe_unretained NSString* soundcloud;
__unsafe_unretained NSString* space_shuttle;
__unsafe_unretained NSString* spinner;
__unsafe_unretained NSString* spoon;
__unsafe_unretained NSString* spotify;
__unsafe_unretained NSString* square;
__unsafe_unretained NSString* square_o;
__unsafe_unretained NSString* stack_exchange;
__unsafe_unretained NSString* stack_overflow;
__unsafe_unretained NSString* star;
__unsafe_unretained NSString* star_half;
__unsafe_unretained NSString* star_half_empty;
__unsafe_unretained NSString* star_half_full;
__unsafe_unretained NSString* star_half_o;
__unsafe_unretained NSString* star_o;
__unsafe_unretained NSString* steam;
__unsafe_unretained NSString* steam_square;
__unsafe_unretained NSString* step_backward;
__unsafe_unretained NSString* step_forward;
__unsafe_unretained NSString* stethoscope;
__unsafe_unretained NSString* sticky_note;
__unsafe_unretained NSString* sticky_note_o;
__unsafe_unretained NSString* stop;
__unsafe_unretained NSString* stop_circle;
__unsafe_unretained NSString* stop_circle_o;
__unsafe_unretained NSString* street_view;
__unsafe_unretained NSString* strikethrough;
__unsafe_unretained NSString* stumbleupon;
__unsafe_unretained NSString* stumbleupon_circle;
__unsafe_unretained NSString* subscript;
__unsafe_unretained NSString* subway;
__unsafe_unretained NSString* suitcase;
__unsafe_unretained NSString* sun_o;
__unsafe_unretained NSString* superpowers;
__unsafe_unretained NSString* superscript;
__unsafe_unretained NSString* support;
__unsafe_unretained NSString* table;
__unsafe_unretained NSString* tablet;
__unsafe_unretained NSString* tachometer;
__unsafe_unretained NSString* tag;
__unsafe_unretained NSString* tags;
__unsafe_unretained NSString* tasks;
__unsafe_unretained NSString* taxi;
__unsafe_unretained NSString* telegram;
__unsafe_unretained NSString* television;
__unsafe_unretained NSString* tencent_weibo;
__unsafe_unretained NSString* terminal;
__unsafe_unretained NSString* text_height;
__unsafe_unretained NSString* text_width;
__unsafe_unretained NSString* th;
__unsafe_unretained NSString* th_large;
__unsafe_unretained NSString* th_list;
__unsafe_unretained NSString* themeisle;
__unsafe_unretained NSString* thermometer;
__unsafe_unretained NSString* thermometer_0;
__unsafe_unretained NSString* thermometer_1;
__unsafe_unretained NSString* thermometer_2;
__unsafe_unretained NSString* thermometer_3;
__unsafe_unretained NSString* thermometer_4;
__unsafe_unretained NSString* thermometer_empty;
__unsafe_unretained NSString* thermometer_full;
__unsafe_unretained NSString* thermometer_half;
__unsafe_unretained NSString* thermometer_quarter;
__unsafe_unretained NSString* thermometer_three_quarters;
__unsafe_unretained NSString* thumb_tack;
__unsafe_unretained NSString* thumbs_down;
__unsafe_unretained NSString* thumbs_o_down;
__unsafe_unretained NSString* thumbs_o_up;
__unsafe_unretained NSString* thumbs_up;
__unsafe_unretained NSString* ticket;
__unsafe_unretained NSString* times;
__unsafe_unretained NSString* times_circle;
__unsafe_unretained NSString* times_circle_o;
__unsafe_unretained NSString* times_rectangle;
__unsafe_unretained NSString* times_rectangle_o;
__unsafe_unretained NSString* tint;
__unsafe_unretained NSString* toggle_down;
__unsafe_unretained NSString* toggle_left;
__unsafe_unretained NSString* toggle_off;
__unsafe_unretained NSString* toggle_on;
__unsafe_unretained NSString* toggle_right;
__unsafe_unretained NSString* toggle_up;
__unsafe_unretained NSString* trademark;
__unsafe_unretained NSString* train;
__unsafe_unretained NSString* transgender;
__unsafe_unretained NSString* transgender_alt;
__unsafe_unretained NSString* trash;
__unsafe_unretained NSString* trash_o;
__unsafe_unretained NSString* tree;
__unsafe_unretained NSString* trello;
__unsafe_unretained NSString* tripadvisor;
__unsafe_unretained NSString* trophy;
__unsafe_unretained NSString* truck;
__unsafe_unretained NSString* try;
__unsafe_unretained NSString* tty;
__unsafe_unretained NSString* tumblr;
__unsafe_unretained NSString* tumblr_square;
__unsafe_unretained NSString* turkish_lira;
__unsafe_unretained NSString* tv;
__unsafe_unretained NSString* twitch;
__unsafe_unretained NSString* twitter;
__unsafe_unretained NSString* twitter_square;
__unsafe_unretained NSString* umbrella;
__unsafe_unretained NSString* underline;
__unsafe_unretained NSString* undo;
__unsafe_unretained NSString* universal_access;
__unsafe_unretained NSString* university;
__unsafe_unretained NSString* unlink;
__unsafe_unretained NSString* unlock;
__unsafe_unretained NSString* unlock_alt;
__unsafe_unretained NSString* unsorted;
__unsafe_unretained NSString* upload;
__unsafe_unretained NSString* usb;
__unsafe_unretained NSString* usd;
__unsafe_unretained NSString* user;
__unsafe_unretained NSString* user_circle;
__unsafe_unretained NSString* user_circle_o;
__unsafe_unretained NSString* user_md;
__unsafe_unretained NSString* user_o;
__unsafe_unretained NSString* user_plus;
__unsafe_unretained NSString* user_secret;
__unsafe_unretained NSString* user_times;
__unsafe_unretained NSString* users;
__unsafe_unretained NSString* vcard;
__unsafe_unretained NSString* vcard_o;
__unsafe_unretained NSString* venus;
__unsafe_unretained NSString* venus_double;
__unsafe_unretained NSString* venus_mars;
__unsafe_unretained NSString* viacoin;
__unsafe_unretained NSString* viadeo;
__unsafe_unretained NSString* viadeo_square;
__unsafe_unretained NSString* video_camera;
__unsafe_unretained NSString* vimeo;
__unsafe_unretained NSString* vimeo_square;
__unsafe_unretained NSString* vine;
__unsafe_unretained NSString* vk;
__unsafe_unretained NSString* volume_control_phone;
__unsafe_unretained NSString* volume_down;
__unsafe_unretained NSString* volume_off;
__unsafe_unretained NSString* volume_up;
__unsafe_unretained NSString* warning;
__unsafe_unretained NSString* wechat;
__unsafe_unretained NSString* weibo;
__unsafe_unretained NSString* weixin;
__unsafe_unretained NSString* whatsapp;
__unsafe_unretained NSString* wheelchair;
__unsafe_unretained NSString* wheelchair_alt;
__unsafe_unretained NSString* wifi;
__unsafe_unretained NSString* wikipedia_w;
__unsafe_unretained NSString* window_close;
__unsafe_unretained NSString* window_close_o;
__unsafe_unretained NSString* window_maximize;
__unsafe_unretained NSString* window_minimize;
__unsafe_unretained NSString* window_restore;
__unsafe_unretained NSString* windows;
__unsafe_unretained NSString* won;
__unsafe_unretained NSString* wordpress;
__unsafe_unretained NSString* wpbeginner;
__unsafe_unretained NSString* wpexplorer;
__unsafe_unretained NSString* wpforms;
__unsafe_unretained NSString* wrench;
__unsafe_unretained NSString* xing;
__unsafe_unretained NSString* xing_square;
__unsafe_unretained NSString* y_combinator;
__unsafe_unretained NSString* y_combinator_square;
__unsafe_unretained NSString* yahoo;
__unsafe_unretained NSString* yc;
__unsafe_unretained NSString* yc_square;
__unsafe_unretained NSString* yelp;
__unsafe_unretained NSString* yen;
__unsafe_unretained NSString* yoast;
__unsafe_unretained NSString* youtube;
__unsafe_unretained NSString* youtube_play;
__unsafe_unretained NSString* youtube_square;
} FontAwesome;
NS_ASSUME_NONNULL_END
// erkanyildiz
// 20180823-0122+0900
//
// FontAwesome.m
#import "FontAwesome.h"
@implementation UIBarButtonItem (FontAwesome)
+ (UIBarButtonItem *)withIcon:(NSString *)iconID target:(nullable id)target action:(nullable SEL)action
{
return [self withIcon:iconID target:target action:action size:20];
}
+ (UIBarButtonItem *)withIcon:(NSString *)iconID target:(nullable id)target action:(nullable SEL)action size:(CGFloat)size
{
UIBarButtonItem* barButtonItem = [UIBarButtonItem.alloc initWithTitle:iconID style:UIBarButtonItemStylePlain target:target action:action];
UIFont* font = [UIFont fontWithName:@"FontAwesome" size:size];
NSDictionary* attributes = @{NSFontAttributeName: font};
[barButtonItem setTitleTextAttributes:attributes forState:UIControlStateNormal];
[barButtonItem setTitleTextAttributes:attributes forState:UIControlStateHighlighted];
[barButtonItem setTitleTextAttributes:attributes forState:UIControlStateDisabled];
[barButtonItem setTitleTextAttributes:attributes forState:UIControlStateSelected];
return barButtonItem;
}
@end
@implementation UIButton (FontAwesome)
- (void)setIcon:(NSString *)iconID size:(CGFloat)size
{
self.titleLabel.font = [UIFont fontWithName:@"FontAwesome" size:size];
[self setTitle:iconID forState:UIControlStateNormal];
}
@end
NSCache* shared_cache()
{
static NSCache *s_sharedInstance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{s_sharedInstance = NSCache.new;});
return s_sharedInstance;
}
@implementation UIImage (FontAwesome)
+ (UIImage *)tabBarIcon:(NSString *)iconID
{
return [self withIcon:iconID size:(CGSize){24, 24} color:UIColor.blackColor];
}
+ (UIImage *)navBarIcon:(NSString *)iconID
{
return [self withIcon:iconID size:(CGSize){22, 22} color:UIColor.blackColor];
}
+ (UIImage *)withIcon:(NSString *)iconID size:(CGSize)size color:(UIColor *)color
{
CGFloat r, g, b, a;
[color getRed:&r green:&g blue:&b alpha:&a];
NSString* cacheKey = [NSString stringWithFormat:@"%@_%gx%g_%d,%d,%d,%d", iconID, size.width, size.height, (int)r * 255, (int)g * 255, (int)b * 255, (int)a * 255];
UIImage* cachedImage = [shared_cache() objectForKey:cacheKey];
if(cachedImage)
return cachedImage;
UILabel* l = [UILabel.alloc initWithFrame:(CGRect){0, 0, size}];
l.textAlignment = NSTextAlignmentCenter;
l.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
l.font = [UIFont fontWithName:@"FontAwesome" size:size.height];
l.lineBreakMode = NSLineBreakByClipping;
l.adjustsFontSizeToFitWidth = YES;
l.minimumScaleFactor = 0.8;
l.backgroundColor = UIColor.clearColor;
l.textColor = color;
l.text = iconID;
UIGraphicsBeginImageContextWithOptions(size, NO, UIScreen.mainScreen.scale);
[UIColor.clearColor set];
[l.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage* image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[shared_cache() setObject:image forKey:cacheKey];
return image;
}
@end
const struct FontAwesome FontAwesome =
{
.five_hundred_px = @"\uf26e",
.address_book = @"\uf2b9",
.address_book_o = @"\uf2ba",
.address_card = @"\uf2bb",
.address_card_o = @"\uf2bc",
.adjust = @"\uf042",
.adn = @"\uf170",
.align_center = @"\uf037",
.align_justify = @"\uf039",
.align_left = @"\uf036",
.align_right = @"\uf038",
.amazon = @"\uf270",
.ambulance = @"\uf0f9",
.anchor = @"\uf13d",
.android = @"\uf17b",
.angellist = @"\uf209",
.angle_double_down = @"\uf103",
.angle_double_left = @"\uf100",
.angle_double_right = @"\uf101",
.angle_double_up = @"\uf102",
.angle_down = @"\uf107",
.angle_left = @"\uf104",
.angle_right = @"\uf105",
.angle_up = @"\uf106",
.apple = @"\uf179",
.archive = @"\uf187",
.area_chart = @"\uf1fe",
.arrow_circle_down = @"\uf0ab",
.arrow_circle_left = @"\uf0a8",
.arrow_circle_o_down = @"\uf01a",
.arrow_circle_o_left = @"\uf190",
.arrow_circle_o_right = @"\uf18e",
.arrow_circle_o_up = @"\uf01b",
.arrow_circle_right = @"\uf0a9",
.arrow_circle_up = @"\uf0aa",
.arrow_down = @"\uf063",
.arrow_left = @"\uf060",
.arrow_right = @"\uf061",
.arrow_up = @"\uf062",
.arrows = @"\uf047",
.arrows_alt = @"\uf0b2",
.arrows_h = @"\uf07e",
.arrows_v = @"\uf07d",
.asl_interpreting = @"\uf2a3",
.assistive_listening_systems = @"\uf2a2",
.asterisk = @"\uf069",
.at = @"\uf1fa",
.audio_description = @"\uf29e",
.automobile = @"\uf1b9",
.backward = @"\uf04a",
.balance_scale = @"\uf24e",
.ban = @"\uf05e",
.bandcamp = @"\uf2d5",
.bank = @"\uf19c",
.bar_chart = @"\uf080",
.bar_chart_o = @"\uf080",
.barcode = @"\uf02a",
.bars = @"\uf0c9",
.bath = @"\uf2cd",
.bathtub = @"\uf2cd",
.battery = @"\uf240",
.battery_0 = @"\uf244",
.battery_1 = @"\uf243",
.battery_2 = @"\uf242",
.battery_3 = @"\uf241",
.battery_4 = @"\uf240",
.battery_empty = @"\uf244",
.battery_full = @"\uf240",
.battery_half = @"\uf242",
.battery_quarter = @"\uf243",
.battery_three_quarters = @"\uf241",
.bed = @"\uf236",
.beer = @"\uf0fc",
.behance = @"\uf1b4",
.behance_square = @"\uf1b5",
.bell = @"\uf0f3",
.bell_o = @"\uf0a2",
.bell_slash = @"\uf1f6",
.bell_slash_o = @"\uf1f7",
.bicycle = @"\uf206",
.binoculars = @"\uf1e5",
.birthday_cake = @"\uf1fd",
.bitbucket = @"\uf171",
.bitbucket_square = @"\uf172",
.bitcoin = @"\uf15a",
.black_tie = @"\uf27e",
.blind = @"\uf29d",
.bluetooth = @"\uf293",
.bluetooth_b = @"\uf294",
.bold = @"\uf032",
.bolt = @"\uf0e7",
.bomb = @"\uf1e2",
.book = @"\uf02d",
.bookmark = @"\uf02e",
.bookmark_o = @"\uf097",
.braille = @"\uf2a1",
.briefcase = @"\uf0b1",
.btc = @"\uf15a",
.bug = @"\uf188",
.building = @"\uf1ad",
.building_o = @"\uf0f7",
.bullhorn = @"\uf0a1",
.bullseye = @"\uf140",
.bus = @"\uf207",
.buysellads = @"\uf20d",
.cab = @"\uf1ba",
.calculator = @"\uf1ec",
.calendar = @"\uf073",
.calendar_check_o = @"\uf274",
.calendar_minus_o = @"\uf272",
.calendar_o = @"\uf133",
.calendar_plus_o = @"\uf271",
.calendar_times_o = @"\uf273",
.camera = @"\uf030",
.camera_retro = @"\uf083",
.car = @"\uf1b9",
.caret_down = @"\uf0d7",
.caret_left = @"\uf0d9",
.caret_right = @"\uf0da",
.caret_square_o_down = @"\uf150",
.caret_square_o_left = @"\uf191",
.caret_square_o_right = @"\uf152",
.caret_square_o_up = @"\uf151",
.caret_up = @"\uf0d8",
.cart_arrow_down = @"\uf218",
.cart_plus = @"\uf217",
.cc = @"\uf20a",
.cc_amex = @"\uf1f3",
.cc_diners_club = @"\uf24c",
.cc_discover = @"\uf1f2",
.cc_jcb = @"\uf24b",
.cc_mastercard = @"\uf1f1",
.cc_paypal = @"\uf1f4",
.cc_stripe = @"\uf1f5",
.cc_visa = @"\uf1f0",
.certificate = @"\uf0a3",
.chain = @"\uf0c1",
.chain_broken = @"\uf127",
.check = @"\uf00c",
.check_circle = @"\uf058",
.check_circle_o = @"\uf05d",
.check_square = @"\uf14a",
.check_square_o = @"\uf046",
.chevron_circle_down = @"\uf13a",
.chevron_circle_left = @"\uf137",
.chevron_circle_right = @"\uf138",
.chevron_circle_up = @"\uf139",
.chevron_down = @"\uf078",
.chevron_left = @"\uf053",
.chevron_right = @"\uf054",
.chevron_up = @"\uf077",
.child = @"\uf1ae",
.chrome = @"\uf268",
.circle = @"\uf111",
.circle_o = @"\uf10c",
.circle_o_notch = @"\uf1ce",
.circle_thin = @"\uf1db",
.clipboard = @"\uf0ea",
.clock_o = @"\uf017",
.clone = @"\uf24d",
.close = @"\uf00d",
.cloud = @"\uf0c2",
.cloud_download = @"\uf0ed",
.cloud_upload = @"\uf0ee",
.cny = @"\uf157",
.code = @"\uf121",
.code_fork = @"\uf126",
.codepen = @"\uf1cb",
.codiepie = @"\uf284",
.coffee = @"\uf0f4",
.cog = @"\uf013",
.cogs = @"\uf085",
.columns = @"\uf0db",
.comment = @"\uf075",
.comment_o = @"\uf0e5",
.commenting = @"\uf27a",
.commenting_o = @"\uf27b",
.comments = @"\uf086",
.comments_o = @"\uf0e6",
.compass = @"\uf14e",
.compress = @"\uf066",
.connectdevelop = @"\uf20e",
.contao = @"\uf26d",
.copy = @"\uf0c5",
.copyright = @"\uf1f9",
.creative_commons = @"\uf25e",
.credit_card = @"\uf09d",
.credit_card_alt = @"\uf283",
.crop = @"\uf125",
.crosshairs = @"\uf05b",
.css3 = @"\uf13c",
.cube = @"\uf1b2",
.cubes = @"\uf1b3",
.cut = @"\uf0c4",
.cutlery = @"\uf0f5",
.dashboard = @"\uf0e4",
.dashcube = @"\uf210",
.database = @"\uf1c0",
.deaf = @"\uf2a4",
.deafness = @"\uf2a4",
.dedent = @"\uf03b",
.delicious = @"\uf1a5",
.desktop = @"\uf108",
.deviantart = @"\uf1bd",
.diamond = @"\uf219",
.digg = @"\uf1a6",
.dollar = @"\uf155",
.dot_circle_o = @"\uf192",
.download = @"\uf019",
.dribbble = @"\uf17d",
.drivers_license = @"\uf2c2",
.drivers_license_o = @"\uf2c3",
.dropbox = @"\uf16b",
.drupal = @"\uf1a9",
.edge = @"\uf282",
.edit = @"\uf044",
.eercast = @"\uf2da",
.eject = @"\uf052",
.ellipsis_h = @"\uf141",
.ellipsis_v = @"\uf142",
.empire = @"\uf1d1",
.envelope = @"\uf0e0",
.envelope_o = @"\uf003",
.envelope_open = @"\uf2b6",
.envelope_open_o = @"\uf2b7",
.envelope_square = @"\uf199",
.envira = @"\uf299",
.eraser = @"\uf12d",
.etsy = @"\uf2d7",
.eur = @"\uf153",
.euro = @"\uf153",
.exchange = @"\uf0ec",
.exclamation = @"\uf12a",
.exclamation_circle = @"\uf06a",
.exclamation_triangle = @"\uf071",
.expand = @"\uf065",
.expeditedssl = @"\uf23e",
.external_link = @"\uf08e",
.external_link_square = @"\uf14c",
.eye = @"\uf06e",
.eye_slash = @"\uf070",
.eyedropper = @"\uf1fb",
.fa = @"\uf2b4",
.facebook = @"\uf09a",
.facebook_f = @"\uf09a",
.facebook_official = @"\uf230",
.facebook_square = @"\uf082",
.fast_backward = @"\uf049",
.fast_forward = @"\uf050",
.fax = @"\uf1ac",
.feed = @"\uf09e",
.female = @"\uf182",
.fighter_jet = @"\uf0fb",
.file = @"\uf15b",
.file_archive_o = @"\uf1c6",
.file_audio_o = @"\uf1c7",
.file_code_o = @"\uf1c9",
.file_excel_o = @"\uf1c3",
.file_image_o = @"\uf1c5",
.file_movie_o = @"\uf1c8",
.file_o = @"\uf016",
.file_pdf_o = @"\uf1c1",
.file_photo_o = @"\uf1c5",
.file_picture_o = @"\uf1c5",
.file_powerpoint_o = @"\uf1c4",
.file_sound_o = @"\uf1c7",
.file_text = @"\uf15c",
.file_text_o = @"\uf0f6",
.file_video_o = @"\uf1c8",
.file_word_o = @"\uf1c2",
.file_zip_o = @"\uf1c6",
.files_o = @"\uf0c5",
.film = @"\uf008",
.filter = @"\uf0b0",
.fire = @"\uf06d",
.fire_extinguisher = @"\uf134",
.firefox = @"\uf269",
.first_order = @"\uf2b0",
.flag = @"\uf024",
.flag_checkered = @"\uf11e",
.flag_o = @"\uf11d",
.flash = @"\uf0e7",
.flask = @"\uf0c3",
.flickr = @"\uf16e",
.floppy_o = @"\uf0c7",
.folder = @"\uf07b",
.folder_o = @"\uf114",
.folder_open = @"\uf07c",
.folder_open_o = @"\uf115",
.font = @"\uf031",
.font_awesome = @"\uf2b4",
.fonticons = @"\uf280",
.fort_awesome = @"\uf286",
.forumbee = @"\uf211",
.forward = @"\uf04e",
.foursquare = @"\uf180",
.free_code_camp = @"\uf2c5",
.frown_o = @"\uf119",
.futbol_o = @"\uf1e3",
.gamepad = @"\uf11b",
.gavel = @"\uf0e3",
.gbp = @"\uf154",
.ge = @"\uf1d1",
.gear = @"\uf013",
.gears = @"\uf085",
.genderless = @"\uf22d",
.get_pocket = @"\uf265",
.gg = @"\uf260",
.gg_circle = @"\uf261",
.gift = @"\uf06b",
.git = @"\uf1d3",
.git_square = @"\uf1d2",
.github = @"\uf09b",
.github_alt = @"\uf113",
.github_square = @"\uf092",
.gitlab = @"\uf296",
.gittip = @"\uf184",
.glass = @"\uf000",
.glide = @"\uf2a5",
.glide_g = @"\uf2a6",
.globe = @"\uf0ac",
.google = @"\uf1a0",
.google_plus = @"\uf0d5",
.google_plus_circle = @"\uf2b3",
.google_plus_official = @"\uf2b3",
.google_plus_square = @"\uf0d4",
.google_wallet = @"\uf1ee",
.graduation_cap = @"\uf19d",
.gratipay = @"\uf184",
.grav = @"\uf2d6",
.group = @"\uf0c0",
.h_square = @"\uf0fd",
.hacker_news = @"\uf1d4",
.hand_grab_o = @"\uf255",
.hand_lizard_o = @"\uf258",
.hand_o_down = @"\uf0a7",
.hand_o_left = @"\uf0a5",
.hand_o_right = @"\uf0a4",
.hand_o_up = @"\uf0a6",
.hand_paper_o = @"\uf256",
.hand_peace_o = @"\uf25b",
.hand_pointer_o = @"\uf25a",
.hand_rock_o = @"\uf255",
.hand_scissors_o = @"\uf257",
.hand_spock_o = @"\uf259",
.hand_stop_o = @"\uf256",
.handshake_o = @"\uf2b5",
.hard_of_hearing = @"\uf2a4",
.hashtag = @"\uf292",
.hdd_o = @"\uf0a0",
.header = @"\uf1dc",
.headphones = @"\uf025",
.heart = @"\uf004",
.heart_o = @"\uf08a",
.heartbeat = @"\uf21e",
.history = @"\uf1da",
.home = @"\uf015",
.hospital_o = @"\uf0f8",
.hotel = @"\uf236",
.hourglass = @"\uf254",
.hourglass_1 = @"\uf251",
.hourglass_2 = @"\uf252",
.hourglass_3 = @"\uf253",
.hourglass_end = @"\uf253",
.hourglass_half = @"\uf252",
.hourglass_o = @"\uf250",
.hourglass_start = @"\uf251",
.houzz = @"\uf27c",
.html5 = @"\uf13b",
.i_cursor = @"\uf246",
.id_badge = @"\uf2c1",
.id_card = @"\uf2c2",
.id_card_o = @"\uf2c3",
.ils = @"\uf20b",
.image = @"\uf03e",
.imdb = @"\uf2d8",
.inbox = @"\uf01c",
.indent = @"\uf03c",
.industry = @"\uf275",
.info = @"\uf129",
.info_circle = @"\uf05a",
.inr = @"\uf156",
.instagram = @"\uf16d",
.institution = @"\uf19c",
.internet_explorer = @"\uf26b",
.intersex = @"\uf224",
.ioxhost = @"\uf208",
.italic = @"\uf033",
.joomla = @"\uf1aa",
.jpy = @"\uf157",
.jsfiddle = @"\uf1cc",
.key = @"\uf084",
.keyboard_o = @"\uf11c",
.krw = @"\uf159",
.language = @"\uf1ab",
.laptop = @"\uf109",
.lastfm = @"\uf202",
.lastfm_square = @"\uf203",
.leaf = @"\uf06c",
.leanpub = @"\uf212",
.legal = @"\uf0e3",
.lemon_o = @"\uf094",
.level_down = @"\uf149",
.level_up = @"\uf148",
.life_bouy = @"\uf1cd",
.life_buoy = @"\uf1cd",
.life_ring = @"\uf1cd",
.life_saver = @"\uf1cd",
.lightbulb_o = @"\uf0eb",
.line_chart = @"\uf201",
.link = @"\uf0c1",
.linkedin = @"\uf0e1",
.linkedin_square = @"\uf08c",
.linode = @"\uf2b8",
.linux = @"\uf17c",
.list = @"\uf03a",
.list_alt = @"\uf022",
.list_ol = @"\uf0cb",
.list_ul = @"\uf0ca",
.location_arrow = @"\uf124",
.lock = @"\uf023",
.long_arrow_down = @"\uf175",
.long_arrow_left = @"\uf177",
.long_arrow_right = @"\uf178",
.long_arrow_up = @"\uf176",
.low_vision = @"\uf2a8",
.magic = @"\uf0d0",
.magnet = @"\uf076",
.mail_forward = @"\uf064",
.mail_reply = @"\uf112",
.mail_reply_all = @"\uf122",
.male = @"\uf183",
.map = @"\uf279",
.map_marker = @"\uf041",
.map_o = @"\uf278",
.map_pin = @"\uf276",
.map_signs = @"\uf277",
.mars = @"\uf222",
.mars_double = @"\uf227",
.mars_stroke = @"\uf229",
.mars_stroke_h = @"\uf22b",
.mars_stroke_v = @"\uf22a",
.maxcdn = @"\uf136",
.meanpath = @"\uf20c",
.medium = @"\uf23a",
.medkit = @"\uf0fa",
.meetup = @"\uf2e0",
.meh_o = @"\uf11a",
.mercury = @"\uf223",
.microchip = @"\uf2db",
.microphone = @"\uf130",
.microphone_slash = @"\uf131",
.minus = @"\uf068",
.minus_circle = @"\uf056",
.minus_square = @"\uf146",
.minus_square_o = @"\uf147",
.mixcloud = @"\uf289",
.mobile = @"\uf10b",
.mobile_phone = @"\uf10b",
.modx = @"\uf285",
.money = @"\uf0d6",
.moon_o = @"\uf186",
.mortar_board = @"\uf19d",
.motorcycle = @"\uf21c",
.mouse_pointer = @"\uf245",
.music = @"\uf001",
.navicon = @"\uf0c9",
.neuter = @"\uf22c",
.newspaper_o = @"\uf1ea",
.object_group = @"\uf247",
.object_ungroup = @"\uf248",
.odnoklassniki = @"\uf263",
.odnoklassniki_square = @"\uf264",
.opencart = @"\uf23d",
.openid = @"\uf19b",
.opera = @"\uf26a",
.optin_monster = @"\uf23c",
.outdent = @"\uf03b",
.pagelines = @"\uf18c",
.paint_brush = @"\uf1fc",
.paper_plane = @"\uf1d8",
.paper_plane_o = @"\uf1d9",
.paperclip = @"\uf0c6",
.paragraph = @"\uf1dd",
.paste = @"\uf0ea",
.pause = @"\uf04c",
.pause_circle = @"\uf28b",
.pause_circle_o = @"\uf28c",
.paw = @"\uf1b0",
.paypal = @"\uf1ed",
.pencil = @"\uf040",
.pencil_square = @"\uf14b",
.pencil_square_o = @"\uf044",
.percent = @"\uf295",
.phone = @"\uf095",
.phone_square = @"\uf098",
.photo = @"\uf03e",
.picture_o = @"\uf03e",
.pie_chart = @"\uf200",
.pied_piper = @"\uf2ae",
.pied_piper_alt = @"\uf1a8",
.pied_piper_pp = @"\uf1a7",
.pinterest = @"\uf0d2",
.pinterest_p = @"\uf231",
.pinterest_square = @"\uf0d3",
.plane = @"\uf072",
.play = @"\uf04b",
.play_circle = @"\uf144",
.play_circle_o = @"\uf01d",
.plug = @"\uf1e6",
.plus = @"\uf067",
.plus_circle = @"\uf055",
.plus_square = @"\uf0fe",
.plus_square_o = @"\uf196",
.podcast = @"\uf2ce",
.power_off = @"\uf011",
.print = @"\uf02f",
.product_hunt = @"\uf288",
.puzzle_piece = @"\uf12e",
.qq = @"\uf1d6",
.qrcode = @"\uf029",
.question = @"\uf128",
.question_circle = @"\uf059",
.question_circle_o = @"\uf29c",
.quora = @"\uf2c4",
.quote_left = @"\uf10d",
.quote_right = @"\uf10e",
.ra = @"\uf1d0",
.random = @"\uf074",
.ravelry = @"\uf2d9",
.rebel = @"\uf1d0",
.recycle = @"\uf1b8",
.reddit = @"\uf1a1",
.reddit_alien = @"\uf281",
.reddit_square = @"\uf1a2",
.refresh = @"\uf021",
.registered = @"\uf25d",
.remove = @"\uf00d",
.renren = @"\uf18b",
.reorder = @"\uf0c9",
.repeat = @"\uf01e",
.reply = @"\uf112",
.reply_all = @"\uf122",
.resistance = @"\uf1d0",
.retweet = @"\uf079",
.rmb = @"\uf157",
.road = @"\uf018",
.rocket = @"\uf135",
.rotate_left = @"\uf0e2",
.rotate_right = @"\uf01e",
.rouble = @"\uf158",
.rss = @"\uf09e",
.rss_square = @"\uf143",
.rub = @"\uf158",
.ruble = @"\uf158",
.rupee = @"\uf156",
.s15 = @"\uf2cd",
.safari = @"\uf267",
.save = @"\uf0c7",
.scissors = @"\uf0c4",
.scribd = @"\uf28a",
.search = @"\uf002",
.search_minus = @"\uf010",
.search_plus = @"\uf00e",
.sellsy = @"\uf213",
.send = @"\uf1d8",
.send_o = @"\uf1d9",
.server = @"\uf233",
.share = @"\uf064",
.share_alt = @"\uf1e0",
.share_alt_square = @"\uf1e1",
.share_square = @"\uf14d",
.share_square_o = @"\uf045",
.shekel = @"\uf20b",
.sheqel = @"\uf20b",
.shield = @"\uf132",
.ship = @"\uf21a",
.shirtsinbulk = @"\uf214",
.shopping_bag = @"\uf290",
.shopping_basket = @"\uf291",
.shopping_cart = @"\uf07a",
.shower = @"\uf2cc",
.sign_in = @"\uf090",
.sign_language = @"\uf2a7",
.sign_out = @"\uf08b",
.signal = @"\uf012",
.signing = @"\uf2a7",
.simplybuilt = @"\uf215",
.sitemap = @"\uf0e8",
.skyatlas = @"\uf216",
.skype = @"\uf17e",
.slack = @"\uf198",
.sliders = @"\uf1de",
.slideshare = @"\uf1e7",
.smile_o = @"\uf118",
.snapchat = @"\uf2ab",
.snapchat_ghost = @"\uf2ac",
.snapchat_square = @"\uf2ad",
.snowflake_o = @"\uf2dc",
.soccer_ball_o = @"\uf1e3",
.sort = @"\uf0dc",
.sort_alpha_asc = @"\uf15d",
.sort_alpha_desc = @"\uf15e",
.sort_amount_asc = @"\uf160",
.sort_amount_desc = @"\uf161",
.sort_asc = @"\uf0de",
.sort_desc = @"\uf0dd",
.sort_down = @"\uf0dd",
.sort_numeric_asc = @"\uf162",
.sort_numeric_desc = @"\uf163",
.sort_up = @"\uf0de",
.soundcloud = @"\uf1be",
.space_shuttle = @"\uf197",
.spinner = @"\uf110",
.spoon = @"\uf1b1",
.spotify = @"\uf1bc",
.square = @"\uf0c8",
.square_o = @"\uf096",
.stack_exchange = @"\uf18d",
.stack_overflow = @"\uf16c",
.star = @"\uf005",
.star_half = @"\uf089",
.star_half_empty = @"\uf123",
.star_half_full = @"\uf123",
.star_half_o = @"\uf123",
.star_o = @"\uf006",
.steam = @"\uf1b6",
.steam_square = @"\uf1b7",
.step_backward = @"\uf048",
.step_forward = @"\uf051",
.stethoscope = @"\uf0f1",
.sticky_note = @"\uf249",
.sticky_note_o = @"\uf24a",
.stop = @"\uf04d",
.stop_circle = @"\uf28d",
.stop_circle_o = @"\uf28e",
.street_view = @"\uf21d",
.strikethrough = @"\uf0cc",
.stumbleupon = @"\uf1a4",
.stumbleupon_circle = @"\uf1a3",
.subscript = @"\uf12c",
.subway = @"\uf239",
.suitcase = @"\uf0f2",
.sun_o = @"\uf185",
.superpowers = @"\uf2dd",
.superscript = @"\uf12b",
.support = @"\uf1cd",
.table = @"\uf0ce",
.tablet = @"\uf10a",
.tachometer = @"\uf0e4",
.tag = @"\uf02b",
.tags = @"\uf02c",
.tasks = @"\uf0ae",
.taxi = @"\uf1ba",
.telegram = @"\uf2c6",
.television = @"\uf26c",
.tencent_weibo = @"\uf1d5",
.terminal = @"\uf120",
.text_height = @"\uf034",
.text_width = @"\uf035",
.th = @"\uf00a",
.th_large = @"\uf009",
.th_list = @"\uf00b",
.themeisle = @"\uf2b2",
.thermometer = @"\uf2c7",
.thermometer_0 = @"\uf2cb",
.thermometer_1 = @"\uf2ca",
.thermometer_2 = @"\uf2c9",
.thermometer_3 = @"\uf2c8",
.thermometer_4 = @"\uf2c7",
.thermometer_empty = @"\uf2cb",
.thermometer_full = @"\uf2c7",
.thermometer_half = @"\uf2c9",
.thermometer_quarter = @"\uf2ca",
.thermometer_three_quarters = @"\uf2c8",
.thumb_tack = @"\uf08d",
.thumbs_down = @"\uf165",
.thumbs_o_down = @"\uf088",
.thumbs_o_up = @"\uf087",
.thumbs_up = @"\uf164",
.ticket = @"\uf145",
.times = @"\uf00d",
.times_circle = @"\uf057",
.times_circle_o = @"\uf05c",
.times_rectangle = @"\uf2d3",
.times_rectangle_o = @"\uf2d4",
.tint = @"\uf043",
.toggle_down = @"\uf150",
.toggle_left = @"\uf191",
.toggle_off = @"\uf204",
.toggle_on = @"\uf205",
.toggle_right = @"\uf152",
.toggle_up = @"\uf151",
.trademark = @"\uf25c",
.train = @"\uf238",
.transgender = @"\uf224",
.transgender_alt = @"\uf225",
.trash = @"\uf1f8",
.trash_o = @"\uf014",
.tree = @"\uf1bb",
.trello = @"\uf181",
.tripadvisor = @"\uf262",
.trophy = @"\uf091",
.truck = @"\uf0d1",
.try = @"\uf195",
.tty = @"\uf1e4",
.tumblr = @"\uf173",
.tumblr_square = @"\uf174",
.turkish_lira = @"\uf195",
.tv = @"\uf26c",
.twitch = @"\uf1e8",
.twitter = @"\uf099",
.twitter_square = @"\uf081",
.umbrella = @"\uf0e9",
.underline = @"\uf0cd",
.undo = @"\uf0e2",
.universal_access = @"\uf29a",
.university = @"\uf19c",
.unlink = @"\uf127",
.unlock = @"\uf09c",
.unlock_alt = @"\uf13e",
.unsorted = @"\uf0dc",
.upload = @"\uf093",
.usb = @"\uf287",
.usd = @"\uf155",
.user = @"\uf007",
.user_circle = @"\uf2bd",
.user_circle_o = @"\uf2be",
.user_md = @"\uf0f0",
.user_o = @"\uf2c0",
.user_plus = @"\uf234",
.user_secret = @"\uf21b",
.user_times = @"\uf235",
.users = @"\uf0c0",
.vcard = @"\uf2bb",
.vcard_o = @"\uf2bc",
.venus = @"\uf221",
.venus_double = @"\uf226",
.venus_mars = @"\uf228",
.viacoin = @"\uf237",
.viadeo = @"\uf2a9",
.viadeo_square = @"\uf2aa",
.video_camera = @"\uf03d",
.vimeo = @"\uf27d",
.vimeo_square = @"\uf194",
.vine = @"\uf1ca",
.vk = @"\uf189",
.volume_control_phone = @"\uf2a0",
.volume_down = @"\uf027",
.volume_off = @"\uf026",
.volume_up = @"\uf028",
.warning = @"\uf071",
.wechat = @"\uf1d7",
.weibo = @"\uf18a",
.weixin = @"\uf1d7",
.whatsapp = @"\uf232",
.wheelchair = @"\uf193",
.wheelchair_alt = @"\uf29b",
.wifi = @"\uf1eb",
.wikipedia_w = @"\uf266",
.window_close = @"\uf2d3",
.window_close_o = @"\uf2d4",
.window_maximize = @"\uf2d0",
.window_minimize = @"\uf2d1",
.window_restore = @"\uf2d2",
.windows = @"\uf17a",
.won = @"\uf159",
.wordpress = @"\uf19a",
.wpbeginner = @"\uf297",
.wpexplorer = @"\uf2de",
.wpforms = @"\uf298",
.wrench = @"\uf0ad",
.xing = @"\uf168",
.xing_square = @"\uf169",
.y_combinator = @"\uf23b",
.y_combinator_square = @"\uf1d4",
.yahoo = @"\uf19e",
.yc = @"\uf23b",
.yc_square = @"\uf1d4",
.yelp = @"\uf1e9",
.yen = @"\uf157",
.yoast = @"\uf2b1",
.youtube = @"\uf167",
.youtube_play = @"\uf16a",
.youtube_square = @"\uf166",
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.