AddKeyCommands
view:AddKeyCommands(arrayOfKeyCommandFrames)
Associates a collection of key commands with the view.
DISCUSSION
- arrayOfKeyCommandFrames
- An array of key command frames, as described in "The Command-Key Mapping Frame".
- return value
- Undefined; do not rely on it.
You can call the *
AddKeyCommands
method from yourViewSetupDoneScript
.This method is efficient for adding an array of key commands at once. A minimum of cloning is performed; in the case that a view already has one or more
keyCommands
defined, some cloning is performed.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help