PFTagView 1.1.0

PFTagView 1.1.0

测试已测试
语言语言 Obj-CObjective C
许可 MIT
发布最后发布2016年8月

Cee Cirno 维护。



PFTagView 1.1.0

就像 WordPress 的标签云一样的一个标签视图。

截图

Screenshot

安装

手工安装

Classes 文件夹拖到您的项目中。

使用方法

入门

#import 'PFTagView.h'

...

    // where you want to load this tag view
    PFTagViewConfiguration *config = [PFTagViewConfiguration new];
    PFTagView *view = [[PFTagView alloc] initWithFrame:frame
                                                  dict:dict
                                                config:config];
...

@end

配置

#import 'PFTagView.h'

...

    // where you want to load this tag view
    PFTagViewConfiguration *config = [PFTagViewConfiguration new];
    config.tagViewCountLabelTextColor = [UIColor blueColor];
    config.tagViewCountLabelFontSize = 8.f;
    config.tagViewMainTextColor = [UIColor redColor];
    config.maxFontSize = 24.f;
    config.minFontSize = 10.f;
    config.tagViewHeight = 30.f;
    config.tagViewMargin = 10.f;
    PFTagView *view = [[PFTagView alloc] initWithFrame:frame
                                                  dict:dict
                                                config:config];
...

@end

许可

该项目依据MIT 许可协议的条款和条件发布。有关详细信息,请参阅LICENSE文件。