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

Escort MAX 4 Radar Detector with CarPlay, Android Auto Support

Nobody enjoys getting speeding tickets. With a decent radar detector, you can stay aware of…

6 hours ago

Volume Knob TWS Bluetooth 5.0 Speaker

Here is a cute speaker that combines with your phone to play your favorite music…

9 hours ago

Pixelity’s Shooting Break: Shooting Game for Vision Pro

In the past couple of months, we have covered a bunch of cool Vision Pro…

14 hours ago

Amazfit Helio Ring: Smart Wearable for Recovery Tracking

There are plenty of smartwatches that can track your daily activities and workouts. The Amazfit…

1 day ago

Rode VideoMic GO II: iOS Compatible Directional Microphone

Your iOS devices already come with everything you need to capture amazing videos. To sound…

1 day ago

Lumi App Connected Illuminated Dog Harness for Night Walks

Walking with your dog at night can be fun but you need to invest in…

2 days ago