Commit 447ef80d authored by 乔金柱's avatar 乔金柱

Merge branch 'lym/master' into 'master'

Lym/master

See merge request !16
parents de09fefb ac1202f4
GMRefresh/Assets/pullLoading10@2x.png

2.23 KB | W: | H:

GMRefresh/Assets/pullLoading10@2x.png

16 KB | W: | H:

GMRefresh/Assets/pullLoading10@2x.png
GMRefresh/Assets/pullLoading10@2x.png
GMRefresh/Assets/pullLoading10@2x.png
GMRefresh/Assets/pullLoading10@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading11@2x.png

2.08 KB | W: | H:

GMRefresh/Assets/pullLoading11@2x.png

16.3 KB | W: | H:

GMRefresh/Assets/pullLoading11@2x.png
GMRefresh/Assets/pullLoading11@2x.png
GMRefresh/Assets/pullLoading11@2x.png
GMRefresh/Assets/pullLoading11@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading12@2x.png

2.08 KB | W: | H:

GMRefresh/Assets/pullLoading12@2x.png

17 KB | W: | H:

GMRefresh/Assets/pullLoading12@2x.png
GMRefresh/Assets/pullLoading12@2x.png
GMRefresh/Assets/pullLoading12@2x.png
GMRefresh/Assets/pullLoading12@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading1@2x.png

1.78 KB | W: | H:

GMRefresh/Assets/pullLoading1@2x.png

15.3 KB | W: | H:

GMRefresh/Assets/pullLoading1@2x.png
GMRefresh/Assets/pullLoading1@2x.png
GMRefresh/Assets/pullLoading1@2x.png
GMRefresh/Assets/pullLoading1@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading2@2x.png

1.78 KB | W: | H:

GMRefresh/Assets/pullLoading2@2x.png

15.6 KB | W: | H:

GMRefresh/Assets/pullLoading2@2x.png
GMRefresh/Assets/pullLoading2@2x.png
GMRefresh/Assets/pullLoading2@2x.png
GMRefresh/Assets/pullLoading2@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading3@2x.png

1.81 KB | W: | H:

GMRefresh/Assets/pullLoading3@2x.png

15.7 KB | W: | H:

GMRefresh/Assets/pullLoading3@2x.png
GMRefresh/Assets/pullLoading3@2x.png
GMRefresh/Assets/pullLoading3@2x.png
GMRefresh/Assets/pullLoading3@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading4@2x.png

1.81 KB | W: | H:

GMRefresh/Assets/pullLoading4@2x.png

15.4 KB | W: | H:

GMRefresh/Assets/pullLoading4@2x.png
GMRefresh/Assets/pullLoading4@2x.png
GMRefresh/Assets/pullLoading4@2x.png
GMRefresh/Assets/pullLoading4@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading5@2x.png

1.79 KB | W: | H:

GMRefresh/Assets/pullLoading5@2x.png

15.5 KB | W: | H:

GMRefresh/Assets/pullLoading5@2x.png
GMRefresh/Assets/pullLoading5@2x.png
GMRefresh/Assets/pullLoading5@2x.png
GMRefresh/Assets/pullLoading5@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading6@2x.png

1.83 KB | W: | H:

GMRefresh/Assets/pullLoading6@2x.png

15.4 KB | W: | H:

GMRefresh/Assets/pullLoading6@2x.png
GMRefresh/Assets/pullLoading6@2x.png
GMRefresh/Assets/pullLoading6@2x.png
GMRefresh/Assets/pullLoading6@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading7@2x.png

2.1 KB | W: | H:

GMRefresh/Assets/pullLoading7@2x.png

15.2 KB | W: | H:

GMRefresh/Assets/pullLoading7@2x.png
GMRefresh/Assets/pullLoading7@2x.png
GMRefresh/Assets/pullLoading7@2x.png
GMRefresh/Assets/pullLoading7@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading8@2x.png

2.19 KB | W: | H:

GMRefresh/Assets/pullLoading8@2x.png

15.4 KB | W: | H:

GMRefresh/Assets/pullLoading8@2x.png
GMRefresh/Assets/pullLoading8@2x.png
GMRefresh/Assets/pullLoading8@2x.png
GMRefresh/Assets/pullLoading8@2x.png
  • 2-up
  • Swipe
  • Onion skin
GMRefresh/Assets/pullLoading9@2x.png

2.41 KB | W: | H:

GMRefresh/Assets/pullLoading9@2x.png

15.5 KB | W: | H:

GMRefresh/Assets/pullLoading9@2x.png
GMRefresh/Assets/pullLoading9@2x.png
GMRefresh/Assets/pullLoading9@2x.png
GMRefresh/Assets/pullLoading9@2x.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#import "GMRefreshConstant.h" #import "GMRefreshConstant.h"
#define imgCount 12 #define imgCount 16
@interface GMGifImageView () @interface GMGifImageView ()
@property (nonatomic, strong) NSMutableArray *refreshingImages; @property (nonatomic, strong) NSMutableArray *refreshingImages;
...@@ -38,8 +38,9 @@ ...@@ -38,8 +38,9 @@
self.animationDuration = duration; self.animationDuration = duration;
[superView addSubview:self]; [superView addSubview:self];
CGFloat width = 100; CGFloat width = 100;
CGFloat height = 130;
CGFloat x = (superView.frame.size.width -width) * 0.5; CGFloat x = (superView.frame.size.width -width) * 0.5;
self.frame = CGRectMake(x, -100, width, width); self.frame = CGRectMake(x, -130, width, height);
} }
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
- (void)startGifRefresh:(BOOL)topAnimation { - (void)startGifRefresh:(BOOL)topAnimation {
/* 根据图片设置控件的高度 */ /* 根据图片设置控件的高度 */
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.25 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
self.hidden = NO; self.hidden = NO;
[self startAnimating]; [self startAnimating];
}); });
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#import "MJRefreshComponent+Private.h" #import "MJRefreshComponent+Private.h"
@import GMPhobos; @import GMPhobos;
#define ImageCount 12 #define ImageCount 16
@interface GMRefreshFooter() @interface GMRefreshFooter()
@property (nonatomic, strong) UIImageView *prepareImageView; @property (nonatomic, strong) UIImageView *prepareImageView;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#define GM_REFRESH_WIDTH 46 #define GM_REFRESH_WIDTH 46
#define GM_REFRESH_HEIGHT 14 #define GM_REFRESH_HEIGHT 14
#define KimgCount 12 #define KimgCount 16
@implementation GMRefreshHeader @implementation GMRefreshHeader
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment