diff --git a/Framework/LEEAlert/Info.plist b/Framework/LEEAlert/Info.plist
index 2cab1db..ec0cc7b 100644
--- a/Framework/LEEAlert/Info.plist
+++ b/Framework/LEEAlert/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.2.6
+ $(MARKETING_VERSION)
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass
diff --git a/Framework/LEEAlert/LEEAlert.xcodeproj/project.pbxproj b/Framework/LEEAlert/LEEAlert.xcodeproj/project.pbxproj
index d4e5c24..4c03e91 100644
--- a/Framework/LEEAlert/LEEAlert.xcodeproj/project.pbxproj
+++ b/Framework/LEEAlert/LEEAlert.xcodeproj/project.pbxproj
@@ -297,6 +297,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
+ MARKETING_VERSION = 1.3.2;
PRODUCT_BUNDLE_IDENTIFIER = com.lee.LEEAlert;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -324,6 +325,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
+ MARKETING_VERSION = 1.3.2;
PRODUCT_BUNDLE_IDENTIFIER = com.lee.LEEAlert;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
diff --git a/LEEAlert.podspec b/LEEAlert.podspec
index c00b52c..5a387f5 100644
--- a/LEEAlert.podspec
+++ b/LEEAlert.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "LEEAlert"
-s.version = "1.3.1"
+s.version = "1.3.2"
s.summary = "优雅的Alert ActionSheet"
s.homepage = "https://github.com/lixiang1994/LEEAlert"
diff --git a/LEEAlert/LEEAlert.h b/LEEAlert/LEEAlert.h
index 703b100..284e734 100644
--- a/LEEAlert/LEEAlert.h
+++ b/LEEAlert/LEEAlert.h
@@ -13,7 +13,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2019年 lee. All rights reserved.
- * @version V1.3.1
+ * @version V1.3.2
*/
#import
@@ -79,6 +79,9 @@ NS_ASSUME_NONNULL_BEGIN
/** 清空队列 */
+ (void)clearQueue;
+/** 队列是否为空 */
++ (BOOL)isQueueEmpty;
+
/// 查询队列中是否包含某一标识
/// @param identifier 标识
+ (BOOL)containsQueueWithIdentifier:(NSString *)identifier;
diff --git a/LEEAlert/LEEAlert.m b/LEEAlert/LEEAlert.m
index 84fa166..5c537eb 100644
--- a/LEEAlert/LEEAlert.m
+++ b/LEEAlert/LEEAlert.m
@@ -13,7 +13,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2019年 lee. All rights reserved.
- * @version V1.3.1
+ * @version V1.3.2
*/
#import "LEEAlert.h"
@@ -1017,6 +1017,11 @@ + (void)clearQueue{
[[LEEAlert shareManager].queueArray removeAllObjects];
}
++ (BOOL)isQueueEmpty{
+
+ return [LEEAlert shareManager].queueArray.count == 0;
+}
+
+ (BOOL)containsQueueWithIdentifier:(NSString *)identifier {
for (LEEBaseConfig *config in [LEEAlert shareManager].queueArray) {
diff --git a/LEEAlert/LEEAlertHelper.h b/LEEAlert/LEEAlertHelper.h
index 04df997..78b49cd 100644
--- a/LEEAlert/LEEAlertHelper.h
+++ b/LEEAlert/LEEAlertHelper.h
@@ -13,7 +13,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2019年 lee. All rights reserved.
- * @version V1.3.1
+ * @version V1.3.2
*/
#ifndef LEEAlertHelper_h
diff --git a/UPDATELOG.md b/UPDATELOG.md
index ed2802f..2794281 100644
--- a/UPDATELOG.md
+++ b/UPDATELOG.md
@@ -1,6 +1,13 @@
# LEEAlert - 更新日志
+V1.3.2
+==============
+```
+/** 队列是否为空 */
++ (BOOL)isQueueEmpty;
+```
+
V1.3.1
==============
```