blob: 8134aa4bb9c4899515ba5fbd1207cff983f74d16 [file] [log] [blame]
{
"name": "SwiftyAvatar",
"version": "1.0.1",
"summary": "A UIImageView class for creating circular or rounded avatar images, IBDesignable to make all changes via storyboard",
"description": "> A `UIImageView` class for creating **circular or rounded avatar images**, IBDesignable to make all changes via storyboard\n\n[![2.0](https://img.shields.io/badge/Swift-2.0-orange.svg)](https://developer.apple.com/swift/)\n[![Build Status][travis-image]][travis-url]\n[![Apache](https://img.shields.io/hexpm/l/plug.svg)](http://www.apache.org/licenses/LICENSE-2.0)\n[![CocoaPods Compatible](https://img.shields.io/badge/Pod-1.0-blue.svg)](https://img.shields.io/badge/Pod-1.0-blue.svg)\n\nSwiftyAvatar let's you create easily rounded or circular avatar images.\n\nSimply change the UIImageView with SwiftyAvatar class and adjust the available properties.\n\nYou can see the changes in storyboard because SwiftyAvatar is @IBDesignable!\n\n![Alt text](http://kalai.gr/wp-content/uploads/2016/08/SwiftyAvatar-After-169x300.png)\n\n## Features\n\n- [x] @IBDesignable\n- [x] Border Width & Color\n- [x] Background Color (if the image has trasparent background)\n- [x] Spin animation\n\n## Requirements\n\n- iOS 8.0+\n- Xcode 7.3\n\n## Installation\n\n#### CocoaPods\nYou can use [CocoaPods](http://cocoapods.org/) to install `SwiftyAvatar` by adding it to your `Podfile`:\n\n```ruby\nplatform :ios, '8.0'\nuse_frameworks!\npod 'SwiftyAvatar', '~> 1.0'\n```\n\n``` swift\nimport UIKit\nimport SwiftyAvatar\n```\n#### Manually\n1. Download and drop ```SwiftyAvatar.swift``` in your project.\n2. Congratulations!\n\n## Usage example\n\nFrom storyboard, just change the class of your 'UIImageView' to 'SwiftyAvatar' and adjust the available properties.\n\nWith code:\n\n```swift\n@IBOutlet weak var avatar: SwiftyAvatar!\n\navatar.borderWidth = 2.0\navarar.borderColor = UIColor.redColor()\navatar.roundness = 2.0\n```\n\n## Release History\n\n* 1.0\n * First release\n\n## Contribute\n\nWe would love for you to contribute to **SwiftyAvatar**, check the ``LICENSE`` file for more info.\n\nThanks to RishabhTayal (https://github.com/RishabhTayal) for readme spelling corrections, example and Pod support\n\n## Meta\n\nDimitrios Kalaitzidis – [@kalaitzidis34](https://twitter.com/kalaitzidis34) – kalaitzidis34@gmail.com\n\nDistributed under the Apache license. See ``Apache License`` for more information.\n\n[https://github.com/dkalaitzidis/SwiftyAvatar](https://github.com/dkalaitzidis/)\n\n[swift-image]:https://img.shields.io/badge/swift-3.0-orange.svg\n[swift-url]: https://swift.org/\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: http://www.apache.org/licenses/LICENSE-2.0\n[travis-image]: https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/dbader/node-datadog-metrics\n[codebeat-image]: https://codebeat.co/badges/c19b47ea-2f9d-45df-8458-b2d952fe9dad\n[codebeat-url]: https://codebeat.co/projects/github-com-vsouza-awesomeios-com",
"homepage": "https://github.com/dkalaitzidis/SwiftyAvatar",
"screenshots": [
"http://kalai.gr/wp-content/uploads/2016/08/SwiftyAvatar-Before-169x300.png",
"http://kalai.gr/wp-content/uploads/2016/08/SwiftyAvatar-After-169x300.png"
],
"license": {
"type": "Apache 2.0",
"file": "LICENSE"
},
"authors": {
"Dimitrios Kalaitzidis": "kalaitzidis34@gmail.com"
},
"source": {
"git": "https://github.com/dkalaitzidis/SwiftyAvatar.git",
"tag": "1.0"
},
"platforms": {
"ios": "8.0"
},
"source_files": "SwiftyAvatar/Classes/**/*"
}