프로젝트
GitHub에서 보기
ali312/TLTagsControl
소개
iOS용으로 간편하고 사용하기 쉬운 태그 입력 컨트롤
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTLTagsControl
A nice and simple tags input control for iOS.
You are able to easily setup different colors for control elements and set different displaying modes
Switching between displaying modes
You are able to switch between displyaing modes by setting the mode property
@property (nonatomic) TLTagsControlMode mode;
TLTagsControl has two displaying modes:
TLTagsControlModeEdit,
This mode allows user to input new tags and delete tags that are already presented.
In this mode control will look like below:

TLTagsControlModeList,
This mode allows only listing of already presented tags
In this mode control will look like below:

Setting different colors of control elements
You are able to change colors of different element by setting these prperties
@property (nonatomic, strong) UIColor *tagsBackgroungColor;
@property (nonatomic, strong) UIColor *tagsTextColor;
@property (nonatomic, strong) UIColor *tagsDeleteButtonColor;
Applying changes
To apply your changes you should call the method below
- (void)reloadTagSubviews;
Example:
//assuming tagControl will be set initialized from stroryboard
@interface ViewController ()
@property (nonatomic, strong) IBOutlet TLTagsControl *tagControl;
@end
....
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
UIColor *blueBackgroundColor = [UIColor colorWithRed:75.0/255.0 green:186.0/255.0 blue:251.0/255.0 alpha:1];
UIColor *whiteTextColor = [UIColor whiteColor];
self.tagControl.tagsBackgroungColor = blueBackgroundColor;
self.tagControl.tagsDeleteButtonColor = whiteTextColor;
self.tagControl.tagsTextColor = whiteTextColor;
self.tagControl.mode = TLTagsControlModeList;
[self.tagControl reloadTagSubviews];
}
@end

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