tutorial

Tutorial: Drag And Drop Outlets And Actions In Xcode 4 Interface Builder

Xcode 4 has introduced many improvements, but you have to know how to use them – and know they exist.

One extremely useful feature is Xcode 4′s capability to create outlets and actions automatically with a simple drag and drop operation.  This means that you can create your @property, @synthesize methods, and declare your instance variables without needing to enter any code at all.

Tutorial: Custom In View Popup Windows

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.

Update: Balloon Game Tutorial In Xcode 4

Recently I received a few comments and e-mails stating that the beginner’s game programming tutorial featured on this site had issues when running with Xcode 4.  I decided to test things out, and had no issues when running the tutorial in Xcode 4 with the latest release version of the SDK.

You can see a screenshot of the game running in Xcode 4 and the simulator below.

Tool: Easily Gather Sprite Data For Box2D And Generate Cocos2D Code

Found out about a pretty cool tool for those looking to develop games using Box2D (especially if you’re using Cocos2D — but really good for anyone using Box2D) called SpriteHelper.  It is a notch above the other tools I’ve seen doing similar.

Custom UIView Tutorial – 5-Star Ratings View

There are many iPad and iPhone apps where custom ratings could be useful, such as news apps, and picture rating apps.  The problem with programming a custom UIView is that it is a pretty laborious process, and it’s easy to get something wrong along the way.

If you decide to go with the UIView approach, some of the tougher things are having the ratings follow along with your finger, and displaying the correct number of stars.  You may have noticed when browsing the web that some of these don’t work at all on iOS devices.