Commit 97e58e9f5cf1b46fc7542bd249b699bc845918fb

Authored by yinqiaojuan
1 parent 33518eb8

0.0.6

CNLiveRefeshHeader.podspec
1 1  
2 2 Pod::Spec.new do |s|
3 3 s.name = 'CNLiveRefeshHeader'
4   - s.version = '0.0.5'
  4 + s.version = '0.0.6'
5 5 s.summary = 'MJRefresh封装.'
6 6  
7 7 s.description = <<-DESC
... ...
CNLiveRefeshHeader/Classes/CNRefreshHeader.h renamed to CNLiveRefeshHeader/Classes/CNLiveRefreshHeader.h
... ... @@ -9,7 +9,7 @@
9 9  
10 10 NS_ASSUME_NONNULL_BEGIN
11 11  
12   -@interface CNRefreshHeader : MJRefreshGifHeader
  12 +@interface CNLiveRefreshHeader : MJRefreshGifHeader
13 13 + (UIImage *)getImageName:(NSString *)imageName;
14 14  
15 15 @end
... ...
CNLiveRefeshHeader/Classes/CNRefreshHeader.m renamed to CNLiveRefeshHeader/Classes/CNLiveRefreshHeader.m
... ... @@ -5,15 +5,15 @@
5 5 // Created by 殷巧娟 on 2018/12/8.
6 6 //
7 7  
8   -#import "CNRefreshHeader.h"
  8 +#import "CNLiveRefreshHeader.h"
9 9  
10 10 #define OffestY -54.0
11   -@interface CNRefreshHeader()
  11 +@interface CNLiveRefreshHeader()
12 12  
13 13 @property (nonatomic ,strong) NSMutableArray *imgMuArr;
14 14 @end
15 15  
16   -@implementation CNRefreshHeader
  16 +@implementation CNLiveRefreshHeader
17 17  
18 18 //初始化
19 19 -(void)prepare
... ... @@ -22,7 +22,7 @@
22 22  
23 23 for (int i = 0; i < 30; i ++) {
24 24  
25   - [self.imgMuArr addObject:[CNRefreshHeader getImageName:[NSString stringWithFormat:@"activity_load%d",i]]];
  25 + [self.imgMuArr addObject:[CNLiveRefreshHeader getImageName:[NSString stringWithFormat:@"activity_load%d",i]]];
26 26 }
27 27 [self setImages:self.imgMuArr duration:1 forState:MJRefreshStateIdle];
28 28 [self setImages:self.imgMuArr forState:MJRefreshStatePulling];
... ...
Example/Pods/Pods.xcodeproj/project.pbxproj
... ... @@ -7,7 +7,7 @@
7 7 objects = {
8 8  
9 9 /* Begin PBXBuildFile section */
10   - 001AAB312D9EC41A7A1680A05FA2BFF1 /* CNRefreshHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = C487022CFE9E2F27A963683A89A23EB8 /* CNRefreshHeader.m */; };
  10 + 001AAB312D9EC41A7A1680A05FA2BFF1 /* CNLiveRefreshHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = C487022CFE9E2F27A963683A89A23EB8 /* CNLiveRefreshHeader.m */; };
11 11 0DBC7E79A947A57DF19196833758A8D4 /* UIScrollView+MJExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = E6643DEB2913C3EFD0B2310908C6B17D /* UIScrollView+MJExtension.h */; settings = {ATTRIBUTES = (Public, ); }; };
12 12 0DDEA1B096566EC1E4A79B229EF78EBF /* Pods-CNLiveRefeshHeader_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DACCBE2360FDD56F51FBD33D66714AC /* Pods-CNLiveRefeshHeader_Tests-dummy.m */; };
13 13 0EE5C6937DA14BFAD402C9D8C2FDCBF6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5740F0E3F5B79528E4F9BAF55A850995 /* Foundation.framework */; };
... ... @@ -20,7 +20,7 @@
20 20 3970BA3DE08D441E4F52FE29648D5AF9 /* Pods-CNLiveRefeshHeader_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 45280C83DE3CCB21D16A29C984C44C50 /* Pods-CNLiveRefeshHeader_Example-dummy.m */; };
21 21 3BA5409E7990C575ED11CBA59AA4E7A4 /* MJRefreshAutoFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D6CA0A599AA99D8D4849BE6F09120B4 /* MJRefreshAutoFooter.m */; };
22 22 3C1B2C1441A69C3727408564B5EFB0CD /* MJRefreshFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 01D848AF815E0097FBB84EE1D0DC9525 /* MJRefreshFooter.h */; settings = {ATTRIBUTES = (Public, ); }; };
23   - 3C8953896032B32EAE426E0393B815BA /* CNRefreshHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 4FDD870495021E9D813353C8B7089EA7 /* CNRefreshHeader.h */; settings = {ATTRIBUTES = (Public, ); }; };
  23 + 3C8953896032B32EAE426E0393B815BA /* CNLiveRefreshHeader.h in Headers */ = {isa = PBXBuildFile; fileRef = 4FDD870495021E9D813353C8B7089EA7 /* CNLiveRefreshHeader.h */; settings = {ATTRIBUTES = (Public, ); }; };
