Skip to content

santsai/IGIdenticon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGIdenticon

This library is a port of identicon library that generates identicon.
Screenshot example

Installation

Using CocoaPods

pod 'IGIdenticon', '~> 0.3.0'

Manually

Copy all files from IGIdenticon folder in your project.

Note: You need to link the CoreGraphics framework.

Note: This project requires ARC. Usage

#import "IGIdenticon.h"

    ...
        
IGImageGenerator *imageGenerator = [[IGImageGenerator alloc] initWithImageProducer:[IGSimpleIdenticon new] hashFunction:IGJenkinsHashFromData];
UIImage *image = [imageGenerator imageFromUInt32:arc4random() size:iconSize]

About

Objective-C identicon generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 95.3%
  • Ruby 4.7%