Categories: Guest Posts

iPhone Programming 101, part Deux

Check out these uniquely awesome ✔️ iPhone gadgets & gizmos

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

5 Must See App Controlled Motorized Dollies for Filmmakers

Dollies are wonderful tools to use to add cinematic curved shots to your videos. There…

22 hours ago

BLEShark Nano Bad-BT Wireless Testing Tool for Hackers

Meet the BLEShark Nano: a wireless multi-tool for hackers that lets you flood Bluetooth devices…

2 days ago

Lian Li DK-07X Motorized Standing Desk PC Case with Wireless Phone Charger

Standing desks are useful for those of you who want to get more active at…

2 days ago

HeyGen AI Avatar Video Generator for iOS Is Finally Here

There are already plenty of AI tools that can make you an AI avatar for…

2 days ago

MekeHub E8: Photography Hub for iPhone

The latest iPhones are great for capturing stunning photos and high resolution videos. You are…

3 days ago

Honda EU2200i App Connected Generator with Carbon Monoxide Detection

Getting stuck without power is not fun. There are many power stations that can keep…

3 days ago