package core:sys/darwin/Foundation

Warning: This was generated for -target:darwin_arm64 and might not represent every target this package supports.

⌘K
Ctrl+K
or
/

    Index

    Types (138)
    Constants (66)
    Procedures (807)

    Types

    ActivationPolicy ¶

    ActivationPolicy :: enum UInteger {
    	Regular    = 0, 
    	Accessory  = 1, 
    	Prohibited = 2, 
    }

    Related Procedures With Parameters

    ActivityOptionsBits ¶

    ActivityOptionsBits :: enum u64 {
    	IdleDisplaySleepDisabled             = log2(1099511627776),  // Require the screen to stay powered on.
    	IdleSystemSleepDisabled              = log2(1048576),        // Prevent idle sleep.
    	SuddenTerminationDisabled            = log2(16384),          // Prevent sudden termination.
    	AutomaticTerminationDisabled         = log2(32768),          // Prevent automatic termination.
    	AnimationTrackingEnabled             = log2(35184372088832), // Track activity with an animation signpost interval.
    	TrackingEnabled                      = log2(70368744177664), // Track activity with a signpost interval.
    	UserInitiated                        = log2(16777215),       // Performing a user-requested action.
    	UserInitiatedAllowingIdleSystemSleep = log2(15728639),       // Performing a user-requested action, but the system can sleep on idle.
    	Background                           = log2(255),            // Initiated some kind of work, but not as the direct result of a user request.
    	LatencyCritical                      = log2(1095216660480),  // Requires the highest amount of timer and I/O precision available.
    	UserInteractive                      = log2(1095233437695),  // Responding to user interaction.
    }

    ApplicationDelegate ¶

    ApplicationDelegate :: struct {
    	using _: Object,
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    Procedures Through `using` From Object
    Procedures Through `using` From objc_object

    ApplicationDelegateTemplate ¶

    ApplicationDelegateTemplate :: struct {
    	// Launching Applications
    	applicationWillFinishLaunching:                              proc(notification: ^Notification),
    	applicationDidFinishLaunching:                               proc(notification: ^Notification),
    	// Managing Active Status
    	applicationWillBecomeActive:                                 proc(notification: ^Notification),
    	applicationDidBecomeActive:                                  proc(notification: ^Notification),
    	applicationWillResignActive:                                 proc(notification: ^Notification),
    	applicationDidResignActive:                                  proc(notification: ^Notification),
    	// Terminating Applications
    	applicationShouldTerminate:                                  proc(sender: ^Application) -> ApplicationTerminateReply,
    	applicationShouldTerminateAfterLastWindowClosed:             proc(sender: ^Application) -> bool,
    	applicationWillTerminate:                                    proc(notification: ^Notification),
    	// Hiding Applications
    	applicationWillHide:                                         proc(notification: ^Notification),
    	applicationDidHide:                                          proc(notification: ^Notification),
    	applicationWillUnhide:                                       proc(notification: ^Notification),
    	applicationDidUnhide:                                        proc(notification: ^Notification),
    	// Managing Windows
    	applicationWillUpdate:                                       proc(notification: ^Notification),
    	applicationDidUpdate:                                        proc(notification: ^Notification),
    	applicationShouldHandleReopenHasVisibleWindows:              proc(sender: ^Application, flag: bool) -> bool,
    	// Managing the Dock Menu
    	applicationDockMenu:                                         proc(sender: ^Application) -> ^Menu,
    	// Localizing Keyboard Shortcuts
    	applicationShouldAutomaticallyLocalizeKeyEquivalents:        proc(application: ^Application) -> bool,
    	// Displaying Errors
    	applicationWillPresentError:                                 proc(application: ^Application, error: ^Error) -> ^Error,
    	// Managing the Screen
    	applicationDidChangeScreenParameters:                        proc(notification: ^Notification),
    	// Continuing User Activities
    	applicationWillContinueUserActivityWithType:                 proc(application: ^Application, userActivityType: ^String) -> bool,
    	applicationContinueUserActivityRestorationHandler:           proc(application: ^Application, userActivity: ^UserActivity, restorationHandler: ^Block) -> bool,
    	applicationDidFailToContinueUserActivityWithTypeError:       proc(application: ^Application, userActivityType: ^String, error: ^Error),
    	applicationDidUpdateUserActivity:                            proc(application: ^Application, userActivity: ^UserActivity),
    	// Handling Push Notifications
    	applicationDidRegisterForRemoteNotificationsWithDeviceToken: proc(application: ^Application, deviceToken: ^Data),
    	applicationDidFailToRegisterForRemoteNotificationsWithError: proc(application: ^Application, error: ^Error),
    	applicationDidReceiveRemoteNotification:                     proc(application: ^Application, userInfo: ^Dictionary),
    	// Handling CloudKit Invitations
    	// TODO: if/when we have cloud kit bindings implement
    	// applicationUserDidAcceptCloudKitShareWithMetadata:        proc(application: ^Application, metadata: ^CKShareMetadata),
    	// Handling SiriKit Intents
    	// TODO: if/when we have siri kit bindings implement
    	// applicationHandlerForIntent:                              proc(application: ^Application, intent: ^INIntent) -> id,
    	// Opening Files
    	applicationOpenURLs:                                         proc(application: ^Application, urls: ^Array),
    	applicationOpenFile:                                         proc(sender: ^Application, filename: ^String) -> bool,
    	applicationOpenFileWithoutUI:                                proc(sender: ^.objc_object, filename: ^String) -> bool,
    	applicationOpenTempFile:                                     proc(sender: ^Application, filename: ^String) -> bool,
    	applicationOpenFiles:                                        proc(sender: ^Application, filenames: ^Array),
    	applicationShouldOpenUntitledFile:                           proc(sender: ^Application) -> bool,
    	applicationOpenUntitledFile:                                 proc(sender: ^Application) -> bool,
    	// Printing
    	applicationPrintFile:                                        proc(sender: ^Application, filename: ^String) -> bool,
    	applicationPrintFilesWithSettingsShowPrintPanels:            proc(application: ^Application, fileNames: ^Array, printSettings: ^Dictionary, showPrintPanels: bool) -> ApplicationPrintReply,
    	// Restoring Application State
    	applicationSupportsSecureRestorableState:                    proc(app: ^Application) -> bool,
    	applicationProtectedDataDidBecomeAvailable:                  proc(notification: ^Notification),
    	applicationProtectedDataWillBecomeUnavailable:               proc(notification: ^Notification),
    	applicationWillEncodeRestorableState:                        proc(app: ^Application, coder: ^Coder),
    	applicationDidDecodeRestorableState:                         proc(app: ^Application, coder: ^Coder),
    	// Handling Changes to the Occlusion State
    	applicationDidChangeOcclusionState:                          proc(notification: ^Notification),
    	// Scripting Your App
    	applicationDelegateHandlesKey:                               proc(sender: ^Application, key: ^String) -> bool,
    }

    Related Procedures With Parameters

    ApplicationPresentationOptionFlag ¶

    ApplicationPresentationOptionFlag :: enum UInteger {
    	AutoHideDock                    = 0, 
    	HideDock                        = 1, 
    	AutoHideMenuBar                 = 2, 
    	HideMenuBar                     = 3, 
    	DisableAppleMenu                = 4, 
    	DisableProcessSwitching         = 5, 
    	DisableForceQuit                = 6, 
    	DisableSessionTermination       = 7, 
    	DisableHideApplication          = 8, 
    	DisableMenuBarTransparency      = 9, 
    	FullScreen                      = 10, 
    	AutoHideToolbar                 = 11, 
    	DisableCursorLocationAssistance = 12, 
    }

    ApplicationPrintReply ¶

    ApplicationPrintReply :: enum UInteger {
    	PrintingCancelled  = 0, 
    	PrintingSuccess    = 1, 
    	PrintingReplyLater = 2, 
    	PrintingFailure    = 3, 
    }

    ApplicationTerminateReply ¶

    ApplicationTerminateReply :: enum UInteger {
    	TerminateCancel = 0, 
    	TerminateNow    = 1, 
    	TerminateLater  = 2, 
    }

    AutoreleasePool ¶

    AutoreleasePool :: struct {
    	using _: Object,
    }

    BOOL ¶

    BOOL :: bool
     

    TODO(bill): should this be distinct?

    Related Procedures With Parameters

    Related Procedures With Returns

    BackingStoreType ¶

    BackingStoreType :: enum UInteger {
    	Retained    = 0, 
    	Nonretained = 1, 
    	Buffered    = 2, 
    }

    Related Procedures With Parameters

    BitmapFormatFlag ¶

    BitmapFormatFlag :: enum BitmapInteger {
    	AlphaFirst               = 0, 
    	AlphaNonpremultiplied    = 1, 
    	FloatingPointSamples     = 2, 
    	SixteenBitLittleEndian   = 8, 
    	ThirtyTwoBitLittleEndian = 9, 
    	SixteenBitBigEndian      = 10, 
    	ThirtyTwoBitBigEndian    = 11, 
    }

    BitmapImageRep ¶

    BitmapImageRep :: struct {
    	using _: Object,
    }

    BitmapInteger ¶

    BitmapInteger :: distinct uint

    Block ¶

    Block :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object

    Class_VTable_Info ¶

    Class_VTable_Info :: struct {
    	_context:        runtime.Context,
    	super_vtable:    rawptr,
    	protocol_vtable: rawptr,
    }

    Related Procedures With Returns

    Color ¶

    Color :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object

    ComparisonResult ¶

    ComparisonResult :: enum Integer {
    	OrderedAscending  = -1, 
    	OrderedSame       = 0, 
    	OrderedDescending = 1, 
    }

    Related Procedures With Returns

    Condition ¶

    Condition :: struct {
    	using _: Locking($T=Condition),
    }

    Copying ¶

    Copying :: struct($T: typeid) {
    	… // See source for fields
    }

    Cursor ¶

    Cursor :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object

    Date ¶

    Date :: struct {
    	using _: Copying($T=Date),
    }

    Depth ¶

    Depth :: enum UInteger {
    	onehundredtwentyeightBitRGB = 544, 
    	sixtyfourBitRGB             = 528, 
    	twentyfourBitRGB            = 520, 
    }

    Related Procedures With Returns

    Dictionary ¶

    Dictionary :: struct {
    	using _: Copying($T=Dictionary),
    }

    Enumerator ¶

    Enumerator :: struct($T: typeid) {
    	… // See source for fields
    }

    ErrorDomain ¶

    ErrorDomain :: ^String

    Related Procedures With Parameters

    Related Procedures With Returns

    ErrorUserInfoKey ¶

    ErrorUserInfoKey :: ^String

    Related Procedures With Parameters

    Related Procedures With Returns

    EventMask ¶

    EventMask :: distinct bit_set[EventType; UInteger]

    Related Procedures With Parameters

    Related Constants

    EventModifierFlag ¶

    EventModifierFlag :: enum UInteger {
    	CapsLock   = 16, 
    	Shift      = 17, 
    	Control    = 18, 
    	Option     = 19, 
    	Command    = 20, 
    	NumericPad = 21, 
    	Help       = 22, 
    	Function   = 23, 
    }

    EventPhaseFlag ¶

    EventPhaseFlag :: enum UInteger {
    	Began      = 0, 
    	Stationary = 1, 
    	Changed    = 2, 
    	Ended      = 3, 
    	Cancelled  = 4, 
    	MayBegin   = 5, 
    }

    EventType ¶

    EventType :: enum UInteger {
    	LeftMouseDown      = 1, 
    	LeftMouseUp        = 2, 
    	RightMouseDown     = 3, 
    	RightMouseUp       = 4, 
    	MouseMoved         = 5, 
    	LeftMouseDragged   = 6, 
    	RightMouseDragged  = 7, 
    	MouseEntered       = 8, 
    	MouseExited        = 9, 
    	KeyDown            = 10, 
    	KeyUp              = 11, 
    	FlagsChanged       = 12, 
    	AppKitDefined      = 13, 
    	SystemDefined      = 14, 
    	ApplicationDefined = 15, 
    	Periodic           = 16, 
    	CursorUpdate       = 17, 
    	Rotate             = 18, 
    	BeginGesture       = 19, 
    	EndGesture         = 20, 
    	ScrollWheel        = 22, 
    	TabletPoint        = 23, 
    	TabletProximity    = 24, 
    	OtherMouseDown     = 25, 
    	OtherMouseUp       = 26, 
    	OtherMouseDragged  = 27, 
    	Gesture            = 29, 
    	Magnify            = 30, 
    	Swipe              = 31, 
    	SmartMagnify       = 32, 
    	QuickLook          = 33, 
    	Pressure           = 34, 
    	DirectTouch        = 37, 
    	ChangeMode         = 38, 
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    FastEnumeration ¶

    FastEnumeration :: struct {
    	using _: Object,
    }

    FastEnumerationState ¶

    FastEnumerationState :: struct #packed {
    	state:        u32,
    	itemsPtr:     [^]^Object,
    	mutationsPtr: [^]u32,
    	extra:        [5]u32,
    }

    Related Procedures With Parameters

    Locking ¶

    Locking :: struct($T: typeid) {
    	… // See source for fields
    }

    Related Procedures With Parameters

    Menu :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object
    MenuItem :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object
    MenuItemCallback :: proc "c" (unused: rawptr, name: ^.objc_selector, sender: ^Object)

    Related Procedures With Parameters

    MenuPresentationStyle :: enum i32 {
    	Regular = 0, 
    	Palette = 1, 
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    MenuProperties :: distinct bit_set[MenuPropertyItem; u32]

    Related Procedures With Returns

    MenuPropertyItem :: enum u32 {
    	Title                    = 0, 
    	AttributedTitle          = 1, 
    	KeyEquivalent            = 2, 
    	Image                    = 3, 
    	Enabled                  = 4, 
    	AccessibilityDescription = 5, 
    }
    MenuSelectionMode :: enum i32 {
    	Automatic = 0, 
    	SelectOne = 1, 
    	SelectAny = 2, 
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    ModalResponse ¶

    ModalResponse :: enum UInteger {
    	Cancel = 0, 
    	OK     = 1, 
    }

    Related Procedures With Returns

    Notification ¶

    Notification :: struct {
    	using _: Object,
    }

    NotificationCenter ¶

    NotificationCenter :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object

    NotificationName ¶

    NotificationName :: ^String

    Related Procedures With Parameters

    Related Procedures With Returns

    Object_VTable_Info ¶

    Object_VTable_Info :: struct {
    	vtable: rawptr,
    	size:   uint,
    	impl:   Subclasser_Proc,
    }

    Related Procedures With Returns

    OpenPanel ¶

    OpenPanel :: struct {
    	using _: SavePanel,
    }

    Bound Objective-C Methods

    Methods Inherited From SavePanel
    Methods Inherited From Window
    Methods Inherited From Object

    OperatingSystemVersion ¶

    OperatingSystemVersion :: struct #align (8) {
    	majorVersion: Integer,
    	minorVersion: Integer,
    	patchVersion: Integer,
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    PointingDeviceType ¶

    PointingDeviceType :: enum UInteger {
    	Unknown = 0, 
    	Pen     = 1, 
    	Cursor  = 2, 
    	Eraser  = 3, 
    }
     

    pointer types for NSTabletProximity events or mouse events with subtype NSTabletProximityEventSubtype

    Related Procedures With Returns

    ProcessInfoThermalState ¶

    ProcessInfoThermalState :: enum i32 {
    	Nominal, 
    	Fair, 
    	Serious, 
    	Critical, 
    }

    Related Procedures With Returns

    Protocol ¶

    Protocol :: struct {
    	using _: .objc_object,
    }

    Range ¶

    Range :: struct {
    	location: UInteger,
    	length:   UInteger,
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    RunLoop ¶

    RunLoop :: struct {
    	using _: Object,
    }

    RunLoopMode ¶

    RunLoopMode :: ^String

    Related Procedures With Parameters

    Related Procedures With Returns

    Screen ¶

    Screen :: struct {
    	using _: Object,
    }

    Set ¶

    Set :: struct {
    	using _: Copying($T=Set),
    }

    Size ¶

    Size :: CoreFoundation.CGSize

    Related Procedures With Parameters

    Related Procedures With Returns

    StringCompareOption ¶

    StringCompareOption :: enum UInteger {
    	CaseInsensitive      = 0, 
    	LiteralSearch        = 1, 
    	BackwardsSearch      = 2, 
    	AnchoredSearch       = 3, 
    	NumericSearch        = 6, 
    	DiacriticInsensitive = 7, 
    	WidthInsensitive     = 8, 
    	ForcedOrdering       = 9, 
    	RegularExpression    = 10, 
    }

    StringCompareOptions ¶

    StringCompareOptions :: distinct bit_set[StringCompareOption; UInteger]

    Related Procedures With Parameters

    StringEncoding ¶

    StringEncoding :: enum UInteger {
    	ASCII             = 1, 
    	NEXTSTEP          = 2, 
    	JapaneseEUC       = 3, 
    	UTF8              = 4, 
    	ISOLatin1         = 5, 
    	Symbol            = 6, 
    	NonLossyASCII     = 7, 
    	ShiftJIS          = 8, 
    	ISOLatin2         = 9, 
    	Unicode           = 10, 
    	WindowsCP1251     = 11, 
    	WindowsCP1252     = 12, 
    	WindowsCP1253     = 13, 
    	WindowsCP1254     = 14, 
    	WindowsCP1250     = 15, 
    	ISO2022JP         = 21, 
    	MacOSRoman        = 30, 
    	UTF16             = Unicode, 
    	UTF16BigEndian    = 0x90000100, 
    	UTF16LittleEndian = 0x94000100, 
    	UTF32             = 0x8c000100, 
    	UTF32BigEndian    = 0x98000100, 
    	UTF32LittleEndian = 0x9c000100, 
    }

    Related Procedures With Parameters

    Subclasser_Proc ¶

    Subclasser_Proc :: proc(cls: ^.objc_class, vtable: rawptr)

    Toolbar ¶

    Toolbar :: struct {
    	using _: Object,
    }

    URLRequest ¶

    URLRequest :: struct {
    	using _: Object,
    }

    Bound Objective-C Methods

    Methods Inherited From Object

    URLResponse ¶

    URLResponse :: struct {
    	using _: Object,
    }

    UserDefaults ¶

    UserDefaults :: struct {
    	using _: Object,
    }

    UserInterfaceLayoutDirection ¶

    UserInterfaceLayoutDirection :: enum i32 {
    	LeftToRight = 0, 
    	RightToLeft = 1, 
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    WindowCollectionBehaviorFlag ¶

    WindowCollectionBehaviorFlag :: enum UInteger {
    	CanJoinAllSpaces          = 0, 
    	MoveToActiveSpace         = 1, 
    	Managed                   = 2, 
    	Transient                 = 3, 
    	Stationary                = 4, 
    	ParticipatesInCycle       = 5, 
    	IgnoresCycle              = 6, 
    	FullScreenPrimary         = 7, 
    	FullScreenAuxiliary       = 8, 
    	FullScreenNone            = 9, 
    	FullScreenAllowsTiling    = 11, 
    	FullScreenDisallowsTiling = 12, 
    	Primary                   = 16, 
    	Auxiliary                 = 17, 
    	CanJoinAllApplications    = 18, 
    }

    WindowDelegate ¶

    WindowDelegate :: struct {
    	using _: Object,
    }
     

    This is not the same as NSWindowDelegate

    Related Procedures With Parameters

    Related Procedures With Returns

    Procedures Through `using` From Object
    Procedures Through `using` From objc_object

    WindowDelegateTemplate ¶

    WindowDelegateTemplate :: struct {
    	// Managing Sheets
    	windowWillPositionSheetUsingRect:                                    proc(window: ^Window, sheet: ^Window, rect: CoreFoundation.CGRect) -> CoreFoundation.CGRect,
    	windowWillBeginSheet:                                                proc(notification: ^Notification),
    	windowDidEndSheet:                                                   proc(notification: ^Notification),
    	// Sizing Windows
    	windowWillResizeToSize:                                              proc(sender: ^Window, frameSize: CoreFoundation.CGSize) -> CoreFoundation.CGSize,
    	windowDidResize:                                                     proc(notification: ^Notification),
    	windowWillStartLiveResize:                                           proc(noitifcation: ^Notification),
    	windowDidEndLiveResize:                                              proc(notification: ^Notification),
    	// Minimizing Windows
    	windowWillMiniaturize:                                               proc(notification: ^Notification),
    	windowDidMiniaturize:                                                proc(notification: ^Notification),
    	windowDidDeminiaturize:                                              proc(notification: ^Notification),
    	// Zooming window
    	windowWillUseStandardFrameDefaultFrame:                              proc(window: ^Window, newFrame: CoreFoundation.CGRect) -> CoreFoundation.CGRect,
    	windowShouldZoomToFrame:                                             proc(window: ^Window, newFrame: CoreFoundation.CGRect) -> bool,
    	// Managing Full-Screen Presentation
    	windowWillUseFullScreenContentSize:                                  proc(window: ^Window, proposedSize: CoreFoundation.CGSize) -> CoreFoundation.CGSize,
    	windowWillUseFullScreenPresentationOptions:                          proc(window: ^Window, proposedOptions: ApplicationPresentationOptions) -> ApplicationPresentationOptions,
    	windowWillEnterFullScreen:                                           proc(notification: ^Notification),
    	windowDidEnterFullScreen:                                            proc(notification: ^Notification),
    	windowWillExitFullScreen:                                            proc(notification: ^Notification),
    	windowDidExitFullScreen:                                             proc(notification: ^Notification),
    	// Custom Full-Screen Presentation Animations
    	customWindowsToEnterFullScreenForWindow:                             proc(window: ^Window) -> ^Array,
    	customWindowsToEnterFullScreenForWindowOnScreen:                     proc(window: ^Window, screen: ^Screen) -> ^Array,
    	windowStartCustomAnimationToEnterFullScreenWithDuration:             proc(window: ^Window, duration: TimeInterval),
    	windowStartCustomAnimationToEnterFullScreenOnScreenWithDuration:     proc(window: ^Window, screen: ^Screen, duration: TimeInterval),
    	windowDidFailToEnterFullScreen:                                      proc(window: ^Window),
    	customWindowsToExitFullScreenForWindow:                              proc(window: ^Window) -> ^Array,
    	windowStartCustomAnimationToExitFullScreenWithDuration:              proc(window: ^Window, duration: TimeInterval),
    	windowDidFailToExitFullScreen:                                       proc(window: ^Window),
    	// Moving Windows
    	windowWillMove:                                                      proc(notification: ^Notification),
    	windowDidMove:                                                       proc(notification: ^Notification),
    	windowDidChangeScreen:                                               proc(notification: ^Notification),
    	windowDidChangeScreenProfile:                                        proc(notification: ^Notification),
    	windowDidChangeBackingProperties:                                    proc(notification: ^Notification),
    	// Closing Windows
    	windowShouldClose:                                                   proc(sender: ^Window) -> bool,
    	windowWillClose:                                                     proc(notification: ^Notification),
    	// Managing Key Status
    	windowDidBecomeKey:                                                  proc(notification: ^Notification),
    	windowDidResignKey:                                                  proc(notification: ^Notification),
    	// Managing Main Status
    	windowDidBecomeMain:                                                 proc(notification: ^Notification),
    	windowDidResignMain:                                                 proc(notification: ^Notification),
    	// Managing Field Editors
    	windowWillReturnFieldEditorToObject:                                 proc(sender: ^Window, client: ^.objc_object) -> ^.objc_object,
    	// Updating Windows
    	windowDidUpdate:                                                     proc(notification: ^Notification),
    	// Exposing Windows
    	windowDidExpose:                                                     proc(notification: ^Notification),
    	// Managing Occlusion State
    	windowDidChangeOcclusionState:                                       proc(notification: ^Notification),
    	// Dragging Windows
    	windowShouldDragDocumentWithEventFromWithPasteboard:                 proc(window: ^Window, event: ^Event, dragImageLocation: CoreFoundation.CGPoint, pasteboard: ^Pasteboard) -> bool,
    	// Getting the Undo Manager
    	windowWillReturnUndoManager:                                         proc(window: ^Window) -> ^UndoManager,
    	// Managing Titles
    	windowShouldPopUpDocumentPathMenu:                                   proc(window: ^Window, menu: ^Menu) -> bool,
    	// Managing Restorable State
    	windowWillEncodeRestorableState:                                     proc(window: ^Window, state: ^Coder),
    	windowDidEncodeRestorableState:                                      proc(window: ^Window, state: ^Coder),
    	// Managing Presentation in Version Browsers
    	windowWillResizeForVersionBrowserWithMaxPreferredSizeMaxAllowedSize: proc(window: ^Window, maxPreferredFrameSize: CoreFoundation.CGSize, maxAllowedFrameSize: CoreFoundation.CGSize) -> CoreFoundation.CGSize,
    	windowWillEnterVersionBrowser:                                       proc(notification: ^Notification),
    	windowDidEnterVersionBrowser:                                        proc(notification: ^Notification),
    	windowWillExitVersionBrowser:                                        proc(notification: ^Notification),
    	windowDidExitVersionBrowser:                                         proc(notification: ^Notification),
    }

    Related Procedures With Parameters

    WindowLevel ¶

    WindowLevel :: enum Integer {
    	Normal      = 0, 
    	Floating    = 3, 
    	Submenu     = 3, 
    	TornOffMenu = 3, 
    	ModalPanel  = 8, 
    	MainMenu    = 24, 
    	Status      = 25, 
    	PopUpMenu   = 101, 
    	ScreenSaver = 1000, 
    }

    Related Procedures With Parameters

    WindowStyleFlag ¶

    WindowStyleFlag :: enum UInteger {
    	Titled                 = 0, 
    	Closable               = 1, 
    	Miniaturizable         = 2, 
    	Resizable              = 3, 
    	TexturedBackground     = 8, 
    	UnifiedTitleAndToolbar = 12, 
    	FullScreen             = 14, 
    	FullSizeContentView    = 15, 
    	UtilityWindow          = 4, 
    	DocModalWindow         = 6, 
    	NonactivatingPanel     = 7, 
    	HUDWindow              = 13, 
    }

    WindowTabbingMode ¶

    WindowTabbingMode :: enum Integer {
    	Automatic  = 0, 
    	Preferred  = 1, 
    	Disallowed = 2, 
    }

    Related Procedures With Parameters

    Window_Title_Visibility ¶

    Window_Title_Visibility :: enum UInteger {
    	Visible, 
    	Hidden, 
    }

    Related Procedures With Parameters

    id ¶

    id :: ^.objc_object

    Related Procedures With Parameters

    Related Procedures With Returns

    kVK ¶

    kVK :: enum int {
    	ANSI_A              = 0x00, 
    	ANSI_S              = 0x01, 
    	ANSI_D              = 0x02, 
    	ANSI_F              = 0x03, 
    	ANSI_H              = 0x04, 
    	ANSI_G              = 0x05, 
    	ANSI_Z              = 0x06, 
    	ANSI_X              = 0x07, 
    	ANSI_C              = 0x08, 
    	ANSI_V              = 0x09, 
    	ANSI_B              = 0x0B, 
    	ANSI_Q              = 0x0C, 
    	ANSI_W              = 0x0D, 
    	ANSI_E              = 0x0E, 
    	ANSI_R              = 0x0F, 
    	ANSI_Y              = 0x10, 
    	ANSI_T              = 0x11, 
    	ANSI_1              = 0x12, 
    	ANSI_2              = 0x13, 
    	ANSI_3              = 0x14, 
    	ANSI_4              = 0x15, 
    	ANSI_6              = 0x16, 
    	ANSI_5              = 0x17, 
    	ANSI_Equal          = 0x18, 
    	ANSI_9              = 0x19, 
    	ANSI_7              = 0x1A, 
    	ANSI_Minus          = 0x1B, 
    	ANSI_8              = 0x1C, 
    	ANSI_0              = 0x1D, 
    	ANSI_RightBracket   = 0x1E, 
    	ANSI_O              = 0x1F, 
    	ANSI_U              = 0x20, 
    	ANSI_LeftBracket    = 0x21, 
    	ANSI_I              = 0x22, 
    	ANSI_P              = 0x23, 
    	ANSI_L              = 0x25, 
    	ANSI_J              = 0x26, 
    	ANSI_Quote          = 0x27, 
    	ANSI_K              = 0x28, 
    	ANSI_Semicolon      = 0x29, 
    	ANSI_Backslash      = 0x2A, 
    	ANSI_Comma          = 0x2B, 
    	ANSI_Slash          = 0x2C, 
    	ANSI_N              = 0x2D, 
    	ANSI_M              = 0x2E, 
    	ANSI_Period         = 0x2F, 
    	ANSI_Grave          = 0x32, 
    	ANSI_KeypadDecimal  = 0x41, 
    	ANSI_KeypadMultiply = 0x43, 
    	ANSI_KeypadPlus     = 0x45, 
    	ANSI_KeypadClear    = 0x47, 
    	ANSI_KeypadDivide   = 0x4B, 
    	ANSI_KeypadEnter    = 0x4C, 
    	ANSI_KeypadMinus    = 0x4E, 
    	ANSI_KeypadEquals   = 0x51, 
    	ANSI_Keypad0        = 0x52, 
    	ANSI_Keypad1        = 0x53, 
    	ANSI_Keypad2        = 0x54, 
    	ANSI_Keypad3        = 0x55, 
    	ANSI_Keypad4        = 0x56, 
    	ANSI_Keypad5        = 0x57, 
    	ANSI_Keypad6        = 0x58, 
    	ANSI_Keypad7        = 0x59, 
    	ANSI_Keypad8        = 0x5B, 
    	ANSI_Keypad9        = 0x5C, 
    	Return              = 0x24, 
    	Tab                 = 0x30, 
    	Space               = 0x31, 
    	Delete              = 0x33, 
    	Escape              = 0x35, 
    	Command             = 0x37, 
    	Shift               = 0x38, 
    	CapsLock            = 0x39, 
    	Option              = 0x3A, 
    	Control             = 0x3B, 
    	RightCommand        = 0x36, 
    	RightShift          = 0x3C, 
    	RightOption         = 0x3D, 
    	RightControl        = 0x3E, 
    	Function            = 0x3F, 
    	F17                 = 0x40, 
    	VolumeUp            = 0x48, 
    	VolumeDown          = 0x49, 
    	Mute                = 0x4A, 
    	F18                 = 0x4F, 
    	F19                 = 0x50, 
    	F20                 = 0x5A, 
    	F5                  = 0x60, 
    	F6                  = 0x61, 
    	F7                  = 0x62, 
    	F3                  = 0x63, 
    	F8                  = 0x64, 
    	F9                  = 0x65, 
    	F11                 = 0x67, 
    	F13                 = 0x69, 
    	F16                 = 0x6A, 
    	F14                 = 0x6B, 
    	F10                 = 0x6D, 
    	F12                 = 0x6F, 
    	F15                 = 0x71, 
    	Help                = 0x72, 
    	Home                = 0x73, 
    	PageUp              = 0x74, 
    	ForwardDelete       = 0x75, 
    	F4                  = 0x76, 
    	End                 = 0x77, 
    	F2                  = 0x78, 
    	PageDown            = 0x79, 
    	F1                  = 0x7A, 
    	LeftArrow           = 0x7B, 
    	RightArrow          = 0x7C, 
    	DownArrow           = 0x7D, 
    	UpArrow             = 0x7E, 
    	JIS_Yen             = 0x5D, 
    	JIS_Underscore      = 0x5E, 
    	JIS_KeypadComma     = 0x5F, 
    	JIS_Eisu            = 0x66, 
    	JIS_Kana            = 0x68, 
    	ISO_Section         = 0x0A, 
    }
     

    Defined in Carbon.framework Events.h

    objc_AssociationPolicy ¶

    objc_AssociationPolicy :: enum uintptr {
    	Assign           = 0, 
    	Retain_Nonatomic = 1, 
    	Copy_Nonatomic   = 3, 
    	Retain           = 01401, 
    	Copy             = 01403, 
    }

    Related Procedures With Parameters

    objc_cache ¶

    objc_cache :: struct {
    	mask:     u32,
    	occupied: u32,
    	buckets:  [1]^objc_method,
    }

    objc_class_internals ¶

    objc_class_internals :: struct {
    	isa:           ^.objc_class,
    	super_class:   ^.objc_class,
    	name:          cstring,
    	version:       i32,
    	info:          i32,
    	instance_size: i32,
    	ivars:         ^objc_ivar_list,
    	methodLists:   ^^objc_method_list,
    	cache:         rawptr,
    	protocols:     rawptr,
    }

    objc_ivar_list ¶

    objc_ivar_list :: struct {}

    objc_method_list ¶

    objc_method_list :: struct {}

    objc_object_internals ¶

    objc_object_internals :: struct {
    	isa: ^objc_class_internals,
    }

    objc_property ¶

    objc_property :: struct {}

    Related Procedures With Parameters

    Related Procedures With Returns

    objc_property_attribute_t ¶

    objc_property_attribute_t :: struct {
    	name:  cstring,
    	value: cstring,
    }

    Related Procedures With Parameters

    Related Procedures With Returns

    objc_protocol_list ¶

    objc_protocol_list :: struct {
    	next:  ^objc_protocol_list,
    	count: i32,
    	list:  [1]^Protocol,
    }

    unichar ¶

    unichar :: distinct u16

    Related Procedures With Returns

    Constants

    ApplicationPresentationOptionsAutoHideDock ¶

    ApplicationPresentationOptionsAutoHideDock :: ApplicationPresentationOptions{.AutoHideDock}

    ApplicationPresentationOptionsAutoHideMenuBar ¶

    ApplicationPresentationOptionsAutoHideMenuBar :: ApplicationPresentationOptions{.AutoHideMenuBar}

    ApplicationPresentationOptionsAutoHideToolbar ¶

    ApplicationPresentationOptionsAutoHideToolbar :: ApplicationPresentationOptions{.AutoHideToolbar}

    ApplicationPresentationOptionsDefault ¶

    ApplicationPresentationOptionsDefault :: ApplicationPresentationOptions{}

    ApplicationPresentationOptionsDisableAppleMenu ¶

    ApplicationPresentationOptionsDisableAppleMenu :: ApplicationPresentationOptions{.DisableAppleMenu}

    ApplicationPresentationOptionsDisableCursorLocationAssistance ¶

    ApplicationPresentationOptionsDisableCursorLocationAssistance :: ApplicationPresentationOptions{.DisableCursorLocationAssistance}

    ApplicationPresentationOptionsDisableForceQuit ¶

    ApplicationPresentationOptionsDisableForceQuit :: ApplicationPresentationOptions{.DisableForceQuit}

    ApplicationPresentationOptionsDisableHideApplication ¶

    ApplicationPresentationOptionsDisableHideApplication :: ApplicationPresentationOptions{.DisableHideApplication}

    ApplicationPresentationOptionsDisableMenuBarTransparency ¶

    ApplicationPresentationOptionsDisableMenuBarTransparency :: ApplicationPresentationOptions{.DisableMenuBarTransparency}

    ApplicationPresentationOptionsDisableProcessSwitching ¶

    ApplicationPresentationOptionsDisableProcessSwitching :: ApplicationPresentationOptions{.DisableProcessSwitching}

    ApplicationPresentationOptionsDisableSessionTermination ¶

    ApplicationPresentationOptionsDisableSessionTermination :: ApplicationPresentationOptions{.DisableSessionTermination}

    ApplicationPresentationOptionsFullScreen ¶

    ApplicationPresentationOptionsFullScreen :: ApplicationPresentationOptions{.FullScreen}

    ApplicationPresentationOptionsHideDock ¶

    ApplicationPresentationOptionsHideDock :: ApplicationPresentationOptions{.HideDock}

    ApplicationPresentationOptionsHideMenuBar ¶

    ApplicationPresentationOptionsHideMenuBar :: ApplicationPresentationOptions{.HideMenuBar}

    EventMaskAny ¶

    EventMaskAny: EventMask : transmute(EventMask)(max(UInteger))

    EventModifierFlagCapsLock ¶

    EventModifierFlagCapsLock :: EventModifierFlags{.CapsLock}

    EventModifierFlagCommand ¶

    EventModifierFlagCommand :: EventModifierFlags{.Command}

    EventModifierFlagControl ¶

    EventModifierFlagControl :: EventModifierFlags{.Control}

    EventModifierFlagDeviceIndependentFlagsMask ¶

    EventModifierFlagDeviceIndependentFlagsMask: UInteger : 0xffff0000

    EventModifierFlagFunction ¶

    EventModifierFlagFunction :: EventModifierFlags{.Function}

    EventModifierFlagHelp ¶

    EventModifierFlagHelp :: EventModifierFlags{.Help}

    EventModifierFlagNumericPad ¶

    EventModifierFlagNumericPad :: EventModifierFlags{.NumericPad}

    EventModifierFlagOption ¶

    EventModifierFlagOption :: EventModifierFlags{.Option}

    EventModifierFlagShift ¶

    EventModifierFlagShift :: EventModifierFlags{.Shift}

    EventPhaseBegan ¶

    EventPhaseBegan :: EventPhase{.Began}

    EventPhaseCancelled ¶

    EventPhaseCancelled :: EventPhase{.Cancelled}

    EventPhaseChanged ¶

    EventPhaseChanged :: EventPhase{.Changed}

    EventPhaseEnded ¶

    EventPhaseEnded :: EventPhase{.Ended}

    EventPhaseMayBegin ¶

    EventPhaseMayBegin :: EventPhase{.MayBegin}

    EventPhaseNone ¶

    EventPhaseNone :: EventPhase{}

    EventPhaseStationary ¶

    EventPhaseStationary :: EventPhase{.Stationary}

    IntegerMax ¶

    IntegerMax: Integer : max(Integer)

    Integermin ¶

    Integermin: Integer : min(Integer)

    NO ¶

    NO :: false

    NotFound ¶

    NotFound :: IntegerMax

    UIntegerMax ¶

    UIntegerMax: UInteger : max(UInteger)

    WindowCollectionBehaviorAuxiliary ¶

    WindowCollectionBehaviorAuxiliary :: WindowCollectionBehavior{.Auxiliary, .FullScreenNone}

    WindowCollectionBehaviorCanJoinAllApplications ¶

    WindowCollectionBehaviorCanJoinAllApplications :: WindowCollectionBehavior{.CanJoinAllApplications}

    WindowCollectionBehaviorCanJoinAllSpaces ¶

    WindowCollectionBehaviorCanJoinAllSpaces :: WindowCollectionBehavior{.CanJoinAllSpaces}

    WindowCollectionBehaviorDefault ¶

    WindowCollectionBehaviorDefault :: WindowCollectionBehavior{}

    WindowCollectionBehaviorFullScreenAllowsTiling ¶

    WindowCollectionBehaviorFullScreenAllowsTiling :: WindowCollectionBehavior{.FullScreenAllowsTiling}

    WindowCollectionBehaviorFullScreenAuxiliary ¶

    WindowCollectionBehaviorFullScreenAuxiliary :: WindowCollectionBehavior{.FullScreenAuxiliary}

    WindowCollectionBehaviorFullScreenDisallowsTiling ¶

    WindowCollectionBehaviorFullScreenDisallowsTiling :: WindowCollectionBehavior{.FullScreenDisallowsTiling}

    WindowCollectionBehaviorFullScreenNone ¶

    WindowCollectionBehaviorFullScreenNone :: WindowCollectionBehavior{.FullScreenNone}

    WindowCollectionBehaviorFullScreenPrimary ¶

    WindowCollectionBehaviorFullScreenPrimary :: WindowCollectionBehavior{.FullScreenPrimary}

    WindowCollectionBehaviorIgnoresCycle ¶

    WindowCollectionBehaviorIgnoresCycle :: WindowCollectionBehavior{.IgnoresCycle}

    WindowCollectionBehaviorManaged ¶

    WindowCollectionBehaviorManaged :: WindowCollectionBehavior{.Managed}

    WindowCollectionBehaviorMoveToActiveSpace ¶

    WindowCollectionBehaviorMoveToActiveSpace :: WindowCollectionBehavior{.MoveToActiveSpace}

    WindowCollectionBehaviorParticipatesInCycle ¶

    WindowCollectionBehaviorParticipatesInCycle :: WindowCollectionBehavior{.ParticipatesInCycle}

    WindowCollectionBehaviorPrimary ¶

    WindowCollectionBehaviorPrimary :: WindowCollectionBehavior{.Primary, .FullScreenAuxiliary}

    WindowCollectionBehaviorStationary ¶

    WindowCollectionBehaviorStationary :: WindowCollectionBehavior{.Stationary}

    WindowCollectionBehaviorTransient ¶

    WindowCollectionBehaviorTransient :: WindowCollectionBehavior{.Transient}

    WindowStyleMaskBorderless ¶

    WindowStyleMaskBorderless :: WindowStyleMask{}

    WindowStyleMaskClosable ¶

    WindowStyleMaskClosable :: WindowStyleMask{.Closable}

    WindowStyleMaskDocModalWindow ¶

    WindowStyleMaskDocModalWindow :: WindowStyleMask{.DocModalWindow}

    WindowStyleMaskFullScreen ¶

    WindowStyleMaskFullScreen :: WindowStyleMask{.FullScreen}

    WindowStyleMaskFullSizeContentView ¶

    WindowStyleMaskFullSizeContentView :: WindowStyleMask{.FullSizeContentView}

    WindowStyleMaskHUDWindow ¶

    WindowStyleMaskHUDWindow :: WindowStyleMask{.HUDWindow}

    WindowStyleMaskMiniaturizable ¶

    WindowStyleMaskMiniaturizable :: WindowStyleMask{.Miniaturizable}

    WindowStyleMaskNonactivatingPanel ¶

    WindowStyleMaskNonactivatingPanel :: WindowStyleMask{.NonactivatingPanel}

    WindowStyleMaskResizable ¶

    WindowStyleMaskResizable :: WindowStyleMask{.Resizable}

    WindowStyleMaskTexturedBackground ¶

    WindowStyleMaskTexturedBackground :: WindowStyleMask{.TexturedBackground}

    WindowStyleMaskTitled ¶

    WindowStyleMaskTitled :: WindowStyleMask{.Titled}

    WindowStyleMaskUnifiedTitleAndToolbar ¶

    WindowStyleMaskUnifiedTitleAndToolbar :: WindowStyleMask{.UnifiedTitleAndToolbar}

    WindowStyleMaskUtilityWindow ¶

    WindowStyleMaskUtilityWindow :: WindowStyleMask{.UtilityWindow}

    YES ¶

    YES :: true

    Variables

    CocoaErrorDomain ¶

    @(linkage="weak")
    CocoaErrorDomain: ^String

    DebugDescriptionErrorKey ¶

    @(linkage="weak")
    DebugDescriptionErrorKey: ^String

    DefaultRunLoopMode ¶

    DefaultRunLoopMode: ^String

    DeviceRGBColorSpace ¶

    DeviceRGBColorSpace: ^String

    EventTrackingRunLoopMode ¶

    EventTrackingRunLoopMode: ^String

    FilePathErrorKey ¶

    @(linkage="weak")
    FilePathErrorKey: ^String

    HelpAnchorErrorKey ¶

    @(linkage="weak")
    HelpAnchorErrorKey: ^String

    KeyEventModifierFlagDeviceIndependentFlagsMask ¶

    KeyEventModifierFlagDeviceIndependentFlagsMask: EventModifierFlags = …
     

    Used to retrieve only the device-independent modifier flags, allowing applications to mask off the device-dependent modifier flags, including event coalescing information.

    LocalizedDescriptionKey ¶

    @(linkage="weak")
    LocalizedDescriptionKey: ^String

    LocalizedFailureErrorKey ¶

    @(linkage="weak")
    LocalizedFailureErrorKey: ^String

    LocalizedFailureReasonErrorKey ¶

    @(linkage="weak")
    LocalizedFailureReasonErrorKey: ^String

    LocalizedRecoveryOptionsErrorKey ¶

    @(linkage="weak")
    LocalizedRecoveryOptionsErrorKey: ^String

    LocalizedRecoverySuggestionErrorKey ¶

    @(linkage="weak")
    LocalizedRecoverySuggestionErrorKey: ^String

    MachErrorDomain ¶

    @(linkage="weak")
    MachErrorDomain: ^String

    ModalPanelRunLoopMode ¶

    ModalPanelRunLoopMode: ^String

    OSStatusErrorDomain ¶

    @(linkage="weak")
    OSStatusErrorDomain: ^String

    POSIXErrorDomain ¶

    @(linkage="weak")
    POSIXErrorDomain: ^String

    RecoveryAttempterErrorKey ¶

    @(linkage="weak")
    RecoveryAttempterErrorKey: ^String

    RunLoopCommonModes ¶

    RunLoopCommonModes: ^String

    StringEncodingErrorKey ¶

    @(linkage="weak")
    StringEncodingErrorKey: ^String

    URLErrorKey ¶

    @(linkage="weak")
    URLErrorKey: ^String

    UnderlyingErrorKey ¶

    @(linkage="weak")
    UnderlyingErrorKey: ^String

    Procedures

    AT ¶

     

    CFString is 'toll-free bridged' with its Cocoa Foundation counterpart, NSString.

    AllocateObject ¶

    AllocateObject :: proc "c" (
    	aClass:     ^.objc_class, 
    	extraBytes: UInteger, 
    	zone:       ^Zone, 
    ) -> ^.objc_object ---

    Application_activate ¶

    Application_activate :: proc "c" (
    	self: ^Application, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->activate()
    

    Application_activateIgnoringOtherApps ¶

    Application_activateIgnoringOtherApps :: proc "c" (
    	self:            ^Application, 
    	ignoreOtherApps: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->activateIgnoringOtherApps(ignoreOtherApps)
    
     

    NOTE: this is technically deprecated but still actively used (Sokol, glfw, SDL, etc.) and has no clear alternative although activate is what Apple tells you to use, that does not work the same way.

    Application_active ¶

    Application_active :: proc "c" (
    	self: ^Application, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->active()
    

    Application_currentEvent ¶

    Application_currentEvent :: proc "c" (
    	self: ^Application, 
    ) -> ^Event {…}

    Objective-C Method Information

    Syntax Usage

    res := self->currentEvent()
    

    Application_finishLaunching ¶

    Application_finishLaunching :: proc "c" (
    	self: ^Application, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->finishLaunching()
    

    Application_isRunning ¶

    Application_isRunning :: proc "c" (
    	self: ^Application, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isRunning()
    

    Application_keyWindow ¶

    Application_keyWindow :: proc "c" (
    	self: ^Application, 
    ) -> ^Window {…}

    Objective-C Method Information

    Syntax Usage

    res := self->keyWindow()
    

    Application_mainMenu ¶

    Application_mainMenu :: proc "c" (
    	self: ^Application, 
    ) -> ^Menu {…}

    Objective-C Method Information

    Syntax Usage

    res := self->mainMenu()
    

    Application_mainWindow ¶

    Application_mainWindow :: proc "c" (
    	self: ^Application, 
    ) -> ^Window {…}

    Objective-C Method Information

    Syntax Usage

    res := self->mainWindow()
    

    Application_nextEventMatchingMask ¶

    Application_nextEventMatchingMask :: proc "c" (
    	self:       ^Application, 
    	mask:       EventMask, 
    	expiration: ^Date, 
    	in_mode:    ^String, 
    	dequeue:    bool, 
    ) -> ^Event {…}

    Objective-C Method Information

    Syntax Usage

    res := self->nextEventMatchingMask(
    	mask,
    	expiration,
    	in_mode,
    	dequeue,
    )
    

    Application_postEvent ¶

    Application_postEvent :: proc "c" (
    	self:    ^Application, 
    	event:   ^Event, 
    	atStart: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->postEvent(
    	event,
    	atStart,
    )
    

    Application_run ¶

    Application_run :: proc "c" (
    	self: ^Application, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->run()
    

    Application_sendAction ¶

    Application_sendAction :: proc "c" (
    	self:   ^Application, 
    	action: ^.objc_selector, 
    	to:     ^.objc_object, 
    	from:   ^.objc_object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->sendAction(
    	action,
    	to,
    	from,
    )
    

    Application_sendEvent ¶

    Application_sendEvent :: proc "c" (
    	self:  ^Application, 
    	event: ^Event, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->sendEvent(event)
    

    Application_servicesMenu ¶

    Application_servicesMenu :: proc "c" (
    	self: ^Application, 
    ) -> ^Menu {…}

    Objective-C Method Information

    Syntax Usage

    res := self->servicesMenu()
    

    Application_setActivationPolicy ¶

    Application_setActivationPolicy :: proc "c" (
    	self:             ^Application, 
    	activationPolicy: ActivationPolicy, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->setActivationPolicy(activationPolicy)
    

    Application_setAppleMenu ¶

    Application_setAppleMenu :: proc "c" (
    	self: ^Application, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setAppleMenu(menu)
    
     

    This property is actually not exposed in AppKit's public API. But there is basically no other way to configure the apple menu without using NIB files. Therefore, an Odin binding for this non-public API was created. Note: SDL also calls this non-public method.

    Application_setDelegate ¶

    Application_setDelegate :: proc "c" (
    	self:     ^Application, 
    	delegate: ^ApplicationDelegate, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setDelegate(delegate)
    

    Application_setMainMenu ¶

    Application_setMainMenu :: proc "c" (
    	self: ^Application, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setMainMenu(menu)
    

    Application_setServicesMenu ¶

    Application_setServicesMenu :: proc "c" (
    	self: ^Application, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setServicesMenu(menu)
    

    Application_setTitle ¶

    Application_setTitle :: proc "c" (
    	self:  ^Application, 
    	title: ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setTitle(title)
    

    Application_setWindowsMenu ¶

    Application_setWindowsMenu :: proc "c" (
    	self: ^Application, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setWindowsMenu(menu)
    

    Application_sharedApplication ¶

    Application_sharedApplication :: proc "c" () -> ^Application {…}

    Objective-C Method Information

    • Class: Application
    • Name: sharedApplication
    • Kind: Class Method

    Syntax Usage

    res := Application.sharedApplication()
    

    Application_stop ¶

    Application_stop :: proc "c" (
    	self:   ^Application, 
    	sender: ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->stop(sender)
    

    Application_terminate ¶

    Application_terminate :: proc "c" (
    	self:   ^Application, 
    	sender: ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->terminate(sender)
    

    Application_updateWindows ¶

    Application_updateWindows :: proc "c" (
    	self: ^Application, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->updateWindows()
    

    Application_windows ¶

    Application_windows :: proc "c" (
    	self: ^Application, 
    ) -> ^Array {…}

    Objective-C Method Information

    Syntax Usage

    res := self->windows()
    

    Application_windowsMenu ¶

    Application_windowsMenu :: proc "c" (
    	self: ^Application, 
    ) -> ^Menu {…}

    Objective-C Method Information

    Syntax Usage

    res := self->windowsMenu()
    

    Array_alloc ¶

    Array_alloc :: proc "c" () -> ^Array {…}

    Objective-C Method Information

    • Class: Array
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Array.alloc()
    

    Array_count ¶

    Array_count :: proc "c" (
    	self: ^Array, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Array
    • Name: count

    Syntax Usage

    res := self->count()
    

    Array_init ¶

    Array_init :: proc "c" (
    	self: ^Array, 
    ) -> ^Array {…}

    Objective-C Method Information

    • Class: Array
    • Name: init

    Syntax Usage

    res := self->init()
    

    Array_initWithCoder ¶

    Array_initWithCoder :: proc "c" (
    	self:  ^Array, 
    	coder: ^Coder, 
    ) -> ^Array {…}

    Objective-C Method Information

    • Class: Array
    • Name: initWithCoder

    Syntax Usage

    res := self->initWithCoder(coder)
    

    Array_initWithObjects ¶

    Array_initWithObjects :: proc "c" (
    	self:    ^Array, 
    	objects: [^]^Object, 
    	count:   UInteger, 
    ) -> ^Array {…}

    Objective-C Method Information

    • Class: Array
    • Name: initWithObjects

    Syntax Usage

    res := self->initWithObjects(
    	objects,
    	count,
    )
    

    Array_object ¶

    Array_object :: proc "c" (
    	self:  ^Array, 
    	index: UInteger, 
    ) -> ^Object {…}

    Objective-C Method Information

    • Class: Array
    • Name: object

    Syntax Usage

    res := self->object(index)
    

    Array_objectAs ¶

    Array_objectAs :: proc "c" (
    	self:  ^Array, 
    	index: UInteger, 
    	$T:     typeid, 
    ) -> typeid {…}

    Objective-C Method Information

    • Class: Array
    • Name: objectAs

    Syntax Usage

    res := self->objectAs(
    	index,
    	T,
    )
    

    AutoreleasePool_addObject ¶

    AutoreleasePool_addObject :: proc "c" (
    	self: ^AutoreleasePool, 
    	obj:  ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->addObject(obj)
    

    AutoreleasePool_alloc ¶

    AutoreleasePool_alloc :: proc "c" () -> ^AutoreleasePool {…}

    Objective-C Method Information

    Syntax Usage

    res := AutoreleasePool.alloc()
    

    AutoreleasePool_drain ¶

    AutoreleasePool_drain :: proc "c" (
    	self: ^AutoreleasePool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->drain()
    

    AutoreleasePool_init ¶

    AutoreleasePool_init :: proc "c" (
    	self: ^AutoreleasePool, 
    ) -> ^AutoreleasePool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    AutoreleasePool_showPools ¶

    AutoreleasePool_showPools :: proc "c" (
    	self: ^AutoreleasePool, 
    	obj:  ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->showPools(obj)
    

    BitmapImageRep_CGImage ¶

    BitmapImageRep_CGImage :: proc "c" (
    	self: ^BitmapImageRep, 
    ) -> rawptr {…}

    Objective-C Method Information

    Syntax Usage

    res := self->CGImage()
    

    BitmapImageRep_alloc ¶

    BitmapImageRep_alloc :: proc "c" () -> ^BitmapImageRep {…}

    Objective-C Method Information

    Syntax Usage

    res := BitmapImageRep.alloc()
    

    BitmapImageRep_bitmapData ¶

    BitmapImageRep_bitmapData :: proc "c" (
    	self: ^BitmapImageRep, 
    ) -> rawptr {…}

    Objective-C Method Information

    Syntax Usage

    res := self->bitmapData()
    

    BitmapImageRep_initWithBitmapDataPlanes_bitmapFormat ¶

    BitmapImageRep_initWithBitmapDataPlanes_bitmapFormat :: proc "c" (
    	self:             ^BitmapImageRep, 
    	bitmapDataPlanes: ^^u8, 
    	pixelsWide:       Integer, 
    	pixelsHigh:       Integer, 
    	bitsPerSample:    Integer, 
    	samplesPerPixel:  Integer, 
    	hasAlpha:         bool, 
    	isPlanar:         bool, 
    	colorSpaceName:   ^String, 
    	bitmapFormat:     bit_set[BitmapFormatFlag; BitmapInteger], 
    	bytesPerRow:      Integer, 
    	bitsPerPixel:     Integer, 
    ) -> ^BitmapImageRep {…}

    Related Procedure Groups

    BitmapImageRep_initWithBitmapDataPlanes_legacy ¶

    BitmapImageRep_initWithBitmapDataPlanes_legacy :: proc "c" (
    	self:             ^BitmapImageRep, 
    	bitmapDataPlanes: ^^u8, 
    	pixelsWide:       Integer, 
    	pixelsHigh:       Integer, 
    	bitsPerSample:    Integer, 
    	samplesPerPixel:  Integer, 
    	hasAlpha:         bool, 
    	isPlanar:         bool, 
    	colorSpaceName:   ^String, 
    	bytesPerRow:      Integer, 
    	bitsPerPixel:     Integer, 
    ) -> ^BitmapImageRep {…}

    Related Procedure Groups

    Block_createGlobal ¶

    Block_createGlobal :: proc(
    	user_data: rawptr, 
    	user_proc: proc "c" (
    	user_data: rawptr, 
    ), 
    	allocator := context.allocator, 
    ) -> (^Block, runtime.Allocator_Error) #optional_ok {…}

    Objective-C Method Information

    • Class: Block
    • Name: createGlobal
    • Kind: Class Method

    Syntax Usage

    res0, res1 := Block.createGlobal(
    	user_data,
    	user_proc,
    	allocator,
    )
    

    Block_createGlobalWithParam ¶

    Block_createGlobalWithParam :: proc(
    	user_data: rawptr, 
    	user_proc: proc "c" (
    	user_data: rawptr, 
    	t:         $T, 
    ), 
    	allocator := context.allocator, 
    ) -> (^Block, runtime.Allocator_Error) #optional_ok {…}

    Objective-C Method Information

    • Class: Block
    • Name: createGlobalWithParam
    • Kind: Class Method

    Syntax Usage

    res0, res1 := Block.createGlobalWithParam(
    	user_data,
    	user_proc,
    	allocator,
    )
    

    Block_createLocal ¶

    Block_createLocal :: proc(
    	user_data: rawptr, 
    	user_proc: proc "c" (
    	user_data: rawptr, 
    ), 
    ) -> ^Block {…}

    Objective-C Method Information

    • Class: Block
    • Name: createLocal
    • Kind: Class Method

    Syntax Usage

    res := Block.createLocal(
    	user_data,
    	user_proc,
    )
    

    Block_createLocalWithParam ¶

    Block_createLocalWithParam :: proc(
    	user_data: rawptr, 
    	user_proc: proc "c" (
    	user_data: rawptr, 
    	t:         $T, 
    ), 
    ) -> ^Block {…}

    Objective-C Method Information

    • Class: Block
    • Name: createLocalWithParam
    • Kind: Class Method

    Syntax Usage

    res := Block.createLocalWithParam(
    	user_data,
    	user_proc,
    )
    

    Block_invoke ¶

    Block_invoke :: proc "c" (
    	self: ^Block, 
    	args: ..any, 
    ) -> ^Object {…}

    Objective-C Method Information

    • Class: Block
    • Name: invoke

    Syntax Usage

    res := self->invoke(args)
    

    Bundle_PathForAuxiliaryExecutable ¶

    Bundle_PathForAuxiliaryExecutable :: proc "c" (
    	self:           ^Bundle, 
    	executableName: ^String, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: PathForAuxiliaryExecutable

    Syntax Usage

    res := self->PathForAuxiliaryExecutable(executableName)
    

    Bundle_URLForAuxiliaryExecutable ¶

    Bundle_URLForAuxiliaryExecutable :: proc "c" (
    	self:           ^Bundle, 
    	executableName: ^String, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: URLForAuxiliaryExecutable

    Syntax Usage

    res := self->URLForAuxiliaryExecutable(executableName)
    

    Bundle_allBundles ¶

    Bundle_allBundles :: proc "c" () -> (all: ^Array) {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: allBundles

    Syntax Usage

    all := self->allBundles()
    

    Bundle_allFrameworks ¶

    Bundle_allFrameworks :: proc "c" () -> (all: ^Array) {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: allFrameworks

    Syntax Usage

    all := self->allFrameworks()
    

    Bundle_alloc ¶

    Bundle_alloc :: proc "c" () -> ^Bundle {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Bundle.alloc()
    

    Bundle_appStoreReceiptPath ¶

    Bundle_appStoreReceiptPath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: appStoreReceiptPath

    Syntax Usage

    res := self->appStoreReceiptPath()
    

    Bundle_appStoreReceiptURL ¶

    Bundle_appStoreReceiptURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: appStoreReceiptURL

    Syntax Usage

    res := self->appStoreReceiptURL()
    

    Bundle_builtInPlugInsPath ¶

    Bundle_builtInPlugInsPath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: builtInPlugInsPath

    Syntax Usage

    res := self->builtInPlugInsPath()
    

    Bundle_builtInPlugInsURL ¶

    Bundle_builtInPlugInsURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: builtInPlugInsURL

    Syntax Usage

    res := self->builtInPlugInsURL()
    

    Bundle_bundleIdentifier ¶

    Bundle_bundleIdentifier :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: bundleIdentifier

    Syntax Usage

    res := self->bundleIdentifier()
    

    Bundle_bundlePath ¶

    Bundle_bundlePath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: bundlePath

    Syntax Usage

    res := self->bundlePath()
    

    Bundle_bundleURL ¶

    Bundle_bundleURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: bundleURL

    Syntax Usage

    res := self->bundleURL()
    

    Bundle_bundleWithPath ¶

    Bundle_bundleWithPath :: proc "c" (
    	path: ^String, 
    ) -> ^Bundle {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: bundleWithPath
    • Kind: Class Method

    Syntax Usage

    res := Bundle.bundleWithPath(path)
    

    Bundle_bundleWithURL ¶

    Bundle_bundleWithURL :: proc "c" (
    	url: ^URL, 
    ) -> ^Bundle {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: bundleWithURL
    • Kind: Class Method

    Syntax Usage

    res := Bundle.bundleWithURL(url)
    

    Bundle_executablePath ¶

    Bundle_executablePath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: executablePath

    Syntax Usage

    res := self->executablePath()
    

    Bundle_executableURL ¶

    Bundle_executableURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: executableURL

    Syntax Usage

    res := self->executableURL()
    

    Bundle_infoDictionary ¶

    Bundle_infoDictionary :: proc "c" (
    	self: ^Bundle, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: infoDictionary

    Syntax Usage

    res := self->infoDictionary()
    

    Bundle_init ¶

    Bundle_init :: proc "c" (
    	self: ^Bundle, 
    ) -> ^Bundle {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    Bundle_initWithPath ¶

    Bundle_initWithPath :: proc "c" (
    	self: ^Bundle, 
    	path: ^String, 
    ) -> ^Bundle {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: initWithPath

    Syntax Usage

    res := self->initWithPath(path)
    

    Bundle_initWithURL ¶

    Bundle_initWithURL :: proc "c" (
    	self: ^Bundle, 
    	url:  ^URL, 
    ) -> ^Bundle {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: initWithURL

    Syntax Usage

    res := self->initWithURL(url)
    

    Bundle_isLoaded ¶

    Bundle_isLoaded :: proc "c" (
    	self: ^Bundle, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: isLoaded

    Syntax Usage

    res := self->isLoaded()
    

    Bundle_load ¶

    Bundle_load :: proc "c" (
    	self: ^Bundle, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->load()
    

    Bundle_loadAndReturnError ¶

    Bundle_loadAndReturnError :: proc "contextless" (
    	self: ^Bundle, 
    ) -> (ok: bool, error: ^Error) {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: loadAndReturnError

    Syntax Usage

    ok, error := self->loadAndReturnError()
    

    Bundle_localizedInfoDictionary ¶

    Bundle_localizedInfoDictionary :: proc "c" (
    	self: ^Bundle, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: localizedInfoDictionary

    Syntax Usage

    res := self->localizedInfoDictionary()
    

    Bundle_localizedStringForKey ¶

    Bundle_localizedStringForKey :: proc "c" (
    	self:      ^Bundle, 
    	key:       ^String, 
    	value:     ^String = nil, 
    	tableName: ^String = nil, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: localizedStringForKey

    Syntax Usage

    res := self->localizedStringForKey(
    	key,
    	value,
    	tableName,
    )
    

    Bundle_mainBundle ¶

    Bundle_mainBundle :: proc "c" () -> ^Bundle {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: mainBundle
    • Kind: Class Method

    Syntax Usage

    res := Bundle.mainBundle()
    

    Bundle_objectForInfoDictionaryKey ¶

    Bundle_objectForInfoDictionaryKey :: proc "c" (
    	self: ^Bundle, 
    	key:  ^String, 
    ) -> ^Object {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: objectForInfoDictionaryKey

    Syntax Usage

    res := self->objectForInfoDictionaryKey(key)
    

    Bundle_preflightAndReturnError ¶

    Bundle_preflightAndReturnError :: proc "contextless" (
    	self: ^Bundle, 
    ) -> (ok: bool, error: ^Error) {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: preflightAndReturnError

    Syntax Usage

    ok, error := self->preflightAndReturnError()
    

    Bundle_privateFrameworksPath ¶

    Bundle_privateFrameworksPath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: privateFrameworksPath

    Syntax Usage

    res := self->privateFrameworksPath()
    

    Bundle_privateFrameworksURL ¶

    Bundle_privateFrameworksURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: privateFrameworksURL

    Syntax Usage

    res := self->privateFrameworksURL()
    

    Bundle_resourcePath ¶

    Bundle_resourcePath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: resourcePath

    Syntax Usage

    res := self->resourcePath()
    

    Bundle_resourceURL ¶

    Bundle_resourceURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: resourceURL

    Syntax Usage

    res := self->resourceURL()
    

    Bundle_sharedFrameworksPath ¶

    Bundle_sharedFrameworksPath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: sharedFrameworksPath

    Syntax Usage

    res := self->sharedFrameworksPath()
    

    Bundle_sharedFrameworksURL ¶

    Bundle_sharedFrameworksURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: sharedFrameworksURL

    Syntax Usage

    res := self->sharedFrameworksURL()
    

    Bundle_sharedSupportPath ¶

    Bundle_sharedSupportPath :: proc "c" (
    	self: ^Bundle, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: sharedSupportPath

    Syntax Usage

    res := self->sharedSupportPath()
    

    Bundle_sharedSupportURL ¶

    Bundle_sharedSupportURL :: proc "c" (
    	self: ^Bundle, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: Bundle
    • Name: sharedSupportURL

    Syntax Usage

    res := self->sharedSupportURL()
    

    Bundle_unload ¶

    Bundle_unload :: proc "c" (
    	self: ^Bundle, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->unload()
    

    ClassFromString ¶

    ClassFromString :: proc "c" (
    	str: ^String, 
    ) -> ^.objc_class ---

    Color_blackColor ¶

    Color_blackColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: blackColor
    • Kind: Class Method

    Syntax Usage

    res := Color.blackColor()
    

    Color_blueColor ¶

    Color_blueColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: blueColor
    • Kind: Class Method

    Syntax Usage

    res := Color.blueColor()
    

    Color_colorSpace ¶

    Color_colorSpace :: proc "c" (
    	self: ^Color, 
    ) -> ^ColorSpace {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorSpace

    Syntax Usage

    res := self->colorSpace()
    

    Color_colorSpaceName ¶

    Color_colorSpaceName :: proc "c" (
    	self: ^Color, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorSpaceName

    Syntax Usage

    res := self->colorSpaceName()
    

    Color_colorUsingColorSpaceName ¶

    Color_colorUsingColorSpaceName :: proc "c" (
    	self:       ^Color, 
    	colorSpace: ^String, 
    	device:     ^Dictionary = nil, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorUsingColorSpaceName

    Syntax Usage

    res := self->colorUsingColorSpaceName(
    	colorSpace,
    	device,
    )
    

    Color_colorWithCalibratedHue ¶

    Color_colorWithCalibratedHue :: proc "c" (
    	hue, saturation, brightness, 
    	alpha:                       CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithCalibratedHue
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithCalibratedHue(
    	hue,
    	saturation,
    	brightness,
    	alpha,
    )
    

    Color_colorWithCalibratedRed ¶

    Color_colorWithCalibratedRed :: proc "c" (
    	red, green, blue, 
    	alpha:            CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithCalibratedRed
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithCalibratedRed(
    	red,
    	green,
    	blue,
    	alpha,
    )
    

    Color_colorWithCalibratedWhite ¶

    Color_colorWithCalibratedWhite :: proc "c" (
    	white, 
    	alpha: CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithCalibratedWhite
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithCalibratedWhite(
    	white,
    	alpha,
    )
    

    Color_colorWithColorSpace ¶

    Color_colorWithColorSpace :: proc "c" (
    	space:      ^ColorSpace, 
    	components: []CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithColorSpace
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithColorSpace(
    	space,
    	components,
    )
    

    Color_colorWithDeviceCyan ¶

    Color_colorWithDeviceCyan :: proc "c" (
    	cyan, magenta, yellow, black, 
    	alpha:                        CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithDeviceCyan
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithDeviceCyan(
    	cyan,
    	magenta,
    	yellow,
    	black,
    	alpha,
    )
    

    Color_colorWithDeviceHue ¶

    Color_colorWithDeviceHue :: proc "c" (
    	hue, saturation, brightness, 
    	alpha:                       CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithDeviceHue
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithDeviceHue(
    	hue,
    	saturation,
    	brightness,
    	alpha,
    )
    

    Color_colorWithDeviceRed ¶

    Color_colorWithDeviceRed :: proc "c" (
    	red, green, blue, 
    	alpha:            CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithDeviceRed
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithDeviceRed(
    	red,
    	green,
    	blue,
    	alpha,
    )
    

    Color_colorWithDeviceWhite ¶

    Color_colorWithDeviceWhite :: proc "c" (
    	white, 
    	alpha: CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithDeviceWhite
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithDeviceWhite(
    	white,
    	alpha,
    )
    

    Color_colorWithSRGBRed ¶

    Color_colorWithSRGBRed :: proc "c" (
    	red, green, blue, 
    	alpha:            CoreFoundation.CGFloat, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: colorWithSRGBRed
    • Kind: Class Method

    Syntax Usage

    res := Color.colorWithSRGBRed(
    	red,
    	green,
    	blue,
    	alpha,
    )
    

    Color_cyanColor ¶

    Color_cyanColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: cyanColor
    • Kind: Class Method

    Syntax Usage

    res := Color.cyanColor()
    

    Color_getCMYKA ¶

    Color_getCMYKA :: proc "c" (
    	self: ^Color, 
    ) -> (cyan, magenta, yellow, black, alpha: CoreFoundation.CGFloat) {…}

    Objective-C Method Information

    • Class: Color
    • Name: getCMYKA

    Syntax Usage

    cyan, magenta, yellow, black, alpha := self->getCMYKA()
    

    Color_getComponents ¶

    Color_getComponents :: proc "c" (
    	self:       ^Color, 
    	components: [^]CoreFoundation.CGFloat, 
    ) {…}

    Objective-C Method Information

    • Class: Color
    • Name: getComponents

    Syntax Usage

    self->getComponents(components)
    

    Color_getHSBA ¶

    Color_getHSBA :: proc "c" (
    	self: ^Color, 
    ) -> (hue, saturation, brightness, alpha: CoreFoundation.CGFloat) {…}

    Objective-C Method Information

    • Class: Color
    • Name: getHSBA

    Syntax Usage

    hue, saturation, brightness, alpha := self->getHSBA()
    

    Color_getRGBA ¶

    Color_getRGBA :: proc "c" (
    	self: ^Color, 
    ) -> (red, green, blue, alpha: CoreFoundation.CGFloat) {…}

    Objective-C Method Information

    • Class: Color
    • Name: getRGBA

    Syntax Usage

    red, green, blue, alpha := self->getRGBA()
    

    Color_getWhiteAlpha ¶

    Color_getWhiteAlpha :: proc "c" (
    	self: ^Color, 
    ) -> (white, alpha: CoreFoundation.CGFloat) {…}

    Objective-C Method Information

    • Class: Color
    • Name: getWhiteAlpha

    Syntax Usage

    white, alpha := self->getWhiteAlpha()
    

    Color_greenColor ¶

    Color_greenColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: greenColor
    • Kind: Class Method

    Syntax Usage

    res := Color.greenColor()
    

    Color_magentaColor ¶

    Color_magentaColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: magentaColor
    • Kind: Class Method

    Syntax Usage

    res := Color.magentaColor()
    

    Color_numberOfComponents ¶

    Color_numberOfComponents :: proc "c" (
    	self: ^Color, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Color
    • Name: numberOfComponents

    Syntax Usage

    res := self->numberOfComponents()
    

    Color_orangeColor ¶

    Color_orangeColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: orangeColor
    • Kind: Class Method

    Syntax Usage

    res := Color.orangeColor()
    

    Color_purpleColor ¶

    Color_purpleColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: purpleColor
    • Kind: Class Method

    Syntax Usage

    res := Color.purpleColor()
    

    Color_redColor ¶

    Color_redColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: redColor
    • Kind: Class Method

    Syntax Usage

    res := Color.redColor()
    

    Color_whiteColor ¶

    Color_whiteColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: whiteColor
    • Kind: Class Method

    Syntax Usage

    res := Color.whiteColor()
    

    Color_yellowColor ¶

    Color_yellowColor :: proc "c" () -> ^Color {…}

    Objective-C Method Information

    • Class: Color
    • Name: yellowColor
    • Kind: Class Method

    Syntax Usage

    res := Color.yellowColor()
    

    Condition_alloc ¶

    Condition_alloc :: proc "c" () -> ^Condition {…}

    Objective-C Method Information

    • Class: Condition
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Condition.alloc()
    

    Condition_broadcast ¶

    Condition_broadcast :: proc "c" (
    	self: ^Condition, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->broadcast()
    

    Condition_init ¶

    Condition_init :: proc "c" (
    	self: ^Condition, 
    ) -> ^Condition {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    Condition_lock ¶

    Condition_lock :: proc "c" (
    	self: ^Condition, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->lock()
    

    Condition_signal ¶

    Condition_signal :: proc "c" (
    	self: ^Condition, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->signal()
    

    Condition_unlock ¶

    Condition_unlock :: proc "c" (
    	self: ^Condition, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->unlock()
    

    Condition_wait ¶

    Condition_wait :: proc "c" (
    	self: ^Condition, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->wait()
    

    Condition_waitUntilDate ¶

    Condition_waitUntilDate :: proc "c" (
    	self:  ^Condition, 
    	limit: ^Date, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->waitUntilDate(limit)
    

    Cursor_IBeamCursor ¶

    Cursor_IBeamCursor :: proc "c" () -> ^Cursor {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: IBeamCursor
    • Kind: Class Method

    Syntax Usage

    res := Cursor.IBeamCursor()
    

    Cursor_alloc ¶

    Cursor_alloc :: proc "c" () -> ^Cursor {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Cursor.alloc()
    

    Cursor_arrowCursor ¶

    Cursor_arrowCursor :: proc "c" () -> ^Cursor {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: arrowCursor
    • Kind: Class Method

    Syntax Usage

    res := Cursor.arrowCursor()
    

    Cursor_currentCursor ¶

    Cursor_currentCursor :: proc "c" () -> ^Cursor {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: currentCursor
    • Kind: Class Method

    Syntax Usage

    res := Cursor.currentCursor()
    

    Cursor_hide ¶

    Cursor_hide :: proc() {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: hide
    • Kind: Class Method

    Syntax Usage

    Cursor.hide()
    

    Cursor_initWithImage ¶

    Cursor_initWithImage :: proc "c" (
    	self:    ^Cursor, 
    	image:   ^Image, 
    	hotSpot: CoreFoundation.CGPoint, 
    ) -> ^Cursor {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: initWithImage

    Syntax Usage

    res := self->initWithImage(
    	image,
    	hotSpot,
    )
    

    Cursor_pointingHandCursor ¶

    Cursor_pointingHandCursor :: proc "c" () -> ^Cursor {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: pointingHandCursor
    • Kind: Class Method

    Syntax Usage

    res := Cursor.pointingHandCursor()
    

    Cursor_set ¶

    Cursor_set :: proc(
    	self: ^Cursor, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->set()
    

    Cursor_setHiddenUntilMouseMoves ¶

    Cursor_setHiddenUntilMouseMoves :: proc(
    	flag: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: setHiddenUntilMouseMoves
    • Kind: Class Method

    Syntax Usage

    Cursor.setHiddenUntilMouseMoves(flag)
    

    Cursor_unhide ¶

    Cursor_unhide :: proc() {…}

    Objective-C Method Information

    • Class: Cursor
    • Name: unhide
    • Kind: Class Method

    Syntax Usage

    Cursor.unhide()
    

    Data_alloc ¶

    Data_alloc :: proc "c" () -> ^Data {…}

    Objective-C Method Information

    • Class: Data
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Data.alloc()
    

    Data_init ¶

    Data_init :: proc "c" (
    	self: ^Data, 
    ) -> ^Data {…}

    Objective-C Method Information

    • Class: Data
    • Name: init

    Syntax Usage

    res := self->init()
    

    Data_initWithBytes ¶

    Data_initWithBytes :: proc "c" (
    	self:  ^Data, 
    	bytes: []u8, 
    ) -> ^Data {…}

    Objective-C Method Information

    • Class: Data
    • Name: initWithBytes

    Syntax Usage

    res := self->initWithBytes(bytes)
    

    Data_initWithBytesNoCopy ¶

    Data_initWithBytesNoCopy :: proc "c" (
    	self:         ^Data, 
    	bytes:        []u8, 
    	freeWhenDone: bool, 
    ) -> ^Data {…}

    Objective-C Method Information

    • Class: Data
    • Name: initWithBytesNoCopy

    Syntax Usage

    res := self->initWithBytesNoCopy(
    	bytes,
    	freeWhenDone,
    )
    

    Data_length ¶

    Data_length :: proc "c" (
    	self: ^Data, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Data
    • Name: length

    Syntax Usage

    res := self->length()
    

    Data_mutableBytes ¶

    Data_mutableBytes :: proc "c" (
    	self: ^Data, 
    ) -> rawptr {…}

    Objective-C Method Information

    • Class: Data
    • Name: mutableBytes

    Syntax Usage

    res := self->mutableBytes()
    

    Date_alloc ¶

    Date_alloc :: proc "c" () -> ^Date {…}

    Objective-C Method Information

    • Class: Date
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Date.alloc()
    

    Date_dateWithTimeIntervalSinceNow ¶

    Date_dateWithTimeIntervalSinceNow :: proc "c" (
    	secs: TimeInterval, 
    ) -> ^Date {…}

    Objective-C Method Information

    • Class: Date
    • Name: dateWithTimeIntervalSinceNow

    Syntax Usage

    res := self->dateWithTimeIntervalSinceNow()
    

    Date_distantFuture ¶

    Date_distantFuture :: proc "c" () -> ^Date {…}

    Objective-C Method Information

    • Class: Date
    • Name: distantFuture
    • Kind: Class Method

    Syntax Usage

    res := Date.distantFuture()
    

    Date_distantPast ¶

    Date_distantPast :: proc "c" () -> ^Date {…}

    Objective-C Method Information

    • Class: Date
    • Name: distantPast
    • Kind: Class Method

    Syntax Usage

    res := Date.distantPast()
    

    Date_init ¶

    Date_init :: proc "c" (
    	self: ^Date, 
    ) -> ^Date {…}

    Objective-C Method Information

    • Class: Date
    • Name: init

    Syntax Usage

    res := self->init()
    

    Date_timeIntervalSince1970 ¶

    Date_timeIntervalSince1970 :: proc "c" (
    	self: ^Date, 
    ) -> f64 {…}

    Objective-C Method Information

    • Class: Date
    • Name: timeIntervalSince1970

    Syntax Usage

    res := self->timeIntervalSince1970()
    

    DeallocateObject ¶

    DeallocateObject :: proc "c" (
    	object: ^.objc_object, 
    ) ---

    Dictionary_alloc ¶

    Dictionary_alloc :: proc "c" () -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Dictionary
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Dictionary.alloc()
    

    Dictionary_count ¶

    Dictionary_count :: proc "c" (
    	self: ^Dictionary, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->count()
    

    Dictionary_dictionary ¶

    Dictionary_dictionary :: proc "c" () -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Dictionary
    • Name: dictionary
    • Kind: Class Method

    Syntax Usage

    res := Dictionary.dictionary()
    

    Dictionary_dictionaryWithObject ¶

    Dictionary_dictionaryWithObject :: proc "c" (
    	object: ^Object, 
    	forKey: ^Object, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Dictionary
    • Name: dictionaryWithObject
    • Kind: Class Method

    Syntax Usage

    res := Dictionary.dictionaryWithObject(
    	object,
    	forKey,
    )
    

    Dictionary_dictionaryWithObjects ¶

    Dictionary_dictionaryWithObjects :: proc "c" (
    	objects: [^]^Object, 
    	forKeys: [^]^Object, 
    	count:   UInteger, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Dictionary
    • Name: dictionaryWithObjects
    • Kind: Class Method

    Syntax Usage

    res := Dictionary.dictionaryWithObjects(
    	objects,
    	forKeys,
    	count,
    )
    

    Dictionary_init ¶

    Dictionary_init :: proc "c" (
    	self: ^Dictionary, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    Dictionary_initWithObjects ¶

    Dictionary_initWithObjects :: proc "c" (
    	self:    ^Dictionary, 
    	objects: [^]^Object, 
    	forKeys: [^]^Object, 
    	count:   UInteger, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    Syntax Usage

    res := self->initWithObjects(
    	objects,
    	forKeys,
    	count,
    )
    

    Dictionary_keyEnumerator ¶

    Dictionary_keyEnumerator :: proc "c" (
    	self:    ^Dictionary, 
    	$KeyType: typeid, 
    ) -> (enumerator: ^Enumerator($T=typeid)) {…}

    Objective-C Method Information

    Syntax Usage

    enumerator := self->keyEnumerator(KeyType)
    

    Dictionary_objectForKey ¶

    Dictionary_objectForKey :: proc "c" (
    	self: ^Dictionary, 
    	key:  ^Object, 
    ) -> ^Object {…}

    Objective-C Method Information

    Syntax Usage

    res := self->objectForKey(key)
    

    Enumerator_allObjects ¶

    Enumerator_allObjects :: proc "c" (
    	self: ^$E/Enumerator($T), 
    ) -> (all: ^Array) {…}

    Enumerator_iterator ¶

    Enumerator_iterator :: proc "contextless" (
    	self: ^$E/Enumerator($T), 
    ) -> (obj: $T, ok: bool) {…}

    Enumerator_nextObject ¶

    Enumerator_nextObject :: proc "c" (
    	self: ^$E/Enumerator($T), 
    ) -> $T {…}

    Error_alloc ¶

    Error_alloc :: proc "c" () -> ^Error {…}

    Objective-C Method Information

    • Class: Error
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Error.alloc()
    

    Error_code ¶

    Error_code :: proc "c" (
    	self: ^Error, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Error
    • Name: code

    Syntax Usage

    res := self->code()
    

    Error_domain ¶

    Error_domain :: proc "c" (
    	self: ^Error, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Error
    • Name: domain

    Syntax Usage

    res := self->domain()
    

    Error_errorWithDomain ¶

    Error_errorWithDomain :: proc "c" (
    	domain:   ^String, 
    	code:     Integer, 
    	userInfo: ^Dictionary, 
    ) -> ^Error {…}

    Objective-C Method Information

    • Class: Error
    • Name: errorWithDomain
    • Kind: Class Method

    Syntax Usage

    res := Error.errorWithDomain(
    	domain,
    	code,
    	userInfo,
    )
    

    Error_init ¶

    Error_init :: proc "c" (
    	self: ^Error, 
    ) -> ^Error {…}

    Objective-C Method Information

    • Class: Error
    • Name: init

    Syntax Usage

    res := self->init()
    

    Error_initWithDomain ¶

    Error_initWithDomain :: proc "c" (
    	self:     ^Error, 
    	domain:   ^String, 
    	code:     Integer, 
    	userInfo: ^Dictionary, 
    ) -> ^Error {…}

    Objective-C Method Information

    • Class: Error
    • Name: initWithDomain

    Syntax Usage

    res := self->initWithDomain(
    	domain,
    	code,
    	userInfo,
    )
    

    Error_localizedDescription ¶

    Error_localizedDescription :: proc "c" (
    	self: ^Error, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Error
    • Name: localizedDescription

    Syntax Usage

    res := self->localizedDescription()
    

    Error_localizedFailureReason ¶

    Error_localizedFailureReason :: proc "c" (
    	self: ^Error, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Error
    • Name: localizedFailureReason

    Syntax Usage

    res := self->localizedFailureReason()
    

    Error_localizedRecoveryOptions ¶

    Error_localizedRecoveryOptions :: proc "c" (
    	self: ^Error, 
    ) -> (options: ^Array) {…}

    Objective-C Method Information

    • Class: Error
    • Name: localizedRecoveryOptions

    Syntax Usage

    options := self->localizedRecoveryOptions()
    

    Error_localizedRecoverySuggestion ¶

    Error_localizedRecoverySuggestion :: proc "c" (
    	self: ^Error, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Error
    • Name: localizedRecoverySuggestion

    Syntax Usage

    res := self->localizedRecoverySuggestion()
    

    Error_userInfo ¶

    Error_userInfo :: proc "c" (
    	self: ^Error, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    • Class: Error
    • Name: userInfo

    Syntax Usage

    res := self->userInfo()
    

    Event_absolute ¶

    Event_absolute :: proc "c" (
    	self: ^Event, 
    ) -> (x, y, z: Integer) {…}

    Objective-C Method Information

    • Class: Event
    • Name: absolute

    Syntax Usage

    x, y, z := self->absolute()
    

    Event_absoluteX ¶

    Event_absoluteX :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: absoluteX

    Syntax Usage

    res := self->absoluteX()
    

    Event_absoluteY ¶

    Event_absoluteY :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: absoluteY

    Syntax Usage

    res := self->absoluteY()
    

    Event_absoluteZ ¶

    Event_absoluteZ :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: absoluteZ

    Syntax Usage

    res := self->absoluteZ()
    

    Event_buttonMask ¶

    Event_buttonMask :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: buttonMask

    Syntax Usage

    res := self->buttonMask()
    

    Event_buttonNumber ¶

    Event_buttonNumber :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: buttonNumber

    Syntax Usage

    res := self->buttonNumber()
    
     

    for NSOtherMouse events, but will return valid constants for NSLeftMouse and NSRightMouse

    Event_capabilityMask ¶

    Event_capabilityMask :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: capabilityMask

    Syntax Usage

    res := self->capabilityMask()
    

    Event_characters ¶

    Event_characters :: proc "c" (
    	self: ^Event, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Event
    • Name: characters

    Syntax Usage

    res := self->characters()
    

    Event_charactersIgnoringModifiers ¶

    Event_charactersIgnoringModifiers :: proc "c" (
    	self: ^Event, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Event
    • Name: charactersIgnoringModifiers

    Syntax Usage

    res := self->charactersIgnoringModifiers()
    

    Event_clickCount ¶

    Event_clickCount :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: clickCount

    Syntax Usage

    res := self->clickCount()
    

    Event_data1 ¶

    Event_data1 :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: data1

    Syntax Usage

    res := self->data1()
    

    Event_data2 ¶

    Event_data2 :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: data2

    Syntax Usage

    res := self->data2()
    

    Event_delta ¶

    Event_delta :: proc "c" (
    	self: ^Event, 
    ) -> (x, y, z: CoreFoundation.CGFloat) {…}

    Objective-C Method Information

    • Class: Event
    • Name: delta

    Syntax Usage

    x, y, z := self->delta()
    

    Event_deltaX ¶

    Event_deltaX :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Event
    • Name: deltaX

    Syntax Usage

    res := self->deltaX()
    

    Event_deltaY ¶

    Event_deltaY :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Event
    • Name: deltaY

    Syntax Usage

    res := self->deltaY()
    

    Event_deltaZ ¶

    Event_deltaZ :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Event
    • Name: deltaZ

    Syntax Usage

    res := self->deltaZ()
    

    Event_eventNumber ¶

    Event_eventNumber :: proc "c" (
    	self: ^Event, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Event
    • Name: eventNumber

    Syntax Usage

    res := self->eventNumber()
    
     

    these messages are valid for all mouse down/up/drag and enter/exit events

    Event_hasPreciseScrollingDeltas ¶

    Event_hasPreciseScrollingDeltas :: proc "c" (
    	self: ^Event, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Event
    • Name: hasPreciseScrollingDeltas

    Syntax Usage

    res := self->hasPreciseScrollingDeltas()
    

    Event_isARepeat ¶

    Event_isARepeat :: proc "c" (
    	self: ^Event, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Event
    • Name: isARepeat

    Syntax Usage

    res := self->isARepeat()
    

    Event_isDirectionInvertedFromDevice ¶

    Event_isDirectionInvertedFromDevice :: proc "c" (
    	self: ^Event, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Event
    • Name: isDirectionInvertedFromDevice

    Syntax Usage

    res := self->isDirectionInvertedFromDevice()
    

    Event_isEnteringProximity ¶

    Event_isEnteringProximity :: proc "c" (
    	self: ^Event, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Event
    • Name: isEnteringProximity

    Syntax Usage

    res := self->isEnteringProximity()
    

    Event_isSwipeTrackingFromScrollEventsEnabled ¶

    Event_isSwipeTrackingFromScrollEventsEnabled :: proc "c" (
    	self: ^Event, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Event
    • Name: isSwipeTrackingFromScrollEventsEnabled

    Syntax Usage

    res := self->isSwipeTrackingFromScrollEventsEnabled()
    

    Event_keyCode ¶

    Event_keyCode :: proc "c" (
    	self: ^Event, 
    ) -> u16 {…}

    Objective-C Method Information

    • Class: Event
    • Name: keyCode

    Syntax Usage

    res := self->keyCode()
    

    Event_locationInWindow ¶

    Event_locationInWindow :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Event
    • Name: locationInWindow

    Syntax Usage

    res := self->locationInWindow()
    
     

    -locationInWindow is valid for all mouse-related events

    Event_modifierFlags ¶

    Event_modifierFlags :: proc "c" (
    	self: ^Event, 
    ) -> EventModifierFlags {…}

    Objective-C Method Information

    • Class: Event
    • Name: modifierFlags

    Syntax Usage

    res := self->modifierFlags()
    

    Event_momentumPhase ¶

    Event_momentumPhase :: proc "c" (
    	self: ^Event, 
    ) -> EventPhase {…}

    Objective-C Method Information

    • Class: Event
    • Name: momentumPhase

    Syntax Usage

    res := self->momentumPhase()
    

    Event_mouseLocation ¶

    Event_mouseLocation :: proc "c" () -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Event
    • Name: mouseLocation
    • Kind: Class Method

    Syntax Usage

    res := Event.mouseLocation()
    

    Event_otherEventWithType ¶

    Event_otherEventWithType :: proc "c" (
    	type:          EventType, 
    	location:      CoreFoundation.CGPoint, 
    	flags:         EventModifierFlags, 
    	time:          TimeInterval, 
    	window_number: Integer, 
    	ctx:           ^.objc_object, 
    	subtype:       i16, 
    	data1:         Integer, 
    	data2:         Integer, 
    ) -> ^Event {…}

    Objective-C Method Information

    • Class: Event
    • Name: otherEventWithType
    • Kind: Class Method

    Syntax Usage

    res := Event.otherEventWithType(
    	type,
    	location,
    	flags,
    	time,
    	window_number,
    	ctx,
    	subtype,
    	data1,
    	data2,
    )
    

    Event_phase ¶

    Event_phase :: proc "c" (
    	self: ^Event, 
    ) -> EventPhase {…}

    Objective-C Method Information

    • Class: Event
    • Name: phase

    Syntax Usage

    res := self->phase()
    

    Event_pointingDeviceID ¶

    Event_pointingDeviceID :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: pointingDeviceID

    Syntax Usage

    res := self->pointingDeviceID()
    

    Event_pointingDeviceSerialNumber ¶

    Event_pointingDeviceSerialNumber :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: pointingDeviceSerialNumber

    Syntax Usage

    res := self->pointingDeviceSerialNumber()
    

    Event_pointingDeviceType ¶

    Event_pointingDeviceType :: proc "c" (
    	self: ^Event, 
    ) -> PointingDeviceType {…}

    Objective-C Method Information

    • Class: Event
    • Name: pointingDeviceType

    Syntax Usage

    res := self->pointingDeviceType()
    

    Event_pressure ¶

    Event_pressure :: proc "c" (
    	self: ^Event, 
    ) -> f32 {…}

    Objective-C Method Information

    • Class: Event
    • Name: pressure

    Syntax Usage

    res := self->pressure()
    
     

    -pressure is valid for all mouse down/up/drag events, and is also valid for NSTabletPoint events on 10.4 or later

    Event_scrollingDelta ¶

    Event_scrollingDelta :: proc "c" (
    	self: ^Event, 
    ) -> (x, y: CoreFoundation.CGFloat) {…}

    Objective-C Method Information

    • Class: Event
    • Name: scrollingDelta

    Syntax Usage

    x, y := self->scrollingDelta()
    

    Event_scrollingDeltaX ¶

    Event_scrollingDeltaX :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Event
    • Name: scrollingDeltaX

    Syntax Usage

    res := self->scrollingDeltaX()
    

    Event_scrollingDeltaY ¶

    Event_scrollingDeltaY :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Event
    • Name: scrollingDeltaY

    Syntax Usage

    res := self->scrollingDeltaY()
    

    Event_subtype ¶

    Event_subtype :: proc "c" (
    	self: ^Event, 
    ) -> i16 {…}

    Objective-C Method Information

    • Class: Event
    • Name: subtype

    Syntax Usage

    res := self->subtype()
    

    Event_systemTabletID ¶

    Event_systemTabletID :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: systemTabletID

    Syntax Usage

    res := self->systemTabletID()
    

    Event_tabletID ¶

    Event_tabletID :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: tabletID

    Syntax Usage

    res := self->tabletID()
    

    Event_tangentialPressure ¶

    Event_tangentialPressure :: proc "c" (
    	self: ^Event, 
    ) -> f32 {…}

    Objective-C Method Information

    • Class: Event
    • Name: tangentialPressure

    Syntax Usage

    res := self->tangentialPressure()
    

    Event_timestamp ¶

    Event_timestamp :: proc "c" (
    	self: ^Event, 
    ) -> TimeInterval {…}

    Objective-C Method Information

    • Class: Event
    • Name: timestamp

    Syntax Usage

    res := self->timestamp()
    

    Event_type ¶

    Event_type :: proc "c" (
    	self: ^Event, 
    ) -> EventType {…}

    Objective-C Method Information

    • Class: Event
    • Name: type

    Syntax Usage

    res := self->type()
    

    Event_uniqueID ¶

    Event_uniqueID :: proc "c" (
    	self: ^Event, 
    ) -> u64 {…}

    Objective-C Method Information

    • Class: Event
    • Name: uniqueID

    Syntax Usage

    res := self->uniqueID()
    

    Event_vendorDefined ¶

    Event_vendorDefined :: proc "c" (
    	self: ^Event, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Event
    • Name: vendorDefined

    Syntax Usage

    res := self->vendorDefined()
    

    Event_vendorID ¶

    Event_vendorID :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: vendorID

    Syntax Usage

    res := self->vendorID()
    

    Event_vendorPointingDeviceType ¶

    Event_vendorPointingDeviceType :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: vendorPointingDeviceType

    Syntax Usage

    res := self->vendorPointingDeviceType()
    

    Event_window ¶

    Event_window :: proc "c" (
    	self: ^Event, 
    ) -> ^Window {…}

    Objective-C Method Information

    • Class: Event
    • Name: window

    Syntax Usage

    res := self->window()
    

    Event_windowNumber ¶

    Event_windowNumber :: proc "c" (
    	self: ^Event, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Event
    • Name: windowNumber

    Syntax Usage

    res := self->windowNumber()
    

    FastEnumeration_alloc ¶

    FastEnumeration_alloc :: proc "c" () -> ^FastEnumeration {…}

    Objective-C Method Information

    Syntax Usage

    res := FastEnumeration.alloc()
    

    FastEnumeration_countByEnumerating ¶

    FastEnumeration_countByEnumerating :: proc "c" (
    	self:   ^FastEnumeration, 
    	state:  ^FastEnumerationState, 
    	buffer: [^]^Object, 
    	len:    UInteger, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->countByEnumerating(
    	state,
    	buffer,
    	len,
    )
    

    FastEnumeration_init ¶

    FastEnumeration_init :: proc "c" (
    	self: ^FastEnumeration, 
    ) -> ^FastEnumeration {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    Image_addRepresentation ¶

    Image_addRepresentation :: proc(
    	self: ^Image, 
    	rep:  ^ImageRep, 
    ) {…}

    Objective-C Method Information

    • Class: Image
    • Name: addRepresentation

    Syntax Usage

    self->addRepresentation(rep)
    

    Image_alloc ¶

    Image_alloc :: proc "c" () -> ^Image {…}

    Objective-C Method Information

    • Class: Image
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Image.alloc()
    

    Image_initWithSize ¶

    Image_initWithSize :: proc "c" (
    	self: ^Image, 
    	size: CoreFoundation.CGSize, 
    ) -> ^Image {…}

    Objective-C Method Information

    • Class: Image
    • Name: initWithSize

    Syntax Usage

    res := self->initWithSize(size)
    

    Layer_addSublayer ¶

    Layer_addSublayer :: proc "c" (
    	self:  ^Layer, 
    	layer: ^Layer, 
    ) {…}

    Objective-C Method Information

    • Class: Layer
    • Name: addSublayer

    Syntax Usage

    self->addSublayer(layer)
    

    Layer_contents ¶

    Layer_contents :: proc "c" (
    	self: ^Layer, 
    ) -> rawptr {…}

    Objective-C Method Information

    • Class: Layer
    • Name: contents

    Syntax Usage

    res := self->contents()
    

    Layer_contentsScale ¶

    Layer_contentsScale :: proc "c" (
    	self: ^Layer, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Layer
    • Name: contentsScale

    Syntax Usage

    res := self->contentsScale()
    

    Layer_frame ¶

    Layer_frame :: proc "c" (
    	self: ^Layer, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Layer
    • Name: frame

    Syntax Usage

    res := self->frame()
    

    Layer_position ¶

    Layer_position :: proc "c" (
    	self: ^Layer, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Layer
    • Name: position

    Syntax Usage

    res := self->position()
    

    Layer_setContents ¶

    Layer_setContents :: proc "c" (
    	self:     ^Layer, 
    	contents: rawptr, 
    ) {…}

    Objective-C Method Information

    • Class: Layer
    • Name: setContents

    Syntax Usage

    self->setContents(contents)
    

    Layer_setContentsScale ¶

    Layer_setContentsScale :: proc "c" (
    	self:  ^Layer, 
    	scale: CoreFoundation.CGFloat, 
    ) {…}

    Objective-C Method Information

    • Class: Layer
    • Name: setContentsScale

    Syntax Usage

    self->setContentsScale(scale)
    

    Layer_setPosition ¶

    Layer_setPosition :: proc "c" (
    	self:     ^Layer, 
    	position: CoreFoundation.CGPoint, 
    ) {…}

    Objective-C Method Information

    • Class: Layer
    • Name: setPosition

    Syntax Usage

    self->setPosition(position)
    

    Locking_lock ¶

    Locking_lock :: proc "c" (
    	self: ^Locking($T), 
    ) {…}

    Locking_unlock ¶

    Locking_unlock :: proc "c" (
    	self: ^Locking($T), 
    ) {…}

    MakeConstantString ¶

    MakeConstantString :: proc "c" (
    	#const c: cstring, 
    ) -> ^String {…}
     

    CFString is 'toll-free bridged' with its Cocoa Foundation counterpart, NSString.

    MaxX ¶

    MaxX :: proc(
    	aRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGFloat {…}

    MaxY ¶

    MaxY :: proc(
    	aRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGFloat {…}
    MenuDelegate_confinementRectForMenu :: proc "c" (
    	self:   ^MenuDelegate, 
    	menu:   ^Menu, 
    	screen: ^Screen, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    Syntax Usage

    res := self->confinementRectForMenu(
    	menu,
    	screen,
    )
    
    MenuDelegate_menuDidClose :: proc "c" (
    	self: ^MenuDelegate, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->menuDidClose(menu)
    
    MenuDelegate_menuHasKeyEquivalent :: proc "c" (
    	self:   ^MenuDelegate, 
    	menu:   ^Menu, 
    	event:  ^Event, 
    	target: ^^.objc_object, 
    	action: ^^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->menuHasKeyEquivalent(
    	menu,
    	event,
    	target,
    	action,
    )
    
    MenuDelegate_menuNeedsUpdate :: proc "c" (
    	self: ^MenuDelegate, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->menuNeedsUpdate(menu)
    
    MenuDelegate_menuWillOpen :: proc "c" (
    	self: ^MenuDelegate, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->menuWillOpen(menu)
    
    MenuDelegate_menu_updateItem_atIndex_shouldCancel :: proc "c" (
    	self:         ^MenuDelegate, 
    	menu:         ^Menu, 
    	item:         ^MenuItem, 
    	index:        Integer, 
    	shouldCancel: bool, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuDelegate
    • Name: menu_updateItem_atIndex_shouldCancel

    Syntax Usage

    res := self->menu_updateItem_atIndex_shouldCancel(
    	menu,
    	item,
    	index,
    	shouldCancel,
    )
    

    Related Procedure Groups

    MenuDelegate_menu_willHighlightItem :: proc "c" (
    	self: ^MenuDelegate, 
    	menu: ^Menu, 
    	item: ^MenuItem, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->menu_willHighlightItem(
    	menu,
    	item,
    )
    

    Related Procedure Groups

    MenuDelegate_numberOfItemsInMenu :: proc "c" (
    	self: ^MenuDelegate, 
    	menu: ^Menu, 
    ) -> Integer {…}

    Objective-C Method Information

    Syntax Usage

    res := self->numberOfItemsInMenu(menu)
    
    MenuItem_accessInstanceVariablesDirectly :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: accessInstanceVariablesDirectly
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.accessInstanceVariablesDirectly()
    
    MenuItem_action :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^.objc_selector {…}

    Objective-C Method Information

    Syntax Usage

    res := self->action()
    
    MenuItem_alloc :: proc "c" () -> ^MenuItem {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.alloc()
    
    MenuItem_allocWithZone :: proc "c" (
    	zone: ^Zone, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: allocWithZone
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.allocWithZone(zone)
    
    MenuItem_allowsAutomaticKeyEquivalentLocalization :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: allowsAutomaticKeyEquivalentLocalization

    Syntax Usage

    res := self->allowsAutomaticKeyEquivalentLocalization()
    
    MenuItem_allowsAutomaticKeyEquivalentMirroring :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: allowsAutomaticKeyEquivalentMirroring

    Syntax Usage

    res := self->allowsAutomaticKeyEquivalentMirroring()
    
    MenuItem_allowsKeyEquivalentWhenHidden :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: allowsKeyEquivalentWhenHidden

    Syntax Usage

    res := self->allowsKeyEquivalentWhenHidden()
    
    MenuItem_automaticallyNotifiesObserversForKey :: proc "c" (
    	key: ^String, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: automaticallyNotifiesObserversForKey
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.automaticallyNotifiesObserversForKey(key)
    
    MenuItem_cancelPreviousPerformRequestsWithTarget_ :: proc "c" (
    	aTarget: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: cancelPreviousPerformRequestsWithTarget_
    • Kind: Class Method

    Syntax Usage

    MenuItem.cancelPreviousPerformRequestsWithTarget_(aTarget)
    

    Related Procedure Groups

    MenuItem_cancelPreviousPerformRequestsWithTarget_selector_object :: proc "c" (
    	aTarget:    ^.objc_object, 
    	aSelector:  ^.objc_selector, 
    	anArgument: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: cancelPreviousPerformRequestsWithTarget_selector_object
    • Kind: Class Method

    Syntax Usage

    MenuItem.cancelPreviousPerformRequestsWithTarget_selector_object(
    	aTarget,
    	aSelector,
    	anArgument,
    )
    

    Related Procedure Groups

    MenuItem_class :: proc "c" () -> ^.objc_class {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: class
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.class()
    
    MenuItem_classFallbacksForKeyedArchiver :: proc "c" () -> ^Array {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: classFallbacksForKeyedArchiver
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.classFallbacksForKeyedArchiver()
    
    MenuItem_classForKeyedUnarchiver :: proc "c" () -> ^.objc_class {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: classForKeyedUnarchiver
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.classForKeyedUnarchiver()
    
    MenuItem_conformsToProtocol :: proc "c" (
    	protocol: ^Protocol, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: conformsToProtocol
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.conformsToProtocol(protocol)
    
    MenuItem_copyWithZone :: proc "c" (
    	zone: ^Zone, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: copyWithZone
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.copyWithZone(zone)
    
    MenuItem_debugDescription :: proc "c" () -> ^String {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: debugDescription
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.debugDescription()
    
    MenuItem_defaultPlaceholderForMarker :: proc "c" (
    	marker:  ^.objc_object, 
    	binding: ^String, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: defaultPlaceholderForMarker
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.defaultPlaceholderForMarker(
    	marker,
    	binding,
    )
    
    MenuItem_description :: proc "c" () -> ^String {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: description
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.description()
    
    MenuItem_exposeBinding :: proc "c" (
    	binding: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: exposeBinding
    • Kind: Class Method

    Syntax Usage

    MenuItem.exposeBinding(binding)
    
    MenuItem_hasSubmenu :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->hasSubmenu()
    
    MenuItem_hash :: proc "c" () -> UInteger {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: hash
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.hash()
    
    MenuItem_indentationLevel :: proc "c" (
    	self: ^MenuItem, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: indentationLevel

    Syntax Usage

    res := self->indentationLevel()
    
    MenuItem_init :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    
    MenuItem_initWithCoder :: proc "c" (
    	self:  ^MenuItem, 
    	coder: ^Coder, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    Syntax Usage

    res := self->initWithCoder(coder)
    
    MenuItem_initWithTitle :: proc "c" (
    	self:     ^MenuItem, 
    	string:   ^String, 
    	selector: ^.objc_selector, 
    	charCode: ^String, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    Syntax Usage

    res := self->initWithTitle(
    	string,
    	selector,
    	charCode,
    )
    
    MenuItem_initialize :: proc "c" () {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: initialize
    • Kind: Class Method

    Syntax Usage

    MenuItem.initialize()
    
    MenuItem_instanceMethodForSelector :: proc "c" (
    	aSelector: ^.objc_selector, 
    ) -> IMP {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: instanceMethodForSelector
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.instanceMethodForSelector(aSelector)
    
    MenuItem_instancesRespondToSelector :: proc "c" (
    	aSelector: ^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: instancesRespondToSelector
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.instancesRespondToSelector(aSelector)
    
    MenuItem_isAlternate :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isAlternate()
    
    MenuItem_isEnabled :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isEnabled()
    
     

    MenuItem_image :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {

    return msgSend(^Image, self, "image")
    

    } MenuItem_setImage :: #force_inline proc "c" (self: ^MenuItem, image: ^Image) {

    msgSend(nil, self, "setImage:", image)
    

    } MenuItem_state :: #force_inline proc "c" (self: ^MenuItem) -> ControlStateValue {

    return msgSend(ControlStateValue, self, "state")
    

    } MenuItem_setState :: #force_inline proc "c" (self: ^MenuItem, state: ControlStateValue) {

    msgSend(nil, self, "setState:", state)
    

    } MenuItem_onStateImage :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {

    return msgSend(^Image, self, "onStateImage")
    

    } MenuItem_setOnStateImage :: #force_inline proc "c" (self: ^MenuItem, onStateImage: ^Image) {

    msgSend(nil, self, "setOnStateImage:", onStateImage)
    

    } MenuItem_offStateImage :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {

    return msgSend(^Image, self, "offStateImage")
    

    } MenuItem_setOffStateImage :: #force_inline proc "c" (self: ^MenuItem, offStateImage: ^Image) {

    msgSend(nil, self, "setOffStateImage:", offStateImage)
    

    } MenuItem_mixedStateImage :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {

    return msgSend(^Image, self, "mixedStateImage")
    

    } MenuItem_setMixedStateImage :: #force_inline proc "c" (self: ^MenuItem, mixedStateImage: ^Image) {

    msgSend(nil, self, "setMixedStateImage:", mixedStateImage)
    

    }

    MenuItem_isHidden :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isHidden()
    
    MenuItem_isHiddenOrHasHiddenAncestor :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: isHiddenOrHasHiddenAncestor

    Syntax Usage

    res := self->isHiddenOrHasHiddenAncestor()
    
    MenuItem_isHighlighted :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isHighlighted()
    
    MenuItem_isSectionHeader :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isSectionHeader()
    
    MenuItem_isSeparatorItem :: proc "c" (
    	self: ^MenuItem, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isSeparatorItem()
    
    MenuItem_isSubclassOfClass :: proc "c" (
    	aClass: ^.objc_class, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: isSubclassOfClass
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.isSubclassOfClass(aClass)
    
     

    MenuItem_instanceMethodSignatureForSelector :: #force_inline proc "c" (aSelector: SEL) -> ^MethodSignature {

    return msgSend(^MethodSignature, MenuItem, "instanceMethodSignatureForSelector:", aSelector)
    

    }

    MenuItem_keyEquivalent :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->keyEquivalent()
    
    MenuItem_keyEquivalentModifierMask :: proc "c" (
    	self: ^MenuItem, 
    ) -> EventModifierFlags {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: keyEquivalentModifierMask

    Syntax Usage

    res := self->keyEquivalentModifierMask()
    
    MenuItem_keyPathsForValuesAffectingValueForKey :: proc "c" (
    	key: ^String, 
    ) -> ^Set {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: keyPathsForValuesAffectingValueForKey
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.keyPathsForValuesAffectingValueForKey(key)
    
    MenuItem_load :: proc "c" () {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: load
    • Kind: Class Method

    Syntax Usage

    MenuItem.load()
    
    MenuItem_menu :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^Menu {…}

    Objective-C Method Information

    Syntax Usage

    res := self->menu()
    
    MenuItem_mnemonic :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->mnemonic()
    
    MenuItem_mnemonicLocation :: proc "c" (
    	self: ^MenuItem, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: mnemonicLocation

    Syntax Usage

    res := self->mnemonicLocation()
    
    MenuItem_mutableCopyWithZone :: proc "c" (
    	zone: ^Zone, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: mutableCopyWithZone
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.mutableCopyWithZone(zone)
    
    MenuItem_new :: proc "c" () -> ^MenuItem {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: new
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.new()
    
    MenuItem_parentItem :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    Syntax Usage

    res := self->parentItem()
    
    MenuItem_poseAsClass :: proc "c" (
    	aClass: ^.objc_class, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: poseAsClass
    • Kind: Class Method

    Syntax Usage

    MenuItem.poseAsClass(aClass)
    
    MenuItem_registerActionCallback :: proc "c" (
    	name:     cstring, 
    	callback: MenuItemCallback, 
    ) -> ^.objc_selector {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: registerActionCallback
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.registerActionCallback(
    	name,
    	callback,
    )
    
    MenuItem_representedObject :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: representedObject

    Syntax Usage

    res := self->representedObject()
    
    MenuItem_resolveClassMethod :: proc "c" (
    	sel: ^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: resolveClassMethod
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.resolveClassMethod(sel)
    
    MenuItem_resolveInstanceMethod :: proc "c" (
    	sel: ^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: resolveInstanceMethod
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.resolveInstanceMethod(sel)
    
    MenuItem_sectionHeaderWithTitle :: proc "c" (
    	title: ^String, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: sectionHeaderWithTitle
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.sectionHeaderWithTitle(title)
    
    MenuItem_separatorItem :: proc "c" () -> ^MenuItem {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: separatorItem
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.separatorItem()
    
    MenuItem_setAction :: proc "c" (
    	self:   ^MenuItem, 
    	action: ^.objc_selector, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setAction(action)
    
    MenuItem_setAllowsAutomaticKeyEquivalentLocalization :: proc "c" (
    	self:                                     ^MenuItem, 
    	allowsAutomaticKeyEquivalentLocalization: bool, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setAllowsAutomaticKeyEquivalentLocalization

    Syntax Usage

    self->setAllowsAutomaticKeyEquivalentLocalization(allowsAutomaticKeyEquivalentLocalization)
    
    MenuItem_setAllowsAutomaticKeyEquivalentMirroring :: proc "c" (
    	self:                                  ^MenuItem, 
    	allowsAutomaticKeyEquivalentMirroring: bool, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setAllowsAutomaticKeyEquivalentMirroring

    Syntax Usage

    self->setAllowsAutomaticKeyEquivalentMirroring(allowsAutomaticKeyEquivalentMirroring)
    
    MenuItem_setAllowsKeyEquivalentWhenHidden :: proc "c" (
    	self:                          ^MenuItem, 
    	allowsKeyEquivalentWhenHidden: bool, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setAllowsKeyEquivalentWhenHidden

    Syntax Usage

    self->setAllowsKeyEquivalentWhenHidden(allowsKeyEquivalentWhenHidden)
    
    MenuItem_setAlternate :: proc "c" (
    	self:      ^MenuItem, 
    	alternate: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setAlternate(alternate)
    
    MenuItem_setDefaultPlaceholder :: proc "c" (
    	placeholder: ^.objc_object, 
    	marker:      ^.objc_object, 
    	binding:     ^String, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setDefaultPlaceholder
    • Kind: Class Method

    Syntax Usage

    MenuItem.setDefaultPlaceholder(
    	placeholder,
    	marker,
    	binding,
    )
    
    MenuItem_setEnabled :: proc "c" (
    	self:    ^MenuItem, 
    	enabled: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setEnabled(enabled)
    
    MenuItem_setHidden :: proc "c" (
    	self:   ^MenuItem, 
    	hidden: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setHidden(hidden)
    
    MenuItem_setIndentationLevel :: proc "c" (
    	self:             ^MenuItem, 
    	indentationLevel: Integer, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setIndentationLevel

    Syntax Usage

    self->setIndentationLevel(indentationLevel)
    
    MenuItem_setKeyEquivalent :: proc "c" (
    	self:          ^MenuItem, 
    	keyEquivalent: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setKeyEquivalent

    Syntax Usage

    self->setKeyEquivalent(keyEquivalent)
    
    MenuItem_setKeyEquivalentModifierMask :: proc "c" (
    	self:                      ^MenuItem, 
    	keyEquivalentModifierMask: EventModifierFlags, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setKeyEquivalentModifierMask

    Syntax Usage

    self->setKeyEquivalentModifierMask(keyEquivalentModifierMask)
    
    MenuItem_setKeys :: proc "c" (
    	keys:         ^Array, 
    	dependentKey: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setKeys
    • Kind: Class Method

    Syntax Usage

    MenuItem.setKeys(
    	keys,
    	dependentKey,
    )
    
    MenuItem_setMenu :: proc "c" (
    	self: ^MenuItem, 
    	menu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setMenu(menu)
    
    MenuItem_setMnemonicLocation :: proc "c" (
    	self:     ^MenuItem, 
    	location: UInteger, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setMnemonicLocation

    Syntax Usage

    self->setMnemonicLocation(location)
    
     

    MenuItem_badge :: #force_inline proc "c" (self: ^MenuItem) -> ^MenuItemBadge {

    return msgSend(^MenuItemBadge, self, "badge")
    

    } MenuItem_setBadge :: #force_inline proc "c" (self: ^MenuItem, badge: ^MenuItemBadge) {

    msgSend(nil, self, "setBadge:", badge)
    

    }

    MenuItem_setRepresentedObject :: proc "c" (
    	self:              ^MenuItem, 
    	representedObject: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setRepresentedObject

    Syntax Usage

    self->setRepresentedObject(representedObject)
    
    MenuItem_setSubmenu :: proc "c" (
    	self:    ^MenuItem, 
    	submenu: ^Menu, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setSubmenu(submenu)
    
    MenuItem_setSubtitle :: proc "c" (
    	self:     ^MenuItem, 
    	subtitle: ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setSubtitle(subtitle)
    
    MenuItem_setTag :: proc "c" (
    	self: ^MenuItem, 
    	tag:  Integer, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setTag(tag)
    
    MenuItem_setTarget :: proc "c" (
    	self:   ^MenuItem, 
    	target: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setTarget(target)
    
    MenuItem_setTitle :: proc "c" (
    	self:  ^MenuItem, 
    	title: ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setTitle(title)
    
    MenuItem_setTitleWithMnemonic :: proc "c" (
    	self:                ^MenuItem, 
    	stringWithAmpersand: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setTitleWithMnemonic

    Syntax Usage

    self->setTitleWithMnemonic(stringWithAmpersand)
    
    MenuItem_setToolTip :: proc "c" (
    	self:    ^MenuItem, 
    	toolTip: ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setToolTip(toolTip)
    
    MenuItem_setUsesUserKeyEquivalents :: proc "c" (
    	usesUserKeyEquivalents: bool, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setUsesUserKeyEquivalents
    • Kind: Class Method

    Syntax Usage

    MenuItem.setUsesUserKeyEquivalents(usesUserKeyEquivalents)
    
    MenuItem_setVersion :: proc "c" (
    	aVersion: Integer, 
    ) {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: setVersion
    • Kind: Class Method

    Syntax Usage

    MenuItem.setVersion(aVersion)
    
    MenuItem_setView :: proc "c" (
    	self: ^MenuItem, 
    	view: ^View, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setView(view)
    
    MenuItem_submenu :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^Menu {…}

    Objective-C Method Information

    Syntax Usage

    res := self->submenu()
    
    MenuItem_subtitle :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->subtitle()
    
     

    MenuItem_attributedTitle :: #force_inline proc "c" (self: ^MenuItem) -> ^AttributedString {

    return msgSend(^AttributedString, self, "attributedTitle")
    

    } MenuItem_setAttributedTitle :: #force_inline proc "c" (self: ^MenuItem, attributedTitle: ^AttributedString) {

    msgSend(nil, self, "setAttributedTitle:", attributedTitle)
    

    }

    MenuItem_superclass :: proc "c" () -> ^.objc_class {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: superclass
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.superclass()
    
    MenuItem_tag :: proc "c" (
    	self: ^MenuItem, 
    ) -> Integer {…}

    Objective-C Method Information

    Syntax Usage

    res := self->tag()
    
    MenuItem_target :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    Syntax Usage

    res := self->target()
    
    MenuItem_title :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->title()
    
    MenuItem_toolTip :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->toolTip()
    
    MenuItem_useStoredAccessor :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: useStoredAccessor
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.useStoredAccessor()
    
    MenuItem_userKeyEquivalent :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: userKeyEquivalent

    Syntax Usage

    res := self->userKeyEquivalent()
    
    MenuItem_usesUserKeyEquivalents :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: usesUserKeyEquivalents
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.usesUserKeyEquivalents()
    
    MenuItem_version :: proc "c" () -> Integer {…}

    Objective-C Method Information

    • Class: MenuItem
    • Name: version
    • Kind: Class Method

    Syntax Usage

    res := MenuItem.version()
    
    MenuItem_view :: proc "c" (
    	self: ^MenuItem, 
    ) -> ^View {…}

    Objective-C Method Information

    Syntax Usage

    res := self->view()
    
    Menu_accessInstanceVariablesDirectly :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: accessInstanceVariablesDirectly
    • Kind: Class Method

    Syntax Usage

    res := Menu.accessInstanceVariablesDirectly()
    
    Menu_addItem :: proc "c" (
    	self:    ^Menu, 
    	newItem: ^MenuItem, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: addItem

    Syntax Usage

    self->addItem(newItem)
    
    Menu_addItemWithTitle :: proc "c" (
    	self:     ^Menu, 
    	string:   ^String, 
    	selector: ^.objc_selector, 
    	charCode: ^String, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: Menu
    • Name: addItemWithTitle

    Syntax Usage

    res := self->addItemWithTitle(
    	string,
    	selector,
    	charCode,
    )
    
    Menu_alloc :: proc "c" () -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Menu.alloc()
    
    Menu_allocWithZone :: proc "c" (
    	zone: ^Zone, 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: allocWithZone
    • Kind: Class Method

    Syntax Usage

    res := Menu.allocWithZone(zone)
    
    Menu_allowsContextMenuPlugIns :: proc "c" (
    	self: ^Menu, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: allowsContextMenuPlugIns

    Syntax Usage

    res := self->allowsContextMenuPlugIns()
    
     

    Menu_font :: #force_inline proc "c" (self: ^Menu) -> ^Font {

    return msgSend(^Font, self, "font")
    

    } Menu_setFont :: #force_inline proc "c" (self: ^Menu, font: ^Font) {

    msgSend(nil, self, "setFont:", font)
    

    }

    Menu_attachedMenu :: proc "c" (
    	self: ^Menu, 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: attachedMenu

    Syntax Usage

    res := self->attachedMenu()
    
    Menu_autoenablesItems :: proc "c" (
    	self: ^Menu, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: autoenablesItems

    Syntax Usage

    res := self->autoenablesItems()
    
    Menu_automaticallyNotifiesObserversForKey :: proc "c" (
    	key: ^String, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: automaticallyNotifiesObserversForKey
    • Kind: Class Method

    Syntax Usage

    res := Menu.automaticallyNotifiesObserversForKey(key)
    
    Menu_cancelPreviousPerformRequestsWithTarget_ :: proc "c" (
    	aTarget: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: cancelPreviousPerformRequestsWithTarget_
    • Kind: Class Method

    Syntax Usage

    Menu.cancelPreviousPerformRequestsWithTarget_(aTarget)
    

    Related Procedure Groups

    Menu_cancelPreviousPerformRequestsWithTarget_selector_object :: proc "c" (
    	aTarget:    ^.objc_object, 
    	aSelector:  ^.objc_selector, 
    	anArgument: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: cancelPreviousPerformRequestsWithTarget_selector_object
    • Kind: Class Method

    Syntax Usage

    Menu.cancelPreviousPerformRequestsWithTarget_selector_object(
    	aTarget,
    	aSelector,
    	anArgument,
    )
    

    Related Procedure Groups

    Menu_cancelTracking :: proc "c" (
    	self: ^Menu, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: cancelTracking

    Syntax Usage

    self->cancelTracking()
    
    Menu_cancelTrackingWithoutAnimation :: proc "c" (
    	self: ^Menu, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: cancelTrackingWithoutAnimation

    Syntax Usage

    self->cancelTrackingWithoutAnimation()
    
    Menu_class :: proc "c" () -> ^.objc_class {…}

    Objective-C Method Information

    • Class: Menu
    • Name: class
    • Kind: Class Method

    Syntax Usage

    res := Menu.class()
    
    Menu_classFallbacksForKeyedArchiver :: proc "c" () -> ^Array {…}

    Objective-C Method Information

    • Class: Menu
    • Name: classFallbacksForKeyedArchiver
    • Kind: Class Method

    Syntax Usage

    res := Menu.classFallbacksForKeyedArchiver()
    
    Menu_classForKeyedUnarchiver :: proc "c" () -> ^.objc_class {…}

    Objective-C Method Information

    • Class: Menu
    • Name: classForKeyedUnarchiver
    • Kind: Class Method

    Syntax Usage

    res := Menu.classForKeyedUnarchiver()
    
    Menu_conformsToProtocol :: proc "c" (
    	protocol: ^Protocol, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: conformsToProtocol
    • Kind: Class Method

    Syntax Usage

    res := Menu.conformsToProtocol(protocol)
    
    Menu_contextMenuRepresentation :: proc "c" (
    	self: ^Menu, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Menu
    • Name: contextMenuRepresentation

    Syntax Usage

    res := self->contextMenuRepresentation()
    
    Menu_copyWithZone :: proc "c" (
    	zone: ^Zone, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Menu
    • Name: copyWithZone
    • Kind: Class Method

    Syntax Usage

    res := Menu.copyWithZone(zone)
    
    Menu_debugDescription :: proc "c" () -> ^String {…}

    Objective-C Method Information

    • Class: Menu
    • Name: debugDescription
    • Kind: Class Method

    Syntax Usage

    res := Menu.debugDescription()
    
    Menu_defaultPlaceholderForMarker :: proc "c" (
    	marker:  ^.objc_object, 
    	binding: ^String, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Menu
    • Name: defaultPlaceholderForMarker
    • Kind: Class Method

    Syntax Usage

    res := Menu.defaultPlaceholderForMarker(
    	marker,
    	binding,
    )
    
    Menu_delegate :: proc "c" (
    	self: ^Menu, 
    ) -> ^MenuDelegate {…}

    Objective-C Method Information

    • Class: Menu
    • Name: delegate

    Syntax Usage

    res := self->delegate()
    
    Menu_description :: proc "c" () -> ^String {…}

    Objective-C Method Information

    • Class: Menu
    • Name: description
    • Kind: Class Method

    Syntax Usage

    res := Menu.description()
    
    Menu_exposeBinding :: proc "c" (
    	binding: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: exposeBinding
    • Kind: Class Method

    Syntax Usage

    Menu.exposeBinding(binding)
    
    Menu_hash :: proc "c" () -> UInteger {…}

    Objective-C Method Information

    • Class: Menu
    • Name: hash
    • Kind: Class Method

    Syntax Usage

    res := Menu.hash()
    
    Menu_helpRequested :: proc "c" (
    	self:     ^Menu, 
    	eventPtr: ^Event, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: helpRequested

    Syntax Usage

    self->helpRequested(eventPtr)
    
    Menu_highlightedItem :: proc "c" (
    	self: ^Menu, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: Menu
    • Name: highlightedItem

    Syntax Usage

    res := self->highlightedItem()
    
    Menu_indexOfItem :: proc "c" (
    	self: ^Menu, 
    	item: ^MenuItem, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: indexOfItem

    Syntax Usage

    res := self->indexOfItem(item)
    
    Menu_indexOfItemWithRepresentedObject :: proc "c" (
    	self:   ^Menu, 
    	object: ^.objc_object, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: indexOfItemWithRepresentedObject

    Syntax Usage

    res := self->indexOfItemWithRepresentedObject(object)
    
    Menu_indexOfItemWithSubmenu :: proc "c" (
    	self:    ^Menu, 
    	submenu: ^Menu, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: indexOfItemWithSubmenu

    Syntax Usage

    res := self->indexOfItemWithSubmenu(submenu)
    
    Menu_indexOfItemWithTag :: proc "c" (
    	self: ^Menu, 
    	tag:  Integer, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: indexOfItemWithTag

    Syntax Usage

    res := self->indexOfItemWithTag(tag)
    
    Menu_indexOfItemWithTarget :: proc "c" (
    	self:           ^Menu, 
    	target:         ^.objc_object, 
    	actionSelector: ^.objc_selector, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: indexOfItemWithTarget

    Syntax Usage

    res := self->indexOfItemWithTarget(
    	target,
    	actionSelector,
    )
    
    Menu_indexOfItemWithTitle :: proc "c" (
    	self:  ^Menu, 
    	title: ^String, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: indexOfItemWithTitle

    Syntax Usage

    res := self->indexOfItemWithTitle(title)
    
    Menu_init :: proc "c" (
    	self: ^Menu, 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: init

    Syntax Usage

    res := self->init()
    
    Menu_initWithCoder :: proc "c" (
    	self:  ^Menu, 
    	coder: ^Coder, 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: initWithCoder

    Syntax Usage

    res := self->initWithCoder(coder)
    
    Menu_initWithTitle :: proc "c" (
    	self:  ^Menu, 
    	title: ^String, 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: initWithTitle

    Syntax Usage

    res := self->initWithTitle(title)
    
    Menu_initialize :: proc "c" () {…}

    Objective-C Method Information

    • Class: Menu
    • Name: initialize
    • Kind: Class Method

    Syntax Usage

    Menu.initialize()
    
    Menu_insertItem :: proc "c" (
    	self:    ^Menu, 
    	newItem: ^MenuItem, 
    	index:   Integer, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: insertItem

    Syntax Usage

    self->insertItem(
    	newItem,
    	index,
    )
    
    Menu_insertItemWithTitle :: proc "c" (
    	self:     ^Menu, 
    	string:   ^String, 
    	selector: ^.objc_selector, 
    	charCode: ^String, 
    	index:    Integer, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: Menu
    • Name: insertItemWithTitle

    Syntax Usage

    res := self->insertItemWithTitle(
    	string,
    	selector,
    	charCode,
    	index,
    )
    
    Menu_instanceMethodForSelector :: proc "c" (
    	aSelector: ^.objc_selector, 
    ) -> IMP {…}

    Objective-C Method Information

    • Class: Menu
    • Name: instanceMethodForSelector
    • Kind: Class Method

    Syntax Usage

    res := Menu.instanceMethodForSelector(aSelector)
    
    Menu_instancesRespondToSelector :: proc "c" (
    	aSelector: ^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: instancesRespondToSelector
    • Kind: Class Method

    Syntax Usage

    res := Menu.instancesRespondToSelector(aSelector)
    
    Menu_isAttached :: proc "c" (
    	self: ^Menu, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: isAttached

    Syntax Usage

    res := self->isAttached()
    
    Menu_isSubclassOfClass :: proc "c" (
    	aClass: ^.objc_class, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: isSubclassOfClass
    • Kind: Class Method

    Syntax Usage

    res := Menu.isSubclassOfClass(aClass)
    
     

    Menu_instanceMethodSignatureForSelector :: #force_inline proc "c" (aSelector: SEL) -> ^MethodSignature {

    return msgSend(^MethodSignature, Menu, "instanceMethodSignatureForSelector:", aSelector)
    

    }

    Menu_isTornOff :: proc "c" (
    	self: ^Menu, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: isTornOff

    Syntax Usage

    res := self->isTornOff()
    
    Menu_itemArray :: proc "c" (
    	self: ^Menu, 
    ) -> ^Array {…}

    Objective-C Method Information

    • Class: Menu
    • Name: itemArray

    Syntax Usage

    res := self->itemArray()
    
    Menu_itemAtIndex :: proc "c" (
    	self:  ^Menu, 
    	index: Integer, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: Menu
    • Name: itemAtIndex

    Syntax Usage

    res := self->itemAtIndex(index)
    
    Menu_itemChanged :: proc "c" (
    	self: ^Menu, 
    	item: ^MenuItem, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: itemChanged

    Syntax Usage

    self->itemChanged(item)
    
    Menu_itemWithTag :: proc "c" (
    	self: ^Menu, 
    	tag:  Integer, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: Menu
    • Name: itemWithTag

    Syntax Usage

    res := self->itemWithTag(tag)
    
    Menu_itemWithTitle :: proc "c" (
    	self:  ^Menu, 
    	title: ^String, 
    ) -> ^MenuItem {…}

    Objective-C Method Information

    • Class: Menu
    • Name: itemWithTitle

    Syntax Usage

    res := self->itemWithTitle(title)
    
    Menu_keyPathsForValuesAffectingValueForKey :: proc "c" (
    	key: ^String, 
    ) -> ^Set {…}

    Objective-C Method Information

    • Class: Menu
    • Name: keyPathsForValuesAffectingValueForKey
    • Kind: Class Method

    Syntax Usage

    res := Menu.keyPathsForValuesAffectingValueForKey(key)
    
    Menu_load :: proc "c" () {…}

    Objective-C Method Information

    • Class: Menu
    • Name: load
    • Kind: Class Method

    Syntax Usage

    Menu.load()
    
    Menu_locationForSubmenu :: proc "c" (
    	self:    ^Menu, 
    	submenu: ^Menu, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Menu
    • Name: locationForSubmenu

    Syntax Usage

    res := self->locationForSubmenu(submenu)
    
    Menu_menuBarHeight :: proc "c" (
    	self: ^Menu, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Menu
    • Name: menuBarHeight

    Syntax Usage

    res := self->menuBarHeight()
    
    Menu_menuBarVisible :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: menuBarVisible
    • Kind: Class Method

    Syntax Usage

    res := Menu.menuBarVisible()
    
    Menu_menuChangedMessagesEnabled :: proc "c" (
    	self: ^Menu, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: menuChangedMessagesEnabled

    Syntax Usage

    res := self->menuChangedMessagesEnabled()
    
    Menu_menuRepresentation :: proc "c" (
    	self: ^Menu, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Menu
    • Name: menuRepresentation

    Syntax Usage

    res := self->menuRepresentation()
    
    Menu_menuZone :: proc "c" () -> ^Zone {…}

    Objective-C Method Information

    • Class: Menu
    • Name: menuZone
    • Kind: Class Method

    Syntax Usage

    res := Menu.menuZone()
    
    Menu_minimumWidth :: proc "c" (
    	self: ^Menu, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Menu
    • Name: minimumWidth

    Syntax Usage

    res := self->minimumWidth()
    
    Menu_mutableCopyWithZone :: proc "c" (
    	zone: ^Zone, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Menu
    • Name: mutableCopyWithZone
    • Kind: Class Method

    Syntax Usage

    res := Menu.mutableCopyWithZone(zone)
    
    Menu_new :: proc "c" () -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: new
    • Kind: Class Method

    Syntax Usage

    res := Menu.new()
    
    Menu_numberOfItems :: proc "c" (
    	self: ^Menu, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: numberOfItems

    Syntax Usage

    res := self->numberOfItems()
    
    Menu_paletteMenuWithColors_titles_selectionHandler :: proc "c" (
    	colors:            ^Array, 
    	itemTitles:        ^Array, 
    	onSelectionChange: proc "c" (
    	_arg_0: ^Menu, 
    ), 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: paletteMenuWithColors_titles_selectionHandler
    • Kind: Class Method

    Syntax Usage

    res := Menu.paletteMenuWithColors_titles_selectionHandler(
    	colors,
    	itemTitles,
    	onSelectionChange,
    )
    

    Related Procedure Groups

    Menu_performActionForItemAtIndex :: proc "c" (
    	self:  ^Menu, 
    	index: Integer, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: performActionForItemAtIndex

    Syntax Usage

    self->performActionForItemAtIndex(index)
    
    Menu_performKeyEquivalent :: proc "c" (
    	self:  ^Menu, 
    	event: ^Event, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: performKeyEquivalent

    Syntax Usage

    res := self->performKeyEquivalent(event)
    
    Menu_popUpContextMenu_withEvent_forView :: proc "c" (
    	menu:  ^Menu, 
    	event: ^Event, 
    	view:  ^View, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: popUpContextMenu_withEvent_forView
    • Kind: Class Method

    Syntax Usage

    Menu.popUpContextMenu_withEvent_forView(
    	menu,
    	event,
    	view,
    )
    

    Related Procedure Groups

    Menu_popUpMenuPositioningItem :: proc "c" (
    	self:     ^Menu, 
    	item:     ^MenuItem, 
    	location: CoreFoundation.CGPoint, 
    	view:     ^View, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: popUpMenuPositioningItem

    Syntax Usage

    res := self->popUpMenuPositioningItem(
    	item,
    	location,
    	view,
    )
    
     

    Menu_popUpContextMenu_withEvent_forView_withFont :: #force_inline proc "c" (menu: ^Menu, event: ^Event, view: ^View, font: ^Font) {

    msgSend(nil, Menu, "popUpContextMenu:withEvent:forView:withFont:", menu, event, view, font)
    

    }

    Menu_poseAsClass :: proc "c" (
    	aClass: ^.objc_class, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: poseAsClass
    • Kind: Class Method

    Syntax Usage

    Menu.poseAsClass(aClass)
    
    Menu_presentationStyle :: proc "c" (
    	self: ^Menu, 
    ) -> MenuPresentationStyle {…}

    Objective-C Method Information

    • Class: Menu
    • Name: presentationStyle

    Syntax Usage

    res := self->presentationStyle()
    
     

    Menu_paletteMenuWithColors_titles_templateImage_selectionHandler :: #force_inline proc "c" (colors: ^Array, itemTitles: ^Array, image: ^Image, onSelectionChange: proc "c" (_arg_0: ^Menu)) -> ^Menu {

    return msgSend(^Menu, Menu, "paletteMenuWithColors:titles:templateImage:selectionHandler:", colors, itemTitles, image, onSelectionChange)
    

    }

    Menu_propertiesToUpdate :: proc "c" (
    	self: ^Menu, 
    ) -> MenuProperties {…}

    Objective-C Method Information

    • Class: Menu
    • Name: propertiesToUpdate

    Syntax Usage

    res := self->propertiesToUpdate()
    
    Menu_removeAllItems :: proc "c" (
    	self: ^Menu, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: removeAllItems

    Syntax Usage

    self->removeAllItems()
    
    Menu_removeItem :: proc "c" (
    	self: ^Menu, 
    	item: ^MenuItem, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: removeItem

    Syntax Usage

    self->removeItem(item)
    
    Menu_removeItemAtIndex :: proc "c" (
    	self:  ^Menu, 
    	index: Integer, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: removeItemAtIndex

    Syntax Usage

    self->removeItemAtIndex(index)
    
    Menu_resolveClassMethod :: proc "c" (
    	sel: ^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: resolveClassMethod
    • Kind: Class Method

    Syntax Usage

    res := Menu.resolveClassMethod(sel)
    
    Menu_resolveInstanceMethod :: proc "c" (
    	sel: ^.objc_selector, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: resolveInstanceMethod
    • Kind: Class Method

    Syntax Usage

    res := Menu.resolveInstanceMethod(sel)
    
    Menu_selectedItems :: proc "c" (
    	self: ^Menu, 
    ) -> ^Array {…}

    Objective-C Method Information

    • Class: Menu
    • Name: selectedItems

    Syntax Usage

    res := self->selectedItems()
    
    Menu_selectionMode :: proc "c" (
    	self: ^Menu, 
    ) -> MenuSelectionMode {…}

    Objective-C Method Information

    • Class: Menu
    • Name: selectionMode

    Syntax Usage

    res := self->selectionMode()
    
    Menu_setAllowsContextMenuPlugIns :: proc "c" (
    	self:                     ^Menu, 
    	allowsContextMenuPlugIns: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setAllowsContextMenuPlugIns

    Syntax Usage

    self->setAllowsContextMenuPlugIns(allowsContextMenuPlugIns)
    
    Menu_setAutoenablesItems :: proc "c" (
    	self:             ^Menu, 
    	autoenablesItems: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setAutoenablesItems

    Syntax Usage

    self->setAutoenablesItems(autoenablesItems)
    
    Menu_setContextMenuRepresentation :: proc "c" (
    	self:    ^Menu, 
    	menuRep: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setContextMenuRepresentation

    Syntax Usage

    self->setContextMenuRepresentation(menuRep)
    
    Menu_setDefaultPlaceholder :: proc "c" (
    	placeholder: ^.objc_object, 
    	marker:      ^.objc_object, 
    	binding:     ^String, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setDefaultPlaceholder
    • Kind: Class Method

    Syntax Usage

    Menu.setDefaultPlaceholder(
    	placeholder,
    	marker,
    	binding,
    )
    
    Menu_setDelegate :: proc "c" (
    	self:     ^Menu, 
    	delegate: ^MenuDelegate, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setDelegate

    Syntax Usage

    self->setDelegate(delegate)
    
    Menu_setItemArray :: proc "c" (
    	self:      ^Menu, 
    	itemArray: ^Array, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setItemArray

    Syntax Usage

    self->setItemArray(itemArray)
    
    Menu_setKeys :: proc "c" (
    	keys:         ^Array, 
    	dependentKey: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setKeys
    • Kind: Class Method

    Syntax Usage

    Menu.setKeys(
    	keys,
    	dependentKey,
    )
    
    Menu_setMenuBarVisible :: proc "c" (
    	visible: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setMenuBarVisible
    • Kind: Class Method

    Syntax Usage

    Menu.setMenuBarVisible(visible)
    
    Menu_setMenuChangedMessagesEnabled :: proc "c" (
    	self:                       ^Menu, 
    	menuChangedMessagesEnabled: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setMenuChangedMessagesEnabled

    Syntax Usage

    self->setMenuChangedMessagesEnabled(menuChangedMessagesEnabled)
    
    Menu_setMenuRepresentation :: proc "c" (
    	self:    ^Menu, 
    	menuRep: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setMenuRepresentation

    Syntax Usage

    self->setMenuRepresentation(menuRep)
    
    Menu_setMenuZone :: proc "c" (
    	zone: ^Zone, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setMenuZone
    • Kind: Class Method

    Syntax Usage

    Menu.setMenuZone(zone)
    
    Menu_setMinimumWidth :: proc "c" (
    	self:         ^Menu, 
    	minimumWidth: CoreFoundation.CGFloat, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setMinimumWidth

    Syntax Usage

    self->setMinimumWidth(minimumWidth)
    
    Menu_setPresentationStyle :: proc "c" (
    	self:              ^Menu, 
    	presentationStyle: MenuPresentationStyle, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setPresentationStyle

    Syntax Usage

    self->setPresentationStyle(presentationStyle)
    
    Menu_setSelectedItems :: proc "c" (
    	self:          ^Menu, 
    	selectedItems: ^Array, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setSelectedItems

    Syntax Usage

    self->setSelectedItems(selectedItems)
    
    Menu_setSelectionMode :: proc "c" (
    	self:          ^Menu, 
    	selectionMode: MenuSelectionMode, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setSelectionMode

    Syntax Usage

    self->setSelectionMode(selectionMode)
    
    Menu_setShowsStateColumn :: proc "c" (
    	self:             ^Menu, 
    	showsStateColumn: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setShowsStateColumn

    Syntax Usage

    self->setShowsStateColumn(showsStateColumn)
    
    Menu_setSubmenu :: proc "c" (
    	self: ^Menu, 
    	menu: ^Menu, 
    	item: ^MenuItem, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setSubmenu

    Syntax Usage

    self->setSubmenu(
    	menu,
    	item,
    )
    
    Menu_setSupermenu :: proc "c" (
    	self:      ^Menu, 
    	supermenu: ^Menu, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setSupermenu

    Syntax Usage

    self->setSupermenu(supermenu)
    
    Menu_setTearOffMenuRepresentation :: proc "c" (
    	self:    ^Menu, 
    	menuRep: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setTearOffMenuRepresentation

    Syntax Usage

    self->setTearOffMenuRepresentation(menuRep)
    
    Menu_setTitle :: proc "c" (
    	self:  ^Menu, 
    	title: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setTitle

    Syntax Usage

    self->setTitle(title)
    
    Menu_setUserInterfaceLayoutDirection :: proc "c" (
    	self:                         ^Menu, 
    	userInterfaceLayoutDirection: UserInterfaceLayoutDirection, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setUserInterfaceLayoutDirection

    Syntax Usage

    self->setUserInterfaceLayoutDirection(userInterfaceLayoutDirection)
    
    Menu_setVersion :: proc "c" (
    	aVersion: Integer, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: setVersion
    • Kind: Class Method

    Syntax Usage

    Menu.setVersion(aVersion)
    
    Menu_showsStateColumn :: proc "c" (
    	self: ^Menu, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: showsStateColumn

    Syntax Usage

    res := self->showsStateColumn()
    
    Menu_size :: proc "c" (
    	self: ^Menu, 
    ) -> CoreFoundation.CGSize {…}

    Objective-C Method Information

    • Class: Menu
    • Name: size

    Syntax Usage

    res := self->size()
    
    Menu_sizeToFit :: proc "c" (
    	self: ^Menu, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: sizeToFit

    Syntax Usage

    self->sizeToFit()
    
    Menu_submenuAction :: proc "c" (
    	self:   ^Menu, 
    	sender: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: submenuAction

    Syntax Usage

    self->submenuAction(sender)
    
    Menu_superclass :: proc "c" () -> ^.objc_class {…}

    Objective-C Method Information

    • Class: Menu
    • Name: superclass
    • Kind: Class Method

    Syntax Usage

    res := Menu.superclass()
    
    Menu_supermenu :: proc "c" (
    	self: ^Menu, 
    ) -> ^Menu {…}

    Objective-C Method Information

    • Class: Menu
    • Name: supermenu

    Syntax Usage

    res := self->supermenu()
    
    Menu_tearOffMenuRepresentation :: proc "c" (
    	self: ^Menu, 
    ) -> ^.objc_object {…}

    Objective-C Method Information

    • Class: Menu
    • Name: tearOffMenuRepresentation

    Syntax Usage

    res := self->tearOffMenuRepresentation()
    
    Menu_title :: proc "c" (
    	self: ^Menu, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Menu
    • Name: title

    Syntax Usage

    res := self->title()
    
    Menu_update :: proc "c" (
    	self: ^Menu, 
    ) {…}

    Objective-C Method Information

    • Class: Menu
    • Name: update

    Syntax Usage

    self->update()
    
    Menu_useStoredAccessor :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: Menu
    • Name: useStoredAccessor
    • Kind: Class Method

    Syntax Usage

    res := Menu.useStoredAccessor()
    
    Menu_userInterfaceLayoutDirection :: proc "c" (
    	self: ^Menu, 
    ) -> UserInterfaceLayoutDirection {…}

    Objective-C Method Information

    • Class: Menu
    • Name: userInterfaceLayoutDirection

    Syntax Usage

    res := self->userInterfaceLayoutDirection()
    
    Menu_version :: proc "c" () -> Integer {…}

    Objective-C Method Information

    • Class: Menu
    • Name: version
    • Kind: Class Method

    Syntax Usage

    res := Menu.version()
    

    MidX ¶

    MidX :: proc(
    	aRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGFloat {…}

    MidY ¶

    MidY :: proc(
    	aRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGFloat {…}

    MinX ¶

    MinX :: proc(
    	aRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGFloat {…}

    MinY ¶

    MinY :: proc(
    	aRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGFloat {…}

    MutableArray_alloc ¶

    MutableArray_alloc :: proc "c" () -> ^MutableArray {…}

    Objective-C Method Information

    Syntax Usage

    res := MutableArray.alloc()
    

    MutableArray_count ¶

    MutableArray_count :: proc "c" (
    	self: ^MutableArray, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->count()
    

    MutableArray_exchangeObjectAtIndex ¶

    MutableArray_exchangeObjectAtIndex :: proc "c" (
    	self: ^MutableArray, 
    	idx1, 
    	idx2: UInteger, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->exchangeObjectAtIndex(
    	idx1,
    	idx2,
    )
    

    MutableArray_init ¶

    MutableArray_init :: proc "c" (
    	self: ^MutableArray, 
    ) -> ^MutableArray {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    MutableArray_initWithCoder ¶

    MutableArray_initWithCoder :: proc "c" (
    	self:  ^MutableArray, 
    	coder: ^Coder, 
    ) -> ^MutableArray {…}

    Objective-C Method Information

    Syntax Usage

    res := self->initWithCoder(coder)
    

    MutableArray_initWithObjects ¶

    MutableArray_initWithObjects :: proc "c" (
    	self:    ^MutableArray, 
    	objects: [^]^Object, 
    	count:   UInteger, 
    ) -> ^MutableArray {…}

    Objective-C Method Information

    Syntax Usage

    res := self->initWithObjects(
    	objects,
    	count,
    )
    

    MutableArray_object ¶

    MutableArray_object :: proc "c" (
    	self:  ^MutableArray, 
    	index: UInteger, 
    ) -> ^Object {…}

    Objective-C Method Information

    Syntax Usage

    res := self->object(index)
    

    MutableArray_objectAs ¶

    MutableArray_objectAs :: proc "c" (
    	self:  ^MutableArray, 
    	index: UInteger, 
    	$T:     typeid, 
    ) -> typeid {…}

    Objective-C Method Information

    Syntax Usage

    res := self->objectAs(
    	index,
    	T,
    )
    

    NSWindow_setFrameAutosaveName ¶

    NSWindow_setFrameAutosaveName :: proc "c" (
    	self: ^Window, 
    	name: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setFrameAutosaveName

    Syntax Usage

    self->setFrameAutosaveName(name)
    

    NotificationCenter_addObserver ¶

    NotificationCenter_addObserver :: proc "c" (
    	self:     ^NotificationCenter, 
    	observer: ^Object, 
    	selector: ^.objc_selector, 
    	name:     ^String, 
    	object:   ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->addObserver(
    	observer,
    	selector,
    	name,
    	object,
    )
    

    NotificationCenter_addObserverForName_new ¶

    NotificationCenter_addObserverForName_new :: proc "c" (
    	self:   ^NotificationCenter, 
    	name:   ^String, 
    	pObj:   ^Object, 
    	pQueue: rawptr, 
    	block:  ^runtime.Objc_Block, 
    ) -> ^Object {…}

    Related Procedure Groups

    NotificationCenter_addObserverForName_old ¶

    NotificationCenter_addObserverForName_old :: proc "c" (
    	self:   ^NotificationCenter, 
    	name:   ^String, 
    	pObj:   ^Object, 
    	pQueue: rawptr, 
    	block:  ^Block, 
    ) -> ^Object {…}

    Related Procedure Groups

    NotificationCenter_alloc ¶

    NotificationCenter_alloc :: proc "c" () -> ^NotificationCenter {…}

    Objective-C Method Information

    Syntax Usage

    res := NotificationCenter.alloc()
    

    NotificationCenter_defaultCenter ¶

    NotificationCenter_defaultCenter :: proc "c" () -> ^NotificationCenter {…}

    Objective-C Method Information

    Syntax Usage

    res := NotificationCenter.defaultCenter()
    

    NotificationCenter_init ¶

    NotificationCenter_init :: proc "c" (
    	self: ^NotificationCenter, 
    ) -> ^NotificationCenter {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    NotificationCenter_removeObserver ¶

    NotificationCenter_removeObserver :: proc "c" (
    	self:      ^NotificationCenter, 
    	pObserver: ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->removeObserver(pObserver)
    

    Notification_alloc ¶

    Notification_alloc :: proc "c" () -> ^Notification {…}

    Objective-C Method Information

    Syntax Usage

    res := Notification.alloc()
    

    Notification_init ¶

    Notification_init :: proc "c" (
    	self: ^Notification, 
    ) -> ^Notification {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    Notification_name ¶

    Notification_name :: proc "c" (
    	self: ^Notification, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->name()
    

    Notification_object ¶

    Notification_object :: proc "c" (
    	self: ^Notification, 
    ) -> ^Object {…}

    Objective-C Method Information

    Syntax Usage

    res := self->object()
    

    Notification_userInfo ¶

    Notification_userInfo :: proc "c" (
    	self: ^Notification, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    Syntax Usage

    res := self->userInfo()
    

    Number_alloc ¶

    Number_alloc :: proc "c" () -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Number.alloc()
    

    Number_boolValue ¶

    Number_boolValue :: proc "c" (
    	self: ^Number, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Number
    • Name: boolValue

    Syntax Usage

    res := self->boolValue()
    

    Number_compare ¶

    Number_compare :: proc "c" (
    	self, 
    	other: ^Number, 
    ) -> ComparisonResult {…}

    Objective-C Method Information

    Syntax Usage

    res := self->compare(other)
    

    Number_descriptionWithLocale ¶

    Number_descriptionWithLocale :: proc "c" (
    	self:   ^Number, 
    	locale: ^Object, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Number
    • Name: descriptionWithLocale

    Syntax Usage

    res := self->descriptionWithLocale(locale)
    

    Number_f32Value ¶

    Number_f32Value :: proc "c" (
    	self: ^Number, 
    ) -> f32 {…}

    Objective-C Method Information

    • Class: Number
    • Name: f32Value

    Syntax Usage

    res := self->f32Value()
    

    Number_f64Value ¶

    Number_f64Value :: proc "c" (
    	self: ^Number, 
    ) -> f64 {…}

    Objective-C Method Information

    • Class: Number
    • Name: f64Value

    Syntax Usage

    res := self->f64Value()
    

    Number_i16Value ¶

    Number_i16Value :: proc "c" (
    	self: ^Number, 
    ) -> i16 {…}

    Objective-C Method Information

    • Class: Number
    • Name: i16Value

    Syntax Usage

    res := self->i16Value()
    

    Number_i32Value ¶

    Number_i32Value :: proc "c" (
    	self: ^Number, 
    ) -> i32 {…}

    Objective-C Method Information

    • Class: Number
    • Name: i32Value

    Syntax Usage

    res := self->i32Value()
    

    Number_i64Value ¶

    Number_i64Value :: proc "c" (
    	self: ^Number, 
    ) -> i64 {…}

    Objective-C Method Information

    • Class: Number
    • Name: i64Value

    Syntax Usage

    res := self->i64Value()
    

    Number_i8Value ¶

    Number_i8Value :: proc "c" (
    	self: ^Number, 
    ) -> i8 {…}

    Objective-C Method Information

    Syntax Usage

    res := self->i8Value()
    

    Number_init ¶

    Number_init :: proc "c" (
    	self: ^Number, 
    ) -> ^Number {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    Number_initWithBool ¶

    Number_initWithBool :: proc "c" (
    	self:  ^Number, 
    	value: bool, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithBool

    Syntax Usage

    res := self->initWithBool(value)
    

    Number_initWithF32 ¶

    Number_initWithF32 :: proc "c" (
    	self:  ^Number, 
    	value: f32, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithF32

    Syntax Usage

    res := self->initWithF32(value)
    

    Number_initWithF64 ¶

    Number_initWithF64 :: proc "c" (
    	self:  ^Number, 
    	value: f64, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithF64

    Syntax Usage

    res := self->initWithF64(value)
    

    Number_initWithI16 ¶

    Number_initWithI16 :: proc "c" (
    	self:  ^Number, 
    	value: i16, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithI16

    Syntax Usage

    res := self->initWithI16(value)
    

    Number_initWithI32 ¶

    Number_initWithI32 :: proc "c" (
    	self:  ^Number, 
    	value: i32, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithI32

    Syntax Usage

    res := self->initWithI32(value)
    

    Number_initWithI64 ¶

    Number_initWithI64 :: proc "c" (
    	self:  ^Number, 
    	value: i64, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithI64

    Syntax Usage

    res := self->initWithI64(value)
    

    Number_initWithI8 ¶

    Number_initWithI8 :: proc "c" (
    	self:  ^Number, 
    	value: i8, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithI8

    Syntax Usage

    res := self->initWithI8(value)
    

    Number_initWithInt ¶

    Number_initWithInt :: proc "c" (
    	self:  ^Number, 
    	value: int, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithInt

    Syntax Usage

    res := self->initWithInt(value)
    

    Number_initWithU16 ¶

    Number_initWithU16 :: proc "c" (
    	self:  ^Number, 
    	value: u16, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithU16

    Syntax Usage

    res := self->initWithU16(value)
    

    Number_initWithU32 ¶

    Number_initWithU32 :: proc "c" (
    	self:  ^Number, 
    	value: u32, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithU32

    Syntax Usage

    res := self->initWithU32(value)
    

    Number_initWithU64 ¶

    Number_initWithU64 :: proc "c" (
    	self:  ^Number, 
    	value: u64, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithU64

    Syntax Usage

    res := self->initWithU64(value)
    

    Number_initWithU8 ¶

    Number_initWithU8 :: proc "c" (
    	self:  ^Number, 
    	value: u8, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithU8

    Syntax Usage

    res := self->initWithU8(value)
    

    Number_initWithUint ¶

    Number_initWithUint :: proc "c" (
    	self:  ^Number, 
    	value: uint, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: initWithUint

    Syntax Usage

    res := self->initWithUint(value)
    

    Number_intValue ¶

    Number_intValue :: proc "c" (
    	self: ^Number, 
    ) -> int {…}

    Objective-C Method Information

    • Class: Number
    • Name: intValue

    Syntax Usage

    res := self->intValue()
    

    Number_integerValue ¶

    Number_integerValue :: proc "c" (
    	self: ^Number, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Number
    • Name: integerValue

    Syntax Usage

    res := self->integerValue()
    

    Number_isEqualToNumber ¶

    Number_isEqualToNumber :: proc "c" (
    	self, 
    	other: ^Number, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Number
    • Name: isEqualToNumber

    Syntax Usage

    res := self->isEqualToNumber(other)
    

    Number_numberWithBool ¶

    Number_numberWithBool :: proc "c" (
    	value: bool, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithBool
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithBool(value)
    

    Related Procedure Groups

    Number_numberWithF32 ¶

    Number_numberWithF32 :: proc "c" (
    	value: f32, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithF32
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithF32(value)
    

    Related Procedure Groups

    Number_numberWithF64 ¶

    Number_numberWithF64 :: proc "c" (
    	value: f64, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithF64
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithF64(value)
    

    Related Procedure Groups

    Number_numberWithI16 ¶

    Number_numberWithI16 :: proc "c" (
    	value: i16, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithI16
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithI16(value)
    

    Related Procedure Groups

    Number_numberWithI32 ¶

    Number_numberWithI32 :: proc "c" (
    	value: i32, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithI32
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithI32(value)
    

    Related Procedure Groups

    Number_numberWithI64 ¶

    Number_numberWithI64 :: proc "c" (
    	value: i64, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithI64
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithI64(value)
    

    Related Procedure Groups

    Number_numberWithI8 ¶

    Number_numberWithI8 :: proc "c" (
    	value: i8, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithI8
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithI8(value)
    

    Related Procedure Groups

    Number_numberWithInt ¶

    Number_numberWithInt :: proc "c" (
    	value: int, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithInt
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithInt(value)
    

    Related Procedure Groups

    Number_numberWithU16 ¶

    Number_numberWithU16 :: proc "c" (
    	value: u16, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithU16
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithU16(value)
    

    Related Procedure Groups

    Number_numberWithU32 ¶

    Number_numberWithU32 :: proc "c" (
    	value: u32, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithU32
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithU32(value)
    

    Related Procedure Groups

    Number_numberWithU64 ¶

    Number_numberWithU64 :: proc "c" (
    	value: u64, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithU64
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithU64(value)
    

    Related Procedure Groups

    Number_numberWithU8 ¶

    Number_numberWithU8 :: proc "c" (
    	value: u8, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithU8
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithU8(value)
    

    Related Procedure Groups

    Number_numberWithUint ¶

    Number_numberWithUint :: proc "c" (
    	value: uint, 
    ) -> ^Number {…}

    Objective-C Method Information

    • Class: Number
    • Name: numberWithUint
    • Kind: Class Method

    Syntax Usage

    res := Number.numberWithUint(value)
    

    Related Procedure Groups

    Number_stringValue ¶

    Number_stringValue :: proc "c" (
    	self: ^Number, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Number
    • Name: stringValue

    Syntax Usage

    res := self->stringValue()
    

    Number_u16Value ¶

    Number_u16Value :: proc "c" (
    	self: ^Number, 
    ) -> u16 {…}

    Objective-C Method Information

    • Class: Number
    • Name: u16Value

    Syntax Usage

    res := self->u16Value()
    

    Number_u32Value ¶

    Number_u32Value :: proc "c" (
    	self: ^Number, 
    ) -> u32 {…}

    Objective-C Method Information

    • Class: Number
    • Name: u32Value

    Syntax Usage

    res := self->u32Value()
    

    Number_u64Value ¶

    Number_u64Value :: proc "c" (
    	self: ^Number, 
    ) -> u64 {…}

    Objective-C Method Information

    • Class: Number
    • Name: u64Value

    Syntax Usage

    res := self->u64Value()
    

    Number_u8Value ¶

    Number_u8Value :: proc "c" (
    	self: ^Number, 
    ) -> u8 {…}

    Objective-C Method Information

    Syntax Usage

    res := self->u8Value()
    

    Number_uintValue ¶

    Number_uintValue :: proc "c" (
    	self: ^Number, 
    ) -> uint {…}

    Objective-C Method Information

    • Class: Number
    • Name: uintValue

    Syntax Usage

    res := self->uintValue()
    

    Number_uintegerValue ¶

    Number_uintegerValue :: proc "c" (
    	self: ^Number, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Number
    • Name: uintegerValue

    Syntax Usage

    res := self->uintegerValue()
    

    OpenPanel_URLs ¶

    OpenPanel_URLs :: proc "c" (
    	self: ^OpenPanel, 
    ) -> ^Array {…}

    Objective-C Method Information

    Syntax Usage

    res := self->URLs()
    

    OpenPanel_openPanel ¶

    OpenPanel_openPanel :: proc "c" () -> ^OpenPanel {…}

    Objective-C Method Information

    • Class: OpenPanel
    • Name: openPanel
    • Kind: Class Method

    Syntax Usage

    res := OpenPanel.openPanel()
    

    OpenPanel_setAllowedFileTypes ¶

    OpenPanel_setAllowedFileTypes :: proc "c" (
    	self:  ^OpenPanel, 
    	types: ^Array, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setAllowedFileTypes(types)
    

    OpenPanel_setAllowsMultipleSelection ¶

    OpenPanel_setAllowsMultipleSelection :: proc "c" (
    	self:    ^OpenPanel, 
    	setting: bool, 
    ) {…}

    Objective-C Method Information

    • Class: OpenPanel
    • Name: setAllowsMultipleSelection

    Syntax Usage

    self->setAllowsMultipleSelection(setting)
    

    OpenPanel_setCanChooseDirectories ¶

    OpenPanel_setCanChooseDirectories :: proc "c" (
    	self:    ^OpenPanel, 
    	setting: bool, 
    ) {…}

    Objective-C Method Information

    • Class: OpenPanel
    • Name: setCanChooseDirectories

    Syntax Usage

    self->setCanChooseDirectories(setting)
    

    OpenPanel_setCanChooseFiles ¶

    OpenPanel_setCanChooseFiles :: proc "c" (
    	self:    ^OpenPanel, 
    	setting: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setCanChooseFiles(setting)
    

    OpenPanel_setResolvesAliases ¶

    OpenPanel_setResolvesAliases :: proc "c" (
    	self:    ^OpenPanel, 
    	setting: bool, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setResolvesAliases(setting)
    

    ProcessInfo_activeProcessorCount ¶

    ProcessInfo_activeProcessorCount :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->activeProcessorCount()
    

    ProcessInfo_arguments ¶

    ProcessInfo_arguments :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^Array {…}

    Objective-C Method Information

    Syntax Usage

    res := self->arguments()
    

    ProcessInfo_automaticTerminationSupportEnabled ¶

    ProcessInfo_automaticTerminationSupportEnabled :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: ProcessInfo
    • Name: automaticTerminationSupportEnabled

    Syntax Usage

    res := self->automaticTerminationSupportEnabled()
    

    ProcessInfo_beginActivityWithOptions ¶

    ProcessInfo_beginActivityWithOptions :: proc "c" (
    	self:    ^ProcessInfo, 
    	options: bit_set[ActivityOptionsBits; u64], 
    	reason:  ^String, 
    ) -> ^ObjectProtocol {…}

    Objective-C Method Information

    Syntax Usage

    res := self->beginActivityWithOptions(
    	options,
    	reason,
    )
    

    ProcessInfo_disableAutomaticTermination ¶

    ProcessInfo_disableAutomaticTermination :: proc "c" (
    	self:   ^ProcessInfo, 
    	reason: ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->disableAutomaticTermination(reason)
    

    ProcessInfo_disableSuddenTermination ¶

    ProcessInfo_disableSuddenTermination :: proc "c" (
    	self: ^ProcessInfo, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->disableSuddenTermination()
    

    ProcessInfo_enableAutomaticTermination ¶

    ProcessInfo_enableAutomaticTermination :: proc "c" (
    	self:   ^ProcessInfo, 
    	reason: ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->enableAutomaticTermination(reason)
    

    ProcessInfo_enableSuddenTermination ¶

    ProcessInfo_enableSuddenTermination :: proc "c" (
    	self: ^ProcessInfo, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->enableSuddenTermination()
    

    ProcessInfo_endActivity ¶

    ProcessInfo_endActivity :: proc "c" (
    	self:     ^ProcessInfo, 
    	activity: ^ObjectProtocol, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->endActivity(activity)
    

    ProcessInfo_environment ¶

    ProcessInfo_environment :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^Dictionary {…}

    Objective-C Method Information

    Syntax Usage

    res := self->environment()
    

    ProcessInfo_fullUserName ¶

    ProcessInfo_fullUserName :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->fullUserName()
    

    ProcessInfo_globallyUniqueString ¶

    ProcessInfo_globallyUniqueString :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->globallyUniqueString()
    

    ProcessInfo_hostName ¶

    ProcessInfo_hostName :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->hostName()
    

    ProcessInfo_isLowPowerModeEnabled ¶

    ProcessInfo_isLowPowerModeEnabled :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isLowPowerModeEnabled()
    

    ProcessInfo_isMacCatalystApp ¶

    ProcessInfo_isMacCatalystApp :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isMacCatalystApp()
    

    ProcessInfo_isOperatingSystemAtLeastVersion ¶

    ProcessInfo_isOperatingSystemAtLeastVersion :: proc "c" (
    	self:    ^ProcessInfo, 
    	version: OperatingSystemVersion, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: ProcessInfo
    • Name: isOperatingSystemAtLeastVersion

    Syntax Usage

    res := self->isOperatingSystemAtLeastVersion(version)
    

    ProcessInfo_isiOSAppOnMac ¶

    ProcessInfo_isiOSAppOnMac :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isiOSAppOnMac()
    

    ProcessInfo_operatingSystemVersion ¶

    ProcessInfo_operatingSystemVersion :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> OperatingSystemVersion {…}

    Objective-C Method Information

    Syntax Usage

    res := self->operatingSystemVersion()
    

    ProcessInfo_operatingSystemVersionString ¶

    ProcessInfo_operatingSystemVersionString :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: ProcessInfo
    • Name: operatingSystemVersionString

    Syntax Usage

    res := self->operatingSystemVersionString()
    

    ProcessInfo_performActivityWithOptions ¶

    ProcessInfo_performActivityWithOptions :: proc "c" (
    	self:    ^ProcessInfo, 
    	options: bit_set[ActivityOptionsBits; u64], 
    	reason:  ^String, 
    	block:   proc "c" (), 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->performActivityWithOptions(
    	options,
    	reason,
    	block,
    )
    

    ProcessInfo_performExpiringActivityWithReason ¶

    ProcessInfo_performExpiringActivityWithReason :: proc "c" (
    	self:   ^ProcessInfo, 
    	reason: ^String, 
    	block:  proc "c" (
    	expired: bool, 
    ), 
    ) {…}

    Objective-C Method Information

    • Class: ProcessInfo
    • Name: performExpiringActivityWithReason

    Syntax Usage

    self->performExpiringActivityWithReason(
    	reason,
    	block,
    )
    

    ProcessInfo_physicalMemory ¶

    ProcessInfo_physicalMemory :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> u64 {…}

    Objective-C Method Information

    Syntax Usage

    res := self->physicalMemory()
    

    ProcessInfo_processIdentifier ¶

    ProcessInfo_processIdentifier :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> i32 {…}

    Objective-C Method Information

    Syntax Usage

    res := self->processIdentifier()
    

    ProcessInfo_processInfo ¶

    ProcessInfo_processInfo :: proc "c" () -> ^ProcessInfo {…}

    Objective-C Method Information

    • Class: ProcessInfo
    • Name: processInfo
    • Kind: Class Method

    Syntax Usage

    res := ProcessInfo.processInfo()
    

    ProcessInfo_processName ¶

    ProcessInfo_processName :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->processName()
    

    ProcessInfo_processorCount ¶

    ProcessInfo_processorCount :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->processorCount()
    

    ProcessInfo_setAutomaticTerminationSupportEnabled ¶

    ProcessInfo_setAutomaticTerminationSupportEnabled :: proc "c" (
    	self:                               ^ProcessInfo, 
    	automaticTerminationSupportEnabled: bool, 
    ) {…}

    Objective-C Method Information

    • Class: ProcessInfo
    • Name: setAutomaticTerminationSupportEnabled

    Syntax Usage

    self->setAutomaticTerminationSupportEnabled(automaticTerminationSupportEnabled)
    

    ProcessInfo_systemUptime ¶

    ProcessInfo_systemUptime :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> TimeInterval {…}

    Objective-C Method Information

    Syntax Usage

    res := self->systemUptime()
    

    ProcessInfo_thermalState ¶

    ProcessInfo_thermalState :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ProcessInfoThermalState {…}

    Objective-C Method Information

    Syntax Usage

    res := self->thermalState()
    

    ProcessInfo_userName ¶

    ProcessInfo_userName :: proc "c" (
    	self: ^ProcessInfo, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->userName()
    

    Range_Equal ¶

    Range_Equal :: proc "c" (
    	a, 
    	b: Range, 
    ) -> bool {…}

    Range_LocationInRange ¶

    Range_LocationInRange :: proc "c" (
    	self: Range, 
    	loc:  UInteger, 
    ) -> bool {…}

    Range_Make ¶

    Range_Make :: proc "c" (
    	loc, 
    	len: UInteger, 
    ) -> Range {…}

    Range_Max ¶

    Range_Max :: proc "c" (
    	self: Range, 
    ) -> UInteger {…}

    RunLoop_addTimerForMode ¶

    RunLoop_addTimerForMode :: proc(
    	self:    ^RunLoop, 
    	timer:   ^Timer, 
    	forMode: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: RunLoop
    • Name: addTimerForMode

    Syntax Usage

    self->addTimerForMode(
    	timer,
    	forMode,
    )
    

    RunLoop_mainRunLoop ¶

    RunLoop_mainRunLoop :: proc() -> ^RunLoop {…}

    Objective-C Method Information

    • Class: RunLoop
    • Name: mainRunLoop
    • Kind: Class Method

    Syntax Usage

    res := RunLoop.mainRunLoop()
    

    RunningApplication_currentApplication ¶

    RunningApplication_currentApplication :: proc "c" () -> ^RunningApplication {…}

    Objective-C Method Information

    Syntax Usage

    res := RunningApplication.currentApplication()
    

    RunningApplication_finishedLaunching ¶

    RunningApplication_finishedLaunching :: proc "c" (
    	self: ^RunningApplication, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->finishedLaunching()
    

    RunningApplication_localizedName ¶

    RunningApplication_localizedName :: proc "c" (
    	self: ^RunningApplication, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->localizedName()
    

    SavePanel_URL ¶

    SavePanel_URL :: proc "c" (
    	self: ^SavePanel, 
    ) -> ^URL {…}

    Objective-C Method Information

    Syntax Usage

    res := self->URL()
    

    SavePanel_runModal ¶

    SavePanel_runModal :: proc "c" (
    	self: ^SavePanel, 
    ) -> ModalResponse {…}

    Objective-C Method Information

    Syntax Usage

    res := self->runModal()
    

    SavePanel_savePanel ¶

    SavePanel_savePanel :: proc "c" () -> ^SavePanel {…}

    Objective-C Method Information

    • Class: SavePanel
    • Name: savePanel
    • Kind: Class Method

    Syntax Usage

    res := SavePanel.savePanel()
    

    Screen_backingScaleFactor ¶

    Screen_backingScaleFactor :: proc "c" (
    	self: ^Screen, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Screen
    • Name: backingScaleFactor

    Syntax Usage

    res := self->backingScaleFactor()
    

    Screen_colorSpace ¶

    Screen_colorSpace :: proc "c" (
    	self: ^Screen, 
    ) -> ^ColorSpace {…}

    Objective-C Method Information

    • Class: Screen
    • Name: colorSpace

    Syntax Usage

    res := self->colorSpace()
    

    Screen_deepestScreen ¶

    Screen_deepestScreen :: proc "c" () -> ^Screen {…}

    Objective-C Method Information

    • Class: Screen
    • Name: deepestScreen
    • Kind: Class Method

    Syntax Usage

    res := Screen.deepestScreen()
    

    Screen_depth ¶

    Screen_depth :: proc "c" (
    	self: ^Screen, 
    ) -> Depth {…}

    Objective-C Method Information

    Syntax Usage

    res := self->depth()
    

    Screen_frame ¶

    Screen_frame :: proc "c" (
    	self: ^Screen, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    Syntax Usage

    res := self->frame()
    

    Screen_mainScreen ¶

    Screen_mainScreen :: proc "c" () -> ^Screen {…}

    Objective-C Method Information

    • Class: Screen
    • Name: mainScreen
    • Kind: Class Method

    Syntax Usage

    res := Screen.mainScreen()
    

    Screen_screens ¶

    Screen_screens :: proc "c" () -> ^Array {…}

    Objective-C Method Information

    • Class: Screen
    • Name: screens
    • Kind: Class Method

    Syntax Usage

    res := Screen.screens()
    

    Screen_screensHaveSeparateSpaces ¶

    Screen_screensHaveSeparateSpaces :: proc "c" () -> bool {…}

    Objective-C Method Information

    • Class: Screen
    • Name: screensHaveSeparateSpaces
    • Kind: Class Method

    Syntax Usage

    res := Screen.screensHaveSeparateSpaces()
    

    Screen_visibleFrame ¶

    Screen_visibleFrame :: proc "c" (
    	self: ^Screen, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Screen
    • Name: visibleFrame

    Syntax Usage

    res := self->visibleFrame()
    

    SelectorFromString ¶

    SelectorFromString :: proc "c" (
    	str: ^String, 
    ) -> ^.objc_selector ---

    Set_alloc ¶

    Set_alloc :: proc "c" () -> ^Set {…}

    Objective-C Method Information

    • Class: Set
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Set.alloc()
    

    Set_init ¶

    Set_init :: proc "c" (
    	self: ^Set, 
    ) -> ^Set {…}

    Objective-C Method Information

    • Class: Set
    • Name: init

    Syntax Usage

    res := self->init()
    

    Set_initWithCoder ¶

    Set_initWithCoder :: proc "c" (
    	self:  ^Set, 
    	coder: ^Coder, 
    ) -> ^Set {…}

    Objective-C Method Information

    • Class: Set
    • Name: initWithCoder

    Syntax Usage

    res := self->initWithCoder(coder)
    

    Set_initWithObjects ¶

    Set_initWithObjects :: proc "c" (
    	self:    ^Set, 
    	objects: [^]^Object, 
    	count:   UInteger, 
    ) -> ^Set {…}

    Objective-C Method Information

    • Class: Set
    • Name: initWithObjects

    Syntax Usage

    res := self->initWithObjects(
    	objects,
    	count,
    )
    

    StringFromClass ¶

    StringFromClass :: proc "c" (
    	cls: ^.objc_class, 
    ) -> ^String ---

    StringFromSelector ¶

    StringFromSelector :: proc "c" (
    	selector: ^.objc_selector, 
    ) -> ^String ---

    String_UTF8String ¶

    String_UTF8String :: proc "c" (
    	self: ^String, 
    ) -> cstring {…}

    Objective-C Method Information

    • Class: String
    • Name: UTF8String

    Syntax Usage

    res := self->UTF8String()
    

    String_alloc ¶

    String_alloc :: proc "c" () -> ^String {…}

    Objective-C Method Information

    • Class: String
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := String.alloc()
    

    String_characterAtIndex ¶

    String_characterAtIndex :: proc "c" (
    	self:  ^String, 
    	index: UInteger, 
    ) -> unichar {…}

    Objective-C Method Information

    • Class: String
    • Name: characterAtIndex

    Syntax Usage

    res := self->characterAtIndex(index)
    

    String_cstringUsingEncoding ¶

    String_cstringUsingEncoding :: proc "c" (
    	self:     ^String, 
    	encoding: StringEncoding, 
    ) -> cstring {…}

    Objective-C Method Information

    • Class: String
    • Name: cstringUsingEncoding

    Syntax Usage

    res := self->cstringUsingEncoding(encoding)
    

    String_init ¶

    String_init :: proc "c" (
    	self: ^String, 
    ) -> ^String {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    String_initWithBytesNoCopy ¶

    String_initWithBytesNoCopy :: proc "c" (
    	self:         ^String, 
    	pBytes:       rawptr, 
    	length:       UInteger, 
    	encoding:     StringEncoding, 
    	freeWhenDone: bool, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: String
    • Name: initWithBytesNoCopy

    Syntax Usage

    res := self->initWithBytesNoCopy(
    	pBytes,
    	length,
    	encoding,
    	freeWhenDone,
    )
    

    String_initWithCString ¶

    String_initWithCString :: proc "c" (
    	self:     ^String, 
    	pString:  cstring, 
    	encoding: StringEncoding, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: String
    • Name: initWithCString

    Syntax Usage

    res := self->initWithCString(
    	pString,
    	encoding,
    )
    

    String_initWithOdinString ¶

    String_initWithOdinString :: proc "c" (
    	self: ^String, 
    	str:  string, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: String
    • Name: initWithOdinString

    Syntax Usage

    res := self->initWithOdinString(str)
    

    String_initWithString ¶

    String_initWithString :: proc "c" (
    	self:  ^String, 
    	other: ^String, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: String
    • Name: initWithString

    Syntax Usage

    res := self->initWithString(other)
    

    String_isEqualToString ¶

    String_isEqualToString :: proc "c" (
    	self:  ^String, 
    	other: ^String, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: String
    • Name: isEqualToString

    Syntax Usage

    res := self->isEqualToString(other)
    

    String_length ¶

    String_length :: proc "c" (
    	self: ^String, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->length()
    

    String_lengthOfBytesUsingEncoding ¶

    String_lengthOfBytesUsingEncoding :: proc "c" (
    	self:     ^String, 
    	encoding: StringEncoding, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: String
    • Name: lengthOfBytesUsingEncoding

    Syntax Usage

    res := self->lengthOfBytesUsingEncoding(encoding)
    

    String_maximumLengthOfBytesUsingEncoding ¶

    String_maximumLengthOfBytesUsingEncoding :: proc "c" (
    	self:     ^String, 
    	encoding: StringEncoding, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: String
    • Name: maximumLengthOfBytesUsingEncoding

    Syntax Usage

    res := self->maximumLengthOfBytesUsingEncoding(encoding)
    

    String_odinString ¶

    String_odinString :: proc "c" (
    	self: ^String, 
    ) -> string {…}

    Objective-C Method Information

    • Class: String
    • Name: odinString

    Syntax Usage

    res := self->odinString()
    

    String_rangeOfString ¶

    String_rangeOfString :: proc "c" (
    	self, other: ^String, 
    	options:     StringCompareOptions, 
    ) -> Range {…}

    Objective-C Method Information

    • Class: String
    • Name: rangeOfString

    Syntax Usage

    res := self->rangeOfString(
    	other,
    	options,
    )
    

    String_stringByAppendingString ¶

    String_stringByAppendingString :: proc "c" (
    	self:  ^String, 
    	other: ^String, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: String
    • Name: stringByAppendingString

    Syntax Usage

    res := self->stringByAppendingString(other)
    

    Timer_scheduledTimerWithTimeIntervalRepeatsBlock ¶

    Timer_scheduledTimerWithTimeIntervalRepeatsBlock :: proc(
    	interval: TimeInterval, 
    	repeats:  bool, 
    	block:    ^Block, 
    ) -> ^Timer {…}

    Objective-C Method Information

    • Class: Timer
    • Name: scheduledTimerWithTimeIntervalRepeatsBlock
    • Kind: Class Method

    Syntax Usage

    res := Timer.scheduledTimerWithTimeIntervalRepeatsBlock(
    	interval,
    	repeats,
    	block,
    )
    

    Timer_scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeat ¶

    Timer_scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeat :: proc(
    	interval:  TimeInterval, 
    	aTarget:   ^.objc_object, 
    	aSelector: ^.objc_selector, 
    	userInfo:  ^.objc_object, 
    	repeats:   bool, 
    ) -> ^Timer {…}

    Objective-C Method Information

    • Class: Timer
    • Name: scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeat
    • Kind: Class Method

    Syntax Usage

    res := Timer.scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeat(
    	interval,
    	aTarget,
    	aSelector,
    	userInfo,
    	repeats,
    )
    

    Toolbar_alloc ¶

    Toolbar_alloc :: proc "c" () -> ^Toolbar {…}

    Objective-C Method Information

    • Class: Toolbar
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Toolbar.alloc()
    

    Toolbar_init ¶

    Toolbar_init :: proc "c" (
    	self: ^Toolbar, 
    ) -> ^Toolbar {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    URLRequest_alloc ¶

    URLRequest_alloc :: proc "c" () -> ^URLRequest {…}

    Objective-C Method Information

    • Class: URLRequest
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := URLRequest.alloc()
    

    URLRequest_init ¶

    URLRequest_init :: proc "c" (
    	self: ^URLRequest, 
    ) -> ^URLRequest {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    URLRequest_requestWithURL ¶

    URLRequest_requestWithURL :: proc "c" (
    	url: ^URL, 
    ) -> ^URLRequest {…}

    Objective-C Method Information

    • Class: URLRequest
    • Name: requestWithURL
    • Kind: Class Method

    Syntax Usage

    res := URLRequest.requestWithURL(url)
    

    URLRequest_url ¶

    URLRequest_url :: proc "c" (
    	self: ^URLRequest, 
    ) -> ^URL {…}

    Objective-C Method Information

    Syntax Usage

    res := self->url()
    

    URLResponse_alloc ¶

    URLResponse_alloc :: proc "c" () -> ^URLResponse {…}

    Objective-C Method Information

    Syntax Usage

    res := URLResponse.alloc()
    

    URLResponse_init ¶

    URLResponse_init :: proc "c" (
    	self: ^URLResponse, 
    ) -> ^URLResponse {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    URLResponse_initWithURL ¶

    URLResponse_initWithURL :: proc "c" (
    	self:      ^URLResponse, 
    	url:       ^URL, 
    	mime_type: ^String, 
    	length:    int, 
    	encoding:  ^String, 
    ) -> ^URLResponse {…}

    Objective-C Method Information

    Syntax Usage

    res := self->initWithURL(
    	url,
    	mime_type,
    	length,
    	encoding,
    )
    

    URL_alloc ¶

    URL_alloc :: proc "c" () -> ^URL {…}

    Objective-C Method Information

    • Class: URL
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := URL.alloc()
    

    URL_fileSystemRepresentation ¶

    URL_fileSystemRepresentation :: proc "c" (
    	self: ^URL, 
    ) -> cstring {…}

    Objective-C Method Information

    • Class: URL
    • Name: fileSystemRepresentation

    Syntax Usage

    res := self->fileSystemRepresentation()
    

    URL_init ¶

    URL_init :: proc "c" (
    	self: ^URL, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: URL
    • Name: init

    Syntax Usage

    res := self->init()
    

    URL_initFileURLWithPath ¶

    URL_initFileURLWithPath :: proc "c" (
    	self: ^URL, 
    	path: ^String, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: URL
    • Name: initFileURLWithPath

    Syntax Usage

    res := self->initFileURLWithPath(path)
    

    URL_initWithString ¶

    URL_initWithString :: proc "c" (
    	self:  ^URL, 
    	value: ^String, 
    ) -> ^URL {…}

    Objective-C Method Information

    • Class: URL
    • Name: initWithString

    Syntax Usage

    res := self->initWithString(value)
    

    URL_relativePath ¶

    URL_relativePath :: proc "c" (
    	self: ^URL, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: URL
    • Name: relativePath

    Syntax Usage

    res := self->relativePath()
    

    UserDefaults_setBoolForKey ¶

    UserDefaults_setBoolForKey :: proc "c" (
    	self:  ^UserDefaults, 
    	value: bool, 
    	name:  ^String, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->setBoolForKey(
    	value,
    	name,
    )
    

    UserDefaults_standardUserDefaults ¶

    UserDefaults_standardUserDefaults :: proc "c" () -> ^UserDefaults {…}

    Objective-C Method Information

    • Class: UserDefaults
    • Name: standardUserDefaults
    • Kind: Class Method

    Syntax Usage

    res := UserDefaults.standardUserDefaults()
    

    Value_alloc ¶

    Value_alloc :: proc "c" () -> ^Value {…}

    Objective-C Method Information

    • Class: Value
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Value.alloc()
    

    Value_getValue ¶

    Value_getValue :: proc "c" (
    	self:  ^Value, 
    	value: rawptr, 
    	size:  UInteger, 
    ) {…}

    Objective-C Method Information

    • Class: Value
    • Name: getValue

    Syntax Usage

    self->getValue(
    	value,
    	size,
    )
    

    Value_init ¶

    Value_init :: proc "c" (
    	self: ^Value, 
    ) -> ^Value {…}

    Objective-C Method Information

    • Class: Value
    • Name: init

    Syntax Usage

    res := self->init()
    

    Value_initWithBytes ¶

    Value_initWithBytes :: proc "c" (
    	self:  ^Value, 
    	value: rawptr, 
    	type:  cstring, 
    ) -> ^Value {…}

    Objective-C Method Information

    • Class: Value
    • Name: initWithBytes

    Syntax Usage

    res := self->initWithBytes(
    	value,
    	type,
    )
    

    Value_initWithCoder ¶

    Value_initWithCoder :: proc "c" (
    	self:  ^Value, 
    	coder: ^Coder, 
    ) -> ^Value {…}

    Objective-C Method Information

    • Class: Value
    • Name: initWithCoder

    Syntax Usage

    res := self->initWithCoder(coder)
    

    Value_isEqualToValue ¶

    Value_isEqualToValue :: proc "c" (
    	self, 
    	other: ^Value, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Value
    • Name: isEqualToValue

    Syntax Usage

    res := self->isEqualToValue(other)
    

    Value_objCType ¶

    Value_objCType :: proc "c" (
    	self: ^Value, 
    ) -> cstring {…}

    Objective-C Method Information

    • Class: Value
    • Name: objCType

    Syntax Usage

    res := self->objCType()
    

    Value_pointerValue ¶

    Value_pointerValue :: proc "c" (
    	self: ^Value, 
    ) -> rawptr {…}

    Objective-C Method Information

    • Class: Value
    • Name: pointerValue

    Syntax Usage

    res := self->pointerValue()
    

    Value_valueWithBytes ¶

    Value_valueWithBytes :: proc "c" (
    	value: rawptr, 
    	type:  cstring, 
    ) -> ^Value {…}

    Objective-C Method Information

    • Class: Value
    • Name: valueWithBytes
    • Kind: Class Method

    Syntax Usage

    res := Value.valueWithBytes(
    	value,
    	type,
    )
    

    Value_valueWithPointer ¶

    Value_valueWithPointer :: proc "c" (
    	pointer: rawptr, 
    ) -> ^Value {…}

    Objective-C Method Information

    • Class: Value
    • Name: valueWithPointer
    • Kind: Class Method

    Syntax Usage

    res := Value.valueWithPointer(pointer)
    

    View_addSubview ¶

    View_addSubview :: proc "c" (
    	self: ^View, 
    	view: ^View, 
    ) {…}

    Objective-C Method Information

    • Class: View
    • Name: addSubview

    Syntax Usage

    self->addSubview(view)
    

    View_alloc ¶

    View_alloc :: proc "c" () -> ^View {…}

    Objective-C Method Information

    • Class: View
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := View.alloc()
    

    View_bounds ¶

    View_bounds :: proc "c" (
    	self: ^View, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: View
    • Name: bounds

    Syntax Usage

    res := self->bounds()
    

    View_convertPointFromView ¶

    View_convertPointFromView :: proc "c" (
    	self:  ^View, 
    	point: CoreFoundation.CGPoint, 
    	view:  ^View, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: View
    • Name: convertPointFromView

    Syntax Usage

    res := self->convertPointFromView(
    	point,
    	view,
    )
    

    View_initWithFrame ¶

    View_initWithFrame :: proc "c" (
    	self:  ^View, 
    	frame: CoreFoundation.CGRect, 
    ) -> ^View {…}

    Objective-C Method Information

    • Class: View
    • Name: initWithFrame

    Syntax Usage

    res := self->initWithFrame(frame)
    

    View_isFlipped ¶

    View_isFlipped :: proc "c" (
    	self: ^View, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: View
    • Name: isFlipped

    Syntax Usage

    res := self->isFlipped()
    

    View_layer ¶

    View_layer :: proc "c" (
    	self: ^View, 
    ) -> ^Layer {…}

    Objective-C Method Information

    • Class: View
    • Name: layer

    Syntax Usage

    res := self->layer()
    

    View_setIsFlipped ¶

    View_setIsFlipped :: proc "c" (
    	self:    ^View, 
    	flipped: bool, 
    ) {…}

    Objective-C Method Information

    • Class: View
    • Name: setIsFlipped

    Syntax Usage

    self->setIsFlipped(flipped)
    

    View_setLayer ¶

    View_setLayer :: proc "c" (
    	self:  ^View, 
    	layer: ^Layer, 
    ) {…}

    Objective-C Method Information

    • Class: View
    • Name: setLayer

    Syntax Usage

    self->setLayer(layer)
    

    View_setWantsLayer ¶

    View_setWantsLayer :: proc "c" (
    	self:       ^View, 
    	wantsLayer: bool, 
    ) {…}

    Objective-C Method Information

    • Class: View
    • Name: setWantsLayer

    Syntax Usage

    self->setWantsLayer(wantsLayer)
    

    View_wantsLayer ¶

    View_wantsLayer :: proc "c" (
    	self: ^View, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: View
    • Name: wantsLayer

    Syntax Usage

    res := self->wantsLayer()
    

    Window_alloc ¶

    Window_alloc :: proc "c" () -> ^Window {…}

    Objective-C Method Information

    • Class: Window
    • Name: alloc
    • Kind: Class Method

    Syntax Usage

    res := Window.alloc()
    

    Window_backgroundColor ¶

    Window_backgroundColor :: proc "c" (
    	self: ^Window, 
    ) -> ^Color {…}

    Objective-C Method Information

    • Class: Window
    • Name: backgroundColor

    Syntax Usage

    res := self->backgroundColor()
    

    Window_backingScaleFactor ¶

    Window_backingScaleFactor :: proc "c" (
    	self: ^Window, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Window
    • Name: backingScaleFactor

    Syntax Usage

    res := self->backingScaleFactor()
    

    Window_center ¶

    Window_center :: proc "c" (
    	self: ^Window, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->center()
    

    Window_close ¶

    Window_close :: proc "c" (
    	self: ^Window, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->close()
    

    Window_collectionBehavior ¶

    Window_collectionBehavior :: proc "c" (
    	self: ^Window, 
    ) -> WindowCollectionBehavior {…}

    Objective-C Method Information

    • Class: Window
    • Name: collectionBehavior

    Syntax Usage

    res := self->collectionBehavior()
    

    Window_contentLayoutRect ¶

    Window_contentLayoutRect :: proc "c" (
    	self: ^Window, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: contentLayoutRect

    Syntax Usage

    res := self->contentLayoutRect()
    

    Window_contentRectForFrameRectInstance ¶

    Window_contentRectForFrameRectInstance :: proc "c" (
    	self:      ^Window, 
    	frameRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: contentRectForFrameRect

    Syntax Usage

    res := self->contentRectForFrameRect(frameRect)
    

    Window_contentRectForFrameRectType ¶

    Window_contentRectForFrameRectType :: proc "c" (
    	frameRect: CoreFoundation.CGRect, 
    	styleMask: WindowStyleMask, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: contentRectForFrameRect
    • Kind: Class Method

    Syntax Usage

    res := Window.contentRectForFrameRect(
    	frameRect,
    	styleMask,
    )
    

    Window_contentView ¶

    Window_contentView :: proc "c" (
    	self: ^Window, 
    ) -> ^View {…}

    Objective-C Method Information

    • Class: Window
    • Name: contentView

    Syntax Usage

    res := self->contentView()
    

    Window_convertPointFromBacking ¶

    Window_convertPointFromBacking :: proc "c" (
    	self:  ^Window, 
    	point: CoreFoundation.CGPoint, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertPointFromBacking

    Syntax Usage

    res := self->convertPointFromBacking(point)
    

    Window_convertPointFromScreen ¶

    Window_convertPointFromScreen :: proc "c" (
    	self:  ^Window, 
    	point: CoreFoundation.CGPoint, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertPointFromScreen

    Syntax Usage

    res := self->convertPointFromScreen(point)
    

    Window_convertPointToBacking ¶

    Window_convertPointToBacking :: proc "c" (
    	self:  ^Window, 
    	point: CoreFoundation.CGPoint, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertPointToBacking

    Syntax Usage

    res := self->convertPointToBacking(point)
    

    Window_convertPointToScreen ¶

    Window_convertPointToScreen :: proc "c" (
    	self:  ^Window, 
    	point: CoreFoundation.CGPoint, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertPointToScreen

    Syntax Usage

    res := self->convertPointToScreen(point)
    

    Window_convertRectFromBacking ¶

    Window_convertRectFromBacking :: proc "c" (
    	self: ^Window, 
    	rect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertRectFromBacking

    Syntax Usage

    res := self->convertRectFromBacking(rect)
    

    Window_convertRectFromScreen ¶

    Window_convertRectFromScreen :: proc "c" (
    	self: ^Window, 
    	rect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertRectFromScreen

    Syntax Usage

    res := self->convertRectFromScreen(rect)
    

    Window_convertRectToBacking ¶

    Window_convertRectToBacking :: proc "c" (
    	self: ^Window, 
    	rect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertRectToBacking

    Syntax Usage

    res := self->convertRectToBacking(rect)
    

    Window_convertRectToScreen ¶

    Window_convertRectToScreen :: proc "c" (
    	self: ^Window, 
    	rect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: convertRectToScreen

    Syntax Usage

    res := self->convertRectToScreen(rect)
    

    Window_delegate ¶

    Window_delegate :: proc "c" (
    	self: ^Window, 
    ) -> ^WindowDelegate {…}

    Objective-C Method Information

    • Class: Window
    • Name: delegate

    Syntax Usage

    res := self->delegate()
    

    Window_frame ¶

    Window_frame :: proc "c" (
    	self: ^Window, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    Syntax Usage

    res := self->frame()
    

    Window_frameRectForContentRectInstance ¶

    Window_frameRectForContentRectInstance :: proc "c" (
    	self:        ^Window, 
    	contentRect: CoreFoundation.CGRect, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: frameRectForContentRect

    Syntax Usage

    res := self->frameRectForContentRect(contentRect)
    

    Window_frameRectForContentRectType ¶

    Window_frameRectForContentRectType :: proc "c" (
    	contentRect: CoreFoundation.CGRect, 
    	styleMask:   WindowStyleMask, 
    ) -> CoreFoundation.CGRect {…}

    Objective-C Method Information

    • Class: Window
    • Name: frameRectForContentRect
    • Kind: Class Method

    Syntax Usage

    res := Window.frameRectForContentRect(
    	contentRect,
    	styleMask,
    )
    

    Window_hasCloseBox ¶

    Window_hasCloseBox :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: hasCloseBox

    Syntax Usage

    res := self->hasCloseBox()
    

    Window_hasTitleBar ¶

    Window_hasTitleBar :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: hasTitleBar

    Syntax Usage

    res := self->hasTitleBar()
    

    Window_initWithContentRect ¶

    Window_initWithContentRect :: proc(
    	self:        ^Window, 
    	contentRect: CoreFoundation.CGRect, 
    	styleMask:   WindowStyleMask, 
    	backing:     BackingStoreType, 
    	doDefer:     bool, 
    ) -> ^Window {…}

    Objective-C Method Information

    • Class: Window
    • Name: initWithContentRect

    Syntax Usage

    res := self->initWithContentRect(
    	contentRect,
    	styleMask,
    	backing,
    	doDefer,
    )
    

    Window_isFloatingPanel ¶

    Window_isFloatingPanel :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: isFloatingPanel

    Syntax Usage

    res := self->isFloatingPanel()
    

    Window_isMiniaturizable ¶

    Window_isMiniaturizable :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: isMiniaturizable

    Syntax Usage

    res := self->isMiniaturizable()
    

    Window_isModalPanel ¶

    Window_isModalPanel :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: isModalPanel

    Syntax Usage

    res := self->isModalPanel()
    

    Window_isResizable ¶

    Window_isResizable :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: isResizable

    Syntax Usage

    res := self->isResizable()
    

    Window_isZoomable ¶

    Window_isZoomable :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: isZoomable

    Syntax Usage

    res := self->isZoomable()
    

    Window_keyWindow ¶

    Window_keyWindow :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: keyWindow

    Syntax Usage

    res := self->keyWindow()
    

    Window_mainWindow ¶

    Window_mainWindow :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: mainWindow

    Syntax Usage

    res := self->mainWindow()
    

    Window_makeFirstResponder ¶

    Window_makeFirstResponder :: proc "c" (
    	self:      ^Window, 
    	responder: ^Responder, 
    ) -> bool {…}

    Objective-C Method Information

    • Class: Window
    • Name: makeFirstResponder

    Syntax Usage

    res := self->makeFirstResponder(responder)
    

    Window_makeKeyAndOrderFront ¶

    Window_makeKeyAndOrderFront :: proc "c" (
    	self: ^Window, 
    	key:  ^Object, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: makeKeyAndOrderFront

    Syntax Usage

    self->makeKeyAndOrderFront(key)
    

    Window_minFrameWidthWithTitle ¶

    Window_minFrameWidthWithTitle :: proc "c" (
    	title:     ^String, 
    	styleMask: WindowStyleMask, 
    ) -> CoreFoundation.CGFloat {…}

    Objective-C Method Information

    • Class: Window
    • Name: minFrameWidthWithTitle
    • Kind: Class Method

    Syntax Usage

    res := Window.minFrameWidthWithTitle(
    	title,
    	styleMask,
    )
    

    Window_opaque ¶

    Window_opaque :: proc "c" (
    	self: ^Window, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->opaque()
    

    Window_orderFront ¶

    Window_orderFront :: proc "c" (
    	self:   ^Window, 
    	sender: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: orderFront

    Syntax Usage

    self->orderFront(sender)
    

    Window_orderOut ¶

    Window_orderOut :: proc "c" (
    	self:   ^Window, 
    	sender: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: orderOut

    Syntax Usage

    self->orderOut(sender)
    

    Window_orderedIndex ¶

    Window_orderedIndex :: proc "c" (
    	self: ^Window, 
    ) -> Integer {…}

    Objective-C Method Information

    • Class: Window
    • Name: orderedIndex

    Syntax Usage

    res := self->orderedIndex()
    

    Window_parentWindow ¶

    Window_parentWindow :: proc "c" (
    	self: ^Window, 
    ) -> ^Window {…}

    Objective-C Method Information

    • Class: Window
    • Name: parentWindow

    Syntax Usage

    res := self->parentWindow()
    

    Window_performClose ¶

    Window_performClose :: proc "c" (
    	self:   ^Window, 
    	sender: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: performClose

    Syntax Usage

    self->performClose(sender)
    

    Window_performWindowDragWithEvent ¶

    Window_performWindowDragWithEvent :: proc "c" (
    	self:  ^Window, 
    	event: ^Event, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: performWindowDragWithEvent

    Syntax Usage

    self->performWindowDragWithEvent(event)
    

    Window_performZoom ¶

    Window_performZoom :: proc "c" (
    	self: ^Window, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: performZoom

    Syntax Usage

    self->performZoom()
    

    Window_screen ¶

    Window_screen :: proc "c" (
    	self: ^Window, 
    ) -> ^Screen {…}

    Objective-C Method Information

    Syntax Usage

    res := self->screen()
    

    Window_setAcceptsMouseMovedEvents ¶

    Window_setAcceptsMouseMovedEvents :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setAcceptsMouseMovedEvents

    Syntax Usage

    self->setAcceptsMouseMovedEvents(ok)
    

    Window_setBackgroundColor ¶

    Window_setBackgroundColor :: proc "c" (
    	self:  ^Window, 
    	color: ^Color, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setBackgroundColor

    Syntax Usage

    self->setBackgroundColor(color)
    

    Window_setCollectionBehavior ¶

    Window_setCollectionBehavior :: proc "c" (
    	self:     ^Window, 
    	behavior: WindowCollectionBehavior, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setCollectionBehavior

    Syntax Usage

    self->setCollectionBehavior(behavior)
    

    Window_setContentView ¶

    Window_setContentView :: proc "c" (
    	self:         ^Window, 
    	content_view: ^View, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setContentView

    Syntax Usage

    self->setContentView(content_view)
    

    Window_setDelegate ¶

    Window_setDelegate :: proc "c" (
    	self:     ^Window, 
    	delegate: ^WindowDelegate, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setDelegate

    Syntax Usage

    self->setDelegate(delegate)
    

    Window_setFrame ¶

    Window_setFrame :: proc "c" (
    	self:    ^Window, 
    	frame:   CoreFoundation.CGRect, 
    	display: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setFrame

    Syntax Usage

    self->setFrame(
    	frame,
    	display,
    )
    

    Window_setFrameOrigin ¶

    Window_setFrameOrigin :: proc "c" (
    	self:   ^Window, 
    	origin: CoreFoundation.CGPoint, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setFrameOrigin

    Syntax Usage

    self->setFrameOrigin(origin)
    

    Window_setIsMiniaturized ¶

    Window_setIsMiniaturized :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setIsMiniaturized

    Syntax Usage

    self->setIsMiniaturized(ok)
    

    Window_setIsVisible ¶

    Window_setIsVisible :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setIsVisible

    Syntax Usage

    self->setIsVisible(ok)
    

    Window_setIsZoomed ¶

    Window_setIsZoomed :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setIsZoomed

    Syntax Usage

    self->setIsZoomed(ok)
    

    Window_setLevel ¶

    Window_setLevel :: proc "c" (
    	self:  ^Window, 
    	level: WindowLevel, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setLevel

    Syntax Usage

    self->setLevel(level)
    

    Window_setMinSize ¶

    Window_setMinSize :: proc "c" (
    	self: ^Window, 
    	size: CoreFoundation.CGSize, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setMinSize

    Syntax Usage

    self->setMinSize(size)
    

    Window_setMovable ¶

    Window_setMovable :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setMovable

    Syntax Usage

    self->setMovable(ok)
    

    Window_setMovableByWindowBackground ¶

    Window_setMovableByWindowBackground :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setMovableByWindowBackground

    Syntax Usage

    self->setMovableByWindowBackground(ok)
    

    Window_setOpaque ¶

    Window_setOpaque :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setOpaque

    Syntax Usage

    self->setOpaque(ok)
    

    Window_setReleasedWhenClosed ¶

    Window_setReleasedWhenClosed :: proc "c" (
    	self: ^Window, 
    	flag: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setReleasedWhenClosed

    Syntax Usage

    self->setReleasedWhenClosed(flag)
    

    Window_setRestorable ¶

    Window_setRestorable :: proc "c" (
    	self: ^Window, 
    	flag: bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setRestorable

    Syntax Usage

    self->setRestorable(flag)
    

    Window_setStyleMask ¶

    Window_setStyleMask :: proc "c" (
    	self:       ^Window, 
    	style_mask: WindowStyleMask, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setStyleMask

    Syntax Usage

    self->setStyleMask(style_mask)
    

    Window_setTabbingMode ¶

    Window_setTabbingMode :: proc "c" (
    	self: ^Window, 
    	mode: WindowTabbingMode, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setTabbingMode

    Syntax Usage

    self->setTabbingMode(mode)
    

    Window_setTitle ¶

    Window_setTitle :: proc "c" (
    	self:  ^Window, 
    	title: ^String, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setTitle

    Syntax Usage

    self->setTitle(title)
    

    Window_setTitleVisibility ¶

    Window_setTitleVisibility :: proc "c" (
    	self:       ^Window, 
    	visibility: Window_Title_Visibility, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setTitleVisibility

    Syntax Usage

    self->setTitleVisibility(visibility)
    

    Window_setTitlebarAppearsTransparent ¶

    Window_setTitlebarAppearsTransparent :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setTitlebarAppearsTransparent

    Syntax Usage

    self->setTitlebarAppearsTransparent(ok)
    

    Window_setToolbar ¶

    Window_setToolbar :: proc "c" (
    	self:    ^Window, 
    	toolbar: ^Toolbar, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setToolbar

    Syntax Usage

    self->setToolbar(toolbar)
    

    Window_setWantsLayer ¶

    Window_setWantsLayer :: proc "c" (
    	self: ^Window, 
    	ok:   bool, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: setWantsLayer

    Syntax Usage

    self->setWantsLayer(ok)
    

    Window_toggleFullScreen ¶

    Window_toggleFullScreen :: proc "c" (
    	self:   ^Window, 
    	sender: ^.objc_object, 
    ) {…}

    Objective-C Method Information

    • Class: Window
    • Name: toggleFullScreen

    Syntax Usage

    self->toggleFullScreen(sender)
    

    alloc ¶

    alloc :: proc "c" (
    	$T: typeid, 
    ) -> ^typeid {…}

    alloc_user_object ¶

    @(require_results)
    alloc_user_object :: proc "contextless" (
    	cls:      ^.objc_class, 
    	_context: runtime.Maybe($T=Context) = nil, 
    ) -> ^.objc_object {…}

    application_delegate_register_and_alloc ¶

    application_delegate_register_and_alloc :: proc(
    	template:         ApplicationDelegateTemplate, 
    	class_name:       string, 
    	delegate_context: runtime.Maybe($T=Context), 
    ) -> ^ApplicationDelegate {…}

    autorelease ¶

    autorelease :: proc "c" (
    	self: ^Object, 
    ) {…}

    Objective-C Method Information

    • Class: Object
    • Name: autorelease

    Syntax Usage

    self->autorelease()
    

    bridgingCast ¶

    bridgingCast :: proc "c" (
    	$T:   typeid, 
    	obj: ^Object, 
    ) {…}

    class ¶

    class :: proc "c" (
    	self: ^Object, 
    ) -> ^.objc_class {…}

    Objective-C Method Information

    Syntax Usage

    res := self->class()
    

    class_addIvar ¶

    class_addIvar :: proc "c" (
    	cls:       ^.objc_class, 
    	name:      cstring, 
    	size:      uint, 
    	alignment: u8, 
    	types:     cstring, 
    ) -> bool ---

    class_addMethod ¶

    class_addMethod :: proc "c" (
    	cls:   ^.objc_class, 
    	name:  ^.objc_selector, 
    	imp:   IMP, 
    	types: cstring, 
    ) -> bool ---

    class_addProperty ¶

    class_addProperty :: proc "c" (
    	cls:            ^.objc_class, 
    	name:           cstring, 
    	attributes:     [^]objc_property_attribute_t, 
    	attributeCount: uint, 
    ) -> bool ---

    class_addProtocol ¶

    class_addProtocol :: proc "c" (
    	cls:      ^.objc_class, 
    	protocol: ^Protocol, 
    ) -> bool ---

    class_conformsToProtocol ¶

    class_conformsToProtocol :: proc "c" (
    	cls:      ^.objc_class, 
    	protocol: ^Protocol, 
    ) -> bool ---

    class_copyIvarList ¶

    class_copyIvarList :: proc "c" (
    	cls:      ^.objc_class, 
    	outCount: ^uint, 
    ) -> [^]^objc_ivar ---

    class_copyMethodList ¶

    class_copyMethodList :: proc "c" (
    	cls:      ^.objc_class, 
    	outCount: ^uint, 
    ) -> [^]^objc_method ---

    class_copyPropertyList ¶

    class_copyPropertyList :: proc "c" (
    	cls:      ^.objc_class, 
    	outCount: ^uint, 
    ) -> [^]^objc_property ---

    class_copyProtocolList ¶

    class_copyProtocolList :: proc "c" (
    	cls:      ^.objc_class, 
    	outCount: ^uint, 
    ) -> [^]^Protocol ---

    class_createInstance ¶

    class_createInstance :: proc "c" (
    	cls:        ^.objc_class, 
    	extraBytes: uint, 
    ) -> ^.objc_object ---

    class_getClassMethod ¶

    class_getClassMethod :: proc "c" (
    	cls:  ^.objc_class, 
    	name: ^.objc_selector, 
    ) -> ^objc_method ---

    class_getClassVariable ¶

    class_getClassVariable :: proc "c" (
    	cls:  ^.objc_class, 
    	name: cstring, 
    ) -> ^objc_ivar ---

    class_getInstanceMethod ¶

    class_getInstanceMethod :: proc "c" (
    	cls:  ^.objc_class, 
    	name: ^.objc_selector, 
    ) -> ^objc_method ---

    class_getInstanceSize ¶

    class_getInstanceSize :: proc "c" (
    	cls: ^.objc_class, 
    ) -> uint ---

    class_getInstanceVariable ¶

    class_getInstanceVariable :: proc "c" (
    	cls:  ^.objc_class, 
    	name: cstring, 
    ) -> ^objc_ivar ---

    class_getMethodImplementation ¶

    class_getMethodImplementation :: proc "c" (
    	cls:  ^.objc_class, 
    	name: ^.objc_selector, 
    ) -> IMP ---

    class_getName ¶

    class_getName :: proc "c" (
    	cls: ^.objc_class, 
    ) -> cstring ---

    class_getProperty ¶

    class_getProperty :: proc "c" (
    	cls:  ^.objc_class, 
    	name: cstring, 
    ) -> ^objc_property ---

    class_getSuperclass ¶

    class_getSuperclass :: proc "c" (
    	cls: ^.objc_class, 
    ) -> ^.objc_class ---

    class_getVersion ¶

    class_getVersion :: proc "c" (
    	cls: ^.objc_class, 
    ) -> i32 ---

    class_get_metaclass ¶

    @(require_results)
    class_get_metaclass :: proc "contextless" (
    	cls: ^.objc_class, 
    ) -> ^.objc_class {…}

    class_get_vtable_info ¶

    @(require_results)
    class_get_vtable_info :: proc "contextless" (
    	cls: ^.objc_class, 
    ) -> ^Class_VTable_Info {…}

    class_isMetaClass ¶

    class_isMetaClass :: proc "c" (
    	cls: ^.objc_class, 
    ) -> bool ---

    class_replaceMethod ¶

    class_replaceMethod :: proc "c" (
    	cls:   ^.objc_class, 
    	name:  ^.objc_selector, 
    	imp:   IMP, 
    	types: cstring, 
    ) -> IMP ---

    class_replaceProperty ¶

    class_replaceProperty :: proc "c" (
    	cls:            ^.objc_class, 
    	name:           cstring, 
    	attributes:     [^]objc_property_attribute_t, 
    	attributeCount: uint, 
    ) ---

    class_respondsToSelector ¶

    class_respondsToSelector :: proc "c" (
    	cls: ^.objc_class, 
    	sel: ^.objc_selector, 
    ) -> bool ---

    class_setVersion ¶

    class_setVersion :: proc "c" (
    	cls:     ^.objc_class, 
    	version: i32, 
    ) ---

    copy ¶

    copy :: proc "c" (
    	self: ^Copying($T), 
    ) -> $^T {…}

    Objective-C Method Information

    Syntax Usage

    res := self->copy()
    

    debugDescription ¶

    debugDescription :: proc "c" (
    	self: ^Object, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Object
    • Name: debugDescription

    Syntax Usage

    res := self->debugDescription()
    

    description ¶

    description :: proc "c" (
    	self: ^Object, 
    ) -> ^String {…}

    Objective-C Method Information

    • Class: Object
    • Name: description

    Syntax Usage

    res := self->description()
    

    hash ¶

    hash :: proc "c" (
    	self: ^Object, 
    ) -> UInteger {…}

    Objective-C Method Information

    Syntax Usage

    res := self->hash()
    

    init ¶

    init :: proc "c" (
    	self: ^$T, 
    ) -> $^T {…}

    Objective-C Method Information

    Syntax Usage

    res := self->init()
    

    isEqual ¶

    isEqual :: proc "c" (
    	self, 
    	pObject: ^Object, 
    ) -> bool {…}

    Objective-C Method Information

    Syntax Usage

    res := self->isEqual(pObject)
    

    ivar_getName ¶

    ivar_getName :: proc "c" (
    	v: ^objc_ivar, 
    ) -> cstring ---

    ivar_getOffset ¶

    ivar_getOffset :: proc "c" (
    	v: ^objc_ivar, 
    ) -> c.ptrdiff_t ---

    ivar_getTypeEncoding ¶

    ivar_getTypeEncoding :: proc "c" (
    	v: ^objc_ivar, 
    ) -> cstring ---

    make_subclasser ¶

    @(require_results)
    make_subclasser :: proc(
    	vtable: ^$T, 
    	impl:   proc(
    	cls: ^.objc_class, 
    	vt:  ^$T, 
    ), 
    ) -> Object_VTable_Info {…}

    methodSignatureForSelector ¶

    methodSignatureForSelector :: proc "c" (
    	obj:      ^Object, 
    	selector: ^.objc_selector, 
    ) -> rawptr {…}

    method_copyArgumentType ¶

    method_copyArgumentType :: proc "c" (
    	m:     ^objc_method, 
    	index: uint, 
    ) -> cstring ---

    method_getArgumentType ¶

    method_getArgumentType :: proc "c" (
    	m:       ^objc_method, 
    	index:   uint, 
    	dst:     cstring, 
    	dst_len: uint, 
    ) ---

    method_getImplementation ¶

    method_getImplementation :: proc "c" (
    	m: ^objc_method, 
    ) -> IMP ---

    method_getNumberOfArguments ¶

    method_getNumberOfArguments :: proc "c" (
    	m: ^objc_method, 
    ) -> uint ---

    method_getReturnType ¶

    method_getReturnType :: proc "c" (
    	m:       ^objc_method, 
    	dst:     cstring, 
    	dst_len: uint, 
    ) ---

    method_setImplementation ¶

    method_setImplementation :: proc "c" (
    	m:   ^objc_method, 
    	imp: IMP, 
    ) ---

    msgSendSafeCheck ¶

    msgSendSafeCheck :: proc "c" (
    	obj:      ^Object, 
    	selector: ^.objc_selector, 
    ) -> bool {…}

    new ¶

    new :: proc "c" (
    	$T: typeid, 
    ) -> ^typeid {…}

    objc_allocateClassPair ¶

    objc_allocateClassPair :: proc "c" (
    	superclass: ^.objc_class, 
    	name:       cstring, 
    	extraBytes: uint, 
    ) -> ^.objc_class ---

    objc_constructInstance ¶

    objc_constructInstance :: proc "c" (
    	cls:   ^.objc_class, 
    	bytes: rawptr, 
    ) -> ^.objc_object ---

    objc_copyClassList ¶

    objc_copyClassList :: proc "c" (
    	outCount: ^uint, 
    ) -> [^]^.objc_class ---

    objc_copyProtocolList ¶

    objc_copyProtocolList :: proc "c" (
    	outCount: ^uint, 
    ) -> [^]^Protocol ---

    objc_destructInstance ¶

    objc_destructInstance :: proc "c" (
    	obj: ^.objc_object, 
    ) -> rawptr ---

    objc_disposeClassPair ¶

    objc_disposeClassPair :: proc "c" (
    	cls: ^.objc_class, 
    ) ---

    objc_duplicateClass ¶

    objc_duplicateClass :: proc "c" (
    	original:   ^.objc_class, 
    	name:       cstring, 
    	extraBytes: uint, 
    ) -> ^.objc_class ---

    objc_getAssociatedObject ¶

    objc_getAssociatedObject :: proc "c" (
    	object: ^.objc_object, 
    	key:    rawptr, 
    ) -> ^.objc_object ---

    objc_getClassList ¶

    objc_getClassList :: proc "c" (
    	buffer:      [^]^.objc_class, 
    	bufferCount: int, 
    ) -> int ---

    objc_getMetaClass ¶

    objc_getMetaClass :: proc "c" (
    	name: cstring, 
    ) -> ^.objc_object ---

    objc_getProtocol ¶

    objc_getProtocol :: proc "c" (
    	name: cstring, 
    ) -> ^Protocol ---

    objc_getRequiredClass ¶

    objc_getRequiredClass :: proc "c" (
    	name: cstring, 
    ) -> ^.objc_class ---

    objc_lookUpClass ¶

    objc_lookUpClass :: proc "c" (
    	name: cstring, 
    ) -> ^.objc_class ---

    objc_registerClassPair ¶

    objc_registerClassPair :: proc "c" (
    	cls: ^.objc_class, 
    ) ---

    objc_removeAssociatedObjects ¶

    objc_removeAssociatedObjects :: proc "c" (
    	object: ^.objc_object, 
    ) ---

    objc_setAssociatedObject ¶

    objc_setAssociatedObject :: proc "c" (
    	object: ^.objc_object, 
    	key:    rawptr, 
    	value:  ^.objc_object, 
    	policy: objc_AssociationPolicy, 
    ) ---

    object_copy ¶

    object_copy :: proc "c" (
    	obj:  ^.objc_object, 
    	size: uint, 
    ) -> ^.objc_object ---

    object_dispose ¶

    object_dispose :: proc "c" (
    	obj: ^.objc_object, 
    ) -> ^.objc_object ---

    object_getClass ¶

    object_getClass :: proc "c" (
    	obj: ^.objc_object, 
    ) -> ^.objc_class ---

    object_getClassName ¶

    object_getClassName :: proc "c" (
    	obj: ^.objc_object, 
    ) -> cstring ---

    object_getIndexedIvars ¶

    object_getIndexedIvars :: proc "c" (
    	obj: ^.objc_object, 
    ) -> rawptr ---

    object_getInstanceVariable ¶

    object_getInstanceVariable :: proc "c" (
    	obj:      ^.objc_object, 
    	name:     cstring, 
    	outValue: rawptr, 
    ) -> ^objc_ivar ---

    object_getIvar ¶

    object_getIvar :: proc "c" (
    	obj:  ^.objc_object, 
    	ivar: ^objc_ivar, 
    ) -> ^.objc_object ---

    object_get_vtable_info ¶

    @(require_results)
    object_get_vtable_info :: proc "contextless" (
    	obj: ^.objc_object, 
    ) -> ^Class_VTable_Info {…}

    object_setClass ¶

    object_setClass :: proc "c" (
    	obj: ^.objc_object, 
    	cls: ^.objc_class, 
    ) -> ^.objc_class ---

    object_setInstanceVariable ¶

    object_setInstanceVariable :: proc "c" (
    	obj:   ^.objc_object, 
    	name:  cstring, 
    	value: rawptr, 
    ) -> ^objc_ivar ---

    object_setIvar ¶

    object_setIvar :: proc "c" (
    	obj:   ^.objc_object, 
    	ivar:  ^objc_ivar, 
    	value: ^.objc_object, 
    ) ---

    performSelectorOnMainThread ¶

    performSelectorOnMainThread :: proc "c" (
    	self:      ^Object, 
    	aSelector: ^.objc_selector, 
    	arg:       ^.objc_object, 
    	wait:      bool, 
    ) {…}

    Objective-C Method Information

    • Class: Object
    • Name: performSelectorOnMainThread

    Syntax Usage

    self->performSelectorOnMainThread(
    	aSelector,
    	arg,
    	wait,
    )
    

    property_copyAttributeList ¶

    property_copyAttributeList :: proc "c" (
    	property: ^objc_property, 
    	outCount: ^uint, 
    ) -> [^]objc_property_attribute_t ---

    property_copyAttributeValue ¶

    property_copyAttributeValue :: proc "c" (
    	property:      ^objc_property, 
    	attributeName: cstring, 
    ) -> cstring ---

    property_getAttributes ¶

    property_getAttributes :: proc "c" (
    	property: ^objc_property, 
    ) -> cstring ---

    property_getName ¶

    property_getName :: proc "c" (
    	property: ^objc_property, 
    ) -> cstring ---

    protocol_conformsToProtocol ¶

    protocol_conformsToProtocol :: proc "c" (
    	proto: ^Protocol, 
    	other: ^Protocol, 
    ) -> bool ---

    protocol_getName ¶

    protocol_getName :: proc "c" (
    	proto: ^Protocol, 
    ) -> cstring ---

    protocol_isEqual ¶

    protocol_isEqual :: proc "c" (
    	proto: ^Protocol, 
    	other: ^Protocol, 
    ) -> bool ---

    register_subclass ¶

    @(require_results)
    register_subclass :: proc(
    	class_name:           cstring, 
    	superclass:           ^.objc_class, 
    	superclass_overrides: runtime.Maybe($T=Object_VTable_Info) = nil, 
    	protocol:             runtime.Maybe($T=Object_VTable_Info) = nil, 
    	_context:             runtime.Maybe($T=Context) = nil, 
    ) -> ^.objc_class {…}

    release ¶

    release :: proc "c" (
    	self: ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->release()
    

    respondsToSelector ¶

    respondsToSelector :: proc "c" (
    	obj:      ^Object, 
    	selector: ^.objc_selector, 
    ) -> bool {…}

    retain ¶

    retain :: proc "c" (
    	self: ^Object, 
    ) {…}

    Objective-C Method Information

    Syntax Usage

    self->retain()
    

    retainCount ¶

    retainCount :: proc "c" (
    	self: ^Object, 
    ) -> UInteger {…}

    Objective-C Method Information

    • Class: Object
    • Name: retainCount

    Syntax Usage

    res := self->retainCount()
    

    scoped_autoreleasepool ¶

    @(deferred_out=AutoreleasePool_drain)
    scoped_autoreleasepool :: proc "c" () -> ^AutoreleasePool {…}

    sel_getName ¶

    sel_getName :: proc "c" (
    	sel: ^.objc_selector, 
    ) -> cstring ---

    sel_isEqual ¶

    sel_isEqual :: proc "c" (
    	lhs, 
    	rhs: ^.objc_selector, 
    ) -> bool ---

    sel_registerName ¶

    sel_registerName :: proc "c" (
    	name: cstring, 
    ) -> ^.objc_selector ---

    tilt ¶

    tilt :: proc "c" (
    	self: ^Event, 
    ) -> CoreFoundation.CGPoint {…}

    Objective-C Method Information

    • Class: Event
    • Name: tilt

    Syntax Usage

    res := self->tilt()
    

    window_delegate_register_and_alloc ¶

    window_delegate_register_and_alloc :: proc(
    	template:         WindowDelegateTemplate, 
    	class_name:       string, 
    	delegate_context: runtime.Maybe($T=Context), 
    ) -> ^WindowDelegate {…}

    Procedure Groups

    BitmapImageRep_initWithBitmapDataPlanes ¶

    BitmapImageRep_initWithBitmapDataPlanes :: proc{
    	BitmapImageRep_initWithBitmapDataPlanes_legacy,
    	BitmapImageRep_initWithBitmapDataPlanes_bitmapFormat,
    }
    

    Objective-C Method Information

    Syntax Usage

    res := self->initWithBitmapDataPlanes(
    	bitmapDataPlanes,
    	pixelsWide,
    	pixelsHigh,
    	bitsPerSample,
    	samplesPerPixel,
    	hasAlpha,
    	isPlanar,
    	colorSpaceName,
    	bytesPerRow,
    	bitsPerPixel,
    )
    res := self->initWithBitmapDataPlanes(
    	bitmapDataPlanes,
    	pixelsWide,
    	pixelsHigh,
    	bitsPerSample,
    	samplesPerPixel,
    	hasAlpha,
    	isPlanar,
    	colorSpaceName,
    	bitmapFormat,
    	bytesPerRow,
    	bitsPerPixel,
    )
    
    MenuDelegate_menu :: proc{
    	MenuDelegate_menu_updateItem_atIndex_shouldCancel,
    	MenuDelegate_menu_willHighlightItem,
    }
    

    Objective-C Method Information

    Syntax Usage

    res := self->menu(
    	menu,
    	item,
    	index,
    	shouldCancel,
    )
    self->menu(
    	menu,
    	item,
    )
    
    MenuItem_cancelPreviousPerformRequestsWithTarget :: proc{
    	MenuItem_cancelPreviousPerformRequestsWithTarget_selector_object,
    	MenuItem_cancelPreviousPerformRequestsWithTarget_,
    }
    

    Objective-C Method Information

    • Class: MenuItem
    • Name: cancelPreviousPerformRequestsWithTarget

    Syntax Usage

    self->cancelPreviousPerformRequestsWithTarget(
    	aSelector,
    	anArgument,
    )
    self->cancelPreviousPerformRequestsWithTarget()
    
    Menu_cancelPreviousPerformRequestsWithTarget :: proc{
    	Menu_cancelPreviousPerformRequestsWithTarget_selector_object,
    	Menu_cancelPreviousPerformRequestsWithTarget_,
    }
    

    Objective-C Method Information

    • Class: Menu
    • Name: cancelPreviousPerformRequestsWithTarget

    Syntax Usage

    self->cancelPreviousPerformRequestsWithTarget(
    	aSelector,
    	anArgument,
    )
    self->cancelPreviousPerformRequestsWithTarget()
    
    Menu_paletteMenuWithColors :: proc{
    	Menu_paletteMenuWithColors_titles_selectionHandler,
    }
    

    Objective-C Method Information

    • Class: Menu
    • Name: paletteMenuWithColors

    Syntax Usage

    res := self->paletteMenuWithColors(
    	itemTitles,
    	onSelectionChange,
    )
    
    Menu_popUpContextMenu :: proc{
    	Menu_popUpContextMenu_withEvent_forView,
    }
    

    Objective-C Method Information

    • Class: Menu
    • Name: popUpContextMenu

    Syntax Usage

    self->popUpContextMenu(
    	event,
    	view,
    )
    

    NotificationCenter_addObserverForName ¶

    NotificationCenter_addObserverForName :: proc{
    	NotificationCenter_addObserverForName_old,
    	NotificationCenter_addObserverForName_new,
    }
    

    Objective-C Method Information

    Syntax Usage

    res := self->addObserverForName(
    	name,
    	pObj,
    	pQueue,
    	block,
    )
    res := self->addObserverForName(
    	name,
    	pObj,
    	pQueue,
    	block,
    )
    

    Number_number ¶

    Number_number :: proc{
    	Number_numberWithI8,
    	Number_numberWithU8,
    	Number_numberWithI16,
    	Number_numberWithU16,
    	Number_numberWithI32,
    	Number_numberWithU32,
    	Number_numberWithInt,
    	Number_numberWithUint,
    	Number_numberWithU64,
    	Number_numberWithI64,
    	Number_numberWithF32,
    	Number_numberWithF64,
    	Number_numberWithBool,
    }
    

    Objective-C Method Information

    • Class: Number
    • Name: number
    • Kind: Class Method

    Syntax Usage

    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    res := Number.number(value)
    

    Source Files

    Generation Information

    Generated with odin version dev-2026-09 (vendor "odin") Windows_amd64 @ 2026-09-19 22:37:04.593063100 +0000 UTC