## MJRefresh
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
![podversion](https://img.shields.io/cocoapods/v/MJRefresh.svg)
* An easy way to use pull-to-refresh
[ðâð»**Release Notes**: more details](https://github.com/CoderMJLee/MJRefresh/releases)
## Contents
* Getting Started
* [FeaturesãSupport what kinds of controls to refreshã](#Support_what_kinds_of_controls_to_refresh)
* [InstallationãHow to use MJRefreshã](#How_to_use_MJRefresh)
* [Who's usingãMore than hundreds of Apps are using MJRefreshã](#More_than_hundreds_of_Apps_are_using_MJRefresh)
* [ClassesãThe Class Structure Chart of MJRefreshã](#The_Class_Structure_Chart_of_MJRefresh)
* Comment API
* [MJRefreshComponent.h](#MJRefreshComponent.h)
* [MJRefreshHeader.h](#MJRefreshHeader.h)
* [MJRefreshFooter.h](#MJRefreshFooter.h)
* [MJRefreshAutoFooter.h](#MJRefreshAutoFooter.h)
* Examples
* [Reference](#Reference)
* [The drop-down refresh 01-Default](#The_drop-down_refresh_01-Default)
* [The drop-down refresh 02-Animation image](#The_drop-down_refresh_02-Animation_image)
* [The drop-down refresh 03-Hide the time](#The_drop-down_refresh_03-Hide_the_time)
* [The drop-down refresh 04-Hide status and time](#The_drop-down_refresh_04-Hide_status_and_time)
* [The drop-down refresh 05-DIY title](#The_drop-down_refresh_05-DIY_title)
* [The drop-down refresh 06-DIY the control of refresh](#The_drop-down_refresh_06-DIY_the_control_of_refresh)
* [The pull to refresh 01-Default](#The_pull_to_refresh_01-Default)
* [The pull to refresh 02-Animation image](#The_pull_to_refresh_02-Animation_image)
* [The pull to refresh 03-Hide the title of refresh status](#The_pull_to_refresh_03-Hide_the_title_of_refresh_status)
* [The pull to refresh 04-All loaded](#The_pull_to_refresh_04-All_loaded)
* [The pull to refresh 05-DIY title](#The_pull_to_refresh_05-DIY_title)
* [The pull to refresh 06-Hidden After loaded](#The_pull_to_refresh_06-Hidden_After_loaded)
* [The pull to refresh 07-Automatic back of the pull01](#The_pull_to_refresh_07-Automatic_back_of_the_pull01)
* [The pull to refresh 08-Automatic back of the pull02](#The_pull_to_refresh_08-Automatic_back_of_the_pull02)
* [The pull to refresh 09-DIY the control of refresh(Automatic refresh)](#The_pull_to_refresh_09-DIY_the_control_of_refresh(Automatic_refresh))
* [The pull to refresh 10-DIY the control of refresh(Automatic back)](#The_pull_to_refresh_10-DIY_the_control_of_refresh(Automatic_back))
* [UICollectionView01-The pull and drop-down refresh](#UICollectionView01-The_pull_and_drop-down_refresh)
* [WKWebView01-The drop-down refresh](#WKWebView01-The_drop-down_refresh)
* [Hope](#Hope)
## <a id="Support_what_kinds_of_controls_to_refresh"></a>Support what kinds of controls to refresh
* `UIScrollView`ã`UITableView`ã`UICollectionView`ã`WKWebView`
## <a id="How_to_use_MJRefresh"></a>How to use MJRefresh
* Installation with CocoaPodsï¼`pod 'MJRefresh'`
* Installation with [Carthage](https://github.com/Carthage/Carthage)ï¼`github "CoderMJLee/MJRefresh"`
* Manual importï¼
* Drag All files in the `MJRefresh` folder to project
* Import the main fileï¼`#import "MJRefresh.h"`
```objc
Base Custom
MJRefresh.bundle MJRefresh.h
MJRefreshConst.h MJRefreshConst.m
UIScrollView+MJExtension.h UIScrollView+MJExtension.m
UIScrollView+MJRefresh.h UIScrollView+MJRefresh.m
UIView+MJExtension.h UIView+MJExtension.m
```
## <a id="More_than_hundreds_of_Apps_are_using_MJRefresh"></a>More than hundreds of Apps are using MJRefresh
<img src="http://images0.cnblogs.com/blog2015/497279/201506/141212365041650.png" width="200" height="300">
* More information of App can focus onï¼[Mäºä¸ªJ-å客å](http://www.cnblogs.com/mjios/p/4409853.html)
## <a id="The_Class_Structure_Chart_of_MJRefresh"></a>The Class Structure Chart of MJRefresh
![](http://images0.cnblogs.com/blog2015/497279/201506/132232456139177.png)
- `The class of red text` in the chartï¼You can use them directly
- The drop-down refresh control types
- Normalï¼`MJRefreshNormalHeader`
- Gifï¼`MJRefreshGifHeader`
- The pull to refresh control types
- Auto refresh
- Normalï¼`MJRefreshAutoNormalFooter`
- Gifï¼`MJRefreshAutoGifFooter`
- Auto Back
- Normalï¼`MJRefreshBackNormalFooter`
- Gifï¼`MJRefreshBackGifFooter`
- `The class of non-red text` in the chartï¼For inheritanceï¼to use DIY the control of refresh
- About how to DIY the control of refreshï¼You can refer the Class in below Chart<br>
<img src="http://images0.cnblogs.com/blog2015/497279/201506/141358159107893.png" width="30%" height="30%">
## <a id="MJRefreshComponent.h"></a>MJRefreshComponent.h
```objc
/** The Base Class of refresh control */
@interface MJRefreshComponent : UIView
#pragma mark - Control the state of Refresh
/** BeginRefreshing */
- (void)beginRefreshing;
/** EndRefreshing */
- (void)endRefreshing;
/** IsRefreshing */
- (BOOL)isRefreshing;
#pragma mark - Other
/** According to the drag ratio to change alpha automatically */
@property (assign, nonatomic, getter=isAutomaticallyChangeAlpha) BOOL automaticallyChangeAlpha;
@end
```
## <a id="MJRefreshHeader.h"></a>MJRefreshHeader.h
```objc
@interface MJRefreshHeader : MJRefreshComponent
/** Creat header */
+ (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;
/** Creat header */
+ (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action;
/** This key is used to storage the time that the last time of drown-down successfully */
@property (copy, nonatomic) NSString *lastUpdatedTimeKey;
/** The last time of drown-down successfully */
@property (strong, nonatomic, readonly) NSDate *lastUpdatedTime;
/** Ignored scrollView contentInset top */
@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop;
@end
```
## <a id="MJRefreshFooter.h"></a>MJRefreshFooter.h
```objc
@interface MJRefreshFooter : MJRefreshComponent
/** Creat footer */
+ (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;
/** Creat footer */
+ (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action;
/** NoticeNoMoreData */
- (void)noticeNoMoreData;
/** ResetNoMoreDataï¼Clear the status of NoMoreData ï¼ */
- (void)resetNoMoreData;
/** Ignored scrollView contentInset bottom */
@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom;
@end
```
## <a id="MJRefreshAutoFooter.h"></a>MJRefreshAutoFooter.h
```objc
@interface MJRefreshAutoFooter : MJRefreshFooter
/** Is Automatically Refresh(Default is Yes) */
@property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh;
/** When there is much at the bottom of the control is automatically refresh(Default is 1.0ï¼Is at the bottom of the control appears in full, will refresh automatically) */
@property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent;
@end
```
## <a id="Reference"></a>Reference
```objc
* Due to there are more functions of this frameworkï¼Don't write specific text describe its usage
* You can directly reference examples MJTableViewControllerãMJCollectionViewControllerãMJWebViewControllerï¼More intuitive and fast.
```
<img src="http://images0.cnblogs.com/blog2015/497279/201506/141345470048120.png" width="30%" height="30%">
## <a id="The_drop-down_refresh_01-Default"></a>The drop-down refresh 01-Default
```objc
self.tableView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
//Call this Block When enter the refresh status automatically
}];
æ
// Set the callbackï¼Once you enter the refresh statusï¼then call the action of targetï¼that is call [self loadNewData]ï¼
self.tableView.mj_header = [MJR
没有合适的资源?快使用搜索试试~ 我知道了~
基于ThinkPhp6.0+ios原生开发的一套直播商城系统
共2026个文件
h:723个
m:480个
png:427个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 157 浏览量
2023-04-30
10:32:22
上传
评论 2
收藏 116.83MB ZIP 举报
温馨提示
万岳科技可为商家快速搭建起一套属于自己的直播商城系统,有效避开商城直播过程中的痛点难点,加入自身创意的同时,汲取各家平台的特色功能和体验,并且可根据用户的运营需求对系统做定制开发。所有使用到的框架或者组件都是基于开源项目,代码保证100%开源。 系统功能通用,无论是个人还是企业都可以利用该系统快速搭建一个属于自己的直播商城系统。基于ThinkPhp6.0+ios原生开发的一套万岳直播商城系统,专业售后技术团队,让您二开无忧。万岳直播商城系统ios版,适用于短视频直播带货、社交电商、直播电商,支持电商分销直播,包含多商户入驻、商城购物、主播带货、社区团购、直播打赏、直播间分享等功能,该系统源码支持定制和二次开发,终端支持app、小程序、web端。
资源推荐
资源详情
资源评论
收起资源包目录
基于ThinkPhp6.0+ios原生开发的一套直播商城系统 (2026个子文件)
opensdkdemo_3.3.8.177_iphone 0B
libcrypto.a 12.99MB
libWeChatSDK.a 11.61MB
libssl.a 2.32MB
AlipaySDK 14.75MB
AppleAccountConnector 737KB
Bugly 10.02MB
mz_zip.c 98KB
mz_zip_rw.c 61KB
mz_compat.c 27KB
mz_strm.c 16KB
mz_crypt_apple.c 14KB
mz_strm_buf.c 13KB
mz_strm_split.c 13KB
mz_strm_wzaes.c 12KB
mz_strm_pkcrypt.c 11KB
mz_strm_zlib.c 10KB
mz_os.c 9KB
mz_crypt.c 7KB
mz_os_posix.c 7KB
mz_strm_mem.c 7KB
mz_strm_os_posix.c 5KB
WYLiveShopping.entitlements 456B
safestack.h 198KB
GPBDictionary.h 187KB
obj_mac.h 172KB
ssl.h 145KB
evp.h 66KB
asn1.h 62KB
GPBArray.h 59KB
ec.h 55KB
NSMutableDictionary+SSDKShare.h 54KB
x509.h 52KB
objects.h 46KB
engine.h 44KB
bn.h 40KB
x509v3.h 39KB
tls1.h 39KB
bio.h 38KB
ts.h 34KB
asn1t.h 34KB
ssl3.h 33KB
AFURLSessionManager.h 32KB
TXLiteAVCode.h 30KB
rsa.h 29KB
WXApiObject.h 29KB
x509_vfy.h 28KB
cms.h 28KB
symhacks.h 27KB
crypto.h 27KB
ocsp.h 27KB
TXLivePush.h 26KB
pem.h 25KB
QQApiInterfaceObject.h 25KB
asn1_mac.h 24KB
GPBCodedOutputStream.h 23KB
AFURLRequestSerialization.h 22KB
TZImagePickerController.h 21KB
des_old.h 21KB
pkcs7.h 20KB
dso.h 20KB
AFHTTPSessionManager.h 19KB
Svga.pbobjc.h 18KB
ui.h 18KB
YYImageCoder.h 18KB
GPBMessage.h 18KB
TXLiveSDKTypeDef.h 18KB
TencentOAuth.h 17KB
GPBUtilities.h 17KB
err.h 16KB
dh.h 16KB
GPBDictionary_PackagePrivate.h 15KB
NSMutableDictionary+SSDKInit.h 15KB
YYDiskCache.h 15KB
pkcs12.h 14KB
GPBUtilities_PackagePrivate.h 14KB
IQKeyboardManager.h 14KB
GPBDescriptor_PackagePrivate.h 14KB
ecdsa.h 14KB
SDWebImageManager.h 14KB
GPBType.pbobjc.h 14KB
dsa.h 13KB
MBProgressHUD.h 13KB
AFURLResponseSerialization.h 12KB
NSButton+WebCache.h 12KB
SSDKRegister.h 12KB
ssl2.h 12KB
des.h 12KB
mz_zip_rw.h 11KB
UIButton+WebCache.h 11KB
SDWebImageDownloader.h 11KB
YYKVStorage.h 11KB
conf.h 11KB
GPBDescriptor.h 11KB
sdkdef.h 11KB
TXLivePushConfig.h 11KB
e_os2.h 11KB
SDImageCache.h 11KB
GPBApi.pbobjc.h 10KB
UIImage+YYWebImage.h 10KB
共 2026 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
- idiot1962023-10-13资源使用价值高,内容详实,给了我很多新想法,感谢大佬分享~
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6651
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功