summaryrefslogtreecommitdiff
path: root/CyteKit/ViewController.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-15 02:05:04 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-15 02:05:04 -0800
commitf8c9fd4c9a853ca14ac1d1fb123e2e6200879bb4 (patch)
tree2d38ef9bd91a6492206b330c38ec87b7b453cc7b /CyteKit/ViewController.mm
parent8eedf7e7e7afb78df8388ab7692118e6b9f3b466 (diff)
Move private ivars in CyteKit to @implementations.
Diffstat (limited to 'CyteKit/ViewController.mm')
-rw-r--r--CyteKit/ViewController.mm11
1 files changed, 10 insertions, 1 deletions
diff --git a/CyteKit/ViewController.mm b/CyteKit/ViewController.mm
index 3bf9c41..52c925d 100644
--- a/CyteKit/ViewController.mm
+++ b/CyteKit/ViewController.mm
@@ -27,6 +27,7 @@
#include "CyteKit/ViewController.h"
#include "iPhonePrivate.h"
+#include <Menes/ObjectHandle.h>
@implementation UIViewController (Cydia)
@@ -53,7 +54,11 @@
@end
-@implementation CyteViewController
+@implementation CyteViewController {
+ _transient id delegate_;
+ BOOL loaded_;
+ _H<UIColor> color_;
+}
- (void) setDelegate:(id)delegate {
delegate_ = delegate;
@@ -114,6 +119,10 @@
color_ = color;
}
+- (UIColor *) pageColor {
+ return color_;
+}
+
#include "InterfaceOrientation.h"
@end