Day 22 (13th November 2009) RandomSounds - Shows how to load sounds using a for loop into an NSMutableArray - Shows how to use AVAudioPlayer to play random sounds from an NSMutableArray - Shows how to play a random sound using an IBAction - 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]
Day 23 (November 14 2009) Maps - Shows how to use MKMapView to display a map - Shows how to change the map type in an MKMapView with IBActions - Shows the different type of map views 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]
Day 24 (15 November 2009) PhoneDial - Shows how to implement a custom phone number pad - Shows how to implement a custom backspace button with substringToIndex: - Shows how to use openURL to dial a phone number (this won't work on the simulator) - Shows how to use [sender tag] in an IBAction 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]
Day 25 (16th November 2009) Shooting - Shows how to enable shooting with adding UIImageViews programatically - Shows how to move UIImageViews without referencing them individually with image.tag - Shows how to fire a timer with touchesBegan: and invalidate it with touchesEnded: - Shows how to loop through UIImageViews 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][/QUOTE]
Day 26 (17th November 2009) CopyPaste - Shows how to enable copy and paste for a UITextField and a UIImageView - Shows how to choose an image from the photos album and the camera and set the image to a UIImageView - Shows how to set the contentMode of a UIImageView to resize photos - Shows how to limit the characters in a UITextField (10 in this case) - Shows how to return the keyboard when the done button of the textfield is pressed 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]
Day 27 (18th November 2009) Settings - Shows how to implement settings in your app (through the settings app in the home screen) - Shows how to read the settings from your app - Shows how to implement a UISwitch in settings - Shows how to implement a UISlider in settings - Shows how to implement a textfield in settings 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]
Day 28 (19th November 2009) GetLetter - Shows how to use a UITextField, NSMakeRange and substringWithRange to get a letter in a UILabel - Shows how to get the intValue of a UITextField - Shows how to get a letter from a label depending on the value of the UITextField 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]
Thanks! For the last day, I'm also releasing a full game. More details here: http://kohjingyu.wordpress.com/2009/11/16/full-game-coming-up/
Day 29 (20th November 2009) Unlockable - Shows how to show an integer in a UILabel - Shows how to change the image of a UIButton according to whether its unlocked or not (you can use this for achievements in your game!) - Shows how to show an alert if you dont have enough money to unlock the button - Shows how to add to an integer with an IBAction 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]
Thanks a bunch for these examples Very interesting! I've been looking at the drawing example though and it works in 2.x software but NOT on 3.x. The lines don't appear until you press the home button and the app quits. any suggestions on how to fix this? Thank you in advance!
I'll look into that, thanks for the heads up. The full game would also be released tomorrow. It's called Meditating Bear. It's also posted in the upcoming forum of TouchArcade.
Thank you, much appreciated! I'll be sure to credit you for your help! Can't wait to see the final game too!
Just found this thread... I'll get a MacMini for Christmas and then start coding my one iPhone App (hopefully it will be a success ). I'm *only* 16 years old, but I think I'm pretty good at coding. I haven't coded in C or any C-related languages yet, but I'll learn that as soon as i got my Mac I'll definitely take a closer look at this at some time, it sounds nice
I'm 14 Day 30 (22nd November 2009) Dodger (If you want this email me at [email protected]) - Full game featuring AdMob and OpenFeint (enter your own keys and secrets) - Shows how to enable double jump - Shows how to move a UIImageView when a button is pressed and stop when it's lifted - Shows how to generate UIImageViews (enemies) on the fly - Shows how to move UIImageViews (enemies) on the fly by reading their tags - Shows OpenFeint functions like sending scores to leaderboards and unlocking achievements - Shows how to launch OpenFeint leaderboards and achievements - Shows how to set an app icon in Info.plist - Shows how to play a game loop with unlimited loops (cut off in the source code for size optimization)
My full game has some problems being uploaded, so if you want it beforehand email me at [email protected] for it. More info here: http://kohjingyu.wordpress.com/2009/11/22/and-then-there-were-30/
The game's which source code I released is now out, and it's FREE, so grab it! http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=341700675&mt=8
Whoa, I didn't even realize this was you, Koh Jing Yu! I found Flickitty in Cheese Collect. I'd like to put your cat somewhere in our game... maybe as a boss? He always looks so authoritative in the corner of Cheese Collect.