Skip to content

Commit

Permalink
发布1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 committed Oct 29, 2019
1 parent a01df47 commit 57f5ccf
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Framework/LEEAlert/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.2.6</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 2 additions & 0 deletions Framework/LEEAlert/LEEAlert.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
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.3.1"
s.version = "1.3.2"
s.summary = "优雅的Alert ActionSheet"

s.homepage = "https://github.com/lixiang1994/LEEAlert"
Expand Down
5 changes: 4 additions & 1 deletion LEEAlert/LEEAlert.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @author LEE
* @copyright Copyright © 2016 - 2019年 lee. All rights reserved.
* @version V1.3.1
* @version V1.3.2
*/

#import <Foundation/Foundation.h>
Expand Down Expand Up @@ -79,6 +79,9 @@ NS_ASSUME_NONNULL_BEGIN
/** 清空队列 */
+ (void)clearQueue;

/** 队列是否为空 */
+ (BOOL)isQueueEmpty;

/// 查询队列中是否包含某一标识
/// @param identifier 标识
+ (BOOL)containsQueueWithIdentifier:(NSString *)identifier;
Expand Down
7 changes: 6 additions & 1 deletion LEEAlert/LEEAlert.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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) {
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 - 2019年 lee. All rights reserved.
* @version V1.3.1
* @version V1.3.2
*/

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

# LEEAlert - 更新日志

V1.3.2
==============
```
/** 队列是否为空 */
+ (BOOL)isQueueEmpty;
```

V1.3.1
==============
```
Expand Down

0 comments on commit 57f5ccf

Please sign in to comment.