Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UIViewWithStringTag

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"];

About

A category give UIView string tag support

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages