Skip to content

Commit 569dbfa

Browse files
Simplify demo
1 parent d3125d9 commit 569dbfa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

SCLAlertViewExample/ViewController.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ - (IBAction)showNotice:(id)sender
111111
SCLAlertView *alert = [[SCLAlertView alloc] init];
112112

113113
alert.backgroundType = SCLAlertViewBackgroundBlur;
114-
alert.showAnimationType = SCLAlertViewShowAnimationFadeIn;
115114
[alert showNotice:self title:kNoticeTitle subTitle:@"You've just displayed this awesome Pop Up View with blur effect" closeButtonTitle:kButtonTitle duration:0.0f];
116115
}
117116

@@ -127,7 +126,6 @@ - (IBAction)showInfo:(id)sender
127126
SCLAlertView *alert = [[SCLAlertView alloc] init];
128127

129128
alert.shouldDismissOnTapOutside = YES;
130-
alert.showAnimationType = SCLAlertViewShowAnimationSimplyAppear;
131129
[alert alertIsDismissed:^{
132130
NSLog(@"SCLAlertView dismissed!");
133131
}];
@@ -140,7 +138,6 @@ - (IBAction)showEdit:(id)sender
140138
SCLAlertView *alert = [[SCLAlertView alloc] init];
141139

142140
SCLTextView *textField = [alert addTextField:@"Enter your name"];
143-
alert.hideAnimationType = SCLAlertViewHideAnimationSimplyDisappear;
144141
[alert addButton:@"Show Name" actionBlock:^(void) {
145142
NSLog(@"Text value: %@", textField.text);
146143
}];

0 commit comments

Comments
 (0)