Commit 49a4b25e8dcb112cc0b5472b750977230a57e9d7

Authored by yinqiaojuan
1 parent a2e9cf24

0.0.2

CNLiveRefreshFooter.podspec
1 1  
2 2 Pod::Spec.new do |s|
3 3 s.name = 'CNLiveRefreshFooter'
4   - s.version = '0.0.1'
  4 + s.version = '0.0.2'
5 5 s.summary = 'CNLive-iOS尾部刷新'
6 6  
7 7 s.description = <<-DESC
... ...
CNLiveRefreshFooter/Classes/CNLiveRrfreshFooter.m
... ... @@ -19,7 +19,7 @@
19 19 -(void)prepare {
20 20 [super prepare];
21 21 // NSArray *array = [NSArray arrayWithObjects:[UIImage imageNamed:@"logo"], nil];
22   - NSArray *array = [NSArray arrayWithObjects:[CNLiveRrfreshFooter getImageName:@"logo"], nil];
  22 + NSArray *array = [NSArray arrayWithObjects:[CNLiveRrfreshFooter getImageName:[NSString stringWithFormat:@"logo"]], nil];
23 23 [self setImages:array forState:MJRefreshStateIdle];
24 24 [self setImages:array forState:MJRefreshStateRefreshing];
25 25 [self setImages:array forState:MJRefreshStatePulling];
... ... @@ -77,12 +77,22 @@
77 77 }
78 78 }
79 79  
80   -+(UIImage *)getImageName:(NSString *)imageName {
81   - NSString *path = [[NSBundle mainBundle]pathForResource:@"CNLiveRefreshFooter" ofType:@"bundle"];
82   - NSBundle *imageBundle = [NSBundle bundleWithPath:path];
83   - NSString *close = [imageBundle pathForResource:imageName ofType:@"png"];
84   - UIImage *image = [UIImage imageWithContentsOfFile:close];
  80 +//+(UIImage *)getImageName:(NSString *)imageName {
  81 +// NSString *path = [[NSBundle mainBundle]pathForResource:@"CNLiveRefreshFooter" ofType:@"bundle"];
  82 +// NSBundle *imageBundle = [NSBundle bundleWithPath:path];
  83 +// NSString *close = [imageBundle pathForResource:imageName ofType:@"png"];
  84 +// UIImage *image = [UIImage imageWithContentsOfFile:close];
  85 +// return image;
  86 +//
  87 +//}
  88 +
  89 ++ (UIImage *)getImageName:(NSString *)imageName{
  90 + NSBundle *bundle = [NSBundle bundleForClass:[self class]];
  91 + NSURL *url = [bundle URLForResource:@"CNLiveRefreshFooter" withExtension:@"bundle"];
  92 + NSBundle *targetBundle = [NSBundle bundleWithURL:url];
  93 + UIImage *image = [UIImage imageNamed:imageName inBundle:targetBundle compatibleWithTraitCollection:nil];
85 94 return image;
  95 +
86 96 }
87 97  
88 98 @end
... ...
Example/CNLiveRefreshFooter.xcodeproj/project.pbxproj
... ... @@ -208,6 +208,7 @@
208 208 6003F587195388D20070C39A /* Frameworks */,
209 209 6003F588195388D20070C39A /* Resources */,
210 210 8D659BE22F1ED0AC442D5DF5 /* [CP] Embed Pods Frameworks */,
  211 + 4E0F7DBA21CCEA2700B1AF21 /* ShellScript */,
211 212 );
212 213 buildRules = (
213 214 );
... ... @@ -320,6 +321,23 @@
320 321 shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CNLiveRefreshFooter_Tests/Pods-CNLiveRefreshFooter_Tests-frameworks.sh\"\n";
321 322 showEnvVarsInLog = 0;
322 323 };
  324 + 4E0F7DBA21CCEA2700B1AF21 /* ShellScript */ = {
  325 + isa = PBXShellScriptBuildPhase;
  326 + buildActionMask = 2147483647;
  327 + files = (
  328 + );
  329 + inputFileListPaths = (
  330 + );
  331 + inputPaths = (
  332 + );
  333 + outputFileListPaths = (
  334 + );
  335 + outputPaths = (
  336 + );
  337 + runOnlyForDeploymentPostprocessing = 0;
  338 + shellPath = /bin/sh;
  339 + shellScript = "if [ \"${ACTION}\" = \"build\" ]\nthen\nINSTALL_DIR=${SRCROOT}/Products/${PROJECT_NAME}.framework\n\nDEVICE_DIR=${SRCROOT}/\"build\"/Debug-iphoneos/${PROJECT_NAME}/${PROJECT_NAME}.framework\n\nSIMULATOR_DIR=${SRCROOT}/\"build\"/Debug-iphonesimulator/${PROJECT_NAME}/${PROJECT_NAME}.framework\n\nif [ -d \"${INSTALL_DIR}\" ]\nthen\nrm -rf \"${INSTALL_DIR}\"\nfi\n\nmkdir -p \"${INSTALL_DIR}\"\n\ncp -R \"${DEVICE_DIR}/\" \"${INSTALL_DIR}/\"\n\nlipo -create \"${DEVICE_DIR}/${PROJECT_NAME}\" \"${SIMULATOR_DIR}/${PROJECT_NAME}\" -output \"${INSTALL_DIR}/${PROJECT_NAME}\"\n\nopen \"${SRCROOT}/Products\"\nfi\n";
  340 + };
