0

Now I am using Three20 in my apps. I have a problem, when I run the application with MainWindow.xib, the TTTableview class isn't called. But without MainWindow.xib it would call the TTTableview class. I don't know why it's happening. Please help me out.

Thanks.

gotnull
  • 26,454
  • 22
  • 137
  • 203
CNSivakumar
  • 1,043
  • 2
  • 10
  • 13

1 Answers1

0

In your AppDelegate code

delete the mainWindow.xib

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary 

    *)launchOptions {  

        if (![navigator restoreViewControllers]) {
                [navigator openURLAction:[TTURLAction actionWithURLPath:kAppRootURLPath]];
            }

    }

In main.m

#import <UIKit/UIKit.h>

int main(int argc, char *argv[]) {

    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    int retVal = UIApplicationMain(argc, argv, nil, @"YOURAppDelegate");
    [pool release];
    return retVal;
}
Rahul Chavan
  • 480
  • 3
  • 6