Revision: 12332
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 11, 2009 03:05 by erik
Initial Code
#if TARGET_IPHONE_SIMULATOR // Device will hit external server over cell network NSString const *ROOT_URL = @"http://www.external-site.com"; #else // Simulator will hit local server over LAN NSString const *ROOT_URL = @"http://localhost:8667"; #endif
Initial URL
http://www.pathf.com/blogs/2008/12/iphone-sim-device-preprocessor/
Initial Description
Initial Title
iPhone: Using Pre-processor Directives for Device Testing
Initial Tags
iphone
Initial Language
Objective C