Skip to content

Commit 16deb20

Browse files
12207480tanyang
authored andcommitted
add custom property
1 parent 0f118e1 commit 16deb20

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

TYAlertControllerDemo.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@
146146
D35854A31B953F3D00B5FA1F /* TYAlertController */ = {
147147
isa = PBXGroup;
148148
children = (
149-
D386E9701B9C15E800321875 /* AlertAimations */,
150149
D386E9711B9C162400321875 /* AlertViews */,
150+
D386E9701B9C15E800321875 /* AlertAimations */,
151151
D35854A41B953FC300B5FA1F /* TYAlertController.h */,
152152
D35854A51B953FC300B5FA1F /* TYAlertController.m */,
153153
D35854B71B95BC9700B5FA1F /* TYAlertController+TransitionAnimate.m */,

TYAlertControllerDemo/ViewController.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ - (void)viewDidLoad {
2525

2626
- (IBAction)showAlertView:(id)sender {
2727

28-
UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 300, 120)];
29-
view.backgroundColor = [UIColor blueColor];
3028
TYAlertView *alertView = [TYAlertView alertViewWithTitle:@"TYAlertView" message:@"A message should be a short, complete sentence."];
3129

3230
__typeof (self) __weak weakSelf = self;
@@ -56,8 +54,6 @@ - (IBAction)showAlertView:(id)sender {
5654
}
5755
- (IBAction)showActionSheet:(id)sender {
5856

59-
UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 300, 120)];
60-
view.backgroundColor = [UIColor blueColor];
6157
TYAlertView *alertView = [TYAlertView alertViewWithTitle:@"TYAlertView" message:@"A message should be a short, complete sentence."];
6258

6359
[alertView addAction:[TYAlertAction actionWithTitle:@"确定" style:TYAlertActionStyleDestructive handler:^(TYAlertAction *action) {

0 commit comments

Comments
 (0)