TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Get a consistent (pretty) hex color from your strings.
This allows you to show nice colors in your UI's that are consistent throughout your application.
Some ideas to use this for: users without avatars, charts, categories etc.
There's also a ruby version
Install it with the cocoapods:
pod "Hashtel"
#import "NSString+Hashtel.h"
NSString *string = self.strings[indexPath.row];
cell.backgroundColor = [string color];