Latest 1.1.0
Homepage https://github.com/PerfectFreeze/PFTagView
License MIT
Platforms ios
Authors

Just a tag view like the wordpress tag-cloud.

Screenshot

Screenshot

Installation

Using Carthage

Add PFTagView to your Cartfile:

github "PerfectFreeze/PFTagView"

Run carthage to build this framework.

Add PFTagView.framework to your Xcode project.

Using CocoaPods

Add PFTagView to your Podfile:

pod 'PFTagView'

Run pod install to install this framework.

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.

Latest podspec

{
    "name": "PFTagView",
    "version": "1.1.0",
    "summary": "Just a tag view like the wordpress tag-cloud.",
    "description": "Just a tag view like the wordpress tag-cloud. Using configuration to easily setup this tag view.",
    "homepage": "https://github.com/PerfectFreeze/PFTagView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Cee": "[email protected]"
    },
    "social_media_url": "http://twitter.com/ceecirno",
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/PerfectFreeze/PFTagView.git",
        "tag": "v1.1.0"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This