Featured iPhone Development Resources iOS Development Tutorials Objective-C

Tutorial: Creating Custom Components That Can Be Previewed And Modified In Xcode 6

Early last year I mentioned a nice tutorial from Yari D’areglia explaining how to create custom UI components.

Here’s another nice tutorial from Yari that explains how to use the new feature in iOS 6’s interface builder that allows you to preview and update your custom components.

The key to using this new feature are the IBDesignable and IBInspectable keywords, and in order to get things working you’ll need to implement your custom component within a framework.

In the tutorial Yari covers each step in creating a simple custom component that can be viewed, and adjusted directly within interface builder.

You can find the tutorial on the Think and Build it site here.

A nice tutorial on a great new Xcode feature.