Question : iPhone 4 xcode "Line Drawing app"

Hi

What would the working viewcontroller  /x code objective C, be for an app that draws lines :

Mouse,  tap 1 - registers starting point.
Mouse, tap 2 - registers end point and draws a line between the points.

Thanks

Answer : iPhone 4 xcode "Line Drawing app"

Here you will find the tutorial "Drawing to the screen":
http://www.ipodtouchfans.com/forums/showthread.php?t=132024

You create iPhone Window-based project:
In Xcode, in the File menu you select "New Project...". On the left panel you choose "Application" under "iPhone OS". On the right panel you choose "Window-based application". It is shown on the attached screenshot. Press "Choose" button. Set a project name and press "Save".
Now you build your project and check that it works - you need to build it for the simulator. If it runs, you can switch to the tutorial mentioned above.

Random Solutions  
 
programming4us programming4us