How to define output and actions in the class pane in an interface builder in Xcode 4?

In Xcode 3, for defining Outlets, Actions, etc. Interface Builder uses the library> Class Panel and select a class from the list. Is this feature missing in Xcode 4?

enter image description here

In the Utility area (lower right corner) in Xcode 4 there is a library of file templates, but my custom clans are not displayed here!

+4
source share
2 answers

This is similar to uninstalling from Xcode 4, but it is not very necessary, since Xcode 4 integrates the editor directly with IB. In any case, the function has never worked so well in Xcode 3 IMO.

In Xcode 4, display the title for your object by choosing your object and View> Editors> Helper. Now drag the control from the object you want to include in the header. This will automatically create an output or action and link everything at once.

See the Xcode 4 Migration Guide for more information.

+6
source

agreed with Rob on this, the alternative is to right click on your object in xcode IB, and this will give you the ability to select actions / link, etc. using drag and drop

0
source

All Articles