rust_macios/appkit/
type_defs.rs

1use crate::foundation::{Int, NSString};
2
3/// Constants that specify color space names.
4pub type NSColorSpaceName = NSString;
5
6/// A set of button return values for modal dialogs.
7pub type NSModalResponse = Int;
8
9/// The standard window levels in macOS.
10pub type NSWindowLevel = Int;
11
12/// The type of a window’s frame autosave name.
13pub type NSWindowFrameAutosaveName = NSString;
14
15/// The type of a window’s frame descriptor.
16pub type NSWindowPersistableFrameDescriptor = NSString;
17
18/// Values that specify the reason for the `NSPopoverWillCloseNotification` notification.
19pub type NSPopoverCloseReasonValue = NSString;
20
21/// Named images, defined by the system or you, for use in your app.
22pub type NSImageName = NSString;
23
24/// The name of the storyboard file.
25pub type NSStoryboardName = NSString;