Skip to content
CocoaTags -- 标签展示
Objective-C Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CocoaTag
image
.gitignore
CocoaTag.podspec
LICENSE
README.md

README.md

CocoaTags

CocoaTags --标签展示 ###效果展示 image

###使用方法 =================

###podfile

platform :ios, '7.0'

pod 'CocoaTag', '~> 0.1.1'

=================

1、根据数组初始化

 NSArray *array = @[@"123",@"德玛西亚",@"扭曲丛林",@"百度",@"阿里巴巴",@"Cocoa",@"洁白月光",@"秦时明月",@"花草",@"大圣归来",@"你在干嘛呢",@"碉堡了",@"然并卵",@"纯则脆,阳则钢"];
CocoaTagView *tagsView = [[CocoaTagView alloc] initWithFrame:CGRectMake(0, 20,CGRectGetWidth(self.view.bounds), 200)];
   [self.view addSubview:tagsView];
   [tagsView setTagsWithTagsArray:array];

####2、增加tags

  [_tagsView updateTags:array];
You can’t perform that action at this time.