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.

Oleb Begemann has put together  a short guide with images and a short video demonstrating how this is done.

You can find it here:

A useful tip that has been added to the Xcode 4 tutorial and guide page.

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *