Swift AvatarView高度自定义头像插件

Swift 中的 AvatarView 是挺好用的头像插件,功能蛮全的,而且自定义的空间也大。如果你开发的是社交类、电商类或者个人信息展示的 App,AvatarView 绝对能帮你提升用户体验。你只需要几行代码,就能实现头像的加载和展示,而且支持从网络加载、显示默认头像或者是用户的名字首字母哦。

最酷的是,AvatarView 还支持自定义头像形状,像圆形、矩形或者带圆角的矩形都可以,甚至边框颜色和宽度都能调整。加载动画也挺有趣的,比如渐变效果或者旋转效果,可以让头像展示更吸引人。

另外,它还能加载失败的情况,显示一个占位符,或者你想展示的内容。更棒的是,头像内部还可以加上徽章、标签啥的,位置、大小、颜色都可以自己调。头像点击事件也能绑定哦,你可以实现跳转到用户详情页等功能。

使用起来超简单,你可以通过 CocoaPods 或者 Carthage 导入,API 也易懂,有详细的文档和示例代码。,无论你是新手还是老司机,都能轻松上手。想做个个性化、好看的头像视图,AvatarView 绝对是个不错的选择!

zip
swift-AvatarView简单易用功能全面高度自定义的头像插件.zip 预估大小:48个文件
folder
AvatarView-master 文件夹
file
demoImage.png 87KB
folder
AvatarView 文件夹
folder
AvatarView.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 155B
file
project.pbxproj 12KB
folder
AvatarView 文件夹
file
Info.plist 2KB
file
AppDelegate.swift 2KB
file
TableViewController.swift 5KB
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 2KB
file
HeaderView.xib 8KB
file
AvatarView.swift 15KB
folder
Assets.xcassets 文件夹
folder
myImage.imageset 文件夹
file
myImage@2x.png 13KB
file
myImage@3x.png 25KB
file
Contents.json 344B
folder
normaluser.imageset 文件夹
file
normaluser@2x.png 7KB
file
Contents.json 350B
file
normaluser@3x.png 10KB
folder
pld2.imageset 文件夹
file
pld2@3x.png 13KB
file
pld2@2x.png 21KB
file
Contents.json 338B
folder
pld.imageset 文件夹
file
pld@3x.png 35KB
file
Contents.json 336B
file
pld@2x.png 33KB
folder
crouwn.imageset 文件夹
file
crouwn@2x.png 17KB
file
crouwn@3x.png 29KB
file
Contents.json 342B
folder
AppIcon.appiconset 文件夹
file
iPhoneSpootlight7_40pt@2x.png 5KB
file
iPadApp_76pt.png 4KB
file
iPadNotifications_20pt.png 913B
file
iPhoneApp_60pt@2x.png 7KB
file
iPhoneSpootlight5_29pt@3x.png 5KB
file
iPadProApp_83.5pt@2x.png 11KB
file
iPadSpootlight7_40pt@2x.png 5KB
file
iPadApp_76pt@2x.png 9KB
file
iPadSpootlight5_29pt@2x.png 3KB
file
iPadNotifications_20pt@2x.png 2KB
file
iPhoneApp_60pt@3x.png 12KB
file
iPadSpootlight5_29pt.png 1KB
file
iPhoneNotification_20pt@3x.png 3KB
file
iPadSpootlight7_40pt.png 2KB
file
iPhoneSpootlight5_29pt@2x.png 3KB
file
iPhoneNotification_20pt@2x.png 2KB
file
Contents.json 2KB
file
iPhoneSpootlight7_40pt@3x.png 7KB
file
Contents.json 62B
file
HeaderView.swift 3KB
file
UserViewController.swift 445B
file
LICENSE 11KB
file
README.md 1KB
file
.gitignore 1KB
zip 文件大小:405.18KB