From 92ad0782c94d7661c8c082f619ffbb429f65e8cf Mon Sep 17 00:00:00 2001 From: Min Kim Date: Mon, 11 Apr 2011 14:39:56 -0400 Subject: [PATCH] removing more references to split view controller --- src/Three20UI/Headers/Three20UI.h | 1 - .../Sources/TTBaseNavigator.m | 25 +------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/Three20UI/Headers/Three20UI.h b/src/Three20UI/Headers/Three20UI.h index 161d57c45c..2a729f56b6 100644 --- a/src/Three20UI/Headers/Three20UI.h +++ b/src/Three20UI/Headers/Three20UI.h @@ -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" diff --git a/src/Three20UINavigator/Sources/TTBaseNavigator.m b/src/Three20UINavigator/Sources/TTBaseNavigator.m index 7303bd2bf6..afef231893 100644 --- a/src/Three20UINavigator/Sources/TTBaseNavigator.m +++ b/src/Three20UINavigator/Sources/TTBaseNavigator.m @@ -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); @@ -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]; - // } }