Skip to content

Commit

Permalink
Update declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisXu committed Nov 6, 2014
1 parent 714dfd4 commit f14a08a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions CXAlertView/CXAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,20 @@
static CXAlertView *__cx_alert_current_view;
static BOOL __cx_statsu_prefersStatusBarHidden;

@interface CXAlertBackgroundWindow : UIWindow
@interface CXTempViewController : UIViewController

@end

@interface CXTempViewController : UIViewController
@implementation CXTempViewController

- (BOOL)prefersStatusBarHidden
{
return __cx_statsu_prefersStatusBarHidden;
}

@end

@interface CXAlertBackgroundWindow ()
@interface CXAlertBackgroundWindow : UIWindow

@end

Expand Down Expand Up @@ -82,15 +87,6 @@ - (void)drawRect:(CGRect)rect

@end

@implementation CXTempViewController

- (BOOL)prefersStatusBarHidden
{
return __cx_statsu_prefersStatusBarHidden;
}

@end

@interface CXAlertView ()
{
BOOL _updateAnimated;
Expand Down

0 comments on commit f14a08a

Please sign in to comment.