Skip to content

Commit

Permalink
removing more references to split view controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Min Kim committed Apr 11, 2011
1 parent a17609b commit 92ad078
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
1 change: 0 additions & 1 deletion src/Three20UI/Headers/Three20UI.h
Expand Up @@ -17,7 +17,6 @@
// UI Controllers
#import "Three20UI/TTNavigator.h"
#import "Three20UI/TTViewController.h"
#import "Three20UI/TTSplitViewController.h"
#import "Three20UI/TTNavigationController.h"
#import "Three20UI/TTExtensionsController.h"
#import "Three20UI/TTWebController.h"
Expand Down
25 changes: 1 addition & 24 deletions src/Three20UINavigator/Sources/TTBaseNavigator.m
Expand Up @@ -101,7 +101,7 @@ - (void)dealloc {
_delegate = nil;
TT_RELEASE_SAFELY(_window);
TT_RELEASE_SAFELY(_rootViewController);
TT_RELEASE_SAFELY(_popoverController);
// TT_RELEASE_SAFELY(_popoverController);
TT_RELEASE_SAFELY(_delayedControllers);
TT_RELEASE_SAFELY(_URLMap);
TT_RELEASE_SAFELY(_persistenceKey);
Expand Down Expand Up @@ -331,29 +331,6 @@ - (void)presentPopoverController: (UIViewController*)controller
sourceRect: (CGRect)sourceRect
animated: (BOOL)animated {
TTDASSERT(nil != sourceButton || nil != sourceView);
//
// if (nil == sourceButton && nil == sourceView) {
// return;
// }
//
// if (nil != _popoverController) {
// [_popoverController dismissPopoverAnimated:animated];
// TT_RELEASE_SAFELY(_popoverController);
// }
//
// _popoverController = [[UIPopoverController alloc] initWithContentViewController:controller];
// _popoverController.delegate = self;
// if (nil != sourceButton) {
// [_popoverController presentPopoverFromBarButtonItem: sourceButton
// permittedArrowDirections: UIPopoverArrowDirectionAny
// animated: animated];
//
// } else {
// [_popoverController presentPopoverFromRect: sourceRect
// inView: sourceView
// permittedArrowDirections: UIPopoverArrowDirectionAny
// animated: animated];
// }
}


Expand Down

0 comments on commit 92ad078

Please sign in to comment.