Skip to content

Commit

Permalink
1.4.3 补充block非空判断
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 committed Nov 16, 2020
1 parent 6515cb6 commit 6541e52
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Framework/LEEAlert/LEEAlert.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.4.2;
MARKETING_VERSION = 1.4.3;
PRODUCT_BUNDLE_IDENTIFIER = com.lee.alert;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -325,7 +325,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.4.2;
MARKETING_VERSION = 1.4.3;
PRODUCT_BUNDLE_IDENTIFIER = com.lee.alert;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
2 changes: 1 addition & 1 deletion LEEAlert.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "LEEAlert"
s.version = "1.4.2"
s.version = "1.4.3"
s.summary = "优雅的Alert ActionSheet"

s.homepage = "https://github.com/lixiang1994/LEEAlert"
Expand Down
2 changes: 1 addition & 1 deletion LEEAlert/LEEAlert.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
* @version V1.4.2
* @version V1.4.3
*/

#import <Foundation/Foundation.h>
Expand Down
8 changes: 4 additions & 4 deletions LEEAlert/LEEAlert.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
* @version V1.4.2
* @version V1.4.3
*/

#import "LEEAlert.h"
Expand Down Expand Up @@ -1075,12 +1075,12 @@ + (void)closeWithIdentifier:(NSString *)identifier force:(BOOL)force completionB

} else {

completionBlock();
if (completionBlock) completionBlock();
}

} else {

completionBlock();
if (completionBlock) completionBlock();
}
}

Expand All @@ -1094,7 +1094,7 @@ + (void)closeWithCompletionBlock:(void (^)(void))completionBlock{

} else {

completionBlock();
if (completionBlock) completionBlock();
}
}

Expand Down
2 changes: 1 addition & 1 deletion LEEAlert/LEEAlertHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
* @version V1.4.2
* @version V1.4.3
*/

#ifndef LEEAlertHelper_h
Expand Down
4 changes: 4 additions & 0 deletions UPDATELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# LEEAlert - 更新日志

V1.4.3
==============
补充block非空判断

V1.4.2
==============
优化关闭方法回调 现在队列中无论是否存在正在显示的 回调Block都会被调用.
Expand Down

0 comments on commit 6541e52

Please sign in to comment.