In the recent past I mentioned a great open source example for beginners interested in using the Map Kit on iOS devices, and utilizing several open source projects.
I’ve come across a couple of excellent beginners tutorial on how to parse an XML feed, and display the contents on the map. Another giving a good explanation of the Map Kit class and several code snippets for solving common Map Kit problems. These tutorials take a different approach form the open source example that I mentioned, and no libraries outside of the iOS sdk are used.
The tutorials are from Azam Sharp and can be found in 2 parts here:
Great stuff if you are just beginning to use the iOS Map Kit.
There are many ways to save data on iOS devices. Some like a database are likely overkill for a game, and other methods like serialization are great, but things could still be easier.
I’ve found a very cool time saving library that allows you to easily save and load ints, floats, and NSString’s to an automatically created .PLIST file. No fuss at all just one line of code to save, or one line to load each of these datatypes. A nice simple quick solution if you want to install some simple data saving into an app. If you need to save a few floats of game data it is an ideal solution.
The library is ABLFXSaveSystem from Alexander Blunck and can be found on Github here:
A cool example of a simple, but useful open source library.
Apple has provided user interface add-ons such as the UIAlertView, and modal views to allow us to alert users when we want to provide the user with information.
These add-on views aren’t always appropriate, and rather than push another view onto the stack a tutorial I came across earlier today demonstrates how to create an in-view popup which is really just another view so you can place any content that you would normally place within a view.
The tutorial is from Marin Todorov and can be found here:
Showing A Pop-up Window In iOS
Included is an example project with a library allowing you to add popups easily within your own apps. Very useful stuff.
I’ve extended the open source iPhone apps list with two great new apps.
The quest for quality iPhone and iPad programming examples continues and both of these apps are app store apps that the creators generously decided to open source. While there are a lot of great examples on the list with the continuous release of new features more are always welcome.
The first app is very interesting because I know that the topic of controlling the iPhone 4’s flash is searched for quite frequently on this site. This app features a strobe lite, see video:
You can find the homepage here: iStrobe.
The other app is Ecological Footprint, which shows how to share data using Facebook connect and e-mail, utilizing Core Data and more. See video:
You can find the homepage here: Ecological Footprint.
Check here for more information on the other 37 open source iphone app store apps.
Please share this by using the buttons below to tweet or bookmark!
- CocosDenshion (Cocos2D Audio) Usage
- Object Rotation
- Health Bars
- Spritesheets And Animations
The example is from Ray Wenderlich the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book, Steve Oldmeadow, and Victoria Wenderlich and can be found in Cocos2D versions 0.99.4 or higher (download here).
In order to view the example you will need to set the active target, and executable to Cocos Denshion – Tom The Turret.
Make sure to select the iphone simulator — if you can’t find it, hold down the option key when clicking on the pulldown selector where you set the active target and executable that will bring up more options.
Update: Added video to show those with issues running the game in the right simulator how it’s done.
[Source: Ray Wenderlich]