Skip to content

Commit

Permalink
expose gifView property
Browse files Browse the repository at this point in the history
expose gifView property
  • Loading branch information
CoderMJLee committed Dec 24, 2015
1 parent a32c6d7 commit 16ffb17
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MJRefresh.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MJRefresh'
s.version = '3.0.7'
s.version = '3.0.8'
s.summary = 'An easy way to use pull-to-refresh'
s.homepage = 'https://github.com/CoderMJLee/MJRefresh'
s.license = 'MIT'
Expand Down
2 changes: 2 additions & 0 deletions MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#import "MJRefreshAutoStateFooter.h"

@interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter
@property (weak, nonatomic, readonly) UIImageView *gifView;

/** 设置state状态下的动画图片images 动画持续时间duration*/
- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state;
- (void)setImages:(NSArray *)images forState:(MJRefreshState)state;
Expand Down
4 changes: 3 additions & 1 deletion MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#import "MJRefreshAutoGifFooter.h"

@interface MJRefreshAutoGifFooter()
@property (weak, nonatomic) UIImageView *gifView;
{
__unsafe_unretained UIImageView *_gifView;
}
/** 所有状态对应的动画图片 */
@property (strong, nonatomic) NSMutableDictionary *stateImages;
/** 所有状态对应的动画时间 */
Expand Down
2 changes: 2 additions & 0 deletions MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#import "MJRefreshBackStateFooter.h"

@interface MJRefreshBackGifFooter : MJRefreshBackStateFooter
@property (weak, nonatomic, readonly) UIImageView *gifView;

/** 设置state状态下的动画图片images 动画持续时间duration*/
- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state;
- (void)setImages:(NSArray *)images forState:(MJRefreshState)state;
Expand Down
4 changes: 3 additions & 1 deletion MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#import "MJRefreshBackGifFooter.h"

@interface MJRefreshBackGifFooter()
@property (weak, nonatomic) UIImageView *gifView;
{
__unsafe_unretained UIImageView *_gifView;
}
/** 所有状态对应的动画图片 */
@property (strong, nonatomic) NSMutableDictionary *stateImages;
/** 所有状态对应的动画时间 */
Expand Down
2 changes: 2 additions & 0 deletions MJRefresh/Custom/Header/MJRefreshGifHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#import "MJRefreshStateHeader.h"

@interface MJRefreshGifHeader : MJRefreshStateHeader
@property (weak, nonatomic, readonly) UIImageView *gifView;

/** 设置state状态下的动画图片images 动画持续时间duration*/
- (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state;
- (void)setImages:(NSArray *)images forState:(MJRefreshState)state;
Expand Down
4 changes: 3 additions & 1 deletion MJRefresh/Custom/Header/MJRefreshGifHeader.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#import "MJRefreshGifHeader.h"

@interface MJRefreshGifHeader()
@property (weak, nonatomic) UIImageView *gifView;
{
__unsafe_unretained UIImageView *_gifView;
}
/** 所有状态对应的动画图片 */
@property (strong, nonatomic) NSMutableDictionary *stateImages;
/** 所有状态对应的动画时间 */
Expand Down

0 comments on commit 16ffb17

Please sign in to comment.