Thoughts Tutorials Previous Thought Next Thought

How I Made My First iPhone App… Or, How Not to Make Your First iPhone App

Sharper than Steve Job's acid washed jeans.


FieldTrip, my first mobile app offering, is complete and, boy, the learning curve was sharper than Steve Job’s acid washed jeans. Here is a brief look into my development process, what I’ll never do again, and what I will do for the next one. Hopefully it will help new app developers get started.

Nerd up!

As this was my first app, I did not hit the ground running. It was more of a slow crawl with frequent, whiny breaks. About a year ago I purchased a book titled “Beginning iPhone 3 Development: Exploring the iPhone SDK“. After reading and working through the first few chapters, I realized that the book required a basic knowledge of Objective-C which I did not have. Learning a language is much different than learning a platform so the book was shelved in hopes that I’d soon have time to come back to it after figuring out Objective-C. Much like John Travolta’s 3rd wind acting career, I never happened. It was my Battlefield Earth.

A few months later I began to experiment with web based iPhone app development. With this method, an app is essentially a web view and the code is similar to a website. This lead me to PhoneGap and jQTouch. Both worked pretty well, especially in combination, but could not create a truly native application as they were webkit based. Webkit also meant that apps couldn’t take advantage of the phone’s hardware. No camera, push notifications, accelerometer, GPS, etc. All smoke but no fire. A point driven home by Apple when they began cracking down on non-native apps.

Courtesy appcelerator.com

Another few months more and I found Appcelerator. With Appcelerator, applications are created with javascript (a familiar language to us web devers) and compiled into native applications using their magic application and xcode. The brain of the app remains javascript but the application UI and database is fully native and you get access to all the phone’s hardware. Booyah! With this new toy, I set off to work.

New to Appcelerator, and forgetting all 10 years of real world practice, I started out in code to create my app. I knew more or less what I wanted. What could go wrong. Bad, bad move buttercup. I knew better but was drunk with Javascript power.

This type-happy start led to 7 complete rewrites as I delved deeper into Appcelerator and its best practices. It was yet another reminded that planning trumps passion. Rockstar.

Here’s how it went down:

  • 3 rewrites before realizing, maybe I should wireframe this mother.. like all other projects I work on.
  • 2 rewrites after actual testing a fully functional wireframe prototype, on a few users. Again, stupid move on doing this so late as holes in functionality and usability were uncovered which made rewrites necessary.
  • 1 rewrite after deciding to design based on the wireframes and mash it into my code. I plead temporary insanity.
  • 1 final rewrite to consolidate my code, properly create my views and elements to account for all functionality, and incorporate design systematically instead of the french press method. Side note, French Press sounds like a really badass wrestling move.

The end result is an app that works great and I’m very proud of. The lesson is this. Figure out what you’re doing before you start doing anything. With that little tidbit I could have cut development time by a month.

For the next app, my process will be as follows:

  • Define the feature list up front. Figure out what the app does before starting. If not, the app will take on a life of its own in development and I’ll find myself adding sound effects, hardware vibration and unicorns.
  • Sketch wireframes in pencil to sort out how a user will navigate and interact with the app. This will also define how many templates are needed. Remember to use pencil as it will allow for continual refinement of the experience and, as the ideas keep coming, keep me from worrying about alignment, fonts, and how large a certain field may be.
  • Take the refrigerator worthy sketches and create refined wireframes. Check them to make sure all necessary views are accounted for then test them. Either create a quick clickable website, use MockFlow, or open Photoshop and let someone pretend to touch.
    While someone is reviewing the wireframes, I’ll keep my mouth shut and will not explain to them what they should be doing. A user should be able to use the app without being told what to do.
  • Take the feedback, make adjustments and repeat the wireframing step. Expect to change how the views look and connect to one another at least once. If there are no updates, either I’m a user experience god or didn’t really listen to feedback.
    Don’t design until the wireframes are completely locked down. Developers tend to see things in ways that real users do not so I need to build for a users and not for myself.
  • Make those wireframes into the best damned designs I can muster. If I suck at design, get help. While it does matters how fast a table loads or how streamlined database queries are, if a potential customer looks at the screenshots on the App Store and throws up a little, they’ll never see the results of all that coding awesomeness.

This is what I’ll do next and I hope it helps you get out there, make that first app, and lose less hair in the process. Leave a comment with your thoughts or experience. I’d love to hear them.

Avatar

Philip Joyner

Not only can the man stare down CSS code until it writes itself in sheer terror, but he is famous around 220 E. Hall St for what we like to call his “happy dance”. Few have seen it, and those who have can’t get enough.

Comments

9 thoughts on “How I Made My First iPhone App… Or, How Not to Make Your First iPhone App

  1. Avatar Kevin Vincent says:

    You da man…you complete me.

    KV

  2. Avatar Phil says:

    ha! Glad you like it.

  3. Avatar Donna says:

    Thank you! Interestingt article.
    I want to create my first iPhone application, but I haven’t enough knowledge of development. I was advised to use an online app builder such as http://seattleclouds.com. What do you think about this service?

  4. Avatar Phil says:

    Hi Donna,
    I don’t have experience with them but, if the functionality that you would need is possible with an online app builder, then it may work for you.

    These companies have a few different business models. Pay big upfront or pay incrementally per month. If you’re planning to charge for your app then you’ll need to market it heavily so that you can recoup your costs.

    My app was on sale for .99 for a couple of months an I had about 20 sales. I then start giving it away and got a few hundred downloads. The app business is tough these days!

    Best of luck with your app and let us know how it goes!

  5. Avatar Donna says:

    Thank you, Phil!!!

  6. Avatar Andrew. Flores says:

    I have an idea for a new ap. I would like to have some one make it fo me. Any thoughts on that

  7. Avatar Phil says:

    Hi Andrew,
    You have the online options as Donna mentioned above, speak with a company that creates apps or talk with a freelancer.

    If expense is a concern, companies would likely cost more so a freelancer could be the way to go. There are online sites where you can post a job and have freelancers bid on the work. Apps can take a long time to create, revise and get approved for the app store. With this time comes expense.

    Optionally, if you know a developer, you could discuss an percentage arrangement where a developer takes stake in the app’s profits for exchange in creating the app. That said, the developer would need to fully understand and see the possibilities of return on their time investment to get buy in.

    I hope this helps and good luck with your app!

  8. Avatar Vinson says:

    Phil, do you helping people to create an apps ? I got an idea for an apps.

  9. Avatar Phil says:

    Hi Vinson,
    Unfortunately not. Apps creation can be time consuming so it’s not something I offer. Best of luck with your idea!

Comments are closed.

Share