323 341 88CDCE2E90B257441B0398B8 /* [CP] Check Pods Manifest.lock */ = {
324 342 isa = PBXShellScriptBuildPhase;
325 343 buildActionMask = 2147483647;
... ...
Example/CNLiveRefreshFooter/CNLiveViewController.m
... ... @@ -7,7 +7,8 @@
7 7 //
8 8  
9 9 #import "CNLiveViewController.h"
10   -
  10 +#import <CNLiveRefreshFooter/CNLiveRrfreshFooter.h>
  11 +//@import CNLiveRrfreshFooter
11 12 @interface CNLiveViewController ()
12 13  
13 14 @end
... ... @@ -17,6 +18,9 @@
17 18 - (void)viewDidLoad
18 19 {
19 20 [super viewDidLoad];
  21 + UIImageView *imageV = [[UIImageView alloc]initWithFrame:CGRectMake(100, 100, 100, 40)];
  22 + imageV.image = [CNLiveRrfreshFooter getImageName:@"logo"];
  23 + [self.view addSubview:imageV];
20 24 // Do any additional setup after loading the view, typically from a nib.
21 25 }
22 26  
... ...
Example/Pods/Pods.xcodeproj/project.pbxproj
... ... @@ -32,7 +32,7 @@
32 32 662AFCF9B75D4B3D7AA37A3031A69972 /* MJRefresh.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 304CC5D3C2AF74487F5E51E2BD351C87 /* MJRefresh.bundle */; };
33 33 666D7FD0EDAC511968DE974A820D260F /* MJRefreshBackStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 22423C0D9752CE12BC99436DC3E8D200 /* MJRefreshBackStateFooter.m */; };
34 34 7584CAD3B28310FD541528A2C31DF3F6 /* MJRefreshBackStateFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 2A7D6998A720A4F72C5E60295FBAC081 /* MJRefreshBackStateFooter.h */; settings = {ATTRIBUTES = (Public, ); }; };
35   - 7774DC14194F2E07AFC1C630FB89FB6F /* CNLiveRefreshFooter-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B5E4970329CBDABC9DBDFF42855461A8 /* CNLiveRefreshFooter-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
  35 + 7774DC14194F2E07AFC1C630FB89FB6F /* CNLiveRefreshFooter-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B5E4970329CBDABC9DBDFF42855461A8 /* CNLiveRefreshFooter-umbrella.h */; };
