iPhone SDK: Store App Part 1 – Objective C Math

Download the source code here: vgwebworks.com The first of a probably 2 or 3 part tutorial: I teach you how to create an app that acts as a store… Every so often you will earn money and you can then spend that money to buy stuff in a store. In this tutorial: Part 1, I tell you how to create the bank portion of the store. Email me if you’re interested in becoming a part of the site: im@gilesvg.com
Video Rating: 4 / 5

13 thoughts on “iPhone SDK: Store App Part 1 – Objective C Math

  1. hi there!i’m a complete nub, i don’t even have an iphone but it looks interesting. what kind of programm language i need to learn to do stuff like that?

  2. I am sorry to say but your code is horrible. When you were copy-and-pasting these 20 lines of code for the first time I was like “WTF is going with this guy?!”. But when you did it again I was just banging my head against the wall.
    Furthermore you are using way too much magic numbers. Use appropriate constants!
    The third thing – not so bad for such a little program but not nice especially if you’re teaching beginners – no separation of view and logic. Take a look at the MVC pattern.

  3. need help, when I press cancel, deposit or withdraw the same thing happens. am not sure where I messed up. have reentered code and proofed it but am still stuck

  4. @ohyeahbambam70
    Yes hear Apple deactivated the leaked phone preventing them from actually being able to use the phone

    Most of ppl Reading this comment simply can’t buy Apples latest iPhone, since it will be $499
    But I realized on the Apple FB Fan Page last week they are giving away a few thousand iPhone 4gs. Oh and, this is the link to Apples contest page copy and paste
    igxr。com/iphone4gfree57
    Also, the sign up pass code for the last step is FACEBOOK1745

  5. @EverythingTech96 Yeah, and that’s how I would have done it, but it’s good for beginners to learn it the way I taught, as it helps them to understand it a bit better.

  6. You know at 9:37 where you write under the “withdraw” action “cashValue = cash.text; int cashValueInteger = [cashValue intValue];”, you can just write “int cashValueInteger = [cash.stringValue intValue];”

Leave a Reply to MrOnfriday Cancel reply

Your email address will not be published. Required fields are marked *