Categories: Guest Posts

iPhone Programming 101, part Deux

A guest post by Mike Smithwick, author of Distant Suns 2 for the iPhone/iPad and blogger at distantsuns.com. Mike is a seasoned iPhone/iPad developer who has developed numerous iPhone applications. He has recently released Distant Suns for iPad. Follow Mike’s work on Twitter for more information.

Credit: Distant Suns

Sorry for the long delay since the previous column. Something called an iPad I think, came out last week and I was in a rush to have something in the store on day 1. This column is to either help software neophytes get going on their own great app ideas, or to at least illustrate the process for the curious.

We left off the previous story with our hero puzzled over something called Objective-Cand Xcode with very little knowledge of what to do. As with any craft, developers have a set of tools. With iPhone and now iPad programming the main tool is something called Xcode.

By comparison, Microsofties use Visual Studio while Android types opt for an open-source system called Eclipse. While Xcode and Eclipse are free, Visual Studio can cost upwards of $1000 depending what options you need.

So, what does Xcode do? It will simply let you input, organize, “compile” and test your program from beginning to end. Software input is via a fancy-pants text-editor. In just the same way that Microsoft Word has all sorts of little tools and utilities to compose a book, Xcode’s editor has equivalent tools for typing in a program. It has things that keep track of the specialized syntax needed for the code to minimize errors, color coding parts of the text to make it more clear, or linking parts with the documentation.

After typing in your code, then comes the moment of truth, compiling. Compiling is taking the human readable (well, for some humans at least) text and converting it, or rather, compiling it down to the binary codes the iPhone’s chip can understand. If you made an error, the compiler will typically flag it for you, in which case you fix it and compile again. (and again and again) Read the rest of this article…

*Our articles may contain aff links. As an Amazon Associate we earn from qualifying purchases. Please read our disclaimer on how we fund this site.

Share

Recent Posts

Sunny App Connected Motorized Elliptical Trainer

There are plenty of under desk elliptical machines that can give you a light workout…

5 hours ago

VesperGuard Pro 13500mAh Power Bank Mosquito Repeller

Most of us don't enjoy these cold temperatures but when the weather gets warmer, you…

8 hours ago

Grok 3 Revealed, #1 Across the Board on LMArena

Grok 3 was finally announced last night. Many had talked about how it was going…

12 hours ago

Elecq Home H1 Type 2 Wallbox App Smart EV Charger

Plenty of people are exploring the idea of getting an electric vehicle, if they haven't…

1 day ago

Sportneer Smart Bike Trainer with Bluetooth & ANT+

Riding your bike on a daily basis is a great way to stay in shape.…

1 day ago

Flash Pro Ultra: 275W Power Bank with OLED Screen, MagSafe

This is the Flash Pro Ultra: a 275W Power Bank that charges up to 6…

1 day ago