36 36 7D7EDD288250C0B052A2435E03FB5520 /* Pods-CNLiveRefreshFooter_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BDEDF3B5E8D58DFADD394F240912E8D2 /* Pods-CNLiveRefreshFooter_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
37 37 7F8D862F974506128FA8865D9C22434F /* MJRefreshAutoFooter.h in Headers */ = {isa = PBXBuildFile; fileRef = 89E7FFE3499454CF2099186410BBF06F /* MJRefreshAutoFooter.h */; settings = {ATTRIBUTES = (Public, ); }; };
38 38 83E3A762FF86283B514CD9AC3DDF0788 /* MJRefresh.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17CCA8DD82EF1C1B58D82DE0271EB93F /* MJRefresh.framework */; };
... ... @@ -115,7 +115,7 @@
115 115 /* Begin PBXFileReference section */
116 116 01D848AF815E0097FBB84EE1D0DC9525 /* MJRefreshFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshFooter.h; path = MJRefresh/Base/MJRefreshFooter.h; sourceTree = "<group>"; };
117 117 0305B9482660B044E7F780A912EF27FE /* CNLiveRefreshFooter-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CNLiveRefreshFooter-dummy.m"; sourceTree = "<group>"; };
118   - 0CEFA691BF1A798C5F51B68010CA4E7C /* Pods_CNLiveRefreshFooter_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveRefreshFooter_Example.framework; path = "Pods-CNLiveRefreshFooter_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
  118 + 0CEFA691BF1A798C5F51B68010CA4E7C /* Pods_CNLiveRefreshFooter_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveRefreshFooter_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
119 119 0D192BFD16ED0191FE73EBE0B18F4029 /* Pods-CNLiveRefreshFooter_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveRefreshFooter_Tests-resources.sh"; sourceTree = "<group>"; };
120 120 132ECAFF25A0A31AB46588C93DF2FBAE /* Pods-CNLiveRefreshFooter_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveRefreshFooter_Example-dummy.m"; sourceTree = "<group>"; };
121 121 17CCA8DD82EF1C1B58D82DE0271EB93F /* MJRefresh.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MJRefresh.framework; sourceTree = BUILT_PRODUCTS_DIR; };
... ... @@ -139,11 +139,11 @@
139 139 359A4DE4AFFF1344A5481B9EE94ABAC4 /* UIScrollView+MJRefresh.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIScrollView+MJRefresh.m"; path = "MJRefresh/UIScrollView+MJRefresh.m"; sourceTree = "<group>"; };
140 140 399AAF1C3C81270C477811E90BCD5614 /* NSBundle+MJRefresh.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSBundle+MJRefresh.m"; path = "MJRefresh/NSBundle+MJRefresh.m"; sourceTree = "<group>"; };
141 141 3D6CA0A599AA99D8D4849BE6F09120B4 /* MJRefreshAutoFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoFooter.m; path = MJRefresh/Base/MJRefreshAutoFooter.m; sourceTree = "<group>"; };
142   - 4DFC060C2F10D1D3BE1714A787BC6069 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
  142 + 4DFC060C2F10D1D3BE1714A787BC6069 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; 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   - 5B5EEA0CDBECE7C7A5C11BC71AEBEBBA /* CNLiveRefreshFooter.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = CNLiveRefreshFooter.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  144 + 5B5EEA0CDBECE7C7A5C11BC71AEBEBBA /* CNLiveRefreshFooter.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = CNLiveRefreshFooter.podspec; sourceTree = "<group>"; };
145 145 6D88BEDD1B5B89A24603DEEDA27376E2 /* MJRefreshHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshHeader.m; path = MJRefresh/Base/MJRefreshHeader.m; sourceTree = "<group>"; };
146   - 6D97A81069DFF7D833553EA36C9D1F76 /* Pods_CNLiveRefreshFooter_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveRefreshFooter_Tests.framework; path = "Pods-CNLiveRefreshFooter_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
  146 + 6D97A81069DFF7D833553EA36C9D1F76 /* Pods_CNLiveRefreshFooter_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveRefreshFooter_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
147 147 722F132BBAAB7D5D21F5983CB7517AA1 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
148 148 772828D7C1B5EC016F2A391EE2153D58 /* MJRefreshBackNormalFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshBackNormalFooter.h; path = MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h; sourceTree = "<group>"; };
149 149 851BBDA95F8412173115442AA4B9CEC5 /* Pods-CNLiveRefreshFooter_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveRefreshFooter_Tests.debug.xcconfig"; sourceTree = "<group>"; };
... ... @@ -155,7 +155,7 @@
155 155 8EB47CB3D2C2F5185F7A85B11AAED992 /* MJRefresh-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MJRefresh-prefix.pch"; sourceTree = "<group>"; };
156 156 8EF1CC5B1CE4B106461CE38F0B1BAAC9 /* UIView+MJExtension.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+MJExtension.m"; path = "MJRefresh/UIView+MJExtension.m"; sourceTree = "<group>"; };
157 157 91E087BFF5A4C96024394F46FAB373F0 /* MJRefreshBackGifFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshBackGifFooter.m; path = MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.m; sourceTree = "<group>"; };
158   - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  158 + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
159 159 95959F04C94DDA65B9FFB6C650CFFA32 /* MJRefreshGifHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshGifHeader.h; path = MJRefresh/Custom/Header/MJRefreshGifHeader.h; sourceTree = "<group>"; };
160 160 9BB5B175A94F20FE06A9F374C748A124 /* CNLiveRrfreshFooter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNLiveRrfreshFooter.h; path = CNLiveRefreshFooter/Classes/CNLiveRrfreshFooter.h; sourceTree = "<group>"; };
161 161 9BF3ED4117E8669D0A80A95FA78F1B70 /* MJRefreshStateHeader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MJRefreshStateHeader.h; path = MJRefresh/Custom/Header/MJRefreshStateHeader.h; sourceTree = "<group>"; };
... ... @@ -167,12 +167,12 @@
167 167 ADEE1689C34A89CE5141E193C219A3F3 /* Pods-CNLiveRefreshFooter_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CNLiveRefreshFooter_Tests.modulemap"; sourceTree = "<group>"; };
168 168 B572762D25AE884A6E6025CD584CA279 /* UIScrollView+MJExtension.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIScrollView+MJExtension.m"; path = "MJRefresh/UIScrollView+MJExtension.m"; sourceTree = "<group>"; };
169 169 B5E4970329CBDABC9DBDFF42855461A8 /* CNLiveRefreshFooter-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CNLiveRefreshFooter-umbrella.h"; sourceTree = "<group>"; };
170   - B8C029907D0E82BF97DED4BCA9EFEAB9 /* CNLiveRefreshFooter.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CNLiveRefreshFooter.framework; path = CNLiveRefreshFooter.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  170 + B8C029907D0E82BF97DED4BCA9EFEAB9 /* CNLiveRefreshFooter.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CNLiveRefreshFooter.framework; sourceTree = BUILT_PRODUCTS_DIR; };
171 171 BCBFB5C2A3FCF292E4C8F9355FD0F053 /* MJRefreshGifHeader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshGifHeader.m; path = MJRefresh/Custom/Header/MJRefreshGifHeader.m; sourceTree = "<group>"; };
172 172 BDA20AC7D28B8E3EF1EA29C2B56E295C /* Pods-CNLiveRefreshFooter_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CNLiveRefreshFooter_Example-acknowledgements.plist"; sourceTree = "<group>"; };
173 173 BDEDF3B5E8D58DFADD394F240912E8D2 /* Pods-CNLiveRefreshFooter_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CNLiveRefreshFooter_Tests-umbrella.h"; sourceTree = "<group>"; };
174 174 BE626E4C973C02C2D3AB57F29623342A /* Pods-CNLiveRefreshFooter_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveRefreshFooter_Example-resources.sh"; sourceTree = "<group>"; };
175   - C1BDD45F09B3CEC54F05952784F1D158 /* MJRefresh.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = MJRefresh.framework; path = MJRefresh.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  175 + C1BDD45F09B3CEC54F05952784F1D158 /* MJRefresh.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MJRefresh.framework; sourceTree = BUILT_PRODUCTS_DIR; };
176 176 C462EB7C5A1BFAAAA88A2A69302D6D0D /* MJRefreshAutoGifFooter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MJRefreshAutoGifFooter.m; path = MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.m; sourceTree = "<group>"; };
177 177 C59CA3B35611069886BD9B24209A66D8 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
178 178 C7CC4BFD7F50D0125AF48708AD97F146 /* CNLiveRefreshFooter.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CNLiveRefreshFooter.xcconfig; sourceTree = "<group>"; };
... ... @@ -198,8 +198,8 @@
198 198 F1604E7B9DB88EF0843279A3CF2928F5 /* NSBundle+MJRefresh.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSBundle+MJRefresh.h"; path = "MJRefresh/NSBundle+MJRefresh.h"; sourceTree = "<group>"; };
199 199 F1A111851B3054FEDC84D1FF7557D15A /* MJRefresh.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = MJRefresh.modulemap; sourceTree = "<group>"; };
200 200 F808BE157FB5655EAA46858FD6510C53 /* Pods-CNLiveRefreshFooter_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveRefreshFooter_Tests-dummy.m"; sourceTree = "<group>"; };
201   - F947CBD2DBFEBE5620C0E0A531BF7EA2 /* CNLiveRefreshFooter.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = CNLiveRefreshFooter.bundle; path = "CNLiveRefreshFooter-CNLiveRefreshFooter.bundle"; sourceTree = BUILT_PRODUCTS_DIR; };
202   - FABAFE7CE42B1D3FCE06EEDC25035895 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
  201 + F947CBD2DBFEBE5620C0E0A531BF7EA2 /* CNLiveRefreshFooter.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveRefreshFooter.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
  202 + FABAFE7CE42B1D3FCE06EEDC25035895 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
203 203 FE8465EE65E9B9BE51DF792BCB470830 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
204 204 /* End PBXFileReference section */
205 205  
... ... @@ -311,7 +311,6 @@
311 311 6A06433F80093BADBE67BFF332FBA5A5 /* Resources */,
312 312 2F7A31F2CC7696BDCA31131421062736 /* Support Files */,
313 313 );
314   - name = MJRefresh;
315 314 path = MJRefresh;
316 315 sourceTree = "<group>";
317 316 };
... ... @@ -511,8 +510,8 @@
511 510 isa = PBXHeadersBuildPhase;
512 511 buildActionMask = 2147483647;
513 512 files = (
514   - 7774DC14194F2E07AFC1C630FB89FB6F /* CNLiveRefreshFooter-umbrella.h in Headers */,
515 513 AF08E4E5075CAD66BEC7153916B2CA09 /* CNLiveRrfreshFooter.h in Headers */,
  514 + 7774DC14194F2E07AFC1C630FB89FB6F /* CNLiveRefreshFooter-umbrella.h in Headers */,
516 515 );
517 516 runOnlyForDeploymentPostprocessing = 0;
518 517 };
... ... @@ -829,6 +828,7 @@
829 828 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
830 829 IPHONEOS_DEPLOYMENT_TARGET = 9.0;
831 830 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  831 + MACH_O_TYPE = staticlib;
832 832 MODULEMAP_FILE = "Target Support Files/CNLiveRefreshFooter/CNLiveRefreshFooter.modulemap";
833 833 PRODUCT_MODULE_NAME = CNLiveRefreshFooter;
834 834 PRODUCT_NAME = CNLiveRefreshFooter;
... ... @@ -938,6 +938,7 @@
938 938 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
939 939 IPHONEOS_DEPLOYMENT_TARGET = 9.0;
940 940 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  941 + MACH_O_TYPE = staticlib;
941 942 MODULEMAP_FILE = "Target Support Files/CNLiveRefreshFooter/CNLiveRefreshFooter.modulemap";
942 943 PRODUCT_MODULE_NAME = CNLiveRefreshFooter;
943 944 PRODUCT_NAME = CNLiveRefreshFooter;
... ... @@ -1006,8 +1007,7 @@
1006 1007 MTL_FAST_MATH = YES;
1007 1008 PRODUCT_NAME = "$(TARGET_NAME)";
1008 1009 STRIP_INSTALLED_PRODUCT = NO;
1009   - SWIFT_COMPILATION_MODE = wholemodule;
1010   - SWIFT_OPTIMIZATION_LEVEL = "-O";
  1010 + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1011 1011 SWIFT_VERSION = 4.2;
1012 1012 SYMROOT = "${SRCROOT}/../build";
1013 1013 };
... ...
Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Workspace
  3 + version = "1.0">
  4 + <FileRef
  5 + location = "self:">
  6 + </FileRef>
  7 +</Workspace>
... ...
Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>IDEDidComputeMac32BitWarning</key>
  6 + <true/>
  7 +</dict>
  8 +</plist>
... ...