SanIcon

HowTo
chevron-up-big
HTML <i class="icon-chevron-up-big"></i>

>> Example project

Android <com.sanfriend.SanIcon
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/si_chevron_up_big" />
Objective-C #import "SanIcon.h"
 
UILabel *label = [[UILabel alloc] init];
label.text = [NSString sanicon:SIChevronUpBig];
label.font = [UIFont saniconFontOfSize:20.f];
 
Or,
 
#import "SILabel.h"
 
SILabel *label = [[SILabel alloc] init];
label.text = @"Collapse";
label.iconName = SIChevronUpBig;
label.iconColor = 0xffaa99ff;
label.iconSize = 22.f;
label.iconPadding = 5.f;

>> Example project

Swift var label = SILabel()
label.text = "Collapse"
label.iconName = .ChevronUpBig
//label.iconColor = 0xffaa99ff
//label.iconSize = 22
//label.iconPadding = 5

>> Example project