File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = 'MJRefresh'
3- s . version = '3.7.0 '
3+ s . version = '3.7.1 '
44 s . summary = 'An easy way to use pull-to-refresh'
55 s . homepage = 'https://github.com/CoderMJLee/MJRefresh'
66 s . license = 'MIT'
Original file line number Diff line number Diff line change @@ -18,12 +18,11 @@ + (instancetype)mj_refreshBundle
1818{
1919 static NSBundle *refreshBundle = nil ;
2020 if (refreshBundle == nil ) {
21- #ifdef MJ_USEING_SPM
21+ #ifdef MJ_SPM
2222 NSBundle *containnerBundle = SWIFTPM_MODULE_BUNDLE;
2323#else
2424 NSBundle *containnerBundle = [NSBundle bundleForClass: [MJRefreshComponent class ]];
2525#endif
26- // 这里不使用mainBundle是为了适配pod 1.x和0.x
2726 refreshBundle = [NSBundle bundleWithPath: [containnerBundle pathForResource: @" MJRefresh" ofType: @" bundle" ]];
2827 }
2928 return refreshBundle;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ override func i18nDidChange() {
9696
9797### <a id =" spm_supported " ></a >SPM Supported
9898
99- Released from [ ` 3.7.0 ` ] ( https://github.com/CoderMJLee/MJRefresh/releases/tag/3.7.0 )
99+ Released from [ ` 3.7.1 ` ] ( https://github.com/CoderMJLee/MJRefresh/releases/tag/3.7.1 )
100100
101101### <a id =" swift_chaining_grammar_supported " ></a >Swift Chaining Grammar Supported
102102
You can’t perform that action at this time.
0 commit comments