Skip to content

Commit

Permalink
0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
foxsofter committed Oct 23, 2016
1 parent 9c15665 commit 6c0ae55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Classes/Controls/LPDAlertView/LPDAlertView.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ typedef NS_ENUM(NSUInteger, LPDAlertActionType) {

+ (void)hideAll;

+ (void)hideWith:(NSString *)caption;

+ (void)hideWith:(NSString *)caption animated:(BOOL)animated;

+ (BOOL)existWith:(NSString *)caption;
Expand Down
4 changes: 4 additions & 0 deletions Classes/Controls/LPDAlertView/LPDAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ + (void)hideAll {
}
}

+ (void)hideWith:(NSString *)caption {
[self hideWith:caption animated:YES];
}

+ (void)hideWith:(NSString *)caption animated:(BOOL)animated {
for (NSInteger i = self.alertViews.count - 1; i >= 0; i--) {
LPDAlertView *alertView = self.alertViews[i];
Expand Down
2 changes: 1 addition & 1 deletion LPDMvvmKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "LPDMvvmKit"
s.version = "0.4.9"
s.version = "0.5.1"
s.summary = "mvvm"

s.description = <<-DESC
Expand Down

0 comments on commit 6c0ae55

Please sign in to comment.