Created
May 13, 2011 00:50
-
-
Save augustjoki/969755 to your computer and use it in GitHub Desktop.
UITableViewCell reuse identifier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (NSString *)reuseIdentifier { | |
static NSString *reuseIdentifier; | |
static dispatch_once_t onceToken; | |
dispatch_once(&onceToken, ^{ | |
reuseIdentifier = [NSStringFromClass(self) retain]; | |
}); | |
return reuseIdentifier; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment