get consistent pretty colors from your strings
Objective-C Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Classes
Hashtel.xcodeproj
Hashtel.xcworkspace
Hashtel
HashtelTests
img
.gitignore
Hashtel.podspec
LICENSE
Podfile
Podfile.lock
README.md

README.md

Hashtel

Get a consistent (pretty) UIColor/NSColor 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

example

Installing

Install it with the cocoapods:

pod "Hashtel"

Usage

#import "NSString+Hashtel.h"

NSString *string = self.strings[indexPath.row];

cell.backgroundColor = [string color];