Posts tagged as: Intermediate

Introduction to MapKit in iPhone OS 3.0

December 21st, 2009 Posted by: - posted under:Tutorials - 58 Comments

Hello everyone. Welcome to another screencast. Today we will be looking into the MapKit, a new API’s made available by Apple in the iPhone OS 3.0 release. The MapKit allows simple access to the map seen in the maps application. Using GoogleMaps as its engine the map kit allows for a developer to make their own custom map interface to fit their own application. Today we will be reviewing the MapView as well as the Map Annotations that can be …


iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games

October 29th, 2009 Posted by: - posted under:Tutorials - 48 Comments

As you may have seen, there are quite a few services out there offering free leaderboards. These are great and all, but sometimes you want to have complete control over your data. I have put together a complete tutorial detailing step by step how you can create your own online leaderboard. This will also give you a very simple introduction to interfacing with web services.


Objective-C Tutorial: NSArray

August 26th, 2009 Posted by: - posted under:Tutorials - 44 Comments

The NSArray is a huge workhorse that we use quite frequently without even thinking about it. The NSArray class isn’t just your ordinary array. Not only does it provide random access, but it also dynamically re-sizes when you add new objects to it. While I won’t go over every method in NSArray (there are quite a few), I will discuss some of the more important ones that are most commonly used. Let’s take a closer look at this class.


Getting Images From The iPhone Photo Library Or Camera Using UIImagePickerController

July 28th, 2009 Posted by: - posted under:Tutorials - 78 Comments

This will be a simple tutorial showing you how to access the iPhone’s photo library as well as the camera. Since the 3.0 update, the methods for picking photos have been deprecated. So this will be a 3.0 and above tutorial.
We will be creating an applicaiton that will allow you to pick a photo from the library or camera and display it on the screen. Here is a screenshot of what the app will look like:


iPhone Programming Tutorial: Integrating Twitter Into Your iPhone Applications

July 9th, 2009 Posted by: - posted under:Tutorials - 139 Comments

If you are a developer (which you most likely are if you are reading this) you probably have (or should have) a Twitter account. With Twitter getting so much attention lately, you would be crazy to not include some sort of Twitter integration into your own iPhone application.
There are many ways applications can be made more social by including Twitter. For example, you could make the application auto-tweet when you unlock a special item in a game, …


Using NSXMLParser to Pull UIImages From the Web

June 19th, 2009 Posted by: - posted under:Tutorials - 53 Comments

Hello everyone, welcome to my third screeencast. This screencast is the result of a request made in the comments of my first post. I am going to be covering many topics in this post. But the general idea of the app we will build is that it will use an XML file online to get the URL and title of a given picture. For each URL and Title pair a view …


iPhone Game Programming Tutorial Part 4 – Basic Game Audio

May 4th, 2009 Posted by: - posted under:Tutorials - 70 Comments

Ok, I will be finishing up this series by showing you guys how to add basic audio to your game. Since this is a beginner tutorial, I won’t go into complex audio using OpenAL or Audio Queues. Today, we will just be playing short sounds (less than 30 seconds). This will be the easiest way to do audio if you don’t require any background music (I guess you could do a nasty hack and loop a 30 …


iPhone Game Programming Tutorial Part 3 – Splash Screen

March 18th, 2009 Posted by: - posted under:Tutorials - 120 Comments

Ok, So it’s time to wrap up this series. Today I will be showing you how to add a few “bells and whistles” that will make your game more complete. Let’s start by adding a splash screen to your game (Again I truly apologize for the lack of graphics skillz. Photoshop and I are not friends).
Creating a Splash Page
We will be adding a splash page that will fade out into our main game screen. Start by downloading …


iPhone Game Programming Tutorial Part 2- User Interaction, Simple AI, Game Logic

February 18th, 2009 Posted by: - posted under:Tutorials - 163 Comments

Ok folks, here it is. The next tutorial in our iPhone game programming tutorial (sorry for the delay). Today, I will be discussing the basics of player interaction, simple game AI, and game logic. We will also be exploring how to do simple collision detection so we know when the ball hits a paddle. Per popular request, I will be adding “Challenges” to the bottom of the tutorials from now on to give some more advanced ideas for …


iPhone Game Programming Tutorial – Part 1

January 15th, 2009 Posted by: - posted under:Tutorials - 348 Comments

This is the first in a multipart series where I will be teaching you to create an iPhone game from the ground up. As many of you know, OpenGL and Quartz have quite a steep learning curve. This tutorial will simplify the development process and not use either one of those technologies. For our graphics, we will simply use UIImageViews.
In this tutorial series, I will teach you about every aspect of developing an iPhone game. …