没有合适的资源?快使用搜索试试~ 我知道了~
iOS 高效添加圆角效果实战讲解
共439个文件
h:114个
swift:81个
m:81个
需积分: 5 0 下载量 27 浏览量
2021-04-05
09:49:12
上传
评论
收藏 1.39MB ZIP 举报
温馨提示
作者bestswifter,源码MySampleCode,这是我的博客中:iOS高效添加圆角效果实战讲解一文的 demo,据说配合着代码看博客效果更佳! 2016.2.28 A 不存在 iOS9 优化,只是圆角不够多,还没有影响性能。一旦超过某个临界值(iPhone6 上估计是 20多)就会大幅度降低 fps。 如果 UIImageView 的 width 和 height 相同,在某些情况下(可能是图片带有 alpha 通道),系统可能会自动优化,这时候就不会出现离屏渲染。 2016.2.27 Q 参考了这篇文章:小心别让圆角成了你列表的帧数杀手 都说 cornerRadius + masksToBounds 会导致离屏渲染,从而大幅度降低 UITabelView 滑动时的性能。 我做了一个 demo,在 cell 中放了四个 UIImageView,令我惊讶的是,使用不同的图片可能会导致不同的结果。有些图片设置圆角会导致离屏渲染,有些则不会。即使四个图片都导致了离屏渲染,也并没有看到滑动时帧数的下降。
资源详情
资源评论
资源推荐
收起资源包目录
iOS 高效添加圆角效果实战讲解 (439个子文件)
.gitignore 864B
AFURLSessionManager.h 29KB
AFURLRequestSerialization.h 22KB
AFHTTPSessionManager.h 19KB
AFURLResponseSerialization.h 12KB
UIButton+AFNetworking.h 10KB
AFImageDownloader.h 9KB
AFNetworkReachabilityManager.h 8KB
UIImageView+AFNetworking.h 6KB
AFSecurityPolicy.h 6KB
AFAutoPurgingImageCache.h 6KB
AFNetworkActivityIndicatorManager.h 5KB
UIWebView+AFNetworking.h 4KB
UIProgressView+AFNetworking.h 2KB
UIRefreshControl+AFNetworking.h 2KB
UIActivityIndicatorView+AFNetworking.h 2KB
UIKit+AFNetworking.h 2KB
AFNetworking.h 2KB
UIView+KtExtension.h 1KB
UIImage+AFNetworking.h 1KB
KtBaseTableView.h 956B
AAPLSlideTransitionDelegate.h 905B
KtTableViewBaseItem.h 761B
EOCPerson.h 751B
KtTableViewController.h 696B
KtTableViewDataSource.h 692B
AAPLSlideTransitionAnimator.h 686B
AAPLSwipeTransitionDelegate.h 672B
AAPLSwipeTransitionInteractionController.h 621B
KtTableViewSectionObject.h 606B
EOCEmployee.h 509B
AAPLSwipeTransitionAnimator.h 464B
EOCErrors.h 458B
AAPLSlideTransitionInteractionController.h 445B
OCEnum.h 412B
AAPLCustomPresentationController.h 393B
KtBaseTableViewCell.h 383B
AAPLCheckerboardTransitionAnimator.h 376B
AAPLExternalStoryboardSegue.h 376B
AAPLCrossDissolveTransitionAnimator.h 348B
Literal.h 312B
AAPLAppDelegate.h 296B
UIImage+ImageRoundedCorner.h 294B
AAPLAdaptivePresentationFirstViewController.h 292B
AAPLAdaptivePresentationSecondViewController.h 292B
AAPLCustomPresentationFirstViewController.h 288B
AAPLCustomPresentationSecondViewController.h 288B
AAPLCrossDissolveSecondViewController.h 281B
AAPLCrossDissolveFirstViewController.h 278B
AAPLCheckerboardFirstViewController.h 275B
AppDelegate.h 271B
AAPLSwipeSecondViewController.h 265B
NSString+MyImplementation.h 261B
AAPLSwipeFirstViewController.h 261B
AAPLAdaptivePresentationController.h 254B
KTMainViewController.h 253B
KtMainTableViewCell.h 252B
KtMainTableViewDataSource.h 244B
AAPLMenuViewController.h 243B
MethodSwizzlingTest.h 239B
Other.h 230B
HashTest.h 230B
EOCEmployeeDeveloper.h 226B
EOCEmployeeDesigner.h 224B
MethodForwardTest.h 224B
EOCEmployeeFinance.h 222B
EOCSmithPerson.h 210B
Replacement.h 208B
Child.h 204B
AAPLAdaptivePresentationSegue.h 202B
Enum.h 201B
Parent.h 189B
Child+load.h 172B
CornerRadius-Bridging-Header.h 142B
SnapKit-umbrella.h 136B
SnapKit-umbrella.h 136B
Pods-umbrella.h 130B
Pods-umbrella.h 130B
Enum-Bridging-Header.h 122B
UIActivityIndicatorView+AFNetworking.h 79B
UIActivityIndicatorView+AFNetworking.h 79B
AFNetworkActivityIndicatorManager.h 76B
AFNetworkActivityIndicatorManager.h 76B
UIRefreshControl+AFNetworking.h 72B
UIRefreshControl+AFNetworking.h 72B
UIProgressView+AFNetworking.h 70B
UIProgressView+AFNetworking.h 70B
UIImageView+AFNetworking.h 67B
UIImageView+AFNetworking.h 67B
AFAutoPurgingImageCache.h 66B
AFAutoPurgingImageCache.h 66B
UIWebView+AFNetworking.h 65B
AFNetworkReachabilityManager.h 65B
AFNetworkReachabilityManager.h 65B
UIWebView+AFNetworking.h 65B
UIButton+AFNetworking.h 64B
UIButton+AFNetworking.h 64B
UIImage+AFNetworking.h 63B
UIImage+AFNetworking.h 63B
AFURLResponseSerialization.h 63B
共 439 条
- 1
- 2
- 3
- 4
- 5
weixin_38630139
- 粉丝: 3
- 资源: 935
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0