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
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.
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!
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.
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.
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.
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/
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..
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.
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/
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.
Day 5 (27th October 2009) Drawing - Simple drawing app - Double tap to erase screen - Use 1 finger to draw More info and download link here: http://kohjingyu.wordpress.com/30-days/