Latest 0.0.2
Homepage https://github.com/tzuyangliu/UIViewWithStringTag
License MIT
Platforms ios 5.0
Authors

UIView in UIKit only supports number tag. This category give UIView string tag support.

Based on associated object of Objective-C.

Usage

pod 'UIViewWithStringTag'
// Import header
#import "UIView+StringTag.h"

// Set tag
view.tagString = @"AStringTag";

// Get the view with specific tag
targetView = [self.view viewWithStringTag:@"AStringTag"];

Latest podspec

{
    "name": "UIViewWithStringTag",
    "version": "0.0.2",
    "summary": "A UIView category with string tag support.",
    "homepage": "https://github.com/tzuyangliu/UIViewWithStringTag",
    "license": "MIT",
    "authors": {
        "zy.liu": "[email protected]"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source": {
        "git": "https://github.com/tzuyangliu/UIViewWithStringTag.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "UIViewWithStringTag",
        "UIView+StringTag/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This