NSApplication
Class at a Glance
Overview
The Delegate and Notifications
System Services
Subclassing Notes
Methods to Override
Special Considerations
Alternatives to Subclassing
Tasks
Constructors
Creating and Initializing an NSApplication
Getting Information About the Framework
Changing the Active Application
Running the Event Loop
Getting, Removing, and Posting Events
Managing Sheets
Managing Windows
Hiding All Windows
Setting the Application’s Icon
Getting the Main Menu
Managing the Window Menu
Managing the Services Menu
Showing Standard Panels
Displaying Help
Sending Action Messages
Getting the Display Context
Reporting an Exception
Terminating the Application
Assigning a Delegate
Handling User Attention Requests
Loading Nib Files
Opening files
Printing
Supplying a dock menu
Activating, launching, and updating an application
Hiding and unhiding an application
Terminating an application
Handling errors
Constructors
Static Methods
appkitVersionNumber
beep
loadNibFromBundle
loadNibNamed
sharedApplication
showSystemInfoPanel
Instance Methods
abortModal
activateContextHelpMode
activateIgnoringOtherApps
addWindowsItem
applicationIconImage
arrangeInFront
beginModalSessionForWindow
beginSheet
cancelUserAttentionRequest
changeWindowsItem
context
currentEvent
deactivate
delegate
discardEventsMatchingMask
endModalSession
endSheet
finishLaunching
hide
hideOtherApplications
isActive
isHidden
isRunning
keyWindow
mainMenu
mainWindow
makeWindowsPerform
miniaturizeAll
modalWindow
nextEventMatchingMask
orderFrontCharacterPalette
orderFrontColorPanel
orderFrontStandardAboutPanel
orderFrontStandardAboutPanelWithOptions
postEvent
preventWindowOrdering
registerServicesMenuTypes
removeWindowsItem
replyToApplicationShouldTerminate
replyToOpenOrPrint
reportException
requestUserAttention
run
runModalForWindow
runModalSession
runPageLayout
sendActionToTargetFromSender
sendEvent
servicesMenu
servicesProvider
setApplicationIconImage
setDelegate
setMainMenu
setServicesMenu
setServicesProvider
setWindowsMenu
setWindowsNeedUpdate
showHelp
stop
stopModal
stopModalWithCode
targetForAction
targetForActionToFrom
terminate
tryToPerform
unhide
unhideAllApplications
unhideWithoutActivation
updateWindows
updateWindowsItem
validRequestorForTypes
windows
windowsMenu
windowWithWindowNumber
Constants
Delegate Methods
applicationDidBecomeActive
applicationDidChangeScreenParameters
applicationDidFinishLaunching
applicationDidHide
applicationDidResignActive
applicationDidUnhide
applicationDidUpdate
applicationDockMenu
applicationOpenFile
applicationOpenFiles
applicationOpenFileWithoutUI
applicationOpenTempFile
applicationOpenUntitledFile
applicationPrintFile
applicationPrintFiles
applicationPrintFiles
applicationShouldHandleReopen
applicationShouldOpenUntitledFile
applicationShouldTerminate
applicationShouldTerminateAfterLastWindowClosed
applicationWillBecomeActive
applicationWillFinishLaunching
applicationWillHide
applicationWillPresentError
applicationWillResignActive
applicationWillTerminate
applicationWillUnhide
applicationWillUpdate
Notifications
ApplicationDidBecomeActiveNotification
ApplicationDidChangeScreenParametersNotification
ApplicationDidFinishLaunchingNotification
ApplicationDidHideNotification
ApplicationDidResignActiveNotification
ApplicationDidUnhideNotification
ApplicationDidUpdateNotification
ApplicationWillBecomeActiveNotification
ApplicationWillFinishLaunchingNotification
ApplicationWillHideNotification
ApplicationWillResignActiveNotification
ApplicationWillTerminateNotification
ApplicationWillUnhideNotification
ApplicationWillUpdateNotification
Index
Companion Guides
Application Architecture Overview
Notification Programming Topics for Cocoa
Sheet Programming Topics for Cocoa
System Services