iOS: Move implementation details of QIOSViewController to class extension

Change-Id: I602d8f1c9f20d3bfed4db3405460021146b546d8
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
This commit is contained in:
Tor Arne Vestbø 2015-01-07 13:44:34 +01:00 committed by Tor Arne Vestbø
parent e6699afbee
commit d62cd6508a
2 changed files with 11 additions and 7 deletions

View File

@ -35,15 +35,13 @@
class QIOSScreen;
@interface QIOSViewController : UIViewController {
QIOSScreen *m_screen;
}
@property (nonatomic, assign) BOOL changingOrientation;
@property (nonatomic, assign) BOOL prefersStatusBarHidden;
@property (nonatomic, assign) UIStatusBarAnimation preferredStatusBarUpdateAnimation;
@interface QIOSViewController : UIViewController
- (id)initWithQIOSScreen:(QIOSScreen *)screen;
- (void)updateProperties;
@property (nonatomic, assign) BOOL prefersStatusBarHidden;
@property (nonatomic, assign) UIStatusBarAnimation preferredStatusBarUpdateAnimation;
@end

View File

@ -119,6 +119,12 @@
// -------------------------------------------------------------------------
@interface QIOSViewController () {
QIOSScreen *m_screen;
}
@property (nonatomic, assign) BOOL changingOrientation;
@end
@implementation QIOSViewController
- (id)initWithQIOSScreen:(QIOSScreen *)screen