Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
Small changes
  • Loading branch information
Diogo Autilio committed Dec 2, 2014
1 parent 549025b commit f5bf02e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions SCLAlertView/SCLAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ - (void)buttonTapped:(SCLButton *)btn

-(SCLAlertViewResponder *)showTitle:(UIViewController *)vc image:(UIImage *)image color:(UIColor *)color title:(NSString *)title subTitle:(NSString *)subTitle duration:(NSTimeInterval)duration completeText:(NSString *)completeText style:(SCLAlertViewStyle)style
{
UIViewController *rootViewController = vc;
UIWindow *window = [[UIApplication sharedApplication] keyWindow];

self.view.alpha = 0;

Expand All @@ -463,9 +463,9 @@ -(SCLAlertViewResponder *)showTitle:(UIViewController *)vc image:(UIImage *)imag
_backgroundView.frame = vc.view.bounds;

// Add subviews
[rootViewController addChildViewController:self];
[rootViewController.view addSubview:_backgroundView];
[rootViewController.view addSubview:self.view];
[window addSubview:_backgroundView];
[window addSubview:self.view];
[vc addChildViewController:self];

// Alert color/icon
UIColor *viewColor;
Expand Down
4 changes: 2 additions & 2 deletions SCLAlertView/SCLButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ typedef NS_ENUM(NSInteger, SCLActionType)
Block
};

/** TODO
/** Set button action type.
*
* TODO
* Holds the button action type.
*/
@property SCLActionType actionType;

Expand Down

0 comments on commit f5bf02e

Please sign in to comment.