How to Write Your First iPhone Program
Short Description
The Apple iPhone is becoming a full-fledged development platform. It’s reliance on desktopclass operating system software is allowing it to become the most powerful mobile platform available. Here is how you can get in on the action, even if you have never written a line of code before! First, you need an Apple computer with an Intel processor and Mac OS X Leopard. I’m sure that Apple would be happy to help you with this step. We’re going to jump right into making a program, but first we need to define a few terms.
Website: deimos3.apple.com | Filesize: 414kb
No of Page(s): 3
Content
Programming is done in a suite of programs called an Integrated Development Environment, or IDE for short. IDEs are made by hardware and software companies like Microsoft and Apple to allow programmers to make programs to run on their platforms. IDEs have a main program in them that tie of the other programs together. That is why they are called Integrated Development Environments. The three most import programs in the IDE for us are the editor, the compiler, and the simulator.
An editor is any program that allows you to write text and save that text in a simple format called plain text. Simple examples are Microsoft’s Notepad, or Apple’s TextEdit. Word processors like Microsoft Word or Apple Pages can be used as editors, but usually more specialized programs are that are written just for an IDE are used.
A compiler is a program that takes the code in the text files you produce in the editor, and translates it into code that the computer can run. You use the main IDE program to tell the compiler where the files are, and it does the rest. Apple compilers produce a set of files called a bundle. The bundle looks like one file to the user, but actually is a folder with files inside.
A simulator is a program that pretends to be a physical hardware device, like the iPhone. It takes the files produced by the compiler and runs them just like the device would. Sometimes simulators are called emulators, because they try to emulate the physical device.
Now that we know what an IDE is, lets go get one! Apple’s IDE is called Xcode, and is available for free on Apple’s software development website to anyone who registers as a developer. Apple has repackaged Xcode with iPhone development resources and called it the iPhone SDK.
…
Get the file Download here
Related Products
iPhone SDK Application Development: Building Applications for the AppStore
iPhone Game Development: Developing 2D & 3D games in Objective-C (Animal Guide)
Sams Teach Yourself iPhone Application Development in 24 Hours
iPhone SDK Programming, A Beginner’s Guide
Head First iPhone Development: A Learner’s Guide to Creating Objective-C Applications for the iPhone
The Essential Guide to iPhone Application Development for Flash Users
Programming the iPhone User Experience
Related Searches:
Comments
Leave a Reply