24 24 3CD9F6A41A0E46687274802E32667323 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4EACB38F1A567B3B72EC78889D53F893 /* Assets.xcassets */; };
25 25 3DE244414008BC5AC4A60931BC91259C /* MJRefreshFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 25E1B990CE4C4CD728A278B17E09A203 /* MJRefreshFooter.m */; };
26 26 3F266212B0B91F642557F72F5DA78349 /* MJRefresh.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 304CC5D3C2AF74487F5E51E2BD351C87 /* MJRefresh.bundle */; };
... ... @@ -138,7 +138,7 @@
138 138 45280C83DE3CCB21D16A29C984C44C50 /* Pods-CNLiveRefeshHeader_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveRefeshHeader_Example-dummy.m"; sourceTree = "<group>"; };
139 139 49A51B0CF2D07D2FAE0002178FBFF488 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
140 140 4EACB38F1A567B3B72EC78889D53F893 /* Assets.xcassets */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = CNLiveRefeshHeader/Assets/Assets.xcassets; sourceTree = "<group>"; };
141   - 4FDD870495021E9D813353C8B7089EA7 /* CNRefreshHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNRefreshHeader.h; path = CNLiveRefeshHeader/Classes/CNRefreshHeader.h; sourceTree = "<group>"; };
  141 + 4FDD870495021E9D813353C8B7089EA7 /* CNLiveRefreshHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNLiveRefreshHeader.h; path = CNLiveRefeshHeader/Classes/CNLiveRefreshHeader.h; sourceTree = "<group>"; };
142 142 569D0822A3A489A714290FCF8E3D23F1 /* Pods-CNLiveRefeshHeader_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CNLiveRefeshHeader_Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
143 143 5740F0E3F5B79528E4F9BAF55A850995 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
144 144 59F5C997286451AD6CB6D6FF1FF1057F /* CNLiveRefeshHeader.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CNLiveRefeshHeader.xcconfig; sourceTree = "<group>"; };
... ... @@ -176,7 +176,7 @@
176 176 BCBFB5C2A3FCF292E4C8F9355FD0F053 /* MJRefreshGifHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshGifHeader.m; path = MJRefresh/Custom/Header/MJRefreshGifHeader.m; sourceTree = "<group>"; };
177 177 C3B79BD8E72617C5093ADFB65F3D3797 /* Pods-CNLiveRefeshHeader_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CNLiveRefeshHeader_Example-acknowledgements.plist"; sourceTree = "<group>"; };
178 178 C462EB7C5A1BFAAAA88A2A69302D6D0D /* MJRefreshAutoGifFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoGifFooter.m; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.m; sourceTree = "<group>"; };
179   - C487022CFE9E2F27A963683A89A23EB8 /* CNRefreshHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CNRefreshHeader.m; path = CNLiveRefeshHeader/Classes/CNRefreshHeader.m; sourceTree = "<group>"; };
  179 + C487022CFE9E2F27A963683A89A23EB8 /* CNLiveRefreshHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CNLiveRefreshHeader.m; path = CNLiveRefeshHeader/Classes/CNLiveRefreshHeader.m; sourceTree = "<group>"; };
180 180 C59CA3B35611069886BD9B24209A66D8 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
181 181 C9FCFA9C7618D0EF63681404B1649D15 /* MJRefreshBackFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshBackFooter.m; path = MJRefresh/Base/MJRefreshBackFooter.m; sourceTree = "<group>"; };
182 182 CAF45AE6C741BFAAF386D8D8D869A212 /* CNLiveRefeshHeader.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CNLiveRefeshHeader.framework; sourceTree = BUILT_PRODUCTS_DIR; };
... ... @@ -384,8 +384,8 @@
384 384 7468B965B4B0E81DD27B91840DC26F8F /* CNLiveRefeshHeader */ = {
385 385 isa = PBXGroup;
386 386 children = (
387   - 4FDD870495021E9D813353C8B7089EA7 /* CNRefreshHeader.h */,
388   - C487022CFE9E2F27A963683A89A23EB8 /* CNRefreshHeader.m */,
  387 + 4FDD870495021E9D813353C8B7089EA7 /* CNLiveRefreshHeader.h */,
  388 + C487022CFE9E2F27A963683A89A23EB8 /* CNLiveRefreshHeader.m */,
389 389 CCB7BCD81A42978EB0F7419D4E47C3E9 /* Pod */,
390 390 7A98D627AA7AB28602C9AB7EE29BAFD7 /* Resources */,
391 391 480C55905EDEA7675034116137857AA3 /* Support Files */,
... ... @@ -510,7 +510,7 @@
510 510 isa = PBXHeadersBuildPhase;
511 511 buildActionMask = 2147483647;
512 512 files = (
513   - 3C8953896032B32EAE426E0393B815BA /* CNRefreshHeader.h in Headers */,
  513 + 3C8953896032B32EAE426E0393B815BA /* CNLiveRefreshHeader.h in Headers */,
514 514 8F94D883688E44CC5CF8697E748424CE /* CNLiveRefeshHeader-umbrella.h in Headers */,
515 515 );
516 516 runOnlyForDeploymentPostprocessing = 0;
... ... @@ -732,7 +732,7 @@
732 732 buildActionMask = 2147483647;
733 733 files = (
734 734 8C0A828351A47F3B85C805F419FB382B /* CNLiveRefeshHeader-dummy.m in Sources */,
735   - 001AAB312D9EC41A7A1680A05FA2BFF1 /* CNRefreshHeader.m in Sources */,
  735 + 001AAB312D9EC41A7A1680A05FA2BFF1 /* CNLiveRefreshHeader.m in Sources */,
736 736 );
737 737 runOnlyForDeploymentPostprocessing = 0;
738 738 };
... ...