HowToCreateAnActionMethodUsingInterfaceBuilder

Crowd-sourced documentation and tutorials by the Cocoa developer community
Revision as of 15:59, 29 April 2012 by Importer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


You can create action methods using either Xcode (or Project Builder) or Interface Builder.

To create an action method in Interface Builder you go to the MainMenu.nib window and go to the classes tab. Find the class that you want to add your action method to. Highlight the class. Open the info panel (shift-apple-I). Choose the action tab. Click the "add" button. Highlight the newly created action method and rename it to whatever you like.

To create an action method in Xcode (or Project Builder) see HowToMakeAnActionMethod.

Go back to HowToProgramInOSX

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox