Latest 0.0.1
Homepage https://github.com/jurre/hashtel-objc
License MIT
Platforms ios 5.0, osx 10.8, requires ARC
Authors

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

Latest podspec

{
    "name": "Hashtel",
    "version": "0.0.1",
    "summary": "Consistently get a color value for strings",
    "homepage": "https://github.com/jurre/hashtel-objc",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jurre Stender": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jurre/hashtel-objc.git",
        "tag": "0.0.1"
    },
    "source_files": "Classes/**/*.{h,m}",
    "requires_arc": true,
    "public_header_files": "Classes/NSString+Hashtel.h",
    "platforms": {
        "ios": "5.0",
        "osx": "10.8"
    }
}

Pin It on Pinterest

Share This