Categories: Guest Posts

iPhone Programming 101, part Deux

Top iPhone & iPad cases & accessories

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

HALO 90000RPM Air Duster + 10000mAh Power Bank

Here is another handy gadget that doubles as a power bank for your phone. The…

2 hours ago

Samsung Bespoke AI Jet Ultra Stick Vacuum with SmartThings

Vacuums are getting smarter all the time. We are not just talking about robot vacuums…

18 hours ago

WYBOT S2 App Connected Smart Navigation Pool Robot

Having a pool on your property is fun but keeping its water clean takes effort.…

21 hours ago

Majextand S Stainless Steel Multi-Angle iPhone Stand

Meet the Majextand S: a versatile stainless steel iPhone stand with 360-degree angles and thin…

1 day ago

Amazfit Bip 6 Smartwatch with 140+ Workout Modes

The Apple Watch and other fancy smartwatches have a whole host of advanced features to…

2 days ago

CHIGEE AIO-6: 6-inch Smart Display for Motorcycles

This is the CHIGEE AIO-6: a smart 6-inch display that provides riders with all the…

2 days ago