honcheng/RTLabel
소개
HTML과 유사한 마크업을 사용하는 iOS용 간단한 리치 텍스트 표시
웹 및 앱 개발What you can do
- bold and italic style
- clickable links
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- -3
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRTLabel
Rich text formatting based on HTML-like markups for iOS.

RTLabel works like UILabel, but supports html-like markups for rich text display. It is based on Core Text, so it supports some of the stuff that Core Text supports
Features
- bold and italic style
- color and size
- stroke
- indenting
- kerning
- line spacing
- clickable links
Usage
Drag RTLabel.h and RTLabel.m into your project. Import CoreText framework
#import "RTLabel.h"
Create RTLabel
NSString *sample_text = @"bold,italic and underlined text, and text with custom font and color";
RTLabel *label = [[RTLabel alloc] initWithFrame:...]; [self addSubview:label]; [label setText:sample_text];
Supports the following tags
Bold Italic Bold & Italic underline, underline with color link double underline , double underline with color custom font custom font with strokes custom font with kerning
alignment
indentation
Minimum Requirements
- ARC - this project uses ARC. If you are not using ARC in your project, add '-fobjc-arc' as a compiler flag for StyledPageControl.h and StyledPageControl.m
- Xcode 4.4 and newer (auto-synthesis required)
Contact
twitter.com/honcheng
honcheng.com

관련 프로젝트 살펴보기
불러오는 중…