iPhone Game Development - Chris Craft [161]
This is a very focused application that does only one thing, but it does that one thing well: It provides developers with the code needed to get the IP address of the device their application is running on.
Tip
You can find the source code for What Is My IP? at http://appsamuck.com/day4.html.
Day 5: Count Me In
Count Me In gives you a new take on an old problem—making sure you don't lose count. This easy-to-use, digital counting application has an uncluttered interface that shows a single window with your count tally. Ergonomically sized tally buttons are a great feature. The green button adds another count while the red button subtracts. This useful app is great for coaching and sports, perfect for doing inventories of all kinds, and handy whenever you need to focus your concentration on more than one thing at a time. It works for quick counts and long-term tallies, so if you really need to make sure all the kids got back on the bus or simply want to keep track of how many pizzas you've ordered out this year, Count Me In is your solution.
Count Me In covers utility applications, awakeFromNib, UIButtons, UILabels, UIImageViews, and more.
Tip
You can find the source code for Count Me In at http://appsamuck.com/day5.html.
Day 6: Reaction Time
Simple reaction time is usually defined as the time required for an observer to detect the presence of a stimulus. For example, an observer might be asked to press a button as soon as a light turns on or a sound is made. Mean reaction time is approximately 180 to 200 milliseconds to detect visual stimuli. Do you know yours? Reaction Time is a fun little application that attempts to measure your reaction time. It is loosely based around one of the ultimate measures of reaction times: the drag race. There is a traffic light that changes from red to yellow to green, and then it kicks off a timer. As soon as racers see the green they need to press the accelerator pedal.
Reaction Time covers utility applications, awakeFromNib, UIButtons, UIImageViews, and more.
Tip
You can find the source code for Reaction Time at http://appsamuck.com/day6.html.
Day 7: Speed Dial
Speed Dial is one of the most useful things you can use on your phone. Instead of having to go through your contacts to find people you call frequently, putting them on speed dial makes it extremely easy to reach them. It makes multitasking easier as well—you simply press a button to dial while you do something else. Speed dial is extremely easy to set up. Most phones come with a 99-number speed dial capacity.
If there is one thing the iPhone is, it's a phone. It even has phone as the main part of its name. That being said, we thought it would be important to cover how to have your application use the iPhone as a phone.
Speed Dial covers creating settings bundles, reading and writing user settings, and more.
Tip
You can find the source code for Speed Dial at http://appsamuck.com/day7.html.
Day 8: Flickr KML
Do you have great pictures on your Flickr account that you think should be uploaded to Google Maps? Try Flickr KML, a cool iPhone app that lets you upload the pictures straight to the Google Maps application. For every photo you upload, a pushpin appears on the map to show recently geo-tagged images on Flickr. It's a great feature that you can experience in the Map application on the iPhone. The animation that goes along with each pushpin really takes this feature over the top. KML is underused by the developer community, so we decided to create an app for it.
You can learn how to have code run before your application really begins by using the awakeFromNib event. Find out how to use UIButtons, UIImageViews, and more.