Archive for Tutorials

Objective C 2.0: An Intro – Part 1

June 18th, 2009 Posted by: - posted under:Tutorials - 54 Comments

Introduction
Hello everyone, welcome to my second screeencast. This is going to be the first in a series of screencasts that are focused at people just beginning to work with Objective C and Cocoa. For many reasons the beginnings of learning cocoa development can be frusterating and lonely to a point. Only now is Objective C and Cocoa development gaining the kind of momentum to drive the creation of resources such as iCodeBlog and others.
Skill Level Beginner
This is not going to …

    READ MORE

    Custom UITableViewCell Using Interface Builder

    May 24th, 2009 Posted by: - posted under:Tutorials - 113 Comments

    Hey everyone, welcome to my first of many screencasts coming in the next few weeks. Today I am going to show you how to layout a UITableViewCell in Interface Builder and have a UITableView populate with those type of cells. I am adopting a new structure for my screencasts which will be 5 or so mintues of keynote slides giving background info followed by 20 – 25 mintues of step by step development. The entire video will be directly below …

      READ MORE

      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 …

        READ MORE

        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 …

          READ MORE

          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 …

            READ MORE

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

              READ MORE

              iPhone Coding – Learning About UIWebViews by Creating a Web Browser

              December 19th, 2008 Posted by: - posted under:Tutorials - 131 Comments

              Wow! It has been a long time since my last tutorial… As I wrote in my last post, I had to take a break due to my wife having our baby. But, now I’m back and have a great tutorial for you guys.
              Today I will be showing you how to work with a UIWebview to create a basic web browser. Here is a screenshot of the app we are going to create.

              Create a View-Based Application
              Ok, …

                READ MORE

                iPhone Programming Tutorial – Intro to SOAP Web Services

                November 3rd, 2008 Posted by: - posted under:Tutorials - 151 Comments

                This tutorial was contributed by Dave (AKA Clarke76) on the Forums.
                WebSite:
                -Main project on site is eDuo. A .Net app that connects to OWA Exchange and forwards to IMAP account. Free program for those who can’t use Active Sync
                Important Links:
                [WebService]



                -After creating our XML data / SOAP request, we create a URLRequest. We add HTTP Header values, those values you read from the WebService.
                -We set the HTTP Method to POST
                -We set out HTTP Body …

                  READ MORE

                  iPhone Programming Tutorial – Animating a Ball Using An NSTimer

                  October 28th, 2008 Posted by: - posted under:Tutorials - 93 Comments

                  I have noticed recently many people wanting to create games for the iPhone and are unsure where to start. A common misconception is that you must use OpenGL ES to create any game with graphics. I am going to show you today how you can do some simple animation by moving a ball around the screen. We will not be using OpenGL ES to move the ball. We will simply be using an NSTimer and a …

                    READ MORE

                    iPhone Programming Tutorial – Using UITouch To Drag An Image Around The Screen

                    October 20th, 2008 Posted by: - posted under:Tutorials - 64 Comments

                    In this tutorial, I will be showing you how to use UITouch to get the location of where a user touches on the screen. We will be using this knowledge to drag a UIImageView around.
                    Learning how to use UITouch is the first steps in creating applications that are not navigation based (or don’t only use Apple’s built in components. Later on, we will begin some basic game development that will utilize UITouch.
                    You will need this image for the …

                      READ MORE