Stops a modal event loop, allowing you to return a custom result code.
Original signature is '- (void)stopModalWithCode:(NSInteger)returnCode'
Available in Mac OS X v10.0 and later.
- returnCode (NSInteger)
- The result code you want returned from the runModalForWindow: or runModalSession: method. The meaning of this result code is up to you.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)