Archive for Tutorials

Introduction to MapKit in iPhone OS 3.0 Part 2

December 22nd, 2009 Posted by: - posted under:Tutorials - 19 Comments
Screen shot 2009-12-22 at 11.48.05 AM

Introduction
Back in September I posted a large post going over all the components required to implement the MapKit in your application. The MapKit is a framework introduced in iPhone OS 3.0 and allows developers to easily take advantage of Google’s mapping technology. In my first post I go over how to present a map as well as annotate the map with custom badges to highlight points of interest. The MapKit also …

    READ MORE

    Introduction to MapKit in iPhone OS 3.0

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

    Introduction
    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 …

      READ MORE

      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.

        READ MORE

        Debugging Tutorial – Automating Your Tests With A UIRecorder Instrument

        October 6th, 2009 Posted by: - posted under:Tutorials - 15 Comments

        If you have ever experienced a bug in your application that took many steps to reproduce, then this tutorial is for you. By nature, testing and debugging are very tedious processes. This is especially the case for the iPhone.
        Say you have an app that drills down 5-levels deep to some other view. Now let’s say that you have a bug on that view 5 levels deep. Your normal method of debugging is:

        Run the app
        Tap view 1
        Tap …

          READ MORE

          Objective-C Tutorial: NSArray

          August 26th, 2009 Posted by: - posted under:Tutorials - 46 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.

            READ MORE

            Getting Images From The iPhone Photo Library Or Camera Using UIImagePickerController

            July 28th, 2009 Posted by: - posted under:Tutorials - 79 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 . 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:

              READ MORE

              iPhone Programming Tutorial: Animating A Game Sprite

              July 24th, 2009 Posted by: - posted under:Tutorials - 66 Comments

              One thing I have noticed about many of the games in the app store is they lack animation. Of course, the huge companies like Sega and PopCap have some pretty amazing animation, but what about us indie iPhone game developers?

              Well, Apple has made it quite simple to do animations. I really feel this method is often overlooked. I will show you in just a few lines of code, how to completely animate your game images. I will walk you through …

                READ MORE

                iPhone Programming Tutorial: Integrating Twitter Into Your iPhone Applications

                July 9th, 2009 Posted by: - posted under:Tutorials - 140 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, …

                  READ MORE

                  Objective C 2.0: An Intro – Part 2

                  June 29th, 2009 Posted by: - posted under:Tutorials - 30 Comments

                  Introduction
                  Hello everyone, welcome to my fourth screeencast. This is the second in my series introducing readers to Objective C. Let’s dive in.
                  Skill Level Beginner
                  Source Code


                  Screencast
                  I film myself coding out the entire sample project for each post. I personally think going through the Screencast is the best way to learn. But feel free to look through the slides and text if that suites you better.

                    READ MORE

                    Using NSXMLParser to Pull UIImages From the Web

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

                    Introduction
                    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 …

                      READ MORE