30 Days of iPhone Programming + Source Code

Discussion in 'Public Game Developers Forum' started by kohjingyu, Oct 22, 2009.

  1. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Hey guys,
    I thought I'll let you guys know that I'm writing 30 iPhone apps in the next month or so and releasing the source code. These will not be just apps that display how to do a simple functionality, but pretty 'full' apps.

    For example, the first app I'm uploading soon will be a Twitter Updater, you have to enter your username and password and it will send a Twitter status update to your Twitter account.

    There would also be source code for problems I had when I was beginning iPhone development, such as generating random strings of text from a file, and a full web browser.

    You can also email app requests to [email protected]

    Apps would be visible via http://kohjingyu.wordpress.com/30-days/ and the link to download each project would be visible there. At the end, I will also upload a .zip file of every project and put it up for download.

    I hope that by doing this, people will learn from my source code and it would benefit them.

    I'm sure this would be a great learning experience for all of us.

    Cheers,
    Koh Jing Yu
     
  2. d1

    d1 Well-Known Member

    Sep 19, 2009
    5,678
    5
    0
    wow sounds like ur g2 have fun doing all that coding in 30 days >.> sheesh lol
     
  3. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Well, yeah I will, cause it's my school holiday, and coding is my hobby. I love it. :D
     
  4. d1

    d1 Well-Known Member

    Sep 19, 2009
    5,678
    5
    0
    coding goes over my head :p
     
  5. Sincroman

    Sincroman Well-Known Member

    Nov 12, 2008
    92
    0
    0
    Im a loser
    Yugoslavia
    This is a great idea and thank you a tone. I mean absolutly no offense to you at all, but you name looks like it is pronounced "coaching you" and it is exactly what your doing. Maybe i'm pronouncing it wrong but I thought it was funny. Again don't be offended and thanks a ton.
     
  6. bossman696

    bossman696 Well-Known Member

    Sep 11, 2009
    76
    0
    0
    Graphic Designer, Commercial Printer
    Alabama
    No offense...

    You know I didn't notice that about your name.... As noted above, I'm not sure if we are pronouncing your name correctly, but it does look like that.

    I too look forward to your programs. Good Luck!
     
  7. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Haha, no offence taken.

    App No. 1 is out: TwitterUpdater.

    More info here:
    http://kohjingyu.wordpress.com/30-days/

    Let me know what you think. Again, these are not just apps that display a simple functionality, but semi-full apps.
     
  8. championsoftware

    championsoftware Well-Known Member

    Feb 9, 2009
    108
    0
    0
    Cool, I like this idea and will be checking out your programs. Though your twitter update will not run in the simulator, maybe I'll try it on my phone later.
     
  9. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Thanks!

    Yeah I realise that. Sometimes it works, but somehow sometimes it doesn't, but I've used this in Cheese Collect and it works.
     
  10. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 2: SaveScore

    - Shows how to generate a random number using an IBAction with arc4random
    - Shows how to display text on a UILabel
    - Shows how to compare integers
    - Shows how to save data using NSUserDefaults
    - Shows how to save the highest integer

    More info and download the file here: http://kohjingyu.wordpress.com/30-days/
     
  11. mobile1up

    mobile1up Well-Known Member

    Nov 6, 2008
    754
    0
    16
    Technical Director
    Munich, Germany
    have you considered not using delegates for receiving the HTTP packet?

    Code:
    NSError *err;
    NSURLResponse *response;
    ...
    NSData *d = [ NSURLConnection sendSynchronousRequest:request 
                    returningResponse:&response  error:&err];
    
    in another project i've been using this approach - and, its much simpler to process the result straight away rather than dealing with concurrency issues. another thing about the samples; - it might be good to not use interface builder - XIB's are a nightmare for newbies to understand, wouldn't it be better to programmatically build the user interface?

    just my 2c..
     
  12. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Yeah, I guess so.

    I'm trying to do it in the simplest possible way, and that's using Interface Builder. It's harder to introduce bugs this way.

    Day 3 is coming soon guys, hold on! This is a full app, sort of. ;)
     
  13. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 3 (October 25th 2009)

    WebBrowser

    - Fully featured web browser (Back button, forward, etc.)

    - Shows how to use a UIWebView

    - Shows how to show network activity indicator (Does not work in simulator for some reason, should work in device)

    - NOTE: You have to use http:// in front of the website link for it to work

    Download link and more info at http://kohjingyu.wordpress.com/30-days/
     
  14. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 4 (26th October 2009)

    ShakeIt

    - Shows how to detect shake using the 3.0 APIs
    - No need to detect accelerometer offsets anymore!
    - How to add a dynamic NSString to a UILabel.
    - Functions as a simple pedometer

    More info and download link here: http://kohjingyu.wordpress.com/30-days/

    Follow me on Twitter to receive updates of new source code.
     
  15. Kwakkie

    Kwakkie Active Member

    Jul 19, 2009
    25
    0
    0
    Im no coder, but this is great! Good luck man :)
     
  16. simplymuzik3

    simplymuzik3 Well-Known Member

    Aug 12, 2009
    342
    0
    0
    I checked out the sample code, and it's really helpful! Thanks so much! :D
     
  17. bravetarget

    bravetarget Well-Known Member

    Sep 14, 2009
    330
    0
    0
    Booked marked your site, Yu!

    Really great stuff you're doing here.
     
  18. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
  19. ImagineNET

    ImagineNET Active Member

    Oct 5, 2009
    27
    0
    0
    Great idea! I will check your website.
     
  20. simplymuzik3

    simplymuzik3 Well-Known Member

    Aug 12, 2009
    342
    0
    0
    Wow! Your apps get better each day! Thanks soooooo much! :D
     

Share This Page