Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kumpeapps/avatarview-fork
https://github.com/kumpeapps/avatarview-fork
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kumpeapps/avatarview-fork
- Owner: kumpeapps
- License: mit
- Created: 2022-03-05T18:01:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T01:15:48.000Z (about 2 years ago)
- Last Synced: 2024-11-16T08:45:48.070Z (about 2 months ago)
- Language: Swift
- Size: 557 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AvatarView-fork
Easy to use view for displaying avatars.
### Usage
```swift
import AvatarViewoverride func viewDidLoad {
super.viewDidLoad()// Create the avatar view
avatarView = AvatarView(image: UIImage(named: "avatar")!)
avatarView.center = view.center
view.addSubview(avatarView)
}
```#### Demo
![Demo](http://i.imgur.com/wbubJCe.png?1 "Demo Screenshot")
## Installation
### Cocoapods
1. insert `pod 'AvatarView-fork'` into your Podfile
2. `pod install`### LICENSE
[The MIT License](https://github.com/kumpeapps/AvatarView-fork/blob/master/LICENSE)