Important: The information in this document is obsolete and should not be used for new development.
Inherits from | Object |
Package | com.apple.cocoa.application |
Companion guide |
An application uses an NSModalSession object when it begins and runs a modal session. An NSModalSession object encapsulates certain information about a session, such as the application, window, and graphics context involved. Because NSModalSession is a final class, you cannot subclass it. The NSApplication method beginModalSessionForWindow
creates a modal session, and the NSApplication methods runModalSession
and endModalSession
take it as an argument.
public NSModalSession
(int sessionID)
Returns an NSModalSession identified by the session number sessionID, which must be unique for the session.
© 1997, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-02-01)