{"id":15038283,"url":"https://github.com/devpolant/useravatarview","last_synced_at":"2026-01-23T05:36:47.706Z","repository":{"id":56925496,"uuid":"154629966","full_name":"devpolant/UserAvatarView","owner":"devpolant","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-09T09:39:17.000Z","size":1005,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T14:55:19.219Z","etag":null,"topics":["avatar","ios","swift","swift-4","uikit","user-status"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devpolant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-25T07:42:09.000Z","updated_at":"2022-02-05T18:50:43.000Z","dependencies_parsed_at":"2022-08-21T06:20:10.201Z","dependency_job_id":null,"html_url":"https://github.com/devpolant/UserAvatarView","commit_stats":null,"previous_names":["antonpoltoratskyi/useravatarview"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolant%2FUserAvatarView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolant%2FUserAvatarView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolant%2FUserAvatarView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpolant%2FUserAvatarView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devpolant","download_url":"https://codeload.github.com/devpolant/UserAvatarView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254239993,"owners_count":22037809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avatar","ios","swift","swift-4","uikit","user-status"],"created_at":"2024-09-24T20:37:48.845Z","updated_at":"2026-01-23T05:36:47.649Z","avatar_url":"https://github.com/devpolant.png","language":"Swift","readme":"[![Swift](https://img.shields.io/badge/Swift-5.0-orange.svg)](https://swift.org)\n[![Xcode](https://img.shields.io/badge/Xcode-12.0-blue.svg)](https://developer.apple.com/xcode)\n[![MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/UserAvatarView.svg)](https://cocoapods.org/pods/UserAvatarView)\n\n# UserAvatarView\n\nUserAvatarView is a UIView container subclass that wraps:\n- UIImageView\n- status view with customizable: appearance, angle, radius\n\n![Demo](https://github.com/devpolant/UserAvatarView/blob/master/Example/UserAvatarViewDemo.gif)\n\n## Requirements:\n- iOS 10.0+\n- Xcode 12.0+\n- Swift 5.0+\n\n## Installation\n\n#### CocoaPods\n\n```ruby\ntarget 'MyApp' do\n  pod 'UserAvatarView', '~\u003e 1.3'\nend\n```\n\n#### Carthage\n\n```ogdl\ngithub \"devpolant/UserAvatarView\" \"master\"\n```\n\n## Usage\n\n1) Declare UserAvatarView either in storyboard:\n```swift\n@IBOutlet weak var avatarView: UserAvatarView!\n```\nor programmatically.\n\n2) Setup appropriate properties:\n```swift\navatarView.statusAppearance = .color(.red) \n// avatarView.statusAppearance = .image(UIImage(named: \"...\"))\n// avatarView.statusAppearance = .none\n\navatarView.statusAngle = .pi / 4\n\navatarView.statusIconSize = 8\n\navatarView.statusIconPadding = 2\n```\n\n3) UIImageView subview is public, so you can setup avatar image on `imageView`:\n```swift\navatarView.imageView.image = avatarImage\n```\n\n## Author\n\nAnton Poltoratskyi\n\n## License\n\nUserAvatarView is available under the MIT license. See the [LICENSE](https://github.com/devpolant/UserAvatarView/blob/master/LICENSE) file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpolant%2Fuseravatarview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevpolant%2Fuseravatarview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpolant%2Fuseravatarview/lists"}