Commits

Mike Abdullah  committed 9db0f55

NSViewController additions are defined by BWViewController

  • Participants
  • Parent commits 2daa0e1

Comments (0)

Files changed (4)

File BWTabViewController.h

 
 @end
 
-
-#pragma mark -
-
-
-@interface NSViewController (KSTabViewController)
-
-// This implementation returns nil since there's no good way to provide a setter method on 10.5. But subclasses are welcome to re-implement
-@property(nonatomic, readonly) NSString *identifier;
-
-//  Default implementations of these do nothing. But you should really call super if you override for forwards compatibility
-- (void)viewWillAppear:(BOOL)animated;
-- (void)viewDidAppear:(BOOL)animated;
-- (void)viewWillDisappear:(BOOL)animated;
-- (void)viewDidDisappear:(BOOL)animated;
-
-@end
-

File BWTabViewController.m

 
 @end
 
-
-#pragma mark -
-
-
-@implementation NSViewController (KSTabViewController)
-
-- (NSString *)identifier { return nil; }
-
-- (void)viewWillAppear:(BOOL)animated; { }
-- (void)viewDidAppear:(BOOL)animated; { }
-- (void)viewWillDisappear:(BOOL)animated; { }
-- (void)viewDidDisappear:(BOOL)animated; { }
-
-@end
-

File BWViewController.h

 }
 
 @end
+
+
+#pragma mark -
+
+
+@interface NSViewController (BWViewController)
+
+// This implementation returns nil since there's no good way to provide a setter method on 10.5. But subclasses are welcome to re-implement
+@property(nonatomic, readonly) NSString *identifier;
+
+//  Default implementations of these do nothing. But you should really call super if you override for forwards compatibility
+- (void)viewWillAppear:(BOOL)animated;
+- (void)viewDidAppear:(BOOL)animated;
+- (void)viewWillDisappear:(BOOL)animated;
+- (void)viewDidDisappear:(BOOL)animated;
+
+@end

File BWViewController.m

 @implementation BWViewController
 
 @end
+
+
+#pragma mark -
+
+
+@implementation NSViewController (BWViewController)
+
+- (NSString *)identifier { return nil; }
+
+- (void)viewWillAppear:(BOOL)animated; { }
+- (void)viewDidAppear:(BOOL)animated; { }
+- (void)viewWillDisappear:(BOOL)animated; { }
+- (void)viewDidDisappear:(BOOL)animated; { }
+
+@end