# Programming for iOS

**URL:** <https://boards.straightdope.com/t/programming-for-ios/632480>\
**Category:** In My Humble Opinion\
**Created:** [August 24, 2012, 12:04pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480 "2012-08-24T12:04:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Pearse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/richard_pearse/32/13144_2.png) [@Richard\_Pearse](https://boards.straightdope.com/u/Richard_Pearse)\
**Post date:** [August 24, 2012, 12:04pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/1 "2012-08-24T12:04:35Z")

</div>

What is involved in making a very simple app for iOS? Say two input boxes to enter numbers and an output box to display the sum of the numbers. Is that level of programming achievable in a short time frame by someone with no prior programming knowledge?

---

<div class="post-metadata">

**Author:** ![TriPolar](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tripolar/32/3008_2.png) [@TriPolar](https://boards.straightdope.com/u/TriPolar)\
**Post date:** [August 24, 2012, 12:25pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/2 "2012-08-24T12:25:32Z")

</div>

It is, but the knowledge you need is about the general usage of a development tool. Go to the [iOS development site](https://developer.apple.com/technologies/tools/) and see if you can install the development tools first. I’d suggest enlisting the help of anyone who has experience using any development tool to help you through a simple example program. You might be able to do it yourself.

---

<div class="post-metadata">

**Author:** ![jackdavinci](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/jackdavinci/32/3259_2.png) [@jackdavinci](https://boards.straightdope.com/u/jackdavinci)\
**Post date:** [August 24, 2012, 12:30pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/3 "2012-08-24T12:30:15Z")

</div>

You might find this article interesting:

> **[Learn to Code a Basic iPhone App](https://lifehacker.com/learn-to-code-a-basic-iphone-app-5936586)**
>
> Developing for iOS isn't the easiest task in the world, and it's hard to know where to get started. App developer and Instructables user A-Nony-Mus decided to help out and put together a guide to get you coding your first iPhone app as well as learn...

---

<div class="post-metadata">

**Author:** ![Fuzzy\_Dunlop](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@Fuzzy\_Dunlop](https://boards.straightdope.com/u/Fuzzy_Dunlop)\
**Post date:** [August 24, 2012, 2:22pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/4 "2012-08-24T14:22:12Z")

</div>

I agree with \*\*TriPolar \*\*that it’s probably possible. I would also suggest that it probably depends on how competent you are at synthesizing new information and using that ability to block out all the information you don’t understand.

Apple makes a My First iOS tutorial which if you follow exactly you basically will only need to adapt it by putting a + sign in the right place. However, you’ll probably feel like a novice trying to land an airplane with tons of instrumentation at your disposal and relying on an air traffic controller telling you exactly what to do.

In other words, you might get overwhelmed but there’s no reason you necessarily would and there’s no real programming required to do it.

---

<div class="post-metadata">

**Author:** ![Brandus](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@Brandus](https://boards.straightdope.com/u/Brandus)\
**Post date:** [August 24, 2012, 2:51pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/5 "2012-08-24T14:51:30Z")

</div>

> [@Richard\_Pearse](#):
>
> What is involved in making a very simple app for iOS? Say two input boxes to enter numbers and an output box to display the sum of the numbers. Is that level of programming achievable in a short time frame by someone with no prior programming knowledge?

With absolutely no programming knowledge I’d say you could do the above in about 20 hours. It will mostly be an exercise in patience as you go through a tutorial.

---

<div class="post-metadata">

**Author:** ![beowulff](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/beowulff/32/542_2.png) [@beowulff](https://boards.straightdope.com/u/beowulff)\
**Post date:** [August 24, 2012, 4:08pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/6 "2012-08-24T16:08:23Z")

</div>

Do it all in Javascript.  
Then, just run it in Safari. That way, you don’t need to become a developer, pay $99, or deal with the App store (unless you want this to be a commercial product).

---

<div class="post-metadata">

**Author:** ![beowulff](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/beowulff/32/542_2.png) [@beowulff](https://boards.straightdope.com/u/beowulff)\
**Post date:** [August 24, 2012, 7:13pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/7 "2012-08-24T19:13:24Z")

</div>

Here’s some more information on Javascript programming on iOS:  
[http://matt.might.net/articles/how-to-native-iphone-ipad-apps-in-javascript/](http://matt.might.net/articles/how-to-native-iphone-ipad-apps-in-javascript/)

---

<div class="post-metadata">

**Author:** ![Richard\_Pearse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/richard_pearse/32/13144_2.png) [@Richard\_Pearse](https://boards.straightdope.com/u/Richard_Pearse)\
**Post date:** [August 24, 2012, 10:24pm UTC](https://boards.straightdope.com/t/programming-for-ios/632480/8 "2012-08-24T22:24:23Z")

</div>

Thanks all. I’ll actually want it to do some other stuff, but if I can get some very basic number manipulation working in good time, I’ll be less likely to lose patience with achieving the final outcome.

At the moment I’ve got a spreadsheet that does what I want but the interface is clunky.

I’ve dabbled with visual basic before but don’t know how useful that experience would be. Anyway, I’ve got an ebook on Objective-C, I’ve downloaded the iOS SDK, and I’ll investigate the Java option as well.

---

<div class="post-metadata">

**Author:** ![Fuzzy\_Dunlop](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@Fuzzy\_Dunlop](https://boards.straightdope.com/u/Fuzzy_Dunlop)\
**Post date:** [August 25, 2012, 12:14am UTC](https://boards.straightdope.com/t/programming-for-ios/632480/9 "2012-08-25T00:14:22Z")

</div>

> [@Richard\_Pearse](#):
>
> I’ve dabbled with visual basic before but don’t know how useful that experience would be. Anyway, I’ve got an ebook on Objective-C, I’ve downloaded the iOS SDK, and I’ll investigate the **Java** option as well.

Javascript is very different than java, FYI. Not a mistake you want to make while searching.

Incidentally, I just read the following today and was surprised to learn it… I knew it was possible to make an iOS app that is entirely HTML5 (HTML5 + CSS3 + Javascript), but still loads as a native iOS app from a user perspective, which is exactly what **beowulff** described and linked to.

What I didn’t realize is that until just a day or two ago, Facebook’s official iOS app was done exactly that way. The “major overall” behind the new iOS version they released is that they switched from an entirely HTML5 app to one created in objective C.

I was surprised to learn that.

---

<div class="post-metadata">

**Author:** ![antonio107](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@antonio107](https://boards.straightdope.com/u/antonio107)\
**Post date:** [August 25, 2012, 2:25am UTC](https://boards.straightdope.com/t/programming-for-ios/632480/10 "2012-08-25T02:25:48Z")

</div>

Iirc, there was actually an online course on ITunes U all about iOS programming. I tried following along, but didn’t have enough requisite programming experience to keep up, so I never got past lecture one.
