Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (28 sloc) 1.074 kB
//
// main.m
// Chase.Mobi
//
// Created by phodgson on 5/24/10.
// Copyright 2010 ThoughtWorks. See NOTICE file for details.
//
#include "FrankServer.h"
static FrankServer *sFrankServer;
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
sFrankServer = [[FrankServer alloc] initWithStaticFrankBundleNamed:@"frank_static_resources"];
NSLog( @"Starting up Frank server on port %i", FRANK_SERVER_PORT );
[sFrankServer startServer];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
/* UNCOMMENT THIS SECTION IF YOU'RE USING MapKit AND YOU ARE SEEING CRASHES IN iOS4
// Work around the issue in iOS 4 where exceptions thrown within a NSInvocation are not catchable.
// This was causing crashes in UIQuery::describeView when trying to dump the DOM w. Symbiote
// see http://groups.google.com/group/uispec/browse_thread/thread/1879741ebae978d/a90001a8956290af
@implementation NSObject (MapKitUISpecHack)
- (id)_mapkit_hasPanoramaID {
return nil;
}
@end
*/
Jump to Line
Something went wrong with that request. Please try again.