Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seaburg/IGIdenticon

Swift identicon generator
https://github.com/seaburg/IGIdenticon

github-avatar identicon

Last synced: about 1 month ago
JSON representation

Swift identicon generator

Awesome Lists containing this project

README

        

# IGIdenticon
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/IGIdenticon.svg)](https://img.shields.io/cocoapods/v/IGIdenticon.svg)

This library is a port of [identicon](https://github.com/donpark/identicon) library that generates identicon.
![Screenshot example](https://raw.github.com/Seaburg/IGIdenticon/master/Screenshot/screenshot.png)

Installation
------------
Carthage
```
github "seaburg/IGIdenticon"
```
CocoaPods
```
pod 'IGIdenticon'
```
SwiftPM
```swift
dependencies: [
.package(url: "https://github.com/seaburg/IGIdenticon.git",
from: "0.7.0")
]
```

Usage
-----

```swift
imageView.image = Identicon().icon(from: "string", size: CGSize(width: 100, height: 100))
```
-----