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
  2. kohjingyu

    kohjingyu Well-Known Member

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

    ButtonPress (Requested by a viewer)

    - Shows how to use NSLog in debugging an application

    - Press button to generate an NSLog

    - Shows how to use openURL to open a webpage in Safari

    - Hold button for 1 second to open a webpage

    - Check when a button is released and when it is pressed. (Use this in your platformer game!)

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

    Follow me on twitter as I tweet about each project each day: http://www.twitter.com/kohjingyu

    Also, if you have a request, email [email protected]
     
  3. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
  4. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
  5. EssentialParadox

    EssentialParadox Well-Known Member

    Sep 21, 2009
    602
    0
    0
    UK / Toronto
    I'm really impressed you've been able to keep this pace up, I had doubts anyone would be able to make a bug-free app per day for a month!
     
  6. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 9 (31st October)

    ContactMe

    - Shows how to use AddressBook to pick a contact

    - Shows how to get info of the picked contact

    - Shows how to use openURL to send an email to the chosen contact

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  7. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 10 (1st November 2009)

    InAppEmail

    - Shows how to use the MessagUI to open an email screen in app

    - Shows how to set recipients for the 'To' field (use an array)

    - Shows how to set the message text body

    - No need to use openURL and exit the app

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  8. WellSpentYouth

    WellSpentYouth Well-Known Member

    Jan 11, 2009
    1,363
    6
    0
    iPhone programmer
    App Tech Studios, USA
    Thank you for doing this Froggy!
     
  9. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 11 (2nd November 2009)

    RSS

    - RSS Reader

    - Reads feed from selected URL (adjust in code)

    - Shows how to use openURL to open a url in Safari

    - Shows how to implement UITableView methods

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  10. Sinecure Industries

    Sinecure Industries Well-Known Member

    So far these have all been incredibly helpful! Thanks!
     
  11. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 12 (November 3rd 2009)

    LeafBlow

    - Shows how to use AVAudioRecorder to test noise at the microphone

    - Shows how to move a UIImageView with CGPointMake using integers

    - Shows how to use UIView animation

    - Shows how to define integers

    - NOTE: This will work on the iPhone simulator, try blowing on your Mac's mic

    - NOTE: This will only work on an iPod Touch with an external mic.

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  12. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 13 (November 4 2009)

    DataBetweenViews

    - Shows how to switch to a different XIB file

    - Shows how to transfer data between XIB files with NSUserDefaults

    - Shows how to resign the first responder of a UITextField

    - Shows how to get data from different UITextFields and make a dynamic NSString from it

    - Shows how to show 2 lines of text in a UILabel

    - Shows how to use an NSTimer to update UILabels

    - NOTE: An NSTimer is used as the viewDidLoad of the second XIB will only be called the first time

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  13. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 14 (5th November 2009)

    SPS (Scissors Paper Stone)

    - Shows how to use random numbers

    - Shows how to display information in an NSString

    - Shows how to using 'switch' a number (with cases)

    - Shows how to use [sender tag] to determine which button the IBAction was launched from

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  14. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 15 (16th November 2009)

    AlertText

    - Shows how to create a UILabel and a UITextField programmatically

    - Shows how to move an UIAlert (so that it's not blocked by the keyboard)

    - Shows how to add a UITextField into a UIAlert

    - Shows how to get text from the UITextField in the UIAlert and put that text into a UILabel

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  15. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
  16. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 17 (November 8th 2009)

    OpenFolder

    - Demostrates how to use UIView animation to animate the enlarging and closing of a UIView

    - Shows an opening folder effect, like those in computers

    - Shows how to check for double tapping on a button (Touch Down Repeat)

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  17. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 18 (9th November 2009)

    GameTimer

    - Shows how to use an NSTimer to deduct value from a float

    - Shows how to show the value of a float in an NSString to 2 decimal places

    - Shows how to stop an NSTimer with [timer invalidate]; and timer = nil;

    - Shows how to show an alert when a float is equal to or less than 0.

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  18. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 19 (10th November 2009)

    BetaStatus

    - Shows how to use [UIDevice currentDevice]

    - Shows how to display the device model in a UILabel

    - Shows how to display the device name in a UILabel

    - Shows how to display the unique identifier in a UILabel

    - Shows how to display the system version in a UILabel

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  19. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 20 (11th November 2009)

    AlertSlider

    - Shows how to show a UIAlertView

    - Shows how to check if a button was pressed on the UIAlertView

    - Shows how to add a UISlider to the UIAlertView

    - Shows how to add a UIImageView to the view programatically

    - Shows how to get the value of the UISlider and change the alpha of the UIImageView to it

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     
  20. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Day 21 (12th November 2009)

    ProgressBar

    - Shows how to make a custom progress bar with UIButtons

    - Shows how to add a random number to an int

    - Shows how to increase or decrease the size of a UIButton

    - NOTE: If you want a custom image for your progress bar, set your button's background image to your image.

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

    Follow me on twitter as I tweet about each project each day: Koh Jing Yu (kohjingyu) on Twitter

    Also, if you have a request, email [email protected]
     

Share This Page