package vendor:darwin/Foundation
⌘K
Ctrl+K
or
/
Index
Types (89)
- ActivationPolicy
- Application
- ApplicationDelegate
- ApplicationDelegateTemplate
- ApplicationPresentationOptionFlag
- ApplicationPresentationOptions
- ApplicationPrintReply
- ApplicationTerminateReply
- Array
- AutoreleasePool
- BOOL
- BackingStoreType
- Block
- Bundle
- Class
- Coder
- Color
- ComparisonResult
- Condition
- Copying
- Data
- Date
- Dictionary
- Enumerator
- Error
- ErrorDomain
- ErrorUserInfoKey
- Event
- FastEnumeration
- FastEnumerationState
- Float
- IMP
- Integer
- KeyEquivalentModifierFlag
- KeyEquivalentModifierMask
- Layer
- Locking
- Menu
- MenuItem
- MenuItemCallback
- Method
- ModalResponse
- Notification
- NotificationCenter
- NotificationName
- Number
- Object
- OpenPanel
- OperatingSystemVersion
- Panel
- Pasteboard
- Point
- Protocol
- Range
- Rect
- Responder
- RunningApplication
- SEL
- SavePanel
- Screen
- Size
- String
- StringCompareOption
- StringCompareOptions
- StringEncoding
- TimeInterval
- UInteger
- URL
- UndoManager
- UserActivity
- UserDefaults
- Value
- View
- Window
- WindowDelegate
- WindowDelegateTemplate
- WindowStyleFlag
- WindowStyleMask
- Zone
- id
- objc_cache
- objc_class_internals
- objc_ivar
- objc_ivar_list
- objc_method
- objc_method_list
- objc_object_internals
- objc_protocol_list
- unichar
Constants (33)
- ApplicationPresentationOptionsAutoHideDock
- ApplicationPresentationOptionsAutoHideMenuBar
- ApplicationPresentationOptionsAutoHideToolbar
- ApplicationPresentationOptionsDefault
- ApplicationPresentationOptionsDisableAppleMenu
- ApplicationPresentationOptionsDisableCursorLocationAssistance
- ApplicationPresentationOptionsDisableForceQuit
- ApplicationPresentationOptionsDisableHideApplication
- ApplicationPresentationOptionsDisableMenuBarTransparency
- ApplicationPresentationOptionsDisableProcessSwitching
- ApplicationPresentationOptionsDisableSessionTermination
- ApplicationPresentationOptionsFullScreen
- ApplicationPresentationOptionsHideDock
- ApplicationPresentationOptionsHideMenuBar
- IntegerMax
- Integermin
- NO
- NotFound
- UIntegerMax
- WindowStyleMaskBorderless
- WindowStyleMaskClosable
- WindowStyleMaskDocModalWindow
- WindowStyleMaskFullScreen
- WindowStyleMaskFullSizeContentView
- WindowStyleMaskHUDWindow
- WindowStyleMaskMiniaturizable
- WindowStyleMaskNonactivatingPanel
- WindowStyleMaskResizable
- WindowStyleMaskTexturedBackground
- WindowStyleMaskTitled
- WindowStyleMaskUnifiedTitleAndToolbar
- WindowStyleMaskUtilityWindow
- YES
Variables (17)
- CocoaErrorDomain
- DebugDescriptionErrorKey
- FilePathErrorKey
- HelpAnchorErrorKey
- KeyEventModifierFlagDeviceIndependentFlagsMask
- LocalizedDescriptionKey
- LocalizedFailureErrorKey
- LocalizedFailureReasonErrorKey
- LocalizedRecoveryOptionsErrorKey
- LocalizedRecoverySuggestionErrorKey
- MachErrorDomain
- OSStatusErrorDomain
- POSIXErrorDomain
- RecoveryAttempterErrorKey
- StringEncodingErrorKey
- URLErrorKey
- UnderlyingErrorKey
Procedures (277)
- AT
- AllocateObject
- Application_activateIgnoringOtherApps
- Application_run
- Application_setActivationPolicy
- Application_setDelegate
- Application_setMainMenu
- Application_sharedApplication
- Application_terminate
- Application_windows
- Array_alloc
- Array_count
- Array_init
- Array_initWithCoder
- Array_initWithObjects
- Array_object
- Array_objectAs
- AutoreleasePool_addObject
- AutoreleasePool_alloc
- AutoreleasePool_drain
- AutoreleasePool_init
- AutoreleasePool_showPools
- Block_createGlobal
- Block_createLocal
- Bundle_PathForAuxiliaryExecutable
- Bundle_URLForAuxiliaryExecutable
- Bundle_allBundles
- Bundle_allFrameworks
- Bundle_alloc
- Bundle_appStoreReceiptPath
- Bundle_appStoreReceiptURL
- Bundle_builtInPlugInsPath
- Bundle_builtInPlugInsURL
- Bundle_bundleIdentifier
- Bundle_bundlePath
- Bundle_bundleURL
- Bundle_bundleWithPath
- Bundle_bundleWithURL
- Bundle_executablePath
- Bundle_executableURL
- Bundle_infoDictionary
- Bundle_init
- Bundle_initWithPath
- Bundle_initWithURL
- Bundle_isLoaded
- Bundle_load
- Bundle_loadAndReturnError
- Bundle_localizedInfoDictionary
- Bundle_localizedStringForKey
- Bundle_mainBundle
- Bundle_objectForInfoDictionaryKey
- Bundle_preflightAndReturnError
- Bundle_privateFrameworksPath
- Bundle_privateFrameworksURL
- Bundle_resourcePath
- Bundle_resourceURL
- Bundle_sharedFrameworksPath
- Bundle_sharedFrameworksURL
- Bundle_sharedSupportPath
- Bundle_sharedSupportURL
- Bundle_unload
- Condition_alloc
- Condition_broadcast
- Condition_init
- Condition_lock
- Condition_signal
- Condition_unlock
- Condition_wait
- Condition_waitUntilDate
- Data_alloc
- Data_init
- Data_length
- Data_mutableBytes
- Date_alloc
- Date_dateWithTimeIntervalSinceNow
- Date_init
- DeallocateObject
- Dictionary_alloc
- Dictionary_count
- Dictionary_dictionary
- Dictionary_dictionaryWithObject
- Dictionary_dictionaryWithObjects
- Dictionary_init
- Dictionary_initWithObjects
- Dictionary_keyEnumerator
- Dictionary_objectForKey
- Enumerator_allObjects
- Enumerator_iterator
- Enumerator_nextObject
- Error_alloc
- Error_code
- Error_domain
- Error_errorWithDomain
- Error_init
- Error_initWithDomain
- Error_localizedDescription
- Error_localizedFailureReason
- Error_localizedRecoveryOptions
- Error_localizedRecoverySuggestion
- Error_userInfo
- FastEnumeration_alloc
- FastEnumeration_countByEnumerating
- FastEnumeration_init
- Layer_addSublayer
- Layer_contentsScale
- Layer_frame
- Layer_setContentsScale
- Locking_lock
- Locking_unlock
- MakeConstantString
- MenuItem_alloc
- MenuItem_init
- MenuItem_keyEquivalentModifierMask
- MenuItem_registerActionCallback
- MenuItem_setKeyEquivalentModifierMask
- MenuItem_setSubmenu
- Menu_addItem
- Menu_addItemWithTitle
- Menu_alloc
- Menu_init
- Menu_initWithTitle
- NotificationCenter_addObserverName
- NotificationCenter_alloc
- NotificationCenter_defaultCenter
- NotificationCenter_init
- NotificationCenter_removeObserver
- Notification_alloc
- Notification_init
- Notification_name
- Notification_object
- Notification_userInfo
- Number_alloc
- Number_boolValue
- Number_compare
- Number_descriptionWithLocale
- Number_f32Value
- Number_f64Value
- Number_i16Value
- Number_i32Value
- Number_i64Value
- Number_i8Value
- Number_init
- Number_initWithBool
- Number_initWithF32
- Number_initWithF64
- Number_initWithI16
- Number_initWithI32
- Number_initWithI64
- Number_initWithI8
- Number_initWithInt
- Number_initWithU16
- Number_initWithU32
- Number_initWithU64
- Number_initWithU8
- Number_initWithUint
- Number_intValue
- Number_integerValue
- Number_isEqualToNumber
- Number_numberWithBool
- Number_numberWithF32
- Number_numberWithF64
- Number_numberWithI16
- Number_numberWithI32
- Number_numberWithI64
- Number_numberWithI8
- Number_numberWithInt
- Number_numberWithU16
- Number_numberWithU32
- Number_numberWithU64
- Number_numberWithU8
- Number_numberWithUint
- Number_stringValue
- Number_u16Value
- Number_u32Value
- Number_u64Value
- Number_u8Value
- Number_uintValue
- Number_uintegerValue
- OpenPanel_URLs
- OpenPanel_openPanel
- OpenPanel_setAllowsMultipleSelection
- OpenPanel_setCanChooseDirectories
- OpenPanel_setCanChooseFiles
- OpenPanel_setResolvesAliases
- Range_Equal
- Range_LocationInRange
- Range_Make
- Range_Max
- RunningApplication_currentApplication
- RunningApplication_localizedName
- SavePanel_runModal
- StringFromClass
- String_UTF8String
- String_alloc
- String_characterAtIndex
- String_cstringUsingEncoding
- String_init
- String_initWithBytesNoCopy
- String_initWithCString
- String_initWithOdinString
- String_initWithString
- String_isEqualToString
- String_length
- String_lengthOfBytesUsingEncoding
- String_maximumLengthOfBytesUsingEncoding
- String_odinString
- String_rangeOfString
- URL_alloc
- URL_fileSystemRepresentation
- URL_init
- URL_initFileURLWithPath
- URL_initWithString
- UserDefaults_setBoolForKey
- UserDefaults_standardUserDefaults
- Value_alloc
- Value_getValue
- Value_init
- Value_initWithBytes
- Value_initWithCoder
- Value_isEqualToValue
- Value_objCType
- Value_pointerValue
- Value_valueWithBytes
- Value_valueWithPointer
- View_initWithFrame
- View_layer
- View_setLayer
- View_setWantsLayer
- View_wantsLayer
- Window_alloc
- Window_backgroundColor
- Window_close
- Window_contentLayoutRect
- Window_contentView
- Window_frame
- Window_initWithContentRect
- Window_makeKeyAndOrderFront
- Window_opaque
- Window_setBackgroundColor
- Window_setContentView
- Window_setDelegate
- Window_setFrame
- Window_setMovable
- Window_setMovableByWindowBackground
- Window_setOpaque
- Window_setStyleMask
- Window_setTitle
- Window_setTitlebarAppearsTransparent
- alloc
- application_delegate_register_and_alloc
- autorelease
- bridgingCast
- class
- class_addMethod
- class_createInstance
- class_getInstanceMethod
- copy
- debugDescription
- description
- hash
- init
- isEqual
- methodSignatureForSelector
- method_setImplementation
- msgSendSafeCheck
- new
- objc_allocateClassPair
- objc_lookUpClass
- objc_registerClassPair
- object_getIndexedIvars
- release
- respondsToSelector
- retain
- retainCount
- scoped_autoreleasepool
- sel_registerName
- window_delegate_register_and_alloc
Procedure Groups (1)
Types
ActivationPolicy ¶
ActivationPolicy :: enum UInteger { Regular = 0, Accessory = 1, Prohibited = 2, }
Application ¶
Application :: struct { using _: Object, }
Bound Objective-C Methods
- sharedApplication (class method)
- setActivationPolicy
- activateIgnoringOtherApps
- setMainMenu
- windows
- run
- terminate
- setDelegate
Methods Inherited From Object
ApplicationDelegate ¶
ApplicationDelegate :: struct { using _: 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, }
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, }
ApplicationPresentationOptions ¶
ApplicationPresentationOptions :: distinct bit_set[ApplicationPresentationOptionFlag; UInteger]
ApplicationPrintReply ¶
ApplicationPrintReply :: enum UInteger { PrintingCancelled = 0, PrintingSuccess = 1, PrintingReplyLater = 2, PrintingFailure = 3, }
ApplicationTerminateReply ¶
ApplicationTerminateReply :: enum UInteger { TerminateCancel = 0, TerminateNow = 1, TerminateLater = 2, }
Array ¶
Array :: struct { using _: Copying(Array), }
Bound Objective-C Methods
- alloc (class method)
- init
- initWithObjects
- initWithCoder
- object
- objectAs
- count
Methods Inherited From Object
AutoreleasePool ¶
AutoreleasePool :: struct { using _: Object, }
Bound Objective-C Methods
Methods Inherited From Object
BackingStoreType ¶
BackingStoreType :: enum UInteger { Retained = 0, Nonretained = 1, Buffered = 2, }
Block ¶
Block :: struct { using _: Object, }
Bound Objective-C Methods
- createGlobal (class method)
- createLocal (class method)
Methods Inherited From Object
Bundle ¶
Bundle :: struct { using _: Object, }
Bound Objective-C Methods
- mainBundle (class method)
- bundleWithPath (class method)
- bundleWithURL (class method)
- alloc (class method)
- init
- initWithPath
- initWithURL
- allBundles
- allFrameworks
- load
- unload
- isLoaded
- preflightAndReturnError
- loadAndReturnError
- bundleURL
- resourceURL
- executableURL
- URLForAuxiliaryExecutable
- privateFrameworksURL
- sharedFrameworksURL
- sharedSupportURL
- builtInPlugInsURL
- appStoreReceiptURL
- bundlePath
- resourcePath
- executablePath
- PathForAuxiliaryExecutable
- privateFrameworksPath
- sharedFrameworksPath
- sharedSupportPath
- builtInPlugInsPath
- appStoreReceiptPath
- bundleIdentifier
- infoDictionary
- localizedInfoDictionary
- objectForInfoDictionaryKey
- localizedStringForKey
Methods Inherited From Object
Class ¶
Class :: ^.objc_class
ComparisonResult ¶
ComparisonResult :: enum Integer { OrderedAscending = -1, OrderedSame = 0, OrderedDescending = 1, }
Condition ¶
Condition :: struct { using _: Locking(Condition), }
Bound Objective-C Methods
Methods Inherited From Object
Data ¶
Data :: struct { using _: Copying(Data), }
Bound Objective-C Methods
- alloc (class method)
- init
- mutableBytes
- length
Methods Inherited From Object
Date ¶
Date :: struct { using _: Copying(Date), }
Bound Objective-C Methods
- alloc (class method)
- init
- dateWithTimeIntervalSinceNow
Methods Inherited From Object
Dictionary ¶
Dictionary :: struct { using _: Copying(Dictionary), }
Bound Objective-C Methods
- dictionary (class method)
- dictionaryWithObject (class method)
- dictionaryWithObjects (class method)
- alloc (class method)
- init
- initWithObjects
- objectForKey
- count
- keyEnumerator
Methods Inherited From Object
Error ¶
Error :: struct { using _: Copying(Error), }
Bound Objective-C Methods
- alloc (class method)
- init
- errorWithDomain (class method)
- initWithDomain
- code
- domain
- userInfo
- localizedDescription
- localizedRecoveryOptions
- localizedRecoverySuggestion
- localizedFailureReason
Methods Inherited From Object
ErrorDomain ¶
ErrorDomain :: ^String
ErrorUserInfoKey ¶
ErrorUserInfoKey :: ^String
FastEnumeration ¶
FastEnumeration :: struct { using _: Object, }
Bound Objective-C Methods
- alloc (class method)
- init
- countByEnumerating
Methods Inherited From Object
FastEnumerationState ¶
FastEnumerationState :: struct #packed { state: u32, itemsPtr: [^]^Object, mutationsPtr: [^]u32, extra: [5]u32, }
IMP ¶
IMP :: proc "c" (object: ^.objc_object, sel: ^.objc_selector, args: ..any) -> ^.objc_object
KeyEquivalentModifierFlag ¶
KeyEquivalentModifierFlag :: enum UInteger { CapsLock = 16, // Set if Caps Lock key is pressed. Shift = 17, // Set if Shift key is pressed. Control = 18, // Set if Control key is pressed. Option = 19, // Set if Option or Alternate key is pressed. Command = 20, // Set if Command key is pressed. NumericPad = 21, // Set if any key in the numeric keypad is pressed. Help = 22, // Set if the Help key is pressed. Function = 23, // Set if any function key is pressed. }
KeyEquivalentModifierMask ¶
KeyEquivalentModifierMask :: distinct bit_set[KeyEquivalentModifierFlag; UInteger]
Layer ¶
Layer :: struct { using _: Object, }
Bound Objective-C Methods
Methods Inherited From Object
Menu ¶
Menu :: struct { using _: Object, }
Bound Objective-C Methods
- alloc (class method)
- init
- initWithTitle
- addItem
- addItemWithTitle
Methods Inherited From Object
MenuItem ¶
MenuItem :: struct { using _: Object, }
Bound Objective-C Methods
- alloc (class method)
- registerActionCallback (class method)
- init
- setKeyEquivalentModifierMask
- keyEquivalentModifierMask
- setSubmenu
Methods Inherited From Object
MenuItemCallback ¶
MenuItemCallback :: proc "c" (unused: rawptr, name: ^.objc_selector, sender: ^Object)
Method ¶
Method :: ^objc_method
ModalResponse ¶
ModalResponse :: enum UInteger { Cancel = 0, OK = 1, }
Notification ¶
Notification :: struct { using _: Object, }
Bound Objective-C Methods
Methods Inherited From Object
NotificationCenter ¶
NotificationCenter :: struct { using _: Object, }
Bound Objective-C Methods
- alloc (class method)
- init
- defaultCenter (class method)
- addObserver
- removeObserver
Methods Inherited From Object
NotificationName ¶
NotificationName :: ^String
Number ¶
Bound Objective-C Methods
- number (class method) (overloaded method)
- alloc (class method)
- init
- numberWithI8 (class method)
- numberWithU8 (class method)
- numberWithI16 (class method)
- numberWithU16 (class method)
- numberWithI32 (class method)
- numberWithU32 (class method)
- numberWithInt (class method)
- numberWithUint (class method)
- numberWithU64 (class method)
- numberWithI64 (class method)
- numberWithF32 (class method)
- numberWithF64 (class method)
- numberWithBool (class method)
- initWithI8
- initWithU8
- initWithI16
- initWithU16
- initWithI32
- initWithU32
- initWithInt
- initWithUint
- initWithU64
- initWithI64
- initWithF32
- initWithF64
- initWithBool
- i8Value
- u8Value
- i16Value
- u16Value
- i32Value
- u32Value
- intValue
- uintValue
- u64Value
- i64Value
- f32Value
- f64Value
- boolValue
- integerValue
- uintegerValue
- stringValue
- compare
- isEqualToNumber
- descriptionWithLocale
Methods Inherited From Value
- valueWithBytes (class method)
- valueWithPointer (class method)
- initWithBytes
- initWithCoder
- getValue
- objCType
- isEqualToValue
- pointerValue
Methods Inherited From Object
OpenPanel ¶
OpenPanel :: struct { using _: SavePanel, }
Bound Objective-C Methods
- openPanel (class method)
- URLs
- setCanChooseFiles
- setCanChooseDirectories
- setResolvesAliases
- setAllowsMultipleSelection
Methods Inherited From SavePanel
Methods Inherited From Window
- alloc (class method)
- initWithContentRect
- contentView
- setContentView
- contentLayoutRect
- frame
- setFrame
- opaque
- setOpaque
- backgroundColor
- setBackgroundColor
- makeKeyAndOrderFront
- setTitle
- setTitlebarAppearsTransparent
- setMovable
- setMovableByWindowBackground
- setStyleMask
- close
- setDelegate
Methods Inherited From Object
Panel ¶
Panel :: struct { using _: Window, }
Methods Inherited From Window
- alloc (class method)
- initWithContentRect
- contentView
- setContentView
- contentLayoutRect
- frame
- setFrame
- opaque
- setOpaque
- backgroundColor
- setBackgroundColor
- makeKeyAndOrderFront
- setTitle
- setTitlebarAppearsTransparent
- setMovable
- setMovableByWindowBackground
- setStyleMask
- close
- setDelegate
Methods Inherited From Object
RunningApplication ¶
RunningApplication :: struct { using _: Object, }
Bound Objective-C Methods
- currentApplication (class method)
- localizedName
Methods Inherited From Object
SEL ¶
SEL :: ^.objc_selector
SavePanel ¶
SavePanel :: struct { using _: Panel, }
Bound Objective-C Methods
Methods Inherited From Window
- alloc (class method)
- initWithContentRect
- contentView
- setContentView
- contentLayoutRect
- frame
- setFrame
- opaque
- setOpaque
- backgroundColor
- setBackgroundColor
- makeKeyAndOrderFront
- setTitle
- setTitlebarAppearsTransparent
- setMovable
- setMovableByWindowBackground
- setStyleMask
- close
- setDelegate
Methods Inherited From Object
String ¶
String :: struct { using _: Copying(String), }
Bound Objective-C Methods
- alloc (class method)
- init
- initWithString
- initWithCString
- initWithBytesNoCopy
- initWithOdinString
- characterAtIndex
- length
- cstringUsingEncoding
- UTF8String
- odinString
- maximumLengthOfBytesUsingEncoding
- lengthOfBytesUsingEncoding
- isEqualToString
- rangeOfString
Methods Inherited From Object
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]
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 = 10, UTF16BigEndian = 2415919360, UTF16LittleEndian = 2483028224, UTF32 = 2348810496, UTF32BigEndian = 2550137088, UTF32LittleEndian = 2617245952, }
TimeInterval ¶
TimeInterval :: distinct f64
UInteger ¶
UInteger :: distinct uint
URL ¶
URL :: struct { using _: Copying(URL), }
Bound Objective-C Methods
- alloc (class method)
- init
- initWithString
- initFileURLWithPath
- fileSystemRepresentation
Methods Inherited From Object
UserDefaults ¶
UserDefaults :: struct { using _: Object, }
Bound Objective-C Methods
- standardUserDefaults (class method)
- setBoolForKey
Methods Inherited From Object
Value ¶
Value :: struct { using _: Copying(Value), }
Bound Objective-C Methods
- alloc (class method)
- init
- valueWithBytes (class method)
- valueWithPointer (class method)
- initWithBytes
- initWithCoder
- getValue
- objCType
- isEqualToValue
- pointerValue
Methods Inherited From Object
View ¶
View :: struct { using _: Responder, }
Bound Objective-C Methods
Methods Inherited From Object
Window ¶
Window :: struct { using _: Responder, }
Bound Objective-C Methods
- alloc (class method)
- initWithContentRect
- contentView
- setContentView
- contentLayoutRect
- frame
- setFrame
- opaque
- setOpaque
- backgroundColor
- setBackgroundColor
- makeKeyAndOrderFront
- setTitle
- setTitlebarAppearsTransparent
- setMovable
- setMovableByWindowBackground
- setStyleMask
- close
- setDelegate
Methods Inherited From Object
WindowDelegate ¶
WindowDelegate :: struct { using _: Object, }
WindowDelegateTemplate ¶
WindowDelegateTemplate :: struct { // Managing Sheets windowWillPositionSheetUsingRect: proc(window: ^Window, sheet: ^Window, rect: Rect) -> Rect, windowWillBeginSheet: proc(notification: ^Notification), windowDidEndSheet: proc(notification: ^Notification), // Sizing Windows windowWillResizeToSize: proc(sender: ^Window, frameSize: Size) -> Size, 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: Rect) -> Rect, windowShouldZoomToFrame: proc(window: ^Window, newFrame: Rect) -> bool, // Managing Full-Screen Presentation windowWillUseFullScreenContentSize: proc(window: ^Window, proposedSize: Size) -> Size, 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: Point, 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: Size, maxAllowedFrameSize: Size) -> Size, windowWillEnterVersionBrowser: proc(notification: ^Notification), windowDidEnterVersionBrowser: proc(notification: ^Notification), windowWillExitVersionBrowser: proc(notification: ^Notification), windowDidExitVersionBrowser: proc(notification: ^Notification), }
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, }
WindowStyleMask ¶
WindowStyleMask :: distinct bit_set[WindowStyleFlag; UInteger]
id ¶
id :: ^.objc_object
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 ¶
objc_ivar :: struct {}
objc_ivar_list ¶
objc_ivar_list :: struct {}
objc_method ¶
objc_method :: struct { method_name: ^.objc_selector, method_types: cstring, method_imp: IMP, }
objc_method_list ¶
objc_method_list :: struct {}
objc_object_internals ¶
objc_object_internals :: struct { isa: ^objc_class_internals, }
objc_protocol_list ¶
objc_protocol_list :: struct { next: ^objc_protocol_list, count: i32, list: [1]^Protocol, }
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}
IntegerMax ¶
IntegerMax: Integer : max(Integer)
Integermin ¶
Integermin: Integer : min(Integer)
NotFound ¶
NotFound :: IntegerMax
UIntegerMax ¶
UIntegerMax: UInteger : max(UInteger)
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}
Variables
CocoaErrorDomain ¶
@(linkage="weak") CocoaErrorDomain: ^String
DebugDescriptionErrorKey ¶
@(linkage="weak") DebugDescriptionErrorKey: ^String
FilePathErrorKey ¶
@(linkage="weak") FilePathErrorKey: ^String
HelpAnchorErrorKey ¶
@(linkage="weak") HelpAnchorErrorKey: ^String
KeyEventModifierFlagDeviceIndependentFlagsMask ¶
KeyEventModifierFlagDeviceIndependentFlagsMask: KeyEquivalentModifierMask = …
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
OSStatusErrorDomain ¶
@(linkage="weak") OSStatusErrorDomain: ^String
POSIXErrorDomain ¶
@(linkage="weak") POSIXErrorDomain: ^String
RecoveryAttempterErrorKey ¶
@(linkage="weak") RecoveryAttempterErrorKey: ^String
StringEncodingErrorKey ¶
@(linkage="weak") StringEncodingErrorKey: ^String
URLErrorKey ¶
@(linkage="weak") URLErrorKey: ^String
UnderlyingErrorKey ¶
@(linkage="weak") UnderlyingErrorKey: ^String
Procedures
AT ¶
AT :: MakeConstantString
AllocateObject ¶
AllocateObject :: proc "c" ( aClass: ^.objc_class, extraBytes: UInteger, zone: ^Zone, ) -> ^.objc_object ---
Application_activateIgnoringOtherApps ¶
Application_activateIgnoringOtherApps :: proc "c" ( self: ^Application, ignoreOtherApps: bool, ) {…}
Objective-C Method Information
- Class: Application
- Name: activateIgnoringOtherApps
Syntax Usage
self->activateIgnoringOtherApps(ignoreOtherApps)
Application_run ¶
Application_run :: proc "c" ( self: ^Application, ) {…}
Objective-C Method Information
- Class: Application
- Name: run
Syntax Usage
self->run()
Application_setActivationPolicy ¶
Application_setActivationPolicy :: proc "c" ( self: ^Application, activationPolicy: ActivationPolicy, ) -> bool {…}
Objective-C Method Information
- Class: Application
- Name: setActivationPolicy
Syntax Usage
res := self->setActivationPolicy(activationPolicy)
Application_setDelegate ¶
Application_setDelegate :: proc "c" ( self: ^Application, delegate: ^ApplicationDelegate, ) {…}
Objective-C Method Information
- Class: Application
- Name: setDelegate
Syntax Usage
self->setDelegate(delegate)
Application_setMainMenu ¶
Application_setMainMenu :: proc "c" ( self: ^Application, menu: ^Menu, ) {…}
Objective-C Method Information
- Class: Application
- Name: setMainMenu
Syntax Usage
self->setMainMenu(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_terminate ¶
Application_terminate :: proc "c" ( self: ^Application, sender: ^Object, ) {…}
Objective-C Method Information
- Class: Application
- Name: terminate
Syntax Usage
self->terminate(sender)
Application_windows ¶
Application_windows :: proc "c" ( self: ^Application, ) -> ^Array {…}
Objective-C Method Information
- Class: Application
- Name: windows
Syntax Usage
res := self->windows()
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)
AutoreleasePool_addObject ¶
AutoreleasePool_addObject :: proc "c" ( self: ^AutoreleasePool, obj: ^Object, ) {…}
Objective-C Method Information
- Class: AutoreleasePool
- Name: addObject
Syntax Usage
self->addObject(obj)
AutoreleasePool_alloc ¶
AutoreleasePool_alloc :: proc "c" () -> ^AutoreleasePool {…}
Objective-C Method Information
- Class: AutoreleasePool
- Name: alloc
- Kind: Class Method
Syntax Usage
res := AutoreleasePool.alloc()
AutoreleasePool_drain ¶
AutoreleasePool_drain :: proc "c" ( self: ^AutoreleasePool, ) {…}
Objective-C Method Information
- Class: AutoreleasePool
- Name: drain
Syntax Usage
self->drain()
AutoreleasePool_init ¶
AutoreleasePool_init :: proc "c" ( self: ^AutoreleasePool, ) -> ^AutoreleasePool {…}
Objective-C Method Information
- Class: AutoreleasePool
- Name: init
Syntax Usage
res := self->init()
AutoreleasePool_showPools ¶
AutoreleasePool_showPools :: proc "c" ( self: ^AutoreleasePool, obj: ^Object, ) {…}
Objective-C Method Information
- Class: AutoreleasePool
- Name: showPools
Syntax Usage
self->showPools(obj)
Block_createGlobal ¶
Block_createGlobal :: proc "c" ( user_data: rawptr, user_proc: proc "c" ( user_data: rawptr, ), ) -> ^Block {…}
Objective-C Method Information
- Class: Block
- Name: createGlobal
- Kind: Class Method
Syntax Usage
res := Block.createGlobal( user_data, user_proc, )
Block_createLocal ¶
Block_createLocal :: proc "c" ( 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, )
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_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_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_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_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_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()
Condition_waitUntilDate ¶
Condition_waitUntilDate :: proc "c" ( self: ^Condition, limit: ^Date, ) -> bool {…}
Objective-C Method Information
- Class: Condition
- Name: waitUntilDate
Syntax Usage
res := self->waitUntilDate(limit)
Data_mutableBytes ¶
Data_mutableBytes :: proc "c" ( self: ^Data, ) -> rawptr {…}
Objective-C Method Information
- Class: Data
- Name: mutableBytes
Syntax Usage
res := self->mutableBytes()
Date_dateWithTimeIntervalSinceNow ¶
Date_dateWithTimeIntervalSinceNow :: proc "c" ( secs: TimeInterval, ) -> ^Date {…}
Objective-C Method Information
- Class: Date
- Name: dateWithTimeIntervalSinceNow
Syntax Usage
res := self->dateWithTimeIntervalSinceNow()
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
- Class: Dictionary
- Name: count
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
- Class: Dictionary
- Name: init
Syntax Usage
res := self->init()
Dictionary_initWithObjects ¶
Dictionary_initWithObjects :: proc "c" ( self: ^Dictionary, objects: [^]^Object, forKeys: [^]^Object, count: UInteger, ) -> ^Dictionary {…}
Objective-C Method Information
- Class: Dictionary
- Name: initWithObjects
Syntax Usage
res := self->initWithObjects( objects, forKeys, count, )
Dictionary_keyEnumerator ¶
Dictionary_keyEnumerator :: proc "c" ( self: ^Dictionary, $KeyType: typeid, ) -> (enumerator: ^Enumerator(KeyType)) {…}
Objective-C Method Information
- Class: Dictionary
- Name: keyEnumerator
Syntax Usage
enumerator := self->keyEnumerator(KeyType)
Dictionary_objectForKey ¶
Dictionary_objectForKey :: proc "c" ( self: ^Dictionary, key: ^Object, ) -> ^Object {…}
Objective-C Method Information
- Class: Dictionary
- Name: objectForKey
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_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_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()
FastEnumeration_alloc ¶
FastEnumeration_alloc :: proc "c" () -> ^FastEnumeration {…}
Objective-C Method Information
- Class: FastEnumeration
- Name: alloc
- Kind: Class Method
Syntax Usage
res := FastEnumeration.alloc()
FastEnumeration_countByEnumerating ¶
FastEnumeration_countByEnumerating :: proc "c" ( self: ^FastEnumeration, state: ^FastEnumerationState, buffer: [^]^Object, len: UInteger, ) -> UInteger {…}
Objective-C Method Information
- Class: FastEnumeration
- Name: countByEnumerating
Syntax Usage
res := self->countByEnumerating( state, buffer, len, )
FastEnumeration_init ¶
FastEnumeration_init :: proc "c" ( self: ^FastEnumeration, ) -> ^FastEnumeration {…}
Objective-C Method Information
- Class: FastEnumeration
- Name: init
Syntax Usage
res := self->init()
Layer_addSublayer ¶
Layer_addSublayer :: proc "c" ( self: ^Layer, layer: ^Layer, ) {…}
Objective-C Method Information
- Class: Layer
- Name: addSublayer
Syntax Usage
self->addSublayer(layer)
Layer_contentsScale ¶
Layer_contentsScale :: proc "c" ( self: ^Layer, ) -> Float {…}
Objective-C Method Information
- Class: Layer
- Name: contentsScale
Syntax Usage
res := self->contentsScale()
Layer_setContentsScale ¶
Layer_setContentsScale :: proc "c" ( self: ^Layer, scale: Float, ) {…}
Objective-C Method Information
- Class: Layer
- Name: setContentsScale
Syntax Usage
self->setContentsScale(scale)
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 {…}
MenuItem_keyEquivalentModifierMask ¶
MenuItem_keyEquivalentModifierMask :: proc "c" ( self: ^MenuItem, ) -> KeyEquivalentModifierMask {…}
Objective-C Method Information
- Class: MenuItem
- Name: keyEquivalentModifierMask
Syntax Usage
res := self->keyEquivalentModifierMask()
MenuItem_registerActionCallback ¶
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_setKeyEquivalentModifierMask ¶
MenuItem_setKeyEquivalentModifierMask :: proc "c" ( self: ^MenuItem, modifierMask: KeyEquivalentModifierMask, ) {…}
Objective-C Method Information
- Class: MenuItem
- Name: setKeyEquivalentModifierMask
Syntax Usage
self->setKeyEquivalentModifierMask(modifierMask)
MenuItem_setSubmenu ¶
MenuItem_setSubmenu :: proc "c" ( self: ^MenuItem, submenu: ^Menu, ) {…}
Objective-C Method Information
- Class: MenuItem
- Name: setSubmenu
Syntax Usage
self->setSubmenu(submenu)
Menu_addItemWithTitle ¶
Menu_addItemWithTitle :: proc "c" ( self: ^Menu, title: ^String, selector: ^.objc_selector, keyEquivalent: ^String, ) -> ^MenuItem {…}
Objective-C Method Information
- Class: Menu
- Name: addItemWithTitle
Syntax Usage
res := self->addItemWithTitle( title, selector, keyEquivalent, )
Menu_initWithTitle ¶
Menu_initWithTitle :: proc "c" ( self: ^Menu, title: ^String, ) -> ^Menu {…}
Objective-C Method Information
- Class: Menu
- Name: initWithTitle
Syntax Usage
res := self->initWithTitle(title)
NotificationCenter_addObserverName ¶
NotificationCenter_addObserverName :: proc "c" ( self: ^NotificationCenter, name: ^String, pObj: ^Object, pQueue: rawptr, block: ^Block, ) -> ^Object {…}
Objective-C Method Information
- Class: NotificationCenter
- Name: addObserver
Syntax Usage
res := self->addObserver( name, pObj, pQueue, block, )
NotificationCenter_alloc ¶
NotificationCenter_alloc :: proc "c" () -> ^NotificationCenter {…}
Objective-C Method Information
- Class: NotificationCenter
- Name: alloc
- Kind: Class Method
Syntax Usage
res := NotificationCenter.alloc()
NotificationCenter_defaultCenter ¶
NotificationCenter_defaultCenter :: proc "c" () -> ^NotificationCenter {…}
Objective-C Method Information
- Class: NotificationCenter
- Name: defaultCenter
- Kind: Class Method
Syntax Usage
res := NotificationCenter.defaultCenter()
NotificationCenter_init ¶
NotificationCenter_init :: proc "c" ( self: ^NotificationCenter, ) -> ^NotificationCenter {…}
Objective-C Method Information
- Class: NotificationCenter
- Name: init
Syntax Usage
res := self->init()
NotificationCenter_removeObserver ¶
NotificationCenter_removeObserver :: proc "c" ( self: ^NotificationCenter, pObserver: ^Object, ) {…}
Objective-C Method Information
- Class: NotificationCenter
- Name: removeObserver
Syntax Usage
self->removeObserver(pObserver)
Notification_alloc ¶
Notification_alloc :: proc "c" () -> ^Notification {…}
Objective-C Method Information
- Class: Notification
- Name: alloc
- Kind: Class Method
Syntax Usage
res := Notification.alloc()
Notification_init ¶
Notification_init :: proc "c" ( self: ^Notification, ) -> ^Notification {…}
Objective-C Method Information
- Class: Notification
- Name: init
Syntax Usage
res := self->init()
Notification_name ¶
Notification_name :: proc "c" ( self: ^Notification, ) -> ^String {…}
Objective-C Method Information
- Class: Notification
- Name: name
Syntax Usage
res := self->name()
Notification_object ¶
Notification_object :: proc "c" ( self: ^Notification, ) -> ^Object {…}
Objective-C Method Information
- Class: Notification
- Name: object
Syntax Usage
res := self->object()
Notification_userInfo ¶
Notification_userInfo :: proc "c" ( self: ^Notification, ) -> ^Dictionary {…}
Objective-C Method Information
- Class: Notification
- Name: userInfo
Syntax Usage
res := self->userInfo()
Number_compare ¶
Number_compare :: proc "c" ( self, other: ^Number, ) -> ComparisonResult {…}
Objective-C Method Information
- Class: Number
- Name: compare
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_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_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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Number_stringValue ¶
Number_stringValue :: proc "c" ( self: ^Number, ) -> ^String {…}
Objective-C Method Information
- Class: Number
- Name: stringValue
Syntax Usage
res := self->stringValue()
Number_uintegerValue ¶
Number_uintegerValue :: proc "c" ( self: ^Number, ) -> UInteger {…}
Objective-C Method Information
- Class: Number
- Name: uintegerValue
Syntax Usage
res := self->uintegerValue()
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
- Class: OpenPanel
- Name: setCanChooseFiles
Syntax Usage
self->setCanChooseFiles(setting)
OpenPanel_setResolvesAliases ¶
OpenPanel_setResolvesAliases :: proc "c" ( self: ^OpenPanel, setting: bool, ) {…}
Objective-C Method Information
- Class: OpenPanel
- Name: setResolvesAliases
Syntax Usage
self->setResolvesAliases(setting)
Range_Equal ¶
Range_Equal :: proc "c" ( a, b: Range, ) -> bool {…}
RunningApplication_currentApplication ¶
RunningApplication_currentApplication :: proc "c" () -> ^RunningApplication {…}
Objective-C Method Information
- Class: RunningApplication
- Name: currentApplication
- Kind: Class Method
Syntax Usage
res := RunningApplication.currentApplication()
RunningApplication_localizedName ¶
RunningApplication_localizedName :: proc "c" ( self: ^RunningApplication, ) -> ^String {…}
Objective-C Method Information
- Class: RunningApplication
- Name: localizedName
Syntax Usage
res := self->localizedName()
SavePanel_runModal ¶
SavePanel_runModal :: proc "c" ( self: ^SavePanel, ) -> ModalResponse {…}
Objective-C Method Information
- Class: SavePanel
- Name: runModal
Syntax Usage
res := self->runModal()
StringFromClass ¶
StringFromClass :: proc "c" ( cls: ^.objc_class, ) -> ^String ---
String_UTF8String ¶
String_UTF8String :: proc "c" ( self: ^String, ) -> cstring {…}
Objective-C Method Information
- Class: String
- Name: UTF8String
Syntax Usage
res := self->UTF8String()
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_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_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, )
URL_fileSystemRepresentation ¶
URL_fileSystemRepresentation :: proc "c" ( self: ^URL, ) -> cstring {…}
Objective-C Method Information
- Class: URL
- Name: fileSystemRepresentation
Syntax Usage
res := self->fileSystemRepresentation()
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)
UserDefaults_setBoolForKey ¶
UserDefaults_setBoolForKey :: proc "c" ( self: ^UserDefaults, value: bool, name: ^String, ) {…}
Objective-C Method Information
- Class: UserDefaults
- Name: setBoolForKey
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_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_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_initWithFrame ¶
View_initWithFrame :: proc "c" ( self: ^View, frame: Rect, ) -> ^View {…}
Objective-C Method Information
- Class: View
- Name: initWithFrame
Syntax Usage
res := self->initWithFrame(frame)
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_backgroundColor ¶
Window_backgroundColor :: proc "c" ( self: ^Window, ) -> ^Color {…}
Objective-C Method Information
- Class: Window
- Name: backgroundColor
Syntax Usage
res := self->backgroundColor()
Window_contentLayoutRect ¶
Window_contentLayoutRect :: proc "c" ( self: ^Window, ) -> Rect {…}
Objective-C Method Information
- Class: Window
- Name: contentLayoutRect
Syntax Usage
res := self->contentLayoutRect()
Window_contentView ¶
Window_contentView :: proc "c" ( self: ^Window, ) -> ^View {…}
Objective-C Method Information
- Class: Window
- Name: contentView
Syntax Usage
res := self->contentView()
Window_initWithContentRect ¶
Window_initWithContentRect :: proc( self: ^Window, contentRect: Rect, 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_makeKeyAndOrderFront ¶
Window_makeKeyAndOrderFront :: proc "c" ( self: ^Window, key: ^Object, ) {…}
Objective-C Method Information
- Class: Window
- Name: makeKeyAndOrderFront
Syntax Usage
self->makeKeyAndOrderFront(key)
Window_setBackgroundColor ¶
Window_setBackgroundColor :: proc "c" ( self: ^Window, color: ^Color, ) {…}
Objective-C Method Information
- Class: Window
- Name: setBackgroundColor
Syntax Usage
self->setBackgroundColor(color)
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_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_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_setTitlebarAppearsTransparent ¶
Window_setTitlebarAppearsTransparent :: proc "c" ( self: ^Window, ok: bool, ) {…}
Objective-C Method Information
- Class: Window
- Name: setTitlebarAppearsTransparent
Syntax Usage
self->setTitlebarAppearsTransparent(ok)
application_delegate_register_and_alloc ¶
application_delegate_register_and_alloc :: proc( template: ApplicationDelegateTemplate, class_name: string, delegate_context: runtime.Maybe(runtime.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
- Class: Object
- Name: class
Syntax Usage
res := self->class()
class_addMethod ¶
class_addMethod :: proc "c" ( cls: ^.objc_class, name: ^.objc_selector, imp: IMP, types: cstring, ) -> bool ---
class_createInstance ¶
class_createInstance :: proc "c" ( cls: ^.objc_class, extraBytes: uint, ) -> ^.objc_object ---
class_getInstanceMethod ¶
class_getInstanceMethod :: proc "c" ( cls: ^.objc_class, name: ^.objc_selector, ) -> ^objc_method ---
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()
methodSignatureForSelector ¶
methodSignatureForSelector :: proc "c" ( obj: ^Object, selector: ^.objc_selector, ) -> rawptr {…}
method_setImplementation ¶
method_setImplementation :: proc "c" ( method: ^objc_method, imp: IMP, ) ---
msgSendSafeCheck ¶
msgSendSafeCheck :: proc "c" ( obj: ^Object, selector: ^.objc_selector, ) -> bool {…}
objc_allocateClassPair ¶
objc_allocateClassPair :: proc "c" ( superclass: ^.objc_class, name: cstring, extraBytes: uint, ) -> ^.objc_class ---
objc_lookUpClass ¶
objc_lookUpClass :: proc "c" ( name: cstring, ) -> ^.objc_class ---
objc_registerClassPair ¶
objc_registerClassPair :: proc "c" ( cls: ^.objc_class, ) ---
object_getIndexedIvars ¶
object_getIndexedIvars :: proc "c" ( obj: ^.objc_object, ) -> rawptr ---
respondsToSelector ¶
respondsToSelector :: proc "c" ( obj: ^Object, selector: ^.objc_selector, ) -> bool {…}
retainCount ¶
retainCount :: proc "c" ( self: ^Object, ) -> UInteger {…}
Objective-C Method Information
- Class: Object
- Name: retainCount
Syntax Usage
res := self->retainCount()
scoped_autoreleasepool ¶
scoped_autoreleasepool :: proc "c" () -> ^AutoreleasePool {…}
sel_registerName ¶
sel_registerName :: proc "c" ( name: cstring, ) -> ^.objc_selector ---
window_delegate_register_and_alloc ¶
window_delegate_register_and_alloc :: proc( template: WindowDelegateTemplate, class_name: string, delegate_context: runtime.Maybe(runtime.Context), ) -> ^WindowDelegate {…}
Procedure Groups
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
- NSApplication.odin
- NSArray.odin
- NSAutoreleasePool.odin
- NSBlock.odin
- NSBundle.odin
- NSData.odin
- NSDate.odin
- NSDictionary.odin
- NSEnumerator.odin
- NSError.odin
- NSEvent.odin
- NSLock.odin
- NSMenu.odin
- NSNotification.odin
- NSNumber.odin
- NSObject.odin
- NSOpenPanel.odin
- NSPanel.odin
- NSPasteboard.odin
- NSRange.odin
- NSSavePanel.odin
- NSScreen.odin
- NSString.odin
- NSTypes.odin
- NSURL.odin
- NSUndoManager.odin
- NSUserActivity.odin
- NSUserDefaults.odin
- NSWindow.odin
- objc.odin
Generation Information
Generated with odin version dev-2023-06 (vendor "odin") Windows_amd64 @ 2023-06-02 21:08:32.820117100 +0000 UTC