PFTagView 1.1.0

PFTagView 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2016

Maintained by Cee Cirno.



PFTagView 1.1.0

Just a tag view like the wordpress tag-cloud.

Screenshot

Screenshot

Installation

Manually

Drag Classes folder to your project.

Usage

Get Started

#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

Configuration

#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

License

This project is released under the terms and conditions of the MIT license. See LICENSE for details.