Swift-CRRefresh上拉

Swift-CRRefresh 是个挺好用的上拉刷新控件,专为 iOS 平台开发,适合 Swift 开发者。它的操作挺,几行代码就能实现上拉刷新和加载更多数据的功能。如果你要用在列表视图里(比如UITableViewUICollectionView),它会让你的应用体验更加流畅。最酷的是,CRRefresh 控件不光是可以简单集成,它的外观和交互效果也能高度定制。你可以根据自己的应用风格来调整刷新指示器的颜色、动画效果等,挺灵活的。
使用时,先把CRRefresh库引入项目,可以通过 CocoaPods 或 Carthage 等方式。,在你的UITableViewUICollectionView的代理方法里,配置好初始化代码和回调函数。当用户上拉刷新时,回调函数就会触发,你可以更新数据源,通过refreshView.endRefreshing()结束刷新。
如果你还用 Core Data 来存储数据,CRRefresh 和它也能无缝配合,实现数据的实时更新。当你上拉刷新时,可以调用 Core Data 的 fetch 求获取最新数据,更新列表。
,Swift-CRRefresh 不仅操作简单,还能根据需求进行高度自定义,是开发中实现上拉刷新功能时的好帮手。

zip
swift-CRRefresh 是一个简单易用的上拉刷新控件.zip 预估大小:89个文件
folder
CRRefresh-master 文件夹
file
CRRefresh.podspec 1022B
folder
Demo 文件夹
file
ViewController.swift 4KB
file
Info.plist 1KB
file
AppDelegate.swift 2KB
file
NavigationController.swift 5KB
folder
Cells 文件夹
file
NormalCell.xib 6KB
file
NormalCell.swift 2KB
file
RefreshCell.xib 8KB
file
RefreshCell.swift 1KB
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 3KB
file
RefreshController.swift 4KB
file
BaseViewController.swift 7KB
folder
Assets.xcassets 文件夹
folder
Image_2.imageset 文件夹
file
2(1).png 77KB
file
Contents.json 301B
folder
Image_1.imageset 文件夹
file
Contents.json 301B
file
3(1).png 84KB
folder
nav_back.imageset 文件夹
file
icon-返回@3x.png 450B
file
Contents.json 352B
file
icon-返回@2x.png 288B
folder
Image_3.imageset 文件夹
file
1.png 79KB
file
Contents.json 298B
folder
AppIcon.appiconset 文件夹
file
Icon-ipad-App-20x20@2x.png 2KB
file
Icon-ipad-App-29x29@1x.png 1KB
file
Icon-ipad-App-72x72@1x.png 5KB
file
Icon-App-57x57@1x.png 3KB
file
Icon-ipad-App-40x40@2x.png 5KB
file
Icon-App-29x29@3x.png 6KB
file
Icon-App-29x29@1x.png 1KB
file
Icon-App-29x29@2x.png 3KB
file
Icon-App-60x60@3x.png 18KB
file
Icon-ipad-App-40x40@1x.png 2KB
file
Icon-ipad-App-29x29@2x.png 3KB
file
Icon-ipad-App-72x72@2x.png 13KB
file
Icon-App-20x20@2x.png 2KB
file
Icon-App-40x40@3x.png 9KB
file
Icon-ipad-Small-50x50@2x.png 7KB
file
Icon-ipad-Small-50x50@1x.png 3KB
file
Icon-ipad-App-76x76@2x.png 14KB
file
Icon-App-57x57@2x.png 9KB
file
Icon-ipad-App-20x20@1x.png 860B
file
Icon-App-40x40@2x.png 5KB
file
Icon-App-60x60@2x.png 9KB
file
Icon-ipad-App-83.5x83.5@2x.png 16KB
file
Icon-ipad-App-76x76@1x.png 5KB
file
Icon-ios-App-1024x1024@1x.png 304KB
file
Contents.json 3KB
file
Icon-App-20x20@3x.png 4KB
folder
CRRefresh.xcodeproj 文件夹
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
CRRefresh.xcscheme 3KB
folder
project.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 154B
file
project.pbxproj 31KB
file
.swift-version 3B
file
CRRefresh4.gif 98KB
folder
CRRefresh 文件夹
file
Info.plist 753B
folder
CRRefresh 文件夹
file
CRRefreshComponent.swift 7KB
file
CRRefreshProtocol.swift 2KB
file
CRRefreshFooterView.swift 6KB
file
CRRefreshBundle.swift 3KB
file
CRRefreshHeaderView.swift 6KB
file
CRRefreshExtension.swift 5KB
file
CRRefreshAnimator.swift 2KB
folder
Animators 文件夹
folder
NormalAnimator 文件夹
folder
NormalHeader.bundle 文件夹
folder
en.lproj 文件夹
file
Localizable.strings 153B
folder
images 文件夹
file
refresh_arrow@3x.png 1KB
file
refresh_arrow@2x.png 1KB
folder
zh.lproj 文件夹
file
Localizable.strings 165B
file
NormalHeaderAnimator.swift 5KB
file
NormalFooterAnimator.swift 4KB
folder
NormalFooter.bundle 文件夹
folder
en.lproj 文件夹
file
Localizable.strings 138B
folder
zh.lproj 文件夹
file
Localizable.strings 171B
folder
SlackLoadingAnimator 文件夹
file
WCLLoadingView.swift 11KB
file
SlackLoadingAnimator.swift 2KB
folder
RamotionAnimator 文件夹
file
RamotionBallLayer.swift 8KB
file
RamotionBounceLayer.swift 6KB
file
RamotionAnimator.swift 3KB
file
RamotionWaveLayer.swift 7KB
folder
FastAnimator 文件夹
file
FastAnimator.swift 4KB
file
FastCheckLayer.swift 3KB
file
FastLayer.swift 2KB
file
FastArrowLayer.swift 6KB
file
FastCircleLayer.swift 7KB
file
UIColorExtension.swift 333B
file
README_CN.md 4KB
file
CRRefresh3.gif 43KB
file
LICENSE 1KB
file
README.md 5KB
file
CRRefresh1.gif 80KB
file
CRRefresh2.gif 76KB
file
.gitignore 236B
file
CRRefresh.png 401KB
...
zip 文件大小:1.37MB