README.iOS
changeset 8304 a4bf0413d7c0
parent 6342 ac83b73f0edd
child 8311 40f2e97c4051
     1.1 --- a/README.iOS	Fri Jul 20 12:57:25 2012 -0700
     1.2 +++ b/README.iOS	Fri Jul 06 17:44:08 2012 -0400
     1.3 @@ -51,8 +51,9 @@
     1.4  1.  Create a new iPhone view based application.
     1.5  2.  Build the SDL static libraries (libSDL.a and libSDLSimulator.a) for iPhone and include them in your project.  XCode will ignore the library that is not currently of the correct architecture, hence your app will work both on iPhone and in the iPhone Simulator.
     1.6  3.  Include the SDL header files in your project.
     1.7 -4.  Remove the ApplicationDelegate.h and ApplicationDelegate.m files -- SDL for iPhone provides its own UIApplicationDelegate.  Remove MainWindow.xib -- SDL for iPhone produces its user interface programmatically.
     1.8 -5.  Delete the contents of main.m and program your app as a regular SDL program instead.  You may replace main.m with your own main.c, but you must tell XCode not to use the project prefix file, as it includes Objective-C code.
     1.9 +4.  Remove the AppDelegate.h and AppDelegate.m files -- SDL for iPhone provides its own UIApplicationDelegate.  Remove ViewController.h, ViewController.m, and ViewController.xib -- SDL for iPhone produces its user interface programmatically.
    1.10 +5.  Make sure your project links to the following, iOS-provided frameworks: OpenGLES.framework, AudioToolbox.framework, and QuartzCore.framework
    1.11 +6.  Delete the contents of main.m and program your app as a regular SDL program instead.  You may replace main.m with your own main.c, but you must tell XCode not to use the project prefix file, as it includes Objective-C code.
    1.12  
    1.13  ==============================================================================
    1.14  Notes -- Accelerometer as Joystick