From 2c13109ac81f82daea2bdbb6abc8e0cfd04b12a7 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 11:21:39 -0700 Subject: [PATCH 01/13] gen: Omit trailing underscores from generayed method names --- gen/gen.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen/gen.go b/gen/gen.go index 61b5b309..7157301d 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -29,7 +29,9 @@ func msgSendFuncName(cls schema.Class, selector string, isTypeMethod bool) strin } func selectorNameToGoIdent(sel string) string { - return strings.ReplaceAll(sel, ":", "_") + ident := strings.ReplaceAll(sel, ":", "_") + ident = strings.TrimRight(ident, "_") + return ident } // Objective-C properties are syntactic sugar for getter/setter methods, this From 8c1a785afbee4a25cd01bd4c2e4c37c9ab2fb4f1 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 11:21:49 -0700 Subject: [PATCH 02/13] gen: Omit trailing underscores from generayed method names --- cocoa/cocoa_objc.gen.go | 4392 ++++++++++++++++++------------------ core/CALayer.go | 4 +- core/NSAttributedString.go | 2 +- core/NSData.go | 2 +- core/NSNumber.go | 4 +- core/NSString.go | 4 +- core/NSURL.go | 2 +- core/NSURLRequest.go | 2 +- core/core_objc.gen.go | 1242 +++++----- webkit/webkit_objc.gen.go | 234 +- 10 files changed, 2944 insertions(+), 2944 deletions(-) diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index f5e919e3..20f3fec7 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -26,47 +26,47 @@ void* NSBundle_type_alloc() { return [NSBundle alloc]; } -void* NSBundle_type_bundleWithURL_(void* url) { +void* NSBundle_type_bundleWithURL(void* url) { return [NSBundle bundleWithURL: url]; } -void* NSBundle_type_bundleWithPath_(void* path) { +void* NSBundle_type_bundleWithPath(void* path) { return [NSBundle bundleWithPath: path]; } -void* NSBundle_type_bundleWithIdentifier_(void* identifier) { +void* NSBundle_type_bundleWithIdentifier(void* identifier) { return [NSBundle bundleWithIdentifier: identifier]; } -void* NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL_(void* name, void* ext, void* subpath, void* bundleURL) { +void* NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL(void* name, void* ext, void* subpath, void* bundleURL) { return [NSBundle URLForResource: name withExtension: ext subdirectory: subpath inBundleWithURL: bundleURL]; } -void* NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_(void* ext, void* subpath, void* bundleURL) { +void* NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(void* ext, void* subpath, void* bundleURL) { return [NSBundle URLsForResourcesWithExtension: ext subdirectory: subpath inBundleWithURL: bundleURL]; } -void* NSBundle_type_pathForResource_ofType_inDirectory_(void* name, void* ext, void* bundlePath) { +void* NSBundle_type_pathForResource_ofType_inDirectory(void* name, void* ext, void* bundlePath) { return [NSBundle pathForResource: name ofType: ext inDirectory: bundlePath]; } -void* NSBundle_type_pathsForResourcesOfType_inDirectory_(void* ext, void* bundlePath) { +void* NSBundle_type_pathsForResourcesOfType_inDirectory(void* ext, void* bundlePath) { return [NSBundle pathsForResourcesOfType: ext inDirectory: bundlePath]; } -void* NSBundle_type_preferredLocalizationsFromArray_(void* localizationsArray) { +void* NSBundle_type_preferredLocalizationsFromArray(void* localizationsArray) { return [NSBundle preferredLocalizationsFromArray: localizationsArray]; } -void* NSBundle_type_preferredLocalizationsFromArray_forPreferences_(void* localizationsArray, void* preferencesArray) { +void* NSBundle_type_preferredLocalizationsFromArray_forPreferences(void* localizationsArray, void* preferencesArray) { return [NSBundle preferredLocalizationsFromArray: localizationsArray forPreferences: preferencesArray]; @@ -87,7 +87,7 @@ void* NSSound_type_alloc() { return [NSSound alloc]; } -BOOL NSSound_type_canInitWithPasteboard_(void* pasteboard) { +BOOL NSSound_type_canInitWithPasteboard(void* pasteboard) { return [NSSound canInitWithPasteboard: pasteboard]; } @@ -99,7 +99,7 @@ void* NSApplication_type_alloc() { return [NSApplication alloc]; } -void NSApplication_type_detachDrawingThread_toTarget_withObject_(void* selector, void* target, void* argument) { +void NSApplication_type_detachDrawingThread_toTarget_withObject(void* selector, void* target, void* argument) { [NSApplication detachDrawingThread: selector toTarget: target @@ -117,32 +117,32 @@ void* NSButton_type_alloc() { return [NSButton alloc]; } -void* NSButton_type_checkboxWithTitle_target_action_(void* title, void* target, void* action) { +void* NSButton_type_checkboxWithTitle_target_action(void* title, void* target, void* action) { return [NSButton checkboxWithTitle: title target: target action: action]; } -void* NSButton_type_buttonWithImage_target_action_(void* image, void* target, void* action) { +void* NSButton_type_buttonWithImage_target_action(void* image, void* target, void* action) { return [NSButton buttonWithImage: image target: target action: action]; } -void* NSButton_type_radioButtonWithTitle_target_action_(void* title, void* target, void* action) { +void* NSButton_type_radioButtonWithTitle_target_action(void* title, void* target, void* action) { return [NSButton radioButtonWithTitle: title target: target action: action]; } -void* NSButton_type_buttonWithTitle_image_target_action_(void* title, void* image, void* target, void* action) { +void* NSButton_type_buttonWithTitle_image_target_action(void* title, void* image, void* target, void* action) { return [NSButton buttonWithTitle: title image: image target: target action: action]; } -void* NSButton_type_buttonWithTitle_target_action_(void* title, void* target, void* action) { +void* NSButton_type_buttonWithTitle_target_action(void* title, void* target, void* action) { return [NSButton buttonWithTitle: title target: target @@ -152,7 +152,7 @@ void* NSEvent_type_alloc() { return [NSEvent alloc]; } -void* NSEvent_type_eventWithEventRef_(void* eventRef) { +void* NSEvent_type_eventWithEventRef(void* eventRef) { return [NSEvent eventWithEventRef: eventRef]; } @@ -160,7 +160,7 @@ void NSEvent_type_stopPeriodicEvents() { [NSEvent stopPeriodicEvents]; } -void NSEvent_type_removeMonitor_(void* eventMonitor) { +void NSEvent_type_removeMonitor(void* eventMonitor) { [NSEvent removeMonitor: eventMonitor]; } @@ -176,7 +176,7 @@ BOOL NSEvent_type_mouseCoalescingEnabled() { return [NSEvent mouseCoalescingEnabled]; } -void NSEvent_type_setMouseCoalescingEnabled_(BOOL value) { +void NSEvent_type_setMouseCoalescingEnabled(BOOL value) { [NSEvent setMouseCoalescingEnabled: value]; } @@ -188,64 +188,64 @@ void* NSFont_type_alloc() { return [NSFont alloc]; } -void* NSFont_type_fontWithName_size_(void* fontName, double fontSize) { +void* NSFont_type_fontWithName_size(void* fontName, double fontSize) { return [NSFont fontWithName: fontName size: fontSize]; } -void* NSFont_type_userFontOfSize_(double fontSize) { +void* NSFont_type_userFontOfSize(double fontSize) { return [NSFont userFontOfSize: fontSize]; } -void* NSFont_type_userFixedPitchFontOfSize_(double fontSize) { +void* NSFont_type_userFixedPitchFontOfSize(double fontSize) { return [NSFont userFixedPitchFontOfSize: fontSize]; } -void* NSFont_type_systemFontOfSize_(double fontSize) { +void* NSFont_type_systemFontOfSize(double fontSize) { return [NSFont systemFontOfSize: fontSize]; } -void* NSFont_type_boldSystemFontOfSize_(double fontSize) { +void* NSFont_type_boldSystemFontOfSize(double fontSize) { return [NSFont boldSystemFontOfSize: fontSize]; } -void* NSFont_type_labelFontOfSize_(double fontSize) { +void* NSFont_type_labelFontOfSize(double fontSize) { return [NSFont labelFontOfSize: fontSize]; } -void* NSFont_type_messageFontOfSize_(double fontSize) { +void* NSFont_type_messageFontOfSize(double fontSize) { return [NSFont messageFontOfSize: fontSize]; } -void* NSFont_type_menuBarFontOfSize_(double fontSize) { +void* NSFont_type_menuBarFontOfSize(double fontSize) { return [NSFont menuBarFontOfSize: fontSize]; } -void* NSFont_type_menuFontOfSize_(double fontSize) { +void* NSFont_type_menuFontOfSize(double fontSize) { return [NSFont menuFontOfSize: fontSize]; } -void* NSFont_type_controlContentFontOfSize_(double fontSize) { +void* NSFont_type_controlContentFontOfSize(double fontSize) { return [NSFont controlContentFontOfSize: fontSize]; } -void* NSFont_type_titleBarFontOfSize_(double fontSize) { +void* NSFont_type_titleBarFontOfSize(double fontSize) { return [NSFont titleBarFontOfSize: fontSize]; } -void* NSFont_type_paletteFontOfSize_(double fontSize) { +void* NSFont_type_paletteFontOfSize(double fontSize) { return [NSFont paletteFontOfSize: fontSize]; } -void* NSFont_type_toolTipsFontOfSize_(double fontSize) { +void* NSFont_type_toolTipsFontOfSize(double fontSize) { return [NSFont toolTipsFontOfSize: fontSize]; } -void NSFont_type_setUserFont_(void* font) { +void NSFont_type_setUserFont(void* font) { [NSFont setUserFont: font]; } -void NSFont_type_setUserFixedPitchFont_(void* font) { +void NSFont_type_setUserFixedPitchFont(void* font) { [NSFont setUserFixedPitchFont: font]; } @@ -265,12 +265,12 @@ void* NSImage_type_alloc() { return [NSImage alloc]; } -void* NSImage_type_imageWithSystemSymbolName_accessibilityDescription_(void* symbolName, void* description) { +void* NSImage_type_imageWithSystemSymbolName_accessibilityDescription(void* symbolName, void* description) { return [NSImage imageWithSystemSymbolName: symbolName accessibilityDescription: description]; } -BOOL NSImage_type_canInitWithPasteboard_(void* pasteboard) { +BOOL NSImage_type_canInitWithPasteboard(void* pasteboard) { return [NSImage canInitWithPasteboard: pasteboard]; } @@ -286,7 +286,7 @@ void* NSImageView_type_alloc() { return [NSImageView alloc]; } -void* NSImageView_type_imageViewWithImage_(void* image) { +void* NSImageView_type_imageViewWithImage(void* image) { return [NSImageView imageViewWithImage: image]; } @@ -298,11 +298,11 @@ void* NSPasteboard_type_alloc() { return [NSPasteboard alloc]; } -void* NSPasteboard_type_pasteboardByFilteringFile_(void* filename) { +void* NSPasteboard_type_pasteboardByFilteringFile(void* filename) { return [NSPasteboard pasteboardByFilteringFile: filename]; } -void* NSPasteboard_type_pasteboardByFilteringTypesInPasteboard_(void* pboard) { +void* NSPasteboard_type_pasteboardByFilteringTypesInPasteboard(void* pboard) { return [NSPasteboard pasteboardByFilteringTypesInPasteboard: pboard]; } @@ -326,17 +326,17 @@ BOOL NSMenu_type_menuBarVisible() { return [NSMenu menuBarVisible]; } -void NSMenu_type_setMenuBarVisible_(BOOL visible) { +void NSMenu_type_setMenuBarVisible(BOOL visible) { [NSMenu setMenuBarVisible: visible]; } -void NSMenu_type_popUpContextMenu_withEvent_forView_(void* menu, void* event, void* view) { +void NSMenu_type_popUpContextMenu_withEvent_forView(void* menu, void* event, void* view) { [NSMenu popUpContextMenu: menu withEvent: event forView: view]; } -void NSMenu_type_popUpContextMenu_withEvent_forView_withFont_(void* menu, void* event, void* view, void* font) { +void NSMenu_type_popUpContextMenu_withEvent_forView_withFont(void* menu, void* event, void* view, void* font) { [NSMenu popUpContextMenu: menu withEvent: event @@ -359,7 +359,7 @@ BOOL NSMenuItem_type_usesUserKeyEquivalents() { return [NSMenuItem usesUserKeyEquivalents]; } -void NSMenuItem_type_setUsesUserKeyEquivalents_(BOOL value) { +void NSMenuItem_type_setUsesUserKeyEquivalents(BOOL value) { [NSMenuItem setUsesUserKeyEquivalents: value]; } @@ -367,7 +367,7 @@ void* NSRunningApplication_type_alloc() { return [NSRunningApplication alloc]; } -void* NSRunningApplication_type_runningApplicationsWithBundleIdentifier_(void* bundleIdentifier) { +void* NSRunningApplication_type_runningApplicationsWithBundleIdentifier(void* bundleIdentifier) { return [NSRunningApplication runningApplicationsWithBundleIdentifier: bundleIdentifier]; } @@ -423,19 +423,19 @@ void* NSTextField_type_alloc() { return [NSTextField alloc]; } -void* NSTextField_type_labelWithAttributedString_(void* attributedStringValue) { +void* NSTextField_type_labelWithAttributedString(void* attributedStringValue) { return [NSTextField labelWithAttributedString: attributedStringValue]; } -void* NSTextField_type_labelWithString_(void* stringValue) { +void* NSTextField_type_labelWithString(void* stringValue) { return [NSTextField labelWithString: stringValue]; } -void* NSTextField_type_textFieldWithString_(void* stringValue) { +void* NSTextField_type_textFieldWithString(void* stringValue) { return [NSTextField textFieldWithString: stringValue]; } -void* NSTextField_type_wrappingLabelWithString_(void* stringValue) { +void* NSTextField_type_wrappingLabelWithString(void* stringValue) { return [NSTextField wrappingLabelWithString: stringValue]; } @@ -455,26 +455,26 @@ void* NSWindow_type_alloc() { return [NSWindow alloc]; } -void* NSWindow_type_windowWithContentViewController_(void* contentViewController) { +void* NSWindow_type_windowWithContentViewController(void* contentViewController) { return [NSWindow windowWithContentViewController: contentViewController]; } -NSRect NSWindow_type_contentRectForFrameRect_styleMask_(NSRect fRect, unsigned long style) { +NSRect NSWindow_type_contentRectForFrameRect_styleMask(NSRect fRect, unsigned long style) { return [NSWindow contentRectForFrameRect: fRect styleMask: style]; } -NSRect NSWindow_type_frameRectForContentRect_styleMask_(NSRect cRect, unsigned long style) { +NSRect NSWindow_type_frameRectForContentRect_styleMask(NSRect cRect, unsigned long style) { return [NSWindow frameRectForContentRect: cRect styleMask: style]; } -double NSWindow_type_minFrameWidthWithTitle_styleMask_(void* title, unsigned long style) { +double NSWindow_type_minFrameWidthWithTitle_styleMask(void* title, unsigned long style) { return [NSWindow minFrameWidthWithTitle: title styleMask: style]; } -long NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber_(NSPoint point, long windowNumber) { +long NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber(NSPoint point, long windowNumber) { return [NSWindow windowNumberAtPoint: point belowWindowWithWindowNumber: windowNumber]; @@ -483,7 +483,7 @@ BOOL NSWindow_type_allowsAutomaticWindowTabbing() { return [NSWindow allowsAutomaticWindowTabbing]; } -void NSWindow_type_setAllowsAutomaticWindowTabbing_(BOOL value) { +void NSWindow_type_setAllowsAutomaticWindowTabbing(BOOL value) { [NSWindow setAllowsAutomaticWindowTabbing: value]; } @@ -499,11 +499,11 @@ void* NSColor_type_alloc() { return [NSColor alloc]; } -void* NSColor_type_colorFromPasteboard_(void* pasteBoard) { +void* NSColor_type_colorFromPasteboard(void* pasteBoard) { return [NSColor colorFromPasteboard: pasteBoard]; } -void* NSColor_type_colorWithRed_green_blue_alpha_(double red, double green, double blue, double alpha) { +void* NSColor_type_colorWithRed_green_blue_alpha(double red, double green, double blue, double alpha) { return [NSColor colorWithRed: red green: green @@ -514,7 +514,7 @@ BOOL NSColor_type_ignoresAlpha() { return [NSColor ignoresAlpha]; } -void NSColor_type_setIgnoresAlpha_(BOOL value) { +void NSColor_type_setIgnoresAlpha(BOOL value) { [NSColor setIgnoresAlpha: value]; } @@ -568,43 +568,43 @@ BOOL NSView_type_compatibleWithResponsiveScrolling() { } -void* NSBundle_inst_initWithURL_(void *id, void* url) { +void* NSBundle_inst_initWithURL(void *id, void* url) { return [(NSBundle*)id initWithURL: url]; } -void* NSBundle_inst_initWithPath_(void *id, void* path) { +void* NSBundle_inst_initWithPath(void *id, void* path) { return [(NSBundle*)id initWithPath: path]; } -void* NSBundle_inst_loadNibNamed_owner_options_(void *id, void* name, void* owner, void* options) { +void* NSBundle_inst_loadNibNamed_owner_options(void *id, void* name, void* owner, void* options) { return [(NSBundle*)id loadNibNamed: name owner: owner options: options]; } -void* NSBundle_inst_URLForResource_withExtension_subdirectory_(void *id, void* name, void* ext, void* subpath) { +void* NSBundle_inst_URLForResource_withExtension_subdirectory(void *id, void* name, void* ext, void* subpath) { return [(NSBundle*)id URLForResource: name withExtension: ext subdirectory: subpath]; } -void* NSBundle_inst_URLForResource_withExtension_(void *id, void* name, void* ext) { +void* NSBundle_inst_URLForResource_withExtension(void *id, void* name, void* ext) { return [(NSBundle*)id URLForResource: name withExtension: ext]; } -void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory_(void *id, void* ext, void* subpath) { +void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory(void *id, void* ext, void* subpath) { return [(NSBundle*)id URLsForResourcesWithExtension: ext subdirectory: subpath]; } -void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization_(void *id, void* name, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization(void *id, void* name, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id URLForResource: name withExtension: ext @@ -612,27 +612,27 @@ void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization_(void localization: localizationName]; } -void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization_(void *id, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization(void *id, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id URLsForResourcesWithExtension: ext subdirectory: subpath localization: localizationName]; } -void* NSBundle_inst_pathForResource_ofType_(void *id, void* name, void* ext) { +void* NSBundle_inst_pathForResource_ofType(void *id, void* name, void* ext) { return [(NSBundle*)id pathForResource: name ofType: ext]; } -void* NSBundle_inst_pathForResource_ofType_inDirectory_(void *id, void* name, void* ext, void* subpath) { +void* NSBundle_inst_pathForResource_ofType_inDirectory(void *id, void* name, void* ext, void* subpath) { return [(NSBundle*)id pathForResource: name ofType: ext inDirectory: subpath]; } -void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization_(void *id, void* name, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization(void *id, void* name, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id pathForResource: name ofType: ext @@ -640,37 +640,37 @@ void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization_(void *id forLocalization: localizationName]; } -void* NSBundle_inst_pathsForResourcesOfType_inDirectory_(void *id, void* ext, void* subpath) { +void* NSBundle_inst_pathsForResourcesOfType_inDirectory(void *id, void* ext, void* subpath) { return [(NSBundle*)id pathsForResourcesOfType: ext inDirectory: subpath]; } -void* NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization_(void *id, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization(void *id, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id pathsForResourcesOfType: ext inDirectory: subpath forLocalization: localizationName]; } -void* NSBundle_inst_localizedStringForKey_value_table_(void *id, void* key, void* value, void* tableName) { +void* NSBundle_inst_localizedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { return [(NSBundle*)id localizedStringForKey: key value: value table: tableName]; } -void* NSBundle_inst_URLForAuxiliaryExecutable_(void *id, void* executableName) { +void* NSBundle_inst_URLForAuxiliaryExecutable(void *id, void* executableName) { return [(NSBundle*)id URLForAuxiliaryExecutable: executableName]; } -void* NSBundle_inst_pathForAuxiliaryExecutable_(void *id, void* executableName) { +void* NSBundle_inst_pathForAuxiliaryExecutable(void *id, void* executableName) { return [(NSBundle*)id pathForAuxiliaryExecutable: executableName]; } -void* NSBundle_inst_objectForInfoDictionaryKey_(void *id, void* key) { +void* NSBundle_inst_objectForInfoDictionaryKey(void *id, void* key) { return [(NSBundle*)id objectForInfoDictionaryKey: key]; } @@ -685,7 +685,7 @@ BOOL NSBundle_inst_unload(void *id) { unload]; } -void* NSBundle_inst_localizedAttributedStringForKey_value_table_(void *id, void* key, void* value, void* tableName) { +void* NSBundle_inst_localizedAttributedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { return [(NSBundle*)id localizedAttributedStringForKey: key value: value @@ -812,24 +812,24 @@ BOOL NSBundle_inst_isLoaded(void *id) { isLoaded]; } -void* NSSound_inst_initWithContentsOfFile_byReference_(void *id, void* path, BOOL byRef) { +void* NSSound_inst_initWithContentsOfFile_byReference(void *id, void* path, BOOL byRef) { return [(NSSound*)id initWithContentsOfFile: path byReference: byRef]; } -void* NSSound_inst_initWithContentsOfURL_byReference_(void *id, void* url, BOOL byRef) { +void* NSSound_inst_initWithContentsOfURL_byReference(void *id, void* url, BOOL byRef) { return [(NSSound*)id initWithContentsOfURL: url byReference: byRef]; } -void* NSSound_inst_initWithData_(void *id, void* data) { +void* NSSound_inst_initWithData(void *id, void* data) { return [(NSSound*)id initWithData: data]; } -void* NSSound_inst_initWithPasteboard_(void *id, void* pasteboard) { +void* NSSound_inst_initWithPasteboard(void *id, void* pasteboard) { return [(NSSound*)id initWithPasteboard: pasteboard]; } @@ -854,7 +854,7 @@ BOOL NSSound_inst_stop(void *id) { stop]; } -void NSSound_inst_writeToPasteboard_(void *id, void* pasteboard) { +void NSSound_inst_writeToPasteboard(void *id, void* pasteboard) { [(NSSound*)id writeToPasteboard: pasteboard]; } @@ -869,7 +869,7 @@ void* NSSound_inst_delegate(void *id) { delegate]; } -void NSSound_inst_setDelegate_(void *id, void* value) { +void NSSound_inst_setDelegate(void *id, void* value) { [(NSSound*)id setDelegate: value]; } @@ -879,7 +879,7 @@ BOOL NSSound_inst_loops(void *id) { loops]; } -void NSSound_inst_setLoops_(void *id, BOOL value) { +void NSSound_inst_setLoops(void *id, BOOL value) { [(NSSound*)id setLoops: value]; } @@ -899,58 +899,58 @@ void NSApplication_inst_finishLaunching(void *id) { finishLaunching]; } -void NSApplication_inst_stop_(void *id, void* sender) { +void NSApplication_inst_stop(void *id, void* sender) { [(NSApplication*)id stop: sender]; } -void NSApplication_inst_sendEvent_(void *id, void* event) { +void NSApplication_inst_sendEvent(void *id, void* event) { [(NSApplication*)id sendEvent: event]; } -void NSApplication_inst_postEvent_atStart_(void *id, void* event, BOOL flag) { +void NSApplication_inst_postEvent_atStart(void *id, void* event, BOOL flag) { [(NSApplication*)id postEvent: event atStart: flag]; } -BOOL NSApplication_inst_tryToPerform_with_(void *id, void* action, void* object) { +BOOL NSApplication_inst_tryToPerform_with(void *id, void* action, void* object) { return [(NSApplication*)id tryToPerform: action with: object]; } -BOOL NSApplication_inst_sendAction_to_from_(void *id, void* action, void* target, void* sender) { +BOOL NSApplication_inst_sendAction_to_from(void *id, void* action, void* target, void* sender) { return [(NSApplication*)id sendAction: action to: target from: sender]; } -void* NSApplication_inst_targetForAction_(void *id, void* action) { +void* NSApplication_inst_targetForAction(void *id, void* action) { return [(NSApplication*)id targetForAction: action]; } -void* NSApplication_inst_targetForAction_to_from_(void *id, void* action, void* target, void* sender) { +void* NSApplication_inst_targetForAction_to_from(void *id, void* action, void* target, void* sender) { return [(NSApplication*)id targetForAction: action to: target from: sender]; } -void NSApplication_inst_terminate_(void *id, void* sender) { +void NSApplication_inst_terminate(void *id, void* sender) { [(NSApplication*)id terminate: sender]; } -void NSApplication_inst_replyToApplicationShouldTerminate_(void *id, BOOL shouldTerminate) { +void NSApplication_inst_replyToApplicationShouldTerminate(void *id, BOOL shouldTerminate) { [(NSApplication*)id replyToApplicationShouldTerminate: shouldTerminate]; } -void NSApplication_inst_activateIgnoringOtherApps_(void *id, BOOL flag) { +void NSApplication_inst_activateIgnoringOtherApps(void *id, BOOL flag) { [(NSApplication*)id activateIgnoringOtherApps: flag]; } @@ -980,42 +980,42 @@ void NSApplication_inst_unregisterForRemoteNotifications(void *id) { unregisterForRemoteNotifications]; } -void NSApplication_inst_toggleTouchBarCustomizationPalette_(void *id, void* sender) { +void NSApplication_inst_toggleTouchBarCustomizationPalette(void *id, void* sender) { [(NSApplication*)id toggleTouchBarCustomizationPalette: sender]; } -void NSApplication_inst_cancelUserAttentionRequest_(void *id, long request) { +void NSApplication_inst_cancelUserAttentionRequest(void *id, long request) { [(NSApplication*)id cancelUserAttentionRequest: request]; } -void NSApplication_inst_registerUserInterfaceItemSearchHandler_(void *id, void* handler) { +void NSApplication_inst_registerUserInterfaceItemSearchHandler(void *id, void* handler) { [(NSApplication*)id registerUserInterfaceItemSearchHandler: handler]; } -void NSApplication_inst_unregisterUserInterfaceItemSearchHandler_(void *id, void* handler) { +void NSApplication_inst_unregisterUserInterfaceItemSearchHandler(void *id, void* handler) { [(NSApplication*)id unregisterUserInterfaceItemSearchHandler: handler]; } -void NSApplication_inst_showHelp_(void *id, void* sender) { +void NSApplication_inst_showHelp(void *id, void* sender) { [(NSApplication*)id showHelp: sender]; } -void NSApplication_inst_activateContextHelpMode_(void *id, void* sender) { +void NSApplication_inst_activateContextHelpMode(void *id, void* sender) { [(NSApplication*)id activateContextHelpMode: sender]; } -void NSApplication_inst_hideOtherApplications_(void *id, void* sender) { +void NSApplication_inst_hideOtherApplications(void *id, void* sender) { [(NSApplication*)id hideOtherApplications: sender]; } -void NSApplication_inst_unhideAllApplications_(void *id, void* sender) { +void NSApplication_inst_unhideAllApplications(void *id, void* sender) { [(NSApplication*)id unhideAllApplications: sender]; } @@ -1025,7 +1025,7 @@ long NSApplication_inst_activationPolicy(void *id) { activationPolicy]; } -BOOL NSApplication_inst_setActivationPolicy_(void *id, long activationPolicy) { +BOOL NSApplication_inst_setActivationPolicy(void *id, long activationPolicy) { return [(NSApplication*)id setActivationPolicy: activationPolicy]; } @@ -1040,7 +1040,7 @@ void* NSApplication_inst_delegate(void *id) { delegate]; } -void NSApplication_inst_setDelegate_(void *id, void* value) { +void NSApplication_inst_setDelegate(void *id, void* value) { [(NSApplication*)id setDelegate: value]; } @@ -1070,7 +1070,7 @@ void* NSApplication_inst_applicationIconImage(void *id) { applicationIconImage]; } -void NSApplication_inst_setApplicationIconImage_(void *id, void* value) { +void NSApplication_inst_setApplicationIconImage(void *id, void* value) { [(NSApplication*)id setApplicationIconImage: value]; } @@ -1080,7 +1080,7 @@ void* NSApplication_inst_helpMenu(void *id) { helpMenu]; } -void NSApplication_inst_setHelpMenu_(void *id, void* value) { +void NSApplication_inst_setHelpMenu(void *id, void* value) { [(NSApplication*)id setHelpMenu: value]; } @@ -1090,7 +1090,7 @@ void* NSApplication_inst_servicesProvider(void *id) { servicesProvider]; } -void NSApplication_inst_setServicesProvider_(void *id, void* value) { +void NSApplication_inst_setServicesProvider(void *id, void* value) { [(NSApplication*)id setServicesProvider: value]; } @@ -1115,53 +1115,53 @@ void* NSApplication_inst_mainMenu(void *id) { mainMenu]; } -void NSApplication_inst_setMainMenu_(void *id, void* value) { +void NSApplication_inst_setMainMenu(void *id, void* value) { [(NSApplication*)id setMainMenu: value]; } -void* NSControl_inst_initWithFrame_(void *id, NSRect frameRect) { +void* NSControl_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSControl*)id initWithFrame: frameRect]; } -void NSControl_inst_takeDoubleValueFrom_(void *id, void* sender) { +void NSControl_inst_takeDoubleValueFrom(void *id, void* sender) { [(NSControl*)id takeDoubleValueFrom: sender]; } -void NSControl_inst_takeFloatValueFrom_(void *id, void* sender) { +void NSControl_inst_takeFloatValueFrom(void *id, void* sender) { [(NSControl*)id takeFloatValueFrom: sender]; } -void NSControl_inst_takeIntValueFrom_(void *id, void* sender) { +void NSControl_inst_takeIntValueFrom(void *id, void* sender) { [(NSControl*)id takeIntValueFrom: sender]; } -void NSControl_inst_takeIntegerValueFrom_(void *id, void* sender) { +void NSControl_inst_takeIntegerValueFrom(void *id, void* sender) { [(NSControl*)id takeIntegerValueFrom: sender]; } -void NSControl_inst_takeObjectValueFrom_(void *id, void* sender) { +void NSControl_inst_takeObjectValueFrom(void *id, void* sender) { [(NSControl*)id takeObjectValueFrom: sender]; } -void NSControl_inst_takeStringValueFrom_(void *id, void* sender) { +void NSControl_inst_takeStringValueFrom(void *id, void* sender) { [(NSControl*)id takeStringValueFrom: sender]; } -void NSControl_inst_drawWithExpansionFrame_inView_(void *id, NSRect contentFrame, void* view) { +void NSControl_inst_drawWithExpansionFrame_inView(void *id, NSRect contentFrame, void* view) { [(NSControl*)id drawWithExpansionFrame: contentFrame inView: view]; } -NSRect NSControl_inst_expansionFrameWithFrame_(void *id, NSRect contentFrame) { +NSRect NSControl_inst_expansionFrameWithFrame(void *id, NSRect contentFrame) { return [(NSControl*)id expansionFrameWithFrame: contentFrame]; } @@ -1181,7 +1181,7 @@ void NSControl_inst_validateEditing(void *id) { validateEditing]; } -void NSControl_inst_editWithFrame_editor_delegate_event_(void *id, NSRect rect, void* textObj, void* delegate, void* event) { +void NSControl_inst_editWithFrame_editor_delegate_event(void *id, NSRect rect, void* textObj, void* delegate, void* event) { [(NSControl*)id editWithFrame: rect editor: textObj @@ -1189,12 +1189,12 @@ void NSControl_inst_editWithFrame_editor_delegate_event_(void *id, NSRect rect, event: event]; } -void NSControl_inst_endEditing_(void *id, void* textObj) { +void NSControl_inst_endEditing(void *id, void* textObj) { [(NSControl*)id endEditing: textObj]; } -void NSControl_inst_selectWithFrame_editor_delegate_start_length_(void *id, NSRect rect, void* textObj, void* delegate, long selStart, long selLength) { +void NSControl_inst_selectWithFrame_editor_delegate_start_length(void *id, NSRect rect, void* textObj, void* delegate, long selStart, long selLength) { [(NSControl*)id selectWithFrame: rect editor: textObj @@ -1203,7 +1203,7 @@ void NSControl_inst_selectWithFrame_editor_delegate_start_length_(void *id, NSRe length: selLength]; } -NSSize NSControl_inst_sizeThatFits_(void *id, NSSize size) { +NSSize NSControl_inst_sizeThatFits(void *id, NSSize size) { return [(NSControl*)id sizeThatFits: size]; } @@ -1213,18 +1213,18 @@ void NSControl_inst_sizeToFit(void *id) { sizeToFit]; } -BOOL NSControl_inst_sendAction_to_(void *id, void* action, void* target) { +BOOL NSControl_inst_sendAction_to(void *id, void* action, void* target) { return [(NSControl*)id sendAction: action to: target]; } -void NSControl_inst_performClick_(void *id, void* sender) { +void NSControl_inst_performClick(void *id, void* sender) { [(NSControl*)id performClick: sender]; } -void NSControl_inst_mouseDown_(void *id, void* event) { +void NSControl_inst_mouseDown(void *id, void* event) { [(NSControl*)id mouseDown: event]; } @@ -1239,7 +1239,7 @@ BOOL NSControl_inst_isEnabled(void *id) { isEnabled]; } -void NSControl_inst_setEnabled_(void *id, BOOL value) { +void NSControl_inst_setEnabled(void *id, BOOL value) { [(NSControl*)id setEnabled: value]; } @@ -1249,7 +1249,7 @@ int NSControl_inst_intValue(void *id) { intValue]; } -void NSControl_inst_setIntValue_(void *id, int value) { +void NSControl_inst_setIntValue(void *id, int value) { [(NSControl*)id setIntValue: value]; } @@ -1259,7 +1259,7 @@ long NSControl_inst_integerValue(void *id) { integerValue]; } -void NSControl_inst_setIntegerValue_(void *id, long value) { +void NSControl_inst_setIntegerValue(void *id, long value) { [(NSControl*)id setIntegerValue: value]; } @@ -1269,7 +1269,7 @@ void* NSControl_inst_objectValue(void *id) { objectValue]; } -void NSControl_inst_setObjectValue_(void *id, void* value) { +void NSControl_inst_setObjectValue(void *id, void* value) { [(NSControl*)id setObjectValue: value]; } @@ -1279,7 +1279,7 @@ void* NSControl_inst_stringValue(void *id) { stringValue]; } -void NSControl_inst_setStringValue_(void *id, void* value) { +void NSControl_inst_setStringValue(void *id, void* value) { [(NSControl*)id setStringValue: value]; } @@ -1289,7 +1289,7 @@ void* NSControl_inst_attributedStringValue(void *id) { attributedStringValue]; } -void NSControl_inst_setAttributedStringValue_(void *id, void* value) { +void NSControl_inst_setAttributedStringValue(void *id, void* value) { [(NSControl*)id setAttributedStringValue: value]; } @@ -1299,7 +1299,7 @@ void* NSControl_inst_font(void *id) { font]; } -void NSControl_inst_setFont_(void *id, void* value) { +void NSControl_inst_setFont(void *id, void* value) { [(NSControl*)id setFont: value]; } @@ -1309,7 +1309,7 @@ BOOL NSControl_inst_usesSingleLineMode(void *id) { usesSingleLineMode]; } -void NSControl_inst_setUsesSingleLineMode_(void *id, BOOL value) { +void NSControl_inst_setUsesSingleLineMode(void *id, BOOL value) { [(NSControl*)id setUsesSingleLineMode: value]; } @@ -1319,7 +1319,7 @@ BOOL NSControl_inst_allowsExpansionToolTips(void *id) { allowsExpansionToolTips]; } -void NSControl_inst_setAllowsExpansionToolTips_(void *id, BOOL value) { +void NSControl_inst_setAllowsExpansionToolTips(void *id, BOOL value) { [(NSControl*)id setAllowsExpansionToolTips: value]; } @@ -1329,7 +1329,7 @@ BOOL NSControl_inst_isHighlighted(void *id) { isHighlighted]; } -void NSControl_inst_setHighlighted_(void *id, BOOL value) { +void NSControl_inst_setHighlighted(void *id, BOOL value) { [(NSControl*)id setHighlighted: value]; } @@ -1339,7 +1339,7 @@ void* NSControl_inst_action(void *id) { action]; } -void NSControl_inst_setAction_(void *id, void* value) { +void NSControl_inst_setAction(void *id, void* value) { [(NSControl*)id setAction: value]; } @@ -1349,7 +1349,7 @@ void* NSControl_inst_target(void *id) { target]; } -void NSControl_inst_setTarget_(void *id, void* value) { +void NSControl_inst_setTarget(void *id, void* value) { [(NSControl*)id setTarget: value]; } @@ -1359,7 +1359,7 @@ BOOL NSControl_inst_isContinuous(void *id) { isContinuous]; } -void NSControl_inst_setContinuous_(void *id, BOOL value) { +void NSControl_inst_setContinuous(void *id, BOOL value) { [(NSControl*)id setContinuous: value]; } @@ -1369,7 +1369,7 @@ long NSControl_inst_tag(void *id) { tag]; } -void NSControl_inst_setTag_(void *id, long value) { +void NSControl_inst_setTag(void *id, long value) { [(NSControl*)id setTag: value]; } @@ -1379,7 +1379,7 @@ BOOL NSControl_inst_refusesFirstResponder(void *id) { refusesFirstResponder]; } -void NSControl_inst_setRefusesFirstResponder_(void *id, BOOL value) { +void NSControl_inst_setRefusesFirstResponder(void *id, BOOL value) { [(NSControl*)id setRefusesFirstResponder: value]; } @@ -1389,17 +1389,17 @@ BOOL NSControl_inst_ignoresMultiClick(void *id) { ignoresMultiClick]; } -void NSControl_inst_setIgnoresMultiClick_(void *id, BOOL value) { +void NSControl_inst_setIgnoresMultiClick(void *id, BOOL value) { [(NSControl*)id setIgnoresMultiClick: value]; } -void NSButton_inst_compressWithPrioritizedCompressionOptions_(void *id, void* prioritizedOptions) { +void NSButton_inst_compressWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { [(NSButton*)id compressWithPrioritizedCompressionOptions: prioritizedOptions]; } -NSSize NSButton_inst_minimumSizeWithPrioritizedCompressionOptions_(void *id, void* prioritizedOptions) { +NSSize NSButton_inst_minimumSizeWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { return [(NSButton*)id minimumSizeWithPrioritizedCompressionOptions: prioritizedOptions]; } @@ -1409,12 +1409,12 @@ void NSButton_inst_setNextState(void *id) { setNextState]; } -void NSButton_inst_highlight_(void *id, BOOL flag) { +void NSButton_inst_highlight(void *id, BOOL flag) { [(NSButton*)id highlight: flag]; } -BOOL NSButton_inst_performKeyEquivalent_(void *id, void* key) { +BOOL NSButton_inst_performKeyEquivalent(void *id, void* key) { return [(NSButton*)id performKeyEquivalent: key]; } @@ -1429,7 +1429,7 @@ void* NSButton_inst_contentTintColor(void *id) { contentTintColor]; } -void NSButton_inst_setContentTintColor_(void *id, void* value) { +void NSButton_inst_setContentTintColor(void *id, void* value) { [(NSButton*)id setContentTintColor: value]; } @@ -1439,7 +1439,7 @@ BOOL NSButton_inst_hasDestructiveAction(void *id) { hasDestructiveAction]; } -void NSButton_inst_setHasDestructiveAction_(void *id, BOOL value) { +void NSButton_inst_setHasDestructiveAction(void *id, BOOL value) { [(NSButton*)id setHasDestructiveAction: value]; } @@ -1449,7 +1449,7 @@ void* NSButton_inst_alternateTitle(void *id) { alternateTitle]; } -void NSButton_inst_setAlternateTitle_(void *id, void* value) { +void NSButton_inst_setAlternateTitle(void *id, void* value) { [(NSButton*)id setAlternateTitle: value]; } @@ -1459,7 +1459,7 @@ void* NSButton_inst_attributedTitle(void *id) { attributedTitle]; } -void NSButton_inst_setAttributedTitle_(void *id, void* value) { +void NSButton_inst_setAttributedTitle(void *id, void* value) { [(NSButton*)id setAttributedTitle: value]; } @@ -1469,7 +1469,7 @@ void* NSButton_inst_attributedAlternateTitle(void *id) { attributedAlternateTitle]; } -void NSButton_inst_setAttributedAlternateTitle_(void *id, void* value) { +void NSButton_inst_setAttributedAlternateTitle(void *id, void* value) { [(NSButton*)id setAttributedAlternateTitle: value]; } @@ -1479,7 +1479,7 @@ void* NSButton_inst_title(void *id) { title]; } -void NSButton_inst_setTitle_(void *id, void* value) { +void NSButton_inst_setTitle(void *id, void* value) { [(NSButton*)id setTitle: value]; } @@ -1489,7 +1489,7 @@ void* NSButton_inst_sound(void *id) { sound]; } -void NSButton_inst_setSound_(void *id, void* value) { +void NSButton_inst_setSound(void *id, void* value) { [(NSButton*)id setSound: value]; } @@ -1499,7 +1499,7 @@ BOOL NSButton_inst_isSpringLoaded(void *id) { isSpringLoaded]; } -void NSButton_inst_setSpringLoaded_(void *id, BOOL value) { +void NSButton_inst_setSpringLoaded(void *id, BOOL value) { [(NSButton*)id setSpringLoaded: value]; } @@ -1509,7 +1509,7 @@ long NSButton_inst_maxAcceleratorLevel(void *id) { maxAcceleratorLevel]; } -void NSButton_inst_setMaxAcceleratorLevel_(void *id, long value) { +void NSButton_inst_setMaxAcceleratorLevel(void *id, long value) { [(NSButton*)id setMaxAcceleratorLevel: value]; } @@ -1519,7 +1519,7 @@ void* NSButton_inst_image(void *id) { image]; } -void NSButton_inst_setImage_(void *id, void* value) { +void NSButton_inst_setImage(void *id, void* value) { [(NSButton*)id setImage: value]; } @@ -1529,7 +1529,7 @@ void* NSButton_inst_alternateImage(void *id) { alternateImage]; } -void NSButton_inst_setAlternateImage_(void *id, void* value) { +void NSButton_inst_setAlternateImage(void *id, void* value) { [(NSButton*)id setAlternateImage: value]; } @@ -1539,7 +1539,7 @@ BOOL NSButton_inst_isBordered(void *id) { isBordered]; } -void NSButton_inst_setBordered_(void *id, BOOL value) { +void NSButton_inst_setBordered(void *id, BOOL value) { [(NSButton*)id setBordered: value]; } @@ -1549,7 +1549,7 @@ BOOL NSButton_inst_isTransparent(void *id) { isTransparent]; } -void NSButton_inst_setTransparent_(void *id, BOOL value) { +void NSButton_inst_setTransparent(void *id, BOOL value) { [(NSButton*)id setTransparent: value]; } @@ -1559,7 +1559,7 @@ void* NSButton_inst_bezelColor(void *id) { bezelColor]; } -void NSButton_inst_setBezelColor_(void *id, void* value) { +void NSButton_inst_setBezelColor(void *id, void* value) { [(NSButton*)id setBezelColor: value]; } @@ -1569,7 +1569,7 @@ BOOL NSButton_inst_showsBorderOnlyWhileMouseInside(void *id) { showsBorderOnlyWhileMouseInside]; } -void NSButton_inst_setShowsBorderOnlyWhileMouseInside_(void *id, BOOL value) { +void NSButton_inst_setShowsBorderOnlyWhileMouseInside(void *id, BOOL value) { [(NSButton*)id setShowsBorderOnlyWhileMouseInside: value]; } @@ -1579,7 +1579,7 @@ BOOL NSButton_inst_imageHugsTitle(void *id) { imageHugsTitle]; } -void NSButton_inst_setImageHugsTitle_(void *id, BOOL value) { +void NSButton_inst_setImageHugsTitle(void *id, BOOL value) { [(NSButton*)id setImageHugsTitle: value]; } @@ -1589,7 +1589,7 @@ BOOL NSButton_inst_allowsMixedState(void *id) { allowsMixedState]; } -void NSButton_inst_setAllowsMixedState_(void *id, BOOL value) { +void NSButton_inst_setAllowsMixedState(void *id, BOOL value) { [(NSButton*)id setAllowsMixedState: value]; } @@ -1599,7 +1599,7 @@ long NSButton_inst_state(void *id) { state]; } -void NSButton_inst_setState_(void *id, long value) { +void NSButton_inst_setState(void *id, long value) { [(NSButton*)id setState: value]; } @@ -1609,7 +1609,7 @@ void* NSButton_inst_keyEquivalent(void *id) { keyEquivalent]; } -void NSButton_inst_setKeyEquivalent_(void *id, void* value) { +void NSButton_inst_setKeyEquivalent(void *id, void* value) { [(NSButton*)id setKeyEquivalent: value]; } @@ -1814,7 +1814,7 @@ void NSFont_inst_set(void *id) { set]; } -void* NSFont_inst_fontWithSize_(void *id, double fontSize) { +void* NSFont_inst_fontWithSize(void *id, double fontSize) { return [(NSFont*)id fontWithSize: fontSize]; } @@ -1869,42 +1869,42 @@ void* NSFont_inst_verticalFont(void *id) { verticalFont]; } -void* NSImage_inst_initByReferencingFile_(void *id, void* fileName) { +void* NSImage_inst_initByReferencingFile(void *id, void* fileName) { return [(NSImage*)id initByReferencingFile: fileName]; } -void* NSImage_inst_initByReferencingURL_(void *id, void* url) { +void* NSImage_inst_initByReferencingURL(void *id, void* url) { return [(NSImage*)id initByReferencingURL: url]; } -void* NSImage_inst_initWithContentsOfFile_(void *id, void* fileName) { +void* NSImage_inst_initWithContentsOfFile(void *id, void* fileName) { return [(NSImage*)id initWithContentsOfFile: fileName]; } -void* NSImage_inst_initWithContentsOfURL_(void *id, void* url) { +void* NSImage_inst_initWithContentsOfURL(void *id, void* url) { return [(NSImage*)id initWithContentsOfURL: url]; } -void* NSImage_inst_initWithData_(void *id, void* data) { +void* NSImage_inst_initWithData(void *id, void* data) { return [(NSImage*)id initWithData: data]; } -void* NSImage_inst_initWithDataIgnoringOrientation_(void *id, void* data) { +void* NSImage_inst_initWithDataIgnoringOrientation(void *id, void* data) { return [(NSImage*)id initWithDataIgnoringOrientation: data]; } -void* NSImage_inst_initWithPasteboard_(void *id, void* pasteboard) { +void* NSImage_inst_initWithPasteboard(void *id, void* pasteboard) { return [(NSImage*)id initWithPasteboard: pasteboard]; } -void* NSImage_inst_initWithSize_(void *id, NSSize size) { +void* NSImage_inst_initWithSize(void *id, NSSize size) { return [(NSImage*)id initWithSize: size]; } @@ -1914,12 +1914,12 @@ BOOL NSImage_inst_isTemplate(void *id) { isTemplate]; } -void NSImage_inst_addRepresentations_(void *id, void* imageReps) { +void NSImage_inst_addRepresentations(void *id, void* imageReps) { [(NSImage*)id addRepresentations: imageReps]; } -void NSImage_inst_drawInRect_(void *id, NSRect rect) { +void NSImage_inst_drawInRect(void *id, NSRect rect) { [(NSImage*)id drawInRect: rect]; } @@ -1929,7 +1929,7 @@ void NSImage_inst_lockFocus(void *id) { lockFocus]; } -void NSImage_inst_lockFocusFlipped_(void *id, BOOL flipped) { +void NSImage_inst_lockFocusFlipped(void *id, BOOL flipped) { [(NSImage*)id lockFocusFlipped: flipped]; } @@ -1949,12 +1949,12 @@ void NSImage_inst_cancelIncrementalLoad(void *id) { cancelIncrementalLoad]; } -void* NSImage_inst_layerContentsForContentsScale_(void *id, double layerContentsScale) { +void* NSImage_inst_layerContentsForContentsScale(void *id, double layerContentsScale) { return [(NSImage*)id layerContentsForContentsScale: layerContentsScale]; } -double NSImage_inst_recommendedLayerContentsScale_(void *id, double preferredContentsScale) { +double NSImage_inst_recommendedLayerContentsScale(void *id, double preferredContentsScale) { return [(NSImage*)id recommendedLayerContentsScale: preferredContentsScale]; } @@ -1969,7 +1969,7 @@ void* NSImage_inst_delegate(void *id) { delegate]; } -void NSImage_inst_setDelegate_(void *id, void* value) { +void NSImage_inst_setDelegate(void *id, void* value) { [(NSImage*)id setDelegate: value]; } @@ -1979,12 +1979,12 @@ NSSize NSImage_inst_size(void *id) { size]; } -void NSImage_inst_setSize_(void *id, NSSize value) { +void NSImage_inst_setSize(void *id, NSSize value) { [(NSImage*)id setSize: value]; } -void NSImage_inst_setTemplate_(void *id, BOOL value) { +void NSImage_inst_setTemplate(void *id, BOOL value) { [(NSImage*)id setTemplate: value]; } @@ -1999,7 +1999,7 @@ BOOL NSImage_inst_prefersColorMatch(void *id) { prefersColorMatch]; } -void NSImage_inst_setPrefersColorMatch_(void *id, BOOL value) { +void NSImage_inst_setPrefersColorMatch(void *id, BOOL value) { [(NSImage*)id setPrefersColorMatch: value]; } @@ -2009,7 +2009,7 @@ BOOL NSImage_inst_usesEPSOnResolutionMismatch(void *id) { usesEPSOnResolutionMismatch]; } -void NSImage_inst_setUsesEPSOnResolutionMismatch_(void *id, BOOL value) { +void NSImage_inst_setUsesEPSOnResolutionMismatch(void *id, BOOL value) { [(NSImage*)id setUsesEPSOnResolutionMismatch: value]; } @@ -2019,7 +2019,7 @@ BOOL NSImage_inst_matchesOnMultipleResolution(void *id) { matchesOnMultipleResolution]; } -void NSImage_inst_setMatchesOnMultipleResolution_(void *id, BOOL value) { +void NSImage_inst_setMatchesOnMultipleResolution(void *id, BOOL value) { [(NSImage*)id setMatchesOnMultipleResolution: value]; } @@ -2034,7 +2034,7 @@ void* NSImage_inst_backgroundColor(void *id) { backgroundColor]; } -void NSImage_inst_setBackgroundColor_(void *id, void* value) { +void NSImage_inst_setBackgroundColor(void *id, void* value) { [(NSImage*)id setBackgroundColor: value]; } @@ -2044,7 +2044,7 @@ NSRect NSImage_inst_alignmentRect(void *id) { alignmentRect]; } -void NSImage_inst_setAlignmentRect_(void *id, NSRect value) { +void NSImage_inst_setAlignmentRect(void *id, NSRect value) { [(NSImage*)id setAlignmentRect: value]; } @@ -2059,7 +2059,7 @@ void* NSImage_inst_accessibilityDescription(void *id) { accessibilityDescription]; } -void NSImage_inst_setAccessibilityDescription_(void *id, void* value) { +void NSImage_inst_setAccessibilityDescription(void *id, void* value) { [(NSImage*)id setAccessibilityDescription: value]; } @@ -2069,7 +2069,7 @@ BOOL NSImage_inst_matchesOnlyOnBestFittingAxis(void *id) { matchesOnlyOnBestFittingAxis]; } -void NSImage_inst_setMatchesOnlyOnBestFittingAxis_(void *id, BOOL value) { +void NSImage_inst_setMatchesOnlyOnBestFittingAxis(void *id, BOOL value) { [(NSImage*)id setMatchesOnlyOnBestFittingAxis: value]; } @@ -2084,7 +2084,7 @@ void* NSImageView_inst_image(void *id) { image]; } -void NSImageView_inst_setImage_(void *id, void* value) { +void NSImageView_inst_setImage(void *id, void* value) { [(NSImageView*)id setImage: value]; } @@ -2094,7 +2094,7 @@ BOOL NSImageView_inst_animates(void *id) { animates]; } -void NSImageView_inst_setAnimates_(void *id, BOOL value) { +void NSImageView_inst_setAnimates(void *id, BOOL value) { [(NSImageView*)id setAnimates: value]; } @@ -2104,7 +2104,7 @@ BOOL NSImageView_inst_isEditable(void *id) { isEditable]; } -void NSImageView_inst_setEditable_(void *id, BOOL value) { +void NSImageView_inst_setEditable(void *id, BOOL value) { [(NSImageView*)id setEditable: value]; } @@ -2114,7 +2114,7 @@ BOOL NSImageView_inst_allowsCutCopyPaste(void *id) { allowsCutCopyPaste]; } -void NSImageView_inst_setAllowsCutCopyPaste_(void *id, BOOL value) { +void NSImageView_inst_setAllowsCutCopyPaste(void *id, BOOL value) { [(NSImageView*)id setAllowsCutCopyPaste: value]; } @@ -2124,18 +2124,18 @@ void* NSImageView_inst_contentTintColor(void *id) { contentTintColor]; } -void NSImageView_inst_setContentTintColor_(void *id, void* value) { +void NSImageView_inst_setContentTintColor(void *id, void* value) { [(NSImageView*)id setContentTintColor: value]; } -void* NSNib_inst_initWithNibData_bundle_(void *id, void* nibData, void* bundle) { +void* NSNib_inst_initWithNibData_bundle(void *id, void* nibData, void* bundle) { return [(NSNib*)id initWithNibData: nibData bundle: bundle]; } -BOOL NSNib_inst_instantiateWithOwner_topLevelObjects_(void *id, void* owner, void* topLevelObjects) { +BOOL NSNib_inst_instantiateWithOwner_topLevelObjects(void *id, void* owner, void* topLevelObjects) { return [(NSNib*)id instantiateWithOwner: owner topLevelObjects: topLevelObjects]; @@ -2156,41 +2156,41 @@ long NSPasteboard_inst_clearContents(void *id) { clearContents]; } -BOOL NSPasteboard_inst_writeObjects_(void *id, void* objects) { +BOOL NSPasteboard_inst_writeObjects(void *id, void* objects) { return [(NSPasteboard*)id writeObjects: objects]; } -void* NSPasteboard_inst_readObjectsForClasses_options_(void *id, void* classArray, void* options) { +void* NSPasteboard_inst_readObjectsForClasses_options(void *id, void* classArray, void* options) { return [(NSPasteboard*)id readObjectsForClasses: classArray options: options]; } -BOOL NSPasteboard_inst_canReadItemWithDataConformingToTypes_(void *id, void* types) { +BOOL NSPasteboard_inst_canReadItemWithDataConformingToTypes(void *id, void* types) { return [(NSPasteboard*)id canReadItemWithDataConformingToTypes: types]; } -BOOL NSPasteboard_inst_canReadObjectForClasses_options_(void *id, void* classArray, void* options) { +BOOL NSPasteboard_inst_canReadObjectForClasses_options(void *id, void* classArray, void* options) { return [(NSPasteboard*)id canReadObjectForClasses: classArray options: options]; } -long NSPasteboard_inst_declareTypes_owner_(void *id, void* newTypes, void* newOwner) { +long NSPasteboard_inst_declareTypes_owner(void *id, void* newTypes, void* newOwner) { return [(NSPasteboard*)id declareTypes: newTypes owner: newOwner]; } -long NSPasteboard_inst_addTypes_owner_(void *id, void* newTypes, void* newOwner) { +long NSPasteboard_inst_addTypes_owner(void *id, void* newTypes, void* newOwner) { return [(NSPasteboard*)id addTypes: newTypes owner: newOwner]; } -BOOL NSPasteboard_inst_writeFileContents_(void *id, void* filename) { +BOOL NSPasteboard_inst_writeFileContents(void *id, void* filename) { return [(NSPasteboard*)id writeFileContents: filename]; } @@ -2220,88 +2220,88 @@ void* NSLayoutManager_inst_init(void *id) { init]; } -void NSLayoutManager_inst_addTextContainer_(void *id, void* container) { +void NSLayoutManager_inst_addTextContainer(void *id, void* container) { [(NSLayoutManager*)id addTextContainer: container]; } -void NSLayoutManager_inst_insertTextContainer_atIndex_(void *id, void* container, unsigned long index) { +void NSLayoutManager_inst_insertTextContainer_atIndex(void *id, void* container, unsigned long index) { [(NSLayoutManager*)id insertTextContainer: container atIndex: index]; } -void NSLayoutManager_inst_removeTextContainerAtIndex_(void *id, unsigned long index) { +void NSLayoutManager_inst_removeTextContainerAtIndex(void *id, unsigned long index) { [(NSLayoutManager*)id removeTextContainerAtIndex: index]; } -void NSLayoutManager_inst_textContainerChangedGeometry_(void *id, void* container) { +void NSLayoutManager_inst_textContainerChangedGeometry(void *id, void* container) { [(NSLayoutManager*)id textContainerChangedGeometry: container]; } -void NSLayoutManager_inst_textContainerChangedTextView_(void *id, void* container) { +void NSLayoutManager_inst_textContainerChangedTextView(void *id, void* container) { [(NSLayoutManager*)id textContainerChangedTextView: container]; } -NSRect NSLayoutManager_inst_usedRectForTextContainer_(void *id, void* container) { +NSRect NSLayoutManager_inst_usedRectForTextContainer(void *id, void* container) { return [(NSLayoutManager*)id usedRectForTextContainer: container]; } -void NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer_(void *id, NSRect bounds, void* container) { +void NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer(void *id, NSRect bounds, void* container) { [(NSLayoutManager*)id ensureLayoutForBoundingRect: bounds inTextContainer: container]; } -void NSLayoutManager_inst_ensureLayoutForTextContainer_(void *id, void* container) { +void NSLayoutManager_inst_ensureLayoutForTextContainer(void *id, void* container) { [(NSLayoutManager*)id ensureLayoutForTextContainer: container]; } -unsigned long NSLayoutManager_inst_characterIndexForGlyphAtIndex_(void *id, unsigned long glyphIndex) { +unsigned long NSLayoutManager_inst_characterIndexForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id characterIndexForGlyphAtIndex: glyphIndex]; } -unsigned long NSLayoutManager_inst_glyphIndexForCharacterAtIndex_(void *id, unsigned long charIndex) { +unsigned long NSLayoutManager_inst_glyphIndexForCharacterAtIndex(void *id, unsigned long charIndex) { return [(NSLayoutManager*)id glyphIndexForCharacterAtIndex: charIndex]; } -BOOL NSLayoutManager_inst_isValidGlyphIndex_(void *id, unsigned long glyphIndex) { +BOOL NSLayoutManager_inst_isValidGlyphIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id isValidGlyphIndex: glyphIndex]; } -void NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex_(void *id, BOOL flag, unsigned long glyphIndex) { +void NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { [(NSLayoutManager*)id setDrawsOutsideLineFragment: flag forGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer_(void *id, NSRect fragmentRect, NSRect usedRect, void* container) { +void NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer(void *id, NSRect fragmentRect, NSRect usedRect, void* container) { [(NSLayoutManager*)id setExtraLineFragmentRect: fragmentRect usedRect: usedRect textContainer: container]; } -void NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex_(void *id, BOOL flag, unsigned long glyphIndex) { +void NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { [(NSLayoutManager*)id setNotShownAttribute: flag forGlyphAtIndex: glyphIndex]; } -NSSize NSLayoutManager_inst_attachmentSizeForGlyphAtIndex_(void *id, unsigned long glyphIndex) { +NSSize NSLayoutManager_inst_attachmentSizeForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id attachmentSizeForGlyphAtIndex: glyphIndex]; } -BOOL NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex_(void *id, unsigned long glyphIndex) { +BOOL NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id drawsOutsideLineFragmentForGlyphAtIndex: glyphIndex]; } @@ -2316,22 +2316,22 @@ unsigned long NSLayoutManager_inst_firstUnlaidGlyphIndex(void *id) { firstUnlaidGlyphIndex]; } -BOOL NSLayoutManager_inst_notShownAttributeForGlyphAtIndex_(void *id, unsigned long glyphIndex) { +BOOL NSLayoutManager_inst_notShownAttributeForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id notShownAttributeForGlyphAtIndex: glyphIndex]; } -BOOL NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow_(void *id, void* window) { +BOOL NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow(void *id, void* window) { return [(NSLayoutManager*)id layoutManagerOwnsFirstResponderInWindow: window]; } -double NSLayoutManager_inst_defaultLineHeightForFont_(void *id, void* theFont) { +double NSLayoutManager_inst_defaultLineHeightForFont(void *id, void* theFont) { return [(NSLayoutManager*)id defaultLineHeightForFont: theFont]; } -double NSLayoutManager_inst_defaultBaselineOffsetForFont_(void *id, void* theFont) { +double NSLayoutManager_inst_defaultBaselineOffsetForFont(void *id, void* theFont) { return [(NSLayoutManager*)id defaultBaselineOffsetForFont: theFont]; } @@ -2341,7 +2341,7 @@ void* NSLayoutManager_inst_delegate(void *id) { delegate]; } -void NSLayoutManager_inst_setDelegate_(void *id, void* value) { +void NSLayoutManager_inst_setDelegate(void *id, void* value) { [(NSLayoutManager*)id setDelegate: value]; } @@ -2351,7 +2351,7 @@ BOOL NSLayoutManager_inst_allowsNonContiguousLayout(void *id) { allowsNonContiguousLayout]; } -void NSLayoutManager_inst_setAllowsNonContiguousLayout_(void *id, BOOL value) { +void NSLayoutManager_inst_setAllowsNonContiguousLayout(void *id, BOOL value) { [(NSLayoutManager*)id setAllowsNonContiguousLayout: value]; } @@ -2366,7 +2366,7 @@ BOOL NSLayoutManager_inst_showsInvisibleCharacters(void *id) { showsInvisibleCharacters]; } -void NSLayoutManager_inst_setShowsInvisibleCharacters_(void *id, BOOL value) { +void NSLayoutManager_inst_setShowsInvisibleCharacters(void *id, BOOL value) { [(NSLayoutManager*)id setShowsInvisibleCharacters: value]; } @@ -2376,7 +2376,7 @@ BOOL NSLayoutManager_inst_showsControlCharacters(void *id) { showsControlCharacters]; } -void NSLayoutManager_inst_setShowsControlCharacters_(void *id, BOOL value) { +void NSLayoutManager_inst_setShowsControlCharacters(void *id, BOOL value) { [(NSLayoutManager*)id setShowsControlCharacters: value]; } @@ -2386,7 +2386,7 @@ BOOL NSLayoutManager_inst_usesFontLeading(void *id) { usesFontLeading]; } -void NSLayoutManager_inst_setUsesFontLeading_(void *id, BOOL value) { +void NSLayoutManager_inst_setUsesFontLeading(void *id, BOOL value) { [(NSLayoutManager*)id setUsesFontLeading: value]; } @@ -2396,7 +2396,7 @@ BOOL NSLayoutManager_inst_backgroundLayoutEnabled(void *id) { backgroundLayoutEnabled]; } -void NSLayoutManager_inst_setBackgroundLayoutEnabled_(void *id, BOOL value) { +void NSLayoutManager_inst_setBackgroundLayoutEnabled(void *id, BOOL value) { [(NSLayoutManager*)id setBackgroundLayoutEnabled: value]; } @@ -2406,7 +2406,7 @@ BOOL NSLayoutManager_inst_limitsLayoutForSuspiciousContents(void *id) { limitsLayoutForSuspiciousContents]; } -void NSLayoutManager_inst_setLimitsLayoutForSuspiciousContents_(void *id, BOOL value) { +void NSLayoutManager_inst_setLimitsLayoutForSuspiciousContents(void *id, BOOL value) { [(NSLayoutManager*)id setLimitsLayoutForSuspiciousContents: value]; } @@ -2416,7 +2416,7 @@ BOOL NSLayoutManager_inst_usesDefaultHyphenation(void *id) { usesDefaultHyphenation]; } -void NSLayoutManager_inst_setUsesDefaultHyphenation_(void *id, BOOL value) { +void NSLayoutManager_inst_setUsesDefaultHyphenation(void *id, BOOL value) { [(NSLayoutManager*)id setUsesDefaultHyphenation: value]; } @@ -2456,18 +2456,18 @@ void* NSLayoutManager_inst_textViewForBeginningOfSelection(void *id) { textViewForBeginningOfSelection]; } -void* NSMenu_inst_initWithTitle_(void *id, void* title) { +void* NSMenu_inst_initWithTitle(void *id, void* title) { return [(NSMenu*)id initWithTitle: title]; } -void NSMenu_inst_insertItem_atIndex_(void *id, void* newItem, long index) { +void NSMenu_inst_insertItem_atIndex(void *id, void* newItem, long index) { [(NSMenu*)id insertItem: newItem atIndex: index]; } -void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex_(void *id, void* string, void* selector, void* charCode, long index) { +void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex(void *id, void* string, void* selector, void* charCode, long index) { return [(NSMenu*)id insertItemWithTitle: string action: selector @@ -2475,29 +2475,29 @@ void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex_(void *id, vo atIndex: index]; } -void NSMenu_inst_addItem_(void *id, void* newItem) { +void NSMenu_inst_addItem(void *id, void* newItem) { [(NSMenu*)id addItem: newItem]; } -void* NSMenu_inst_addItemWithTitle_action_keyEquivalent_(void *id, void* string, void* selector, void* charCode) { +void* NSMenu_inst_addItemWithTitle_action_keyEquivalent(void *id, void* string, void* selector, void* charCode) { return [(NSMenu*)id addItemWithTitle: string action: selector keyEquivalent: charCode]; } -void NSMenu_inst_removeItem_(void *id, void* item) { +void NSMenu_inst_removeItem(void *id, void* item) { [(NSMenu*)id removeItem: item]; } -void NSMenu_inst_removeItemAtIndex_(void *id, long index) { +void NSMenu_inst_removeItemAtIndex(void *id, long index) { [(NSMenu*)id removeItemAtIndex: index]; } -void NSMenu_inst_itemChanged_(void *id, void* item) { +void NSMenu_inst_itemChanged(void *id, void* item) { [(NSMenu*)id itemChanged: item]; } @@ -2507,59 +2507,59 @@ void NSMenu_inst_removeAllItems(void *id) { removeAllItems]; } -void* NSMenu_inst_itemWithTag_(void *id, long tag) { +void* NSMenu_inst_itemWithTag(void *id, long tag) { return [(NSMenu*)id itemWithTag: tag]; } -void* NSMenu_inst_itemWithTitle_(void *id, void* title) { +void* NSMenu_inst_itemWithTitle(void *id, void* title) { return [(NSMenu*)id itemWithTitle: title]; } -void* NSMenu_inst_itemAtIndex_(void *id, long index) { +void* NSMenu_inst_itemAtIndex(void *id, long index) { return [(NSMenu*)id itemAtIndex: index]; } -long NSMenu_inst_indexOfItem_(void *id, void* item) { +long NSMenu_inst_indexOfItem(void *id, void* item) { return [(NSMenu*)id indexOfItem: item]; } -long NSMenu_inst_indexOfItemWithTitle_(void *id, void* title) { +long NSMenu_inst_indexOfItemWithTitle(void *id, void* title) { return [(NSMenu*)id indexOfItemWithTitle: title]; } -long NSMenu_inst_indexOfItemWithTag_(void *id, long tag) { +long NSMenu_inst_indexOfItemWithTag(void *id, long tag) { return [(NSMenu*)id indexOfItemWithTag: tag]; } -long NSMenu_inst_indexOfItemWithTarget_andAction_(void *id, void* target, void* actionSelector) { +long NSMenu_inst_indexOfItemWithTarget_andAction(void *id, void* target, void* actionSelector) { return [(NSMenu*)id indexOfItemWithTarget: target andAction: actionSelector]; } -long NSMenu_inst_indexOfItemWithRepresentedObject_(void *id, void* object) { +long NSMenu_inst_indexOfItemWithRepresentedObject(void *id, void* object) { return [(NSMenu*)id indexOfItemWithRepresentedObject: object]; } -long NSMenu_inst_indexOfItemWithSubmenu_(void *id, void* submenu) { +long NSMenu_inst_indexOfItemWithSubmenu(void *id, void* submenu) { return [(NSMenu*)id indexOfItemWithSubmenu: submenu]; } -void NSMenu_inst_setSubmenu_forItem_(void *id, void* menu, void* item) { +void NSMenu_inst_setSubmenu_forItem(void *id, void* menu, void* item) { [(NSMenu*)id setSubmenu: menu forItem: item]; } -void NSMenu_inst_submenuAction_(void *id, void* sender) { +void NSMenu_inst_submenuAction(void *id, void* sender) { [(NSMenu*)id submenuAction: sender]; } @@ -2569,17 +2569,17 @@ void NSMenu_inst_update(void *id) { update]; } -BOOL NSMenu_inst_performKeyEquivalent_(void *id, void* event) { +BOOL NSMenu_inst_performKeyEquivalent(void *id, void* event) { return [(NSMenu*)id performKeyEquivalent: event]; } -void NSMenu_inst_performActionForItemAtIndex_(void *id, long index) { +void NSMenu_inst_performActionForItemAtIndex(void *id, long index) { [(NSMenu*)id performActionForItemAtIndex: index]; } -BOOL NSMenu_inst_popUpMenuPositioningItem_atLocation_inView_(void *id, void* item, NSPoint location, void* view) { +BOOL NSMenu_inst_popUpMenuPositioningItem_atLocation_inView(void *id, void* item, NSPoint location, void* view) { return [(NSMenu*)id popUpMenuPositioningItem: item atLocation: location @@ -2616,7 +2616,7 @@ void* NSMenu_inst_itemArray(void *id) { itemArray]; } -void NSMenu_inst_setItemArray_(void *id, void* value) { +void NSMenu_inst_setItemArray(void *id, void* value) { [(NSMenu*)id setItemArray: value]; } @@ -2626,7 +2626,7 @@ void* NSMenu_inst_supermenu(void *id) { supermenu]; } -void NSMenu_inst_setSupermenu_(void *id, void* value) { +void NSMenu_inst_setSupermenu(void *id, void* value) { [(NSMenu*)id setSupermenu: value]; } @@ -2636,7 +2636,7 @@ BOOL NSMenu_inst_autoenablesItems(void *id) { autoenablesItems]; } -void NSMenu_inst_setAutoenablesItems_(void *id, BOOL value) { +void NSMenu_inst_setAutoenablesItems(void *id, BOOL value) { [(NSMenu*)id setAutoenablesItems: value]; } @@ -2646,7 +2646,7 @@ void* NSMenu_inst_font(void *id) { font]; } -void NSMenu_inst_setFont_(void *id, void* value) { +void NSMenu_inst_setFont(void *id, void* value) { [(NSMenu*)id setFont: value]; } @@ -2656,7 +2656,7 @@ void* NSMenu_inst_title(void *id) { title]; } -void NSMenu_inst_setTitle_(void *id, void* value) { +void NSMenu_inst_setTitle(void *id, void* value) { [(NSMenu*)id setTitle: value]; } @@ -2666,7 +2666,7 @@ double NSMenu_inst_minimumWidth(void *id) { minimumWidth]; } -void NSMenu_inst_setMinimumWidth_(void *id, double value) { +void NSMenu_inst_setMinimumWidth(void *id, double value) { [(NSMenu*)id setMinimumWidth: value]; } @@ -2681,7 +2681,7 @@ BOOL NSMenu_inst_allowsContextMenuPlugIns(void *id) { allowsContextMenuPlugIns]; } -void NSMenu_inst_setAllowsContextMenuPlugIns_(void *id, BOOL value) { +void NSMenu_inst_setAllowsContextMenuPlugIns(void *id, BOOL value) { [(NSMenu*)id setAllowsContextMenuPlugIns: value]; } @@ -2691,7 +2691,7 @@ BOOL NSMenu_inst_showsStateColumn(void *id) { showsStateColumn]; } -void NSMenu_inst_setShowsStateColumn_(void *id, BOOL value) { +void NSMenu_inst_setShowsStateColumn(void *id, BOOL value) { [(NSMenu*)id setShowsStateColumn: value]; } @@ -2706,12 +2706,12 @@ void* NSMenu_inst_delegate(void *id) { delegate]; } -void NSMenu_inst_setDelegate_(void *id, void* value) { +void NSMenu_inst_setDelegate(void *id, void* value) { [(NSMenu*)id setDelegate: value]; } -void NSPopover_inst_performClose_(void *id, void* sender) { +void NSPopover_inst_performClose(void *id, void* sender) { [(NSPopover*)id performClose: sender]; } @@ -2731,7 +2731,7 @@ long NSPopover_inst_behavior(void *id) { behavior]; } -void NSPopover_inst_setBehavior_(void *id, long value) { +void NSPopover_inst_setBehavior(void *id, long value) { [(NSPopover*)id setBehavior: value]; } @@ -2741,7 +2741,7 @@ NSRect NSPopover_inst_positioningRect(void *id) { positioningRect]; } -void NSPopover_inst_setPositioningRect_(void *id, NSRect value) { +void NSPopover_inst_setPositioningRect(void *id, NSRect value) { [(NSPopover*)id setPositioningRect: value]; } @@ -2751,7 +2751,7 @@ BOOL NSPopover_inst_animates(void *id) { animates]; } -void NSPopover_inst_setAnimates_(void *id, BOOL value) { +void NSPopover_inst_setAnimates(void *id, BOOL value) { [(NSPopover*)id setAnimates: value]; } @@ -2761,7 +2761,7 @@ NSSize NSPopover_inst_contentSize(void *id) { contentSize]; } -void NSPopover_inst_setContentSize_(void *id, NSSize value) { +void NSPopover_inst_setContentSize(void *id, NSSize value) { [(NSPopover*)id setContentSize: value]; } @@ -2776,7 +2776,7 @@ BOOL NSPopover_inst_isDetached(void *id) { isDetached]; } -void* NSMenuItem_inst_initWithTitle_action_keyEquivalent_(void *id, void* string, void* selector, void* charCode) { +void* NSMenuItem_inst_initWithTitle_action_keyEquivalent(void *id, void* string, void* selector, void* charCode) { return [(NSMenuItem*)id initWithTitle: string action: selector @@ -2793,7 +2793,7 @@ BOOL NSMenuItem_inst_isEnabled(void *id) { isEnabled]; } -void NSMenuItem_inst_setEnabled_(void *id, BOOL value) { +void NSMenuItem_inst_setEnabled(void *id, BOOL value) { [(NSMenuItem*)id setEnabled: value]; } @@ -2803,7 +2803,7 @@ BOOL NSMenuItem_inst_isHidden(void *id) { isHidden]; } -void NSMenuItem_inst_setHidden_(void *id, BOOL value) { +void NSMenuItem_inst_setHidden(void *id, BOOL value) { [(NSMenuItem*)id setHidden: value]; } @@ -2818,7 +2818,7 @@ void* NSMenuItem_inst_target(void *id) { target]; } -void NSMenuItem_inst_setTarget_(void *id, void* value) { +void NSMenuItem_inst_setTarget(void *id, void* value) { [(NSMenuItem*)id setTarget: value]; } @@ -2828,7 +2828,7 @@ void* NSMenuItem_inst_action(void *id) { action]; } -void NSMenuItem_inst_setAction_(void *id, void* value) { +void NSMenuItem_inst_setAction(void *id, void* value) { [(NSMenuItem*)id setAction: value]; } @@ -2838,7 +2838,7 @@ void* NSMenuItem_inst_title(void *id) { title]; } -void NSMenuItem_inst_setTitle_(void *id, void* value) { +void NSMenuItem_inst_setTitle(void *id, void* value) { [(NSMenuItem*)id setTitle: value]; } @@ -2848,7 +2848,7 @@ void* NSMenuItem_inst_attributedTitle(void *id) { attributedTitle]; } -void NSMenuItem_inst_setAttributedTitle_(void *id, void* value) { +void NSMenuItem_inst_setAttributedTitle(void *id, void* value) { [(NSMenuItem*)id setAttributedTitle: value]; } @@ -2858,7 +2858,7 @@ long NSMenuItem_inst_tag(void *id) { tag]; } -void NSMenuItem_inst_setTag_(void *id, long value) { +void NSMenuItem_inst_setTag(void *id, long value) { [(NSMenuItem*)id setTag: value]; } @@ -2868,7 +2868,7 @@ long NSMenuItem_inst_state(void *id) { state]; } -void NSMenuItem_inst_setState_(void *id, long value) { +void NSMenuItem_inst_setState(void *id, long value) { [(NSMenuItem*)id setState: value]; } @@ -2878,7 +2878,7 @@ void* NSMenuItem_inst_image(void *id) { image]; } -void NSMenuItem_inst_setImage_(void *id, void* value) { +void NSMenuItem_inst_setImage(void *id, void* value) { [(NSMenuItem*)id setImage: value]; } @@ -2888,7 +2888,7 @@ void* NSMenuItem_inst_onStateImage(void *id) { onStateImage]; } -void NSMenuItem_inst_setOnStateImage_(void *id, void* value) { +void NSMenuItem_inst_setOnStateImage(void *id, void* value) { [(NSMenuItem*)id setOnStateImage: value]; } @@ -2898,7 +2898,7 @@ void* NSMenuItem_inst_offStateImage(void *id) { offStateImage]; } -void NSMenuItem_inst_setOffStateImage_(void *id, void* value) { +void NSMenuItem_inst_setOffStateImage(void *id, void* value) { [(NSMenuItem*)id setOffStateImage: value]; } @@ -2908,7 +2908,7 @@ void* NSMenuItem_inst_mixedStateImage(void *id) { mixedStateImage]; } -void NSMenuItem_inst_setMixedStateImage_(void *id, void* value) { +void NSMenuItem_inst_setMixedStateImage(void *id, void* value) { [(NSMenuItem*)id setMixedStateImage: value]; } @@ -2918,7 +2918,7 @@ void* NSMenuItem_inst_submenu(void *id) { submenu]; } -void NSMenuItem_inst_setSubmenu_(void *id, void* value) { +void NSMenuItem_inst_setSubmenu(void *id, void* value) { [(NSMenuItem*)id setSubmenu: value]; } @@ -2943,7 +2943,7 @@ void* NSMenuItem_inst_menu(void *id) { menu]; } -void NSMenuItem_inst_setMenu_(void *id, void* value) { +void NSMenuItem_inst_setMenu(void *id, void* value) { [(NSMenuItem*)id setMenu: value]; } @@ -2953,7 +2953,7 @@ void* NSMenuItem_inst_keyEquivalent(void *id) { keyEquivalent]; } -void NSMenuItem_inst_setKeyEquivalent_(void *id, void* value) { +void NSMenuItem_inst_setKeyEquivalent(void *id, void* value) { [(NSMenuItem*)id setKeyEquivalent: value]; } @@ -2968,7 +2968,7 @@ BOOL NSMenuItem_inst_isAlternate(void *id) { isAlternate]; } -void NSMenuItem_inst_setAlternate_(void *id, BOOL value) { +void NSMenuItem_inst_setAlternate(void *id, BOOL value) { [(NSMenuItem*)id setAlternate: value]; } @@ -2978,7 +2978,7 @@ long NSMenuItem_inst_indentationLevel(void *id) { indentationLevel]; } -void NSMenuItem_inst_setIndentationLevel_(void *id, long value) { +void NSMenuItem_inst_setIndentationLevel(void *id, long value) { [(NSMenuItem*)id setIndentationLevel: value]; } @@ -2988,7 +2988,7 @@ void* NSMenuItem_inst_toolTip(void *id) { toolTip]; } -void NSMenuItem_inst_setToolTip_(void *id, void* value) { +void NSMenuItem_inst_setToolTip(void *id, void* value) { [(NSMenuItem*)id setToolTip: value]; } @@ -2998,7 +2998,7 @@ void* NSMenuItem_inst_representedObject(void *id) { representedObject]; } -void NSMenuItem_inst_setRepresentedObject_(void *id, void* value) { +void NSMenuItem_inst_setRepresentedObject(void *id, void* value) { [(NSMenuItem*)id setRepresentedObject: value]; } @@ -3008,7 +3008,7 @@ void* NSMenuItem_inst_view(void *id) { view]; } -void NSMenuItem_inst_setView_(void *id, void* value) { +void NSMenuItem_inst_setView(void *id, void* value) { [(NSMenuItem*)id setView: value]; } @@ -3023,7 +3023,7 @@ BOOL NSMenuItem_inst_allowsAutomaticKeyEquivalentLocalization(void *id) { allowsAutomaticKeyEquivalentLocalization]; } -void NSMenuItem_inst_setAllowsAutomaticKeyEquivalentLocalization_(void *id, BOOL value) { +void NSMenuItem_inst_setAllowsAutomaticKeyEquivalentLocalization(void *id, BOOL value) { [(NSMenuItem*)id setAllowsAutomaticKeyEquivalentLocalization: value]; } @@ -3033,7 +3033,7 @@ BOOL NSMenuItem_inst_allowsAutomaticKeyEquivalentMirroring(void *id) { allowsAutomaticKeyEquivalentMirroring]; } -void NSMenuItem_inst_setAllowsAutomaticKeyEquivalentMirroring_(void *id, BOOL value) { +void NSMenuItem_inst_setAllowsAutomaticKeyEquivalentMirroring(void *id, BOOL value) { [(NSMenuItem*)id setAllowsAutomaticKeyEquivalentMirroring: value]; } @@ -3043,7 +3043,7 @@ BOOL NSMenuItem_inst_allowsKeyEquivalentWhenHidden(void *id) { allowsKeyEquivalentWhenHidden]; } -void NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden_(void *id, BOOL value) { +void NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden(void *id, BOOL value) { [(NSMenuItem*)id setAllowsKeyEquivalentWhenHidden: value]; } @@ -3133,12 +3133,12 @@ BOOL NSRunningApplication_inst_isTerminated(void *id) { isTerminated]; } -NSRect NSScreen_inst_convertRectFromBacking_(void *id, NSRect rect) { +NSRect NSScreen_inst_convertRectFromBacking(void *id, NSRect rect) { return [(NSScreen*)id convertRectFromBacking: rect]; } -NSRect NSScreen_inst_convertRectToBacking_(void *id, NSRect rect) { +NSRect NSScreen_inst_convertRectToBacking(void *id, NSRect rect) { return [(NSScreen*)id convertRectToBacking: rect]; } @@ -3193,12 +3193,12 @@ long NSScreen_inst_maximumFramesPerSecond(void *id) { maximumFramesPerSecond]; } -void* NSStatusBar_inst_statusItemWithLength_(void *id, double length) { +void* NSStatusBar_inst_statusItemWithLength(void *id, double length) { return [(NSStatusBar*)id statusItemWithLength: length]; } -void NSStatusBar_inst_removeStatusItem_(void *id, void* item) { +void NSStatusBar_inst_removeStatusItem(void *id, void* item) { [(NSStatusBar*)id removeStatusItem: item]; } @@ -3228,7 +3228,7 @@ BOOL NSStatusBarButton_inst_appearsDisabled(void *id) { appearsDisabled]; } -void NSStatusBarButton_inst_setAppearsDisabled_(void *id, BOOL value) { +void NSStatusBarButton_inst_setAppearsDisabled(void *id, BOOL value) { [(NSStatusBarButton*)id setAppearsDisabled: value]; } @@ -3253,7 +3253,7 @@ void* NSStatusItem_inst_menu(void *id) { menu]; } -void NSStatusItem_inst_setMenu_(void *id, void* value) { +void NSStatusItem_inst_setMenu(void *id, void* value) { [(NSStatusItem*)id setMenu: value]; } @@ -3263,7 +3263,7 @@ BOOL NSStatusItem_inst_isVisible(void *id) { isVisible]; } -void NSStatusItem_inst_setVisible_(void *id, BOOL value) { +void NSStatusItem_inst_setVisible(void *id, BOOL value) { [(NSStatusItem*)id setVisible: value]; } @@ -3273,123 +3273,123 @@ double NSStatusItem_inst_length(void *id) { length]; } -void NSStatusItem_inst_setLength_(void *id, double value) { +void NSStatusItem_inst_setLength(void *id, double value) { [(NSStatusItem*)id setLength: value]; } -void* NSText_inst_initWithFrame_(void *id, NSRect frameRect) { +void* NSText_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSText*)id initWithFrame: frameRect]; } -void NSText_inst_toggleRuler_(void *id, void* sender) { +void NSText_inst_toggleRuler(void *id, void* sender) { [(NSText*)id toggleRuler: sender]; } -void NSText_inst_selectAll_(void *id, void* sender) { +void NSText_inst_selectAll(void *id, void* sender) { [(NSText*)id selectAll: sender]; } -void NSText_inst_copy_(void *id, void* sender) { +void NSText_inst_copy(void *id, void* sender) { [(NSText*)id copy: sender]; } -void NSText_inst_cut_(void *id, void* sender) { +void NSText_inst_cut(void *id, void* sender) { [(NSText*)id cut: sender]; } -void NSText_inst_paste_(void *id, void* sender) { +void NSText_inst_paste(void *id, void* sender) { [(NSText*)id paste: sender]; } -void NSText_inst_copyFont_(void *id, void* sender) { +void NSText_inst_copyFont(void *id, void* sender) { [(NSText*)id copyFont: sender]; } -void NSText_inst_pasteFont_(void *id, void* sender) { +void NSText_inst_pasteFont(void *id, void* sender) { [(NSText*)id pasteFont: sender]; } -void NSText_inst_copyRuler_(void *id, void* sender) { +void NSText_inst_copyRuler(void *id, void* sender) { [(NSText*)id copyRuler: sender]; } -void NSText_inst_pasteRuler_(void *id, void* sender) { +void NSText_inst_pasteRuler(void *id, void* sender) { [(NSText*)id pasteRuler: sender]; } -void NSText_inst_delete_(void *id, void* sender) { +void NSText_inst_delete(void *id, void* sender) { [(NSText*)id delete: sender]; } -void NSText_inst_changeFont_(void *id, void* sender) { +void NSText_inst_changeFont(void *id, void* sender) { [(NSText*)id changeFont: sender]; } -void NSText_inst_alignCenter_(void *id, void* sender) { +void NSText_inst_alignCenter(void *id, void* sender) { [(NSText*)id alignCenter: sender]; } -void NSText_inst_alignLeft_(void *id, void* sender) { +void NSText_inst_alignLeft(void *id, void* sender) { [(NSText*)id alignLeft: sender]; } -void NSText_inst_alignRight_(void *id, void* sender) { +void NSText_inst_alignRight(void *id, void* sender) { [(NSText*)id alignRight: sender]; } -void NSText_inst_superscript_(void *id, void* sender) { +void NSText_inst_superscript(void *id, void* sender) { [(NSText*)id superscript: sender]; } -void NSText_inst_subscript_(void *id, void* sender) { +void NSText_inst_subscript(void *id, void* sender) { [(NSText*)id subscript: sender]; } -void NSText_inst_unscript_(void *id, void* sender) { +void NSText_inst_unscript(void *id, void* sender) { [(NSText*)id unscript: sender]; } -void NSText_inst_underline_(void *id, void* sender) { +void NSText_inst_underline(void *id, void* sender) { [(NSText*)id underline: sender]; } -BOOL NSText_inst_readRTFDFromFile_(void *id, void* path) { +BOOL NSText_inst_readRTFDFromFile(void *id, void* path) { return [(NSText*)id readRTFDFromFile: path]; } -BOOL NSText_inst_writeRTFDToFile_atomically_(void *id, void* path, BOOL flag) { +BOOL NSText_inst_writeRTFDToFile_atomically(void *id, void* path, BOOL flag) { return [(NSText*)id writeRTFDToFile: path atomically: flag]; } -void NSText_inst_checkSpelling_(void *id, void* sender) { +void NSText_inst_checkSpelling(void *id, void* sender) { [(NSText*)id checkSpelling: sender]; } -void NSText_inst_showGuessPanel_(void *id, void* sender) { +void NSText_inst_showGuessPanel(void *id, void* sender) { [(NSText*)id showGuessPanel: sender]; } @@ -3409,7 +3409,7 @@ void* NSText_inst_string(void *id) { string]; } -void NSText_inst_setString_(void *id, void* value) { +void NSText_inst_setString(void *id, void* value) { [(NSText*)id setString: value]; } @@ -3419,7 +3419,7 @@ void* NSText_inst_backgroundColor(void *id) { backgroundColor]; } -void NSText_inst_setBackgroundColor_(void *id, void* value) { +void NSText_inst_setBackgroundColor(void *id, void* value) { [(NSText*)id setBackgroundColor: value]; } @@ -3429,7 +3429,7 @@ BOOL NSText_inst_drawsBackground(void *id) { drawsBackground]; } -void NSText_inst_setDrawsBackground_(void *id, BOOL value) { +void NSText_inst_setDrawsBackground(void *id, BOOL value) { [(NSText*)id setDrawsBackground: value]; } @@ -3439,7 +3439,7 @@ BOOL NSText_inst_isEditable(void *id) { isEditable]; } -void NSText_inst_setEditable_(void *id, BOOL value) { +void NSText_inst_setEditable(void *id, BOOL value) { [(NSText*)id setEditable: value]; } @@ -3449,7 +3449,7 @@ BOOL NSText_inst_isSelectable(void *id) { isSelectable]; } -void NSText_inst_setSelectable_(void *id, BOOL value) { +void NSText_inst_setSelectable(void *id, BOOL value) { [(NSText*)id setSelectable: value]; } @@ -3459,7 +3459,7 @@ BOOL NSText_inst_isFieldEditor(void *id) { isFieldEditor]; } -void NSText_inst_setFieldEditor_(void *id, BOOL value) { +void NSText_inst_setFieldEditor(void *id, BOOL value) { [(NSText*)id setFieldEditor: value]; } @@ -3469,7 +3469,7 @@ BOOL NSText_inst_isRichText(void *id) { isRichText]; } -void NSText_inst_setRichText_(void *id, BOOL value) { +void NSText_inst_setRichText(void *id, BOOL value) { [(NSText*)id setRichText: value]; } @@ -3479,7 +3479,7 @@ BOOL NSText_inst_importsGraphics(void *id) { importsGraphics]; } -void NSText_inst_setImportsGraphics_(void *id, BOOL value) { +void NSText_inst_setImportsGraphics(void *id, BOOL value) { [(NSText*)id setImportsGraphics: value]; } @@ -3489,7 +3489,7 @@ BOOL NSText_inst_usesFontPanel(void *id) { usesFontPanel]; } -void NSText_inst_setUsesFontPanel_(void *id, BOOL value) { +void NSText_inst_setUsesFontPanel(void *id, BOOL value) { [(NSText*)id setUsesFontPanel: value]; } @@ -3504,7 +3504,7 @@ void* NSText_inst_font(void *id) { font]; } -void NSText_inst_setFont_(void *id, void* value) { +void NSText_inst_setFont(void *id, void* value) { [(NSText*)id setFont: value]; } @@ -3514,7 +3514,7 @@ void* NSText_inst_textColor(void *id) { textColor]; } -void NSText_inst_setTextColor_(void *id, void* value) { +void NSText_inst_setTextColor(void *id, void* value) { [(NSText*)id setTextColor: value]; } @@ -3524,7 +3524,7 @@ NSSize NSText_inst_maxSize(void *id) { maxSize]; } -void NSText_inst_setMaxSize_(void *id, NSSize value) { +void NSText_inst_setMaxSize(void *id, NSSize value) { [(NSText*)id setMaxSize: value]; } @@ -3534,7 +3534,7 @@ NSSize NSText_inst_minSize(void *id) { minSize]; } -void NSText_inst_setMinSize_(void *id, NSSize value) { +void NSText_inst_setMinSize(void *id, NSSize value) { [(NSText*)id setMinSize: value]; } @@ -3544,7 +3544,7 @@ BOOL NSText_inst_isVerticallyResizable(void *id) { isVerticallyResizable]; } -void NSText_inst_setVerticallyResizable_(void *id, BOOL value) { +void NSText_inst_setVerticallyResizable(void *id, BOOL value) { [(NSText*)id setVerticallyResizable: value]; } @@ -3554,7 +3554,7 @@ BOOL NSText_inst_isHorizontallyResizable(void *id) { isHorizontallyResizable]; } -void NSText_inst_setHorizontallyResizable_(void *id, BOOL value) { +void NSText_inst_setHorizontallyResizable(void *id, BOOL value) { [(NSText*)id setHorizontallyResizable: value]; } @@ -3564,22 +3564,22 @@ void* NSText_inst_delegate(void *id) { delegate]; } -void NSText_inst_setDelegate_(void *id, void* value) { +void NSText_inst_setDelegate(void *id, void* value) { [(NSText*)id setDelegate: value]; } -void NSTextField_inst_selectText_(void *id, void* sender) { +void NSTextField_inst_selectText(void *id, void* sender) { [(NSTextField*)id selectText: sender]; } -BOOL NSTextField_inst_textShouldBeginEditing_(void *id, void* textObject) { +BOOL NSTextField_inst_textShouldBeginEditing(void *id, void* textObject) { return [(NSTextField*)id textShouldBeginEditing: textObject]; } -BOOL NSTextField_inst_textShouldEndEditing_(void *id, void* textObject) { +BOOL NSTextField_inst_textShouldEndEditing(void *id, void* textObject) { return [(NSTextField*)id textShouldEndEditing: textObject]; } @@ -3594,7 +3594,7 @@ BOOL NSTextField_inst_isSelectable(void *id) { isSelectable]; } -void NSTextField_inst_setSelectable_(void *id, BOOL value) { +void NSTextField_inst_setSelectable(void *id, BOOL value) { [(NSTextField*)id setSelectable: value]; } @@ -3604,7 +3604,7 @@ BOOL NSTextField_inst_isEditable(void *id) { isEditable]; } -void NSTextField_inst_setEditable_(void *id, BOOL value) { +void NSTextField_inst_setEditable(void *id, BOOL value) { [(NSTextField*)id setEditable: value]; } @@ -3614,7 +3614,7 @@ BOOL NSTextField_inst_allowsEditingTextAttributes(void *id) { allowsEditingTextAttributes]; } -void NSTextField_inst_setAllowsEditingTextAttributes_(void *id, BOOL value) { +void NSTextField_inst_setAllowsEditingTextAttributes(void *id, BOOL value) { [(NSTextField*)id setAllowsEditingTextAttributes: value]; } @@ -3624,7 +3624,7 @@ BOOL NSTextField_inst_importsGraphics(void *id) { importsGraphics]; } -void NSTextField_inst_setImportsGraphics_(void *id, BOOL value) { +void NSTextField_inst_setImportsGraphics(void *id, BOOL value) { [(NSTextField*)id setImportsGraphics: value]; } @@ -3634,7 +3634,7 @@ void* NSTextField_inst_placeholderString(void *id) { placeholderString]; } -void NSTextField_inst_setPlaceholderString_(void *id, void* value) { +void NSTextField_inst_setPlaceholderString(void *id, void* value) { [(NSTextField*)id setPlaceholderString: value]; } @@ -3644,7 +3644,7 @@ void* NSTextField_inst_placeholderAttributedString(void *id) { placeholderAttributedString]; } -void NSTextField_inst_setPlaceholderAttributedString_(void *id, void* value) { +void NSTextField_inst_setPlaceholderAttributedString(void *id, void* value) { [(NSTextField*)id setPlaceholderAttributedString: value]; } @@ -3654,7 +3654,7 @@ BOOL NSTextField_inst_allowsDefaultTighteningForTruncation(void *id) { allowsDefaultTighteningForTruncation]; } -void NSTextField_inst_setAllowsDefaultTighteningForTruncation_(void *id, BOOL value) { +void NSTextField_inst_setAllowsDefaultTighteningForTruncation(void *id, BOOL value) { [(NSTextField*)id setAllowsDefaultTighteningForTruncation: value]; } @@ -3664,7 +3664,7 @@ long NSTextField_inst_maximumNumberOfLines(void *id) { maximumNumberOfLines]; } -void NSTextField_inst_setMaximumNumberOfLines_(void *id, long value) { +void NSTextField_inst_setMaximumNumberOfLines(void *id, long value) { [(NSTextField*)id setMaximumNumberOfLines: value]; } @@ -3674,7 +3674,7 @@ double NSTextField_inst_preferredMaxLayoutWidth(void *id) { preferredMaxLayoutWidth]; } -void NSTextField_inst_setPreferredMaxLayoutWidth_(void *id, double value) { +void NSTextField_inst_setPreferredMaxLayoutWidth(void *id, double value) { [(NSTextField*)id setPreferredMaxLayoutWidth: value]; } @@ -3684,7 +3684,7 @@ void* NSTextField_inst_textColor(void *id) { textColor]; } -void NSTextField_inst_setTextColor_(void *id, void* value) { +void NSTextField_inst_setTextColor(void *id, void* value) { [(NSTextField*)id setTextColor: value]; } @@ -3694,7 +3694,7 @@ void* NSTextField_inst_backgroundColor(void *id) { backgroundColor]; } -void NSTextField_inst_setBackgroundColor_(void *id, void* value) { +void NSTextField_inst_setBackgroundColor(void *id, void* value) { [(NSTextField*)id setBackgroundColor: value]; } @@ -3704,7 +3704,7 @@ BOOL NSTextField_inst_drawsBackground(void *id) { drawsBackground]; } -void NSTextField_inst_setDrawsBackground_(void *id, BOOL value) { +void NSTextField_inst_setDrawsBackground(void *id, BOOL value) { [(NSTextField*)id setDrawsBackground: value]; } @@ -3714,7 +3714,7 @@ BOOL NSTextField_inst_isBezeled(void *id) { isBezeled]; } -void NSTextField_inst_setBezeled_(void *id, BOOL value) { +void NSTextField_inst_setBezeled(void *id, BOOL value) { [(NSTextField*)id setBezeled: value]; } @@ -3724,7 +3724,7 @@ BOOL NSTextField_inst_isBordered(void *id) { isBordered]; } -void NSTextField_inst_setBordered_(void *id, BOOL value) { +void NSTextField_inst_setBordered(void *id, BOOL value) { [(NSTextField*)id setBordered: value]; } @@ -3739,7 +3739,7 @@ BOOL NSTextField_inst_allowsCharacterPickerTouchBarItem(void *id) { allowsCharacterPickerTouchBarItem]; } -void NSTextField_inst_setAllowsCharacterPickerTouchBarItem_(void *id, BOOL value) { +void NSTextField_inst_setAllowsCharacterPickerTouchBarItem(void *id, BOOL value) { [(NSTextField*)id setAllowsCharacterPickerTouchBarItem: value]; } @@ -3749,7 +3749,7 @@ BOOL NSTextField_inst_isAutomaticTextCompletionEnabled(void *id) { isAutomaticTextCompletionEnabled]; } -void NSTextField_inst_setAutomaticTextCompletionEnabled_(void *id, BOOL value) { +void NSTextField_inst_setAutomaticTextCompletionEnabled(void *id, BOOL value) { [(NSTextField*)id setAutomaticTextCompletionEnabled: value]; } @@ -3759,17 +3759,17 @@ void* NSTextField_inst_delegate(void *id) { delegate]; } -void NSTextField_inst_setDelegate_(void *id, void* value) { +void NSTextField_inst_setDelegate(void *id, void* value) { [(NSTextField*)id setDelegate: value]; } -void* NSTextContainer_inst_initWithSize_(void *id, NSSize size) { +void* NSTextContainer_inst_initWithSize(void *id, NSSize size) { return [(NSTextContainer*)id initWithSize: size]; } -void NSTextContainer_inst_replaceLayoutManager_(void *id, void* newLayoutManager) { +void NSTextContainer_inst_replaceLayoutManager(void *id, void* newLayoutManager) { [(NSTextContainer*)id replaceLayoutManager: newLayoutManager]; } @@ -3784,7 +3784,7 @@ void* NSTextContainer_inst_layoutManager(void *id) { layoutManager]; } -void NSTextContainer_inst_setLayoutManager_(void *id, void* value) { +void NSTextContainer_inst_setLayoutManager(void *id, void* value) { [(NSTextContainer*)id setLayoutManager: value]; } @@ -3794,7 +3794,7 @@ void* NSTextContainer_inst_textView(void *id) { textView]; } -void NSTextContainer_inst_setTextView_(void *id, void* value) { +void NSTextContainer_inst_setTextView(void *id, void* value) { [(NSTextContainer*)id setTextView: value]; } @@ -3804,7 +3804,7 @@ NSSize NSTextContainer_inst_size(void *id) { size]; } -void NSTextContainer_inst_setSize_(void *id, NSSize value) { +void NSTextContainer_inst_setSize(void *id, NSSize value) { [(NSTextContainer*)id setSize: value]; } @@ -3814,7 +3814,7 @@ void* NSTextContainer_inst_exclusionPaths(void *id) { exclusionPaths]; } -void NSTextContainer_inst_setExclusionPaths_(void *id, void* value) { +void NSTextContainer_inst_setExclusionPaths(void *id, void* value) { [(NSTextContainer*)id setExclusionPaths: value]; } @@ -3824,7 +3824,7 @@ BOOL NSTextContainer_inst_widthTracksTextView(void *id) { widthTracksTextView]; } -void NSTextContainer_inst_setWidthTracksTextView_(void *id, BOOL value) { +void NSTextContainer_inst_setWidthTracksTextView(void *id, BOOL value) { [(NSTextContainer*)id setWidthTracksTextView: value]; } @@ -3834,7 +3834,7 @@ BOOL NSTextContainer_inst_heightTracksTextView(void *id) { heightTracksTextView]; } -void NSTextContainer_inst_setHeightTracksTextView_(void *id, BOOL value) { +void NSTextContainer_inst_setHeightTracksTextView(void *id, BOOL value) { [(NSTextContainer*)id setHeightTracksTextView: value]; } @@ -3844,7 +3844,7 @@ unsigned long NSTextContainer_inst_maximumNumberOfLines(void *id) { maximumNumberOfLines]; } -void NSTextContainer_inst_setMaximumNumberOfLines_(void *id, unsigned long value) { +void NSTextContainer_inst_setMaximumNumberOfLines(void *id, unsigned long value) { [(NSTextContainer*)id setMaximumNumberOfLines: value]; } @@ -3854,7 +3854,7 @@ double NSTextContainer_inst_lineFragmentPadding(void *id) { lineFragmentPadding]; } -void NSTextContainer_inst_setLineFragmentPadding_(void *id, double value) { +void NSTextContainer_inst_setLineFragmentPadding(void *id, double value) { [(NSTextContainer*)id setLineFragmentPadding: value]; } @@ -3869,7 +3869,7 @@ void NSViewController_inst_loadView(void *id) { loadView]; } -void NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo_(void *id, void* delegate, void* didCommitSelector, void* contextInfo) { +void NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo(void *id, void* delegate, void* didCommitSelector, void* contextInfo) { [(NSViewController*)id commitEditingWithDelegate: delegate didCommitSelector: didCommitSelector @@ -3886,7 +3886,7 @@ void NSViewController_inst_discardEditing(void *id) { discardEditing]; } -void NSViewController_inst_dismissController_(void *id, void* sender) { +void NSViewController_inst_dismissController(void *id, void* sender) { [(NSViewController*)id dismissController: sender]; } @@ -3931,18 +3931,18 @@ void NSViewController_inst_viewDidLayout(void *id) { viewDidLayout]; } -void NSViewController_inst_addChildViewController_(void *id, void* childViewController) { +void NSViewController_inst_addChildViewController(void *id, void* childViewController) { [(NSViewController*)id addChildViewController: childViewController]; } -void NSViewController_inst_insertChildViewController_atIndex_(void *id, void* childViewController, long index) { +void NSViewController_inst_insertChildViewController_atIndex(void *id, void* childViewController, long index) { [(NSViewController*)id insertChildViewController: childViewController atIndex: index]; } -void NSViewController_inst_removeChildViewControllerAtIndex_(void *id, long index) { +void NSViewController_inst_removeChildViewControllerAtIndex(void *id, long index) { [(NSViewController*)id removeChildViewControllerAtIndex: index]; } @@ -3952,33 +3952,33 @@ void NSViewController_inst_removeFromParentViewController(void *id) { removeFromParentViewController]; } -void NSViewController_inst_preferredContentSizeDidChangeForViewController_(void *id, void* viewController) { +void NSViewController_inst_preferredContentSizeDidChangeForViewController(void *id, void* viewController) { [(NSViewController*)id preferredContentSizeDidChangeForViewController: viewController]; } -void NSViewController_inst_presentViewController_animator_(void *id, void* viewController, void* animator) { +void NSViewController_inst_presentViewController_animator(void *id, void* viewController, void* animator) { [(NSViewController*)id presentViewController: viewController animator: animator]; } -void NSViewController_inst_dismissViewController_(void *id, void* viewController) { +void NSViewController_inst_dismissViewController(void *id, void* viewController) { [(NSViewController*)id dismissViewController: viewController]; } -void NSViewController_inst_presentViewControllerAsModalWindow_(void *id, void* viewController) { +void NSViewController_inst_presentViewControllerAsModalWindow(void *id, void* viewController) { [(NSViewController*)id presentViewControllerAsModalWindow: viewController]; } -void NSViewController_inst_presentViewControllerAsSheet_(void *id, void* viewController) { +void NSViewController_inst_presentViewControllerAsSheet(void *id, void* viewController) { [(NSViewController*)id presentViewControllerAsSheet: viewController]; } -void NSViewController_inst_viewWillTransitionToSize_(void *id, NSSize newSize) { +void NSViewController_inst_viewWillTransitionToSize(void *id, NSSize newSize) { [(NSViewController*)id viewWillTransitionToSize: newSize]; } @@ -3993,7 +3993,7 @@ void* NSViewController_inst_representedObject(void *id) { representedObject]; } -void NSViewController_inst_setRepresentedObject_(void *id, void* value) { +void NSViewController_inst_setRepresentedObject(void *id, void* value) { [(NSViewController*)id setRepresentedObject: value]; } @@ -4008,7 +4008,7 @@ void* NSViewController_inst_view(void *id) { view]; } -void NSViewController_inst_setView_(void *id, void* value) { +void NSViewController_inst_setView(void *id, void* value) { [(NSViewController*)id setView: value]; } @@ -4018,7 +4018,7 @@ void* NSViewController_inst_title(void *id) { title]; } -void NSViewController_inst_setTitle_(void *id, void* value) { +void NSViewController_inst_setTitle(void *id, void* value) { [(NSViewController*)id setTitle: value]; } @@ -4033,7 +4033,7 @@ NSSize NSViewController_inst_preferredContentSize(void *id) { preferredContentSize]; } -void NSViewController_inst_setPreferredContentSize_(void *id, NSSize value) { +void NSViewController_inst_setPreferredContentSize(void *id, NSSize value) { [(NSViewController*)id setPreferredContentSize: value]; } @@ -4043,7 +4043,7 @@ void* NSViewController_inst_childViewControllers(void *id) { childViewControllers]; } -void NSViewController_inst_setChildViewControllers_(void *id, void* value) { +void NSViewController_inst_setChildViewControllers(void *id, void* value) { [(NSViewController*)id setChildViewControllers: value]; } @@ -4068,7 +4068,7 @@ NSPoint NSViewController_inst_preferredScreenOrigin(void *id) { preferredScreenOrigin]; } -void NSViewController_inst_setPreferredScreenOrigin_(void *id, NSPoint value) { +void NSViewController_inst_setPreferredScreenOrigin(void *id, NSPoint value) { [(NSViewController*)id setPreferredScreenOrigin: value]; } @@ -4088,7 +4088,7 @@ void* NSViewController_inst_sourceItemView(void *id) { sourceItemView]; } -void NSViewController_inst_setSourceItemView_(void *id, void* value) { +void NSViewController_inst_setSourceItemView(void *id, void* value) { [(NSViewController*)id setSourceItemView: value]; } @@ -4098,7 +4098,7 @@ void NSVisualEffectView_inst_viewDidMoveToWindow(void *id) { viewDidMoveToWindow]; } -void NSVisualEffectView_inst_viewWillMoveToWindow_(void *id, void* newWindow) { +void NSVisualEffectView_inst_viewWillMoveToWindow(void *id, void* newWindow) { [(NSVisualEffectView*)id viewWillMoveToWindow: newWindow]; } @@ -4113,7 +4113,7 @@ BOOL NSVisualEffectView_inst_isEmphasized(void *id) { isEmphasized]; } -void NSVisualEffectView_inst_setEmphasized_(void *id, BOOL value) { +void NSVisualEffectView_inst_setEmphasized(void *id, BOOL value) { [(NSVisualEffectView*)id setEmphasized: value]; } @@ -4123,12 +4123,12 @@ void* NSVisualEffectView_inst_maskImage(void *id) { maskImage]; } -void NSVisualEffectView_inst_setMaskImage_(void *id, void* value) { +void NSVisualEffectView_inst_setMaskImage(void *id, void* value) { [(NSVisualEffectView*)id setMaskImage: value]; } -void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag) { +void* NSWindow_inst_initWithContentRect_styleMask_backing_defer(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag) { return [(NSWindow*)id initWithContentRect: contentRect styleMask: style @@ -4136,7 +4136,7 @@ void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_(void *id, NSRec defer: flag]; } -void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen_(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag, void* screen) { +void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag, void* screen) { return [(NSWindow*)id initWithContentRect: contentRect styleMask: style @@ -4145,12 +4145,12 @@ void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen_(void *id screen: screen]; } -void NSWindow_inst_toggleFullScreen_(void *id, void* sender) { +void NSWindow_inst_toggleFullScreen(void *id, void* sender) { [(NSWindow*)id toggleFullScreen: sender]; } -void NSWindow_inst_setDynamicDepthLimit_(void *id, BOOL flag) { +void NSWindow_inst_setDynamicDepthLimit(void *id, BOOL flag) { [(NSWindow*)id setDynamicDepthLimit: flag]; } @@ -4160,81 +4160,81 @@ void NSWindow_inst_invalidateShadow(void *id) { invalidateShadow]; } -NSRect NSWindow_inst_contentRectForFrameRect_(void *id, NSRect frameRect) { +NSRect NSWindow_inst_contentRectForFrameRect(void *id, NSRect frameRect) { return [(NSWindow*)id contentRectForFrameRect: frameRect]; } -NSRect NSWindow_inst_frameRectForContentRect_(void *id, NSRect contentRect) { +NSRect NSWindow_inst_frameRectForContentRect(void *id, NSRect contentRect) { return [(NSWindow*)id frameRectForContentRect: contentRect]; } -void NSWindow_inst_endSheet_(void *id, void* sheetWindow) { +void NSWindow_inst_endSheet(void *id, void* sheetWindow) { [(NSWindow*)id endSheet: sheetWindow]; } -void NSWindow_inst_setFrameOrigin_(void *id, NSPoint point) { +void NSWindow_inst_setFrameOrigin(void *id, NSPoint point) { [(NSWindow*)id setFrameOrigin: point]; } -void NSWindow_inst_setFrameTopLeftPoint_(void *id, NSPoint point) { +void NSWindow_inst_setFrameTopLeftPoint(void *id, NSPoint point) { [(NSWindow*)id setFrameTopLeftPoint: point]; } -NSRect NSWindow_inst_constrainFrameRect_toScreen_(void *id, NSRect frameRect, void* screen) { +NSRect NSWindow_inst_constrainFrameRect_toScreen(void *id, NSRect frameRect, void* screen) { return [(NSWindow*)id constrainFrameRect: frameRect toScreen: screen]; } -NSPoint NSWindow_inst_cascadeTopLeftFromPoint_(void *id, NSPoint topLeftPoint) { +NSPoint NSWindow_inst_cascadeTopLeftFromPoint(void *id, NSPoint topLeftPoint) { return [(NSWindow*)id cascadeTopLeftFromPoint: topLeftPoint]; } -void NSWindow_inst_setFrame_display_(void *id, NSRect frameRect, BOOL flag) { +void NSWindow_inst_setFrame_display(void *id, NSRect frameRect, BOOL flag) { [(NSWindow*)id setFrame: frameRect display: flag]; } -void NSWindow_inst_setFrame_display_animate_(void *id, NSRect frameRect, BOOL displayFlag, BOOL animateFlag) { +void NSWindow_inst_setFrame_display_animate(void *id, NSRect frameRect, BOOL displayFlag, BOOL animateFlag) { [(NSWindow*)id setFrame: frameRect display: displayFlag animate: animateFlag]; } -void NSWindow_inst_performZoom_(void *id, void* sender) { +void NSWindow_inst_performZoom(void *id, void* sender) { [(NSWindow*)id performZoom: sender]; } -void NSWindow_inst_zoom_(void *id, void* sender) { +void NSWindow_inst_zoom(void *id, void* sender) { [(NSWindow*)id zoom: sender]; } -void NSWindow_inst_setContentSize_(void *id, NSSize size) { +void NSWindow_inst_setContentSize(void *id, NSSize size) { [(NSWindow*)id setContentSize: size]; } -void NSWindow_inst_orderOut_(void *id, void* sender) { +void NSWindow_inst_orderOut(void *id, void* sender) { [(NSWindow*)id orderOut: sender]; } -void NSWindow_inst_orderBack_(void *id, void* sender) { +void NSWindow_inst_orderBack(void *id, void* sender) { [(NSWindow*)id orderBack: sender]; } -void NSWindow_inst_orderFront_(void *id, void* sender) { +void NSWindow_inst_orderFront(void *id, void* sender) { [(NSWindow*)id orderFront: sender]; } @@ -4244,7 +4244,7 @@ void NSWindow_inst_orderFrontRegardless(void *id) { orderFrontRegardless]; } -void NSWindow_inst_orderWindow_relativeTo_(void *id, unsigned long place, long otherWin) { +void NSWindow_inst_orderWindow_relativeTo(void *id, unsigned long place, long otherWin) { [(NSWindow*)id orderWindow: place relativeTo: otherWin]; @@ -4255,7 +4255,7 @@ void NSWindow_inst_makeKeyWindow(void *id) { makeKeyWindow]; } -void NSWindow_inst_makeKeyAndOrderFront_(void *id, void* sender) { +void NSWindow_inst_makeKeyAndOrderFront(void *id, void* sender) { [(NSWindow*)id makeKeyAndOrderFront: sender]; } @@ -4285,23 +4285,23 @@ void NSWindow_inst_resignMainWindow(void *id) { resignMainWindow]; } -void NSWindow_inst_toggleToolbarShown_(void *id, void* sender) { +void NSWindow_inst_toggleToolbarShown(void *id, void* sender) { [(NSWindow*)id toggleToolbarShown: sender]; } -void NSWindow_inst_runToolbarCustomizationPalette_(void *id, void* sender) { +void NSWindow_inst_runToolbarCustomizationPalette(void *id, void* sender) { [(NSWindow*)id runToolbarCustomizationPalette: sender]; } -void NSWindow_inst_addChildWindow_ordered_(void *id, void* childWin, unsigned long place) { +void NSWindow_inst_addChildWindow_ordered(void *id, void* childWin, unsigned long place) { [(NSWindow*)id addChildWindow: childWin ordered: place]; } -void NSWindow_inst_removeChildWindow_(void *id, void* childWin) { +void NSWindow_inst_removeChildWindow(void *id, void* childWin) { [(NSWindow*)id removeChildWindow: childWin]; } @@ -4316,13 +4316,13 @@ void NSWindow_inst_disableKeyEquivalentForDefaultButtonCell(void *id) { disableKeyEquivalentForDefaultButtonCell]; } -void* NSWindow_inst_fieldEditor_forObject_(void *id, BOOL createFlag, void* object) { +void* NSWindow_inst_fieldEditor_forObject(void *id, BOOL createFlag, void* object) { return [(NSWindow*)id fieldEditor: createFlag forObject: object]; } -void NSWindow_inst_endEditingFor_(void *id, void* object) { +void NSWindow_inst_endEditingFor(void *id, void* object) { [(NSWindow*)id endEditingFor: object]; } @@ -4342,7 +4342,7 @@ void NSWindow_inst_discardCursorRects(void *id) { discardCursorRects]; } -void NSWindow_inst_invalidateCursorRectsForView_(void *id, void* view) { +void NSWindow_inst_invalidateCursorRectsForView(void *id, void* view) { [(NSWindow*)id invalidateCursorRectsForView: view]; } @@ -4352,80 +4352,80 @@ void NSWindow_inst_resetCursorRects(void *id) { resetCursorRects]; } -void NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex_(void *id, long index) { +void NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex(void *id, long index) { [(NSWindow*)id removeTitlebarAccessoryViewControllerAtIndex: index]; } -void NSWindow_inst_addTabbedWindow_ordered_(void *id, void* window, unsigned long ordered) { +void NSWindow_inst_addTabbedWindow_ordered(void *id, void* window, unsigned long ordered) { [(NSWindow*)id addTabbedWindow: window ordered: ordered]; } -void NSWindow_inst_mergeAllWindows_(void *id, void* sender) { +void NSWindow_inst_mergeAllWindows(void *id, void* sender) { [(NSWindow*)id mergeAllWindows: sender]; } -void NSWindow_inst_selectNextTab_(void *id, void* sender) { +void NSWindow_inst_selectNextTab(void *id, void* sender) { [(NSWindow*)id selectNextTab: sender]; } -void NSWindow_inst_selectPreviousTab_(void *id, void* sender) { +void NSWindow_inst_selectPreviousTab(void *id, void* sender) { [(NSWindow*)id selectPreviousTab: sender]; } -void NSWindow_inst_moveTabToNewWindow_(void *id, void* sender) { +void NSWindow_inst_moveTabToNewWindow(void *id, void* sender) { [(NSWindow*)id moveTabToNewWindow: sender]; } -void NSWindow_inst_toggleTabBar_(void *id, void* sender) { +void NSWindow_inst_toggleTabBar(void *id, void* sender) { [(NSWindow*)id toggleTabBar: sender]; } -void NSWindow_inst_toggleTabOverview_(void *id, void* sender) { +void NSWindow_inst_toggleTabOverview(void *id, void* sender) { [(NSWindow*)id toggleTabOverview: sender]; } -void NSWindow_inst_postEvent_atStart_(void *id, void* event, BOOL flag) { +void NSWindow_inst_postEvent_atStart(void *id, void* event, BOOL flag) { [(NSWindow*)id postEvent: event atStart: flag]; } -void NSWindow_inst_sendEvent_(void *id, void* event) { +void NSWindow_inst_sendEvent(void *id, void* event) { [(NSWindow*)id sendEvent: event]; } -BOOL NSWindow_inst_tryToPerform_with_(void *id, void* action, void* object) { +BOOL NSWindow_inst_tryToPerform_with(void *id, void* action, void* object) { return [(NSWindow*)id tryToPerform: action with: object]; } -void NSWindow_inst_selectKeyViewPrecedingView_(void *id, void* view) { +void NSWindow_inst_selectKeyViewPrecedingView(void *id, void* view) { [(NSWindow*)id selectKeyViewPrecedingView: view]; } -void NSWindow_inst_selectKeyViewFollowingView_(void *id, void* view) { +void NSWindow_inst_selectKeyViewFollowingView(void *id, void* view) { [(NSWindow*)id selectKeyViewFollowingView: view]; } -void NSWindow_inst_selectPreviousKeyView_(void *id, void* sender) { +void NSWindow_inst_selectPreviousKeyView(void *id, void* sender) { [(NSWindow*)id selectPreviousKeyView: sender]; } -void NSWindow_inst_selectNextKeyView_(void *id, void* sender) { +void NSWindow_inst_selectNextKeyView(void *id, void* sender) { [(NSWindow*)id selectNextKeyView: sender]; } @@ -4435,7 +4435,7 @@ void NSWindow_inst_recalculateKeyViewLoop(void *id) { recalculateKeyViewLoop]; } -void NSWindow_inst_performWindowDragWithEvent_(void *id, void* event) { +void NSWindow_inst_performWindowDragWithEvent(void *id, void* event) { [(NSWindow*)id performWindowDragWithEvent: event]; } @@ -4470,7 +4470,7 @@ void NSWindow_inst_update(void *id) { update]; } -void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack_(void *id, void* image, NSPoint baseLocation, NSSize initialOffset, void* event, void* pboard, void* sourceObj, BOOL slideFlag) { +void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack(void *id, void* image, NSPoint baseLocation, NSSize initialOffset, void* event, void* pboard, void* sourceObj, BOOL slideFlag) { [(NSWindow*)id dragImage: image at: baseLocation @@ -4481,7 +4481,7 @@ void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack_(void * slideBack: slideFlag]; } -void NSWindow_inst_registerForDraggedTypes_(void *id, void* newTypes) { +void NSWindow_inst_registerForDraggedTypes(void *id, void* newTypes) { [(NSWindow*)id registerForDraggedTypes: newTypes]; } @@ -4491,47 +4491,47 @@ void NSWindow_inst_unregisterDraggedTypes(void *id) { unregisterDraggedTypes]; } -NSRect NSWindow_inst_convertRectFromBacking_(void *id, NSRect rect) { +NSRect NSWindow_inst_convertRectFromBacking(void *id, NSRect rect) { return [(NSWindow*)id convertRectFromBacking: rect]; } -NSRect NSWindow_inst_convertRectFromScreen_(void *id, NSRect rect) { +NSRect NSWindow_inst_convertRectFromScreen(void *id, NSRect rect) { return [(NSWindow*)id convertRectFromScreen: rect]; } -NSPoint NSWindow_inst_convertPointFromBacking_(void *id, NSPoint point) { +NSPoint NSWindow_inst_convertPointFromBacking(void *id, NSPoint point) { return [(NSWindow*)id convertPointFromBacking: point]; } -NSPoint NSWindow_inst_convertPointFromScreen_(void *id, NSPoint point) { +NSPoint NSWindow_inst_convertPointFromScreen(void *id, NSPoint point) { return [(NSWindow*)id convertPointFromScreen: point]; } -NSRect NSWindow_inst_convertRectToBacking_(void *id, NSRect rect) { +NSRect NSWindow_inst_convertRectToBacking(void *id, NSRect rect) { return [(NSWindow*)id convertRectToBacking: rect]; } -NSRect NSWindow_inst_convertRectToScreen_(void *id, NSRect rect) { +NSRect NSWindow_inst_convertRectToScreen(void *id, NSRect rect) { return [(NSWindow*)id convertRectToScreen: rect]; } -NSPoint NSWindow_inst_convertPointToBacking_(void *id, NSPoint point) { +NSPoint NSWindow_inst_convertPointToBacking(void *id, NSPoint point) { return [(NSWindow*)id convertPointToBacking: point]; } -NSPoint NSWindow_inst_convertPointToScreen_(void *id, NSPoint point) { +NSPoint NSWindow_inst_convertPointToScreen(void *id, NSPoint point) { return [(NSWindow*)id convertPointToScreen: point]; } -void NSWindow_inst_setTitleWithRepresentedFilename_(void *id, void* filename) { +void NSWindow_inst_setTitleWithRepresentedFilename(void *id, void* filename) { [(NSWindow*)id setTitleWithRepresentedFilename: filename]; } @@ -4541,7 +4541,7 @@ void NSWindow_inst_center(void *id) { center]; } -void NSWindow_inst_performClose_(void *id, void* sender) { +void NSWindow_inst_performClose(void *id, void* sender) { [(NSWindow*)id performClose: sender]; } @@ -4551,32 +4551,32 @@ void NSWindow_inst_close(void *id) { close]; } -void NSWindow_inst_performMiniaturize_(void *id, void* sender) { +void NSWindow_inst_performMiniaturize(void *id, void* sender) { [(NSWindow*)id performMiniaturize: sender]; } -void NSWindow_inst_miniaturize_(void *id, void* sender) { +void NSWindow_inst_miniaturize(void *id, void* sender) { [(NSWindow*)id miniaturize: sender]; } -void NSWindow_inst_deminiaturize_(void *id, void* sender) { +void NSWindow_inst_deminiaturize(void *id, void* sender) { [(NSWindow*)id deminiaturize: sender]; } -void NSWindow_inst_print_(void *id, void* sender) { +void NSWindow_inst_print(void *id, void* sender) { [(NSWindow*)id print: sender]; } -void* NSWindow_inst_dataWithEPSInsideRect_(void *id, NSRect rect) { +void* NSWindow_inst_dataWithEPSInsideRect(void *id, NSRect rect) { return [(NSWindow*)id dataWithEPSInsideRect: rect]; } -void* NSWindow_inst_dataWithPDFInsideRect_(void *id, NSRect rect) { +void* NSWindow_inst_dataWithPDFInsideRect(void *id, NSRect rect) { return [(NSWindow*)id dataWithPDFInsideRect: rect]; } @@ -4591,22 +4591,22 @@ void NSWindow_inst_layoutIfNeeded(void *id) { layoutIfNeeded]; } -void NSWindow_inst_visualizeConstraints_(void *id, void* constraints) { +void NSWindow_inst_visualizeConstraints(void *id, void* constraints) { [(NSWindow*)id visualizeConstraints: constraints]; } -void NSWindow_inst_setIsMiniaturized_(void *id, BOOL flag) { +void NSWindow_inst_setIsMiniaturized(void *id, BOOL flag) { [(NSWindow*)id setIsMiniaturized: flag]; } -void NSWindow_inst_setIsVisible_(void *id, BOOL flag) { +void NSWindow_inst_setIsVisible(void *id, BOOL flag) { [(NSWindow*)id setIsVisible: flag]; } -void NSWindow_inst_setIsZoomed_(void *id, BOOL flag) { +void NSWindow_inst_setIsZoomed(void *id, BOOL flag) { [(NSWindow*)id setIsZoomed: flag]; } @@ -4621,7 +4621,7 @@ void* NSWindow_inst_delegate(void *id) { delegate]; } -void NSWindow_inst_setDelegate_(void *id, void* value) { +void NSWindow_inst_setDelegate(void *id, void* value) { [(NSWindow*)id setDelegate: value]; } @@ -4631,7 +4631,7 @@ void* NSWindow_inst_contentViewController(void *id) { contentViewController]; } -void NSWindow_inst_setContentViewController_(void *id, void* value) { +void NSWindow_inst_setContentViewController(void *id, void* value) { [(NSWindow*)id setContentViewController: value]; } @@ -4641,7 +4641,7 @@ void* NSWindow_inst_contentView(void *id) { contentView]; } -void NSWindow_inst_setContentView_(void *id, void* value) { +void NSWindow_inst_setContentView(void *id, void* value) { [(NSWindow*)id setContentView: value]; } @@ -4651,7 +4651,7 @@ unsigned long NSWindow_inst_styleMask(void *id) { styleMask]; } -void NSWindow_inst_setStyleMask_(void *id, unsigned long value) { +void NSWindow_inst_setStyleMask(void *id, unsigned long value) { [(NSWindow*)id setStyleMask: value]; } @@ -4666,7 +4666,7 @@ double NSWindow_inst_alphaValue(void *id) { alphaValue]; } -void NSWindow_inst_setAlphaValue_(void *id, double value) { +void NSWindow_inst_setAlphaValue(void *id, double value) { [(NSWindow*)id setAlphaValue: value]; } @@ -4676,7 +4676,7 @@ void* NSWindow_inst_backgroundColor(void *id) { backgroundColor]; } -void NSWindow_inst_setBackgroundColor_(void *id, void* value) { +void NSWindow_inst_setBackgroundColor(void *id, void* value) { [(NSWindow*)id setBackgroundColor: value]; } @@ -4686,7 +4686,7 @@ BOOL NSWindow_inst_canHide(void *id) { canHide]; } -void NSWindow_inst_setCanHide_(void *id, BOOL value) { +void NSWindow_inst_setCanHide(void *id, BOOL value) { [(NSWindow*)id setCanHide: value]; } @@ -4701,7 +4701,7 @@ BOOL NSWindow_inst_hidesOnDeactivate(void *id) { hidesOnDeactivate]; } -void NSWindow_inst_setHidesOnDeactivate_(void *id, BOOL value) { +void NSWindow_inst_setHidesOnDeactivate(void *id, BOOL value) { [(NSWindow*)id setHidesOnDeactivate: value]; } @@ -4711,7 +4711,7 @@ unsigned long NSWindow_inst_collectionBehavior(void *id) { collectionBehavior]; } -void NSWindow_inst_setCollectionBehavior_(void *id, unsigned long value) { +void NSWindow_inst_setCollectionBehavior(void *id, unsigned long value) { [(NSWindow*)id setCollectionBehavior: value]; } @@ -4721,7 +4721,7 @@ BOOL NSWindow_inst_isOpaque(void *id) { isOpaque]; } -void NSWindow_inst_setOpaque_(void *id, BOOL value) { +void NSWindow_inst_setOpaque(void *id, BOOL value) { [(NSWindow*)id setOpaque: value]; } @@ -4731,7 +4731,7 @@ BOOL NSWindow_inst_hasShadow(void *id) { hasShadow]; } -void NSWindow_inst_setHasShadow_(void *id, BOOL value) { +void NSWindow_inst_setHasShadow(void *id, BOOL value) { [(NSWindow*)id setHasShadow: value]; } @@ -4741,7 +4741,7 @@ BOOL NSWindow_inst_preventsApplicationTerminationWhenModal(void *id) { preventsApplicationTerminationWhenModal]; } -void NSWindow_inst_setPreventsApplicationTerminationWhenModal_(void *id, BOOL value) { +void NSWindow_inst_setPreventsApplicationTerminationWhenModal(void *id, BOOL value) { [(NSWindow*)id setPreventsApplicationTerminationWhenModal: value]; } @@ -4766,7 +4766,7 @@ BOOL NSWindow_inst_canBecomeVisibleWithoutLogin(void *id) { canBecomeVisibleWithoutLogin]; } -void NSWindow_inst_setCanBecomeVisibleWithoutLogin_(void *id, BOOL value) { +void NSWindow_inst_setCanBecomeVisibleWithoutLogin(void *id, BOOL value) { [(NSWindow*)id setCanBecomeVisibleWithoutLogin: value]; } @@ -4776,7 +4776,7 @@ unsigned long NSWindow_inst_backingType(void *id) { backingType]; } -void NSWindow_inst_setBackingType_(void *id, unsigned long value) { +void NSWindow_inst_setBackingType(void *id, unsigned long value) { [(NSWindow*)id setBackingType: value]; } @@ -4811,7 +4811,7 @@ NSSize NSWindow_inst_aspectRatio(void *id) { aspectRatio]; } -void NSWindow_inst_setAspectRatio_(void *id, NSSize value) { +void NSWindow_inst_setAspectRatio(void *id, NSSize value) { [(NSWindow*)id setAspectRatio: value]; } @@ -4821,7 +4821,7 @@ NSSize NSWindow_inst_minSize(void *id) { minSize]; } -void NSWindow_inst_setMinSize_(void *id, NSSize value) { +void NSWindow_inst_setMinSize(void *id, NSSize value) { [(NSWindow*)id setMinSize: value]; } @@ -4831,7 +4831,7 @@ NSSize NSWindow_inst_maxSize(void *id) { maxSize]; } -void NSWindow_inst_setMaxSize_(void *id, NSSize value) { +void NSWindow_inst_setMaxSize(void *id, NSSize value) { [(NSWindow*)id setMaxSize: value]; } @@ -4846,7 +4846,7 @@ NSSize NSWindow_inst_resizeIncrements(void *id) { resizeIncrements]; } -void NSWindow_inst_setResizeIncrements_(void *id, NSSize value) { +void NSWindow_inst_setResizeIncrements(void *id, NSSize value) { [(NSWindow*)id setResizeIncrements: value]; } @@ -4856,7 +4856,7 @@ BOOL NSWindow_inst_preservesContentDuringLiveResize(void *id) { preservesContentDuringLiveResize]; } -void NSWindow_inst_setPreservesContentDuringLiveResize_(void *id, BOOL value) { +void NSWindow_inst_setPreservesContentDuringLiveResize(void *id, BOOL value) { [(NSWindow*)id setPreservesContentDuringLiveResize: value]; } @@ -4871,7 +4871,7 @@ NSSize NSWindow_inst_contentAspectRatio(void *id) { contentAspectRatio]; } -void NSWindow_inst_setContentAspectRatio_(void *id, NSSize value) { +void NSWindow_inst_setContentAspectRatio(void *id, NSSize value) { [(NSWindow*)id setContentAspectRatio: value]; } @@ -4881,7 +4881,7 @@ NSSize NSWindow_inst_contentMinSize(void *id) { contentMinSize]; } -void NSWindow_inst_setContentMinSize_(void *id, NSSize value) { +void NSWindow_inst_setContentMinSize(void *id, NSSize value) { [(NSWindow*)id setContentMinSize: value]; } @@ -4891,7 +4891,7 @@ NSSize NSWindow_inst_contentMaxSize(void *id) { contentMaxSize]; } -void NSWindow_inst_setContentMaxSize_(void *id, NSSize value) { +void NSWindow_inst_setContentMaxSize(void *id, NSSize value) { [(NSWindow*)id setContentMaxSize: value]; } @@ -4901,7 +4901,7 @@ NSSize NSWindow_inst_contentResizeIncrements(void *id) { contentResizeIncrements]; } -void NSWindow_inst_setContentResizeIncrements_(void *id, NSSize value) { +void NSWindow_inst_setContentResizeIncrements(void *id, NSSize value) { [(NSWindow*)id setContentResizeIncrements: value]; } @@ -4921,7 +4921,7 @@ NSSize NSWindow_inst_maxFullScreenContentSize(void *id) { maxFullScreenContentSize]; } -void NSWindow_inst_setMaxFullScreenContentSize_(void *id, NSSize value) { +void NSWindow_inst_setMaxFullScreenContentSize(void *id, NSSize value) { [(NSWindow*)id setMaxFullScreenContentSize: value]; } @@ -4931,7 +4931,7 @@ NSSize NSWindow_inst_minFullScreenContentSize(void *id) { minFullScreenContentSize]; } -void NSWindow_inst_setMinFullScreenContentSize_(void *id, NSSize value) { +void NSWindow_inst_setMinFullScreenContentSize(void *id, NSSize value) { [(NSWindow*)id setMinFullScreenContentSize: value]; } @@ -4941,7 +4941,7 @@ long NSWindow_inst_level(void *id) { level]; } -void NSWindow_inst_setLevel_(void *id, long value) { +void NSWindow_inst_setLevel(void *id, long value) { [(NSWindow*)id setLevel: value]; } @@ -4981,7 +4981,7 @@ void* NSWindow_inst_parentWindow(void *id) { parentWindow]; } -void NSWindow_inst_setParentWindow_(void *id, void* value) { +void NSWindow_inst_setParentWindow(void *id, void* value) { [(NSWindow*)id setParentWindow: value]; } @@ -4991,7 +4991,7 @@ BOOL NSWindow_inst_isExcludedFromWindowsMenu(void *id) { isExcludedFromWindowsMenu]; } -void NSWindow_inst_setExcludedFromWindowsMenu_(void *id, BOOL value) { +void NSWindow_inst_setExcludedFromWindowsMenu(void *id, BOOL value) { [(NSWindow*)id setExcludedFromWindowsMenu: value]; } @@ -5006,7 +5006,7 @@ BOOL NSWindow_inst_showsToolbarButton(void *id) { showsToolbarButton]; } -void NSWindow_inst_setShowsToolbarButton_(void *id, BOOL value) { +void NSWindow_inst_setShowsToolbarButton(void *id, BOOL value) { [(NSWindow*)id setShowsToolbarButton: value]; } @@ -5016,7 +5016,7 @@ BOOL NSWindow_inst_titlebarAppearsTransparent(void *id) { titlebarAppearsTransparent]; } -void NSWindow_inst_setTitlebarAppearsTransparent_(void *id, BOOL value) { +void NSWindow_inst_setTitlebarAppearsTransparent(void *id, BOOL value) { [(NSWindow*)id setTitlebarAppearsTransparent: value]; } @@ -5026,7 +5026,7 @@ void* NSWindow_inst_titlebarAccessoryViewControllers(void *id) { titlebarAccessoryViewControllers]; } -void NSWindow_inst_setTitlebarAccessoryViewControllers_(void *id, void* value) { +void NSWindow_inst_setTitlebarAccessoryViewControllers(void *id, void* value) { [(NSWindow*)id setTitlebarAccessoryViewControllers: value]; } @@ -5041,7 +5041,7 @@ BOOL NSWindow_inst_allowsToolTipsWhenApplicationIsInactive(void *id) { allowsToolTipsWhenApplicationIsInactive]; } -void NSWindow_inst_setAllowsToolTipsWhenApplicationIsInactive_(void *id, BOOL value) { +void NSWindow_inst_setAllowsToolTipsWhenApplicationIsInactive(void *id, BOOL value) { [(NSWindow*)id setAllowsToolTipsWhenApplicationIsInactive: value]; } @@ -5056,7 +5056,7 @@ void* NSWindow_inst_initialFirstResponder(void *id) { initialFirstResponder]; } -void NSWindow_inst_setInitialFirstResponder_(void *id, void* value) { +void NSWindow_inst_setInitialFirstResponder(void *id, void* value) { [(NSWindow*)id setInitialFirstResponder: value]; } @@ -5066,7 +5066,7 @@ BOOL NSWindow_inst_autorecalculatesKeyViewLoop(void *id) { autorecalculatesKeyViewLoop]; } -void NSWindow_inst_setAutorecalculatesKeyViewLoop_(void *id, BOOL value) { +void NSWindow_inst_setAutorecalculatesKeyViewLoop(void *id, BOOL value) { [(NSWindow*)id setAutorecalculatesKeyViewLoop: value]; } @@ -5076,7 +5076,7 @@ BOOL NSWindow_inst_acceptsMouseMovedEvents(void *id) { acceptsMouseMovedEvents]; } -void NSWindow_inst_setAcceptsMouseMovedEvents_(void *id, BOOL value) { +void NSWindow_inst_setAcceptsMouseMovedEvents(void *id, BOOL value) { [(NSWindow*)id setAcceptsMouseMovedEvents: value]; } @@ -5086,7 +5086,7 @@ BOOL NSWindow_inst_ignoresMouseEvents(void *id) { ignoresMouseEvents]; } -void NSWindow_inst_setIgnoresMouseEvents_(void *id, BOOL value) { +void NSWindow_inst_setIgnoresMouseEvents(void *id, BOOL value) { [(NSWindow*)id setIgnoresMouseEvents: value]; } @@ -5101,7 +5101,7 @@ BOOL NSWindow_inst_isRestorable(void *id) { isRestorable]; } -void NSWindow_inst_setRestorable_(void *id, BOOL value) { +void NSWindow_inst_setRestorable(void *id, BOOL value) { [(NSWindow*)id setRestorable: value]; } @@ -5111,7 +5111,7 @@ BOOL NSWindow_inst_viewsNeedDisplay(void *id) { viewsNeedDisplay]; } -void NSWindow_inst_setViewsNeedDisplay_(void *id, BOOL value) { +void NSWindow_inst_setViewsNeedDisplay(void *id, BOOL value) { [(NSWindow*)id setViewsNeedDisplay: value]; } @@ -5121,7 +5121,7 @@ BOOL NSWindow_inst_allowsConcurrentViewDrawing(void *id) { allowsConcurrentViewDrawing]; } -void NSWindow_inst_setAllowsConcurrentViewDrawing_(void *id, BOOL value) { +void NSWindow_inst_setAllowsConcurrentViewDrawing(void *id, BOOL value) { [(NSWindow*)id setAllowsConcurrentViewDrawing: value]; } @@ -5131,7 +5131,7 @@ BOOL NSWindow_inst_isDocumentEdited(void *id) { isDocumentEdited]; } -void NSWindow_inst_setDocumentEdited_(void *id, BOOL value) { +void NSWindow_inst_setDocumentEdited(void *id, BOOL value) { [(NSWindow*)id setDocumentEdited: value]; } @@ -5146,7 +5146,7 @@ void* NSWindow_inst_title(void *id) { title]; } -void NSWindow_inst_setTitle_(void *id, void* value) { +void NSWindow_inst_setTitle(void *id, void* value) { [(NSWindow*)id setTitle: value]; } @@ -5156,7 +5156,7 @@ void* NSWindow_inst_subtitle(void *id) { subtitle]; } -void NSWindow_inst_setSubtitle_(void *id, void* value) { +void NSWindow_inst_setSubtitle(void *id, void* value) { [(NSWindow*)id setSubtitle: value]; } @@ -5166,7 +5166,7 @@ long NSWindow_inst_titleVisibility(void *id) { titleVisibility]; } -void NSWindow_inst_setTitleVisibility_(void *id, long value) { +void NSWindow_inst_setTitleVisibility(void *id, long value) { [(NSWindow*)id setTitleVisibility: value]; } @@ -5176,7 +5176,7 @@ void* NSWindow_inst_representedFilename(void *id) { representedFilename]; } -void NSWindow_inst_setRepresentedFilename_(void *id, void* value) { +void NSWindow_inst_setRepresentedFilename(void *id, void* value) { [(NSWindow*)id setRepresentedFilename: value]; } @@ -5186,7 +5186,7 @@ void* NSWindow_inst_representedURL(void *id) { representedURL]; } -void NSWindow_inst_setRepresentedURL_(void *id, void* value) { +void NSWindow_inst_setRepresentedURL(void *id, void* value) { [(NSWindow*)id setRepresentedURL: value]; } @@ -5206,7 +5206,7 @@ BOOL NSWindow_inst_displaysWhenScreenProfileChanges(void *id) { displaysWhenScreenProfileChanges]; } -void NSWindow_inst_setDisplaysWhenScreenProfileChanges_(void *id, BOOL value) { +void NSWindow_inst_setDisplaysWhenScreenProfileChanges(void *id, BOOL value) { [(NSWindow*)id setDisplaysWhenScreenProfileChanges: value]; } @@ -5216,7 +5216,7 @@ BOOL NSWindow_inst_isMovableByWindowBackground(void *id) { isMovableByWindowBackground]; } -void NSWindow_inst_setMovableByWindowBackground_(void *id, BOOL value) { +void NSWindow_inst_setMovableByWindowBackground(void *id, BOOL value) { [(NSWindow*)id setMovableByWindowBackground: value]; } @@ -5226,7 +5226,7 @@ BOOL NSWindow_inst_isMovable(void *id) { isMovable]; } -void NSWindow_inst_setMovable_(void *id, BOOL value) { +void NSWindow_inst_setMovable(void *id, BOOL value) { [(NSWindow*)id setMovable: value]; } @@ -5236,7 +5236,7 @@ BOOL NSWindow_inst_isReleasedWhenClosed(void *id) { isReleasedWhenClosed]; } -void NSWindow_inst_setReleasedWhenClosed_(void *id, BOOL value) { +void NSWindow_inst_setReleasedWhenClosed(void *id, BOOL value) { [(NSWindow*)id setReleasedWhenClosed: value]; } @@ -5251,7 +5251,7 @@ void* NSWindow_inst_miniwindowImage(void *id) { miniwindowImage]; } -void NSWindow_inst_setMiniwindowImage_(void *id, void* value) { +void NSWindow_inst_setMiniwindowImage(void *id, void* value) { [(NSWindow*)id setMiniwindowImage: value]; } @@ -5261,7 +5261,7 @@ void* NSWindow_inst_miniwindowTitle(void *id) { miniwindowTitle]; } -void NSWindow_inst_setMiniwindowTitle_(void *id, void* value) { +void NSWindow_inst_setMiniwindowTitle(void *id, void* value) { [(NSWindow*)id setMiniwindowTitle: value]; } @@ -5306,12 +5306,12 @@ long NSWindow_inst_orderedIndex(void *id) { orderedIndex]; } -void NSWindow_inst_setOrderedIndex_(void *id, long value) { +void NSWindow_inst_setOrderedIndex(void *id, long value) { [(NSWindow*)id setOrderedIndex: value]; } -BOOL NSWorkspace_inst_openURL_(void *id, void* url) { +BOOL NSWorkspace_inst_openURL(void *id, void* url) { return [(NSWorkspace*)id openURL: url]; } @@ -5321,78 +5321,78 @@ void NSWorkspace_inst_hideOtherApplications(void *id) { hideOtherApplications]; } -void NSWorkspace_inst_activateFileViewerSelectingURLs_(void *id, void* fileURLs) { +void NSWorkspace_inst_activateFileViewerSelectingURLs(void *id, void* fileURLs) { [(NSWorkspace*)id activateFileViewerSelectingURLs: fileURLs]; } -BOOL NSWorkspace_inst_selectFile_inFileViewerRootedAtPath_(void *id, void* fullPath, void* rootFullPath) { +BOOL NSWorkspace_inst_selectFile_inFileViewerRootedAtPath(void *id, void* fullPath, void* rootFullPath) { return [(NSWorkspace*)id selectFile: fullPath inFileViewerRootedAtPath: rootFullPath]; } -void* NSWorkspace_inst_URLForApplicationWithBundleIdentifier_(void *id, void* bundleIdentifier) { +void* NSWorkspace_inst_URLForApplicationWithBundleIdentifier(void *id, void* bundleIdentifier) { return [(NSWorkspace*)id URLForApplicationWithBundleIdentifier: bundleIdentifier]; } -void* NSWorkspace_inst_URLForApplicationToOpenURL_(void *id, void* url) { +void* NSWorkspace_inst_URLForApplicationToOpenURL(void *id, void* url) { return [(NSWorkspace*)id URLForApplicationToOpenURL: url]; } -BOOL NSWorkspace_inst_isFilePackageAtPath_(void *id, void* fullPath) { +BOOL NSWorkspace_inst_isFilePackageAtPath(void *id, void* fullPath) { return [(NSWorkspace*)id isFilePackageAtPath: fullPath]; } -void* NSWorkspace_inst_iconForFile_(void *id, void* fullPath) { +void* NSWorkspace_inst_iconForFile(void *id, void* fullPath) { return [(NSWorkspace*)id iconForFile: fullPath]; } -void* NSWorkspace_inst_iconForFiles_(void *id, void* fullPaths) { +void* NSWorkspace_inst_iconForFiles(void *id, void* fullPaths) { return [(NSWorkspace*)id iconForFiles: fullPaths]; } -BOOL NSWorkspace_inst_unmountAndEjectDeviceAtPath_(void *id, void* path) { +BOOL NSWorkspace_inst_unmountAndEjectDeviceAtPath(void *id, void* path) { return [(NSWorkspace*)id unmountAndEjectDeviceAtPath: path]; } -void* NSWorkspace_inst_desktopImageURLForScreen_(void *id, void* screen) { +void* NSWorkspace_inst_desktopImageURLForScreen(void *id, void* screen) { return [(NSWorkspace*)id desktopImageURLForScreen: screen]; } -void* NSWorkspace_inst_desktopImageOptionsForScreen_(void *id, void* screen) { +void* NSWorkspace_inst_desktopImageOptionsForScreen(void *id, void* screen) { return [(NSWorkspace*)id desktopImageOptionsForScreen: screen]; } -BOOL NSWorkspace_inst_showSearchResultsForQueryString_(void *id, void* queryString) { +BOOL NSWorkspace_inst_showSearchResultsForQueryString(void *id, void* queryString) { return [(NSWorkspace*)id showSearchResultsForQueryString: queryString]; } -void NSWorkspace_inst_noteFileSystemChanged_(void *id, void* path) { +void NSWorkspace_inst_noteFileSystemChanged(void *id, void* path) { [(NSWorkspace*)id noteFileSystemChanged: path]; } -long NSWorkspace_inst_extendPowerOffBy_(void *id, long requested) { +long NSWorkspace_inst_extendPowerOffBy(void *id, long requested) { return [(NSWorkspace*)id extendPowerOffBy: requested]; } -void* NSWorkspace_inst_URLsForApplicationsToOpenURL_(void *id, void* url) { +void* NSWorkspace_inst_URLsForApplicationsToOpenURL(void *id, void* url) { return [(NSWorkspace*)id URLsForApplicationsToOpenURL: url]; } -void* NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier_(void *id, void* bundleIdentifier) { +void* NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier(void *id, void* bundleIdentifier) { return [(NSWorkspace*)id URLsForApplicationsWithBundleIdentifier: bundleIdentifier]; } @@ -5462,33 +5462,33 @@ BOOL NSWorkspace_inst_isVoiceOverEnabled(void *id) { isVoiceOverEnabled]; } -void* NSColor_inst_blendedColorWithFraction_ofColor_(void *id, double fraction, void* color) { +void* NSColor_inst_blendedColorWithFraction_ofColor(void *id, double fraction, void* color) { return [(NSColor*)id blendedColorWithFraction: fraction ofColor: color]; } -void* NSColor_inst_colorWithAlphaComponent_(void *id, double alpha) { +void* NSColor_inst_colorWithAlphaComponent(void *id, double alpha) { return [(NSColor*)id colorWithAlphaComponent: alpha]; } -void* NSColor_inst_highlightWithLevel_(void *id, double val) { +void* NSColor_inst_highlightWithLevel(void *id, double val) { return [(NSColor*)id highlightWithLevel: val]; } -void* NSColor_inst_shadowWithLevel_(void *id, double val) { +void* NSColor_inst_shadowWithLevel(void *id, double val) { return [(NSColor*)id shadowWithLevel: val]; } -void NSColor_inst_writeToPasteboard_(void *id, void* pasteBoard) { +void NSColor_inst_writeToPasteboard(void *id, void* pasteBoard) { [(NSColor*)id writeToPasteboard: pasteBoard]; } -void NSColor_inst_drawSwatchInRect_(void *id, NSRect rect) { +void NSColor_inst_drawSwatchInRect(void *id, NSRect rect) { [(NSColor*)id drawSwatchInRect: rect]; } @@ -5588,18 +5588,18 @@ void* NSColor_inst_localizedColorNameComponent(void *id) { localizedColorNameComponent]; } -void* NSTextView_inst_initWithFrame_textContainer_(void *id, NSRect frameRect, void* container) { +void* NSTextView_inst_initWithFrame_textContainer(void *id, NSRect frameRect, void* container) { return [(NSTextView*)id initWithFrame: frameRect textContainer: container]; } -void* NSTextView_inst_initWithFrame_(void *id, NSRect frameRect) { +void* NSTextView_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSTextView*)id initWithFrame: frameRect]; } -void NSTextView_inst_replaceTextContainer_(void *id, void* newContainer) { +void NSTextView_inst_replaceTextContainer(void *id, void* newContainer) { [(NSTextView*)id replaceTextContainer: newContainer]; } @@ -5609,30 +5609,30 @@ void NSTextView_inst_invalidateTextContainerOrigin(void *id) { invalidateTextContainerOrigin]; } -void NSTextView_inst_changeDocumentBackgroundColor_(void *id, void* sender) { +void NSTextView_inst_changeDocumentBackgroundColor(void *id, void* sender) { [(NSTextView*)id changeDocumentBackgroundColor: sender]; } -void NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout_(void *id, NSRect rect, BOOL flag) { +void NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout(void *id, NSRect rect, BOOL flag) { [(NSTextView*)id setNeedsDisplayInRect: rect avoidAdditionalLayout: flag]; } -void NSTextView_inst_drawInsertionPointInRect_color_turnedOn_(void *id, NSRect rect, void* color, BOOL flag) { +void NSTextView_inst_drawInsertionPointInRect_color_turnedOn(void *id, NSRect rect, void* color, BOOL flag) { [(NSTextView*)id drawInsertionPointInRect: rect color: color turnedOn: flag]; } -void NSTextView_inst_drawViewBackgroundInRect_(void *id, NSRect rect) { +void NSTextView_inst_drawViewBackgroundInRect(void *id, NSRect rect) { [(NSTextView*)id drawViewBackgroundInRect: rect]; } -void NSTextView_inst_setConstrainedFrameSize_(void *id, NSSize desiredSize) { +void NSTextView_inst_setConstrainedFrameSize(void *id, NSSize desiredSize) { [(NSTextView*)id setConstrainedFrameSize: desiredSize]; } @@ -5642,32 +5642,32 @@ void NSTextView_inst_cleanUpAfterDragOperation(void *id) { cleanUpAfterDragOperation]; } -void NSTextView_inst_outline_(void *id, void* sender) { +void NSTextView_inst_outline(void *id, void* sender) { [(NSTextView*)id outline: sender]; } -void NSTextView_inst_toggleAutomaticQuoteSubstitution_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticQuoteSubstitution(void *id, void* sender) { [(NSTextView*)id toggleAutomaticQuoteSubstitution: sender]; } -void NSTextView_inst_toggleAutomaticLinkDetection_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticLinkDetection(void *id, void* sender) { [(NSTextView*)id toggleAutomaticLinkDetection: sender]; } -void NSTextView_inst_toggleAutomaticTextCompletion_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticTextCompletion(void *id, void* sender) { [(NSTextView*)id toggleAutomaticTextCompletion: sender]; } -void NSTextView_inst_updateInsertionPointStateAndRestartTimer_(void *id, BOOL restartFlag) { +void NSTextView_inst_updateInsertionPointStateAndRestartTimer(void *id, BOOL restartFlag) { [(NSTextView*)id updateInsertionPointStateAndRestartTimer: restartFlag]; } -unsigned long NSTextView_inst_characterIndexForInsertionAtPoint_(void *id, NSPoint point) { +unsigned long NSTextView_inst_characterIndexForInsertionAtPoint(void *id, NSPoint point) { return [(NSTextView*)id characterIndexForInsertionAtPoint: point]; } @@ -5677,89 +5677,89 @@ void NSTextView_inst_updateCandidates(void *id) { updateCandidates]; } -BOOL NSTextView_inst_readSelectionFromPasteboard_(void *id, void* pboard) { +BOOL NSTextView_inst_readSelectionFromPasteboard(void *id, void* pboard) { return [(NSTextView*)id readSelectionFromPasteboard: pboard]; } -BOOL NSTextView_inst_writeSelectionToPasteboard_types_(void *id, void* pboard, void* types) { +BOOL NSTextView_inst_writeSelectionToPasteboard_types(void *id, void* pboard, void* types) { return [(NSTextView*)id writeSelectionToPasteboard: pboard types: types]; } -void NSTextView_inst_alignJustified_(void *id, void* sender) { +void NSTextView_inst_alignJustified(void *id, void* sender) { [(NSTextView*)id alignJustified: sender]; } -void NSTextView_inst_changeAttributes_(void *id, void* sender) { +void NSTextView_inst_changeAttributes(void *id, void* sender) { [(NSTextView*)id changeAttributes: sender]; } -void NSTextView_inst_changeColor_(void *id, void* sender) { +void NSTextView_inst_changeColor(void *id, void* sender) { [(NSTextView*)id changeColor: sender]; } -void NSTextView_inst_useStandardKerning_(void *id, void* sender) { +void NSTextView_inst_useStandardKerning(void *id, void* sender) { [(NSTextView*)id useStandardKerning: sender]; } -void NSTextView_inst_lowerBaseline_(void *id, void* sender) { +void NSTextView_inst_lowerBaseline(void *id, void* sender) { [(NSTextView*)id lowerBaseline: sender]; } -void NSTextView_inst_raiseBaseline_(void *id, void* sender) { +void NSTextView_inst_raiseBaseline(void *id, void* sender) { [(NSTextView*)id raiseBaseline: sender]; } -void NSTextView_inst_turnOffKerning_(void *id, void* sender) { +void NSTextView_inst_turnOffKerning(void *id, void* sender) { [(NSTextView*)id turnOffKerning: sender]; } -void NSTextView_inst_loosenKerning_(void *id, void* sender) { +void NSTextView_inst_loosenKerning(void *id, void* sender) { [(NSTextView*)id loosenKerning: sender]; } -void NSTextView_inst_tightenKerning_(void *id, void* sender) { +void NSTextView_inst_tightenKerning(void *id, void* sender) { [(NSTextView*)id tightenKerning: sender]; } -void NSTextView_inst_useStandardLigatures_(void *id, void* sender) { +void NSTextView_inst_useStandardLigatures(void *id, void* sender) { [(NSTextView*)id useStandardLigatures: sender]; } -void NSTextView_inst_turnOffLigatures_(void *id, void* sender) { +void NSTextView_inst_turnOffLigatures(void *id, void* sender) { [(NSTextView*)id turnOffLigatures: sender]; } -void NSTextView_inst_useAllLigatures_(void *id, void* sender) { +void NSTextView_inst_useAllLigatures(void *id, void* sender) { [(NSTextView*)id useAllLigatures: sender]; } -void NSTextView_inst_clickedOnLink_atIndex_(void *id, void* link, unsigned long charIndex) { +void NSTextView_inst_clickedOnLink_atIndex(void *id, void* link, unsigned long charIndex) { [(NSTextView*)id clickedOnLink: link atIndex: charIndex]; } -void NSTextView_inst_pasteAsPlainText_(void *id, void* sender) { +void NSTextView_inst_pasteAsPlainText(void *id, void* sender) { [(NSTextView*)id pasteAsPlainText: sender]; } -void NSTextView_inst_pasteAsRichText_(void *id, void* sender) { +void NSTextView_inst_pasteAsRichText(void *id, void* sender) { [(NSTextView*)id pasteAsRichText: sender]; } @@ -5784,7 +5784,7 @@ void NSTextView_inst_updateDragTypeRegistration(void *id) { updateDragTypeRegistration]; } -BOOL NSTextView_inst_shouldChangeTextInRanges_replacementStrings_(void *id, void* affectedRanges, void* replacementStrings) { +BOOL NSTextView_inst_shouldChangeTextInRanges_replacementStrings(void *id, void* affectedRanges, void* replacementStrings) { return [(NSTextView*)id shouldChangeTextInRanges: affectedRanges replacementStrings: replacementStrings]; @@ -5795,104 +5795,104 @@ void NSTextView_inst_didChangeText(void *id) { didChangeText]; } -void NSTextView_inst_toggleSmartInsertDelete_(void *id, void* sender) { +void NSTextView_inst_toggleSmartInsertDelete(void *id, void* sender) { [(NSTextView*)id toggleSmartInsertDelete: sender]; } -void NSTextView_inst_toggleContinuousSpellChecking_(void *id, void* sender) { +void NSTextView_inst_toggleContinuousSpellChecking(void *id, void* sender) { [(NSTextView*)id toggleContinuousSpellChecking: sender]; } -void NSTextView_inst_toggleGrammarChecking_(void *id, void* sender) { +void NSTextView_inst_toggleGrammarChecking(void *id, void* sender) { [(NSTextView*)id toggleGrammarChecking: sender]; } -void NSTextView_inst_orderFrontSharingServicePicker_(void *id, void* sender) { +void NSTextView_inst_orderFrontSharingServicePicker(void *id, void* sender) { [(NSTextView*)id orderFrontSharingServicePicker: sender]; } -BOOL NSTextView_inst_dragSelectionWithEvent_offset_slideBack_(void *id, void* event, NSSize mouseOffset, BOOL slideBack) { +BOOL NSTextView_inst_dragSelectionWithEvent_offset_slideBack(void *id, void* event, NSSize mouseOffset, BOOL slideBack) { return [(NSTextView*)id dragSelectionWithEvent: event offset: mouseOffset slideBack: slideBack]; } -void NSTextView_inst_startSpeaking_(void *id, void* sender) { +void NSTextView_inst_startSpeaking(void *id, void* sender) { [(NSTextView*)id startSpeaking: sender]; } -void NSTextView_inst_stopSpeaking_(void *id, void* sender) { +void NSTextView_inst_stopSpeaking(void *id, void* sender) { [(NSTextView*)id stopSpeaking: sender]; } -void NSTextView_inst_performFindPanelAction_(void *id, void* sender) { +void NSTextView_inst_performFindPanelAction(void *id, void* sender) { [(NSTextView*)id performFindPanelAction: sender]; } -void NSTextView_inst_orderFrontLinkPanel_(void *id, void* sender) { +void NSTextView_inst_orderFrontLinkPanel(void *id, void* sender) { [(NSTextView*)id orderFrontLinkPanel: sender]; } -void NSTextView_inst_orderFrontListPanel_(void *id, void* sender) { +void NSTextView_inst_orderFrontListPanel(void *id, void* sender) { [(NSTextView*)id orderFrontListPanel: sender]; } -void NSTextView_inst_orderFrontSpacingPanel_(void *id, void* sender) { +void NSTextView_inst_orderFrontSpacingPanel(void *id, void* sender) { [(NSTextView*)id orderFrontSpacingPanel: sender]; } -void NSTextView_inst_orderFrontTablePanel_(void *id, void* sender) { +void NSTextView_inst_orderFrontTablePanel(void *id, void* sender) { [(NSTextView*)id orderFrontTablePanel: sender]; } -void NSTextView_inst_orderFrontSubstitutionsPanel_(void *id, void* sender) { +void NSTextView_inst_orderFrontSubstitutionsPanel(void *id, void* sender) { [(NSTextView*)id orderFrontSubstitutionsPanel: sender]; } -void NSTextView_inst_complete_(void *id, void* sender) { +void NSTextView_inst_complete(void *id, void* sender) { [(NSTextView*)id complete: sender]; } -void NSTextView_inst_checkTextInDocument_(void *id, void* sender) { +void NSTextView_inst_checkTextInDocument(void *id, void* sender) { [(NSTextView*)id checkTextInDocument: sender]; } -void NSTextView_inst_checkTextInSelection_(void *id, void* sender) { +void NSTextView_inst_checkTextInSelection(void *id, void* sender) { [(NSTextView*)id checkTextInSelection: sender]; } -void NSTextView_inst_toggleAutomaticDashSubstitution_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticDashSubstitution(void *id, void* sender) { [(NSTextView*)id toggleAutomaticDashSubstitution: sender]; } -void NSTextView_inst_toggleAutomaticDataDetection_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticDataDetection(void *id, void* sender) { [(NSTextView*)id toggleAutomaticDataDetection: sender]; } -void NSTextView_inst_toggleAutomaticSpellingCorrection_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticSpellingCorrection(void *id, void* sender) { [(NSTextView*)id toggleAutomaticSpellingCorrection: sender]; } -void NSTextView_inst_toggleAutomaticTextReplacement_(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticTextReplacement(void *id, void* sender) { [(NSTextView*)id toggleAutomaticTextReplacement: sender]; } @@ -5902,17 +5902,17 @@ void NSTextView_inst_updateQuickLookPreviewPanel(void *id) { updateQuickLookPreviewPanel]; } -void NSTextView_inst_toggleQuickLookPreviewPanel_(void *id, void* sender) { +void NSTextView_inst_toggleQuickLookPreviewPanel(void *id, void* sender) { [(NSTextView*)id toggleQuickLookPreviewPanel: sender]; } -void* NSTextView_inst_quickLookPreviewableItemsInRanges_(void *id, void* ranges) { +void* NSTextView_inst_quickLookPreviewableItemsInRanges(void *id, void* ranges) { return [(NSTextView*)id quickLookPreviewableItemsInRanges: ranges]; } -void NSTextView_inst_changeLayoutOrientation_(void *id, void* sender) { +void NSTextView_inst_changeLayoutOrientation(void *id, void* sender) { [(NSTextView*)id changeLayoutOrientation: sender]; } @@ -5937,7 +5937,7 @@ void* NSTextView_inst_delegate(void *id) { delegate]; } -void NSTextView_inst_setDelegate_(void *id, void* value) { +void NSTextView_inst_setDelegate(void *id, void* value) { [(NSTextView*)id setDelegate: value]; } @@ -5947,7 +5947,7 @@ void* NSTextView_inst_textContainer(void *id) { textContainer]; } -void NSTextView_inst_setTextContainer_(void *id, void* value) { +void NSTextView_inst_setTextContainer(void *id, void* value) { [(NSTextView*)id setTextContainer: value]; } @@ -5957,7 +5957,7 @@ NSSize NSTextView_inst_textContainerInset(void *id) { textContainerInset]; } -void NSTextView_inst_setTextContainerInset_(void *id, NSSize value) { +void NSTextView_inst_setTextContainerInset(void *id, NSSize value) { [(NSTextView*)id setTextContainerInset: value]; } @@ -5977,7 +5977,7 @@ void* NSTextView_inst_backgroundColor(void *id) { backgroundColor]; } -void NSTextView_inst_setBackgroundColor_(void *id, void* value) { +void NSTextView_inst_setBackgroundColor(void *id, void* value) { [(NSTextView*)id setBackgroundColor: value]; } @@ -5987,7 +5987,7 @@ BOOL NSTextView_inst_drawsBackground(void *id) { drawsBackground]; } -void NSTextView_inst_setDrawsBackground_(void *id, BOOL value) { +void NSTextView_inst_setDrawsBackground(void *id, BOOL value) { [(NSTextView*)id setDrawsBackground: value]; } @@ -5997,7 +5997,7 @@ BOOL NSTextView_inst_allowsDocumentBackgroundColorChange(void *id) { allowsDocumentBackgroundColorChange]; } -void NSTextView_inst_setAllowsDocumentBackgroundColorChange_(void *id, BOOL value) { +void NSTextView_inst_setAllowsDocumentBackgroundColorChange(void *id, BOOL value) { [(NSTextView*)id setAllowsDocumentBackgroundColorChange: value]; } @@ -6012,7 +6012,7 @@ void* NSTextView_inst_allowedInputSourceLocales(void *id) { allowedInputSourceLocales]; } -void NSTextView_inst_setAllowedInputSourceLocales_(void *id, void* value) { +void NSTextView_inst_setAllowedInputSourceLocales(void *id, void* value) { [(NSTextView*)id setAllowedInputSourceLocales: value]; } @@ -6022,7 +6022,7 @@ BOOL NSTextView_inst_allowsUndo(void *id) { allowsUndo]; } -void NSTextView_inst_setAllowsUndo_(void *id, BOOL value) { +void NSTextView_inst_setAllowsUndo(void *id, BOOL value) { [(NSTextView*)id setAllowsUndo: value]; } @@ -6032,7 +6032,7 @@ BOOL NSTextView_inst_isEditable(void *id) { isEditable]; } -void NSTextView_inst_setEditable_(void *id, BOOL value) { +void NSTextView_inst_setEditable(void *id, BOOL value) { [(NSTextView*)id setEditable: value]; } @@ -6042,7 +6042,7 @@ BOOL NSTextView_inst_isSelectable(void *id) { isSelectable]; } -void NSTextView_inst_setSelectable_(void *id, BOOL value) { +void NSTextView_inst_setSelectable(void *id, BOOL value) { [(NSTextView*)id setSelectable: value]; } @@ -6052,7 +6052,7 @@ BOOL NSTextView_inst_isFieldEditor(void *id) { isFieldEditor]; } -void NSTextView_inst_setFieldEditor_(void *id, BOOL value) { +void NSTextView_inst_setFieldEditor(void *id, BOOL value) { [(NSTextView*)id setFieldEditor: value]; } @@ -6062,7 +6062,7 @@ BOOL NSTextView_inst_isRichText(void *id) { isRichText]; } -void NSTextView_inst_setRichText_(void *id, BOOL value) { +void NSTextView_inst_setRichText(void *id, BOOL value) { [(NSTextView*)id setRichText: value]; } @@ -6072,7 +6072,7 @@ BOOL NSTextView_inst_importsGraphics(void *id) { importsGraphics]; } -void NSTextView_inst_setImportsGraphics_(void *id, BOOL value) { +void NSTextView_inst_setImportsGraphics(void *id, BOOL value) { [(NSTextView*)id setImportsGraphics: value]; } @@ -6082,7 +6082,7 @@ BOOL NSTextView_inst_allowsImageEditing(void *id) { allowsImageEditing]; } -void NSTextView_inst_setAllowsImageEditing_(void *id, BOOL value) { +void NSTextView_inst_setAllowsImageEditing(void *id, BOOL value) { [(NSTextView*)id setAllowsImageEditing: value]; } @@ -6092,7 +6092,7 @@ BOOL NSTextView_inst_isAutomaticQuoteSubstitutionEnabled(void *id) { isAutomaticQuoteSubstitutionEnabled]; } -void NSTextView_inst_setAutomaticQuoteSubstitutionEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticQuoteSubstitutionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticQuoteSubstitutionEnabled: value]; } @@ -6102,7 +6102,7 @@ BOOL NSTextView_inst_isAutomaticLinkDetectionEnabled(void *id) { isAutomaticLinkDetectionEnabled]; } -void NSTextView_inst_setAutomaticLinkDetectionEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticLinkDetectionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticLinkDetectionEnabled: value]; } @@ -6112,7 +6112,7 @@ BOOL NSTextView_inst_displaysLinkToolTips(void *id) { displaysLinkToolTips]; } -void NSTextView_inst_setDisplaysLinkToolTips_(void *id, BOOL value) { +void NSTextView_inst_setDisplaysLinkToolTips(void *id, BOOL value) { [(NSTextView*)id setDisplaysLinkToolTips: value]; } @@ -6122,7 +6122,7 @@ BOOL NSTextView_inst_isAutomaticTextCompletionEnabled(void *id) { isAutomaticTextCompletionEnabled]; } -void NSTextView_inst_setAutomaticTextCompletionEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticTextCompletionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticTextCompletionEnabled: value]; } @@ -6132,7 +6132,7 @@ BOOL NSTextView_inst_usesAdaptiveColorMappingForDarkAppearance(void *id) { usesAdaptiveColorMappingForDarkAppearance]; } -void NSTextView_inst_setUsesAdaptiveColorMappingForDarkAppearance_(void *id, BOOL value) { +void NSTextView_inst_setUsesAdaptiveColorMappingForDarkAppearance(void *id, BOOL value) { [(NSTextView*)id setUsesAdaptiveColorMappingForDarkAppearance: value]; } @@ -6142,7 +6142,7 @@ BOOL NSTextView_inst_usesRolloverButtonForSelection(void *id) { usesRolloverButtonForSelection]; } -void NSTextView_inst_setUsesRolloverButtonForSelection_(void *id, BOOL value) { +void NSTextView_inst_setUsesRolloverButtonForSelection(void *id, BOOL value) { [(NSTextView*)id setUsesRolloverButtonForSelection: value]; } @@ -6152,7 +6152,7 @@ BOOL NSTextView_inst_usesRuler(void *id) { usesRuler]; } -void NSTextView_inst_setUsesRuler_(void *id, BOOL value) { +void NSTextView_inst_setUsesRuler(void *id, BOOL value) { [(NSTextView*)id setUsesRuler: value]; } @@ -6162,7 +6162,7 @@ BOOL NSTextView_inst_isRulerVisible(void *id) { isRulerVisible]; } -void NSTextView_inst_setRulerVisible_(void *id, BOOL value) { +void NSTextView_inst_setRulerVisible(void *id, BOOL value) { [(NSTextView*)id setRulerVisible: value]; } @@ -6172,7 +6172,7 @@ BOOL NSTextView_inst_usesInspectorBar(void *id) { usesInspectorBar]; } -void NSTextView_inst_setUsesInspectorBar_(void *id, BOOL value) { +void NSTextView_inst_setUsesInspectorBar(void *id, BOOL value) { [(NSTextView*)id setUsesInspectorBar: value]; } @@ -6182,7 +6182,7 @@ void* NSTextView_inst_selectedRanges(void *id) { selectedRanges]; } -void NSTextView_inst_setSelectedRanges_(void *id, void* value) { +void NSTextView_inst_setSelectedRanges(void *id, void* value) { [(NSTextView*)id setSelectedRanges: value]; } @@ -6192,7 +6192,7 @@ void* NSTextView_inst_insertionPointColor(void *id) { insertionPointColor]; } -void NSTextView_inst_setInsertionPointColor_(void *id, void* value) { +void NSTextView_inst_setInsertionPointColor(void *id, void* value) { [(NSTextView*)id setInsertionPointColor: value]; } @@ -6202,7 +6202,7 @@ void* NSTextView_inst_selectedTextAttributes(void *id) { selectedTextAttributes]; } -void NSTextView_inst_setSelectedTextAttributes_(void *id, void* value) { +void NSTextView_inst_setSelectedTextAttributes(void *id, void* value) { [(NSTextView*)id setSelectedTextAttributes: value]; } @@ -6212,7 +6212,7 @@ void* NSTextView_inst_markedTextAttributes(void *id) { markedTextAttributes]; } -void NSTextView_inst_setMarkedTextAttributes_(void *id, void* value) { +void NSTextView_inst_setMarkedTextAttributes(void *id, void* value) { [(NSTextView*)id setMarkedTextAttributes: value]; } @@ -6222,7 +6222,7 @@ void* NSTextView_inst_linkTextAttributes(void *id) { linkTextAttributes]; } -void NSTextView_inst_setLinkTextAttributes_(void *id, void* value) { +void NSTextView_inst_setLinkTextAttributes(void *id, void* value) { [(NSTextView*)id setLinkTextAttributes: value]; } @@ -6242,7 +6242,7 @@ void* NSTextView_inst_typingAttributes(void *id) { typingAttributes]; } -void NSTextView_inst_setTypingAttributes_(void *id, void* value) { +void NSTextView_inst_setTypingAttributes(void *id, void* value) { [(NSTextView*)id setTypingAttributes: value]; } @@ -6277,7 +6277,7 @@ BOOL NSTextView_inst_smartInsertDeleteEnabled(void *id) { smartInsertDeleteEnabled]; } -void NSTextView_inst_setSmartInsertDeleteEnabled_(void *id, BOOL value) { +void NSTextView_inst_setSmartInsertDeleteEnabled(void *id, BOOL value) { [(NSTextView*)id setSmartInsertDeleteEnabled: value]; } @@ -6287,7 +6287,7 @@ BOOL NSTextView_inst_isContinuousSpellCheckingEnabled(void *id) { isContinuousSpellCheckingEnabled]; } -void NSTextView_inst_setContinuousSpellCheckingEnabled_(void *id, BOOL value) { +void NSTextView_inst_setContinuousSpellCheckingEnabled(void *id, BOOL value) { [(NSTextView*)id setContinuousSpellCheckingEnabled: value]; } @@ -6302,7 +6302,7 @@ BOOL NSTextView_inst_isGrammarCheckingEnabled(void *id) { isGrammarCheckingEnabled]; } -void NSTextView_inst_setGrammarCheckingEnabled_(void *id, BOOL value) { +void NSTextView_inst_setGrammarCheckingEnabled(void *id, BOOL value) { [(NSTextView*)id setGrammarCheckingEnabled: value]; } @@ -6312,7 +6312,7 @@ BOOL NSTextView_inst_acceptsGlyphInfo(void *id) { acceptsGlyphInfo]; } -void NSTextView_inst_setAcceptsGlyphInfo_(void *id, BOOL value) { +void NSTextView_inst_setAcceptsGlyphInfo(void *id, BOOL value) { [(NSTextView*)id setAcceptsGlyphInfo: value]; } @@ -6322,7 +6322,7 @@ BOOL NSTextView_inst_usesFontPanel(void *id) { usesFontPanel]; } -void NSTextView_inst_setUsesFontPanel_(void *id, BOOL value) { +void NSTextView_inst_setUsesFontPanel(void *id, BOOL value) { [(NSTextView*)id setUsesFontPanel: value]; } @@ -6332,7 +6332,7 @@ BOOL NSTextView_inst_usesFindPanel(void *id) { usesFindPanel]; } -void NSTextView_inst_setUsesFindPanel_(void *id, BOOL value) { +void NSTextView_inst_setUsesFindPanel(void *id, BOOL value) { [(NSTextView*)id setUsesFindPanel: value]; } @@ -6342,7 +6342,7 @@ BOOL NSTextView_inst_isAutomaticDashSubstitutionEnabled(void *id) { isAutomaticDashSubstitutionEnabled]; } -void NSTextView_inst_setAutomaticDashSubstitutionEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticDashSubstitutionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticDashSubstitutionEnabled: value]; } @@ -6352,7 +6352,7 @@ BOOL NSTextView_inst_isAutomaticDataDetectionEnabled(void *id) { isAutomaticDataDetectionEnabled]; } -void NSTextView_inst_setAutomaticDataDetectionEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticDataDetectionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticDataDetectionEnabled: value]; } @@ -6362,7 +6362,7 @@ BOOL NSTextView_inst_isAutomaticSpellingCorrectionEnabled(void *id) { isAutomaticSpellingCorrectionEnabled]; } -void NSTextView_inst_setAutomaticSpellingCorrectionEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticSpellingCorrectionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticSpellingCorrectionEnabled: value]; } @@ -6372,7 +6372,7 @@ BOOL NSTextView_inst_isAutomaticTextReplacementEnabled(void *id) { isAutomaticTextReplacementEnabled]; } -void NSTextView_inst_setAutomaticTextReplacementEnabled_(void *id, BOOL value) { +void NSTextView_inst_setAutomaticTextReplacementEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticTextReplacementEnabled: value]; } @@ -6382,7 +6382,7 @@ BOOL NSTextView_inst_usesFindBar(void *id) { usesFindBar]; } -void NSTextView_inst_setUsesFindBar_(void *id, BOOL value) { +void NSTextView_inst_setUsesFindBar(void *id, BOOL value) { [(NSTextView*)id setUsesFindBar: value]; } @@ -6392,7 +6392,7 @@ BOOL NSTextView_inst_isIncrementalSearchingEnabled(void *id) { isIncrementalSearchingEnabled]; } -void NSTextView_inst_setIncrementalSearchingEnabled_(void *id, BOOL value) { +void NSTextView_inst_setIncrementalSearchingEnabled(void *id, BOOL value) { [(NSTextView*)id setIncrementalSearchingEnabled: value]; } @@ -6402,7 +6402,7 @@ BOOL NSTextView_inst_allowsCharacterPickerTouchBarItem(void *id) { allowsCharacterPickerTouchBarItem]; } -void NSTextView_inst_setAllowsCharacterPickerTouchBarItem_(void *id, BOOL value) { +void NSTextView_inst_setAllowsCharacterPickerTouchBarItem(void *id, BOOL value) { [(NSTextView*)id setAllowsCharacterPickerTouchBarItem: value]; } @@ -6412,12 +6412,12 @@ void* NSTextView_inst_font(void *id) { font]; } -void NSTextView_inst_setFont_(void *id, void* value) { +void NSTextView_inst_setFont(void *id, void* value) { [(NSTextView*)id setFont: value]; } -void* NSView_inst_initWithFrame_(void *id, NSRect frameRect) { +void* NSView_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSView*)id initWithFrame: frameRect]; } @@ -6427,19 +6427,19 @@ void NSView_inst_prepareForReuse(void *id) { prepareForReuse]; } -void NSView_inst_addSubview_(void *id, void* view) { +void NSView_inst_addSubview(void *id, void* view) { [(NSView*)id addSubview: view]; } -void NSView_inst_addSubview_positioned_relativeTo_(void *id, void* view, unsigned long place, void* otherView) { +void NSView_inst_addSubview_positioned_relativeTo(void *id, void* view, unsigned long place, void* otherView) { [(NSView*)id addSubview: view positioned: place relativeTo: otherView]; } -void NSView_inst_didAddSubview_(void *id, void* subview) { +void NSView_inst_didAddSubview(void *id, void* subview) { [(NSView*)id didAddSubview: subview]; } @@ -6454,18 +6454,18 @@ void NSView_inst_removeFromSuperviewWithoutNeedingDisplay(void *id) { removeFromSuperviewWithoutNeedingDisplay]; } -void NSView_inst_replaceSubview_with_(void *id, void* oldView, void* newView) { +void NSView_inst_replaceSubview_with(void *id, void* oldView, void* newView) { [(NSView*)id replaceSubview: oldView with: newView]; } -BOOL NSView_inst_isDescendantOf_(void *id, void* view) { +BOOL NSView_inst_isDescendantOf(void *id, void* view) { return [(NSView*)id isDescendantOf: view]; } -void* NSView_inst_ancestorSharedWithView_(void *id, void* view) { +void* NSView_inst_ancestorSharedWithView(void *id, void* view) { return [(NSView*)id ancestorSharedWithView: view]; } @@ -6480,37 +6480,37 @@ void NSView_inst_viewDidMoveToWindow(void *id) { viewDidMoveToWindow]; } -void NSView_inst_viewWillMoveToSuperview_(void *id, void* newSuperview) { +void NSView_inst_viewWillMoveToSuperview(void *id, void* newSuperview) { [(NSView*)id viewWillMoveToSuperview: newSuperview]; } -void NSView_inst_viewWillMoveToWindow_(void *id, void* newWindow) { +void NSView_inst_viewWillMoveToWindow(void *id, void* newWindow) { [(NSView*)id viewWillMoveToWindow: newWindow]; } -void NSView_inst_willRemoveSubview_(void *id, void* subview) { +void NSView_inst_willRemoveSubview(void *id, void* subview) { [(NSView*)id willRemoveSubview: subview]; } -void NSView_inst_setFrameOrigin_(void *id, NSPoint newOrigin) { +void NSView_inst_setFrameOrigin(void *id, NSPoint newOrigin) { [(NSView*)id setFrameOrigin: newOrigin]; } -void NSView_inst_setFrameSize_(void *id, NSSize newSize) { +void NSView_inst_setFrameSize(void *id, NSSize newSize) { [(NSView*)id setFrameSize: newSize]; } -void NSView_inst_setBoundsOrigin_(void *id, NSPoint newOrigin) { +void NSView_inst_setBoundsOrigin(void *id, NSPoint newOrigin) { [(NSView*)id setBoundsOrigin: newOrigin]; } -void NSView_inst_setBoundsSize_(void *id, NSSize newSize) { +void NSView_inst_setBoundsSize(void *id, NSSize newSize) { [(NSView*)id setBoundsSize: newSize]; } @@ -6525,65 +6525,65 @@ void NSView_inst_updateLayer(void *id) { updateLayer]; } -void NSView_inst_drawRect_(void *id, NSRect dirtyRect) { +void NSView_inst_drawRect(void *id, NSRect dirtyRect) { [(NSView*)id drawRect: dirtyRect]; } -BOOL NSView_inst_needsToDrawRect_(void *id, NSRect rect) { +BOOL NSView_inst_needsToDrawRect(void *id, NSRect rect) { return [(NSView*)id needsToDrawRect: rect]; } -void NSView_inst_print_(void *id, void* sender) { +void NSView_inst_print(void *id, void* sender) { [(NSView*)id print: sender]; } -void NSView_inst_beginPageInRect_atPlacement_(void *id, NSRect rect, NSPoint location) { +void NSView_inst_beginPageInRect_atPlacement(void *id, NSRect rect, NSPoint location) { [(NSView*)id beginPageInRect: rect atPlacement: location]; } -void* NSView_inst_dataWithEPSInsideRect_(void *id, NSRect rect) { +void* NSView_inst_dataWithEPSInsideRect(void *id, NSRect rect) { return [(NSView*)id dataWithEPSInsideRect: rect]; } -void* NSView_inst_dataWithPDFInsideRect_(void *id, NSRect rect) { +void* NSView_inst_dataWithPDFInsideRect(void *id, NSRect rect) { return [(NSView*)id dataWithPDFInsideRect: rect]; } -void NSView_inst_writeEPSInsideRect_toPasteboard_(void *id, NSRect rect, void* pasteboard) { +void NSView_inst_writeEPSInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { [(NSView*)id writeEPSInsideRect: rect toPasteboard: pasteboard]; } -void NSView_inst_writePDFInsideRect_toPasteboard_(void *id, NSRect rect, void* pasteboard) { +void NSView_inst_writePDFInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { [(NSView*)id writePDFInsideRect: rect toPasteboard: pasteboard]; } -void NSView_inst_drawPageBorderWithSize_(void *id, NSSize borderSize) { +void NSView_inst_drawPageBorderWithSize(void *id, NSSize borderSize) { [(NSView*)id drawPageBorderWithSize: borderSize]; } -NSRect NSView_inst_rectForPage_(void *id, long page) { +NSRect NSView_inst_rectForPage(void *id, long page) { return [(NSView*)id rectForPage: page]; } -NSPoint NSView_inst_locationOfPrintRect_(void *id, NSRect rect) { +NSPoint NSView_inst_locationOfPrintRect(void *id, NSRect rect) { return [(NSView*)id locationOfPrintRect: rect]; } -void NSView_inst_setNeedsDisplayInRect_(void *id, NSRect invalidRect) { +void NSView_inst_setNeedsDisplayInRect(void *id, NSRect invalidRect) { [(NSView*)id setNeedsDisplayInRect: invalidRect]; } @@ -6593,12 +6593,12 @@ void NSView_inst_display(void *id) { display]; } -void NSView_inst_displayRect_(void *id, NSRect rect) { +void NSView_inst_displayRect(void *id, NSRect rect) { [(NSView*)id displayRect: rect]; } -void NSView_inst_displayRectIgnoringOpacity_(void *id, NSRect rect) { +void NSView_inst_displayRectIgnoringOpacity(void *id, NSRect rect) { [(NSView*)id displayRectIgnoringOpacity: rect]; } @@ -6608,7 +6608,7 @@ void NSView_inst_displayIfNeeded(void *id) { displayIfNeeded]; } -void NSView_inst_displayIfNeededInRect_(void *id, NSRect rect) { +void NSView_inst_displayIfNeededInRect(void *id, NSRect rect) { [(NSView*)id displayIfNeededInRect: rect]; } @@ -6618,12 +6618,12 @@ void NSView_inst_displayIfNeededIgnoringOpacity(void *id) { displayIfNeededIgnoringOpacity]; } -void NSView_inst_displayIfNeededInRectIgnoringOpacity_(void *id, NSRect rect) { +void NSView_inst_displayIfNeededInRectIgnoringOpacity(void *id, NSRect rect) { [(NSView*)id displayIfNeededInRectIgnoringOpacity: rect]; } -void NSView_inst_translateRectsNeedingDisplayInRect_by_(void *id, NSRect clipRect, NSSize delta) { +void NSView_inst_translateRectsNeedingDisplayInRect_by(void *id, NSRect clipRect, NSSize delta) { [(NSView*)id translateRectsNeedingDisplayInRect: clipRect by: delta]; @@ -6634,138 +6634,138 @@ void NSView_inst_viewWillDraw(void *id) { viewWillDraw]; } -NSPoint NSView_inst_convertPointFromBacking_(void *id, NSPoint point) { +NSPoint NSView_inst_convertPointFromBacking(void *id, NSPoint point) { return [(NSView*)id convertPointFromBacking: point]; } -NSPoint NSView_inst_convertPointToBacking_(void *id, NSPoint point) { +NSPoint NSView_inst_convertPointToBacking(void *id, NSPoint point) { return [(NSView*)id convertPointToBacking: point]; } -NSPoint NSView_inst_convertPointFromLayer_(void *id, NSPoint point) { +NSPoint NSView_inst_convertPointFromLayer(void *id, NSPoint point) { return [(NSView*)id convertPointFromLayer: point]; } -NSPoint NSView_inst_convertPointToLayer_(void *id, NSPoint point) { +NSPoint NSView_inst_convertPointToLayer(void *id, NSPoint point) { return [(NSView*)id convertPointToLayer: point]; } -NSRect NSView_inst_convertRectFromBacking_(void *id, NSRect rect) { +NSRect NSView_inst_convertRectFromBacking(void *id, NSRect rect) { return [(NSView*)id convertRectFromBacking: rect]; } -NSRect NSView_inst_convertRectToBacking_(void *id, NSRect rect) { +NSRect NSView_inst_convertRectToBacking(void *id, NSRect rect) { return [(NSView*)id convertRectToBacking: rect]; } -NSRect NSView_inst_convertRectFromLayer_(void *id, NSRect rect) { +NSRect NSView_inst_convertRectFromLayer(void *id, NSRect rect) { return [(NSView*)id convertRectFromLayer: rect]; } -NSRect NSView_inst_convertRectToLayer_(void *id, NSRect rect) { +NSRect NSView_inst_convertRectToLayer(void *id, NSRect rect) { return [(NSView*)id convertRectToLayer: rect]; } -NSSize NSView_inst_convertSizeFromBacking_(void *id, NSSize size) { +NSSize NSView_inst_convertSizeFromBacking(void *id, NSSize size) { return [(NSView*)id convertSizeFromBacking: size]; } -NSSize NSView_inst_convertSizeToBacking_(void *id, NSSize size) { +NSSize NSView_inst_convertSizeToBacking(void *id, NSSize size) { return [(NSView*)id convertSizeToBacking: size]; } -NSSize NSView_inst_convertSizeFromLayer_(void *id, NSSize size) { +NSSize NSView_inst_convertSizeFromLayer(void *id, NSSize size) { return [(NSView*)id convertSizeFromLayer: size]; } -NSSize NSView_inst_convertSizeToLayer_(void *id, NSSize size) { +NSSize NSView_inst_convertSizeToLayer(void *id, NSSize size) { return [(NSView*)id convertSizeToLayer: size]; } -NSPoint NSView_inst_convertPoint_fromView_(void *id, NSPoint point, void* view) { +NSPoint NSView_inst_convertPoint_fromView(void *id, NSPoint point, void* view) { return [(NSView*)id convertPoint: point fromView: view]; } -NSPoint NSView_inst_convertPoint_toView_(void *id, NSPoint point, void* view) { +NSPoint NSView_inst_convertPoint_toView(void *id, NSPoint point, void* view) { return [(NSView*)id convertPoint: point toView: view]; } -NSSize NSView_inst_convertSize_fromView_(void *id, NSSize size, void* view) { +NSSize NSView_inst_convertSize_fromView(void *id, NSSize size, void* view) { return [(NSView*)id convertSize: size fromView: view]; } -NSSize NSView_inst_convertSize_toView_(void *id, NSSize size, void* view) { +NSSize NSView_inst_convertSize_toView(void *id, NSSize size, void* view) { return [(NSView*)id convertSize: size toView: view]; } -NSRect NSView_inst_convertRect_fromView_(void *id, NSRect rect, void* view) { +NSRect NSView_inst_convertRect_fromView(void *id, NSRect rect, void* view) { return [(NSView*)id convertRect: rect fromView: view]; } -NSRect NSView_inst_convertRect_toView_(void *id, NSRect rect, void* view) { +NSRect NSView_inst_convertRect_toView(void *id, NSRect rect, void* view) { return [(NSView*)id convertRect: rect toView: view]; } -NSRect NSView_inst_centerScanRect_(void *id, NSRect rect) { +NSRect NSView_inst_centerScanRect(void *id, NSRect rect) { return [(NSView*)id centerScanRect: rect]; } -void NSView_inst_translateOriginToPoint_(void *id, NSPoint translation) { +void NSView_inst_translateOriginToPoint(void *id, NSPoint translation) { [(NSView*)id translateOriginToPoint: translation]; } -void NSView_inst_scaleUnitSquareToSize_(void *id, NSSize newUnitSize) { +void NSView_inst_scaleUnitSquareToSize(void *id, NSSize newUnitSize) { [(NSView*)id scaleUnitSquareToSize: newUnitSize]; } -void NSView_inst_rotateByAngle_(void *id, double angle) { +void NSView_inst_rotateByAngle(void *id, double angle) { [(NSView*)id rotateByAngle: angle]; } -void NSView_inst_resizeSubviewsWithOldSize_(void *id, NSSize oldSize) { +void NSView_inst_resizeSubviewsWithOldSize(void *id, NSSize oldSize) { [(NSView*)id resizeSubviewsWithOldSize: oldSize]; } -void NSView_inst_resizeWithOldSuperviewSize_(void *id, NSSize oldSize) { +void NSView_inst_resizeWithOldSuperviewSize(void *id, NSSize oldSize) { [(NSView*)id resizeWithOldSuperviewSize: oldSize]; } -void NSView_inst_addConstraints_(void *id, void* constraints) { +void NSView_inst_addConstraints(void *id, void* constraints) { [(NSView*)id addConstraints: constraints]; } -void NSView_inst_removeConstraints_(void *id, void* constraints) { +void NSView_inst_removeConstraints(void *id, void* constraints) { [(NSView*)id removeConstraints: constraints]; } @@ -6775,12 +6775,12 @@ void NSView_inst_invalidateIntrinsicContentSize(void *id) { invalidateIntrinsicContentSize]; } -NSRect NSView_inst_alignmentRectForFrame_(void *id, NSRect frame) { +NSRect NSView_inst_alignmentRectForFrame(void *id, NSRect frame) { return [(NSView*)id alignmentRectForFrame: frame]; } -NSRect NSView_inst_frameForAlignmentRect_(void *id, NSRect alignmentRect) { +NSRect NSView_inst_frameForAlignmentRect(void *id, NSRect alignmentRect) { return [(NSView*)id frameForAlignmentRect: alignmentRect]; } @@ -6820,18 +6820,18 @@ void NSView_inst_noteFocusRingMaskChanged(void *id) { noteFocusRingMaskChanged]; } -void NSView_inst_setKeyboardFocusRingNeedsDisplayInRect_(void *id, NSRect rect) { +void NSView_inst_setKeyboardFocusRingNeedsDisplayInRect(void *id, NSRect rect) { [(NSView*)id setKeyboardFocusRingNeedsDisplayInRect: rect]; } -BOOL NSView_inst_enterFullScreenMode_withOptions_(void *id, void* screen, void* options) { +BOOL NSView_inst_enterFullScreenMode_withOptions(void *id, void* screen, void* options) { return [(NSView*)id enterFullScreenMode: screen withOptions: options]; } -void NSView_inst_exitFullScreenModeWithOptions_(void *id, void* options) { +void NSView_inst_exitFullScreenModeWithOptions(void *id, void* options) { [(NSView*)id exitFullScreenModeWithOptions: options]; } @@ -6856,53 +6856,53 @@ void NSView_inst_viewDidEndLiveResize(void *id) { viewDidEndLiveResize]; } -BOOL NSView_inst_acceptsFirstMouse_(void *id, void* event) { +BOOL NSView_inst_acceptsFirstMouse(void *id, void* event) { return [(NSView*)id acceptsFirstMouse: event]; } -void* NSView_inst_hitTest_(void *id, NSPoint point) { +void* NSView_inst_hitTest(void *id, NSPoint point) { return [(NSView*)id hitTest: point]; } -BOOL NSView_inst_mouse_inRect_(void *id, NSPoint point, NSRect rect) { +BOOL NSView_inst_mouse_inRect(void *id, NSPoint point, NSRect rect) { return [(NSView*)id mouse: point inRect: rect]; } -BOOL NSView_inst_performKeyEquivalent_(void *id, void* event) { +BOOL NSView_inst_performKeyEquivalent(void *id, void* event) { return [(NSView*)id performKeyEquivalent: event]; } -void NSView_inst_prepareContentInRect_(void *id, NSRect rect) { +void NSView_inst_prepareContentInRect(void *id, NSRect rect) { [(NSView*)id prepareContentInRect: rect]; } -void NSView_inst_scrollPoint_(void *id, NSPoint point) { +void NSView_inst_scrollPoint(void *id, NSPoint point) { [(NSView*)id scrollPoint: point]; } -BOOL NSView_inst_scrollRectToVisible_(void *id, NSRect rect) { +BOOL NSView_inst_scrollRectToVisible(void *id, NSRect rect) { return [(NSView*)id scrollRectToVisible: rect]; } -BOOL NSView_inst_autoscroll_(void *id, void* event) { +BOOL NSView_inst_autoscroll(void *id, void* event) { return [(NSView*)id autoscroll: event]; } -NSRect NSView_inst_adjustScroll_(void *id, NSRect newVisible) { +NSRect NSView_inst_adjustScroll(void *id, NSRect newVisible) { return [(NSView*)id adjustScroll: newVisible]; } -void NSView_inst_registerForDraggedTypes_(void *id, void* newTypes) { +void NSView_inst_registerForDraggedTypes(void *id, void* newTypes) { [(NSView*)id registerForDraggedTypes: newTypes]; } @@ -6912,12 +6912,12 @@ void NSView_inst_unregisterDraggedTypes(void *id) { unregisterDraggedTypes]; } -BOOL NSView_inst_shouldDelayWindowOrderingForEvent_(void *id, void* event) { +BOOL NSView_inst_shouldDelayWindowOrderingForEvent(void *id, void* event) { return [(NSView*)id shouldDelayWindowOrderingForEvent: event]; } -NSRect NSView_inst_rectForSmartMagnificationAtPoint_inRect_(void *id, NSPoint location, NSRect visibleRect) { +NSRect NSView_inst_rectForSmartMagnificationAtPoint_inRect(void *id, NSPoint location, NSRect visibleRect) { return [(NSView*)id rectForSmartMagnificationAtPoint: location inRect: visibleRect]; @@ -6928,7 +6928,7 @@ void NSView_inst_viewDidChangeBackingProperties(void *id) { viewDidChangeBackingProperties]; } -void* NSView_inst_viewWithTag_(void *id, long tag) { +void* NSView_inst_viewWithTag(void *id, long tag) { return [(NSView*)id viewWithTag: tag]; } @@ -6953,18 +6953,18 @@ void NSView_inst_resetCursorRects(void *id) { resetCursorRects]; } -void* NSView_inst_menuForEvent_(void *id, void* event) { +void* NSView_inst_menuForEvent(void *id, void* event) { return [(NSView*)id menuForEvent: event]; } -void NSView_inst_willOpenMenu_withEvent_(void *id, void* menu, void* event) { +void NSView_inst_willOpenMenu_withEvent(void *id, void* menu, void* event) { [(NSView*)id willOpenMenu: menu withEvent: event]; } -void NSView_inst_didCloseMenu_withEvent_(void *id, void* menu, void* event) { +void NSView_inst_didCloseMenu_withEvent(void *id, void* menu, void* event) { [(NSView*)id didCloseMenu: menu withEvent: event]; @@ -6985,7 +6985,7 @@ void NSView_inst_endPage(void *id) { endPage]; } -void NSView_inst_showDefinitionForAttributedString_atPoint_(void *id, void* attrString, NSPoint textBaselineOrigin) { +void NSView_inst_showDefinitionForAttributedString_atPoint(void *id, void* attrString, NSPoint textBaselineOrigin) { [(NSView*)id showDefinitionForAttributedString: attrString atPoint: textBaselineOrigin]; @@ -7011,7 +7011,7 @@ void* NSView_inst_subviews(void *id) { subviews]; } -void NSView_inst_setSubviews_(void *id, void* value) { +void NSView_inst_setSubviews(void *id, void* value) { [(NSView*)id setSubviews: value]; } @@ -7036,7 +7036,7 @@ NSRect NSView_inst_frame(void *id) { frame]; } -void NSView_inst_setFrame_(void *id, NSRect value) { +void NSView_inst_setFrame(void *id, NSRect value) { [(NSView*)id setFrame: value]; } @@ -7046,7 +7046,7 @@ double NSView_inst_frameRotation(void *id) { frameRotation]; } -void NSView_inst_setFrameRotation_(void *id, double value) { +void NSView_inst_setFrameRotation(void *id, double value) { [(NSView*)id setFrameRotation: value]; } @@ -7056,7 +7056,7 @@ NSRect NSView_inst_bounds(void *id) { bounds]; } -void NSView_inst_setBounds_(void *id, NSRect value) { +void NSView_inst_setBounds(void *id, NSRect value) { [(NSView*)id setBounds: value]; } @@ -7066,7 +7066,7 @@ double NSView_inst_boundsRotation(void *id) { boundsRotation]; } -void NSView_inst_setBoundsRotation_(void *id, double value) { +void NSView_inst_setBoundsRotation(void *id, double value) { [(NSView*)id setBoundsRotation: value]; } @@ -7076,7 +7076,7 @@ BOOL NSView_inst_wantsLayer(void *id) { wantsLayer]; } -void NSView_inst_setWantsLayer_(void *id, BOOL value) { +void NSView_inst_setWantsLayer(void *id, BOOL value) { [(NSView*)id setWantsLayer: value]; } @@ -7091,7 +7091,7 @@ void* NSView_inst_layer(void *id) { layer]; } -void NSView_inst_setLayer_(void *id, void* value) { +void NSView_inst_setLayer(void *id, void* value) { [(NSView*)id setLayer: value]; } @@ -7101,7 +7101,7 @@ BOOL NSView_inst_canDrawSubviewsIntoLayer(void *id) { canDrawSubviewsIntoLayer]; } -void NSView_inst_setCanDrawSubviewsIntoLayer_(void *id, BOOL value) { +void NSView_inst_setCanDrawSubviewsIntoLayer(void *id, BOOL value) { [(NSView*)id setCanDrawSubviewsIntoLayer: value]; } @@ -7111,7 +7111,7 @@ BOOL NSView_inst_layerUsesCoreImageFilters(void *id) { layerUsesCoreImageFilters]; } -void NSView_inst_setLayerUsesCoreImageFilters_(void *id, BOOL value) { +void NSView_inst_setLayerUsesCoreImageFilters(void *id, BOOL value) { [(NSView*)id setLayerUsesCoreImageFilters: value]; } @@ -7121,7 +7121,7 @@ double NSView_inst_alphaValue(void *id) { alphaValue]; } -void NSView_inst_setAlphaValue_(void *id, double value) { +void NSView_inst_setAlphaValue(void *id, double value) { [(NSView*)id setAlphaValue: value]; } @@ -7131,7 +7131,7 @@ double NSView_inst_frameCenterRotation(void *id) { frameCenterRotation]; } -void NSView_inst_setFrameCenterRotation_(void *id, double value) { +void NSView_inst_setFrameCenterRotation(void *id, double value) { [(NSView*)id setFrameCenterRotation: value]; } @@ -7141,7 +7141,7 @@ void* NSView_inst_backgroundFilters(void *id) { backgroundFilters]; } -void NSView_inst_setBackgroundFilters_(void *id, void* value) { +void NSView_inst_setBackgroundFilters(void *id, void* value) { [(NSView*)id setBackgroundFilters: value]; } @@ -7151,7 +7151,7 @@ void* NSView_inst_contentFilters(void *id) { contentFilters]; } -void NSView_inst_setContentFilters_(void *id, void* value) { +void NSView_inst_setContentFilters(void *id, void* value) { [(NSView*)id setContentFilters: value]; } @@ -7161,7 +7161,7 @@ BOOL NSView_inst_canDrawConcurrently(void *id) { canDrawConcurrently]; } -void NSView_inst_setCanDrawConcurrently_(void *id, BOOL value) { +void NSView_inst_setCanDrawConcurrently(void *id, BOOL value) { [(NSView*)id setCanDrawConcurrently: value]; } @@ -7206,7 +7206,7 @@ BOOL NSView_inst_needsDisplay(void *id) { needsDisplay]; } -void NSView_inst_setNeedsDisplay_(void *id, BOOL value) { +void NSView_inst_setNeedsDisplay(void *id, BOOL value) { [(NSView*)id setNeedsDisplay: value]; } @@ -7236,7 +7236,7 @@ BOOL NSView_inst_autoresizesSubviews(void *id) { autoresizesSubviews]; } -void NSView_inst_setAutoresizesSubviews_(void *id, BOOL value) { +void NSView_inst_setAutoresizesSubviews(void *id, BOOL value) { [(NSView*)id setAutoresizesSubviews: value]; } @@ -7281,7 +7281,7 @@ BOOL NSView_inst_needsLayout(void *id) { needsLayout]; } -void NSView_inst_setNeedsLayout_(void *id, BOOL value) { +void NSView_inst_setNeedsLayout(void *id, BOOL value) { [(NSView*)id setNeedsLayout: value]; } @@ -7291,7 +7291,7 @@ BOOL NSView_inst_needsUpdateConstraints(void *id) { needsUpdateConstraints]; } -void NSView_inst_setNeedsUpdateConstraints_(void *id, BOOL value) { +void NSView_inst_setNeedsUpdateConstraints(void *id, BOOL value) { [(NSView*)id setNeedsUpdateConstraints: value]; } @@ -7301,7 +7301,7 @@ BOOL NSView_inst_translatesAutoresizingMaskIntoConstraints(void *id) { translatesAutoresizingMaskIntoConstraints]; } -void NSView_inst_setTranslatesAutoresizingMaskIntoConstraints_(void *id, BOOL value) { +void NSView_inst_setTranslatesAutoresizingMaskIntoConstraints(void *id, BOOL value) { [(NSView*)id setTranslatesAutoresizingMaskIntoConstraints: value]; } @@ -7331,7 +7331,7 @@ BOOL NSView_inst_isHidden(void *id) { isHidden]; } -void NSView_inst_setHidden_(void *id, BOOL value) { +void NSView_inst_setHidden(void *id, BOOL value) { [(NSView*)id setHidden: value]; } @@ -7361,7 +7361,7 @@ void* NSView_inst_gestureRecognizers(void *id) { gestureRecognizers]; } -void NSView_inst_setGestureRecognizers_(void *id, void* value) { +void NSView_inst_setGestureRecognizers(void *id, void* value) { [(NSView*)id setGestureRecognizers: value]; } @@ -7376,7 +7376,7 @@ BOOL NSView_inst_wantsRestingTouches(void *id) { wantsRestingTouches]; } -void NSView_inst_setWantsRestingTouches_(void *id, BOOL value) { +void NSView_inst_setWantsRestingTouches(void *id, BOOL value) { [(NSView*)id setWantsRestingTouches: value]; } @@ -7396,7 +7396,7 @@ void* NSView_inst_nextKeyView(void *id) { nextKeyView]; } -void NSView_inst_setNextKeyView_(void *id, void* value) { +void NSView_inst_setNextKeyView(void *id, void* value) { [(NSView*)id setNextKeyView: value]; } @@ -7421,7 +7421,7 @@ NSRect NSView_inst_preparedContentRect(void *id) { preparedContentRect]; } -void NSView_inst_setPreparedContentRect_(void *id, NSRect value) { +void NSView_inst_setPreparedContentRect(void *id, NSRect value) { [(NSView*)id setPreparedContentRect: value]; } @@ -7436,7 +7436,7 @@ BOOL NSView_inst_postsFrameChangedNotifications(void *id) { postsFrameChangedNotifications]; } -void NSView_inst_setPostsFrameChangedNotifications_(void *id, BOOL value) { +void NSView_inst_setPostsFrameChangedNotifications(void *id, BOOL value) { [(NSView*)id setPostsFrameChangedNotifications: value]; } @@ -7446,7 +7446,7 @@ BOOL NSView_inst_postsBoundsChangedNotifications(void *id) { postsBoundsChangedNotifications]; } -void NSView_inst_setPostsBoundsChangedNotifications_(void *id, BOOL value) { +void NSView_inst_setPostsBoundsChangedNotifications(void *id, BOOL value) { [(NSView*)id setPostsBoundsChangedNotifications: value]; } @@ -7461,7 +7461,7 @@ void* NSView_inst_toolTip(void *id) { toolTip]; } -void NSView_inst_setToolTip_(void *id, void* value) { +void NSView_inst_setToolTip(void *id, void* value) { [(NSView*)id setToolTip: value]; } @@ -7481,7 +7481,7 @@ BOOL NSView_inst_isHorizontalContentSizeConstraintActive(void *id) { isHorizontalContentSizeConstraintActive]; } -void NSView_inst_setHorizontalContentSizeConstraintActive_(void *id, BOOL value) { +void NSView_inst_setHorizontalContentSizeConstraintActive(void *id, BOOL value) { [(NSView*)id setHorizontalContentSizeConstraintActive: value]; } @@ -7491,7 +7491,7 @@ BOOL NSView_inst_isVerticalContentSizeConstraintActive(void *id) { isVerticalContentSizeConstraintActive]; } -void NSView_inst_setVerticalContentSizeConstraintActive_(void *id, BOOL value) { +void NSView_inst_setVerticalContentSizeConstraintActive(void *id, BOOL value) { [(NSView*)id setVerticalContentSizeConstraintActive: value]; } @@ -7501,7 +7501,7 @@ void* NSView_inst_backgroundColor(void *id) { backgroundColor]; } -void NSView_inst_setBackgroundColor_(void *id, void* value) { +void NSView_inst_setBackgroundColor(void *id, void* value) { [(NSView*)id setBackgroundColor: value]; } @@ -7535,43 +7535,43 @@ func NSBundle_alloc() ( return } -func NSBundle_bundleWithURL_( +func NSBundle_bundleWithURL( url core.NSURLRef, ) ( r0 NSBundle, ) { - ret := C.NSBundle_type_bundleWithURL_( + ret := C.NSBundle_type_bundleWithURL( objc.RefPointer(url), ) r0 = NSBundle_fromPointer(ret) return } -func NSBundle_bundleWithPath_( +func NSBundle_bundleWithPath( path core.NSStringRef, ) ( r0 NSBundle, ) { - ret := C.NSBundle_type_bundleWithPath_( + ret := C.NSBundle_type_bundleWithPath( objc.RefPointer(path), ) r0 = NSBundle_fromPointer(ret) return } -func NSBundle_bundleWithIdentifier_( +func NSBundle_bundleWithIdentifier( identifier core.NSStringRef, ) ( r0 NSBundle, ) { - ret := C.NSBundle_type_bundleWithIdentifier_( + ret := C.NSBundle_type_bundleWithIdentifier( objc.RefPointer(identifier), ) r0 = NSBundle_fromPointer(ret) return } -func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL_( +func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, @@ -7579,7 +7579,7 @@ func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL_( ) ( r0 core.NSURL, ) { - ret := C.NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL_( + ret := C.NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL( objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -7589,14 +7589,14 @@ func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL_( return } -func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( +func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL( ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( + ret := C.NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL( objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(bundleURL), @@ -7605,14 +7605,14 @@ func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( return } -func NSBundle_pathForResource_ofType_inDirectory_( +func NSBundle_pathForResource_ofType_inDirectory( name core.NSStringRef, ext core.NSStringRef, bundlePath core.NSStringRef, ) ( r0 core.NSString, ) { - ret := C.NSBundle_type_pathForResource_ofType_inDirectory_( + ret := C.NSBundle_type_pathForResource_ofType_inDirectory( objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(bundlePath), @@ -7621,13 +7621,13 @@ func NSBundle_pathForResource_ofType_inDirectory_( return } -func NSBundle_pathsForResourcesOfType_inDirectory_( +func NSBundle_pathsForResourcesOfType_inDirectory( ext core.NSStringRef, bundlePath core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_type_pathsForResourcesOfType_inDirectory_( + ret := C.NSBundle_type_pathsForResourcesOfType_inDirectory( objc.RefPointer(ext), objc.RefPointer(bundlePath), ) @@ -7635,25 +7635,25 @@ func NSBundle_pathsForResourcesOfType_inDirectory_( return } -func NSBundle_preferredLocalizationsFromArray_( +func NSBundle_preferredLocalizationsFromArray( localizationsArray core.NSArrayRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_type_preferredLocalizationsFromArray_( + ret := C.NSBundle_type_preferredLocalizationsFromArray( objc.RefPointer(localizationsArray), ) r0 = core.NSArray_fromPointer(ret) return } -func NSBundle_preferredLocalizationsFromArray_forPreferences_( +func NSBundle_preferredLocalizationsFromArray_forPreferences( localizationsArray core.NSArrayRef, preferencesArray core.NSArrayRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_type_preferredLocalizationsFromArray_forPreferences_( + ret := C.NSBundle_type_preferredLocalizationsFromArray_forPreferences( objc.RefPointer(localizationsArray), objc.RefPointer(preferencesArray), ) @@ -7693,12 +7693,12 @@ func NSSound_alloc() ( return } -func NSSound_canInitWithPasteboard_( +func NSSound_canInitWithPasteboard( pasteboard NSPasteboardRef, ) ( r0 bool, ) { - ret := C.NSSound_type_canInitWithPasteboard_( + ret := C.NSSound_type_canInitWithPasteboard( objc.RefPointer(pasteboard), ) r0 = convertObjCBoolToGo(ret) @@ -7721,12 +7721,12 @@ func NSApplication_alloc() ( return } -func NSApplication_detachDrawingThread_toTarget_withObject_( +func NSApplication_detachDrawingThread_toTarget_withObject( selector objc.Selector, target objc.Ref, argument objc.Ref, ) { - C.NSApplication_type_detachDrawingThread_toTarget_withObject_( + C.NSApplication_type_detachDrawingThread_toTarget_withObject( selector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(argument), @@ -7758,14 +7758,14 @@ func NSButton_alloc() ( return } -func NSButton_checkboxWithTitle_target_action_( +func NSButton_checkboxWithTitle_target_action( title core.NSStringRef, target objc.Ref, action objc.Selector, ) ( r0 NSButton, ) { - ret := C.NSButton_type_checkboxWithTitle_target_action_( + ret := C.NSButton_type_checkboxWithTitle_target_action( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), @@ -7774,14 +7774,14 @@ func NSButton_checkboxWithTitle_target_action_( return } -func NSButton_buttonWithImage_target_action_( +func NSButton_buttonWithImage_target_action( image NSImageRef, target objc.Ref, action objc.Selector, ) ( r0 NSButton, ) { - ret := C.NSButton_type_buttonWithImage_target_action_( + ret := C.NSButton_type_buttonWithImage_target_action( objc.RefPointer(image), objc.RefPointer(target), action.SelectorAddress(), @@ -7790,14 +7790,14 @@ func NSButton_buttonWithImage_target_action_( return } -func NSButton_radioButtonWithTitle_target_action_( +func NSButton_radioButtonWithTitle_target_action( title core.NSStringRef, target objc.Ref, action objc.Selector, ) ( r0 NSButton, ) { - ret := C.NSButton_type_radioButtonWithTitle_target_action_( + ret := C.NSButton_type_radioButtonWithTitle_target_action( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), @@ -7806,7 +7806,7 @@ func NSButton_radioButtonWithTitle_target_action_( return } -func NSButton_buttonWithTitle_image_target_action_( +func NSButton_buttonWithTitle_image_target_action( title core.NSStringRef, image NSImageRef, target objc.Ref, @@ -7814,7 +7814,7 @@ func NSButton_buttonWithTitle_image_target_action_( ) ( r0 NSButton, ) { - ret := C.NSButton_type_buttonWithTitle_image_target_action_( + ret := C.NSButton_type_buttonWithTitle_image_target_action( objc.RefPointer(title), objc.RefPointer(image), objc.RefPointer(target), @@ -7824,14 +7824,14 @@ func NSButton_buttonWithTitle_image_target_action_( return } -func NSButton_buttonWithTitle_target_action_( +func NSButton_buttonWithTitle_target_action( title core.NSStringRef, target objc.Ref, action objc.Selector, ) ( r0 NSButton, ) { - ret := C.NSButton_type_buttonWithTitle_target_action_( + ret := C.NSButton_type_buttonWithTitle_target_action( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), @@ -7848,12 +7848,12 @@ func NSEvent_alloc() ( return } -func NSEvent_eventWithEventRef_( +func NSEvent_eventWithEventRef( eventRef unsafe.Pointer, ) ( r0 NSEvent, ) { - ret := C.NSEvent_type_eventWithEventRef_( + ret := C.NSEvent_type_eventWithEventRef( eventRef, ) r0 = NSEvent_fromPointer(ret) @@ -7865,10 +7865,10 @@ func NSEvent_stopPeriodicEvents() { return } -func NSEvent_removeMonitor_( +func NSEvent_removeMonitor( eventMonitor objc.Ref, ) { - C.NSEvent_type_removeMonitor_( + C.NSEvent_type_removeMonitor( objc.RefPointer(eventMonitor), ) return @@ -7898,10 +7898,10 @@ func NSEvent_mouseCoalescingEnabled() ( return } -func NSEvent_setMouseCoalescingEnabled_( +func NSEvent_setMouseCoalescingEnabled( value bool, ) { - C.NSEvent_type_setMouseCoalescingEnabled_( + C.NSEvent_type_setMouseCoalescingEnabled( convertToObjCBool(value), ) return @@ -7923,13 +7923,13 @@ func NSFont_alloc() ( return } -func NSFont_fontWithName_size_( +func NSFont_fontWithName_size( fontName core.NSStringRef, fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_fontWithName_size_( + ret := C.NSFont_type_fontWithName_size( objc.RefPointer(fontName), C.double(fontSize), ) @@ -7937,163 +7937,163 @@ func NSFont_fontWithName_size_( return } -func NSFont_userFontOfSize_( +func NSFont_userFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_userFontOfSize_( + ret := C.NSFont_type_userFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_userFixedPitchFontOfSize_( +func NSFont_userFixedPitchFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_userFixedPitchFontOfSize_( + ret := C.NSFont_type_userFixedPitchFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_systemFontOfSize_( +func NSFont_systemFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_systemFontOfSize_( + ret := C.NSFont_type_systemFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_boldSystemFontOfSize_( +func NSFont_boldSystemFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_boldSystemFontOfSize_( + ret := C.NSFont_type_boldSystemFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_labelFontOfSize_( +func NSFont_labelFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_labelFontOfSize_( + ret := C.NSFont_type_labelFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_messageFontOfSize_( +func NSFont_messageFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_messageFontOfSize_( + ret := C.NSFont_type_messageFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_menuBarFontOfSize_( +func NSFont_menuBarFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_menuBarFontOfSize_( + ret := C.NSFont_type_menuBarFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_menuFontOfSize_( +func NSFont_menuFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_menuFontOfSize_( + ret := C.NSFont_type_menuFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_controlContentFontOfSize_( +func NSFont_controlContentFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_controlContentFontOfSize_( + ret := C.NSFont_type_controlContentFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_titleBarFontOfSize_( +func NSFont_titleBarFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_titleBarFontOfSize_( + ret := C.NSFont_type_titleBarFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_paletteFontOfSize_( +func NSFont_paletteFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_paletteFontOfSize_( + ret := C.NSFont_type_paletteFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_toolTipsFontOfSize_( +func NSFont_toolTipsFontOfSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_type_toolTipsFontOfSize_( + ret := C.NSFont_type_toolTipsFontOfSize( C.double(fontSize), ) r0 = NSFont_fromPointer(ret) return } -func NSFont_setUserFont_( +func NSFont_setUserFont( font NSFontRef, ) { - C.NSFont_type_setUserFont_( + C.NSFont_type_setUserFont( objc.RefPointer(font), ) return } -func NSFont_setUserFixedPitchFont_( +func NSFont_setUserFixedPitchFont( font NSFontRef, ) { - C.NSFont_type_setUserFixedPitchFont_( + C.NSFont_type_setUserFixedPitchFont( objc.RefPointer(font), ) return @@ -8131,13 +8131,13 @@ func NSImage_alloc() ( return } -func NSImage_imageWithSystemSymbolName_accessibilityDescription_( +func NSImage_imageWithSystemSymbolName_accessibilityDescription( symbolName core.NSStringRef, description core.NSStringRef, ) ( r0 NSImage, ) { - ret := C.NSImage_type_imageWithSystemSymbolName_accessibilityDescription_( + ret := C.NSImage_type_imageWithSystemSymbolName_accessibilityDescription( objc.RefPointer(symbolName), objc.RefPointer(description), ) @@ -8145,12 +8145,12 @@ func NSImage_imageWithSystemSymbolName_accessibilityDescription_( return } -func NSImage_canInitWithPasteboard_( +func NSImage_canInitWithPasteboard( pasteboard NSPasteboardRef, ) ( r0 bool, ) { - ret := C.NSImage_type_canInitWithPasteboard_( + ret := C.NSImage_type_canInitWithPasteboard( objc.RefPointer(pasteboard), ) r0 = convertObjCBoolToGo(ret) @@ -8181,12 +8181,12 @@ func NSImageView_alloc() ( return } -func NSImageView_imageViewWithImage_( +func NSImageView_imageViewWithImage( image NSImageRef, ) ( r0 NSImageView, ) { - ret := C.NSImageView_type_imageViewWithImage_( + ret := C.NSImageView_type_imageViewWithImage( objc.RefPointer(image), ) r0 = NSImageView_fromPointer(ret) @@ -8209,24 +8209,24 @@ func NSPasteboard_alloc() ( return } -func NSPasteboard_pasteboardByFilteringFile_( +func NSPasteboard_pasteboardByFilteringFile( filename core.NSStringRef, ) ( r0 NSPasteboard, ) { - ret := C.NSPasteboard_type_pasteboardByFilteringFile_( + ret := C.NSPasteboard_type_pasteboardByFilteringFile( objc.RefPointer(filename), ) r0 = NSPasteboard_fromPointer(ret) return } -func NSPasteboard_pasteboardByFilteringTypesInPasteboard_( +func NSPasteboard_pasteboardByFilteringTypesInPasteboard( pboard NSPasteboardRef, ) ( r0 NSPasteboard, ) { - ret := C.NSPasteboard_type_pasteboardByFilteringTypesInPasteboard_( + ret := C.NSPasteboard_type_pasteboardByFilteringTypesInPasteboard( objc.RefPointer(pboard), ) r0 = NSPasteboard_fromPointer(ret) @@ -8273,21 +8273,21 @@ func NSMenu_menuBarVisible() ( return } -func NSMenu_setMenuBarVisible_( +func NSMenu_setMenuBarVisible( visible bool, ) { - C.NSMenu_type_setMenuBarVisible_( + C.NSMenu_type_setMenuBarVisible( convertToObjCBool(visible), ) return } -func NSMenu_popUpContextMenu_withEvent_forView_( +func NSMenu_popUpContextMenu_withEvent_forView( menu NSMenuRef, event NSEventRef, view NSViewRef, ) { - C.NSMenu_type_popUpContextMenu_withEvent_forView_( + C.NSMenu_type_popUpContextMenu_withEvent_forView( objc.RefPointer(menu), objc.RefPointer(event), objc.RefPointer(view), @@ -8295,13 +8295,13 @@ func NSMenu_popUpContextMenu_withEvent_forView_( return } -func NSMenu_popUpContextMenu_withEvent_forView_withFont_( +func NSMenu_popUpContextMenu_withEvent_forView_withFont( menu NSMenuRef, event NSEventRef, view NSViewRef, font NSFontRef, ) { - C.NSMenu_type_popUpContextMenu_withEvent_forView_withFont_( + C.NSMenu_type_popUpContextMenu_withEvent_forView_withFont( objc.RefPointer(menu), objc.RefPointer(event), objc.RefPointer(view), @@ -8342,10 +8342,10 @@ func NSMenuItem_usesUserKeyEquivalents() ( return } -func NSMenuItem_setUsesUserKeyEquivalents_( +func NSMenuItem_setUsesUserKeyEquivalents( value bool, ) { - C.NSMenuItem_type_setUsesUserKeyEquivalents_( + C.NSMenuItem_type_setUsesUserKeyEquivalents( convertToObjCBool(value), ) return @@ -8359,12 +8359,12 @@ func NSRunningApplication_alloc() ( return } -func NSRunningApplication_runningApplicationsWithBundleIdentifier_( +func NSRunningApplication_runningApplicationsWithBundleIdentifier( bundleIdentifier core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSRunningApplication_type_runningApplicationsWithBundleIdentifier_( + ret := C.NSRunningApplication_type_runningApplicationsWithBundleIdentifier( objc.RefPointer(bundleIdentifier), ) r0 = core.NSArray_fromPointer(ret) @@ -8472,48 +8472,48 @@ func NSTextField_alloc() ( return } -func NSTextField_labelWithAttributedString_( +func NSTextField_labelWithAttributedString( attributedStringValue core.NSAttributedStringRef, ) ( r0 NSTextField, ) { - ret := C.NSTextField_type_labelWithAttributedString_( + ret := C.NSTextField_type_labelWithAttributedString( objc.RefPointer(attributedStringValue), ) r0 = NSTextField_fromPointer(ret) return } -func NSTextField_labelWithString_( +func NSTextField_labelWithString( stringValue core.NSStringRef, ) ( r0 NSTextField, ) { - ret := C.NSTextField_type_labelWithString_( + ret := C.NSTextField_type_labelWithString( objc.RefPointer(stringValue), ) r0 = NSTextField_fromPointer(ret) return } -func NSTextField_textFieldWithString_( +func NSTextField_textFieldWithString( stringValue core.NSStringRef, ) ( r0 NSTextField, ) { - ret := C.NSTextField_type_textFieldWithString_( + ret := C.NSTextField_type_textFieldWithString( objc.RefPointer(stringValue), ) r0 = NSTextField_fromPointer(ret) return } -func NSTextField_wrappingLabelWithString_( +func NSTextField_wrappingLabelWithString( stringValue core.NSStringRef, ) ( r0 NSTextField, ) { - ret := C.NSTextField_type_wrappingLabelWithString_( + ret := C.NSTextField_type_wrappingLabelWithString( objc.RefPointer(stringValue), ) r0 = NSTextField_fromPointer(ret) @@ -8552,25 +8552,25 @@ func NSWindow_alloc() ( return } -func NSWindow_windowWithContentViewController_( +func NSWindow_windowWithContentViewController( contentViewController NSViewControllerRef, ) ( r0 NSWindow, ) { - ret := C.NSWindow_type_windowWithContentViewController_( + ret := C.NSWindow_type_windowWithContentViewController( objc.RefPointer(contentViewController), ) r0 = NSWindow_fromPointer(ret) return } -func NSWindow_contentRectForFrameRect_styleMask_( +func NSWindow_contentRectForFrameRect_styleMask( fRect core.NSRect, style core.NSUInteger, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_type_contentRectForFrameRect_styleMask_( + ret := C.NSWindow_type_contentRectForFrameRect_styleMask( *(*C.NSRect)(unsafe.Pointer(&fRect)), C.ulong(style), ) @@ -8578,13 +8578,13 @@ func NSWindow_contentRectForFrameRect_styleMask_( return } -func NSWindow_frameRectForContentRect_styleMask_( +func NSWindow_frameRectForContentRect_styleMask( cRect core.NSRect, style core.NSUInteger, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_type_frameRectForContentRect_styleMask_( + ret := C.NSWindow_type_frameRectForContentRect_styleMask( *(*C.NSRect)(unsafe.Pointer(&cRect)), C.ulong(style), ) @@ -8592,13 +8592,13 @@ func NSWindow_frameRectForContentRect_styleMask_( return } -func NSWindow_minFrameWidthWithTitle_styleMask_( +func NSWindow_minFrameWidthWithTitle_styleMask( title core.NSStringRef, style core.NSUInteger, ) ( r0 core.CGFloat, ) { - ret := C.NSWindow_type_minFrameWidthWithTitle_styleMask_( + ret := C.NSWindow_type_minFrameWidthWithTitle_styleMask( objc.RefPointer(title), C.ulong(style), ) @@ -8606,13 +8606,13 @@ func NSWindow_minFrameWidthWithTitle_styleMask_( return } -func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber_( +func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber( point core.NSPoint, windowNumber core.NSInteger, ) ( r0 core.NSInteger, ) { - ret := C.NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber_( + ret := C.NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber( *(*C.NSPoint)(unsafe.Pointer(&point)), C.long(windowNumber), ) @@ -8628,10 +8628,10 @@ func NSWindow_allowsAutomaticWindowTabbing() ( return } -func NSWindow_setAllowsAutomaticWindowTabbing_( +func NSWindow_setAllowsAutomaticWindowTabbing( value bool, ) { - C.NSWindow_type_setAllowsAutomaticWindowTabbing_( + C.NSWindow_type_setAllowsAutomaticWindowTabbing( convertToObjCBool(value), ) return @@ -8661,19 +8661,19 @@ func NSColor_alloc() ( return } -func NSColor_colorFromPasteboard_( +func NSColor_colorFromPasteboard( pasteBoard NSPasteboardRef, ) ( r0 NSColor, ) { - ret := C.NSColor_type_colorFromPasteboard_( + ret := C.NSColor_type_colorFromPasteboard( objc.RefPointer(pasteBoard), ) r0 = NSColor_fromPointer(ret) return } -func NSColor_colorWithRed_green_blue_alpha_( +func NSColor_colorWithRed_green_blue_alpha( red core.CGFloat, green core.CGFloat, blue core.CGFloat, @@ -8681,7 +8681,7 @@ func NSColor_colorWithRed_green_blue_alpha_( ) ( r0 NSColor, ) { - ret := C.NSColor_type_colorWithRed_green_blue_alpha_( + ret := C.NSColor_type_colorWithRed_green_blue_alpha( C.double(red), C.double(green), C.double(blue), @@ -8699,10 +8699,10 @@ func NSColor_ignoresAlpha() ( return } -func NSColor_setIgnoresAlpha_( +func NSColor_setIgnoresAlpha( value bool, ) { - C.NSColor_type_setIgnoresAlpha_( + C.NSColor_type_setIgnoresAlpha( convertToObjCBool(value), ) return @@ -8820,12 +8820,12 @@ func NSBundle_fromRef(ref objc.Ref) NSBundle { return NSBundle_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSBundle) InitWithURL__asNSBundle( +func (x gen_NSBundle) InitWithURL_asNSBundle( url core.NSURLRef, ) ( r0 NSBundle, ) { - ret := C.NSBundle_inst_initWithURL_( + ret := C.NSBundle_inst_initWithURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -8833,12 +8833,12 @@ func (x gen_NSBundle) InitWithURL__asNSBundle( return } -func (x gen_NSBundle) InitWithPath__asNSBundle( +func (x gen_NSBundle) InitWithPath_asNSBundle( path core.NSStringRef, ) ( r0 NSBundle, ) { - ret := C.NSBundle_inst_initWithPath_( + ret := C.NSBundle_inst_initWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -8846,14 +8846,14 @@ func (x gen_NSBundle) InitWithPath__asNSBundle( return } -func (x gen_NSBundle) LoadNibNamed_owner_options_( +func (x gen_NSBundle) LoadNibNamed_owner_options( name core.NSStringRef, owner objc.Ref, options core.NSDictionaryRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_inst_loadNibNamed_owner_options_( + ret := C.NSBundle_inst_loadNibNamed_owner_options( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(owner), @@ -8863,14 +8863,14 @@ func (x gen_NSBundle) LoadNibNamed_owner_options_( return } -func (x gen_NSBundle) URLForResource_withExtension_subdirectory_( +func (x gen_NSBundle) URLForResource_withExtension_subdirectory( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ) ( r0 core.NSURL, ) { - ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_( + ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8880,13 +8880,13 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory_( return } -func (x gen_NSBundle) URLForResource_withExtension_( +func (x gen_NSBundle) URLForResource_withExtension( name core.NSStringRef, ext core.NSStringRef, ) ( r0 core.NSURL, ) { - ret := C.NSBundle_inst_URLForResource_withExtension_( + ret := C.NSBundle_inst_URLForResource_withExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8895,13 +8895,13 @@ func (x gen_NSBundle) URLForResource_withExtension_( return } -func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_( +func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( ext core.NSStringRef, subpath core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_( + ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -8910,7 +8910,7 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_( return } -func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization_( +func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, @@ -8918,7 +8918,7 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization_( ) ( r0 core.NSURL, ) { - ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_localization_( + ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_localization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8929,14 +8929,14 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization_( return } -func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization_( +func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization_( + ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -8946,13 +8946,13 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization_( return } -func (x gen_NSBundle) PathForResource_ofType_( +func (x gen_NSBundle) PathForResource_ofType( name core.NSStringRef, ext core.NSStringRef, ) ( r0 core.NSString, ) { - ret := C.NSBundle_inst_pathForResource_ofType_( + ret := C.NSBundle_inst_pathForResource_ofType( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8961,14 +8961,14 @@ func (x gen_NSBundle) PathForResource_ofType_( return } -func (x gen_NSBundle) PathForResource_ofType_inDirectory_( +func (x gen_NSBundle) PathForResource_ofType_inDirectory( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ) ( r0 core.NSString, ) { - ret := C.NSBundle_inst_pathForResource_ofType_inDirectory_( + ret := C.NSBundle_inst_pathForResource_ofType_inDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8978,7 +8978,7 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory_( return } -func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization_( +func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, @@ -8986,7 +8986,7 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization_( ) ( r0 core.NSString, ) { - ret := C.NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization_( + ret := C.NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8997,13 +8997,13 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization_( return } -func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_( +func (x gen_NSBundle) PathsForResourcesOfType_inDirectory( ext core.NSStringRef, subpath core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory_( + ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -9012,14 +9012,14 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_( return } -func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization_( +func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization_( + ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -9029,14 +9029,14 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization_( return } -func (x gen_NSBundle) LocalizedStringForKey_value_table_( +func (x gen_NSBundle) LocalizedStringForKey_value_table( key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef, ) ( r0 core.NSString, ) { - ret := C.NSBundle_inst_localizedStringForKey_value_table_( + ret := C.NSBundle_inst_localizedStringForKey_value_table( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(value), @@ -9046,12 +9046,12 @@ func (x gen_NSBundle) LocalizedStringForKey_value_table_( return } -func (x gen_NSBundle) URLForAuxiliaryExecutable_( +func (x gen_NSBundle) URLForAuxiliaryExecutable( executableName core.NSStringRef, ) ( r0 core.NSURL, ) { - ret := C.NSBundle_inst_URLForAuxiliaryExecutable_( + ret := C.NSBundle_inst_URLForAuxiliaryExecutable( unsafe.Pointer(x.Pointer()), objc.RefPointer(executableName), ) @@ -9059,12 +9059,12 @@ func (x gen_NSBundle) URLForAuxiliaryExecutable_( return } -func (x gen_NSBundle) PathForAuxiliaryExecutable_( +func (x gen_NSBundle) PathForAuxiliaryExecutable( executableName core.NSStringRef, ) ( r0 core.NSString, ) { - ret := C.NSBundle_inst_pathForAuxiliaryExecutable_( + ret := C.NSBundle_inst_pathForAuxiliaryExecutable( unsafe.Pointer(x.Pointer()), objc.RefPointer(executableName), ) @@ -9072,12 +9072,12 @@ func (x gen_NSBundle) PathForAuxiliaryExecutable_( return } -func (x gen_NSBundle) ObjectForInfoDictionaryKey_( +func (x gen_NSBundle) ObjectForInfoDictionaryKey( key core.NSStringRef, ) ( r0 objc.Object, ) { - ret := C.NSBundle_inst_objectForInfoDictionaryKey_( + ret := C.NSBundle_inst_objectForInfoDictionaryKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -9105,14 +9105,14 @@ func (x gen_NSBundle) Unload() ( return } -func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table_( +func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef, ) ( r0 core.NSAttributedString, ) { - ret := C.NSBundle_inst_localizedAttributedStringForKey_value_table_( + ret := C.NSBundle_inst_localizedAttributedStringForKey_value_table( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(value), @@ -9381,13 +9381,13 @@ func NSSound_fromRef(ref objc.Ref) NSSound { return NSSound_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSSound) InitWithContentsOfFile_byReference__asNSSound( +func (x gen_NSSound) InitWithContentsOfFile_byReference_asNSSound( path core.NSStringRef, byRef bool, ) ( r0 NSSound, ) { - ret := C.NSSound_inst_initWithContentsOfFile_byReference_( + ret := C.NSSound_inst_initWithContentsOfFile_byReference( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(byRef), @@ -9396,13 +9396,13 @@ func (x gen_NSSound) InitWithContentsOfFile_byReference__asNSSound( return } -func (x gen_NSSound) InitWithContentsOfURL_byReference__asNSSound( +func (x gen_NSSound) InitWithContentsOfURL_byReference_asNSSound( url core.NSURLRef, byRef bool, ) ( r0 NSSound, ) { - ret := C.NSSound_inst_initWithContentsOfURL_byReference_( + ret := C.NSSound_inst_initWithContentsOfURL_byReference( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), convertToObjCBool(byRef), @@ -9411,12 +9411,12 @@ func (x gen_NSSound) InitWithContentsOfURL_byReference__asNSSound( return } -func (x gen_NSSound) InitWithData__asNSSound( +func (x gen_NSSound) InitWithData_asNSSound( data core.NSDataRef, ) ( r0 NSSound, ) { - ret := C.NSSound_inst_initWithData_( + ret := C.NSSound_inst_initWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -9424,12 +9424,12 @@ func (x gen_NSSound) InitWithData__asNSSound( return } -func (x gen_NSSound) InitWithPasteboard__asNSSound( +func (x gen_NSSound) InitWithPasteboard_asNSSound( pasteboard NSPasteboardRef, ) ( r0 NSSound, ) { - ret := C.NSSound_inst_initWithPasteboard_( + ret := C.NSSound_inst_initWithPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) @@ -9477,10 +9477,10 @@ func (x gen_NSSound) Stop() ( return } -func (x gen_NSSound) WriteToPasteboard_( +func (x gen_NSSound) WriteToPasteboard( pasteboard NSPasteboardRef, ) { - C.NSSound_inst_writeToPasteboard_( + C.NSSound_inst_writeToPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) @@ -9507,10 +9507,10 @@ func (x gen_NSSound) Delegate() ( return } -func (x gen_NSSound) SetDelegate_( +func (x gen_NSSound) SetDelegate( value objc.Ref, ) { - C.NSSound_inst_setDelegate_( + C.NSSound_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -9527,10 +9527,10 @@ func (x gen_NSSound) Loops() ( return } -func (x gen_NSSound) SetLoops_( +func (x gen_NSSound) SetLoops( value bool, ) { - C.NSSound_inst_setLoops_( + C.NSSound_inst_setLoops( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -9580,31 +9580,31 @@ func (x gen_NSApplication) FinishLaunching() { return } -func (x gen_NSApplication) Stop_( +func (x gen_NSApplication) Stop( sender objc.Ref, ) { - C.NSApplication_inst_stop_( + C.NSApplication_inst_stop( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSApplication) SendEvent_( +func (x gen_NSApplication) SendEvent( event NSEventRef, ) { - C.NSApplication_inst_sendEvent_( + C.NSApplication_inst_sendEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) return } -func (x gen_NSApplication) PostEvent_atStart_( +func (x gen_NSApplication) PostEvent_atStart( event NSEventRef, flag bool, ) { - C.NSApplication_inst_postEvent_atStart_( + C.NSApplication_inst_postEvent_atStart( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), convertToObjCBool(flag), @@ -9612,13 +9612,13 @@ func (x gen_NSApplication) PostEvent_atStart_( return } -func (x gen_NSApplication) TryToPerform_with_( +func (x gen_NSApplication) TryToPerform_with( action objc.Selector, object objc.Ref, ) ( r0 bool, ) { - ret := C.NSApplication_inst_tryToPerform_with_( + ret := C.NSApplication_inst_tryToPerform_with( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(object), @@ -9627,14 +9627,14 @@ func (x gen_NSApplication) TryToPerform_with_( return } -func (x gen_NSApplication) SendAction_to_from_( +func (x gen_NSApplication) SendAction_to_from( action objc.Selector, target objc.Ref, sender objc.Ref, ) ( r0 bool, ) { - ret := C.NSApplication_inst_sendAction_to_from_( + ret := C.NSApplication_inst_sendAction_to_from( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), @@ -9644,12 +9644,12 @@ func (x gen_NSApplication) SendAction_to_from_( return } -func (x gen_NSApplication) TargetForAction_( +func (x gen_NSApplication) TargetForAction( action objc.Selector, ) ( r0 objc.Object, ) { - ret := C.NSApplication_inst_targetForAction_( + ret := C.NSApplication_inst_targetForAction( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), ) @@ -9657,14 +9657,14 @@ func (x gen_NSApplication) TargetForAction_( return } -func (x gen_NSApplication) TargetForAction_to_from_( +func (x gen_NSApplication) TargetForAction_to_from( action objc.Selector, target objc.Ref, sender objc.Ref, ) ( r0 objc.Object, ) { - ret := C.NSApplication_inst_targetForAction_to_from_( + ret := C.NSApplication_inst_targetForAction_to_from( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), @@ -9674,30 +9674,30 @@ func (x gen_NSApplication) TargetForAction_to_from_( return } -func (x gen_NSApplication) Terminate_( +func (x gen_NSApplication) Terminate( sender objc.Ref, ) { - C.NSApplication_inst_terminate_( + C.NSApplication_inst_terminate( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSApplication) ReplyToApplicationShouldTerminate_( +func (x gen_NSApplication) ReplyToApplicationShouldTerminate( shouldTerminate bool, ) { - C.NSApplication_inst_replyToApplicationShouldTerminate_( + C.NSApplication_inst_replyToApplicationShouldTerminate( unsafe.Pointer(x.Pointer()), convertToObjCBool(shouldTerminate), ) return } -func (x gen_NSApplication) ActivateIgnoringOtherApps_( +func (x gen_NSApplication) ActivateIgnoringOtherApps( flag bool, ) { - C.NSApplication_inst_activateIgnoringOtherApps_( + C.NSApplication_inst_activateIgnoringOtherApps( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -9739,80 +9739,80 @@ func (x gen_NSApplication) UnregisterForRemoteNotifications() { return } -func (x gen_NSApplication) ToggleTouchBarCustomizationPalette_( +func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( sender objc.Ref, ) { - C.NSApplication_inst_toggleTouchBarCustomizationPalette_( + C.NSApplication_inst_toggleTouchBarCustomizationPalette( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSApplication) CancelUserAttentionRequest_( +func (x gen_NSApplication) CancelUserAttentionRequest( request core.NSInteger, ) { - C.NSApplication_inst_cancelUserAttentionRequest_( + C.NSApplication_inst_cancelUserAttentionRequest( unsafe.Pointer(x.Pointer()), C.long(request), ) return } -func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler_( +func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { - C.NSApplication_inst_registerUserInterfaceItemSearchHandler_( + C.NSApplication_inst_registerUserInterfaceItemSearchHandler( unsafe.Pointer(x.Pointer()), objc.RefPointer(handler), ) return } -func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler_( +func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { - C.NSApplication_inst_unregisterUserInterfaceItemSearchHandler_( + C.NSApplication_inst_unregisterUserInterfaceItemSearchHandler( unsafe.Pointer(x.Pointer()), objc.RefPointer(handler), ) return } -func (x gen_NSApplication) ShowHelp_( +func (x gen_NSApplication) ShowHelp( sender objc.Ref, ) { - C.NSApplication_inst_showHelp_( + C.NSApplication_inst_showHelp( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSApplication) ActivateContextHelpMode_( +func (x gen_NSApplication) ActivateContextHelpMode( sender objc.Ref, ) { - C.NSApplication_inst_activateContextHelpMode_( + C.NSApplication_inst_activateContextHelpMode( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSApplication) HideOtherApplications_( +func (x gen_NSApplication) HideOtherApplications( sender objc.Ref, ) { - C.NSApplication_inst_hideOtherApplications_( + C.NSApplication_inst_hideOtherApplications( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSApplication) UnhideAllApplications_( +func (x gen_NSApplication) UnhideAllApplications( sender objc.Ref, ) { - C.NSApplication_inst_unhideAllApplications_( + C.NSApplication_inst_unhideAllApplications( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -9829,12 +9829,12 @@ func (x gen_NSApplication) ActivationPolicy() ( return } -func (x gen_NSApplication) SetActivationPolicy_( +func (x gen_NSApplication) SetActivationPolicy( activationPolicy core.NSInteger, ) ( r0 bool, ) { - ret := C.NSApplication_inst_setActivationPolicy_( + ret := C.NSApplication_inst_setActivationPolicy( unsafe.Pointer(x.Pointer()), C.long(activationPolicy), ) @@ -9862,10 +9862,10 @@ func (x gen_NSApplication) Delegate() ( return } -func (x gen_NSApplication) SetDelegate_( +func (x gen_NSApplication) SetDelegate( value objc.Ref, ) { - C.NSApplication_inst_setDelegate_( + C.NSApplication_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -9922,10 +9922,10 @@ func (x gen_NSApplication) ApplicationIconImage() ( return } -func (x gen_NSApplication) SetApplicationIconImage_( +func (x gen_NSApplication) SetApplicationIconImage( value NSImageRef, ) { - C.NSApplication_inst_setApplicationIconImage_( + C.NSApplication_inst_setApplicationIconImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -9942,10 +9942,10 @@ func (x gen_NSApplication) HelpMenu() ( return } -func (x gen_NSApplication) SetHelpMenu_( +func (x gen_NSApplication) SetHelpMenu( value NSMenuRef, ) { - C.NSApplication_inst_setHelpMenu_( + C.NSApplication_inst_setHelpMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -9962,10 +9962,10 @@ func (x gen_NSApplication) ServicesProvider() ( return } -func (x gen_NSApplication) SetServicesProvider_( +func (x gen_NSApplication) SetServicesProvider( value objc.Ref, ) { - C.NSApplication_inst_setServicesProvider_( + C.NSApplication_inst_setServicesProvider( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10012,10 +10012,10 @@ func (x gen_NSApplication) MainMenu() ( return } -func (x gen_NSApplication) SetMainMenu_( +func (x gen_NSApplication) SetMainMenu( value NSMenuRef, ) { - C.NSApplication_inst_setMainMenu_( + C.NSApplication_inst_setMainMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10041,12 +10041,12 @@ func NSControl_fromRef(ref objc.Ref) NSControl { return NSControl_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSControl) InitWithFrame__asNSControl( +func (x gen_NSControl) InitWithFrame_asNSControl( frameRect core.NSRect, ) ( r0 NSControl, ) { - ret := C.NSControl_inst_initWithFrame_( + ret := C.NSControl_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -10054,71 +10054,71 @@ func (x gen_NSControl) InitWithFrame__asNSControl( return } -func (x gen_NSControl) TakeDoubleValueFrom_( +func (x gen_NSControl) TakeDoubleValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeDoubleValueFrom_( + C.NSControl_inst_takeDoubleValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) TakeFloatValueFrom_( +func (x gen_NSControl) TakeFloatValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeFloatValueFrom_( + C.NSControl_inst_takeFloatValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) TakeIntValueFrom_( +func (x gen_NSControl) TakeIntValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeIntValueFrom_( + C.NSControl_inst_takeIntValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) TakeIntegerValueFrom_( +func (x gen_NSControl) TakeIntegerValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeIntegerValueFrom_( + C.NSControl_inst_takeIntegerValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) TakeObjectValueFrom_( +func (x gen_NSControl) TakeObjectValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeObjectValueFrom_( + C.NSControl_inst_takeObjectValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) TakeStringValueFrom_( +func (x gen_NSControl) TakeStringValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeStringValueFrom_( + C.NSControl_inst_takeStringValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) DrawWithExpansionFrame_inView_( +func (x gen_NSControl) DrawWithExpansionFrame_inView( contentFrame core.NSRect, view NSViewRef, ) { - C.NSControl_inst_drawWithExpansionFrame_inView_( + C.NSControl_inst_drawWithExpansionFrame_inView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentFrame)), objc.RefPointer(view), @@ -10126,12 +10126,12 @@ func (x gen_NSControl) DrawWithExpansionFrame_inView_( return } -func (x gen_NSControl) ExpansionFrameWithFrame_( +func (x gen_NSControl) ExpansionFrameWithFrame( contentFrame core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSControl_inst_expansionFrameWithFrame_( + ret := C.NSControl_inst_expansionFrameWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentFrame)), ) @@ -10166,13 +10166,13 @@ func (x gen_NSControl) ValidateEditing() { return } -func (x gen_NSControl) EditWithFrame_editor_delegate_event_( +func (x gen_NSControl) EditWithFrame_editor_delegate_event( rect core.NSRect, textObj NSTextRef, delegate objc.Ref, event NSEventRef, ) { - C.NSControl_inst_editWithFrame_editor_delegate_event_( + C.NSControl_inst_editWithFrame_editor_delegate_event( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(textObj), @@ -10182,24 +10182,24 @@ func (x gen_NSControl) EditWithFrame_editor_delegate_event_( return } -func (x gen_NSControl) EndEditing_( +func (x gen_NSControl) EndEditing( textObj NSTextRef, ) { - C.NSControl_inst_endEditing_( + C.NSControl_inst_endEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObj), ) return } -func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length_( +func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( rect core.NSRect, textObj NSTextRef, delegate objc.Ref, selStart core.NSInteger, selLength core.NSInteger, ) { - C.NSControl_inst_selectWithFrame_editor_delegate_start_length_( + C.NSControl_inst_selectWithFrame_editor_delegate_start_length( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(textObj), @@ -10210,12 +10210,12 @@ func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length_( return } -func (x gen_NSControl) SizeThatFits_( +func (x gen_NSControl) SizeThatFits( size core.NSSize, ) ( r0 core.NSSize, ) { - ret := C.NSControl_inst_sizeThatFits_( + ret := C.NSControl_inst_sizeThatFits( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -10230,13 +10230,13 @@ func (x gen_NSControl) SizeToFit() { return } -func (x gen_NSControl) SendAction_to_( +func (x gen_NSControl) SendAction_to( action objc.Selector, target objc.Ref, ) ( r0 bool, ) { - ret := C.NSControl_inst_sendAction_to_( + ret := C.NSControl_inst_sendAction_to( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), @@ -10245,20 +10245,20 @@ func (x gen_NSControl) SendAction_to_( return } -func (x gen_NSControl) PerformClick_( +func (x gen_NSControl) PerformClick( sender objc.Ref, ) { - C.NSControl_inst_performClick_( + C.NSControl_inst_performClick( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) MouseDown_( +func (x gen_NSControl) MouseDown( event NSEventRef, ) { - C.NSControl_inst_mouseDown_( + C.NSControl_inst_mouseDown( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -10285,10 +10285,10 @@ func (x gen_NSControl) IsEnabled() ( return } -func (x gen_NSControl) SetEnabled_( +func (x gen_NSControl) SetEnabled( value bool, ) { - C.NSControl_inst_setEnabled_( + C.NSControl_inst_setEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10305,10 +10305,10 @@ func (x gen_NSControl) IntValue() ( return } -func (x gen_NSControl) SetIntValue_( +func (x gen_NSControl) SetIntValue( value int32, ) { - C.NSControl_inst_setIntValue_( + C.NSControl_inst_setIntValue( unsafe.Pointer(x.Pointer()), C.int(value), ) @@ -10325,10 +10325,10 @@ func (x gen_NSControl) IntegerValue() ( return } -func (x gen_NSControl) SetIntegerValue_( +func (x gen_NSControl) SetIntegerValue( value core.NSInteger, ) { - C.NSControl_inst_setIntegerValue_( + C.NSControl_inst_setIntegerValue( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -10345,10 +10345,10 @@ func (x gen_NSControl) ObjectValue() ( return } -func (x gen_NSControl) SetObjectValue_( +func (x gen_NSControl) SetObjectValue( value objc.Ref, ) { - C.NSControl_inst_setObjectValue_( + C.NSControl_inst_setObjectValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10365,10 +10365,10 @@ func (x gen_NSControl) StringValue() ( return } -func (x gen_NSControl) SetStringValue_( +func (x gen_NSControl) SetStringValue( value core.NSStringRef, ) { - C.NSControl_inst_setStringValue_( + C.NSControl_inst_setStringValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10385,10 +10385,10 @@ func (x gen_NSControl) AttributedStringValue() ( return } -func (x gen_NSControl) SetAttributedStringValue_( +func (x gen_NSControl) SetAttributedStringValue( value core.NSAttributedStringRef, ) { - C.NSControl_inst_setAttributedStringValue_( + C.NSControl_inst_setAttributedStringValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10405,10 +10405,10 @@ func (x gen_NSControl) Font() ( return } -func (x gen_NSControl) SetFont_( +func (x gen_NSControl) SetFont( value NSFontRef, ) { - C.NSControl_inst_setFont_( + C.NSControl_inst_setFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10425,10 +10425,10 @@ func (x gen_NSControl) UsesSingleLineMode() ( return } -func (x gen_NSControl) SetUsesSingleLineMode_( +func (x gen_NSControl) SetUsesSingleLineMode( value bool, ) { - C.NSControl_inst_setUsesSingleLineMode_( + C.NSControl_inst_setUsesSingleLineMode( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10445,10 +10445,10 @@ func (x gen_NSControl) AllowsExpansionToolTips() ( return } -func (x gen_NSControl) SetAllowsExpansionToolTips_( +func (x gen_NSControl) SetAllowsExpansionToolTips( value bool, ) { - C.NSControl_inst_setAllowsExpansionToolTips_( + C.NSControl_inst_setAllowsExpansionToolTips( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10465,10 +10465,10 @@ func (x gen_NSControl) IsHighlighted() ( return } -func (x gen_NSControl) SetHighlighted_( +func (x gen_NSControl) SetHighlighted( value bool, ) { - C.NSControl_inst_setHighlighted_( + C.NSControl_inst_setHighlighted( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10485,10 +10485,10 @@ func (x gen_NSControl) Action() ( return } -func (x gen_NSControl) SetAction_( +func (x gen_NSControl) SetAction( value objc.Selector, ) { - C.NSControl_inst_setAction_( + C.NSControl_inst_setAction( unsafe.Pointer(x.Pointer()), value.SelectorAddress(), ) @@ -10505,10 +10505,10 @@ func (x gen_NSControl) Target() ( return } -func (x gen_NSControl) SetTarget_( +func (x gen_NSControl) SetTarget( value objc.Ref, ) { - C.NSControl_inst_setTarget_( + C.NSControl_inst_setTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10525,10 +10525,10 @@ func (x gen_NSControl) IsContinuous() ( return } -func (x gen_NSControl) SetContinuous_( +func (x gen_NSControl) SetContinuous( value bool, ) { - C.NSControl_inst_setContinuous_( + C.NSControl_inst_setContinuous( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10545,10 +10545,10 @@ func (x gen_NSControl) Tag() ( return } -func (x gen_NSControl) SetTag_( +func (x gen_NSControl) SetTag( value core.NSInteger, ) { - C.NSControl_inst_setTag_( + C.NSControl_inst_setTag( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -10565,10 +10565,10 @@ func (x gen_NSControl) RefusesFirstResponder() ( return } -func (x gen_NSControl) SetRefusesFirstResponder_( +func (x gen_NSControl) SetRefusesFirstResponder( value bool, ) { - C.NSControl_inst_setRefusesFirstResponder_( + C.NSControl_inst_setRefusesFirstResponder( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10585,10 +10585,10 @@ func (x gen_NSControl) IgnoresMultiClick() ( return } -func (x gen_NSControl) SetIgnoresMultiClick_( +func (x gen_NSControl) SetIgnoresMultiClick( value bool, ) { - C.NSControl_inst_setIgnoresMultiClick_( + C.NSControl_inst_setIgnoresMultiClick( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10614,22 +10614,22 @@ func NSButton_fromRef(ref objc.Ref) NSButton { return NSButton_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSButton) CompressWithPrioritizedCompressionOptions_( +func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) { - C.NSButton_inst_compressWithPrioritizedCompressionOptions_( + C.NSButton_inst_compressWithPrioritizedCompressionOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(prioritizedOptions), ) return } -func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions_( +func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) ( r0 core.NSSize, ) { - ret := C.NSButton_inst_minimumSizeWithPrioritizedCompressionOptions_( + ret := C.NSButton_inst_minimumSizeWithPrioritizedCompressionOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(prioritizedOptions), ) @@ -10644,22 +10644,22 @@ func (x gen_NSButton) SetNextState() { return } -func (x gen_NSButton) Highlight_( +func (x gen_NSButton) Highlight( flag bool, ) { - C.NSButton_inst_highlight_( + C.NSButton_inst_highlight( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) return } -func (x gen_NSButton) PerformKeyEquivalent_( +func (x gen_NSButton) PerformKeyEquivalent( key NSEventRef, ) ( r0 bool, ) { - ret := C.NSButton_inst_performKeyEquivalent_( + ret := C.NSButton_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -10687,10 +10687,10 @@ func (x gen_NSButton) ContentTintColor() ( return } -func (x gen_NSButton) SetContentTintColor_( +func (x gen_NSButton) SetContentTintColor( value NSColorRef, ) { - C.NSButton_inst_setContentTintColor_( + C.NSButton_inst_setContentTintColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10707,10 +10707,10 @@ func (x gen_NSButton) HasDestructiveAction() ( return } -func (x gen_NSButton) SetHasDestructiveAction_( +func (x gen_NSButton) SetHasDestructiveAction( value bool, ) { - C.NSButton_inst_setHasDestructiveAction_( + C.NSButton_inst_setHasDestructiveAction( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10727,10 +10727,10 @@ func (x gen_NSButton) AlternateTitle() ( return } -func (x gen_NSButton) SetAlternateTitle_( +func (x gen_NSButton) SetAlternateTitle( value core.NSStringRef, ) { - C.NSButton_inst_setAlternateTitle_( + C.NSButton_inst_setAlternateTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10747,10 +10747,10 @@ func (x gen_NSButton) AttributedTitle() ( return } -func (x gen_NSButton) SetAttributedTitle_( +func (x gen_NSButton) SetAttributedTitle( value core.NSAttributedStringRef, ) { - C.NSButton_inst_setAttributedTitle_( + C.NSButton_inst_setAttributedTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10767,10 +10767,10 @@ func (x gen_NSButton) AttributedAlternateTitle() ( return } -func (x gen_NSButton) SetAttributedAlternateTitle_( +func (x gen_NSButton) SetAttributedAlternateTitle( value core.NSAttributedStringRef, ) { - C.NSButton_inst_setAttributedAlternateTitle_( + C.NSButton_inst_setAttributedAlternateTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10787,10 +10787,10 @@ func (x gen_NSButton) Title() ( return } -func (x gen_NSButton) SetTitle_( +func (x gen_NSButton) SetTitle( value core.NSStringRef, ) { - C.NSButton_inst_setTitle_( + C.NSButton_inst_setTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10807,10 +10807,10 @@ func (x gen_NSButton) Sound() ( return } -func (x gen_NSButton) SetSound_( +func (x gen_NSButton) SetSound( value NSSoundRef, ) { - C.NSButton_inst_setSound_( + C.NSButton_inst_setSound( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10827,10 +10827,10 @@ func (x gen_NSButton) IsSpringLoaded() ( return } -func (x gen_NSButton) SetSpringLoaded_( +func (x gen_NSButton) SetSpringLoaded( value bool, ) { - C.NSButton_inst_setSpringLoaded_( + C.NSButton_inst_setSpringLoaded( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10847,10 +10847,10 @@ func (x gen_NSButton) MaxAcceleratorLevel() ( return } -func (x gen_NSButton) SetMaxAcceleratorLevel_( +func (x gen_NSButton) SetMaxAcceleratorLevel( value core.NSInteger, ) { - C.NSButton_inst_setMaxAcceleratorLevel_( + C.NSButton_inst_setMaxAcceleratorLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -10867,10 +10867,10 @@ func (x gen_NSButton) Image() ( return } -func (x gen_NSButton) SetImage_( +func (x gen_NSButton) SetImage( value NSImageRef, ) { - C.NSButton_inst_setImage_( + C.NSButton_inst_setImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10887,10 +10887,10 @@ func (x gen_NSButton) AlternateImage() ( return } -func (x gen_NSButton) SetAlternateImage_( +func (x gen_NSButton) SetAlternateImage( value NSImageRef, ) { - C.NSButton_inst_setAlternateImage_( + C.NSButton_inst_setAlternateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10907,10 +10907,10 @@ func (x gen_NSButton) IsBordered() ( return } -func (x gen_NSButton) SetBordered_( +func (x gen_NSButton) SetBordered( value bool, ) { - C.NSButton_inst_setBordered_( + C.NSButton_inst_setBordered( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10927,10 +10927,10 @@ func (x gen_NSButton) IsTransparent() ( return } -func (x gen_NSButton) SetTransparent_( +func (x gen_NSButton) SetTransparent( value bool, ) { - C.NSButton_inst_setTransparent_( + C.NSButton_inst_setTransparent( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10947,10 +10947,10 @@ func (x gen_NSButton) BezelColor() ( return } -func (x gen_NSButton) SetBezelColor_( +func (x gen_NSButton) SetBezelColor( value NSColorRef, ) { - C.NSButton_inst_setBezelColor_( + C.NSButton_inst_setBezelColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10967,10 +10967,10 @@ func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() ( return } -func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside_( +func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( value bool, ) { - C.NSButton_inst_setShowsBorderOnlyWhileMouseInside_( + C.NSButton_inst_setShowsBorderOnlyWhileMouseInside( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10987,10 +10987,10 @@ func (x gen_NSButton) ImageHugsTitle() ( return } -func (x gen_NSButton) SetImageHugsTitle_( +func (x gen_NSButton) SetImageHugsTitle( value bool, ) { - C.NSButton_inst_setImageHugsTitle_( + C.NSButton_inst_setImageHugsTitle( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11007,10 +11007,10 @@ func (x gen_NSButton) AllowsMixedState() ( return } -func (x gen_NSButton) SetAllowsMixedState_( +func (x gen_NSButton) SetAllowsMixedState( value bool, ) { - C.NSButton_inst_setAllowsMixedState_( + C.NSButton_inst_setAllowsMixedState( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11027,10 +11027,10 @@ func (x gen_NSButton) State() ( return } -func (x gen_NSButton) SetState_( +func (x gen_NSButton) SetState( value core.NSInteger, ) { - C.NSButton_inst_setState_( + C.NSButton_inst_setState( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -11047,10 +11047,10 @@ func (x gen_NSButton) KeyEquivalent() ( return } -func (x gen_NSButton) SetKeyEquivalent_( +func (x gen_NSButton) SetKeyEquivalent( value core.NSStringRef, ) { - C.NSButton_inst_setKeyEquivalent_( + C.NSButton_inst_setKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11492,12 +11492,12 @@ func (x gen_NSFont) Set() { return } -func (x gen_NSFont) FontWithSize_( +func (x gen_NSFont) FontWithSize( fontSize core.CGFloat, ) ( r0 NSFont, ) { - ret := C.NSFont_inst_fontWithSize_( + ret := C.NSFont_inst_fontWithSize( unsafe.Pointer(x.Pointer()), C.double(fontSize), ) @@ -11624,12 +11624,12 @@ func NSImage_fromRef(ref objc.Ref) NSImage { return NSImage_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSImage) InitByReferencingFile__asNSImage( +func (x gen_NSImage) InitByReferencingFile_asNSImage( fileName core.NSStringRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initByReferencingFile_( + ret := C.NSImage_inst_initByReferencingFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileName), ) @@ -11637,12 +11637,12 @@ func (x gen_NSImage) InitByReferencingFile__asNSImage( return } -func (x gen_NSImage) InitByReferencingURL__asNSImage( +func (x gen_NSImage) InitByReferencingURL_asNSImage( url core.NSURLRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initByReferencingURL_( + ret := C.NSImage_inst_initByReferencingURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -11650,12 +11650,12 @@ func (x gen_NSImage) InitByReferencingURL__asNSImage( return } -func (x gen_NSImage) InitWithContentsOfFile__asNSImage( +func (x gen_NSImage) InitWithContentsOfFile_asNSImage( fileName core.NSStringRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initWithContentsOfFile_( + ret := C.NSImage_inst_initWithContentsOfFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileName), ) @@ -11663,12 +11663,12 @@ func (x gen_NSImage) InitWithContentsOfFile__asNSImage( return } -func (x gen_NSImage) InitWithContentsOfURL__asNSImage( +func (x gen_NSImage) InitWithContentsOfURL_asNSImage( url core.NSURLRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initWithContentsOfURL_( + ret := C.NSImage_inst_initWithContentsOfURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -11676,12 +11676,12 @@ func (x gen_NSImage) InitWithContentsOfURL__asNSImage( return } -func (x gen_NSImage) InitWithData__asNSImage( +func (x gen_NSImage) InitWithData_asNSImage( data core.NSDataRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initWithData_( + ret := C.NSImage_inst_initWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -11689,12 +11689,12 @@ func (x gen_NSImage) InitWithData__asNSImage( return } -func (x gen_NSImage) InitWithDataIgnoringOrientation__asNSImage( +func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( data core.NSDataRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initWithDataIgnoringOrientation_( + ret := C.NSImage_inst_initWithDataIgnoringOrientation( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -11702,12 +11702,12 @@ func (x gen_NSImage) InitWithDataIgnoringOrientation__asNSImage( return } -func (x gen_NSImage) InitWithPasteboard__asNSImage( +func (x gen_NSImage) InitWithPasteboard_asNSImage( pasteboard NSPasteboardRef, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initWithPasteboard_( + ret := C.NSImage_inst_initWithPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) @@ -11715,12 +11715,12 @@ func (x gen_NSImage) InitWithPasteboard__asNSImage( return } -func (x gen_NSImage) InitWithSize__asNSImage( +func (x gen_NSImage) InitWithSize_asNSImage( size core.NSSize, ) ( r0 NSImage, ) { - ret := C.NSImage_inst_initWithSize_( + ret := C.NSImage_inst_initWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -11738,20 +11738,20 @@ func (x gen_NSImage) IsTemplate() ( return } -func (x gen_NSImage) AddRepresentations_( +func (x gen_NSImage) AddRepresentations( imageReps core.NSArrayRef, ) { - C.NSImage_inst_addRepresentations_( + C.NSImage_inst_addRepresentations( unsafe.Pointer(x.Pointer()), objc.RefPointer(imageReps), ) return } -func (x gen_NSImage) DrawInRect_( +func (x gen_NSImage) DrawInRect( rect core.NSRect, ) { - C.NSImage_inst_drawInRect_( + C.NSImage_inst_drawInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -11765,10 +11765,10 @@ func (x gen_NSImage) LockFocus() { return } -func (x gen_NSImage) LockFocusFlipped_( +func (x gen_NSImage) LockFocusFlipped( flipped bool, ) { - C.NSImage_inst_lockFocusFlipped_( + C.NSImage_inst_lockFocusFlipped( unsafe.Pointer(x.Pointer()), convertToObjCBool(flipped), ) @@ -11796,12 +11796,12 @@ func (x gen_NSImage) CancelIncrementalLoad() { return } -func (x gen_NSImage) LayerContentsForContentsScale_( +func (x gen_NSImage) LayerContentsForContentsScale( layerContentsScale core.CGFloat, ) ( r0 objc.Object, ) { - ret := C.NSImage_inst_layerContentsForContentsScale_( + ret := C.NSImage_inst_layerContentsForContentsScale( unsafe.Pointer(x.Pointer()), C.double(layerContentsScale), ) @@ -11809,12 +11809,12 @@ func (x gen_NSImage) LayerContentsForContentsScale_( return } -func (x gen_NSImage) RecommendedLayerContentsScale_( +func (x gen_NSImage) RecommendedLayerContentsScale( preferredContentsScale core.CGFloat, ) ( r0 core.CGFloat, ) { - ret := C.NSImage_inst_recommendedLayerContentsScale_( + ret := C.NSImage_inst_recommendedLayerContentsScale( unsafe.Pointer(x.Pointer()), C.double(preferredContentsScale), ) @@ -11842,10 +11842,10 @@ func (x gen_NSImage) Delegate() ( return } -func (x gen_NSImage) SetDelegate_( +func (x gen_NSImage) SetDelegate( value objc.Ref, ) { - C.NSImage_inst_setDelegate_( + C.NSImage_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11862,20 +11862,20 @@ func (x gen_NSImage) Size() ( return } -func (x gen_NSImage) SetSize_( +func (x gen_NSImage) SetSize( value core.NSSize, ) { - C.NSImage_inst_setSize_( + C.NSImage_inst_setSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) return } -func (x gen_NSImage) SetTemplate_( +func (x gen_NSImage) SetTemplate( value bool, ) { - C.NSImage_inst_setTemplate_( + C.NSImage_inst_setTemplate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11902,10 +11902,10 @@ func (x gen_NSImage) PrefersColorMatch() ( return } -func (x gen_NSImage) SetPrefersColorMatch_( +func (x gen_NSImage) SetPrefersColorMatch( value bool, ) { - C.NSImage_inst_setPrefersColorMatch_( + C.NSImage_inst_setPrefersColorMatch( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11922,10 +11922,10 @@ func (x gen_NSImage) UsesEPSOnResolutionMismatch() ( return } -func (x gen_NSImage) SetUsesEPSOnResolutionMismatch_( +func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( value bool, ) { - C.NSImage_inst_setUsesEPSOnResolutionMismatch_( + C.NSImage_inst_setUsesEPSOnResolutionMismatch( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11942,10 +11942,10 @@ func (x gen_NSImage) MatchesOnMultipleResolution() ( return } -func (x gen_NSImage) SetMatchesOnMultipleResolution_( +func (x gen_NSImage) SetMatchesOnMultipleResolution( value bool, ) { - C.NSImage_inst_setMatchesOnMultipleResolution_( + C.NSImage_inst_setMatchesOnMultipleResolution( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11972,10 +11972,10 @@ func (x gen_NSImage) BackgroundColor() ( return } -func (x gen_NSImage) SetBackgroundColor_( +func (x gen_NSImage) SetBackgroundColor( value NSColorRef, ) { - C.NSImage_inst_setBackgroundColor_( + C.NSImage_inst_setBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11992,10 +11992,10 @@ func (x gen_NSImage) AlignmentRect() ( return } -func (x gen_NSImage) SetAlignmentRect_( +func (x gen_NSImage) SetAlignmentRect( value core.NSRect, ) { - C.NSImage_inst_setAlignmentRect_( + C.NSImage_inst_setAlignmentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -12022,10 +12022,10 @@ func (x gen_NSImage) AccessibilityDescription() ( return } -func (x gen_NSImage) SetAccessibilityDescription_( +func (x gen_NSImage) SetAccessibilityDescription( value core.NSStringRef, ) { - C.NSImage_inst_setAccessibilityDescription_( + C.NSImage_inst_setAccessibilityDescription( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -12042,10 +12042,10 @@ func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() ( return } -func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis_( +func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis( value bool, ) { - C.NSImage_inst_setMatchesOnlyOnBestFittingAxis_( + C.NSImage_inst_setMatchesOnlyOnBestFittingAxis( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12091,10 +12091,10 @@ func (x gen_NSImageView) Image() ( return } -func (x gen_NSImageView) SetImage_( +func (x gen_NSImageView) SetImage( value NSImageRef, ) { - C.NSImageView_inst_setImage_( + C.NSImageView_inst_setImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -12111,10 +12111,10 @@ func (x gen_NSImageView) Animates() ( return } -func (x gen_NSImageView) SetAnimates_( +func (x gen_NSImageView) SetAnimates( value bool, ) { - C.NSImageView_inst_setAnimates_( + C.NSImageView_inst_setAnimates( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12131,10 +12131,10 @@ func (x gen_NSImageView) IsEditable() ( return } -func (x gen_NSImageView) SetEditable_( +func (x gen_NSImageView) SetEditable( value bool, ) { - C.NSImageView_inst_setEditable_( + C.NSImageView_inst_setEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12151,10 +12151,10 @@ func (x gen_NSImageView) AllowsCutCopyPaste() ( return } -func (x gen_NSImageView) SetAllowsCutCopyPaste_( +func (x gen_NSImageView) SetAllowsCutCopyPaste( value bool, ) { - C.NSImageView_inst_setAllowsCutCopyPaste_( + C.NSImageView_inst_setAllowsCutCopyPaste( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12171,10 +12171,10 @@ func (x gen_NSImageView) ContentTintColor() ( return } -func (x gen_NSImageView) SetContentTintColor_( +func (x gen_NSImageView) SetContentTintColor( value NSColorRef, ) { - C.NSImageView_inst_setContentTintColor_( + C.NSImageView_inst_setContentTintColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -12200,13 +12200,13 @@ func NSNib_fromRef(ref objc.Ref) NSNib { return NSNib_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSNib) InitWithNibData_bundle__asNSNib( +func (x gen_NSNib) InitWithNibData_bundle_asNSNib( nibData core.NSDataRef, bundle NSBundleRef, ) ( r0 NSNib, ) { - ret := C.NSNib_inst_initWithNibData_bundle_( + ret := C.NSNib_inst_initWithNibData_bundle( unsafe.Pointer(x.Pointer()), objc.RefPointer(nibData), objc.RefPointer(bundle), @@ -12215,13 +12215,13 @@ func (x gen_NSNib) InitWithNibData_bundle__asNSNib( return } -func (x gen_NSNib) InstantiateWithOwner_topLevelObjects_( +func (x gen_NSNib) InstantiateWithOwner_topLevelObjects( owner objc.Ref, topLevelObjects core.NSArrayRef, ) ( r0 bool, ) { - ret := C.NSNib_inst_instantiateWithOwner_topLevelObjects_( + ret := C.NSNib_inst_instantiateWithOwner_topLevelObjects( unsafe.Pointer(x.Pointer()), objc.RefPointer(owner), objc.RefPointer(topLevelObjects), @@ -12276,12 +12276,12 @@ func (x gen_NSPasteboard) ClearContents() ( return } -func (x gen_NSPasteboard) WriteObjects_( +func (x gen_NSPasteboard) WriteObjects( objects core.NSArrayRef, ) ( r0 bool, ) { - ret := C.NSPasteboard_inst_writeObjects_( + ret := C.NSPasteboard_inst_writeObjects( unsafe.Pointer(x.Pointer()), objc.RefPointer(objects), ) @@ -12289,13 +12289,13 @@ func (x gen_NSPasteboard) WriteObjects_( return } -func (x gen_NSPasteboard) ReadObjectsForClasses_options_( +func (x gen_NSPasteboard) ReadObjectsForClasses_options( classArray core.NSArrayRef, options core.NSDictionaryRef, ) ( r0 core.NSArray, ) { - ret := C.NSPasteboard_inst_readObjectsForClasses_options_( + ret := C.NSPasteboard_inst_readObjectsForClasses_options( unsafe.Pointer(x.Pointer()), objc.RefPointer(classArray), objc.RefPointer(options), @@ -12304,12 +12304,12 @@ func (x gen_NSPasteboard) ReadObjectsForClasses_options_( return } -func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes_( +func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( types core.NSArrayRef, ) ( r0 bool, ) { - ret := C.NSPasteboard_inst_canReadItemWithDataConformingToTypes_( + ret := C.NSPasteboard_inst_canReadItemWithDataConformingToTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(types), ) @@ -12317,13 +12317,13 @@ func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes_( return } -func (x gen_NSPasteboard) CanReadObjectForClasses_options_( +func (x gen_NSPasteboard) CanReadObjectForClasses_options( classArray core.NSArrayRef, options core.NSDictionaryRef, ) ( r0 bool, ) { - ret := C.NSPasteboard_inst_canReadObjectForClasses_options_( + ret := C.NSPasteboard_inst_canReadObjectForClasses_options( unsafe.Pointer(x.Pointer()), objc.RefPointer(classArray), objc.RefPointer(options), @@ -12332,13 +12332,13 @@ func (x gen_NSPasteboard) CanReadObjectForClasses_options_( return } -func (x gen_NSPasteboard) DeclareTypes_owner_( +func (x gen_NSPasteboard) DeclareTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, ) ( r0 core.NSInteger, ) { - ret := C.NSPasteboard_inst_declareTypes_owner_( + ret := C.NSPasteboard_inst_declareTypes_owner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), @@ -12347,13 +12347,13 @@ func (x gen_NSPasteboard) DeclareTypes_owner_( return } -func (x gen_NSPasteboard) AddTypes_owner_( +func (x gen_NSPasteboard) AddTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, ) ( r0 core.NSInteger, ) { - ret := C.NSPasteboard_inst_addTypes_owner_( + ret := C.NSPasteboard_inst_addTypes_owner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), @@ -12362,12 +12362,12 @@ func (x gen_NSPasteboard) AddTypes_owner_( return } -func (x gen_NSPasteboard) WriteFileContents_( +func (x gen_NSPasteboard) WriteFileContents( filename core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSPasteboard_inst_writeFileContents_( + ret := C.NSPasteboard_inst_writeFileContents( unsafe.Pointer(x.Pointer()), objc.RefPointer(filename), ) @@ -12444,21 +12444,21 @@ func (x gen_NSLayoutManager) Init_asNSLayoutManager() ( return } -func (x gen_NSLayoutManager) AddTextContainer_( +func (x gen_NSLayoutManager) AddTextContainer( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_addTextContainer_( + C.NSLayoutManager_inst_addTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) return } -func (x gen_NSLayoutManager) InsertTextContainer_atIndex_( +func (x gen_NSLayoutManager) InsertTextContainer_atIndex( container NSTextContainerRef, index core.NSUInteger, ) { - C.NSLayoutManager_inst_insertTextContainer_atIndex_( + C.NSLayoutManager_inst_insertTextContainer_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), C.ulong(index), @@ -12466,42 +12466,42 @@ func (x gen_NSLayoutManager) InsertTextContainer_atIndex_( return } -func (x gen_NSLayoutManager) RemoveTextContainerAtIndex_( +func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( index core.NSUInteger, ) { - C.NSLayoutManager_inst_removeTextContainerAtIndex_( + C.NSLayoutManager_inst_removeTextContainerAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(index), ) return } -func (x gen_NSLayoutManager) TextContainerChangedGeometry_( +func (x gen_NSLayoutManager) TextContainerChangedGeometry( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_textContainerChangedGeometry_( + C.NSLayoutManager_inst_textContainerChangedGeometry( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) return } -func (x gen_NSLayoutManager) TextContainerChangedTextView_( +func (x gen_NSLayoutManager) TextContainerChangedTextView( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_textContainerChangedTextView_( + C.NSLayoutManager_inst_textContainerChangedTextView( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) return } -func (x gen_NSLayoutManager) UsedRectForTextContainer_( +func (x gen_NSLayoutManager) UsedRectForTextContainer( container NSTextContainerRef, ) ( r0 core.NSRect, ) { - ret := C.NSLayoutManager_inst_usedRectForTextContainer_( + ret := C.NSLayoutManager_inst_usedRectForTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) @@ -12509,11 +12509,11 @@ func (x gen_NSLayoutManager) UsedRectForTextContainer_( return } -func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer_( +func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( bounds core.NSRect, container NSTextContainerRef, ) { - C.NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer_( + C.NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&bounds)), objc.RefPointer(container), @@ -12521,22 +12521,22 @@ func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer_( return } -func (x gen_NSLayoutManager) EnsureLayoutForTextContainer_( +func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_ensureLayoutForTextContainer_( + C.NSLayoutManager_inst_ensureLayoutForTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) return } -func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex_( +func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( glyphIndex core.NSUInteger, ) ( r0 core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_characterIndexForGlyphAtIndex_( + ret := C.NSLayoutManager_inst_characterIndexForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -12544,12 +12544,12 @@ func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex_( return } -func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex_( +func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( charIndex core.NSUInteger, ) ( r0 core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_glyphIndexForCharacterAtIndex_( + ret := C.NSLayoutManager_inst_glyphIndexForCharacterAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(charIndex), ) @@ -12557,12 +12557,12 @@ func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex_( return } -func (x gen_NSLayoutManager) IsValidGlyphIndex_( +func (x gen_NSLayoutManager) IsValidGlyphIndex( glyphIndex core.NSUInteger, ) ( r0 bool, ) { - ret := C.NSLayoutManager_inst_isValidGlyphIndex_( + ret := C.NSLayoutManager_inst_isValidGlyphIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -12570,11 +12570,11 @@ func (x gen_NSLayoutManager) IsValidGlyphIndex_( return } -func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex_( +func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, ) { - C.NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex_( + C.NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), C.ulong(glyphIndex), @@ -12582,12 +12582,12 @@ func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex_( return } -func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer_( +func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( fragmentRect core.NSRect, usedRect core.NSRect, container NSTextContainerRef, ) { - C.NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer_( + C.NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&fragmentRect)), *(*C.NSRect)(unsafe.Pointer(&usedRect)), @@ -12596,11 +12596,11 @@ func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer_( return } -func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex_( +func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, ) { - C.NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex_( + C.NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), C.ulong(glyphIndex), @@ -12608,12 +12608,12 @@ func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex_( return } -func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex_( +func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( glyphIndex core.NSUInteger, ) ( r0 core.NSSize, ) { - ret := C.NSLayoutManager_inst_attachmentSizeForGlyphAtIndex_( + ret := C.NSLayoutManager_inst_attachmentSizeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -12621,12 +12621,12 @@ func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex_( return } -func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex_( +func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( glyphIndex core.NSUInteger, ) ( r0 bool, ) { - ret := C.NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex_( + ret := C.NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -12654,12 +12654,12 @@ func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() ( return } -func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex_( +func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( glyphIndex core.NSUInteger, ) ( r0 bool, ) { - ret := C.NSLayoutManager_inst_notShownAttributeForGlyphAtIndex_( + ret := C.NSLayoutManager_inst_notShownAttributeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -12667,12 +12667,12 @@ func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex_( return } -func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow_( +func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( window NSWindowRef, ) ( r0 bool, ) { - ret := C.NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow_( + ret := C.NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(window), ) @@ -12680,12 +12680,12 @@ func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow_( return } -func (x gen_NSLayoutManager) DefaultLineHeightForFont_( +func (x gen_NSLayoutManager) DefaultLineHeightForFont( theFont NSFontRef, ) ( r0 core.CGFloat, ) { - ret := C.NSLayoutManager_inst_defaultLineHeightForFont_( + ret := C.NSLayoutManager_inst_defaultLineHeightForFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(theFont), ) @@ -12693,12 +12693,12 @@ func (x gen_NSLayoutManager) DefaultLineHeightForFont_( return } -func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont_( +func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( theFont NSFontRef, ) ( r0 core.CGFloat, ) { - ret := C.NSLayoutManager_inst_defaultBaselineOffsetForFont_( + ret := C.NSLayoutManager_inst_defaultBaselineOffsetForFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(theFont), ) @@ -12716,10 +12716,10 @@ func (x gen_NSLayoutManager) Delegate() ( return } -func (x gen_NSLayoutManager) SetDelegate_( +func (x gen_NSLayoutManager) SetDelegate( value objc.Ref, ) { - C.NSLayoutManager_inst_setDelegate_( + C.NSLayoutManager_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -12736,10 +12736,10 @@ func (x gen_NSLayoutManager) AllowsNonContiguousLayout() ( return } -func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout_( +func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( value bool, ) { - C.NSLayoutManager_inst_setAllowsNonContiguousLayout_( + C.NSLayoutManager_inst_setAllowsNonContiguousLayout( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12766,10 +12766,10 @@ func (x gen_NSLayoutManager) ShowsInvisibleCharacters() ( return } -func (x gen_NSLayoutManager) SetShowsInvisibleCharacters_( +func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( value bool, ) { - C.NSLayoutManager_inst_setShowsInvisibleCharacters_( + C.NSLayoutManager_inst_setShowsInvisibleCharacters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12786,10 +12786,10 @@ func (x gen_NSLayoutManager) ShowsControlCharacters() ( return } -func (x gen_NSLayoutManager) SetShowsControlCharacters_( +func (x gen_NSLayoutManager) SetShowsControlCharacters( value bool, ) { - C.NSLayoutManager_inst_setShowsControlCharacters_( + C.NSLayoutManager_inst_setShowsControlCharacters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12806,10 +12806,10 @@ func (x gen_NSLayoutManager) UsesFontLeading() ( return } -func (x gen_NSLayoutManager) SetUsesFontLeading_( +func (x gen_NSLayoutManager) SetUsesFontLeading( value bool, ) { - C.NSLayoutManager_inst_setUsesFontLeading_( + C.NSLayoutManager_inst_setUsesFontLeading( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12826,10 +12826,10 @@ func (x gen_NSLayoutManager) BackgroundLayoutEnabled() ( return } -func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled_( +func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( value bool, ) { - C.NSLayoutManager_inst_setBackgroundLayoutEnabled_( + C.NSLayoutManager_inst_setBackgroundLayoutEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12846,10 +12846,10 @@ func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() ( return } -func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents_( +func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( value bool, ) { - C.NSLayoutManager_inst_setLimitsLayoutForSuspiciousContents_( + C.NSLayoutManager_inst_setLimitsLayoutForSuspiciousContents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12866,10 +12866,10 @@ func (x gen_NSLayoutManager) UsesDefaultHyphenation() ( return } -func (x gen_NSLayoutManager) SetUsesDefaultHyphenation_( +func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( value bool, ) { - C.NSLayoutManager_inst_setUsesDefaultHyphenation_( + C.NSLayoutManager_inst_setUsesDefaultHyphenation( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12965,12 +12965,12 @@ func NSMenu_fromRef(ref objc.Ref) NSMenu { return NSMenu_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSMenu) InitWithTitle__asNSMenu( +func (x gen_NSMenu) InitWithTitle_asNSMenu( title core.NSStringRef, ) ( r0 NSMenu, ) { - ret := C.NSMenu_inst_initWithTitle_( + ret := C.NSMenu_inst_initWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) @@ -12978,11 +12978,11 @@ func (x gen_NSMenu) InitWithTitle__asNSMenu( return } -func (x gen_NSMenu) InsertItem_atIndex_( +func (x gen_NSMenu) InsertItem_atIndex( newItem NSMenuItemRef, index core.NSInteger, ) { - C.NSMenu_inst_insertItem_atIndex_( + C.NSMenu_inst_insertItem_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(newItem), C.long(index), @@ -12990,7 +12990,7 @@ func (x gen_NSMenu) InsertItem_atIndex_( return } -func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex_( +func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, @@ -12998,7 +12998,7 @@ func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex_( ) ( r0 NSMenuItem, ) { - ret := C.NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex_( + ret := C.NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), @@ -13009,24 +13009,24 @@ func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex_( return } -func (x gen_NSMenu) AddItem_( +func (x gen_NSMenu) AddItem( newItem NSMenuItemRef, ) { - C.NSMenu_inst_addItem_( + C.NSMenu_inst_addItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(newItem), ) return } -func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent_( +func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, ) ( r0 NSMenuItem, ) { - ret := C.NSMenu_inst_addItemWithTitle_action_keyEquivalent_( + ret := C.NSMenu_inst_addItemWithTitle_action_keyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), @@ -13036,30 +13036,30 @@ func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent_( return } -func (x gen_NSMenu) RemoveItem_( +func (x gen_NSMenu) RemoveItem( item NSMenuItemRef, ) { - C.NSMenu_inst_removeItem_( + C.NSMenu_inst_removeItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) return } -func (x gen_NSMenu) RemoveItemAtIndex_( +func (x gen_NSMenu) RemoveItemAtIndex( index core.NSInteger, ) { - C.NSMenu_inst_removeItemAtIndex_( + C.NSMenu_inst_removeItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) return } -func (x gen_NSMenu) ItemChanged_( +func (x gen_NSMenu) ItemChanged( item NSMenuItemRef, ) { - C.NSMenu_inst_itemChanged_( + C.NSMenu_inst_itemChanged( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -13073,12 +13073,12 @@ func (x gen_NSMenu) RemoveAllItems() { return } -func (x gen_NSMenu) ItemWithTag_( +func (x gen_NSMenu) ItemWithTag( tag core.NSInteger, ) ( r0 NSMenuItem, ) { - ret := C.NSMenu_inst_itemWithTag_( + ret := C.NSMenu_inst_itemWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) @@ -13086,12 +13086,12 @@ func (x gen_NSMenu) ItemWithTag_( return } -func (x gen_NSMenu) ItemWithTitle_( +func (x gen_NSMenu) ItemWithTitle( title core.NSStringRef, ) ( r0 NSMenuItem, ) { - ret := C.NSMenu_inst_itemWithTitle_( + ret := C.NSMenu_inst_itemWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) @@ -13099,12 +13099,12 @@ func (x gen_NSMenu) ItemWithTitle_( return } -func (x gen_NSMenu) ItemAtIndex_( +func (x gen_NSMenu) ItemAtIndex( index core.NSInteger, ) ( r0 NSMenuItem, ) { - ret := C.NSMenu_inst_itemAtIndex_( + ret := C.NSMenu_inst_itemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -13112,12 +13112,12 @@ func (x gen_NSMenu) ItemAtIndex_( return } -func (x gen_NSMenu) IndexOfItem_( +func (x gen_NSMenu) IndexOfItem( item NSMenuItemRef, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItem_( + ret := C.NSMenu_inst_indexOfItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -13125,12 +13125,12 @@ func (x gen_NSMenu) IndexOfItem_( return } -func (x gen_NSMenu) IndexOfItemWithTitle_( +func (x gen_NSMenu) IndexOfItemWithTitle( title core.NSStringRef, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItemWithTitle_( + ret := C.NSMenu_inst_indexOfItemWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) @@ -13138,12 +13138,12 @@ func (x gen_NSMenu) IndexOfItemWithTitle_( return } -func (x gen_NSMenu) IndexOfItemWithTag_( +func (x gen_NSMenu) IndexOfItemWithTag( tag core.NSInteger, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItemWithTag_( + ret := C.NSMenu_inst_indexOfItemWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) @@ -13151,13 +13151,13 @@ func (x gen_NSMenu) IndexOfItemWithTag_( return } -func (x gen_NSMenu) IndexOfItemWithTarget_andAction_( +func (x gen_NSMenu) IndexOfItemWithTarget_andAction( target objc.Ref, actionSelector objc.Selector, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItemWithTarget_andAction_( + ret := C.NSMenu_inst_indexOfItemWithTarget_andAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), actionSelector.SelectorAddress(), @@ -13166,12 +13166,12 @@ func (x gen_NSMenu) IndexOfItemWithTarget_andAction_( return } -func (x gen_NSMenu) IndexOfItemWithRepresentedObject_( +func (x gen_NSMenu) IndexOfItemWithRepresentedObject( object objc.Ref, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItemWithRepresentedObject_( + ret := C.NSMenu_inst_indexOfItemWithRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(object), ) @@ -13179,12 +13179,12 @@ func (x gen_NSMenu) IndexOfItemWithRepresentedObject_( return } -func (x gen_NSMenu) IndexOfItemWithSubmenu_( +func (x gen_NSMenu) IndexOfItemWithSubmenu( submenu NSMenuRef, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItemWithSubmenu_( + ret := C.NSMenu_inst_indexOfItemWithSubmenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(submenu), ) @@ -13192,11 +13192,11 @@ func (x gen_NSMenu) IndexOfItemWithSubmenu_( return } -func (x gen_NSMenu) SetSubmenu_forItem_( +func (x gen_NSMenu) SetSubmenu_forItem( menu NSMenuRef, item NSMenuItemRef, ) { - C.NSMenu_inst_setSubmenu_forItem_( + C.NSMenu_inst_setSubmenu_forItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(menu), objc.RefPointer(item), @@ -13204,10 +13204,10 @@ func (x gen_NSMenu) SetSubmenu_forItem_( return } -func (x gen_NSMenu) SubmenuAction_( +func (x gen_NSMenu) SubmenuAction( sender objc.Ref, ) { - C.NSMenu_inst_submenuAction_( + C.NSMenu_inst_submenuAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -13221,12 +13221,12 @@ func (x gen_NSMenu) Update() { return } -func (x gen_NSMenu) PerformKeyEquivalent_( +func (x gen_NSMenu) PerformKeyEquivalent( event NSEventRef, ) ( r0 bool, ) { - ret := C.NSMenu_inst_performKeyEquivalent_( + ret := C.NSMenu_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -13234,24 +13234,24 @@ func (x gen_NSMenu) PerformKeyEquivalent_( return } -func (x gen_NSMenu) PerformActionForItemAtIndex_( +func (x gen_NSMenu) PerformActionForItemAtIndex( index core.NSInteger, ) { - C.NSMenu_inst_performActionForItemAtIndex_( + C.NSMenu_inst_performActionForItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) return } -func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView_( +func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( item NSMenuItemRef, location core.NSPoint, view NSViewRef, ) ( r0 bool, ) { - ret := C.NSMenu_inst_popUpMenuPositioningItem_atLocation_inView_( + ret := C.NSMenu_inst_popUpMenuPositioningItem_atLocation_inView( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), *(*C.NSPoint)(unsafe.Pointer(&location)), @@ -13315,10 +13315,10 @@ func (x gen_NSMenu) ItemArray() ( return } -func (x gen_NSMenu) SetItemArray_( +func (x gen_NSMenu) SetItemArray( value core.NSArrayRef, ) { - C.NSMenu_inst_setItemArray_( + C.NSMenu_inst_setItemArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13335,10 +13335,10 @@ func (x gen_NSMenu) Supermenu() ( return } -func (x gen_NSMenu) SetSupermenu_( +func (x gen_NSMenu) SetSupermenu( value NSMenuRef, ) { - C.NSMenu_inst_setSupermenu_( + C.NSMenu_inst_setSupermenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13355,10 +13355,10 @@ func (x gen_NSMenu) AutoenablesItems() ( return } -func (x gen_NSMenu) SetAutoenablesItems_( +func (x gen_NSMenu) SetAutoenablesItems( value bool, ) { - C.NSMenu_inst_setAutoenablesItems_( + C.NSMenu_inst_setAutoenablesItems( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13375,10 +13375,10 @@ func (x gen_NSMenu) Font() ( return } -func (x gen_NSMenu) SetFont_( +func (x gen_NSMenu) SetFont( value NSFontRef, ) { - C.NSMenu_inst_setFont_( + C.NSMenu_inst_setFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13395,10 +13395,10 @@ func (x gen_NSMenu) Title() ( return } -func (x gen_NSMenu) SetTitle_( +func (x gen_NSMenu) SetTitle( value core.NSStringRef, ) { - C.NSMenu_inst_setTitle_( + C.NSMenu_inst_setTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13415,10 +13415,10 @@ func (x gen_NSMenu) MinimumWidth() ( return } -func (x gen_NSMenu) SetMinimumWidth_( +func (x gen_NSMenu) SetMinimumWidth( value core.CGFloat, ) { - C.NSMenu_inst_setMinimumWidth_( + C.NSMenu_inst_setMinimumWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -13445,10 +13445,10 @@ func (x gen_NSMenu) AllowsContextMenuPlugIns() ( return } -func (x gen_NSMenu) SetAllowsContextMenuPlugIns_( +func (x gen_NSMenu) SetAllowsContextMenuPlugIns( value bool, ) { - C.NSMenu_inst_setAllowsContextMenuPlugIns_( + C.NSMenu_inst_setAllowsContextMenuPlugIns( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13465,10 +13465,10 @@ func (x gen_NSMenu) ShowsStateColumn() ( return } -func (x gen_NSMenu) SetShowsStateColumn_( +func (x gen_NSMenu) SetShowsStateColumn( value bool, ) { - C.NSMenu_inst_setShowsStateColumn_( + C.NSMenu_inst_setShowsStateColumn( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13495,10 +13495,10 @@ func (x gen_NSMenu) Delegate() ( return } -func (x gen_NSMenu) SetDelegate_( +func (x gen_NSMenu) SetDelegate( value objc.Ref, ) { - C.NSMenu_inst_setDelegate_( + C.NSMenu_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13524,10 +13524,10 @@ func NSPopover_fromRef(ref objc.Ref) NSPopover { return NSPopover_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSPopover) PerformClose_( +func (x gen_NSPopover) PerformClose( sender objc.Ref, ) { - C.NSPopover_inst_performClose_( + C.NSPopover_inst_performClose( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -13561,10 +13561,10 @@ func (x gen_NSPopover) Behavior() ( return } -func (x gen_NSPopover) SetBehavior_( +func (x gen_NSPopover) SetBehavior( value core.NSInteger, ) { - C.NSPopover_inst_setBehavior_( + C.NSPopover_inst_setBehavior( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -13581,10 +13581,10 @@ func (x gen_NSPopover) PositioningRect() ( return } -func (x gen_NSPopover) SetPositioningRect_( +func (x gen_NSPopover) SetPositioningRect( value core.NSRect, ) { - C.NSPopover_inst_setPositioningRect_( + C.NSPopover_inst_setPositioningRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -13601,10 +13601,10 @@ func (x gen_NSPopover) Animates() ( return } -func (x gen_NSPopover) SetAnimates_( +func (x gen_NSPopover) SetAnimates( value bool, ) { - C.NSPopover_inst_setAnimates_( + C.NSPopover_inst_setAnimates( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13621,10 +13621,10 @@ func (x gen_NSPopover) ContentSize() ( return } -func (x gen_NSPopover) SetContentSize_( +func (x gen_NSPopover) SetContentSize( value core.NSSize, ) { - C.NSPopover_inst_setContentSize_( + C.NSPopover_inst_setContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -13670,14 +13670,14 @@ func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem { return NSMenuItem_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent__asNSMenuItem( +func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent_asNSMenuItem( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, ) ( r0 NSMenuItem, ) { - ret := C.NSMenuItem_inst_initWithTitle_action_keyEquivalent_( + ret := C.NSMenuItem_inst_initWithTitle_action_keyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), @@ -13707,10 +13707,10 @@ func (x gen_NSMenuItem) IsEnabled() ( return } -func (x gen_NSMenuItem) SetEnabled_( +func (x gen_NSMenuItem) SetEnabled( value bool, ) { - C.NSMenuItem_inst_setEnabled_( + C.NSMenuItem_inst_setEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13727,10 +13727,10 @@ func (x gen_NSMenuItem) IsHidden() ( return } -func (x gen_NSMenuItem) SetHidden_( +func (x gen_NSMenuItem) SetHidden( value bool, ) { - C.NSMenuItem_inst_setHidden_( + C.NSMenuItem_inst_setHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13757,10 +13757,10 @@ func (x gen_NSMenuItem) Target() ( return } -func (x gen_NSMenuItem) SetTarget_( +func (x gen_NSMenuItem) SetTarget( value objc.Ref, ) { - C.NSMenuItem_inst_setTarget_( + C.NSMenuItem_inst_setTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13777,10 +13777,10 @@ func (x gen_NSMenuItem) Action() ( return } -func (x gen_NSMenuItem) SetAction_( +func (x gen_NSMenuItem) SetAction( value objc.Selector, ) { - C.NSMenuItem_inst_setAction_( + C.NSMenuItem_inst_setAction( unsafe.Pointer(x.Pointer()), value.SelectorAddress(), ) @@ -13797,10 +13797,10 @@ func (x gen_NSMenuItem) Title() ( return } -func (x gen_NSMenuItem) SetTitle_( +func (x gen_NSMenuItem) SetTitle( value core.NSStringRef, ) { - C.NSMenuItem_inst_setTitle_( + C.NSMenuItem_inst_setTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13817,10 +13817,10 @@ func (x gen_NSMenuItem) AttributedTitle() ( return } -func (x gen_NSMenuItem) SetAttributedTitle_( +func (x gen_NSMenuItem) SetAttributedTitle( value core.NSAttributedStringRef, ) { - C.NSMenuItem_inst_setAttributedTitle_( + C.NSMenuItem_inst_setAttributedTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13837,10 +13837,10 @@ func (x gen_NSMenuItem) Tag() ( return } -func (x gen_NSMenuItem) SetTag_( +func (x gen_NSMenuItem) SetTag( value core.NSInteger, ) { - C.NSMenuItem_inst_setTag_( + C.NSMenuItem_inst_setTag( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -13857,10 +13857,10 @@ func (x gen_NSMenuItem) State() ( return } -func (x gen_NSMenuItem) SetState_( +func (x gen_NSMenuItem) SetState( value core.NSInteger, ) { - C.NSMenuItem_inst_setState_( + C.NSMenuItem_inst_setState( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -13877,10 +13877,10 @@ func (x gen_NSMenuItem) Image() ( return } -func (x gen_NSMenuItem) SetImage_( +func (x gen_NSMenuItem) SetImage( value NSImageRef, ) { - C.NSMenuItem_inst_setImage_( + C.NSMenuItem_inst_setImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13897,10 +13897,10 @@ func (x gen_NSMenuItem) OnStateImage() ( return } -func (x gen_NSMenuItem) SetOnStateImage_( +func (x gen_NSMenuItem) SetOnStateImage( value NSImageRef, ) { - C.NSMenuItem_inst_setOnStateImage_( + C.NSMenuItem_inst_setOnStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13917,10 +13917,10 @@ func (x gen_NSMenuItem) OffStateImage() ( return } -func (x gen_NSMenuItem) SetOffStateImage_( +func (x gen_NSMenuItem) SetOffStateImage( value NSImageRef, ) { - C.NSMenuItem_inst_setOffStateImage_( + C.NSMenuItem_inst_setOffStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13937,10 +13937,10 @@ func (x gen_NSMenuItem) MixedStateImage() ( return } -func (x gen_NSMenuItem) SetMixedStateImage_( +func (x gen_NSMenuItem) SetMixedStateImage( value NSImageRef, ) { - C.NSMenuItem_inst_setMixedStateImage_( + C.NSMenuItem_inst_setMixedStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13957,10 +13957,10 @@ func (x gen_NSMenuItem) Submenu() ( return } -func (x gen_NSMenuItem) SetSubmenu_( +func (x gen_NSMenuItem) SetSubmenu( value NSMenuRef, ) { - C.NSMenuItem_inst_setSubmenu_( + C.NSMenuItem_inst_setSubmenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14007,10 +14007,10 @@ func (x gen_NSMenuItem) Menu() ( return } -func (x gen_NSMenuItem) SetMenu_( +func (x gen_NSMenuItem) SetMenu( value NSMenuRef, ) { - C.NSMenuItem_inst_setMenu_( + C.NSMenuItem_inst_setMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14027,10 +14027,10 @@ func (x gen_NSMenuItem) KeyEquivalent() ( return } -func (x gen_NSMenuItem) SetKeyEquivalent_( +func (x gen_NSMenuItem) SetKeyEquivalent( value core.NSStringRef, ) { - C.NSMenuItem_inst_setKeyEquivalent_( + C.NSMenuItem_inst_setKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14057,10 +14057,10 @@ func (x gen_NSMenuItem) IsAlternate() ( return } -func (x gen_NSMenuItem) SetAlternate_( +func (x gen_NSMenuItem) SetAlternate( value bool, ) { - C.NSMenuItem_inst_setAlternate_( + C.NSMenuItem_inst_setAlternate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14077,10 +14077,10 @@ func (x gen_NSMenuItem) IndentationLevel() ( return } -func (x gen_NSMenuItem) SetIndentationLevel_( +func (x gen_NSMenuItem) SetIndentationLevel( value core.NSInteger, ) { - C.NSMenuItem_inst_setIndentationLevel_( + C.NSMenuItem_inst_setIndentationLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -14097,10 +14097,10 @@ func (x gen_NSMenuItem) ToolTip() ( return } -func (x gen_NSMenuItem) SetToolTip_( +func (x gen_NSMenuItem) SetToolTip( value core.NSStringRef, ) { - C.NSMenuItem_inst_setToolTip_( + C.NSMenuItem_inst_setToolTip( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14117,10 +14117,10 @@ func (x gen_NSMenuItem) RepresentedObject() ( return } -func (x gen_NSMenuItem) SetRepresentedObject_( +func (x gen_NSMenuItem) SetRepresentedObject( value objc.Ref, ) { - C.NSMenuItem_inst_setRepresentedObject_( + C.NSMenuItem_inst_setRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14137,10 +14137,10 @@ func (x gen_NSMenuItem) View() ( return } -func (x gen_NSMenuItem) SetView_( +func (x gen_NSMenuItem) SetView( value NSViewRef, ) { - C.NSMenuItem_inst_setView_( + C.NSMenuItem_inst_setView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14167,10 +14167,10 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() ( return } -func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization_( +func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( value bool, ) { - C.NSMenuItem_inst_setAllowsAutomaticKeyEquivalentLocalization_( + C.NSMenuItem_inst_setAllowsAutomaticKeyEquivalentLocalization( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14187,10 +14187,10 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() ( return } -func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring_( +func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( value bool, ) { - C.NSMenuItem_inst_setAllowsAutomaticKeyEquivalentMirroring_( + C.NSMenuItem_inst_setAllowsAutomaticKeyEquivalentMirroring( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14207,10 +14207,10 @@ func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() ( return } -func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden_( +func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden( value bool, ) { - C.NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden_( + C.NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14425,12 +14425,12 @@ func NSScreen_fromRef(ref objc.Ref) NSScreen { return NSScreen_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSScreen) ConvertRectFromBacking_( +func (x gen_NSScreen) ConvertRectFromBacking( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSScreen_inst_convertRectFromBacking_( + ret := C.NSScreen_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -14438,12 +14438,12 @@ func (x gen_NSScreen) ConvertRectFromBacking_( return } -func (x gen_NSScreen) ConvertRectToBacking_( +func (x gen_NSScreen) ConvertRectToBacking( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSScreen_inst_convertRectToBacking_( + ret := C.NSScreen_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -14570,12 +14570,12 @@ func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar { return NSStatusBar_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSStatusBar) StatusItemWithLength_( +func (x gen_NSStatusBar) StatusItemWithLength( length core.CGFloat, ) ( r0 NSStatusItem, ) { - ret := C.NSStatusBar_inst_statusItemWithLength_( + ret := C.NSStatusBar_inst_statusItemWithLength( unsafe.Pointer(x.Pointer()), C.double(length), ) @@ -14583,10 +14583,10 @@ func (x gen_NSStatusBar) StatusItemWithLength_( return } -func (x gen_NSStatusBar) RemoveStatusItem_( +func (x gen_NSStatusBar) RemoveStatusItem( item NSStatusItemRef, ) { - C.NSStatusBar_inst_removeStatusItem_( + C.NSStatusBar_inst_removeStatusItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -14662,10 +14662,10 @@ func (x gen_NSStatusBarButton) AppearsDisabled() ( return } -func (x gen_NSStatusBarButton) SetAppearsDisabled_( +func (x gen_NSStatusBarButton) SetAppearsDisabled( value bool, ) { - C.NSStatusBarButton_inst_setAppearsDisabled_( + C.NSStatusBarButton_inst_setAppearsDisabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14731,10 +14731,10 @@ func (x gen_NSStatusItem) Menu() ( return } -func (x gen_NSStatusItem) SetMenu_( +func (x gen_NSStatusItem) SetMenu( value NSMenuRef, ) { - C.NSStatusItem_inst_setMenu_( + C.NSStatusItem_inst_setMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14751,10 +14751,10 @@ func (x gen_NSStatusItem) IsVisible() ( return } -func (x gen_NSStatusItem) SetVisible_( +func (x gen_NSStatusItem) SetVisible( value bool, ) { - C.NSStatusItem_inst_setVisible_( + C.NSStatusItem_inst_setVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14771,10 +14771,10 @@ func (x gen_NSStatusItem) Length() ( return } -func (x gen_NSStatusItem) SetLength_( +func (x gen_NSStatusItem) SetLength( value core.CGFloat, ) { - C.NSStatusItem_inst_setLength_( + C.NSStatusItem_inst_setLength( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -14800,12 +14800,12 @@ func NSText_fromRef(ref objc.Ref) NSText { return NSText_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSText) InitWithFrame__asNSText( +func (x gen_NSText) InitWithFrame_asNSText( frameRect core.NSRect, ) ( r0 NSText, ) { - ret := C.NSText_inst_initWithFrame_( + ret := C.NSText_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -14813,192 +14813,192 @@ func (x gen_NSText) InitWithFrame__asNSText( return } -func (x gen_NSText) ToggleRuler_( +func (x gen_NSText) ToggleRuler( sender objc.Ref, ) { - C.NSText_inst_toggleRuler_( + C.NSText_inst_toggleRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) SelectAll_( +func (x gen_NSText) SelectAll( sender objc.Ref, ) { - C.NSText_inst_selectAll_( + C.NSText_inst_selectAll( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Copy_( +func (x gen_NSText) Copy( sender objc.Ref, ) { - C.NSText_inst_copy_( + C.NSText_inst_copy( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Cut_( +func (x gen_NSText) Cut( sender objc.Ref, ) { - C.NSText_inst_cut_( + C.NSText_inst_cut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Paste_( +func (x gen_NSText) Paste( sender objc.Ref, ) { - C.NSText_inst_paste_( + C.NSText_inst_paste( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) CopyFont_( +func (x gen_NSText) CopyFont( sender objc.Ref, ) { - C.NSText_inst_copyFont_( + C.NSText_inst_copyFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) PasteFont_( +func (x gen_NSText) PasteFont( sender objc.Ref, ) { - C.NSText_inst_pasteFont_( + C.NSText_inst_pasteFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) CopyRuler_( +func (x gen_NSText) CopyRuler( sender objc.Ref, ) { - C.NSText_inst_copyRuler_( + C.NSText_inst_copyRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) PasteRuler_( +func (x gen_NSText) PasteRuler( sender objc.Ref, ) { - C.NSText_inst_pasteRuler_( + C.NSText_inst_pasteRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Delete_( +func (x gen_NSText) Delete( sender objc.Ref, ) { - C.NSText_inst_delete_( + C.NSText_inst_delete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) ChangeFont_( +func (x gen_NSText) ChangeFont( sender objc.Ref, ) { - C.NSText_inst_changeFont_( + C.NSText_inst_changeFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) AlignCenter_( +func (x gen_NSText) AlignCenter( sender objc.Ref, ) { - C.NSText_inst_alignCenter_( + C.NSText_inst_alignCenter( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) AlignLeft_( +func (x gen_NSText) AlignLeft( sender objc.Ref, ) { - C.NSText_inst_alignLeft_( + C.NSText_inst_alignLeft( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) AlignRight_( +func (x gen_NSText) AlignRight( sender objc.Ref, ) { - C.NSText_inst_alignRight_( + C.NSText_inst_alignRight( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Superscript_( +func (x gen_NSText) Superscript( sender objc.Ref, ) { - C.NSText_inst_superscript_( + C.NSText_inst_superscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Subscript_( +func (x gen_NSText) Subscript( sender objc.Ref, ) { - C.NSText_inst_subscript_( + C.NSText_inst_subscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Unscript_( +func (x gen_NSText) Unscript( sender objc.Ref, ) { - C.NSText_inst_unscript_( + C.NSText_inst_unscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Underline_( +func (x gen_NSText) Underline( sender objc.Ref, ) { - C.NSText_inst_underline_( + C.NSText_inst_underline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) ReadRTFDFromFile_( +func (x gen_NSText) ReadRTFDFromFile( path core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSText_inst_readRTFDFromFile_( + ret := C.NSText_inst_readRTFDFromFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -15006,13 +15006,13 @@ func (x gen_NSText) ReadRTFDFromFile_( return } -func (x gen_NSText) WriteRTFDToFile_atomically_( +func (x gen_NSText) WriteRTFDToFile_atomically( path core.NSStringRef, flag bool, ) ( r0 bool, ) { - ret := C.NSText_inst_writeRTFDToFile_atomically_( + ret := C.NSText_inst_writeRTFDToFile_atomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(flag), @@ -15021,20 +15021,20 @@ func (x gen_NSText) WriteRTFDToFile_atomically_( return } -func (x gen_NSText) CheckSpelling_( +func (x gen_NSText) CheckSpelling( sender objc.Ref, ) { - C.NSText_inst_checkSpelling_( + C.NSText_inst_checkSpelling( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) ShowGuessPanel_( +func (x gen_NSText) ShowGuessPanel( sender objc.Ref, ) { - C.NSText_inst_showGuessPanel_( + C.NSText_inst_showGuessPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -15068,10 +15068,10 @@ func (x gen_NSText) String() ( return } -func (x gen_NSText) SetString_( +func (x gen_NSText) SetString( value core.NSStringRef, ) { - C.NSText_inst_setString_( + C.NSText_inst_setString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15088,10 +15088,10 @@ func (x gen_NSText) BackgroundColor() ( return } -func (x gen_NSText) SetBackgroundColor_( +func (x gen_NSText) SetBackgroundColor( value NSColorRef, ) { - C.NSText_inst_setBackgroundColor_( + C.NSText_inst_setBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15108,10 +15108,10 @@ func (x gen_NSText) DrawsBackground() ( return } -func (x gen_NSText) SetDrawsBackground_( +func (x gen_NSText) SetDrawsBackground( value bool, ) { - C.NSText_inst_setDrawsBackground_( + C.NSText_inst_setDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15128,10 +15128,10 @@ func (x gen_NSText) IsEditable() ( return } -func (x gen_NSText) SetEditable_( +func (x gen_NSText) SetEditable( value bool, ) { - C.NSText_inst_setEditable_( + C.NSText_inst_setEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15148,10 +15148,10 @@ func (x gen_NSText) IsSelectable() ( return } -func (x gen_NSText) SetSelectable_( +func (x gen_NSText) SetSelectable( value bool, ) { - C.NSText_inst_setSelectable_( + C.NSText_inst_setSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15168,10 +15168,10 @@ func (x gen_NSText) IsFieldEditor() ( return } -func (x gen_NSText) SetFieldEditor_( +func (x gen_NSText) SetFieldEditor( value bool, ) { - C.NSText_inst_setFieldEditor_( + C.NSText_inst_setFieldEditor( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15188,10 +15188,10 @@ func (x gen_NSText) IsRichText() ( return } -func (x gen_NSText) SetRichText_( +func (x gen_NSText) SetRichText( value bool, ) { - C.NSText_inst_setRichText_( + C.NSText_inst_setRichText( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15208,10 +15208,10 @@ func (x gen_NSText) ImportsGraphics() ( return } -func (x gen_NSText) SetImportsGraphics_( +func (x gen_NSText) SetImportsGraphics( value bool, ) { - C.NSText_inst_setImportsGraphics_( + C.NSText_inst_setImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15228,10 +15228,10 @@ func (x gen_NSText) UsesFontPanel() ( return } -func (x gen_NSText) SetUsesFontPanel_( +func (x gen_NSText) SetUsesFontPanel( value bool, ) { - C.NSText_inst_setUsesFontPanel_( + C.NSText_inst_setUsesFontPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15258,10 +15258,10 @@ func (x gen_NSText) Font() ( return } -func (x gen_NSText) SetFont_( +func (x gen_NSText) SetFont( value NSFontRef, ) { - C.NSText_inst_setFont_( + C.NSText_inst_setFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15278,10 +15278,10 @@ func (x gen_NSText) TextColor() ( return } -func (x gen_NSText) SetTextColor_( +func (x gen_NSText) SetTextColor( value NSColorRef, ) { - C.NSText_inst_setTextColor_( + C.NSText_inst_setTextColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15298,10 +15298,10 @@ func (x gen_NSText) MaxSize() ( return } -func (x gen_NSText) SetMaxSize_( +func (x gen_NSText) SetMaxSize( value core.NSSize, ) { - C.NSText_inst_setMaxSize_( + C.NSText_inst_setMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -15318,10 +15318,10 @@ func (x gen_NSText) MinSize() ( return } -func (x gen_NSText) SetMinSize_( +func (x gen_NSText) SetMinSize( value core.NSSize, ) { - C.NSText_inst_setMinSize_( + C.NSText_inst_setMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -15338,10 +15338,10 @@ func (x gen_NSText) IsVerticallyResizable() ( return } -func (x gen_NSText) SetVerticallyResizable_( +func (x gen_NSText) SetVerticallyResizable( value bool, ) { - C.NSText_inst_setVerticallyResizable_( + C.NSText_inst_setVerticallyResizable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15358,10 +15358,10 @@ func (x gen_NSText) IsHorizontallyResizable() ( return } -func (x gen_NSText) SetHorizontallyResizable_( +func (x gen_NSText) SetHorizontallyResizable( value bool, ) { - C.NSText_inst_setHorizontallyResizable_( + C.NSText_inst_setHorizontallyResizable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15378,10 +15378,10 @@ func (x gen_NSText) Delegate() ( return } -func (x gen_NSText) SetDelegate_( +func (x gen_NSText) SetDelegate( value objc.Ref, ) { - C.NSText_inst_setDelegate_( + C.NSText_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15407,22 +15407,22 @@ func NSTextField_fromRef(ref objc.Ref) NSTextField { return NSTextField_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSTextField) SelectText_( +func (x gen_NSTextField) SelectText( sender objc.Ref, ) { - C.NSTextField_inst_selectText_( + C.NSTextField_inst_selectText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextField) TextShouldBeginEditing_( +func (x gen_NSTextField) TextShouldBeginEditing( textObject NSTextRef, ) ( r0 bool, ) { - ret := C.NSTextField_inst_textShouldBeginEditing_( + ret := C.NSTextField_inst_textShouldBeginEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObject), ) @@ -15430,12 +15430,12 @@ func (x gen_NSTextField) TextShouldBeginEditing_( return } -func (x gen_NSTextField) TextShouldEndEditing_( +func (x gen_NSTextField) TextShouldEndEditing( textObject NSTextRef, ) ( r0 bool, ) { - ret := C.NSTextField_inst_textShouldEndEditing_( + ret := C.NSTextField_inst_textShouldEndEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObject), ) @@ -15463,10 +15463,10 @@ func (x gen_NSTextField) IsSelectable() ( return } -func (x gen_NSTextField) SetSelectable_( +func (x gen_NSTextField) SetSelectable( value bool, ) { - C.NSTextField_inst_setSelectable_( + C.NSTextField_inst_setSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15483,10 +15483,10 @@ func (x gen_NSTextField) IsEditable() ( return } -func (x gen_NSTextField) SetEditable_( +func (x gen_NSTextField) SetEditable( value bool, ) { - C.NSTextField_inst_setEditable_( + C.NSTextField_inst_setEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15503,10 +15503,10 @@ func (x gen_NSTextField) AllowsEditingTextAttributes() ( return } -func (x gen_NSTextField) SetAllowsEditingTextAttributes_( +func (x gen_NSTextField) SetAllowsEditingTextAttributes( value bool, ) { - C.NSTextField_inst_setAllowsEditingTextAttributes_( + C.NSTextField_inst_setAllowsEditingTextAttributes( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15523,10 +15523,10 @@ func (x gen_NSTextField) ImportsGraphics() ( return } -func (x gen_NSTextField) SetImportsGraphics_( +func (x gen_NSTextField) SetImportsGraphics( value bool, ) { - C.NSTextField_inst_setImportsGraphics_( + C.NSTextField_inst_setImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15543,10 +15543,10 @@ func (x gen_NSTextField) PlaceholderString() ( return } -func (x gen_NSTextField) SetPlaceholderString_( +func (x gen_NSTextField) SetPlaceholderString( value core.NSStringRef, ) { - C.NSTextField_inst_setPlaceholderString_( + C.NSTextField_inst_setPlaceholderString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15563,10 +15563,10 @@ func (x gen_NSTextField) PlaceholderAttributedString() ( return } -func (x gen_NSTextField) SetPlaceholderAttributedString_( +func (x gen_NSTextField) SetPlaceholderAttributedString( value core.NSAttributedStringRef, ) { - C.NSTextField_inst_setPlaceholderAttributedString_( + C.NSTextField_inst_setPlaceholderAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15583,10 +15583,10 @@ func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() ( return } -func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation_( +func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( value bool, ) { - C.NSTextField_inst_setAllowsDefaultTighteningForTruncation_( + C.NSTextField_inst_setAllowsDefaultTighteningForTruncation( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15603,10 +15603,10 @@ func (x gen_NSTextField) MaximumNumberOfLines() ( return } -func (x gen_NSTextField) SetMaximumNumberOfLines_( +func (x gen_NSTextField) SetMaximumNumberOfLines( value core.NSInteger, ) { - C.NSTextField_inst_setMaximumNumberOfLines_( + C.NSTextField_inst_setMaximumNumberOfLines( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -15623,10 +15623,10 @@ func (x gen_NSTextField) PreferredMaxLayoutWidth() ( return } -func (x gen_NSTextField) SetPreferredMaxLayoutWidth_( +func (x gen_NSTextField) SetPreferredMaxLayoutWidth( value core.CGFloat, ) { - C.NSTextField_inst_setPreferredMaxLayoutWidth_( + C.NSTextField_inst_setPreferredMaxLayoutWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -15643,10 +15643,10 @@ func (x gen_NSTextField) TextColor() ( return } -func (x gen_NSTextField) SetTextColor_( +func (x gen_NSTextField) SetTextColor( value NSColorRef, ) { - C.NSTextField_inst_setTextColor_( + C.NSTextField_inst_setTextColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15663,10 +15663,10 @@ func (x gen_NSTextField) BackgroundColor() ( return } -func (x gen_NSTextField) SetBackgroundColor_( +func (x gen_NSTextField) SetBackgroundColor( value NSColorRef, ) { - C.NSTextField_inst_setBackgroundColor_( + C.NSTextField_inst_setBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15683,10 +15683,10 @@ func (x gen_NSTextField) DrawsBackground() ( return } -func (x gen_NSTextField) SetDrawsBackground_( +func (x gen_NSTextField) SetDrawsBackground( value bool, ) { - C.NSTextField_inst_setDrawsBackground_( + C.NSTextField_inst_setDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15703,10 +15703,10 @@ func (x gen_NSTextField) IsBezeled() ( return } -func (x gen_NSTextField) SetBezeled_( +func (x gen_NSTextField) SetBezeled( value bool, ) { - C.NSTextField_inst_setBezeled_( + C.NSTextField_inst_setBezeled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15723,10 +15723,10 @@ func (x gen_NSTextField) IsBordered() ( return } -func (x gen_NSTextField) SetBordered_( +func (x gen_NSTextField) SetBordered( value bool, ) { - C.NSTextField_inst_setBordered_( + C.NSTextField_inst_setBordered( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15753,10 +15753,10 @@ func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() ( return } -func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem_( +func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( value bool, ) { - C.NSTextField_inst_setAllowsCharacterPickerTouchBarItem_( + C.NSTextField_inst_setAllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15773,10 +15773,10 @@ func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() ( return } -func (x gen_NSTextField) SetAutomaticTextCompletionEnabled_( +func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( value bool, ) { - C.NSTextField_inst_setAutomaticTextCompletionEnabled_( + C.NSTextField_inst_setAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15793,10 +15793,10 @@ func (x gen_NSTextField) Delegate() ( return } -func (x gen_NSTextField) SetDelegate_( +func (x gen_NSTextField) SetDelegate( value objc.Ref, ) { - C.NSTextField_inst_setDelegate_( + C.NSTextField_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15822,12 +15822,12 @@ func NSTextContainer_fromRef(ref objc.Ref) NSTextContainer { return NSTextContainer_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSTextContainer) InitWithSize__asNSTextContainer( +func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( size core.NSSize, ) ( r0 NSTextContainer, ) { - ret := C.NSTextContainer_inst_initWithSize_( + ret := C.NSTextContainer_inst_initWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -15835,10 +15835,10 @@ func (x gen_NSTextContainer) InitWithSize__asNSTextContainer( return } -func (x gen_NSTextContainer) ReplaceLayoutManager_( +func (x gen_NSTextContainer) ReplaceLayoutManager( newLayoutManager NSLayoutManagerRef, ) { - C.NSTextContainer_inst_replaceLayoutManager_( + C.NSTextContainer_inst_replaceLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(newLayoutManager), ) @@ -15865,10 +15865,10 @@ func (x gen_NSTextContainer) LayoutManager() ( return } -func (x gen_NSTextContainer) SetLayoutManager_( +func (x gen_NSTextContainer) SetLayoutManager( value NSLayoutManagerRef, ) { - C.NSTextContainer_inst_setLayoutManager_( + C.NSTextContainer_inst_setLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15885,10 +15885,10 @@ func (x gen_NSTextContainer) TextView() ( return } -func (x gen_NSTextContainer) SetTextView_( +func (x gen_NSTextContainer) SetTextView( value NSTextViewRef, ) { - C.NSTextContainer_inst_setTextView_( + C.NSTextContainer_inst_setTextView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15905,10 +15905,10 @@ func (x gen_NSTextContainer) Size() ( return } -func (x gen_NSTextContainer) SetSize_( +func (x gen_NSTextContainer) SetSize( value core.NSSize, ) { - C.NSTextContainer_inst_setSize_( + C.NSTextContainer_inst_setSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -15925,10 +15925,10 @@ func (x gen_NSTextContainer) ExclusionPaths() ( return } -func (x gen_NSTextContainer) SetExclusionPaths_( +func (x gen_NSTextContainer) SetExclusionPaths( value core.NSArrayRef, ) { - C.NSTextContainer_inst_setExclusionPaths_( + C.NSTextContainer_inst_setExclusionPaths( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15945,10 +15945,10 @@ func (x gen_NSTextContainer) WidthTracksTextView() ( return } -func (x gen_NSTextContainer) SetWidthTracksTextView_( +func (x gen_NSTextContainer) SetWidthTracksTextView( value bool, ) { - C.NSTextContainer_inst_setWidthTracksTextView_( + C.NSTextContainer_inst_setWidthTracksTextView( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15965,10 +15965,10 @@ func (x gen_NSTextContainer) HeightTracksTextView() ( return } -func (x gen_NSTextContainer) SetHeightTracksTextView_( +func (x gen_NSTextContainer) SetHeightTracksTextView( value bool, ) { - C.NSTextContainer_inst_setHeightTracksTextView_( + C.NSTextContainer_inst_setHeightTracksTextView( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15985,10 +15985,10 @@ func (x gen_NSTextContainer) MaximumNumberOfLines() ( return } -func (x gen_NSTextContainer) SetMaximumNumberOfLines_( +func (x gen_NSTextContainer) SetMaximumNumberOfLines( value core.NSUInteger, ) { - C.NSTextContainer_inst_setMaximumNumberOfLines_( + C.NSTextContainer_inst_setMaximumNumberOfLines( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -16005,10 +16005,10 @@ func (x gen_NSTextContainer) LineFragmentPadding() ( return } -func (x gen_NSTextContainer) SetLineFragmentPadding_( +func (x gen_NSTextContainer) SetLineFragmentPadding( value core.CGFloat, ) { - C.NSTextContainer_inst_setLineFragmentPadding_( + C.NSTextContainer_inst_setLineFragmentPadding( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -16051,12 +16051,12 @@ func (x gen_NSViewController) LoadView() { return } -func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo_( +func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo( delegate objc.Ref, didCommitSelector objc.Selector, contextInfo unsafe.Pointer, ) { - C.NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo_( + C.NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo( unsafe.Pointer(x.Pointer()), objc.RefPointer(delegate), didCommitSelector.SelectorAddress(), @@ -16082,10 +16082,10 @@ func (x gen_NSViewController) DiscardEditing() { return } -func (x gen_NSViewController) DismissController_( +func (x gen_NSViewController) DismissController( sender objc.Ref, ) { - C.NSViewController_inst_dismissController_( + C.NSViewController_inst_dismissController( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16148,21 +16148,21 @@ func (x gen_NSViewController) ViewDidLayout() { return } -func (x gen_NSViewController) AddChildViewController_( +func (x gen_NSViewController) AddChildViewController( childViewController NSViewControllerRef, ) { - C.NSViewController_inst_addChildViewController_( + C.NSViewController_inst_addChildViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(childViewController), ) return } -func (x gen_NSViewController) InsertChildViewController_atIndex_( +func (x gen_NSViewController) InsertChildViewController_atIndex( childViewController NSViewControllerRef, index core.NSInteger, ) { - C.NSViewController_inst_insertChildViewController_atIndex_( + C.NSViewController_inst_insertChildViewController_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(childViewController), C.long(index), @@ -16170,10 +16170,10 @@ func (x gen_NSViewController) InsertChildViewController_atIndex_( return } -func (x gen_NSViewController) RemoveChildViewControllerAtIndex_( +func (x gen_NSViewController) RemoveChildViewControllerAtIndex( index core.NSInteger, ) { - C.NSViewController_inst_removeChildViewControllerAtIndex_( + C.NSViewController_inst_removeChildViewControllerAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -16187,21 +16187,21 @@ func (x gen_NSViewController) RemoveFromParentViewController() { return } -func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController_( +func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( viewController NSViewControllerRef, ) { - C.NSViewController_inst_preferredContentSizeDidChangeForViewController_( + C.NSViewController_inst_preferredContentSizeDidChangeForViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) PresentViewController_animator_( +func (x gen_NSViewController) PresentViewController_animator( viewController NSViewControllerRef, animator objc.Ref, ) { - C.NSViewController_inst_presentViewController_animator_( + C.NSViewController_inst_presentViewController_animator( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), objc.RefPointer(animator), @@ -16209,40 +16209,40 @@ func (x gen_NSViewController) PresentViewController_animator_( return } -func (x gen_NSViewController) DismissViewController_( +func (x gen_NSViewController) DismissViewController( viewController NSViewControllerRef, ) { - C.NSViewController_inst_dismissViewController_( + C.NSViewController_inst_dismissViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) PresentViewControllerAsModalWindow_( +func (x gen_NSViewController) PresentViewControllerAsModalWindow( viewController NSViewControllerRef, ) { - C.NSViewController_inst_presentViewControllerAsModalWindow_( + C.NSViewController_inst_presentViewControllerAsModalWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) PresentViewControllerAsSheet_( +func (x gen_NSViewController) PresentViewControllerAsSheet( viewController NSViewControllerRef, ) { - C.NSViewController_inst_presentViewControllerAsSheet_( + C.NSViewController_inst_presentViewControllerAsSheet( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) ViewWillTransitionToSize_( +func (x gen_NSViewController) ViewWillTransitionToSize( newSize core.NSSize, ) { - C.NSViewController_inst_viewWillTransitionToSize_( + C.NSViewController_inst_viewWillTransitionToSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) @@ -16269,10 +16269,10 @@ func (x gen_NSViewController) RepresentedObject() ( return } -func (x gen_NSViewController) SetRepresentedObject_( +func (x gen_NSViewController) SetRepresentedObject( value objc.Ref, ) { - C.NSViewController_inst_setRepresentedObject_( + C.NSViewController_inst_setRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16299,10 +16299,10 @@ func (x gen_NSViewController) View() ( return } -func (x gen_NSViewController) SetView_( +func (x gen_NSViewController) SetView( value NSViewRef, ) { - C.NSViewController_inst_setView_( + C.NSViewController_inst_setView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16319,10 +16319,10 @@ func (x gen_NSViewController) Title() ( return } -func (x gen_NSViewController) SetTitle_( +func (x gen_NSViewController) SetTitle( value core.NSStringRef, ) { - C.NSViewController_inst_setTitle_( + C.NSViewController_inst_setTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16349,10 +16349,10 @@ func (x gen_NSViewController) PreferredContentSize() ( return } -func (x gen_NSViewController) SetPreferredContentSize_( +func (x gen_NSViewController) SetPreferredContentSize( value core.NSSize, ) { - C.NSViewController_inst_setPreferredContentSize_( + C.NSViewController_inst_setPreferredContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -16369,10 +16369,10 @@ func (x gen_NSViewController) ChildViewControllers() ( return } -func (x gen_NSViewController) SetChildViewControllers_( +func (x gen_NSViewController) SetChildViewControllers( value core.NSArrayRef, ) { - C.NSViewController_inst_setChildViewControllers_( + C.NSViewController_inst_setChildViewControllers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16419,10 +16419,10 @@ func (x gen_NSViewController) PreferredScreenOrigin() ( return } -func (x gen_NSViewController) SetPreferredScreenOrigin_( +func (x gen_NSViewController) SetPreferredScreenOrigin( value core.NSPoint, ) { - C.NSViewController_inst_setPreferredScreenOrigin_( + C.NSViewController_inst_setPreferredScreenOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&value)), ) @@ -16459,10 +16459,10 @@ func (x gen_NSViewController) SourceItemView() ( return } -func (x gen_NSViewController) SetSourceItemView_( +func (x gen_NSViewController) SetSourceItemView( value NSViewRef, ) { - C.NSViewController_inst_setSourceItemView_( + C.NSViewController_inst_setSourceItemView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16495,10 +16495,10 @@ func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { return } -func (x gen_NSVisualEffectView) ViewWillMoveToWindow_( +func (x gen_NSVisualEffectView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { - C.NSVisualEffectView_inst_viewWillMoveToWindow_( + C.NSVisualEffectView_inst_viewWillMoveToWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(newWindow), ) @@ -16525,10 +16525,10 @@ func (x gen_NSVisualEffectView) IsEmphasized() ( return } -func (x gen_NSVisualEffectView) SetEmphasized_( +func (x gen_NSVisualEffectView) SetEmphasized( value bool, ) { - C.NSVisualEffectView_inst_setEmphasized_( + C.NSVisualEffectView_inst_setEmphasized( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -16545,10 +16545,10 @@ func (x gen_NSVisualEffectView) MaskImage() ( return } -func (x gen_NSVisualEffectView) SetMaskImage_( +func (x gen_NSVisualEffectView) SetMaskImage( value NSImageRef, ) { - C.NSVisualEffectView_inst_setMaskImage_( + C.NSVisualEffectView_inst_setMaskImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16574,7 +16574,7 @@ func NSWindow_fromRef(ref objc.Ref) NSWindow { return NSWindow_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer__asNSWindow( +func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, @@ -16582,7 +16582,7 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer__asNSWindow( ) ( r0 NSWindow, ) { - ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_( + ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), C.ulong(style), @@ -16593,7 +16593,7 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer__asNSWindow( return } -func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen__asNSWindow( +func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, @@ -16602,7 +16602,7 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen__asNSWi ) ( r0 NSWindow, ) { - ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen_( + ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), C.ulong(style), @@ -16614,20 +16614,20 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen__asNSWi return } -func (x gen_NSWindow) ToggleFullScreen_( +func (x gen_NSWindow) ToggleFullScreen( sender objc.Ref, ) { - C.NSWindow_inst_toggleFullScreen_( + C.NSWindow_inst_toggleFullScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SetDynamicDepthLimit_( +func (x gen_NSWindow) SetDynamicDepthLimit( flag bool, ) { - C.NSWindow_inst_setDynamicDepthLimit_( + C.NSWindow_inst_setDynamicDepthLimit( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -16641,12 +16641,12 @@ func (x gen_NSWindow) InvalidateShadow() { return } -func (x gen_NSWindow) ContentRectForFrameRect_( +func (x gen_NSWindow) ContentRectForFrameRect( frameRect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_contentRectForFrameRect_( + ret := C.NSWindow_inst_contentRectForFrameRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -16654,12 +16654,12 @@ func (x gen_NSWindow) ContentRectForFrameRect_( return } -func (x gen_NSWindow) FrameRectForContentRect_( +func (x gen_NSWindow) FrameRectForContentRect( contentRect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_frameRectForContentRect_( + ret := C.NSWindow_inst_frameRectForContentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), ) @@ -16667,43 +16667,43 @@ func (x gen_NSWindow) FrameRectForContentRect_( return } -func (x gen_NSWindow) EndSheet_( +func (x gen_NSWindow) EndSheet( sheetWindow NSWindowRef, ) { - C.NSWindow_inst_endSheet_( + C.NSWindow_inst_endSheet( unsafe.Pointer(x.Pointer()), objc.RefPointer(sheetWindow), ) return } -func (x gen_NSWindow) SetFrameOrigin_( +func (x gen_NSWindow) SetFrameOrigin( point core.NSPoint, ) { - C.NSWindow_inst_setFrameOrigin_( + C.NSWindow_inst_setFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) return } -func (x gen_NSWindow) SetFrameTopLeftPoint_( +func (x gen_NSWindow) SetFrameTopLeftPoint( point core.NSPoint, ) { - C.NSWindow_inst_setFrameTopLeftPoint_( + C.NSWindow_inst_setFrameTopLeftPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) return } -func (x gen_NSWindow) ConstrainFrameRect_toScreen_( +func (x gen_NSWindow) ConstrainFrameRect_toScreen( frameRect core.NSRect, screen NSScreenRef, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_constrainFrameRect_toScreen_( + ret := C.NSWindow_inst_constrainFrameRect_toScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), objc.RefPointer(screen), @@ -16712,12 +16712,12 @@ func (x gen_NSWindow) ConstrainFrameRect_toScreen_( return } -func (x gen_NSWindow) CascadeTopLeftFromPoint_( +func (x gen_NSWindow) CascadeTopLeftFromPoint( topLeftPoint core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSWindow_inst_cascadeTopLeftFromPoint_( + ret := C.NSWindow_inst_cascadeTopLeftFromPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&topLeftPoint)), ) @@ -16725,11 +16725,11 @@ func (x gen_NSWindow) CascadeTopLeftFromPoint_( return } -func (x gen_NSWindow) SetFrame_display_( +func (x gen_NSWindow) SetFrame_display( frameRect core.NSRect, flag bool, ) { - C.NSWindow_inst_setFrame_display_( + C.NSWindow_inst_setFrame_display( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), convertToObjCBool(flag), @@ -16737,12 +16737,12 @@ func (x gen_NSWindow) SetFrame_display_( return } -func (x gen_NSWindow) SetFrame_display_animate_( +func (x gen_NSWindow) SetFrame_display_animate( frameRect core.NSRect, displayFlag bool, animateFlag bool, ) { - C.NSWindow_inst_setFrame_display_animate_( + C.NSWindow_inst_setFrame_display_animate( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), convertToObjCBool(displayFlag), @@ -16751,60 +16751,60 @@ func (x gen_NSWindow) SetFrame_display_animate_( return } -func (x gen_NSWindow) PerformZoom_( +func (x gen_NSWindow) PerformZoom( sender objc.Ref, ) { - C.NSWindow_inst_performZoom_( + C.NSWindow_inst_performZoom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Zoom_( +func (x gen_NSWindow) Zoom( sender objc.Ref, ) { - C.NSWindow_inst_zoom_( + C.NSWindow_inst_zoom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SetContentSize_( +func (x gen_NSWindow) SetContentSize( size core.NSSize, ) { - C.NSWindow_inst_setContentSize_( + C.NSWindow_inst_setContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) return } -func (x gen_NSWindow) OrderOut_( +func (x gen_NSWindow) OrderOut( sender objc.Ref, ) { - C.NSWindow_inst_orderOut_( + C.NSWindow_inst_orderOut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) OrderBack_( +func (x gen_NSWindow) OrderBack( sender objc.Ref, ) { - C.NSWindow_inst_orderBack_( + C.NSWindow_inst_orderBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) OrderFront_( +func (x gen_NSWindow) OrderFront( sender objc.Ref, ) { - C.NSWindow_inst_orderFront_( + C.NSWindow_inst_orderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16818,11 +16818,11 @@ func (x gen_NSWindow) OrderFrontRegardless() { return } -func (x gen_NSWindow) OrderWindow_relativeTo_( +func (x gen_NSWindow) OrderWindow_relativeTo( place core.NSUInteger, otherWin core.NSInteger, ) { - C.NSWindow_inst_orderWindow_relativeTo_( + C.NSWindow_inst_orderWindow_relativeTo( unsafe.Pointer(x.Pointer()), C.ulong(place), C.long(otherWin), @@ -16837,10 +16837,10 @@ func (x gen_NSWindow) MakeKeyWindow() { return } -func (x gen_NSWindow) MakeKeyAndOrderFront_( +func (x gen_NSWindow) MakeKeyAndOrderFront( sender objc.Ref, ) { - C.NSWindow_inst_makeKeyAndOrderFront_( + C.NSWindow_inst_makeKeyAndOrderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16882,31 +16882,31 @@ func (x gen_NSWindow) ResignMainWindow() { return } -func (x gen_NSWindow) ToggleToolbarShown_( +func (x gen_NSWindow) ToggleToolbarShown( sender objc.Ref, ) { - C.NSWindow_inst_toggleToolbarShown_( + C.NSWindow_inst_toggleToolbarShown( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) RunToolbarCustomizationPalette_( +func (x gen_NSWindow) RunToolbarCustomizationPalette( sender objc.Ref, ) { - C.NSWindow_inst_runToolbarCustomizationPalette_( + C.NSWindow_inst_runToolbarCustomizationPalette( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) AddChildWindow_ordered_( +func (x gen_NSWindow) AddChildWindow_ordered( childWin NSWindowRef, place core.NSUInteger, ) { - C.NSWindow_inst_addChildWindow_ordered_( + C.NSWindow_inst_addChildWindow_ordered( unsafe.Pointer(x.Pointer()), objc.RefPointer(childWin), C.ulong(place), @@ -16914,10 +16914,10 @@ func (x gen_NSWindow) AddChildWindow_ordered_( return } -func (x gen_NSWindow) RemoveChildWindow_( +func (x gen_NSWindow) RemoveChildWindow( childWin NSWindowRef, ) { - C.NSWindow_inst_removeChildWindow_( + C.NSWindow_inst_removeChildWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(childWin), ) @@ -16938,13 +16938,13 @@ func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { return } -func (x gen_NSWindow) FieldEditor_forObject_( +func (x gen_NSWindow) FieldEditor_forObject( createFlag bool, object objc.Ref, ) ( r0 NSText, ) { - ret := C.NSWindow_inst_fieldEditor_forObject_( + ret := C.NSWindow_inst_fieldEditor_forObject( unsafe.Pointer(x.Pointer()), convertToObjCBool(createFlag), objc.RefPointer(object), @@ -16953,10 +16953,10 @@ func (x gen_NSWindow) FieldEditor_forObject_( return } -func (x gen_NSWindow) EndEditingFor_( +func (x gen_NSWindow) EndEditingFor( object objc.Ref, ) { - C.NSWindow_inst_endEditingFor_( + C.NSWindow_inst_endEditingFor( unsafe.Pointer(x.Pointer()), objc.RefPointer(object), ) @@ -16984,10 +16984,10 @@ func (x gen_NSWindow) DiscardCursorRects() { return } -func (x gen_NSWindow) InvalidateCursorRectsForView_( +func (x gen_NSWindow) InvalidateCursorRectsForView( view NSViewRef, ) { - C.NSWindow_inst_invalidateCursorRectsForView_( + C.NSWindow_inst_invalidateCursorRectsForView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -17001,21 +17001,21 @@ func (x gen_NSWindow) ResetCursorRects() { return } -func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex_( +func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( index core.NSInteger, ) { - C.NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex_( + C.NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) return } -func (x gen_NSWindow) AddTabbedWindow_ordered_( +func (x gen_NSWindow) AddTabbedWindow_ordered( window NSWindowRef, ordered core.NSUInteger, ) { - C.NSWindow_inst_addTabbedWindow_ordered_( + C.NSWindow_inst_addTabbedWindow_ordered( unsafe.Pointer(x.Pointer()), objc.RefPointer(window), C.ulong(ordered), @@ -17023,71 +17023,71 @@ func (x gen_NSWindow) AddTabbedWindow_ordered_( return } -func (x gen_NSWindow) MergeAllWindows_( +func (x gen_NSWindow) MergeAllWindows( sender objc.Ref, ) { - C.NSWindow_inst_mergeAllWindows_( + C.NSWindow_inst_mergeAllWindows( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SelectNextTab_( +func (x gen_NSWindow) SelectNextTab( sender objc.Ref, ) { - C.NSWindow_inst_selectNextTab_( + C.NSWindow_inst_selectNextTab( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SelectPreviousTab_( +func (x gen_NSWindow) SelectPreviousTab( sender objc.Ref, ) { - C.NSWindow_inst_selectPreviousTab_( + C.NSWindow_inst_selectPreviousTab( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) MoveTabToNewWindow_( +func (x gen_NSWindow) MoveTabToNewWindow( sender objc.Ref, ) { - C.NSWindow_inst_moveTabToNewWindow_( + C.NSWindow_inst_moveTabToNewWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) ToggleTabBar_( +func (x gen_NSWindow) ToggleTabBar( sender objc.Ref, ) { - C.NSWindow_inst_toggleTabBar_( + C.NSWindow_inst_toggleTabBar( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) ToggleTabOverview_( +func (x gen_NSWindow) ToggleTabOverview( sender objc.Ref, ) { - C.NSWindow_inst_toggleTabOverview_( + C.NSWindow_inst_toggleTabOverview( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) PostEvent_atStart_( +func (x gen_NSWindow) PostEvent_atStart( event NSEventRef, flag bool, ) { - C.NSWindow_inst_postEvent_atStart_( + C.NSWindow_inst_postEvent_atStart( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), convertToObjCBool(flag), @@ -17095,23 +17095,23 @@ func (x gen_NSWindow) PostEvent_atStart_( return } -func (x gen_NSWindow) SendEvent_( +func (x gen_NSWindow) SendEvent( event NSEventRef, ) { - C.NSWindow_inst_sendEvent_( + C.NSWindow_inst_sendEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) return } -func (x gen_NSWindow) TryToPerform_with_( +func (x gen_NSWindow) TryToPerform_with( action objc.Selector, object objc.Ref, ) ( r0 bool, ) { - ret := C.NSWindow_inst_tryToPerform_with_( + ret := C.NSWindow_inst_tryToPerform_with( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(object), @@ -17120,40 +17120,40 @@ func (x gen_NSWindow) TryToPerform_with_( return } -func (x gen_NSWindow) SelectKeyViewPrecedingView_( +func (x gen_NSWindow) SelectKeyViewPrecedingView( view NSViewRef, ) { - C.NSWindow_inst_selectKeyViewPrecedingView_( + C.NSWindow_inst_selectKeyViewPrecedingView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) return } -func (x gen_NSWindow) SelectKeyViewFollowingView_( +func (x gen_NSWindow) SelectKeyViewFollowingView( view NSViewRef, ) { - C.NSWindow_inst_selectKeyViewFollowingView_( + C.NSWindow_inst_selectKeyViewFollowingView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) return } -func (x gen_NSWindow) SelectPreviousKeyView_( +func (x gen_NSWindow) SelectPreviousKeyView( sender objc.Ref, ) { - C.NSWindow_inst_selectPreviousKeyView_( + C.NSWindow_inst_selectPreviousKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SelectNextKeyView_( +func (x gen_NSWindow) SelectNextKeyView( sender objc.Ref, ) { - C.NSWindow_inst_selectNextKeyView_( + C.NSWindow_inst_selectNextKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -17167,10 +17167,10 @@ func (x gen_NSWindow) RecalculateKeyViewLoop() { return } -func (x gen_NSWindow) PerformWindowDragWithEvent_( +func (x gen_NSWindow) PerformWindowDragWithEvent( event NSEventRef, ) { - C.NSWindow_inst_performWindowDragWithEvent_( + C.NSWindow_inst_performWindowDragWithEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -17219,7 +17219,7 @@ func (x gen_NSWindow) Update() { return } -func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack_( +func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( image NSImageRef, baseLocation core.NSPoint, initialOffset core.NSSize, @@ -17228,7 +17228,7 @@ func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack_( sourceObj objc.Ref, slideFlag bool, ) { - C.NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack_( + C.NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(image), *(*C.NSPoint)(unsafe.Pointer(&baseLocation)), @@ -17241,10 +17241,10 @@ func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack_( return } -func (x gen_NSWindow) RegisterForDraggedTypes_( +func (x gen_NSWindow) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { - C.NSWindow_inst_registerForDraggedTypes_( + C.NSWindow_inst_registerForDraggedTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), ) @@ -17258,12 +17258,12 @@ func (x gen_NSWindow) UnregisterDraggedTypes() { return } -func (x gen_NSWindow) ConvertRectFromBacking_( +func (x gen_NSWindow) ConvertRectFromBacking( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_convertRectFromBacking_( + ret := C.NSWindow_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -17271,12 +17271,12 @@ func (x gen_NSWindow) ConvertRectFromBacking_( return } -func (x gen_NSWindow) ConvertRectFromScreen_( +func (x gen_NSWindow) ConvertRectFromScreen( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_convertRectFromScreen_( + ret := C.NSWindow_inst_convertRectFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -17284,12 +17284,12 @@ func (x gen_NSWindow) ConvertRectFromScreen_( return } -func (x gen_NSWindow) ConvertPointFromBacking_( +func (x gen_NSWindow) ConvertPointFromBacking( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSWindow_inst_convertPointFromBacking_( + ret := C.NSWindow_inst_convertPointFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -17297,12 +17297,12 @@ func (x gen_NSWindow) ConvertPointFromBacking_( return } -func (x gen_NSWindow) ConvertPointFromScreen_( +func (x gen_NSWindow) ConvertPointFromScreen( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSWindow_inst_convertPointFromScreen_( + ret := C.NSWindow_inst_convertPointFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -17310,12 +17310,12 @@ func (x gen_NSWindow) ConvertPointFromScreen_( return } -func (x gen_NSWindow) ConvertRectToBacking_( +func (x gen_NSWindow) ConvertRectToBacking( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_convertRectToBacking_( + ret := C.NSWindow_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -17323,12 +17323,12 @@ func (x gen_NSWindow) ConvertRectToBacking_( return } -func (x gen_NSWindow) ConvertRectToScreen_( +func (x gen_NSWindow) ConvertRectToScreen( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_convertRectToScreen_( + ret := C.NSWindow_inst_convertRectToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -17336,12 +17336,12 @@ func (x gen_NSWindow) ConvertRectToScreen_( return } -func (x gen_NSWindow) ConvertPointToBacking_( +func (x gen_NSWindow) ConvertPointToBacking( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSWindow_inst_convertPointToBacking_( + ret := C.NSWindow_inst_convertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -17349,12 +17349,12 @@ func (x gen_NSWindow) ConvertPointToBacking_( return } -func (x gen_NSWindow) ConvertPointToScreen_( +func (x gen_NSWindow) ConvertPointToScreen( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSWindow_inst_convertPointToScreen_( + ret := C.NSWindow_inst_convertPointToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -17362,10 +17362,10 @@ func (x gen_NSWindow) ConvertPointToScreen_( return } -func (x gen_NSWindow) SetTitleWithRepresentedFilename_( +func (x gen_NSWindow) SetTitleWithRepresentedFilename( filename core.NSStringRef, ) { - C.NSWindow_inst_setTitleWithRepresentedFilename_( + C.NSWindow_inst_setTitleWithRepresentedFilename( unsafe.Pointer(x.Pointer()), objc.RefPointer(filename), ) @@ -17379,10 +17379,10 @@ func (x gen_NSWindow) Center() { return } -func (x gen_NSWindow) PerformClose_( +func (x gen_NSWindow) PerformClose( sender objc.Ref, ) { - C.NSWindow_inst_performClose_( + C.NSWindow_inst_performClose( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -17396,52 +17396,52 @@ func (x gen_NSWindow) Close() { return } -func (x gen_NSWindow) PerformMiniaturize_( +func (x gen_NSWindow) PerformMiniaturize( sender objc.Ref, ) { - C.NSWindow_inst_performMiniaturize_( + C.NSWindow_inst_performMiniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Miniaturize_( +func (x gen_NSWindow) Miniaturize( sender objc.Ref, ) { - C.NSWindow_inst_miniaturize_( + C.NSWindow_inst_miniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Deminiaturize_( +func (x gen_NSWindow) Deminiaturize( sender objc.Ref, ) { - C.NSWindow_inst_deminiaturize_( + C.NSWindow_inst_deminiaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Print_( +func (x gen_NSWindow) Print( sender objc.Ref, ) { - C.NSWindow_inst_print_( + C.NSWindow_inst_print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) DataWithEPSInsideRect_( +func (x gen_NSWindow) DataWithEPSInsideRect( rect core.NSRect, ) ( r0 core.NSData, ) { - ret := C.NSWindow_inst_dataWithEPSInsideRect_( + ret := C.NSWindow_inst_dataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -17449,12 +17449,12 @@ func (x gen_NSWindow) DataWithEPSInsideRect_( return } -func (x gen_NSWindow) DataWithPDFInsideRect_( +func (x gen_NSWindow) DataWithPDFInsideRect( rect core.NSRect, ) ( r0 core.NSData, ) { - ret := C.NSWindow_inst_dataWithPDFInsideRect_( + ret := C.NSWindow_inst_dataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -17476,40 +17476,40 @@ func (x gen_NSWindow) LayoutIfNeeded() { return } -func (x gen_NSWindow) VisualizeConstraints_( +func (x gen_NSWindow) VisualizeConstraints( constraints core.NSArrayRef, ) { - C.NSWindow_inst_visualizeConstraints_( + C.NSWindow_inst_visualizeConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) return } -func (x gen_NSWindow) SetIsMiniaturized_( +func (x gen_NSWindow) SetIsMiniaturized( flag bool, ) { - C.NSWindow_inst_setIsMiniaturized_( + C.NSWindow_inst_setIsMiniaturized( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) return } -func (x gen_NSWindow) SetIsVisible_( +func (x gen_NSWindow) SetIsVisible( flag bool, ) { - C.NSWindow_inst_setIsVisible_( + C.NSWindow_inst_setIsVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) return } -func (x gen_NSWindow) SetIsZoomed_( +func (x gen_NSWindow) SetIsZoomed( flag bool, ) { - C.NSWindow_inst_setIsZoomed_( + C.NSWindow_inst_setIsZoomed( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -17536,10 +17536,10 @@ func (x gen_NSWindow) Delegate() ( return } -func (x gen_NSWindow) SetDelegate_( +func (x gen_NSWindow) SetDelegate( value objc.Ref, ) { - C.NSWindow_inst_setDelegate_( + C.NSWindow_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17556,10 +17556,10 @@ func (x gen_NSWindow) ContentViewController() ( return } -func (x gen_NSWindow) SetContentViewController_( +func (x gen_NSWindow) SetContentViewController( value NSViewControllerRef, ) { - C.NSWindow_inst_setContentViewController_( + C.NSWindow_inst_setContentViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17576,10 +17576,10 @@ func (x gen_NSWindow) ContentView() ( return } -func (x gen_NSWindow) SetContentView_( +func (x gen_NSWindow) SetContentView( value NSViewRef, ) { - C.NSWindow_inst_setContentView_( + C.NSWindow_inst_setContentView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17596,10 +17596,10 @@ func (x gen_NSWindow) StyleMask() ( return } -func (x gen_NSWindow) SetStyleMask_( +func (x gen_NSWindow) SetStyleMask( value core.NSUInteger, ) { - C.NSWindow_inst_setStyleMask_( + C.NSWindow_inst_setStyleMask( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -17626,10 +17626,10 @@ func (x gen_NSWindow) AlphaValue() ( return } -func (x gen_NSWindow) SetAlphaValue_( +func (x gen_NSWindow) SetAlphaValue( value core.CGFloat, ) { - C.NSWindow_inst_setAlphaValue_( + C.NSWindow_inst_setAlphaValue( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -17646,10 +17646,10 @@ func (x gen_NSWindow) BackgroundColor() ( return } -func (x gen_NSWindow) SetBackgroundColor_( +func (x gen_NSWindow) SetBackgroundColor( value NSColorRef, ) { - C.NSWindow_inst_setBackgroundColor_( + C.NSWindow_inst_setBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17666,10 +17666,10 @@ func (x gen_NSWindow) CanHide() ( return } -func (x gen_NSWindow) SetCanHide_( +func (x gen_NSWindow) SetCanHide( value bool, ) { - C.NSWindow_inst_setCanHide_( + C.NSWindow_inst_setCanHide( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17696,10 +17696,10 @@ func (x gen_NSWindow) HidesOnDeactivate() ( return } -func (x gen_NSWindow) SetHidesOnDeactivate_( +func (x gen_NSWindow) SetHidesOnDeactivate( value bool, ) { - C.NSWindow_inst_setHidesOnDeactivate_( + C.NSWindow_inst_setHidesOnDeactivate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17716,10 +17716,10 @@ func (x gen_NSWindow) CollectionBehavior() ( return } -func (x gen_NSWindow) SetCollectionBehavior_( +func (x gen_NSWindow) SetCollectionBehavior( value core.NSUInteger, ) { - C.NSWindow_inst_setCollectionBehavior_( + C.NSWindow_inst_setCollectionBehavior( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -17736,10 +17736,10 @@ func (x gen_NSWindow) IsOpaque() ( return } -func (x gen_NSWindow) SetOpaque_( +func (x gen_NSWindow) SetOpaque( value bool, ) { - C.NSWindow_inst_setOpaque_( + C.NSWindow_inst_setOpaque( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17756,10 +17756,10 @@ func (x gen_NSWindow) HasShadow() ( return } -func (x gen_NSWindow) SetHasShadow_( +func (x gen_NSWindow) SetHasShadow( value bool, ) { - C.NSWindow_inst_setHasShadow_( + C.NSWindow_inst_setHasShadow( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17776,10 +17776,10 @@ func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() ( return } -func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal_( +func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( value bool, ) { - C.NSWindow_inst_setPreventsApplicationTerminationWhenModal_( + C.NSWindow_inst_setPreventsApplicationTerminationWhenModal( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17826,10 +17826,10 @@ func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() ( return } -func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin_( +func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( value bool, ) { - C.NSWindow_inst_setCanBecomeVisibleWithoutLogin_( + C.NSWindow_inst_setCanBecomeVisibleWithoutLogin( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17846,10 +17846,10 @@ func (x gen_NSWindow) BackingType() ( return } -func (x gen_NSWindow) SetBackingType_( +func (x gen_NSWindow) SetBackingType( value core.NSUInteger, ) { - C.NSWindow_inst_setBackingType_( + C.NSWindow_inst_setBackingType( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -17916,10 +17916,10 @@ func (x gen_NSWindow) AspectRatio() ( return } -func (x gen_NSWindow) SetAspectRatio_( +func (x gen_NSWindow) SetAspectRatio( value core.NSSize, ) { - C.NSWindow_inst_setAspectRatio_( + C.NSWindow_inst_setAspectRatio( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -17936,10 +17936,10 @@ func (x gen_NSWindow) MinSize() ( return } -func (x gen_NSWindow) SetMinSize_( +func (x gen_NSWindow) SetMinSize( value core.NSSize, ) { - C.NSWindow_inst_setMinSize_( + C.NSWindow_inst_setMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -17956,10 +17956,10 @@ func (x gen_NSWindow) MaxSize() ( return } -func (x gen_NSWindow) SetMaxSize_( +func (x gen_NSWindow) SetMaxSize( value core.NSSize, ) { - C.NSWindow_inst_setMaxSize_( + C.NSWindow_inst_setMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -17986,10 +17986,10 @@ func (x gen_NSWindow) ResizeIncrements() ( return } -func (x gen_NSWindow) SetResizeIncrements_( +func (x gen_NSWindow) SetResizeIncrements( value core.NSSize, ) { - C.NSWindow_inst_setResizeIncrements_( + C.NSWindow_inst_setResizeIncrements( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18006,10 +18006,10 @@ func (x gen_NSWindow) PreservesContentDuringLiveResize() ( return } -func (x gen_NSWindow) SetPreservesContentDuringLiveResize_( +func (x gen_NSWindow) SetPreservesContentDuringLiveResize( value bool, ) { - C.NSWindow_inst_setPreservesContentDuringLiveResize_( + C.NSWindow_inst_setPreservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18036,10 +18036,10 @@ func (x gen_NSWindow) ContentAspectRatio() ( return } -func (x gen_NSWindow) SetContentAspectRatio_( +func (x gen_NSWindow) SetContentAspectRatio( value core.NSSize, ) { - C.NSWindow_inst_setContentAspectRatio_( + C.NSWindow_inst_setContentAspectRatio( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18056,10 +18056,10 @@ func (x gen_NSWindow) ContentMinSize() ( return } -func (x gen_NSWindow) SetContentMinSize_( +func (x gen_NSWindow) SetContentMinSize( value core.NSSize, ) { - C.NSWindow_inst_setContentMinSize_( + C.NSWindow_inst_setContentMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18076,10 +18076,10 @@ func (x gen_NSWindow) ContentMaxSize() ( return } -func (x gen_NSWindow) SetContentMaxSize_( +func (x gen_NSWindow) SetContentMaxSize( value core.NSSize, ) { - C.NSWindow_inst_setContentMaxSize_( + C.NSWindow_inst_setContentMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18096,10 +18096,10 @@ func (x gen_NSWindow) ContentResizeIncrements() ( return } -func (x gen_NSWindow) SetContentResizeIncrements_( +func (x gen_NSWindow) SetContentResizeIncrements( value core.NSSize, ) { - C.NSWindow_inst_setContentResizeIncrements_( + C.NSWindow_inst_setContentResizeIncrements( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18136,10 +18136,10 @@ func (x gen_NSWindow) MaxFullScreenContentSize() ( return } -func (x gen_NSWindow) SetMaxFullScreenContentSize_( +func (x gen_NSWindow) SetMaxFullScreenContentSize( value core.NSSize, ) { - C.NSWindow_inst_setMaxFullScreenContentSize_( + C.NSWindow_inst_setMaxFullScreenContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18156,10 +18156,10 @@ func (x gen_NSWindow) MinFullScreenContentSize() ( return } -func (x gen_NSWindow) SetMinFullScreenContentSize_( +func (x gen_NSWindow) SetMinFullScreenContentSize( value core.NSSize, ) { - C.NSWindow_inst_setMinFullScreenContentSize_( + C.NSWindow_inst_setMinFullScreenContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18176,10 +18176,10 @@ func (x gen_NSWindow) Level() ( return } -func (x gen_NSWindow) SetLevel_( +func (x gen_NSWindow) SetLevel( value core.NSInteger, ) { - C.NSWindow_inst_setLevel_( + C.NSWindow_inst_setLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -18256,10 +18256,10 @@ func (x gen_NSWindow) ParentWindow() ( return } -func (x gen_NSWindow) SetParentWindow_( +func (x gen_NSWindow) SetParentWindow( value NSWindowRef, ) { - C.NSWindow_inst_setParentWindow_( + C.NSWindow_inst_setParentWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18276,10 +18276,10 @@ func (x gen_NSWindow) IsExcludedFromWindowsMenu() ( return } -func (x gen_NSWindow) SetExcludedFromWindowsMenu_( +func (x gen_NSWindow) SetExcludedFromWindowsMenu( value bool, ) { - C.NSWindow_inst_setExcludedFromWindowsMenu_( + C.NSWindow_inst_setExcludedFromWindowsMenu( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18306,10 +18306,10 @@ func (x gen_NSWindow) ShowsToolbarButton() ( return } -func (x gen_NSWindow) SetShowsToolbarButton_( +func (x gen_NSWindow) SetShowsToolbarButton( value bool, ) { - C.NSWindow_inst_setShowsToolbarButton_( + C.NSWindow_inst_setShowsToolbarButton( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18326,10 +18326,10 @@ func (x gen_NSWindow) TitlebarAppearsTransparent() ( return } -func (x gen_NSWindow) SetTitlebarAppearsTransparent_( +func (x gen_NSWindow) SetTitlebarAppearsTransparent( value bool, ) { - C.NSWindow_inst_setTitlebarAppearsTransparent_( + C.NSWindow_inst_setTitlebarAppearsTransparent( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18346,10 +18346,10 @@ func (x gen_NSWindow) TitlebarAccessoryViewControllers() ( return } -func (x gen_NSWindow) SetTitlebarAccessoryViewControllers_( +func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( value core.NSArrayRef, ) { - C.NSWindow_inst_setTitlebarAccessoryViewControllers_( + C.NSWindow_inst_setTitlebarAccessoryViewControllers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18376,10 +18376,10 @@ func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() ( return } -func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive_( +func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( value bool, ) { - C.NSWindow_inst_setAllowsToolTipsWhenApplicationIsInactive_( + C.NSWindow_inst_setAllowsToolTipsWhenApplicationIsInactive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18406,10 +18406,10 @@ func (x gen_NSWindow) InitialFirstResponder() ( return } -func (x gen_NSWindow) SetInitialFirstResponder_( +func (x gen_NSWindow) SetInitialFirstResponder( value NSViewRef, ) { - C.NSWindow_inst_setInitialFirstResponder_( + C.NSWindow_inst_setInitialFirstResponder( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18426,10 +18426,10 @@ func (x gen_NSWindow) AutorecalculatesKeyViewLoop() ( return } -func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop_( +func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( value bool, ) { - C.NSWindow_inst_setAutorecalculatesKeyViewLoop_( + C.NSWindow_inst_setAutorecalculatesKeyViewLoop( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18446,10 +18446,10 @@ func (x gen_NSWindow) AcceptsMouseMovedEvents() ( return } -func (x gen_NSWindow) SetAcceptsMouseMovedEvents_( +func (x gen_NSWindow) SetAcceptsMouseMovedEvents( value bool, ) { - C.NSWindow_inst_setAcceptsMouseMovedEvents_( + C.NSWindow_inst_setAcceptsMouseMovedEvents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18466,10 +18466,10 @@ func (x gen_NSWindow) IgnoresMouseEvents() ( return } -func (x gen_NSWindow) SetIgnoresMouseEvents_( +func (x gen_NSWindow) SetIgnoresMouseEvents( value bool, ) { - C.NSWindow_inst_setIgnoresMouseEvents_( + C.NSWindow_inst_setIgnoresMouseEvents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18496,10 +18496,10 @@ func (x gen_NSWindow) IsRestorable() ( return } -func (x gen_NSWindow) SetRestorable_( +func (x gen_NSWindow) SetRestorable( value bool, ) { - C.NSWindow_inst_setRestorable_( + C.NSWindow_inst_setRestorable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18516,10 +18516,10 @@ func (x gen_NSWindow) ViewsNeedDisplay() ( return } -func (x gen_NSWindow) SetViewsNeedDisplay_( +func (x gen_NSWindow) SetViewsNeedDisplay( value bool, ) { - C.NSWindow_inst_setViewsNeedDisplay_( + C.NSWindow_inst_setViewsNeedDisplay( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18536,10 +18536,10 @@ func (x gen_NSWindow) AllowsConcurrentViewDrawing() ( return } -func (x gen_NSWindow) SetAllowsConcurrentViewDrawing_( +func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( value bool, ) { - C.NSWindow_inst_setAllowsConcurrentViewDrawing_( + C.NSWindow_inst_setAllowsConcurrentViewDrawing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18556,10 +18556,10 @@ func (x gen_NSWindow) IsDocumentEdited() ( return } -func (x gen_NSWindow) SetDocumentEdited_( +func (x gen_NSWindow) SetDocumentEdited( value bool, ) { - C.NSWindow_inst_setDocumentEdited_( + C.NSWindow_inst_setDocumentEdited( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18586,10 +18586,10 @@ func (x gen_NSWindow) Title() ( return } -func (x gen_NSWindow) SetTitle_( +func (x gen_NSWindow) SetTitle( value core.NSStringRef, ) { - C.NSWindow_inst_setTitle_( + C.NSWindow_inst_setTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18606,10 +18606,10 @@ func (x gen_NSWindow) Subtitle() ( return } -func (x gen_NSWindow) SetSubtitle_( +func (x gen_NSWindow) SetSubtitle( value core.NSStringRef, ) { - C.NSWindow_inst_setSubtitle_( + C.NSWindow_inst_setSubtitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18626,10 +18626,10 @@ func (x gen_NSWindow) TitleVisibility() ( return } -func (x gen_NSWindow) SetTitleVisibility_( +func (x gen_NSWindow) SetTitleVisibility( value core.NSInteger, ) { - C.NSWindow_inst_setTitleVisibility_( + C.NSWindow_inst_setTitleVisibility( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -18646,10 +18646,10 @@ func (x gen_NSWindow) RepresentedFilename() ( return } -func (x gen_NSWindow) SetRepresentedFilename_( +func (x gen_NSWindow) SetRepresentedFilename( value core.NSStringRef, ) { - C.NSWindow_inst_setRepresentedFilename_( + C.NSWindow_inst_setRepresentedFilename( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18666,10 +18666,10 @@ func (x gen_NSWindow) RepresentedURL() ( return } -func (x gen_NSWindow) SetRepresentedURL_( +func (x gen_NSWindow) SetRepresentedURL( value core.NSURLRef, ) { - C.NSWindow_inst_setRepresentedURL_( + C.NSWindow_inst_setRepresentedURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18706,10 +18706,10 @@ func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() ( return } -func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges_( +func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( value bool, ) { - C.NSWindow_inst_setDisplaysWhenScreenProfileChanges_( + C.NSWindow_inst_setDisplaysWhenScreenProfileChanges( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18726,10 +18726,10 @@ func (x gen_NSWindow) IsMovableByWindowBackground() ( return } -func (x gen_NSWindow) SetMovableByWindowBackground_( +func (x gen_NSWindow) SetMovableByWindowBackground( value bool, ) { - C.NSWindow_inst_setMovableByWindowBackground_( + C.NSWindow_inst_setMovableByWindowBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18746,10 +18746,10 @@ func (x gen_NSWindow) IsMovable() ( return } -func (x gen_NSWindow) SetMovable_( +func (x gen_NSWindow) SetMovable( value bool, ) { - C.NSWindow_inst_setMovable_( + C.NSWindow_inst_setMovable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18766,10 +18766,10 @@ func (x gen_NSWindow) IsReleasedWhenClosed() ( return } -func (x gen_NSWindow) SetReleasedWhenClosed_( +func (x gen_NSWindow) SetReleasedWhenClosed( value bool, ) { - C.NSWindow_inst_setReleasedWhenClosed_( + C.NSWindow_inst_setReleasedWhenClosed( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18796,10 +18796,10 @@ func (x gen_NSWindow) MiniwindowImage() ( return } -func (x gen_NSWindow) SetMiniwindowImage_( +func (x gen_NSWindow) SetMiniwindowImage( value NSImageRef, ) { - C.NSWindow_inst_setMiniwindowImage_( + C.NSWindow_inst_setMiniwindowImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18816,10 +18816,10 @@ func (x gen_NSWindow) MiniwindowTitle() ( return } -func (x gen_NSWindow) SetMiniwindowTitle_( +func (x gen_NSWindow) SetMiniwindowTitle( value core.NSStringRef, ) { - C.NSWindow_inst_setMiniwindowTitle_( + C.NSWindow_inst_setMiniwindowTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18906,10 +18906,10 @@ func (x gen_NSWindow) OrderedIndex() ( return } -func (x gen_NSWindow) SetOrderedIndex_( +func (x gen_NSWindow) SetOrderedIndex( value core.NSInteger, ) { - C.NSWindow_inst_setOrderedIndex_( + C.NSWindow_inst_setOrderedIndex( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -18935,12 +18935,12 @@ func NSWorkspace_fromRef(ref objc.Ref) NSWorkspace { return NSWorkspace_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSWorkspace) OpenURL_( +func (x gen_NSWorkspace) OpenURL( url core.NSURLRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_openURL_( + ret := C.NSWorkspace_inst_openURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -18955,23 +18955,23 @@ func (x gen_NSWorkspace) HideOtherApplications() { return } -func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs_( +func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( fileURLs core.NSArrayRef, ) { - C.NSWorkspace_inst_activateFileViewerSelectingURLs_( + C.NSWorkspace_inst_activateFileViewerSelectingURLs( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileURLs), ) return } -func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath_( +func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( fullPath core.NSStringRef, rootFullPath core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_selectFile_inFileViewerRootedAtPath_( + ret := C.NSWorkspace_inst_selectFile_inFileViewerRootedAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), objc.RefPointer(rootFullPath), @@ -18980,12 +18980,12 @@ func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath_( return } -func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier_( +func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( bundleIdentifier core.NSStringRef, ) ( r0 core.NSURL, ) { - ret := C.NSWorkspace_inst_URLForApplicationWithBundleIdentifier_( + ret := C.NSWorkspace_inst_URLForApplicationWithBundleIdentifier( unsafe.Pointer(x.Pointer()), objc.RefPointer(bundleIdentifier), ) @@ -18993,12 +18993,12 @@ func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier_( return } -func (x gen_NSWorkspace) URLForApplicationToOpenURL_( +func (x gen_NSWorkspace) URLForApplicationToOpenURL( url core.NSURLRef, ) ( r0 core.NSURL, ) { - ret := C.NSWorkspace_inst_URLForApplicationToOpenURL_( + ret := C.NSWorkspace_inst_URLForApplicationToOpenURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -19006,12 +19006,12 @@ func (x gen_NSWorkspace) URLForApplicationToOpenURL_( return } -func (x gen_NSWorkspace) IsFilePackageAtPath_( +func (x gen_NSWorkspace) IsFilePackageAtPath( fullPath core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_isFilePackageAtPath_( + ret := C.NSWorkspace_inst_isFilePackageAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), ) @@ -19019,12 +19019,12 @@ func (x gen_NSWorkspace) IsFilePackageAtPath_( return } -func (x gen_NSWorkspace) IconForFile_( +func (x gen_NSWorkspace) IconForFile( fullPath core.NSStringRef, ) ( r0 NSImage, ) { - ret := C.NSWorkspace_inst_iconForFile_( + ret := C.NSWorkspace_inst_iconForFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), ) @@ -19032,12 +19032,12 @@ func (x gen_NSWorkspace) IconForFile_( return } -func (x gen_NSWorkspace) IconForFiles_( +func (x gen_NSWorkspace) IconForFiles( fullPaths core.NSArrayRef, ) ( r0 NSImage, ) { - ret := C.NSWorkspace_inst_iconForFiles_( + ret := C.NSWorkspace_inst_iconForFiles( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPaths), ) @@ -19045,12 +19045,12 @@ func (x gen_NSWorkspace) IconForFiles_( return } -func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath_( +func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( path core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_unmountAndEjectDeviceAtPath_( + ret := C.NSWorkspace_inst_unmountAndEjectDeviceAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -19058,12 +19058,12 @@ func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath_( return } -func (x gen_NSWorkspace) DesktopImageURLForScreen_( +func (x gen_NSWorkspace) DesktopImageURLForScreen( screen NSScreenRef, ) ( r0 core.NSURL, ) { - ret := C.NSWorkspace_inst_desktopImageURLForScreen_( + ret := C.NSWorkspace_inst_desktopImageURLForScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), ) @@ -19071,12 +19071,12 @@ func (x gen_NSWorkspace) DesktopImageURLForScreen_( return } -func (x gen_NSWorkspace) DesktopImageOptionsForScreen_( +func (x gen_NSWorkspace) DesktopImageOptionsForScreen( screen NSScreenRef, ) ( r0 core.NSDictionary, ) { - ret := C.NSWorkspace_inst_desktopImageOptionsForScreen_( + ret := C.NSWorkspace_inst_desktopImageOptionsForScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), ) @@ -19084,12 +19084,12 @@ func (x gen_NSWorkspace) DesktopImageOptionsForScreen_( return } -func (x gen_NSWorkspace) ShowSearchResultsForQueryString_( +func (x gen_NSWorkspace) ShowSearchResultsForQueryString( queryString core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_showSearchResultsForQueryString_( + ret := C.NSWorkspace_inst_showSearchResultsForQueryString( unsafe.Pointer(x.Pointer()), objc.RefPointer(queryString), ) @@ -19097,22 +19097,22 @@ func (x gen_NSWorkspace) ShowSearchResultsForQueryString_( return } -func (x gen_NSWorkspace) NoteFileSystemChanged_( +func (x gen_NSWorkspace) NoteFileSystemChanged( path core.NSStringRef, ) { - C.NSWorkspace_inst_noteFileSystemChanged_( + C.NSWorkspace_inst_noteFileSystemChanged( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) return } -func (x gen_NSWorkspace) ExtendPowerOffBy_( +func (x gen_NSWorkspace) ExtendPowerOffBy( requested core.NSInteger, ) ( r0 core.NSInteger, ) { - ret := C.NSWorkspace_inst_extendPowerOffBy_( + ret := C.NSWorkspace_inst_extendPowerOffBy( unsafe.Pointer(x.Pointer()), C.long(requested), ) @@ -19120,12 +19120,12 @@ func (x gen_NSWorkspace) ExtendPowerOffBy_( return } -func (x gen_NSWorkspace) URLsForApplicationsToOpenURL_( +func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( url core.NSURLRef, ) ( r0 core.NSArray, ) { - ret := C.NSWorkspace_inst_URLsForApplicationsToOpenURL_( + ret := C.NSWorkspace_inst_URLsForApplicationsToOpenURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -19133,12 +19133,12 @@ func (x gen_NSWorkspace) URLsForApplicationsToOpenURL_( return } -func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier_( +func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( bundleIdentifier core.NSStringRef, ) ( r0 core.NSArray, ) { - ret := C.NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier_( + ret := C.NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier( unsafe.Pointer(x.Pointer()), objc.RefPointer(bundleIdentifier), ) @@ -19295,13 +19295,13 @@ func NSColor_fromRef(ref objc.Ref) NSColor { return NSColor_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSColor) BlendedColorWithFraction_ofColor_( +func (x gen_NSColor) BlendedColorWithFraction_ofColor( fraction core.CGFloat, color NSColorRef, ) ( r0 NSColor, ) { - ret := C.NSColor_inst_blendedColorWithFraction_ofColor_( + ret := C.NSColor_inst_blendedColorWithFraction_ofColor( unsafe.Pointer(x.Pointer()), C.double(fraction), objc.RefPointer(color), @@ -19310,12 +19310,12 @@ func (x gen_NSColor) BlendedColorWithFraction_ofColor_( return } -func (x gen_NSColor) ColorWithAlphaComponent_( +func (x gen_NSColor) ColorWithAlphaComponent( alpha core.CGFloat, ) ( r0 NSColor, ) { - ret := C.NSColor_inst_colorWithAlphaComponent_( + ret := C.NSColor_inst_colorWithAlphaComponent( unsafe.Pointer(x.Pointer()), C.double(alpha), ) @@ -19323,12 +19323,12 @@ func (x gen_NSColor) ColorWithAlphaComponent_( return } -func (x gen_NSColor) HighlightWithLevel_( +func (x gen_NSColor) HighlightWithLevel( val core.CGFloat, ) ( r0 NSColor, ) { - ret := C.NSColor_inst_highlightWithLevel_( + ret := C.NSColor_inst_highlightWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) @@ -19336,12 +19336,12 @@ func (x gen_NSColor) HighlightWithLevel_( return } -func (x gen_NSColor) ShadowWithLevel_( +func (x gen_NSColor) ShadowWithLevel( val core.CGFloat, ) ( r0 NSColor, ) { - ret := C.NSColor_inst_shadowWithLevel_( + ret := C.NSColor_inst_shadowWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) @@ -19349,20 +19349,20 @@ func (x gen_NSColor) ShadowWithLevel_( return } -func (x gen_NSColor) WriteToPasteboard_( +func (x gen_NSColor) WriteToPasteboard( pasteBoard NSPasteboardRef, ) { - C.NSColor_inst_writeToPasteboard_( + C.NSColor_inst_writeToPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteBoard), ) return } -func (x gen_NSColor) DrawSwatchInRect_( +func (x gen_NSColor) DrawSwatchInRect( rect core.NSRect, ) { - C.NSColor_inst_drawSwatchInRect_( + C.NSColor_inst_drawSwatchInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19569,13 +19569,13 @@ func NSTextView_fromRef(ref objc.Ref) NSTextView { return NSTextView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSTextView) InitWithFrame_textContainer__asNSTextView( +func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( frameRect core.NSRect, container NSTextContainerRef, ) ( r0 NSTextView, ) { - ret := C.NSTextView_inst_initWithFrame_textContainer_( + ret := C.NSTextView_inst_initWithFrame_textContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), objc.RefPointer(container), @@ -19584,12 +19584,12 @@ func (x gen_NSTextView) InitWithFrame_textContainer__asNSTextView( return } -func (x gen_NSTextView) InitWithFrame__asNSTextView( +func (x gen_NSTextView) InitWithFrame_asNSTextView( frameRect core.NSRect, ) ( r0 NSTextView, ) { - ret := C.NSTextView_inst_initWithFrame_( + ret := C.NSTextView_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -19597,10 +19597,10 @@ func (x gen_NSTextView) InitWithFrame__asNSTextView( return } -func (x gen_NSTextView) ReplaceTextContainer_( +func (x gen_NSTextView) ReplaceTextContainer( newContainer NSTextContainerRef, ) { - C.NSTextView_inst_replaceTextContainer_( + C.NSTextView_inst_replaceTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(newContainer), ) @@ -19614,21 +19614,21 @@ func (x gen_NSTextView) InvalidateTextContainerOrigin() { return } -func (x gen_NSTextView) ChangeDocumentBackgroundColor_( +func (x gen_NSTextView) ChangeDocumentBackgroundColor( sender objc.Ref, ) { - C.NSTextView_inst_changeDocumentBackgroundColor_( + C.NSTextView_inst_changeDocumentBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout_( +func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( rect core.NSRect, flag bool, ) { - C.NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout_( + C.NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), convertToObjCBool(flag), @@ -19636,12 +19636,12 @@ func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout_( return } -func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn_( +func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( rect core.NSRect, color NSColorRef, flag bool, ) { - C.NSTextView_inst_drawInsertionPointInRect_color_turnedOn_( + C.NSTextView_inst_drawInsertionPointInRect_color_turnedOn( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(color), @@ -19650,20 +19650,20 @@ func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn_( return } -func (x gen_NSTextView) DrawViewBackgroundInRect_( +func (x gen_NSTextView) DrawViewBackgroundInRect( rect core.NSRect, ) { - C.NSTextView_inst_drawViewBackgroundInRect_( + C.NSTextView_inst_drawViewBackgroundInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSTextView) SetConstrainedFrameSize_( +func (x gen_NSTextView) SetConstrainedFrameSize( desiredSize core.NSSize, ) { - C.NSTextView_inst_setConstrainedFrameSize_( + C.NSTextView_inst_setConstrainedFrameSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&desiredSize)), ) @@ -19677,62 +19677,62 @@ func (x gen_NSTextView) CleanUpAfterDragOperation() { return } -func (x gen_NSTextView) Outline_( +func (x gen_NSTextView) Outline( sender objc.Ref, ) { - C.NSTextView_inst_outline_( + C.NSTextView_inst_outline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution_( +func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticQuoteSubstitution_( + C.NSTextView_inst_toggleAutomaticQuoteSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticLinkDetection_( +func (x gen_NSTextView) ToggleAutomaticLinkDetection( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticLinkDetection_( + C.NSTextView_inst_toggleAutomaticLinkDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticTextCompletion_( +func (x gen_NSTextView) ToggleAutomaticTextCompletion( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticTextCompletion_( + C.NSTextView_inst_toggleAutomaticTextCompletion( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer_( +func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( restartFlag bool, ) { - C.NSTextView_inst_updateInsertionPointStateAndRestartTimer_( + C.NSTextView_inst_updateInsertionPointStateAndRestartTimer( unsafe.Pointer(x.Pointer()), convertToObjCBool(restartFlag), ) return } -func (x gen_NSTextView) CharacterIndexForInsertionAtPoint_( +func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( point core.NSPoint, ) ( r0 core.NSUInteger, ) { - ret := C.NSTextView_inst_characterIndexForInsertionAtPoint_( + ret := C.NSTextView_inst_characterIndexForInsertionAtPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -19747,12 +19747,12 @@ func (x gen_NSTextView) UpdateCandidates() { return } -func (x gen_NSTextView) ReadSelectionFromPasteboard_( +func (x gen_NSTextView) ReadSelectionFromPasteboard( pboard NSPasteboardRef, ) ( r0 bool, ) { - ret := C.NSTextView_inst_readSelectionFromPasteboard_( + ret := C.NSTextView_inst_readSelectionFromPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pboard), ) @@ -19760,13 +19760,13 @@ func (x gen_NSTextView) ReadSelectionFromPasteboard_( return } -func (x gen_NSTextView) WriteSelectionToPasteboard_types_( +func (x gen_NSTextView) WriteSelectionToPasteboard_types( pboard NSPasteboardRef, types core.NSArrayRef, ) ( r0 bool, ) { - ret := C.NSTextView_inst_writeSelectionToPasteboard_types_( + ret := C.NSTextView_inst_writeSelectionToPasteboard_types( unsafe.Pointer(x.Pointer()), objc.RefPointer(pboard), objc.RefPointer(types), @@ -19775,131 +19775,131 @@ func (x gen_NSTextView) WriteSelectionToPasteboard_types_( return } -func (x gen_NSTextView) AlignJustified_( +func (x gen_NSTextView) AlignJustified( sender objc.Ref, ) { - C.NSTextView_inst_alignJustified_( + C.NSTextView_inst_alignJustified( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ChangeAttributes_( +func (x gen_NSTextView) ChangeAttributes( sender objc.Ref, ) { - C.NSTextView_inst_changeAttributes_( + C.NSTextView_inst_changeAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ChangeColor_( +func (x gen_NSTextView) ChangeColor( sender objc.Ref, ) { - C.NSTextView_inst_changeColor_( + C.NSTextView_inst_changeColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UseStandardKerning_( +func (x gen_NSTextView) UseStandardKerning( sender objc.Ref, ) { - C.NSTextView_inst_useStandardKerning_( + C.NSTextView_inst_useStandardKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) LowerBaseline_( +func (x gen_NSTextView) LowerBaseline( sender objc.Ref, ) { - C.NSTextView_inst_lowerBaseline_( + C.NSTextView_inst_lowerBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) RaiseBaseline_( +func (x gen_NSTextView) RaiseBaseline( sender objc.Ref, ) { - C.NSTextView_inst_raiseBaseline_( + C.NSTextView_inst_raiseBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) TurnOffKerning_( +func (x gen_NSTextView) TurnOffKerning( sender objc.Ref, ) { - C.NSTextView_inst_turnOffKerning_( + C.NSTextView_inst_turnOffKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) LoosenKerning_( +func (x gen_NSTextView) LoosenKerning( sender objc.Ref, ) { - C.NSTextView_inst_loosenKerning_( + C.NSTextView_inst_loosenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) TightenKerning_( +func (x gen_NSTextView) TightenKerning( sender objc.Ref, ) { - C.NSTextView_inst_tightenKerning_( + C.NSTextView_inst_tightenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UseStandardLigatures_( +func (x gen_NSTextView) UseStandardLigatures( sender objc.Ref, ) { - C.NSTextView_inst_useStandardLigatures_( + C.NSTextView_inst_useStandardLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) TurnOffLigatures_( +func (x gen_NSTextView) TurnOffLigatures( sender objc.Ref, ) { - C.NSTextView_inst_turnOffLigatures_( + C.NSTextView_inst_turnOffLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UseAllLigatures_( +func (x gen_NSTextView) UseAllLigatures( sender objc.Ref, ) { - C.NSTextView_inst_useAllLigatures_( + C.NSTextView_inst_useAllLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ClickedOnLink_atIndex_( +func (x gen_NSTextView) ClickedOnLink_atIndex( link objc.Ref, charIndex core.NSUInteger, ) { - C.NSTextView_inst_clickedOnLink_atIndex_( + C.NSTextView_inst_clickedOnLink_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(link), C.ulong(charIndex), @@ -19907,20 +19907,20 @@ func (x gen_NSTextView) ClickedOnLink_atIndex_( return } -func (x gen_NSTextView) PasteAsPlainText_( +func (x gen_NSTextView) PasteAsPlainText( sender objc.Ref, ) { - C.NSTextView_inst_pasteAsPlainText_( + C.NSTextView_inst_pasteAsPlainText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) PasteAsRichText_( +func (x gen_NSTextView) PasteAsRichText( sender objc.Ref, ) { - C.NSTextView_inst_pasteAsRichText_( + C.NSTextView_inst_pasteAsRichText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19955,13 +19955,13 @@ func (x gen_NSTextView) UpdateDragTypeRegistration() { return } -func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings_( +func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( affectedRanges core.NSArrayRef, replacementStrings core.NSArrayRef, ) ( r0 bool, ) { - ret := C.NSTextView_inst_shouldChangeTextInRanges_replacementStrings_( + ret := C.NSTextView_inst_shouldChangeTextInRanges_replacementStrings( unsafe.Pointer(x.Pointer()), objc.RefPointer(affectedRanges), objc.RefPointer(replacementStrings), @@ -19977,54 +19977,54 @@ func (x gen_NSTextView) DidChangeText() { return } -func (x gen_NSTextView) ToggleSmartInsertDelete_( +func (x gen_NSTextView) ToggleSmartInsertDelete( sender objc.Ref, ) { - C.NSTextView_inst_toggleSmartInsertDelete_( + C.NSTextView_inst_toggleSmartInsertDelete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleContinuousSpellChecking_( +func (x gen_NSTextView) ToggleContinuousSpellChecking( sender objc.Ref, ) { - C.NSTextView_inst_toggleContinuousSpellChecking_( + C.NSTextView_inst_toggleContinuousSpellChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleGrammarChecking_( +func (x gen_NSTextView) ToggleGrammarChecking( sender objc.Ref, ) { - C.NSTextView_inst_toggleGrammarChecking_( + C.NSTextView_inst_toggleGrammarChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontSharingServicePicker_( +func (x gen_NSTextView) OrderFrontSharingServicePicker( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSharingServicePicker_( + C.NSTextView_inst_orderFrontSharingServicePicker( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack_( +func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( event NSEventRef, mouseOffset core.NSSize, slideBack bool, ) ( r0 bool, ) { - ret := C.NSTextView_inst_dragSelectionWithEvent_offset_slideBack_( + ret := C.NSTextView_inst_dragSelectionWithEvent_offset_slideBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), *(*C.NSSize)(unsafe.Pointer(&mouseOffset)), @@ -20034,150 +20034,150 @@ func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack_( return } -func (x gen_NSTextView) StartSpeaking_( +func (x gen_NSTextView) StartSpeaking( sender objc.Ref, ) { - C.NSTextView_inst_startSpeaking_( + C.NSTextView_inst_startSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) StopSpeaking_( +func (x gen_NSTextView) StopSpeaking( sender objc.Ref, ) { - C.NSTextView_inst_stopSpeaking_( + C.NSTextView_inst_stopSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) PerformFindPanelAction_( +func (x gen_NSTextView) PerformFindPanelAction( sender objc.Ref, ) { - C.NSTextView_inst_performFindPanelAction_( + C.NSTextView_inst_performFindPanelAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontLinkPanel_( +func (x gen_NSTextView) OrderFrontLinkPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontLinkPanel_( + C.NSTextView_inst_orderFrontLinkPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontListPanel_( +func (x gen_NSTextView) OrderFrontListPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontListPanel_( + C.NSTextView_inst_orderFrontListPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontSpacingPanel_( +func (x gen_NSTextView) OrderFrontSpacingPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSpacingPanel_( + C.NSTextView_inst_orderFrontSpacingPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontTablePanel_( +func (x gen_NSTextView) OrderFrontTablePanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontTablePanel_( + C.NSTextView_inst_orderFrontTablePanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontSubstitutionsPanel_( +func (x gen_NSTextView) OrderFrontSubstitutionsPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSubstitutionsPanel_( + C.NSTextView_inst_orderFrontSubstitutionsPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) Complete_( +func (x gen_NSTextView) Complete( sender objc.Ref, ) { - C.NSTextView_inst_complete_( + C.NSTextView_inst_complete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) CheckTextInDocument_( +func (x gen_NSTextView) CheckTextInDocument( sender objc.Ref, ) { - C.NSTextView_inst_checkTextInDocument_( + C.NSTextView_inst_checkTextInDocument( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) CheckTextInSelection_( +func (x gen_NSTextView) CheckTextInSelection( sender objc.Ref, ) { - C.NSTextView_inst_checkTextInSelection_( + C.NSTextView_inst_checkTextInSelection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticDashSubstitution_( +func (x gen_NSTextView) ToggleAutomaticDashSubstitution( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticDashSubstitution_( + C.NSTextView_inst_toggleAutomaticDashSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticDataDetection_( +func (x gen_NSTextView) ToggleAutomaticDataDetection( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticDataDetection_( + C.NSTextView_inst_toggleAutomaticDataDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticSpellingCorrection_( +func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticSpellingCorrection_( + C.NSTextView_inst_toggleAutomaticSpellingCorrection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticTextReplacement_( +func (x gen_NSTextView) ToggleAutomaticTextReplacement( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticTextReplacement_( + C.NSTextView_inst_toggleAutomaticTextReplacement( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20191,22 +20191,22 @@ func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { return } -func (x gen_NSTextView) ToggleQuickLookPreviewPanel_( +func (x gen_NSTextView) ToggleQuickLookPreviewPanel( sender objc.Ref, ) { - C.NSTextView_inst_toggleQuickLookPreviewPanel_( + C.NSTextView_inst_toggleQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) QuickLookPreviewableItemsInRanges_( +func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( ranges core.NSArrayRef, ) ( r0 core.NSArray, ) { - ret := C.NSTextView_inst_quickLookPreviewableItemsInRanges_( + ret := C.NSTextView_inst_quickLookPreviewableItemsInRanges( unsafe.Pointer(x.Pointer()), objc.RefPointer(ranges), ) @@ -20214,10 +20214,10 @@ func (x gen_NSTextView) QuickLookPreviewableItemsInRanges_( return } -func (x gen_NSTextView) ChangeLayoutOrientation_( +func (x gen_NSTextView) ChangeLayoutOrientation( sender objc.Ref, ) { - C.NSTextView_inst_changeLayoutOrientation_( + C.NSTextView_inst_changeLayoutOrientation( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20258,10 +20258,10 @@ func (x gen_NSTextView) Delegate() ( return } -func (x gen_NSTextView) SetDelegate_( +func (x gen_NSTextView) SetDelegate( value objc.Ref, ) { - C.NSTextView_inst_setDelegate_( + C.NSTextView_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20278,10 +20278,10 @@ func (x gen_NSTextView) TextContainer() ( return } -func (x gen_NSTextView) SetTextContainer_( +func (x gen_NSTextView) SetTextContainer( value NSTextContainerRef, ) { - C.NSTextView_inst_setTextContainer_( + C.NSTextView_inst_setTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20298,10 +20298,10 @@ func (x gen_NSTextView) TextContainerInset() ( return } -func (x gen_NSTextView) SetTextContainerInset_( +func (x gen_NSTextView) SetTextContainerInset( value core.NSSize, ) { - C.NSTextView_inst_setTextContainerInset_( + C.NSTextView_inst_setTextContainerInset( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -20338,10 +20338,10 @@ func (x gen_NSTextView) BackgroundColor() ( return } -func (x gen_NSTextView) SetBackgroundColor_( +func (x gen_NSTextView) SetBackgroundColor( value NSColorRef, ) { - C.NSTextView_inst_setBackgroundColor_( + C.NSTextView_inst_setBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20358,10 +20358,10 @@ func (x gen_NSTextView) DrawsBackground() ( return } -func (x gen_NSTextView) SetDrawsBackground_( +func (x gen_NSTextView) SetDrawsBackground( value bool, ) { - C.NSTextView_inst_setDrawsBackground_( + C.NSTextView_inst_setDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20378,10 +20378,10 @@ func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() ( return } -func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange_( +func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( value bool, ) { - C.NSTextView_inst_setAllowsDocumentBackgroundColorChange_( + C.NSTextView_inst_setAllowsDocumentBackgroundColorChange( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20408,10 +20408,10 @@ func (x gen_NSTextView) AllowedInputSourceLocales() ( return } -func (x gen_NSTextView) SetAllowedInputSourceLocales_( +func (x gen_NSTextView) SetAllowedInputSourceLocales( value core.NSArrayRef, ) { - C.NSTextView_inst_setAllowedInputSourceLocales_( + C.NSTextView_inst_setAllowedInputSourceLocales( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20428,10 +20428,10 @@ func (x gen_NSTextView) AllowsUndo() ( return } -func (x gen_NSTextView) SetAllowsUndo_( +func (x gen_NSTextView) SetAllowsUndo( value bool, ) { - C.NSTextView_inst_setAllowsUndo_( + C.NSTextView_inst_setAllowsUndo( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20448,10 +20448,10 @@ func (x gen_NSTextView) IsEditable() ( return } -func (x gen_NSTextView) SetEditable_( +func (x gen_NSTextView) SetEditable( value bool, ) { - C.NSTextView_inst_setEditable_( + C.NSTextView_inst_setEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20468,10 +20468,10 @@ func (x gen_NSTextView) IsSelectable() ( return } -func (x gen_NSTextView) SetSelectable_( +func (x gen_NSTextView) SetSelectable( value bool, ) { - C.NSTextView_inst_setSelectable_( + C.NSTextView_inst_setSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20488,10 +20488,10 @@ func (x gen_NSTextView) IsFieldEditor() ( return } -func (x gen_NSTextView) SetFieldEditor_( +func (x gen_NSTextView) SetFieldEditor( value bool, ) { - C.NSTextView_inst_setFieldEditor_( + C.NSTextView_inst_setFieldEditor( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20508,10 +20508,10 @@ func (x gen_NSTextView) IsRichText() ( return } -func (x gen_NSTextView) SetRichText_( +func (x gen_NSTextView) SetRichText( value bool, ) { - C.NSTextView_inst_setRichText_( + C.NSTextView_inst_setRichText( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20528,10 +20528,10 @@ func (x gen_NSTextView) ImportsGraphics() ( return } -func (x gen_NSTextView) SetImportsGraphics_( +func (x gen_NSTextView) SetImportsGraphics( value bool, ) { - C.NSTextView_inst_setImportsGraphics_( + C.NSTextView_inst_setImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20548,10 +20548,10 @@ func (x gen_NSTextView) AllowsImageEditing() ( return } -func (x gen_NSTextView) SetAllowsImageEditing_( +func (x gen_NSTextView) SetAllowsImageEditing( value bool, ) { - C.NSTextView_inst_setAllowsImageEditing_( + C.NSTextView_inst_setAllowsImageEditing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20568,10 +20568,10 @@ func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() ( return } -func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled_( +func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticQuoteSubstitutionEnabled_( + C.NSTextView_inst_setAutomaticQuoteSubstitutionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20588,10 +20588,10 @@ func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() ( return } -func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled_( +func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticLinkDetectionEnabled_( + C.NSTextView_inst_setAutomaticLinkDetectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20608,10 +20608,10 @@ func (x gen_NSTextView) DisplaysLinkToolTips() ( return } -func (x gen_NSTextView) SetDisplaysLinkToolTips_( +func (x gen_NSTextView) SetDisplaysLinkToolTips( value bool, ) { - C.NSTextView_inst_setDisplaysLinkToolTips_( + C.NSTextView_inst_setDisplaysLinkToolTips( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20628,10 +20628,10 @@ func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() ( return } -func (x gen_NSTextView) SetAutomaticTextCompletionEnabled_( +func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticTextCompletionEnabled_( + C.NSTextView_inst_setAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20648,10 +20648,10 @@ func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() ( return } -func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance_( +func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( value bool, ) { - C.NSTextView_inst_setUsesAdaptiveColorMappingForDarkAppearance_( + C.NSTextView_inst_setUsesAdaptiveColorMappingForDarkAppearance( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20668,10 +20668,10 @@ func (x gen_NSTextView) UsesRolloverButtonForSelection() ( return } -func (x gen_NSTextView) SetUsesRolloverButtonForSelection_( +func (x gen_NSTextView) SetUsesRolloverButtonForSelection( value bool, ) { - C.NSTextView_inst_setUsesRolloverButtonForSelection_( + C.NSTextView_inst_setUsesRolloverButtonForSelection( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20688,10 +20688,10 @@ func (x gen_NSTextView) UsesRuler() ( return } -func (x gen_NSTextView) SetUsesRuler_( +func (x gen_NSTextView) SetUsesRuler( value bool, ) { - C.NSTextView_inst_setUsesRuler_( + C.NSTextView_inst_setUsesRuler( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20708,10 +20708,10 @@ func (x gen_NSTextView) IsRulerVisible() ( return } -func (x gen_NSTextView) SetRulerVisible_( +func (x gen_NSTextView) SetRulerVisible( value bool, ) { - C.NSTextView_inst_setRulerVisible_( + C.NSTextView_inst_setRulerVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20728,10 +20728,10 @@ func (x gen_NSTextView) UsesInspectorBar() ( return } -func (x gen_NSTextView) SetUsesInspectorBar_( +func (x gen_NSTextView) SetUsesInspectorBar( value bool, ) { - C.NSTextView_inst_setUsesInspectorBar_( + C.NSTextView_inst_setUsesInspectorBar( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20748,10 +20748,10 @@ func (x gen_NSTextView) SelectedRanges() ( return } -func (x gen_NSTextView) SetSelectedRanges_( +func (x gen_NSTextView) SetSelectedRanges( value core.NSArrayRef, ) { - C.NSTextView_inst_setSelectedRanges_( + C.NSTextView_inst_setSelectedRanges( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20768,10 +20768,10 @@ func (x gen_NSTextView) InsertionPointColor() ( return } -func (x gen_NSTextView) SetInsertionPointColor_( +func (x gen_NSTextView) SetInsertionPointColor( value NSColorRef, ) { - C.NSTextView_inst_setInsertionPointColor_( + C.NSTextView_inst_setInsertionPointColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20788,10 +20788,10 @@ func (x gen_NSTextView) SelectedTextAttributes() ( return } -func (x gen_NSTextView) SetSelectedTextAttributes_( +func (x gen_NSTextView) SetSelectedTextAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setSelectedTextAttributes_( + C.NSTextView_inst_setSelectedTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20808,10 +20808,10 @@ func (x gen_NSTextView) MarkedTextAttributes() ( return } -func (x gen_NSTextView) SetMarkedTextAttributes_( +func (x gen_NSTextView) SetMarkedTextAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setMarkedTextAttributes_( + C.NSTextView_inst_setMarkedTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20828,10 +20828,10 @@ func (x gen_NSTextView) LinkTextAttributes() ( return } -func (x gen_NSTextView) SetLinkTextAttributes_( +func (x gen_NSTextView) SetLinkTextAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setLinkTextAttributes_( + C.NSTextView_inst_setLinkTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20868,10 +20868,10 @@ func (x gen_NSTextView) TypingAttributes() ( return } -func (x gen_NSTextView) SetTypingAttributes_( +func (x gen_NSTextView) SetTypingAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setTypingAttributes_( + C.NSTextView_inst_setTypingAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20938,10 +20938,10 @@ func (x gen_NSTextView) SmartInsertDeleteEnabled() ( return } -func (x gen_NSTextView) SetSmartInsertDeleteEnabled_( +func (x gen_NSTextView) SetSmartInsertDeleteEnabled( value bool, ) { - C.NSTextView_inst_setSmartInsertDeleteEnabled_( + C.NSTextView_inst_setSmartInsertDeleteEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20958,10 +20958,10 @@ func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() ( return } -func (x gen_NSTextView) SetContinuousSpellCheckingEnabled_( +func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( value bool, ) { - C.NSTextView_inst_setContinuousSpellCheckingEnabled_( + C.NSTextView_inst_setContinuousSpellCheckingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20988,10 +20988,10 @@ func (x gen_NSTextView) IsGrammarCheckingEnabled() ( return } -func (x gen_NSTextView) SetGrammarCheckingEnabled_( +func (x gen_NSTextView) SetGrammarCheckingEnabled( value bool, ) { - C.NSTextView_inst_setGrammarCheckingEnabled_( + C.NSTextView_inst_setGrammarCheckingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21008,10 +21008,10 @@ func (x gen_NSTextView) AcceptsGlyphInfo() ( return } -func (x gen_NSTextView) SetAcceptsGlyphInfo_( +func (x gen_NSTextView) SetAcceptsGlyphInfo( value bool, ) { - C.NSTextView_inst_setAcceptsGlyphInfo_( + C.NSTextView_inst_setAcceptsGlyphInfo( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21028,10 +21028,10 @@ func (x gen_NSTextView) UsesFontPanel() ( return } -func (x gen_NSTextView) SetUsesFontPanel_( +func (x gen_NSTextView) SetUsesFontPanel( value bool, ) { - C.NSTextView_inst_setUsesFontPanel_( + C.NSTextView_inst_setUsesFontPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21048,10 +21048,10 @@ func (x gen_NSTextView) UsesFindPanel() ( return } -func (x gen_NSTextView) SetUsesFindPanel_( +func (x gen_NSTextView) SetUsesFindPanel( value bool, ) { - C.NSTextView_inst_setUsesFindPanel_( + C.NSTextView_inst_setUsesFindPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21068,10 +21068,10 @@ func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() ( return } -func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled_( +func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticDashSubstitutionEnabled_( + C.NSTextView_inst_setAutomaticDashSubstitutionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21088,10 +21088,10 @@ func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() ( return } -func (x gen_NSTextView) SetAutomaticDataDetectionEnabled_( +func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticDataDetectionEnabled_( + C.NSTextView_inst_setAutomaticDataDetectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21108,10 +21108,10 @@ func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() ( return } -func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled_( +func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticSpellingCorrectionEnabled_( + C.NSTextView_inst_setAutomaticSpellingCorrectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21128,10 +21128,10 @@ func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() ( return } -func (x gen_NSTextView) SetAutomaticTextReplacementEnabled_( +func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticTextReplacementEnabled_( + C.NSTextView_inst_setAutomaticTextReplacementEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21148,10 +21148,10 @@ func (x gen_NSTextView) UsesFindBar() ( return } -func (x gen_NSTextView) SetUsesFindBar_( +func (x gen_NSTextView) SetUsesFindBar( value bool, ) { - C.NSTextView_inst_setUsesFindBar_( + C.NSTextView_inst_setUsesFindBar( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21168,10 +21168,10 @@ func (x gen_NSTextView) IsIncrementalSearchingEnabled() ( return } -func (x gen_NSTextView) SetIncrementalSearchingEnabled_( +func (x gen_NSTextView) SetIncrementalSearchingEnabled( value bool, ) { - C.NSTextView_inst_setIncrementalSearchingEnabled_( + C.NSTextView_inst_setIncrementalSearchingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21188,10 +21188,10 @@ func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() ( return } -func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem_( +func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( value bool, ) { - C.NSTextView_inst_setAllowsCharacterPickerTouchBarItem_( + C.NSTextView_inst_setAllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21208,10 +21208,10 @@ func (x gen_NSTextView) Font() ( return } -func (x gen_NSTextView) SetFont_( +func (x gen_NSTextView) SetFont( value NSFontRef, ) { - C.NSTextView_inst_setFont_( + C.NSTextView_inst_setFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21237,12 +21237,12 @@ func NSView_fromRef(ref objc.Ref) NSView { return NSView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSView) InitWithFrame__asNSView( +func (x gen_NSView) InitWithFrame_asNSView( frameRect core.NSRect, ) ( r0 NSView, ) { - ret := C.NSView_inst_initWithFrame_( + ret := C.NSView_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -21257,22 +21257,22 @@ func (x gen_NSView) PrepareForReuse() { return } -func (x gen_NSView) AddSubview_( +func (x gen_NSView) AddSubview( view NSViewRef, ) { - C.NSView_inst_addSubview_( + C.NSView_inst_addSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) return } -func (x gen_NSView) AddSubview_positioned_relativeTo_( +func (x gen_NSView) AddSubview_positioned_relativeTo( view NSViewRef, place core.NSUInteger, otherView NSViewRef, ) { - C.NSView_inst_addSubview_positioned_relativeTo_( + C.NSView_inst_addSubview_positioned_relativeTo( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), C.ulong(place), @@ -21281,10 +21281,10 @@ func (x gen_NSView) AddSubview_positioned_relativeTo_( return } -func (x gen_NSView) DidAddSubview_( +func (x gen_NSView) DidAddSubview( subview NSViewRef, ) { - C.NSView_inst_didAddSubview_( + C.NSView_inst_didAddSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(subview), ) @@ -21305,11 +21305,11 @@ func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { return } -func (x gen_NSView) ReplaceSubview_with_( +func (x gen_NSView) ReplaceSubview_with( oldView NSViewRef, newView NSViewRef, ) { - C.NSView_inst_replaceSubview_with_( + C.NSView_inst_replaceSubview_with( unsafe.Pointer(x.Pointer()), objc.RefPointer(oldView), objc.RefPointer(newView), @@ -21317,12 +21317,12 @@ func (x gen_NSView) ReplaceSubview_with_( return } -func (x gen_NSView) IsDescendantOf_( +func (x gen_NSView) IsDescendantOf( view NSViewRef, ) ( r0 bool, ) { - ret := C.NSView_inst_isDescendantOf_( + ret := C.NSView_inst_isDescendantOf( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -21330,12 +21330,12 @@ func (x gen_NSView) IsDescendantOf_( return } -func (x gen_NSView) AncestorSharedWithView_( +func (x gen_NSView) AncestorSharedWithView( view NSViewRef, ) ( r0 NSView, ) { - ret := C.NSView_inst_ancestorSharedWithView_( + ret := C.NSView_inst_ancestorSharedWithView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -21357,70 +21357,70 @@ func (x gen_NSView) ViewDidMoveToWindow() { return } -func (x gen_NSView) ViewWillMoveToSuperview_( +func (x gen_NSView) ViewWillMoveToSuperview( newSuperview NSViewRef, ) { - C.NSView_inst_viewWillMoveToSuperview_( + C.NSView_inst_viewWillMoveToSuperview( unsafe.Pointer(x.Pointer()), objc.RefPointer(newSuperview), ) return } -func (x gen_NSView) ViewWillMoveToWindow_( +func (x gen_NSView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { - C.NSView_inst_viewWillMoveToWindow_( + C.NSView_inst_viewWillMoveToWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(newWindow), ) return } -func (x gen_NSView) WillRemoveSubview_( +func (x gen_NSView) WillRemoveSubview( subview NSViewRef, ) { - C.NSView_inst_willRemoveSubview_( + C.NSView_inst_willRemoveSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(subview), ) return } -func (x gen_NSView) SetFrameOrigin_( +func (x gen_NSView) SetFrameOrigin( newOrigin core.NSPoint, ) { - C.NSView_inst_setFrameOrigin_( + C.NSView_inst_setFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) return } -func (x gen_NSView) SetFrameSize_( +func (x gen_NSView) SetFrameSize( newSize core.NSSize, ) { - C.NSView_inst_setFrameSize_( + C.NSView_inst_setFrameSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) return } -func (x gen_NSView) SetBoundsOrigin_( +func (x gen_NSView) SetBoundsOrigin( newOrigin core.NSPoint, ) { - C.NSView_inst_setBoundsOrigin_( + C.NSView_inst_setBoundsOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) return } -func (x gen_NSView) SetBoundsSize_( +func (x gen_NSView) SetBoundsSize( newSize core.NSSize, ) { - C.NSView_inst_setBoundsSize_( + C.NSView_inst_setBoundsSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) @@ -21444,22 +21444,22 @@ func (x gen_NSView) UpdateLayer() { return } -func (x gen_NSView) DrawRect_( +func (x gen_NSView) DrawRect( dirtyRect core.NSRect, ) { - C.NSView_inst_drawRect_( + C.NSView_inst_drawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&dirtyRect)), ) return } -func (x gen_NSView) NeedsToDrawRect_( +func (x gen_NSView) NeedsToDrawRect( rect core.NSRect, ) ( r0 bool, ) { - ret := C.NSView_inst_needsToDrawRect_( + ret := C.NSView_inst_needsToDrawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21467,21 +21467,21 @@ func (x gen_NSView) NeedsToDrawRect_( return } -func (x gen_NSView) Print_( +func (x gen_NSView) Print( sender objc.Ref, ) { - C.NSView_inst_print_( + C.NSView_inst_print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSView) BeginPageInRect_atPlacement_( +func (x gen_NSView) BeginPageInRect_atPlacement( rect core.NSRect, location core.NSPoint, ) { - C.NSView_inst_beginPageInRect_atPlacement_( + C.NSView_inst_beginPageInRect_atPlacement( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), *(*C.NSPoint)(unsafe.Pointer(&location)), @@ -21489,12 +21489,12 @@ func (x gen_NSView) BeginPageInRect_atPlacement_( return } -func (x gen_NSView) DataWithEPSInsideRect_( +func (x gen_NSView) DataWithEPSInsideRect( rect core.NSRect, ) ( r0 core.NSData, ) { - ret := C.NSView_inst_dataWithEPSInsideRect_( + ret := C.NSView_inst_dataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21502,12 +21502,12 @@ func (x gen_NSView) DataWithEPSInsideRect_( return } -func (x gen_NSView) DataWithPDFInsideRect_( +func (x gen_NSView) DataWithPDFInsideRect( rect core.NSRect, ) ( r0 core.NSData, ) { - ret := C.NSView_inst_dataWithPDFInsideRect_( + ret := C.NSView_inst_dataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21515,11 +21515,11 @@ func (x gen_NSView) DataWithPDFInsideRect_( return } -func (x gen_NSView) WriteEPSInsideRect_toPasteboard_( +func (x gen_NSView) WriteEPSInsideRect_toPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, ) { - C.NSView_inst_writeEPSInsideRect_toPasteboard_( + C.NSView_inst_writeEPSInsideRect_toPasteboard( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(pasteboard), @@ -21527,11 +21527,11 @@ func (x gen_NSView) WriteEPSInsideRect_toPasteboard_( return } -func (x gen_NSView) WritePDFInsideRect_toPasteboard_( +func (x gen_NSView) WritePDFInsideRect_toPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, ) { - C.NSView_inst_writePDFInsideRect_toPasteboard_( + C.NSView_inst_writePDFInsideRect_toPasteboard( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(pasteboard), @@ -21539,22 +21539,22 @@ func (x gen_NSView) WritePDFInsideRect_toPasteboard_( return } -func (x gen_NSView) DrawPageBorderWithSize_( +func (x gen_NSView) DrawPageBorderWithSize( borderSize core.NSSize, ) { - C.NSView_inst_drawPageBorderWithSize_( + C.NSView_inst_drawPageBorderWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&borderSize)), ) return } -func (x gen_NSView) RectForPage_( +func (x gen_NSView) RectForPage( page core.NSInteger, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_rectForPage_( + ret := C.NSView_inst_rectForPage( unsafe.Pointer(x.Pointer()), C.long(page), ) @@ -21562,12 +21562,12 @@ func (x gen_NSView) RectForPage_( return } -func (x gen_NSView) LocationOfPrintRect_( +func (x gen_NSView) LocationOfPrintRect( rect core.NSRect, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_locationOfPrintRect_( + ret := C.NSView_inst_locationOfPrintRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21575,10 +21575,10 @@ func (x gen_NSView) LocationOfPrintRect_( return } -func (x gen_NSView) SetNeedsDisplayInRect_( +func (x gen_NSView) SetNeedsDisplayInRect( invalidRect core.NSRect, ) { - C.NSView_inst_setNeedsDisplayInRect_( + C.NSView_inst_setNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&invalidRect)), ) @@ -21592,20 +21592,20 @@ func (x gen_NSView) Display() { return } -func (x gen_NSView) DisplayRect_( +func (x gen_NSView) DisplayRect( rect core.NSRect, ) { - C.NSView_inst_displayRect_( + C.NSView_inst_displayRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) DisplayRectIgnoringOpacity_( +func (x gen_NSView) DisplayRectIgnoringOpacity( rect core.NSRect, ) { - C.NSView_inst_displayRectIgnoringOpacity_( + C.NSView_inst_displayRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21619,10 +21619,10 @@ func (x gen_NSView) DisplayIfNeeded() { return } -func (x gen_NSView) DisplayIfNeededInRect_( +func (x gen_NSView) DisplayIfNeededInRect( rect core.NSRect, ) { - C.NSView_inst_displayIfNeededInRect_( + C.NSView_inst_displayIfNeededInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21636,21 +21636,21 @@ func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { return } -func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity_( +func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( rect core.NSRect, ) { - C.NSView_inst_displayIfNeededInRectIgnoringOpacity_( + C.NSView_inst_displayIfNeededInRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by_( +func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( clipRect core.NSRect, delta core.NSSize, ) { - C.NSView_inst_translateRectsNeedingDisplayInRect_by_( + C.NSView_inst_translateRectsNeedingDisplayInRect_by( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&clipRect)), *(*C.NSSize)(unsafe.Pointer(&delta)), @@ -21665,12 +21665,12 @@ func (x gen_NSView) ViewWillDraw() { return } -func (x gen_NSView) ConvertPointFromBacking_( +func (x gen_NSView) ConvertPointFromBacking( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPointFromBacking_( + ret := C.NSView_inst_convertPointFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -21678,12 +21678,12 @@ func (x gen_NSView) ConvertPointFromBacking_( return } -func (x gen_NSView) ConvertPointToBacking_( +func (x gen_NSView) ConvertPointToBacking( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPointToBacking_( + ret := C.NSView_inst_convertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -21691,12 +21691,12 @@ func (x gen_NSView) ConvertPointToBacking_( return } -func (x gen_NSView) ConvertPointFromLayer_( +func (x gen_NSView) ConvertPointFromLayer( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPointFromLayer_( + ret := C.NSView_inst_convertPointFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -21704,12 +21704,12 @@ func (x gen_NSView) ConvertPointFromLayer_( return } -func (x gen_NSView) ConvertPointToLayer_( +func (x gen_NSView) ConvertPointToLayer( point core.NSPoint, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPointToLayer_( + ret := C.NSView_inst_convertPointToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -21717,12 +21717,12 @@ func (x gen_NSView) ConvertPointToLayer_( return } -func (x gen_NSView) ConvertRectFromBacking_( +func (x gen_NSView) ConvertRectFromBacking( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRectFromBacking_( + ret := C.NSView_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21730,12 +21730,12 @@ func (x gen_NSView) ConvertRectFromBacking_( return } -func (x gen_NSView) ConvertRectToBacking_( +func (x gen_NSView) ConvertRectToBacking( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRectToBacking_( + ret := C.NSView_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21743,12 +21743,12 @@ func (x gen_NSView) ConvertRectToBacking_( return } -func (x gen_NSView) ConvertRectFromLayer_( +func (x gen_NSView) ConvertRectFromLayer( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRectFromLayer_( + ret := C.NSView_inst_convertRectFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21756,12 +21756,12 @@ func (x gen_NSView) ConvertRectFromLayer_( return } -func (x gen_NSView) ConvertRectToLayer_( +func (x gen_NSView) ConvertRectToLayer( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRectToLayer_( + ret := C.NSView_inst_convertRectToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21769,12 +21769,12 @@ func (x gen_NSView) ConvertRectToLayer_( return } -func (x gen_NSView) ConvertSizeFromBacking_( +func (x gen_NSView) ConvertSizeFromBacking( size core.NSSize, ) ( r0 core.NSSize, ) { - ret := C.NSView_inst_convertSizeFromBacking_( + ret := C.NSView_inst_convertSizeFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -21782,12 +21782,12 @@ func (x gen_NSView) ConvertSizeFromBacking_( return } -func (x gen_NSView) ConvertSizeToBacking_( +func (x gen_NSView) ConvertSizeToBacking( size core.NSSize, ) ( r0 core.NSSize, ) { - ret := C.NSView_inst_convertSizeToBacking_( + ret := C.NSView_inst_convertSizeToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -21795,12 +21795,12 @@ func (x gen_NSView) ConvertSizeToBacking_( return } -func (x gen_NSView) ConvertSizeFromLayer_( +func (x gen_NSView) ConvertSizeFromLayer( size core.NSSize, ) ( r0 core.NSSize, ) { - ret := C.NSView_inst_convertSizeFromLayer_( + ret := C.NSView_inst_convertSizeFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -21808,12 +21808,12 @@ func (x gen_NSView) ConvertSizeFromLayer_( return } -func (x gen_NSView) ConvertSizeToLayer_( +func (x gen_NSView) ConvertSizeToLayer( size core.NSSize, ) ( r0 core.NSSize, ) { - ret := C.NSView_inst_convertSizeToLayer_( + ret := C.NSView_inst_convertSizeToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -21821,13 +21821,13 @@ func (x gen_NSView) ConvertSizeToLayer_( return } -func (x gen_NSView) ConvertPoint_fromView_( +func (x gen_NSView) ConvertPoint_fromView( point core.NSPoint, view NSViewRef, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPoint_fromView_( + ret := C.NSView_inst_convertPoint_fromView( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), @@ -21836,13 +21836,13 @@ func (x gen_NSView) ConvertPoint_fromView_( return } -func (x gen_NSView) ConvertPoint_toView_( +func (x gen_NSView) ConvertPoint_toView( point core.NSPoint, view NSViewRef, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPoint_toView_( + ret := C.NSView_inst_convertPoint_toView( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), @@ -21851,13 +21851,13 @@ func (x gen_NSView) ConvertPoint_toView_( return } -func (x gen_NSView) ConvertSize_fromView_( +func (x gen_NSView) ConvertSize_fromView( size core.NSSize, view NSViewRef, ) ( r0 core.NSSize, ) { - ret := C.NSView_inst_convertSize_fromView_( + ret := C.NSView_inst_convertSize_fromView( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), objc.RefPointer(view), @@ -21866,13 +21866,13 @@ func (x gen_NSView) ConvertSize_fromView_( return } -func (x gen_NSView) ConvertSize_toView_( +func (x gen_NSView) ConvertSize_toView( size core.NSSize, view NSViewRef, ) ( r0 core.NSSize, ) { - ret := C.NSView_inst_convertSize_toView_( + ret := C.NSView_inst_convertSize_toView( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), objc.RefPointer(view), @@ -21881,13 +21881,13 @@ func (x gen_NSView) ConvertSize_toView_( return } -func (x gen_NSView) ConvertRect_fromView_( +func (x gen_NSView) ConvertRect_fromView( rect core.NSRect, view NSViewRef, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRect_fromView_( + ret := C.NSView_inst_convertRect_fromView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(view), @@ -21896,13 +21896,13 @@ func (x gen_NSView) ConvertRect_fromView_( return } -func (x gen_NSView) ConvertRect_toView_( +func (x gen_NSView) ConvertRect_toView( rect core.NSRect, view NSViewRef, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRect_toView_( + ret := C.NSView_inst_convertRect_toView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(view), @@ -21911,12 +21911,12 @@ func (x gen_NSView) ConvertRect_toView_( return } -func (x gen_NSView) CenterScanRect_( +func (x gen_NSView) CenterScanRect( rect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_centerScanRect_( + ret := C.NSView_inst_centerScanRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -21924,70 +21924,70 @@ func (x gen_NSView) CenterScanRect_( return } -func (x gen_NSView) TranslateOriginToPoint_( +func (x gen_NSView) TranslateOriginToPoint( translation core.NSPoint, ) { - C.NSView_inst_translateOriginToPoint_( + C.NSView_inst_translateOriginToPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&translation)), ) return } -func (x gen_NSView) ScaleUnitSquareToSize_( +func (x gen_NSView) ScaleUnitSquareToSize( newUnitSize core.NSSize, ) { - C.NSView_inst_scaleUnitSquareToSize_( + C.NSView_inst_scaleUnitSquareToSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newUnitSize)), ) return } -func (x gen_NSView) RotateByAngle_( +func (x gen_NSView) RotateByAngle( angle core.CGFloat, ) { - C.NSView_inst_rotateByAngle_( + C.NSView_inst_rotateByAngle( unsafe.Pointer(x.Pointer()), C.double(angle), ) return } -func (x gen_NSView) ResizeSubviewsWithOldSize_( +func (x gen_NSView) ResizeSubviewsWithOldSize( oldSize core.NSSize, ) { - C.NSView_inst_resizeSubviewsWithOldSize_( + C.NSView_inst_resizeSubviewsWithOldSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) return } -func (x gen_NSView) ResizeWithOldSuperviewSize_( +func (x gen_NSView) ResizeWithOldSuperviewSize( oldSize core.NSSize, ) { - C.NSView_inst_resizeWithOldSuperviewSize_( + C.NSView_inst_resizeWithOldSuperviewSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) return } -func (x gen_NSView) AddConstraints_( +func (x gen_NSView) AddConstraints( constraints core.NSArrayRef, ) { - C.NSView_inst_addConstraints_( + C.NSView_inst_addConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) return } -func (x gen_NSView) RemoveConstraints_( +func (x gen_NSView) RemoveConstraints( constraints core.NSArrayRef, ) { - C.NSView_inst_removeConstraints_( + C.NSView_inst_removeConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) @@ -22001,12 +22001,12 @@ func (x gen_NSView) InvalidateIntrinsicContentSize() { return } -func (x gen_NSView) AlignmentRectForFrame_( +func (x gen_NSView) AlignmentRectForFrame( frame core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_alignmentRectForFrame_( + ret := C.NSView_inst_alignmentRectForFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frame)), ) @@ -22014,12 +22014,12 @@ func (x gen_NSView) AlignmentRectForFrame_( return } -func (x gen_NSView) FrameForAlignmentRect_( +func (x gen_NSView) FrameForAlignmentRect( alignmentRect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_frameForAlignmentRect_( + ret := C.NSView_inst_frameForAlignmentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&alignmentRect)), ) @@ -22076,23 +22076,23 @@ func (x gen_NSView) NoteFocusRingMaskChanged() { return } -func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect_( +func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( rect core.NSRect, ) { - C.NSView_inst_setKeyboardFocusRingNeedsDisplayInRect_( + C.NSView_inst_setKeyboardFocusRingNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) EnterFullScreenMode_withOptions_( +func (x gen_NSView) EnterFullScreenMode_withOptions( screen NSScreenRef, options core.NSDictionaryRef, ) ( r0 bool, ) { - ret := C.NSView_inst_enterFullScreenMode_withOptions_( + ret := C.NSView_inst_enterFullScreenMode_withOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), objc.RefPointer(options), @@ -22101,10 +22101,10 @@ func (x gen_NSView) EnterFullScreenMode_withOptions_( return } -func (x gen_NSView) ExitFullScreenModeWithOptions_( +func (x gen_NSView) ExitFullScreenModeWithOptions( options core.NSDictionaryRef, ) { - C.NSView_inst_exitFullScreenModeWithOptions_( + C.NSView_inst_exitFullScreenModeWithOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(options), ) @@ -22139,12 +22139,12 @@ func (x gen_NSView) ViewDidEndLiveResize() { return } -func (x gen_NSView) AcceptsFirstMouse_( +func (x gen_NSView) AcceptsFirstMouse( event NSEventRef, ) ( r0 bool, ) { - ret := C.NSView_inst_acceptsFirstMouse_( + ret := C.NSView_inst_acceptsFirstMouse( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -22152,12 +22152,12 @@ func (x gen_NSView) AcceptsFirstMouse_( return } -func (x gen_NSView) HitTest_( +func (x gen_NSView) HitTest( point core.NSPoint, ) ( r0 NSView, ) { - ret := C.NSView_inst_hitTest_( + ret := C.NSView_inst_hitTest( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -22165,13 +22165,13 @@ func (x gen_NSView) HitTest_( return } -func (x gen_NSView) Mouse_inRect_( +func (x gen_NSView) Mouse_inRect( point core.NSPoint, rect core.NSRect, ) ( r0 bool, ) { - ret := C.NSView_inst_mouse_inRect_( + ret := C.NSView_inst_mouse_inRect( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), *(*C.NSRect)(unsafe.Pointer(&rect)), @@ -22180,12 +22180,12 @@ func (x gen_NSView) Mouse_inRect_( return } -func (x gen_NSView) PerformKeyEquivalent_( +func (x gen_NSView) PerformKeyEquivalent( event NSEventRef, ) ( r0 bool, ) { - ret := C.NSView_inst_performKeyEquivalent_( + ret := C.NSView_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -22193,32 +22193,32 @@ func (x gen_NSView) PerformKeyEquivalent_( return } -func (x gen_NSView) PrepareContentInRect_( +func (x gen_NSView) PrepareContentInRect( rect core.NSRect, ) { - C.NSView_inst_prepareContentInRect_( + C.NSView_inst_prepareContentInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) ScrollPoint_( +func (x gen_NSView) ScrollPoint( point core.NSPoint, ) { - C.NSView_inst_scrollPoint_( + C.NSView_inst_scrollPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) return } -func (x gen_NSView) ScrollRectToVisible_( +func (x gen_NSView) ScrollRectToVisible( rect core.NSRect, ) ( r0 bool, ) { - ret := C.NSView_inst_scrollRectToVisible_( + ret := C.NSView_inst_scrollRectToVisible( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -22226,12 +22226,12 @@ func (x gen_NSView) ScrollRectToVisible_( return } -func (x gen_NSView) Autoscroll_( +func (x gen_NSView) Autoscroll( event NSEventRef, ) ( r0 bool, ) { - ret := C.NSView_inst_autoscroll_( + ret := C.NSView_inst_autoscroll( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -22239,12 +22239,12 @@ func (x gen_NSView) Autoscroll_( return } -func (x gen_NSView) AdjustScroll_( +func (x gen_NSView) AdjustScroll( newVisible core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_adjustScroll_( + ret := C.NSView_inst_adjustScroll( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&newVisible)), ) @@ -22252,10 +22252,10 @@ func (x gen_NSView) AdjustScroll_( return } -func (x gen_NSView) RegisterForDraggedTypes_( +func (x gen_NSView) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { - C.NSView_inst_registerForDraggedTypes_( + C.NSView_inst_registerForDraggedTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), ) @@ -22269,12 +22269,12 @@ func (x gen_NSView) UnregisterDraggedTypes() { return } -func (x gen_NSView) ShouldDelayWindowOrderingForEvent_( +func (x gen_NSView) ShouldDelayWindowOrderingForEvent( event NSEventRef, ) ( r0 bool, ) { - ret := C.NSView_inst_shouldDelayWindowOrderingForEvent_( + ret := C.NSView_inst_shouldDelayWindowOrderingForEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -22282,13 +22282,13 @@ func (x gen_NSView) ShouldDelayWindowOrderingForEvent_( return } -func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect_( +func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( location core.NSPoint, visibleRect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_rectForSmartMagnificationAtPoint_inRect_( + ret := C.NSView_inst_rectForSmartMagnificationAtPoint_inRect( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&location)), *(*C.NSRect)(unsafe.Pointer(&visibleRect)), @@ -22304,12 +22304,12 @@ func (x gen_NSView) ViewDidChangeBackingProperties() { return } -func (x gen_NSView) ViewWithTag_( +func (x gen_NSView) ViewWithTag( tag core.NSInteger, ) ( r0 NSView, ) { - ret := C.NSView_inst_viewWithTag_( + ret := C.NSView_inst_viewWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) @@ -22345,12 +22345,12 @@ func (x gen_NSView) ResetCursorRects() { return } -func (x gen_NSView) MenuForEvent_( +func (x gen_NSView) MenuForEvent( event NSEventRef, ) ( r0 NSMenu, ) { - ret := C.NSView_inst_menuForEvent_( + ret := C.NSView_inst_menuForEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -22358,11 +22358,11 @@ func (x gen_NSView) MenuForEvent_( return } -func (x gen_NSView) WillOpenMenu_withEvent_( +func (x gen_NSView) WillOpenMenu_withEvent( menu NSMenuRef, event NSEventRef, ) { - C.NSView_inst_willOpenMenu_withEvent_( + C.NSView_inst_willOpenMenu_withEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(menu), objc.RefPointer(event), @@ -22370,11 +22370,11 @@ func (x gen_NSView) WillOpenMenu_withEvent_( return } -func (x gen_NSView) DidCloseMenu_withEvent_( +func (x gen_NSView) DidCloseMenu_withEvent( menu NSMenuRef, event NSEventRef, ) { - C.NSView_inst_didCloseMenu_withEvent_( + C.NSView_inst_didCloseMenu_withEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(menu), objc.RefPointer(event), @@ -22403,11 +22403,11 @@ func (x gen_NSView) EndPage() { return } -func (x gen_NSView) ShowDefinitionForAttributedString_atPoint_( +func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( attrString core.NSAttributedStringRef, textBaselineOrigin core.NSPoint, ) { - C.NSView_inst_showDefinitionForAttributedString_atPoint_( + C.NSView_inst_showDefinitionForAttributedString_atPoint( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrString), *(*C.NSPoint)(unsafe.Pointer(&textBaselineOrigin)), @@ -22452,10 +22452,10 @@ func (x gen_NSView) Subviews() ( return } -func (x gen_NSView) SetSubviews_( +func (x gen_NSView) SetSubviews( value core.NSArrayRef, ) { - C.NSView_inst_setSubviews_( + C.NSView_inst_setSubviews( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -22502,10 +22502,10 @@ func (x gen_NSView) Frame() ( return } -func (x gen_NSView) SetFrame_( +func (x gen_NSView) SetFrame( value core.NSRect, ) { - C.NSView_inst_setFrame_( + C.NSView_inst_setFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -22522,10 +22522,10 @@ func (x gen_NSView) FrameRotation() ( return } -func (x gen_NSView) SetFrameRotation_( +func (x gen_NSView) SetFrameRotation( value core.CGFloat, ) { - C.NSView_inst_setFrameRotation_( + C.NSView_inst_setFrameRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -22542,10 +22542,10 @@ func (x gen_NSView) Bounds() ( return } -func (x gen_NSView) SetBounds_( +func (x gen_NSView) SetBounds( value core.NSRect, ) { - C.NSView_inst_setBounds_( + C.NSView_inst_setBounds( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -22562,10 +22562,10 @@ func (x gen_NSView) BoundsRotation() ( return } -func (x gen_NSView) SetBoundsRotation_( +func (x gen_NSView) SetBoundsRotation( value core.CGFloat, ) { - C.NSView_inst_setBoundsRotation_( + C.NSView_inst_setBoundsRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -22582,10 +22582,10 @@ func (x gen_NSView) WantsLayer() ( return } -func (x gen_NSView) SetWantsLayer_( +func (x gen_NSView) SetWantsLayer( value bool, ) { - C.NSView_inst_setWantsLayer_( + C.NSView_inst_setWantsLayer( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -22612,10 +22612,10 @@ func (x gen_NSView) Layer() ( return } -func (x gen_NSView) SetLayer_( +func (x gen_NSView) SetLayer( value core.CALayerRef, ) { - C.NSView_inst_setLayer_( + C.NSView_inst_setLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -22632,10 +22632,10 @@ func (x gen_NSView) CanDrawSubviewsIntoLayer() ( return } -func (x gen_NSView) SetCanDrawSubviewsIntoLayer_( +func (x gen_NSView) SetCanDrawSubviewsIntoLayer( value bool, ) { - C.NSView_inst_setCanDrawSubviewsIntoLayer_( + C.NSView_inst_setCanDrawSubviewsIntoLayer( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -22652,10 +22652,10 @@ func (x gen_NSView) LayerUsesCoreImageFilters() ( return } -func (x gen_NSView) SetLayerUsesCoreImageFilters_( +func (x gen_NSView) SetLayerUsesCoreImageFilters( value bool, ) { - C.NSView_inst_setLayerUsesCoreImageFilters_( + C.NSView_inst_setLayerUsesCoreImageFilters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -22672,10 +22672,10 @@ func (x gen_NSView) AlphaValue() ( return } -func (x gen_NSView) SetAlphaValue_( +func (x gen_NSView) SetAlphaValue( value core.CGFloat, ) { - C.NSView_inst_setAlphaValue_( + C.NSView_inst_setAlphaValue( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -22692,10 +22692,10 @@ func (x gen_NSView) FrameCenterRotation() ( return } -func (x gen_NSView) SetFrameCenterRotation_( +func (x gen_NSView) SetFrameCenterRotation( value core.CGFloat, ) { - C.NSView_inst_setFrameCenterRotation_( + C.NSView_inst_setFrameCenterRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -22712,10 +22712,10 @@ func (x gen_NSView) BackgroundFilters() ( return } -func (x gen_NSView) SetBackgroundFilters_( +func (x gen_NSView) SetBackgroundFilters( value core.NSArrayRef, ) { - C.NSView_inst_setBackgroundFilters_( + C.NSView_inst_setBackgroundFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -22732,10 +22732,10 @@ func (x gen_NSView) ContentFilters() ( return } -func (x gen_NSView) SetContentFilters_( +func (x gen_NSView) SetContentFilters( value core.NSArrayRef, ) { - C.NSView_inst_setContentFilters_( + C.NSView_inst_setContentFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -22752,10 +22752,10 @@ func (x gen_NSView) CanDrawConcurrently() ( return } -func (x gen_NSView) SetCanDrawConcurrently_( +func (x gen_NSView) SetCanDrawConcurrently( value bool, ) { - C.NSView_inst_setCanDrawConcurrently_( + C.NSView_inst_setCanDrawConcurrently( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -22842,10 +22842,10 @@ func (x gen_NSView) NeedsDisplay() ( return } -func (x gen_NSView) SetNeedsDisplay_( +func (x gen_NSView) SetNeedsDisplay( value bool, ) { - C.NSView_inst_setNeedsDisplay_( + C.NSView_inst_setNeedsDisplay( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -22902,10 +22902,10 @@ func (x gen_NSView) AutoresizesSubviews() ( return } -func (x gen_NSView) SetAutoresizesSubviews_( +func (x gen_NSView) SetAutoresizesSubviews( value bool, ) { - C.NSView_inst_setAutoresizesSubviews_( + C.NSView_inst_setAutoresizesSubviews( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -22992,10 +22992,10 @@ func (x gen_NSView) NeedsLayout() ( return } -func (x gen_NSView) SetNeedsLayout_( +func (x gen_NSView) SetNeedsLayout( value bool, ) { - C.NSView_inst_setNeedsLayout_( + C.NSView_inst_setNeedsLayout( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23012,10 +23012,10 @@ func (x gen_NSView) NeedsUpdateConstraints() ( return } -func (x gen_NSView) SetNeedsUpdateConstraints_( +func (x gen_NSView) SetNeedsUpdateConstraints( value bool, ) { - C.NSView_inst_setNeedsUpdateConstraints_( + C.NSView_inst_setNeedsUpdateConstraints( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23032,10 +23032,10 @@ func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() ( return } -func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints_( +func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( value bool, ) { - C.NSView_inst_setTranslatesAutoresizingMaskIntoConstraints_( + C.NSView_inst_setTranslatesAutoresizingMaskIntoConstraints( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23092,10 +23092,10 @@ func (x gen_NSView) IsHidden() ( return } -func (x gen_NSView) SetHidden_( +func (x gen_NSView) SetHidden( value bool, ) { - C.NSView_inst_setHidden_( + C.NSView_inst_setHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23152,10 +23152,10 @@ func (x gen_NSView) GestureRecognizers() ( return } -func (x gen_NSView) SetGestureRecognizers_( +func (x gen_NSView) SetGestureRecognizers( value core.NSArrayRef, ) { - C.NSView_inst_setGestureRecognizers_( + C.NSView_inst_setGestureRecognizers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -23182,10 +23182,10 @@ func (x gen_NSView) WantsRestingTouches() ( return } -func (x gen_NSView) SetWantsRestingTouches_( +func (x gen_NSView) SetWantsRestingTouches( value bool, ) { - C.NSView_inst_setWantsRestingTouches_( + C.NSView_inst_setWantsRestingTouches( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23222,10 +23222,10 @@ func (x gen_NSView) NextKeyView() ( return } -func (x gen_NSView) SetNextKeyView_( +func (x gen_NSView) SetNextKeyView( value NSViewRef, ) { - C.NSView_inst_setNextKeyView_( + C.NSView_inst_setNextKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -23272,10 +23272,10 @@ func (x gen_NSView) PreparedContentRect() ( return } -func (x gen_NSView) SetPreparedContentRect_( +func (x gen_NSView) SetPreparedContentRect( value core.NSRect, ) { - C.NSView_inst_setPreparedContentRect_( + C.NSView_inst_setPreparedContentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -23302,10 +23302,10 @@ func (x gen_NSView) PostsFrameChangedNotifications() ( return } -func (x gen_NSView) SetPostsFrameChangedNotifications_( +func (x gen_NSView) SetPostsFrameChangedNotifications( value bool, ) { - C.NSView_inst_setPostsFrameChangedNotifications_( + C.NSView_inst_setPostsFrameChangedNotifications( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23322,10 +23322,10 @@ func (x gen_NSView) PostsBoundsChangedNotifications() ( return } -func (x gen_NSView) SetPostsBoundsChangedNotifications_( +func (x gen_NSView) SetPostsBoundsChangedNotifications( value bool, ) { - C.NSView_inst_setPostsBoundsChangedNotifications_( + C.NSView_inst_setPostsBoundsChangedNotifications( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23352,10 +23352,10 @@ func (x gen_NSView) ToolTip() ( return } -func (x gen_NSView) SetToolTip_( +func (x gen_NSView) SetToolTip( value core.NSStringRef, ) { - C.NSView_inst_setToolTip_( + C.NSView_inst_setToolTip( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -23392,10 +23392,10 @@ func (x gen_NSView) IsHorizontalContentSizeConstraintActive() ( return } -func (x gen_NSView) SetHorizontalContentSizeConstraintActive_( +func (x gen_NSView) SetHorizontalContentSizeConstraintActive( value bool, ) { - C.NSView_inst_setHorizontalContentSizeConstraintActive_( + C.NSView_inst_setHorizontalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23412,10 +23412,10 @@ func (x gen_NSView) IsVerticalContentSizeConstraintActive() ( return } -func (x gen_NSView) SetVerticalContentSizeConstraintActive_( +func (x gen_NSView) SetVerticalContentSizeConstraintActive( value bool, ) { - C.NSView_inst_setVerticalContentSizeConstraintActive_( + C.NSView_inst_setVerticalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -23432,10 +23432,10 @@ func (x gen_NSView) BackgroundColor() ( return } -func (x gen_NSView) SetBackgroundColor_( +func (x gen_NSView) SetBackgroundColor( value NSColorRef, ) { - C.NSView_inst_setBackgroundColor_( + C.NSView_inst_setBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) diff --git a/core/CALayer.go b/core/CALayer.go index 900a70ae..aa1ae382 100644 --- a/core/CALayer.go +++ b/core/CALayer.go @@ -13,9 +13,9 @@ func (l CALayer) CornerRadius() float64 { } func (l CALayer) SetCornerRadius(r float64) { - l.SetCornerRadius_(CGFloat(r)) + l.gen_CALayer.SetCornerRadius(CGFloat(r)) } func (l CALayer) SetContents(o objc.Object) { - l.SetContents_(objc.Object_fromRef(o)) + l.gen_CALayer.SetContents(objc.Object_fromRef(o)) } diff --git a/core/NSAttributedString.go b/core/NSAttributedString.go index 04df5b83..32680ce8 100644 --- a/core/NSAttributedString.go +++ b/core/NSAttributedString.go @@ -14,7 +14,7 @@ type NSAttributedString struct { // https://developer.apple.com/documentation/foundation/nsattributedstring/1407481-initwithstring?language=objc func NSAttributedString_FromString(str string) NSAttributedString { nsstr := NSString_FromString(str) - return NSAttributedString_alloc().InitWithString__asNSAttributedString(nsstr) + return NSAttributedString_alloc().InitWithString_asNSAttributedString(nsstr) } func NSAttributedString_FromObject(obj objc.Object) NSAttributedString { diff --git a/core/NSData.go b/core/NSData.go index 203a9317..39eee19e 100644 --- a/core/NSData.go +++ b/core/NSData.go @@ -14,7 +14,7 @@ type NSData struct { func NSData_WithBytes(b []byte, length uint64) NSData { buf := C.CBytes(b) defer C.free(buf) - return NSData_dataWithBytes_length_(buf, NSUInteger(length)) + return NSData_dataWithBytes_length(buf, NSUInteger(length)) } // Length is the number of bytes contained by the data object. diff --git a/core/NSNumber.go b/core/NSNumber.go index c93f30c8..d7a18e56 100644 --- a/core/NSNumber.go +++ b/core/NSNumber.go @@ -5,9 +5,9 @@ type NSNumber struct { } func NSNumber_WithBool(b bool) NSNumber { - return NSNumber_numberWithBool_(b) + return NSNumber_numberWithBool(b) } func NSNumber_WithInt(n int32) NSNumber { - return NSNumber_numberWithInt_(n) + return NSNumber_numberWithInt(n) } diff --git a/core/NSString.go b/core/NSString.go index 1ad0780a..9c1e6511 100644 --- a/core/NSString.go +++ b/core/NSString.go @@ -30,7 +30,7 @@ func NSString_FromString(s string) NSString { b := []byte(s) c := C.CBytes(b) defer C.free(unsafe.Pointer(c)) - ret := NSString_alloc().InitWithBytes_length_encoding__asNSString(c, NSUInteger(len(b)), NSUTF8StringEncoding) + ret := NSString_alloc().InitWithBytes_length_encoding_asNSString(c, NSUInteger(len(b)), NSUTF8StringEncoding) return ret } @@ -39,5 +39,5 @@ func NSString_FromObject(obj objc.Object) NSString { } func (s NSString) SizeWithAttributes(attrs NSDictionary) NSSize { - return s.gen_NSString.SizeWithAttributes_(attrs) + return s.gen_NSString.SizeWithAttributes(attrs) } diff --git a/core/NSURL.go b/core/NSURL.go index 31ec949d..c594a8e3 100644 --- a/core/NSURL.go +++ b/core/NSURL.go @@ -3,5 +3,5 @@ package core type NSURL struct{ gen_NSURL } func NSURL_Init(url string) NSURL { - return NSURL_URLWithString_(String(url)) + return NSURL_URLWithString(String(url)) } diff --git a/core/NSURLRequest.go b/core/NSURLRequest.go index 537b7baf..d2533ff8 100644 --- a/core/NSURLRequest.go +++ b/core/NSURLRequest.go @@ -5,5 +5,5 @@ type NSURLRequest struct { } func NSURLRequest_Init(url NSURL) NSURLRequest { - return NSURLRequest_requestWithURL_(url) + return NSURLRequest_requestWithURL(url) } diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index c7e08de6..6b197620 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -30,15 +30,15 @@ void* CALayer_type_layer() { return [CALayer layer]; } -BOOL CALayer_type_needsDisplayForKey_(void* key) { +BOOL CALayer_type_needsDisplayForKey(void* key) { return [CALayer needsDisplayForKey: key]; } -void* CALayer_type_defaultActionForKey_(void* event) { +void* CALayer_type_defaultActionForKey(void* event) { return [CALayer defaultActionForKey: event]; } -void* CALayer_type_defaultValueForKey_(void* key) { +void* CALayer_type_defaultValueForKey(void* key) { return [CALayer defaultValueForKey: key]; } @@ -50,7 +50,7 @@ void* NSArray_type_array() { return [NSArray array]; } -void* NSArray_type_arrayWithArray_(void* array) { +void* NSArray_type_arrayWithArray(void* array) { return [NSArray arrayWithArray: array]; } @@ -74,31 +74,31 @@ void* NSData_type_data() { return [NSData data]; } -void* NSData_type_dataWithBytes_length_(void* bytes, unsigned long length) { +void* NSData_type_dataWithBytes_length(void* bytes, unsigned long length) { return [NSData dataWithBytes: bytes length: length]; } -void* NSData_type_dataWithBytesNoCopy_length_(void* bytes, unsigned long length) { +void* NSData_type_dataWithBytesNoCopy_length(void* bytes, unsigned long length) { return [NSData dataWithBytesNoCopy: bytes length: length]; } -void* NSData_type_dataWithBytesNoCopy_length_freeWhenDone_(void* bytes, unsigned long length, BOOL b) { +void* NSData_type_dataWithBytesNoCopy_length_freeWhenDone(void* bytes, unsigned long length, BOOL b) { return [NSData dataWithBytesNoCopy: bytes length: length freeWhenDone: b]; } -void* NSData_type_dataWithData_(void* data) { +void* NSData_type_dataWithData(void* data) { return [NSData dataWithData: data]; } -void* NSData_type_dataWithContentsOfFile_(void* path) { +void* NSData_type_dataWithContentsOfFile(void* path) { return [NSData dataWithContentsOfFile: path]; } -void* NSData_type_dataWithContentsOfURL_(void* url) { +void* NSData_type_dataWithContentsOfURL(void* url) { return [NSData dataWithContentsOfURL: url]; } @@ -110,16 +110,16 @@ void* NSDictionary_type_dictionary() { return [NSDictionary dictionary]; } -void* NSDictionary_type_dictionaryWithObjects_forKeys_(void* objects, void* keys) { +void* NSDictionary_type_dictionaryWithObjects_forKeys(void* objects, void* keys) { return [NSDictionary dictionaryWithObjects: objects forKeys: keys]; } -void* NSDictionary_type_dictionaryWithDictionary_(void* dict) { +void* NSDictionary_type_dictionaryWithDictionary(void* dict) { return [NSDictionary dictionaryWithDictionary: dict]; } -void* NSDictionary_type_sharedKeySetForKeys_(void* keys) { +void* NSDictionary_type_sharedKeySetForKeys(void* keys) { return [NSDictionary sharedKeySetForKeys: keys]; } @@ -127,23 +127,23 @@ void* NSNumber_type_alloc() { return [NSNumber alloc]; } -void* NSNumber_type_numberWithBool_(BOOL value) { +void* NSNumber_type_numberWithBool(BOOL value) { return [NSNumber numberWithBool: value]; } -void* NSNumber_type_numberWithInt_(int value) { +void* NSNumber_type_numberWithInt(int value) { return [NSNumber numberWithInt: value]; } -void* NSNumber_type_numberWithInteger_(long value) { +void* NSNumber_type_numberWithInteger(long value) { return [NSNumber numberWithInteger: value]; } -void* NSNumber_type_numberWithUnsignedInt_(int value) { +void* NSNumber_type_numberWithUnsignedInt(int value) { return [NSNumber numberWithUnsignedInt: value]; } -void* NSNumber_type_numberWithUnsignedInteger_(unsigned long value) { +void* NSNumber_type_numberWithUnsignedInteger(unsigned long value) { return [NSNumber numberWithUnsignedInteger: value]; } @@ -167,20 +167,20 @@ void* NSString_type_string() { return [NSString string]; } -void* NSString_type_localizedUserNotificationStringForKey_arguments_(void* key, void* arguments) { +void* NSString_type_localizedUserNotificationStringForKey_arguments(void* key, void* arguments) { return [NSString localizedUserNotificationStringForKey: key arguments: arguments]; } -void* NSString_type_stringWithString_(void* string) { +void* NSString_type_stringWithString(void* string) { return [NSString stringWithString: string]; } -void* NSString_type_localizedNameOfStringEncoding_(unsigned long encoding) { +void* NSString_type_localizedNameOfStringEncoding(unsigned long encoding) { return [NSString localizedNameOfStringEncoding: encoding]; } -void* NSString_type_pathWithComponents_(void* components) { +void* NSString_type_pathWithComponents(void* components) { return [NSString pathWithComponents: components]; } @@ -192,7 +192,7 @@ void* NSThread_type_alloc() { return [NSThread alloc]; } -void NSThread_type_detachNewThreadSelector_toTarget_withObject_(void* selector, void* target, void* argument) { +void NSThread_type_detachNewThreadSelector_toTarget_withObject(void* selector, void* target, void* argument) { [NSThread detachNewThreadSelector: selector toTarget: target @@ -230,50 +230,50 @@ void* NSURL_type_alloc() { return [NSURL alloc]; } -void* NSURL_type_URLWithString_(void* URLString) { +void* NSURL_type_URLWithString(void* URLString) { return [NSURL URLWithString: URLString]; } -void* NSURL_type_URLWithString_relativeToURL_(void* URLString, void* baseURL) { +void* NSURL_type_URLWithString_relativeToURL(void* URLString, void* baseURL) { return [NSURL URLWithString: URLString relativeToURL: baseURL]; } -void* NSURL_type_fileURLWithPath_isDirectory_(void* path, BOOL isDir) { +void* NSURL_type_fileURLWithPath_isDirectory(void* path, BOOL isDir) { return [NSURL fileURLWithPath: path isDirectory: isDir]; } -void* NSURL_type_fileURLWithPath_relativeToURL_(void* path, void* baseURL) { +void* NSURL_type_fileURLWithPath_relativeToURL(void* path, void* baseURL) { return [NSURL fileURLWithPath: path relativeToURL: baseURL]; } -void* NSURL_type_fileURLWithPath_isDirectory_relativeToURL_(void* path, BOOL isDir, void* baseURL) { +void* NSURL_type_fileURLWithPath_isDirectory_relativeToURL(void* path, BOOL isDir, void* baseURL) { return [NSURL fileURLWithPath: path isDirectory: isDir relativeToURL: baseURL]; } -void* NSURL_type_fileURLWithPath_(void* path) { +void* NSURL_type_fileURLWithPath(void* path) { return [NSURL fileURLWithPath: path]; } -void* NSURL_type_fileURLWithPathComponents_(void* components) { +void* NSURL_type_fileURLWithPathComponents(void* components) { return [NSURL fileURLWithPathComponents: components]; } -void* NSURL_type_absoluteURLWithDataRepresentation_relativeToURL_(void* data, void* baseURL) { +void* NSURL_type_absoluteURLWithDataRepresentation_relativeToURL(void* data, void* baseURL) { return [NSURL absoluteURLWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_type_URLWithDataRepresentation_relativeToURL_(void* data, void* baseURL) { +void* NSURL_type_URLWithDataRepresentation_relativeToURL(void* data, void* baseURL) { return [NSURL URLWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_type_resourceValuesForKeys_fromBookmarkData_(void* keys, void* bookmarkData) { +void* NSURL_type_resourceValuesForKeys_fromBookmarkData(void* keys, void* bookmarkData) { return [NSURL resourceValuesForKeys: keys fromBookmarkData: bookmarkData]; @@ -282,7 +282,7 @@ void* NSURLRequest_type_alloc() { return [NSURLRequest alloc]; } -void* NSURLRequest_type_requestWithURL_(void* URL) { +void* NSURLRequest_type_requestWithURL(void* URL) { return [NSURLRequest requestWithURL: URL]; } @@ -309,7 +309,7 @@ void* CALayer_inst_init(void *id) { init]; } -void* CALayer_inst_initWithLayer_(void *id, void* layer) { +void* CALayer_inst_initWithLayer(void *id, void* layer) { return [(CALayer*)id initWithLayer: layer]; } @@ -334,7 +334,7 @@ BOOL CALayer_inst_contentsAreFlipped(void *id) { contentsAreFlipped]; } -void CALayer_inst_addSublayer_(void *id, void* layer) { +void CALayer_inst_addSublayer(void *id, void* layer) { [(CALayer*)id addSublayer: layer]; } @@ -344,25 +344,25 @@ void CALayer_inst_removeFromSuperlayer(void *id) { removeFromSuperlayer]; } -void CALayer_inst_insertSublayer_atIndex_(void *id, void* layer, int idx) { +void CALayer_inst_insertSublayer_atIndex(void *id, void* layer, int idx) { [(CALayer*)id insertSublayer: layer atIndex: idx]; } -void CALayer_inst_insertSublayer_below_(void *id, void* layer, void* sibling) { +void CALayer_inst_insertSublayer_below(void *id, void* layer, void* sibling) { [(CALayer*)id insertSublayer: layer below: sibling]; } -void CALayer_inst_insertSublayer_above_(void *id, void* layer, void* sibling) { +void CALayer_inst_insertSublayer_above(void *id, void* layer, void* sibling) { [(CALayer*)id insertSublayer: layer above: sibling]; } -void CALayer_inst_replaceSublayer_with_(void *id, void* oldLayer, void* newLayer) { +void CALayer_inst_replaceSublayer_with(void *id, void* oldLayer, void* newLayer) { [(CALayer*)id replaceSublayer: oldLayer with: newLayer]; @@ -373,7 +373,7 @@ void CALayer_inst_setNeedsDisplay(void *id) { setNeedsDisplay]; } -void CALayer_inst_setNeedsDisplayInRect_(void *id, NSRect r) { +void CALayer_inst_setNeedsDisplayInRect(void *id, NSRect r) { [(CALayer*)id setNeedsDisplayInRect: r]; } @@ -393,7 +393,7 @@ void CALayer_inst_removeAllAnimations(void *id) { removeAllAnimations]; } -void CALayer_inst_removeAnimationForKey_(void *id, void* key) { +void CALayer_inst_removeAnimationForKey(void *id, void* key) { [(CALayer*)id removeAnimationForKey: key]; } @@ -423,12 +423,12 @@ BOOL CALayer_inst_needsLayout(void *id) { needsLayout]; } -void CALayer_inst_resizeWithOldSuperlayerSize_(void *id, NSSize size) { +void CALayer_inst_resizeWithOldSuperlayerSize(void *id, NSSize size) { [(CALayer*)id resizeWithOldSuperlayerSize: size]; } -void CALayer_inst_resizeSublayersWithOldSize_(void *id, NSSize size) { +void CALayer_inst_resizeSublayersWithOldSize(void *id, NSSize size) { [(CALayer*)id resizeSublayersWithOldSize: size]; } @@ -438,29 +438,29 @@ NSSize CALayer_inst_preferredFrameSize(void *id) { preferredFrameSize]; } -void* CALayer_inst_actionForKey_(void *id, void* event) { +void* CALayer_inst_actionForKey(void *id, void* event) { return [(CALayer*)id actionForKey: event]; } -NSRect CALayer_inst_convertRect_fromLayer_(void *id, NSRect r, void* l) { +NSRect CALayer_inst_convertRect_fromLayer(void *id, NSRect r, void* l) { return [(CALayer*)id convertRect: r fromLayer: l]; } -NSRect CALayer_inst_convertRect_toLayer_(void *id, NSRect r, void* l) { +NSRect CALayer_inst_convertRect_toLayer(void *id, NSRect r, void* l) { return [(CALayer*)id convertRect: r toLayer: l]; } -void CALayer_inst_scrollRectToVisible_(void *id, NSRect r) { +void CALayer_inst_scrollRectToVisible(void *id, NSRect r) { [(CALayer*)id scrollRectToVisible: r]; } -BOOL CALayer_inst_shouldArchiveValueForKey_(void *id, void* key) { +BOOL CALayer_inst_shouldArchiveValueForKey(void *id, void* key) { return [(CALayer*)id shouldArchiveValueForKey: key]; } @@ -470,7 +470,7 @@ void* CALayer_inst_delegate(void *id) { delegate]; } -void CALayer_inst_setDelegate_(void *id, void* value) { +void CALayer_inst_setDelegate(void *id, void* value) { [(CALayer*)id setDelegate: value]; } @@ -480,7 +480,7 @@ void* CALayer_inst_contents(void *id) { contents]; } -void CALayer_inst_setContents_(void *id, void* value) { +void CALayer_inst_setContents(void *id, void* value) { [(CALayer*)id setContents: value]; } @@ -490,7 +490,7 @@ NSRect CALayer_inst_contentsRect(void *id) { contentsRect]; } -void CALayer_inst_setContentsRect_(void *id, NSRect value) { +void CALayer_inst_setContentsRect(void *id, NSRect value) { [(CALayer*)id setContentsRect: value]; } @@ -500,7 +500,7 @@ NSRect CALayer_inst_contentsCenter(void *id) { contentsCenter]; } -void CALayer_inst_setContentsCenter_(void *id, NSRect value) { +void CALayer_inst_setContentsCenter(void *id, NSRect value) { [(CALayer*)id setContentsCenter: value]; } @@ -510,7 +510,7 @@ BOOL CALayer_inst_isHidden(void *id) { isHidden]; } -void CALayer_inst_setHidden_(void *id, BOOL value) { +void CALayer_inst_setHidden(void *id, BOOL value) { [(CALayer*)id setHidden: value]; } @@ -520,7 +520,7 @@ BOOL CALayer_inst_masksToBounds(void *id) { masksToBounds]; } -void CALayer_inst_setMasksToBounds_(void *id, BOOL value) { +void CALayer_inst_setMasksToBounds(void *id, BOOL value) { [(CALayer*)id setMasksToBounds: value]; } @@ -530,7 +530,7 @@ void* CALayer_inst_mask(void *id) { mask]; } -void CALayer_inst_setMask_(void *id, void* value) { +void CALayer_inst_setMask(void *id, void* value) { [(CALayer*)id setMask: value]; } @@ -540,7 +540,7 @@ BOOL CALayer_inst_isDoubleSided(void *id) { isDoubleSided]; } -void CALayer_inst_setDoubleSided_(void *id, BOOL value) { +void CALayer_inst_setDoubleSided(void *id, BOOL value) { [(CALayer*)id setDoubleSided: value]; } @@ -550,7 +550,7 @@ double CALayer_inst_cornerRadius(void *id) { cornerRadius]; } -void CALayer_inst_setCornerRadius_(void *id, double value) { +void CALayer_inst_setCornerRadius(void *id, double value) { [(CALayer*)id setCornerRadius: value]; } @@ -560,7 +560,7 @@ double CALayer_inst_borderWidth(void *id) { borderWidth]; } -void CALayer_inst_setBorderWidth_(void *id, double value) { +void CALayer_inst_setBorderWidth(void *id, double value) { [(CALayer*)id setBorderWidth: value]; } @@ -570,7 +570,7 @@ double CALayer_inst_shadowRadius(void *id) { shadowRadius]; } -void CALayer_inst_setShadowRadius_(void *id, double value) { +void CALayer_inst_setShadowRadius(void *id, double value) { [(CALayer*)id setShadowRadius: value]; } @@ -580,7 +580,7 @@ NSSize CALayer_inst_shadowOffset(void *id) { shadowOffset]; } -void CALayer_inst_setShadowOffset_(void *id, NSSize value) { +void CALayer_inst_setShadowOffset(void *id, NSSize value) { [(CALayer*)id setShadowOffset: value]; } @@ -590,7 +590,7 @@ void* CALayer_inst_style(void *id) { style]; } -void CALayer_inst_setStyle_(void *id, void* value) { +void CALayer_inst_setStyle(void *id, void* value) { [(CALayer*)id setStyle: value]; } @@ -600,7 +600,7 @@ BOOL CALayer_inst_allowsEdgeAntialiasing(void *id) { allowsEdgeAntialiasing]; } -void CALayer_inst_setAllowsEdgeAntialiasing_(void *id, BOOL value) { +void CALayer_inst_setAllowsEdgeAntialiasing(void *id, BOOL value) { [(CALayer*)id setAllowsEdgeAntialiasing: value]; } @@ -610,7 +610,7 @@ BOOL CALayer_inst_allowsGroupOpacity(void *id) { allowsGroupOpacity]; } -void CALayer_inst_setAllowsGroupOpacity_(void *id, BOOL value) { +void CALayer_inst_setAllowsGroupOpacity(void *id, BOOL value) { [(CALayer*)id setAllowsGroupOpacity: value]; } @@ -620,7 +620,7 @@ void* CALayer_inst_filters(void *id) { filters]; } -void CALayer_inst_setFilters_(void *id, void* value) { +void CALayer_inst_setFilters(void *id, void* value) { [(CALayer*)id setFilters: value]; } @@ -630,7 +630,7 @@ void* CALayer_inst_compositingFilter(void *id) { compositingFilter]; } -void CALayer_inst_setCompositingFilter_(void *id, void* value) { +void CALayer_inst_setCompositingFilter(void *id, void* value) { [(CALayer*)id setCompositingFilter: value]; } @@ -640,7 +640,7 @@ void* CALayer_inst_backgroundFilters(void *id) { backgroundFilters]; } -void CALayer_inst_setBackgroundFilters_(void *id, void* value) { +void CALayer_inst_setBackgroundFilters(void *id, void* value) { [(CALayer*)id setBackgroundFilters: value]; } @@ -650,7 +650,7 @@ BOOL CALayer_inst_isOpaque(void *id) { isOpaque]; } -void CALayer_inst_setOpaque_(void *id, BOOL value) { +void CALayer_inst_setOpaque(void *id, BOOL value) { [(CALayer*)id setOpaque: value]; } @@ -660,7 +660,7 @@ BOOL CALayer_inst_isGeometryFlipped(void *id) { isGeometryFlipped]; } -void CALayer_inst_setGeometryFlipped_(void *id, BOOL value) { +void CALayer_inst_setGeometryFlipped(void *id, BOOL value) { [(CALayer*)id setGeometryFlipped: value]; } @@ -670,7 +670,7 @@ BOOL CALayer_inst_drawsAsynchronously(void *id) { drawsAsynchronously]; } -void CALayer_inst_setDrawsAsynchronously_(void *id, BOOL value) { +void CALayer_inst_setDrawsAsynchronously(void *id, BOOL value) { [(CALayer*)id setDrawsAsynchronously: value]; } @@ -680,7 +680,7 @@ BOOL CALayer_inst_shouldRasterize(void *id) { shouldRasterize]; } -void CALayer_inst_setShouldRasterize_(void *id, BOOL value) { +void CALayer_inst_setShouldRasterize(void *id, BOOL value) { [(CALayer*)id setShouldRasterize: value]; } @@ -690,7 +690,7 @@ double CALayer_inst_rasterizationScale(void *id) { rasterizationScale]; } -void CALayer_inst_setRasterizationScale_(void *id, double value) { +void CALayer_inst_setRasterizationScale(void *id, double value) { [(CALayer*)id setRasterizationScale: value]; } @@ -700,7 +700,7 @@ NSRect CALayer_inst_frame(void *id) { frame]; } -void CALayer_inst_setFrame_(void *id, NSRect value) { +void CALayer_inst_setFrame(void *id, NSRect value) { [(CALayer*)id setFrame: value]; } @@ -710,7 +710,7 @@ NSRect CALayer_inst_bounds(void *id) { bounds]; } -void CALayer_inst_setBounds_(void *id, NSRect value) { +void CALayer_inst_setBounds(void *id, NSRect value) { [(CALayer*)id setBounds: value]; } @@ -720,7 +720,7 @@ double CALayer_inst_zPosition(void *id) { zPosition]; } -void CALayer_inst_setZPosition_(void *id, double value) { +void CALayer_inst_setZPosition(void *id, double value) { [(CALayer*)id setZPosition: value]; } @@ -730,7 +730,7 @@ double CALayer_inst_anchorPointZ(void *id) { anchorPointZ]; } -void CALayer_inst_setAnchorPointZ_(void *id, double value) { +void CALayer_inst_setAnchorPointZ(void *id, double value) { [(CALayer*)id setAnchorPointZ: value]; } @@ -740,7 +740,7 @@ double CALayer_inst_contentsScale(void *id) { contentsScale]; } -void CALayer_inst_setContentsScale_(void *id, double value) { +void CALayer_inst_setContentsScale(void *id, double value) { [(CALayer*)id setContentsScale: value]; } @@ -750,7 +750,7 @@ void* CALayer_inst_sublayers(void *id) { sublayers]; } -void CALayer_inst_setSublayers_(void *id, void* value) { +void CALayer_inst_setSublayers(void *id, void* value) { [(CALayer*)id setSublayers: value]; } @@ -765,7 +765,7 @@ BOOL CALayer_inst_needsDisplayOnBoundsChange(void *id) { needsDisplayOnBoundsChange]; } -void CALayer_inst_setNeedsDisplayOnBoundsChange_(void *id, BOOL value) { +void CALayer_inst_setNeedsDisplayOnBoundsChange(void *id, BOOL value) { [(CALayer*)id setNeedsDisplayOnBoundsChange: value]; } @@ -775,7 +775,7 @@ void* CALayer_inst_layoutManager(void *id) { layoutManager]; } -void CALayer_inst_setLayoutManager_(void *id, void* value) { +void CALayer_inst_setLayoutManager(void *id, void* value) { [(CALayer*)id setLayoutManager: value]; } @@ -785,7 +785,7 @@ void* CALayer_inst_constraints(void *id) { constraints]; } -void CALayer_inst_setConstraints_(void *id, void* value) { +void CALayer_inst_setConstraints(void *id, void* value) { [(CALayer*)id setConstraints: value]; } @@ -795,7 +795,7 @@ void* CALayer_inst_actions(void *id) { actions]; } -void CALayer_inst_setActions_(void *id, void* value) { +void CALayer_inst_setActions(void *id, void* value) { [(CALayer*)id setActions: value]; } @@ -810,7 +810,7 @@ void* CALayer_inst_name(void *id) { name]; } -void CALayer_inst_setName_(void *id, void* value) { +void CALayer_inst_setName(void *id, void* value) { [(CALayer*)id setName: value]; } @@ -820,76 +820,76 @@ void* NSArray_inst_init(void *id) { init]; } -void* NSArray_inst_initWithArray_(void *id, void* array) { +void* NSArray_inst_initWithArray(void *id, void* array) { return [(NSArray*)id initWithArray: array]; } -void* NSArray_inst_initWithArray_copyItems_(void *id, void* array, BOOL flag) { +void* NSArray_inst_initWithArray_copyItems(void *id, void* array, BOOL flag) { return [(NSArray*)id initWithArray: array copyItems: flag]; } -void NSArray_inst_makeObjectsPerformSelector_(void *id, void* aSelector) { +void NSArray_inst_makeObjectsPerformSelector(void *id, void* aSelector) { [(NSArray*)id makeObjectsPerformSelector: aSelector]; } -void NSArray_inst_makeObjectsPerformSelector_withObject_(void *id, void* aSelector, void* argument) { +void NSArray_inst_makeObjectsPerformSelector_withObject(void *id, void* aSelector, void* argument) { [(NSArray*)id makeObjectsPerformSelector: aSelector withObject: argument]; } -BOOL NSArray_inst_isEqualToArray_(void *id, void* otherArray) { +BOOL NSArray_inst_isEqualToArray(void *id, void* otherArray) { return [(NSArray*)id isEqualToArray: otherArray]; } -void* NSArray_inst_arrayByAddingObjectsFromArray_(void *id, void* otherArray) { +void* NSArray_inst_arrayByAddingObjectsFromArray(void *id, void* otherArray) { return [(NSArray*)id arrayByAddingObjectsFromArray: otherArray]; } -void* NSArray_inst_sortedArrayUsingDescriptors_(void *id, void* sortDescriptors) { +void* NSArray_inst_sortedArrayUsingDescriptors(void *id, void* sortDescriptors) { return [(NSArray*)id sortedArrayUsingDescriptors: sortDescriptors]; } -void* NSArray_inst_sortedArrayUsingSelector_(void *id, void* comparator) { +void* NSArray_inst_sortedArrayUsingSelector(void *id, void* comparator) { return [(NSArray*)id sortedArrayUsingSelector: comparator]; } -void* NSArray_inst_componentsJoinedByString_(void *id, void* separator) { +void* NSArray_inst_componentsJoinedByString(void *id, void* separator) { return [(NSArray*)id componentsJoinedByString: separator]; } -void* NSArray_inst_descriptionWithLocale_(void *id, void* locale) { +void* NSArray_inst_descriptionWithLocale(void *id, void* locale) { return [(NSArray*)id descriptionWithLocale: locale]; } -void* NSArray_inst_descriptionWithLocale_indent_(void *id, void* locale, unsigned long level) { +void* NSArray_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { return [(NSArray*)id descriptionWithLocale: locale indent: level]; } -void* NSArray_inst_pathsMatchingExtensions_(void *id, void* filterTypes) { +void* NSArray_inst_pathsMatchingExtensions(void *id, void* filterTypes) { return [(NSArray*)id pathsMatchingExtensions: filterTypes]; } -void NSArray_inst_setValue_forKey_(void *id, void* value, void* key) { +void NSArray_inst_setValue_forKey(void *id, void* value, void* key) { [(NSArray*)id setValue: value forKey: key]; } -void* NSArray_inst_valueForKey_(void *id, void* key) { +void* NSArray_inst_valueForKey(void *id, void* key) { return [(NSArray*)id valueForKey: key]; } @@ -914,66 +914,66 @@ void* NSArray_inst_description(void *id) { description]; } -void* NSAttributedString_inst_initWithString_(void *id, void* str) { +void* NSAttributedString_inst_initWithString(void *id, void* str) { return [(NSAttributedString*)id initWithString: str]; } -void* NSAttributedString_inst_initWithString_attributes_(void *id, void* str, void* attrs) { +void* NSAttributedString_inst_initWithString_attributes(void *id, void* str, void* attrs) { return [(NSAttributedString*)id initWithString: str attributes: attrs]; } -void* NSAttributedString_inst_initWithAttributedString_(void *id, void* attrStr) { +void* NSAttributedString_inst_initWithAttributedString(void *id, void* attrStr) { return [(NSAttributedString*)id initWithAttributedString: attrStr]; } -void* NSAttributedString_inst_initWithDocFormat_documentAttributes_(void *id, void* data, void* dict) { +void* NSAttributedString_inst_initWithDocFormat_documentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithDocFormat: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_documentAttributes_(void *id, void* data, void* dict) { +void* NSAttributedString_inst_initWithHTML_documentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithHTML: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_baseURL_documentAttributes_(void *id, void* data, void* base, void* dict) { +void* NSAttributedString_inst_initWithHTML_baseURL_documentAttributes(void *id, void* data, void* base, void* dict) { return [(NSAttributedString*)id initWithHTML: data baseURL: base documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_options_documentAttributes_(void *id, void* data, void* options, void* dict) { +void* NSAttributedString_inst_initWithHTML_options_documentAttributes(void *id, void* data, void* options, void* dict) { return [(NSAttributedString*)id initWithHTML: data options: options documentAttributes: dict]; } -void* NSAttributedString_inst_initWithRTF_documentAttributes_(void *id, void* data, void* dict) { +void* NSAttributedString_inst_initWithRTF_documentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithRTF: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithRTFD_documentAttributes_(void *id, void* data, void* dict) { +void* NSAttributedString_inst_initWithRTFD_documentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithRTFD: data documentAttributes: dict]; } -BOOL NSAttributedString_inst_isEqualToAttributedString_(void *id, void* other) { +BOOL NSAttributedString_inst_isEqualToAttributedString(void *id, void* other) { return [(NSAttributedString*)id isEqualToAttributedString: other]; } -unsigned long NSAttributedString_inst_nextWordFromIndex_forward_(void *id, unsigned long location, BOOL isForward) { +unsigned long NSAttributedString_inst_nextWordFromIndex_forward(void *id, unsigned long location, BOOL isForward) { return [(NSAttributedString*)id nextWordFromIndex: location forward: isForward]; @@ -984,7 +984,7 @@ void* NSAttributedString_inst_attributedStringByInflectingString(void *id) { attributedStringByInflectingString]; } -void NSAttributedString_inst_drawInRect_(void *id, NSRect rect) { +void NSAttributedString_inst_drawInRect(void *id, NSRect rect) { [(NSAttributedString*)id drawInRect: rect]; } @@ -1009,59 +1009,59 @@ unsigned long NSAttributedString_inst_length(void *id) { length]; } -void* NSData_inst_initWithBytes_length_(void *id, void* bytes, unsigned long length) { +void* NSData_inst_initWithBytes_length(void *id, void* bytes, unsigned long length) { return [(NSData*)id initWithBytes: bytes length: length]; } -void* NSData_inst_initWithBytesNoCopy_length_(void *id, void* bytes, unsigned long length) { +void* NSData_inst_initWithBytesNoCopy_length(void *id, void* bytes, unsigned long length) { return [(NSData*)id initWithBytesNoCopy: bytes length: length]; } -void* NSData_inst_initWithBytesNoCopy_length_freeWhenDone_(void *id, void* bytes, unsigned long length, BOOL b) { +void* NSData_inst_initWithBytesNoCopy_length_freeWhenDone(void *id, void* bytes, unsigned long length, BOOL b) { return [(NSData*)id initWithBytesNoCopy: bytes length: length freeWhenDone: b]; } -void* NSData_inst_initWithData_(void *id, void* data) { +void* NSData_inst_initWithData(void *id, void* data) { return [(NSData*)id initWithData: data]; } -void* NSData_inst_initWithContentsOfFile_(void *id, void* path) { +void* NSData_inst_initWithContentsOfFile(void *id, void* path) { return [(NSData*)id initWithContentsOfFile: path]; } -void* NSData_inst_initWithContentsOfURL_(void *id, void* url) { +void* NSData_inst_initWithContentsOfURL(void *id, void* url) { return [(NSData*)id initWithContentsOfURL: url]; } -BOOL NSData_inst_writeToFile_atomically_(void *id, void* path, BOOL useAuxiliaryFile) { +BOOL NSData_inst_writeToFile_atomically(void *id, void* path, BOOL useAuxiliaryFile) { return [(NSData*)id writeToFile: path atomically: useAuxiliaryFile]; } -BOOL NSData_inst_writeToURL_atomically_(void *id, void* url, BOOL atomically) { +BOOL NSData_inst_writeToURL_atomically(void *id, void* url, BOOL atomically) { return [(NSData*)id writeToURL: url atomically: atomically]; } -void NSData_inst_getBytes_length_(void *id, void* buffer, unsigned long length) { +void NSData_inst_getBytes_length(void *id, void* buffer, unsigned long length) { [(NSData*)id getBytes: buffer length: length]; } -BOOL NSData_inst_isEqualToData_(void *id, void* other) { +BOOL NSData_inst_isEqualToData(void *id, void* other) { return [(NSData*)id isEqualToData: other]; } @@ -1091,29 +1091,29 @@ void* NSDictionary_inst_init(void *id) { init]; } -void* NSDictionary_inst_initWithObjects_forKeys_(void *id, void* objects, void* keys) { +void* NSDictionary_inst_initWithObjects_forKeys(void *id, void* objects, void* keys) { return [(NSDictionary*)id initWithObjects: objects forKeys: keys]; } -void* NSDictionary_inst_initWithDictionary_(void *id, void* otherDictionary) { +void* NSDictionary_inst_initWithDictionary(void *id, void* otherDictionary) { return [(NSDictionary*)id initWithDictionary: otherDictionary]; } -void* NSDictionary_inst_initWithDictionary_copyItems_(void *id, void* otherDictionary, BOOL flag) { +void* NSDictionary_inst_initWithDictionary_copyItems(void *id, void* otherDictionary, BOOL flag) { return [(NSDictionary*)id initWithDictionary: otherDictionary copyItems: flag]; } -BOOL NSDictionary_inst_isEqualToDictionary_(void *id, void* otherDictionary) { +BOOL NSDictionary_inst_isEqualToDictionary(void *id, void* otherDictionary) { return [(NSDictionary*)id isEqualToDictionary: otherDictionary]; } -void* NSDictionary_inst_keysSortedByValueUsingSelector_(void *id, void* comparator) { +void* NSDictionary_inst_keysSortedByValueUsingSelector(void *id, void* comparator) { return [(NSDictionary*)id keysSortedByValueUsingSelector: comparator]; } @@ -1173,12 +1173,12 @@ long NSDictionary_inst_fileSystemNumber(void *id) { fileSystemNumber]; } -void* NSDictionary_inst_descriptionWithLocale_(void *id, void* locale) { +void* NSDictionary_inst_descriptionWithLocale(void *id, void* locale) { return [(NSDictionary*)id descriptionWithLocale: locale]; } -void* NSDictionary_inst_descriptionWithLocale_indent_(void *id, void* locale, unsigned long level) { +void* NSDictionary_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { return [(NSDictionary*)id descriptionWithLocale: locale indent: level]; @@ -1209,37 +1209,37 @@ void* NSDictionary_inst_descriptionInStringsFileFormat(void *id) { descriptionInStringsFileFormat]; } -void* NSNumber_inst_initWithBool_(void *id, BOOL value) { +void* NSNumber_inst_initWithBool(void *id, BOOL value) { return [(NSNumber*)id initWithBool: value]; } -void* NSNumber_inst_initWithInt_(void *id, int value) { +void* NSNumber_inst_initWithInt(void *id, int value) { return [(NSNumber*)id initWithInt: value]; } -void* NSNumber_inst_initWithInteger_(void *id, long value) { +void* NSNumber_inst_initWithInteger(void *id, long value) { return [(NSNumber*)id initWithInteger: value]; } -void* NSNumber_inst_initWithUnsignedInt_(void *id, int value) { +void* NSNumber_inst_initWithUnsignedInt(void *id, int value) { return [(NSNumber*)id initWithUnsignedInt: value]; } -void* NSNumber_inst_initWithUnsignedInteger_(void *id, unsigned long value) { +void* NSNumber_inst_initWithUnsignedInteger(void *id, unsigned long value) { return [(NSNumber*)id initWithUnsignedInteger: value]; } -void* NSNumber_inst_descriptionWithLocale_(void *id, void* locale) { +void* NSNumber_inst_descriptionWithLocale(void *id, void* locale) { return [(NSNumber*)id descriptionWithLocale: locale]; } -BOOL NSNumber_inst_isEqualToNumber_(void *id, void* number) { +BOOL NSNumber_inst_isEqualToNumber(void *id, void* number) { return [(NSNumber*)id isEqualToNumber: number]; } @@ -1284,7 +1284,7 @@ void NSRunLoop_inst_run(void *id) { run]; } -void NSRunLoop_inst_performSelector_target_argument_order_modes_(void *id, void* aSelector, void* target, void* arg, unsigned long order, void* modes) { +void NSRunLoop_inst_performSelector_target_argument_order_modes(void *id, void* aSelector, void* target, void* arg, unsigned long order, void* modes) { [(NSRunLoop*)id performSelector: aSelector target: target @@ -1293,14 +1293,14 @@ void NSRunLoop_inst_performSelector_target_argument_order_modes_(void *id, void* modes: modes]; } -void NSRunLoop_inst_cancelPerformSelector_target_argument_(void *id, void* aSelector, void* target, void* arg) { +void NSRunLoop_inst_cancelPerformSelector_target_argument(void *id, void* aSelector, void* target, void* arg) { [(NSRunLoop*)id cancelPerformSelector: aSelector target: target argument: arg]; } -void NSRunLoop_inst_cancelPerformSelectorsWithTarget_(void *id, void* target) { +void NSRunLoop_inst_cancelPerformSelectorsWithTarget(void *id, void* target) { [(NSRunLoop*)id cancelPerformSelectorsWithTarget: target]; } @@ -1315,14 +1315,14 @@ void* NSString_inst_init(void *id) { init]; } -void* NSString_inst_initWithBytes_length_encoding_(void *id, void* bytes, unsigned long len, unsigned long encoding) { +void* NSString_inst_initWithBytes_length_encoding(void *id, void* bytes, unsigned long len, unsigned long encoding) { return [(NSString*)id initWithBytes: bytes length: len encoding: encoding]; } -void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone_(void *id, void* bytes, unsigned long len, unsigned long encoding, BOOL freeBuffer) { +void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone(void *id, void* bytes, unsigned long len, unsigned long encoding, BOOL freeBuffer) { return [(NSString*)id initWithBytesNoCopy: bytes length: len @@ -1330,90 +1330,90 @@ void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone_(void *id, freeWhenDone: freeBuffer]; } -void* NSString_inst_initWithString_(void *id, void* aString) { +void* NSString_inst_initWithString(void *id, void* aString) { return [(NSString*)id initWithString: aString]; } -void* NSString_inst_initWithData_encoding_(void *id, void* data, unsigned long encoding) { +void* NSString_inst_initWithData_encoding(void *id, void* data, unsigned long encoding) { return [(NSString*)id initWithData: data encoding: encoding]; } -unsigned long NSString_inst_lengthOfBytesUsingEncoding_(void *id, unsigned long enc) { +unsigned long NSString_inst_lengthOfBytesUsingEncoding(void *id, unsigned long enc) { return [(NSString*)id lengthOfBytesUsingEncoding: enc]; } -unsigned long NSString_inst_maximumLengthOfBytesUsingEncoding_(void *id, unsigned long enc) { +unsigned long NSString_inst_maximumLengthOfBytesUsingEncoding(void *id, unsigned long enc) { return [(NSString*)id maximumLengthOfBytesUsingEncoding: enc]; } -unsigned short NSString_inst_characterAtIndex_(void *id, unsigned long index) { +unsigned short NSString_inst_characterAtIndex(void *id, unsigned long index) { return [(NSString*)id characterAtIndex: index]; } -BOOL NSString_inst_hasPrefix_(void *id, void* str) { +BOOL NSString_inst_hasPrefix(void *id, void* str) { return [(NSString*)id hasPrefix: str]; } -BOOL NSString_inst_hasSuffix_(void *id, void* str) { +BOOL NSString_inst_hasSuffix(void *id, void* str) { return [(NSString*)id hasSuffix: str]; } -BOOL NSString_inst_isEqualToString_(void *id, void* aString) { +BOOL NSString_inst_isEqualToString(void *id, void* aString) { return [(NSString*)id isEqualToString: aString]; } -void* NSString_inst_stringByAppendingString_(void *id, void* aString) { +void* NSString_inst_stringByAppendingString(void *id, void* aString) { return [(NSString*)id stringByAppendingString: aString]; } -void* NSString_inst_stringByPaddingToLength_withString_startingAtIndex_(void *id, unsigned long newLength, void* padString, unsigned long padIndex) { +void* NSString_inst_stringByPaddingToLength_withString_startingAtIndex(void *id, unsigned long newLength, void* padString, unsigned long padIndex) { return [(NSString*)id stringByPaddingToLength: newLength withString: padString startingAtIndex: padIndex]; } -void* NSString_inst_componentsSeparatedByString_(void *id, void* separator) { +void* NSString_inst_componentsSeparatedByString(void *id, void* separator) { return [(NSString*)id componentsSeparatedByString: separator]; } -void* NSString_inst_substringFromIndex_(void *id, unsigned long from) { +void* NSString_inst_substringFromIndex(void *id, unsigned long from) { return [(NSString*)id substringFromIndex: from]; } -void* NSString_inst_substringToIndex_(void *id, unsigned long to) { +void* NSString_inst_substringToIndex(void *id, unsigned long to) { return [(NSString*)id substringToIndex: to]; } -BOOL NSString_inst_containsString_(void *id, void* str) { +BOOL NSString_inst_containsString(void *id, void* str) { return [(NSString*)id containsString: str]; } -BOOL NSString_inst_localizedCaseInsensitiveContainsString_(void *id, void* str) { +BOOL NSString_inst_localizedCaseInsensitiveContainsString(void *id, void* str) { return [(NSString*)id localizedCaseInsensitiveContainsString: str]; } -BOOL NSString_inst_localizedStandardContainsString_(void *id, void* str) { +BOOL NSString_inst_localizedStandardContainsString(void *id, void* str) { return [(NSString*)id localizedStandardContainsString: str]; } -void* NSString_inst_stringByReplacingOccurrencesOfString_withString_(void *id, void* target, void* replacement) { +void* NSString_inst_stringByReplacingOccurrencesOfString_withString(void *id, void* target, void* replacement) { return [(NSString*)id stringByReplacingOccurrencesOfString: target withString: replacement]; @@ -1429,39 +1429,39 @@ void* NSString_inst_propertyListFromStringsFileFormat(void *id) { propertyListFromStringsFileFormat]; } -void NSString_inst_drawInRect_withAttributes_(void *id, NSRect rect, void* attrs) { +void NSString_inst_drawInRect_withAttributes(void *id, NSRect rect, void* attrs) { [(NSString*)id drawInRect: rect withAttributes: attrs]; } -NSSize NSString_inst_sizeWithAttributes_(void *id, void* attrs) { +NSSize NSString_inst_sizeWithAttributes(void *id, void* attrs) { return [(NSString*)id sizeWithAttributes: attrs]; } -void* NSString_inst_variantFittingPresentationWidth_(void *id, long width) { +void* NSString_inst_variantFittingPresentationWidth(void *id, long width) { return [(NSString*)id variantFittingPresentationWidth: width]; } -BOOL NSString_inst_canBeConvertedToEncoding_(void *id, unsigned long encoding) { +BOOL NSString_inst_canBeConvertedToEncoding(void *id, unsigned long encoding) { return [(NSString*)id canBeConvertedToEncoding: encoding]; } -void* NSString_inst_dataUsingEncoding_(void *id, unsigned long encoding) { +void* NSString_inst_dataUsingEncoding(void *id, unsigned long encoding) { return [(NSString*)id dataUsingEncoding: encoding]; } -void* NSString_inst_dataUsingEncoding_allowLossyConversion_(void *id, unsigned long encoding, BOOL lossy) { +void* NSString_inst_dataUsingEncoding_allowLossyConversion(void *id, unsigned long encoding, BOOL lossy) { return [(NSString*)id dataUsingEncoding: encoding allowLossyConversion: lossy]; } -unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_(void *id, void* outputName, BOOL flag, void* outputArray, void* filterTypes) { +unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes(void *id, void* outputName, BOOL flag, void* outputArray, void* filterTypes) { return [(NSString*)id completePathIntoString: outputName caseSensitive: flag @@ -1469,17 +1469,17 @@ unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArra filterTypes: filterTypes]; } -void* NSString_inst_stringByAppendingPathComponent_(void *id, void* str) { +void* NSString_inst_stringByAppendingPathComponent(void *id, void* str) { return [(NSString*)id stringByAppendingPathComponent: str]; } -void* NSString_inst_stringByAppendingPathExtension_(void *id, void* str) { +void* NSString_inst_stringByAppendingPathExtension(void *id, void* str) { return [(NSString*)id stringByAppendingPathExtension: str]; } -void* NSString_inst_stringsByAppendingPaths_(void *id, void* paths) { +void* NSString_inst_stringsByAppendingPaths(void *id, void* paths) { return [(NSString*)id stringsByAppendingPaths: paths]; } @@ -1634,7 +1634,7 @@ void* NSThread_inst_init(void *id) { init]; } -void* NSThread_inst_initWithTarget_selector_object_(void *id, void* target, void* selector, void* argument) { +void* NSThread_inst_initWithTarget_selector_object(void *id, void* target, void* selector, void* argument) { return [(NSThread*)id initWithTarget: target selector: selector @@ -1681,7 +1681,7 @@ void* NSThread_inst_name(void *id) { name]; } -void NSThread_inst_setName_(void *id, void* value) { +void NSThread_inst_setName(void *id, void* value) { [(NSThread*)id setName: value]; } @@ -1691,53 +1691,53 @@ unsigned long NSThread_inst_stackSize(void *id) { stackSize]; } -void NSThread_inst_setStackSize_(void *id, unsigned long value) { +void NSThread_inst_setStackSize(void *id, unsigned long value) { [(NSThread*)id setStackSize: value]; } -void* NSURL_inst_initWithString_(void *id, void* URLString) { +void* NSURL_inst_initWithString(void *id, void* URLString) { return [(NSURL*)id initWithString: URLString]; } -void* NSURL_inst_initWithString_relativeToURL_(void *id, void* URLString, void* baseURL) { +void* NSURL_inst_initWithString_relativeToURL(void *id, void* URLString, void* baseURL) { return [(NSURL*)id initWithString: URLString relativeToURL: baseURL]; } -void* NSURL_inst_initFileURLWithPath_isDirectory_(void *id, void* path, BOOL isDir) { +void* NSURL_inst_initFileURLWithPath_isDirectory(void *id, void* path, BOOL isDir) { return [(NSURL*)id initFileURLWithPath: path isDirectory: isDir]; } -void* NSURL_inst_initFileURLWithPath_relativeToURL_(void *id, void* path, void* baseURL) { +void* NSURL_inst_initFileURLWithPath_relativeToURL(void *id, void* path, void* baseURL) { return [(NSURL*)id initFileURLWithPath: path relativeToURL: baseURL]; } -void* NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL_(void *id, void* path, BOOL isDir, void* baseURL) { +void* NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL(void *id, void* path, BOOL isDir, void* baseURL) { return [(NSURL*)id initFileURLWithPath: path isDirectory: isDir relativeToURL: baseURL]; } -void* NSURL_inst_initFileURLWithPath_(void *id, void* path) { +void* NSURL_inst_initFileURLWithPath(void *id, void* path) { return [(NSURL*)id initFileURLWithPath: path]; } -void* NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL_(void *id, void* data, void* baseURL) { +void* NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { return [(NSURL*)id initAbsoluteURLWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_inst_initWithDataRepresentation_relativeToURL_(void *id, void* data, void* baseURL) { +void* NSURL_inst_initWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { return [(NSURL*)id initWithDataRepresentation: data relativeToURL: baseURL]; @@ -1758,18 +1758,18 @@ void* NSURL_inst_fileReferenceURL(void *id) { fileReferenceURL]; } -void* NSURL_inst_URLByAppendingPathComponent_(void *id, void* pathComponent) { +void* NSURL_inst_URLByAppendingPathComponent(void *id, void* pathComponent) { return [(NSURL*)id URLByAppendingPathComponent: pathComponent]; } -void* NSURL_inst_URLByAppendingPathComponent_isDirectory_(void *id, void* pathComponent, BOOL isDirectory) { +void* NSURL_inst_URLByAppendingPathComponent_isDirectory(void *id, void* pathComponent, BOOL isDirectory) { return [(NSURL*)id URLByAppendingPathComponent: pathComponent isDirectory: isDirectory]; } -void* NSURL_inst_URLByAppendingPathExtension_(void *id, void* pathExtension) { +void* NSURL_inst_URLByAppendingPathExtension(void *id, void* pathExtension) { return [(NSURL*)id URLByAppendingPathExtension: pathExtension]; } @@ -1919,12 +1919,12 @@ BOOL NSURL_inst_hasDirectoryPath(void *id) { hasDirectoryPath]; } -void* NSURLRequest_inst_initWithURL_(void *id, void* URL) { +void* NSURLRequest_inst_initWithURL(void *id, void* URL) { return [(NSURLRequest*)id initWithURL: URL]; } -void* NSURLRequest_inst_valueForHTTPHeaderField_(void *id, void* field) { +void* NSURLRequest_inst_valueForHTTPHeaderField(void *id, void* field) { return [(NSURLRequest*)id valueForHTTPHeaderField: field]; } @@ -1994,52 +1994,52 @@ void* NSUserDefaults_inst_init(void *id) { init]; } -void* NSUserDefaults_inst_initWithSuiteName_(void *id, void* suitename) { +void* NSUserDefaults_inst_initWithSuiteName(void *id, void* suitename) { return [(NSUserDefaults*)id initWithSuiteName: suitename]; } -void* NSUserDefaults_inst_objectForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_objectForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id objectForKey: defaultName]; } -void* NSUserDefaults_inst_URLForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_URLForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id URLForKey: defaultName]; } -void* NSUserDefaults_inst_arrayForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_arrayForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id arrayForKey: defaultName]; } -void* NSUserDefaults_inst_dictionaryForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_dictionaryForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id dictionaryForKey: defaultName]; } -void* NSUserDefaults_inst_stringForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_stringForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id stringForKey: defaultName]; } -void* NSUserDefaults_inst_stringArrayForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_stringArrayForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id stringArrayForKey: defaultName]; } -void* NSUserDefaults_inst_dataForKey_(void *id, void* defaultName) { +void* NSUserDefaults_inst_dataForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id dataForKey: defaultName]; } -BOOL NSUserDefaults_inst_boolForKey_(void *id, void* defaultName) { +BOOL NSUserDefaults_inst_boolForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id boolForKey: defaultName]; } -long NSUserDefaults_inst_integerForKey_(void *id, void* defaultName) { +long NSUserDefaults_inst_integerForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id integerForKey: defaultName]; } @@ -2049,88 +2049,88 @@ void* NSUserDefaults_inst_dictionaryRepresentation(void *id) { dictionaryRepresentation]; } -void NSUserDefaults_inst_setObject_forKey_(void *id, void* value, void* defaultName) { +void NSUserDefaults_inst_setObject_forKey(void *id, void* value, void* defaultName) { [(NSUserDefaults*)id setObject: value forKey: defaultName]; } -void NSUserDefaults_inst_setInteger_forKey_(void *id, long value, void* defaultName) { +void NSUserDefaults_inst_setInteger_forKey(void *id, long value, void* defaultName) { [(NSUserDefaults*)id setInteger: value forKey: defaultName]; } -void NSUserDefaults_inst_setBool_forKey_(void *id, BOOL value, void* defaultName) { +void NSUserDefaults_inst_setBool_forKey(void *id, BOOL value, void* defaultName) { [(NSUserDefaults*)id setBool: value forKey: defaultName]; } -void NSUserDefaults_inst_setURL_forKey_(void *id, void* url, void* defaultName) { +void NSUserDefaults_inst_setURL_forKey(void *id, void* url, void* defaultName) { [(NSUserDefaults*)id setURL: url forKey: defaultName]; } -void NSUserDefaults_inst_removeObjectForKey_(void *id, void* defaultName) { +void NSUserDefaults_inst_removeObjectForKey(void *id, void* defaultName) { [(NSUserDefaults*)id removeObjectForKey: defaultName]; } -void NSUserDefaults_inst_addSuiteNamed_(void *id, void* suiteName) { +void NSUserDefaults_inst_addSuiteNamed(void *id, void* suiteName) { [(NSUserDefaults*)id addSuiteNamed: suiteName]; } -void NSUserDefaults_inst_removeSuiteNamed_(void *id, void* suiteName) { +void NSUserDefaults_inst_removeSuiteNamed(void *id, void* suiteName) { [(NSUserDefaults*)id removeSuiteNamed: suiteName]; } -void NSUserDefaults_inst_registerDefaults_(void *id, void* registrationDictionary) { +void NSUserDefaults_inst_registerDefaults(void *id, void* registrationDictionary) { [(NSUserDefaults*)id registerDefaults: registrationDictionary]; } -void* NSUserDefaults_inst_persistentDomainForName_(void *id, void* domainName) { +void* NSUserDefaults_inst_persistentDomainForName(void *id, void* domainName) { return [(NSUserDefaults*)id persistentDomainForName: domainName]; } -void NSUserDefaults_inst_setPersistentDomain_forName_(void *id, void* domain, void* domainName) { +void NSUserDefaults_inst_setPersistentDomain_forName(void *id, void* domain, void* domainName) { [(NSUserDefaults*)id setPersistentDomain: domain forName: domainName]; } -void NSUserDefaults_inst_removePersistentDomainForName_(void *id, void* domainName) { +void NSUserDefaults_inst_removePersistentDomainForName(void *id, void* domainName) { [(NSUserDefaults*)id removePersistentDomainForName: domainName]; } -void* NSUserDefaults_inst_volatileDomainForName_(void *id, void* domainName) { +void* NSUserDefaults_inst_volatileDomainForName(void *id, void* domainName) { return [(NSUserDefaults*)id volatileDomainForName: domainName]; } -void NSUserDefaults_inst_setVolatileDomain_forName_(void *id, void* domain, void* domainName) { +void NSUserDefaults_inst_setVolatileDomain_forName(void *id, void* domain, void* domainName) { [(NSUserDefaults*)id setVolatileDomain: domain forName: domainName]; } -void NSUserDefaults_inst_removeVolatileDomainForName_(void *id, void* domainName) { +void NSUserDefaults_inst_removeVolatileDomainForName(void *id, void* domainName) { [(NSUserDefaults*)id removeVolatileDomainForName: domainName]; } -BOOL NSUserDefaults_inst_objectIsForcedForKey_(void *id, void* key) { +BOOL NSUserDefaults_inst_objectIsForcedForKey(void *id, void* key) { return [(NSUserDefaults*)id objectIsForcedForKey: key]; } -BOOL NSUserDefaults_inst_objectIsForcedForKey_inDomain_(void *id, void* key, void* domain) { +BOOL NSUserDefaults_inst_objectIsForcedForKey_inDomain(void *id, void* key, void* domain) { return [(NSUserDefaults*)id objectIsForcedForKey: key inDomain: domain]; @@ -2183,36 +2183,36 @@ func CALayer_layer() ( return } -func CALayer_needsDisplayForKey_( +func CALayer_needsDisplayForKey( key NSStringRef, ) ( r0 bool, ) { - ret := C.CALayer_type_needsDisplayForKey_( + ret := C.CALayer_type_needsDisplayForKey( objc.RefPointer(key), ) r0 = convertObjCBoolToGo(ret) return } -func CALayer_defaultActionForKey_( +func CALayer_defaultActionForKey( event NSStringRef, ) ( r0 objc.Object, ) { - ret := C.CALayer_type_defaultActionForKey_( + ret := C.CALayer_type_defaultActionForKey( objc.RefPointer(event), ) r0 = objc.Object_fromPointer(ret) return } -func CALayer_defaultValueForKey_( +func CALayer_defaultValueForKey( key NSStringRef, ) ( r0 objc.Object, ) { - ret := C.CALayer_type_defaultValueForKey_( + ret := C.CALayer_type_defaultValueForKey( objc.RefPointer(key), ) r0 = objc.Object_fromPointer(ret) @@ -2235,12 +2235,12 @@ func NSArray_array() ( return } -func NSArray_arrayWithArray_( +func NSArray_arrayWithArray( array NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSArray_type_arrayWithArray_( + ret := C.NSArray_type_arrayWithArray( objc.RefPointer(array), ) r0 = NSArray_fromPointer(ret) @@ -2287,13 +2287,13 @@ func NSData_data() ( return } -func NSData_dataWithBytes_length_( +func NSData_dataWithBytes_length( bytes unsafe.Pointer, length NSUInteger, ) ( r0 NSData, ) { - ret := C.NSData_type_dataWithBytes_length_( + ret := C.NSData_type_dataWithBytes_length( bytes, C.ulong(length), ) @@ -2301,13 +2301,13 @@ func NSData_dataWithBytes_length_( return } -func NSData_dataWithBytesNoCopy_length_( +func NSData_dataWithBytesNoCopy_length( bytes unsafe.Pointer, length NSUInteger, ) ( r0 NSData, ) { - ret := C.NSData_type_dataWithBytesNoCopy_length_( + ret := C.NSData_type_dataWithBytesNoCopy_length( bytes, C.ulong(length), ) @@ -2315,14 +2315,14 @@ func NSData_dataWithBytesNoCopy_length_( return } -func NSData_dataWithBytesNoCopy_length_freeWhenDone_( +func NSData_dataWithBytesNoCopy_length_freeWhenDone( bytes unsafe.Pointer, length NSUInteger, b bool, ) ( r0 NSData, ) { - ret := C.NSData_type_dataWithBytesNoCopy_length_freeWhenDone_( + ret := C.NSData_type_dataWithBytesNoCopy_length_freeWhenDone( bytes, C.ulong(length), convertToObjCBool(b), @@ -2331,36 +2331,36 @@ func NSData_dataWithBytesNoCopy_length_freeWhenDone_( return } -func NSData_dataWithData_( +func NSData_dataWithData( data NSDataRef, ) ( r0 NSData, ) { - ret := C.NSData_type_dataWithData_( + ret := C.NSData_type_dataWithData( objc.RefPointer(data), ) r0 = NSData_fromPointer(ret) return } -func NSData_dataWithContentsOfFile_( +func NSData_dataWithContentsOfFile( path NSStringRef, ) ( r0 NSData, ) { - ret := C.NSData_type_dataWithContentsOfFile_( + ret := C.NSData_type_dataWithContentsOfFile( objc.RefPointer(path), ) r0 = NSData_fromPointer(ret) return } -func NSData_dataWithContentsOfURL_( +func NSData_dataWithContentsOfURL( url NSURLRef, ) ( r0 NSData, ) { - ret := C.NSData_type_dataWithContentsOfURL_( + ret := C.NSData_type_dataWithContentsOfURL( objc.RefPointer(url), ) r0 = NSData_fromPointer(ret) @@ -2383,13 +2383,13 @@ func NSDictionary_dictionary() ( return } -func NSDictionary_dictionaryWithObjects_forKeys_( +func NSDictionary_dictionaryWithObjects_forKeys( objects NSArrayRef, keys NSArrayRef, ) ( r0 NSDictionary, ) { - ret := C.NSDictionary_type_dictionaryWithObjects_forKeys_( + ret := C.NSDictionary_type_dictionaryWithObjects_forKeys( objc.RefPointer(objects), objc.RefPointer(keys), ) @@ -2397,24 +2397,24 @@ func NSDictionary_dictionaryWithObjects_forKeys_( return } -func NSDictionary_dictionaryWithDictionary_( +func NSDictionary_dictionaryWithDictionary( dict NSDictionaryRef, ) ( r0 NSDictionary, ) { - ret := C.NSDictionary_type_dictionaryWithDictionary_( + ret := C.NSDictionary_type_dictionaryWithDictionary( objc.RefPointer(dict), ) r0 = NSDictionary_fromPointer(ret) return } -func NSDictionary_sharedKeySetForKeys_( +func NSDictionary_sharedKeySetForKeys( keys NSArrayRef, ) ( r0 objc.Object, ) { - ret := C.NSDictionary_type_sharedKeySetForKeys_( + ret := C.NSDictionary_type_sharedKeySetForKeys( objc.RefPointer(keys), ) r0 = objc.Object_fromPointer(ret) @@ -2429,60 +2429,60 @@ func NSNumber_alloc() ( return } -func NSNumber_numberWithBool_( +func NSNumber_numberWithBool( value bool, ) ( r0 NSNumber, ) { - ret := C.NSNumber_type_numberWithBool_( + ret := C.NSNumber_type_numberWithBool( convertToObjCBool(value), ) r0 = NSNumber_fromPointer(ret) return } -func NSNumber_numberWithInt_( +func NSNumber_numberWithInt( value int32, ) ( r0 NSNumber, ) { - ret := C.NSNumber_type_numberWithInt_( + ret := C.NSNumber_type_numberWithInt( C.int(value), ) r0 = NSNumber_fromPointer(ret) return } -func NSNumber_numberWithInteger_( +func NSNumber_numberWithInteger( value NSInteger, ) ( r0 NSNumber, ) { - ret := C.NSNumber_type_numberWithInteger_( + ret := C.NSNumber_type_numberWithInteger( C.long(value), ) r0 = NSNumber_fromPointer(ret) return } -func NSNumber_numberWithUnsignedInt_( +func NSNumber_numberWithUnsignedInt( value int32, ) ( r0 NSNumber, ) { - ret := C.NSNumber_type_numberWithUnsignedInt_( + ret := C.NSNumber_type_numberWithUnsignedInt( C.int(value), ) r0 = NSNumber_fromPointer(ret) return } -func NSNumber_numberWithUnsignedInteger_( +func NSNumber_numberWithUnsignedInteger( value NSUInteger, ) ( r0 NSNumber, ) { - ret := C.NSNumber_type_numberWithUnsignedInteger_( + ret := C.NSNumber_type_numberWithUnsignedInteger( C.ulong(value), ) r0 = NSNumber_fromPointer(ret) @@ -2529,13 +2529,13 @@ func NSString_string() ( return } -func NSString_localizedUserNotificationStringForKey_arguments_( +func NSString_localizedUserNotificationStringForKey_arguments( key NSStringRef, arguments NSArrayRef, ) ( r0 NSString, ) { - ret := C.NSString_type_localizedUserNotificationStringForKey_arguments_( + ret := C.NSString_type_localizedUserNotificationStringForKey_arguments( objc.RefPointer(key), objc.RefPointer(arguments), ) @@ -2543,36 +2543,36 @@ func NSString_localizedUserNotificationStringForKey_arguments_( return } -func NSString_stringWithString_( +func NSString_stringWithString( string NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_type_stringWithString_( + ret := C.NSString_type_stringWithString( objc.RefPointer(string), ) r0 = NSString_fromPointer(ret) return } -func NSString_localizedNameOfStringEncoding_( +func NSString_localizedNameOfStringEncoding( encoding NSStringEncoding, ) ( r0 NSString, ) { - ret := C.NSString_type_localizedNameOfStringEncoding_( + ret := C.NSString_type_localizedNameOfStringEncoding( C.ulong(encoding), ) r0 = NSString_fromPointer(ret) return } -func NSString_pathWithComponents_( +func NSString_pathWithComponents( components NSArrayRef, ) ( r0 NSString, ) { - ret := C.NSString_type_pathWithComponents_( + ret := C.NSString_type_pathWithComponents( objc.RefPointer(components), ) r0 = NSString_fromPointer(ret) @@ -2595,12 +2595,12 @@ func NSThread_alloc() ( return } -func NSThread_detachNewThreadSelector_toTarget_withObject_( +func NSThread_detachNewThreadSelector_toTarget_withObject( selector objc.Selector, target objc.Ref, argument objc.Ref, ) { - C.NSThread_type_detachNewThreadSelector_toTarget_withObject_( + C.NSThread_type_detachNewThreadSelector_toTarget_withObject( selector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(argument), @@ -2669,25 +2669,25 @@ func NSURL_alloc() ( return } -func NSURL_URLWithString_( +func NSURL_URLWithString( URLString NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_URLWithString_( + ret := C.NSURL_type_URLWithString( objc.RefPointer(URLString), ) r0 = NSURL_fromPointer(ret) return } -func NSURL_URLWithString_relativeToURL_( +func NSURL_URLWithString_relativeToURL( URLString NSStringRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_URLWithString_relativeToURL_( + ret := C.NSURL_type_URLWithString_relativeToURL( objc.RefPointer(URLString), objc.RefPointer(baseURL), ) @@ -2695,13 +2695,13 @@ func NSURL_URLWithString_relativeToURL_( return } -func NSURL_fileURLWithPath_isDirectory_( +func NSURL_fileURLWithPath_isDirectory( path NSStringRef, isDir bool, ) ( r0 NSURL, ) { - ret := C.NSURL_type_fileURLWithPath_isDirectory_( + ret := C.NSURL_type_fileURLWithPath_isDirectory( objc.RefPointer(path), convertToObjCBool(isDir), ) @@ -2709,13 +2709,13 @@ func NSURL_fileURLWithPath_isDirectory_( return } -func NSURL_fileURLWithPath_relativeToURL_( +func NSURL_fileURLWithPath_relativeToURL( path NSStringRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_fileURLWithPath_relativeToURL_( + ret := C.NSURL_type_fileURLWithPath_relativeToURL( objc.RefPointer(path), objc.RefPointer(baseURL), ) @@ -2723,14 +2723,14 @@ func NSURL_fileURLWithPath_relativeToURL_( return } -func NSURL_fileURLWithPath_isDirectory_relativeToURL_( +func NSURL_fileURLWithPath_isDirectory_relativeToURL( path NSStringRef, isDir bool, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_fileURLWithPath_isDirectory_relativeToURL_( + ret := C.NSURL_type_fileURLWithPath_isDirectory_relativeToURL( objc.RefPointer(path), convertToObjCBool(isDir), objc.RefPointer(baseURL), @@ -2739,37 +2739,37 @@ func NSURL_fileURLWithPath_isDirectory_relativeToURL_( return } -func NSURL_fileURLWithPath_( +func NSURL_fileURLWithPath( path NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_fileURLWithPath_( + ret := C.NSURL_type_fileURLWithPath( objc.RefPointer(path), ) r0 = NSURL_fromPointer(ret) return } -func NSURL_fileURLWithPathComponents_( +func NSURL_fileURLWithPathComponents( components NSArrayRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_fileURLWithPathComponents_( + ret := C.NSURL_type_fileURLWithPathComponents( objc.RefPointer(components), ) r0 = NSURL_fromPointer(ret) return } -func NSURL_absoluteURLWithDataRepresentation_relativeToURL_( +func NSURL_absoluteURLWithDataRepresentation_relativeToURL( data NSDataRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_absoluteURLWithDataRepresentation_relativeToURL_( + ret := C.NSURL_type_absoluteURLWithDataRepresentation_relativeToURL( objc.RefPointer(data), objc.RefPointer(baseURL), ) @@ -2777,13 +2777,13 @@ func NSURL_absoluteURLWithDataRepresentation_relativeToURL_( return } -func NSURL_URLWithDataRepresentation_relativeToURL_( +func NSURL_URLWithDataRepresentation_relativeToURL( data NSDataRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_type_URLWithDataRepresentation_relativeToURL_( + ret := C.NSURL_type_URLWithDataRepresentation_relativeToURL( objc.RefPointer(data), objc.RefPointer(baseURL), ) @@ -2791,13 +2791,13 @@ func NSURL_URLWithDataRepresentation_relativeToURL_( return } -func NSURL_resourceValuesForKeys_fromBookmarkData_( +func NSURL_resourceValuesForKeys_fromBookmarkData( keys NSArrayRef, bookmarkData NSDataRef, ) ( r0 NSDictionary, ) { - ret := C.NSURL_type_resourceValuesForKeys_fromBookmarkData_( + ret := C.NSURL_type_resourceValuesForKeys_fromBookmarkData( objc.RefPointer(keys), objc.RefPointer(bookmarkData), ) @@ -2813,12 +2813,12 @@ func NSURLRequest_alloc() ( return } -func NSURLRequest_requestWithURL_( +func NSURLRequest_requestWithURL( URL NSURLRef, ) ( r0 NSURLRequest, ) { - ret := C.NSURLRequest_type_requestWithURL_( + ret := C.NSURLRequest_type_requestWithURL( objc.RefPointer(URL), ) r0 = NSURLRequest_fromPointer(ret) @@ -2883,12 +2883,12 @@ func (x gen_CALayer) Init_asCALayer() ( return } -func (x gen_CALayer) InitWithLayer__asCALayer( +func (x gen_CALayer) InitWithLayer_asCALayer( layer objc.Ref, ) ( r0 CALayer, ) { - ret := C.CALayer_inst_initWithLayer_( + ret := C.CALayer_inst_initWithLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) @@ -2933,10 +2933,10 @@ func (x gen_CALayer) ContentsAreFlipped() ( return } -func (x gen_CALayer) AddSublayer_( +func (x gen_CALayer) AddSublayer( layer CALayerRef, ) { - C.CALayer_inst_addSublayer_( + C.CALayer_inst_addSublayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) @@ -2950,11 +2950,11 @@ func (x gen_CALayer) RemoveFromSuperlayer() { return } -func (x gen_CALayer) InsertSublayer_atIndex_( +func (x gen_CALayer) InsertSublayer_atIndex( layer CALayerRef, idx int32, ) { - C.CALayer_inst_insertSublayer_atIndex_( + C.CALayer_inst_insertSublayer_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), C.int(idx), @@ -2962,11 +2962,11 @@ func (x gen_CALayer) InsertSublayer_atIndex_( return } -func (x gen_CALayer) InsertSublayer_below_( +func (x gen_CALayer) InsertSublayer_below( layer CALayerRef, sibling CALayerRef, ) { - C.CALayer_inst_insertSublayer_below_( + C.CALayer_inst_insertSublayer_below( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), objc.RefPointer(sibling), @@ -2974,11 +2974,11 @@ func (x gen_CALayer) InsertSublayer_below_( return } -func (x gen_CALayer) InsertSublayer_above_( +func (x gen_CALayer) InsertSublayer_above( layer CALayerRef, sibling CALayerRef, ) { - C.CALayer_inst_insertSublayer_above_( + C.CALayer_inst_insertSublayer_above( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), objc.RefPointer(sibling), @@ -2986,11 +2986,11 @@ func (x gen_CALayer) InsertSublayer_above_( return } -func (x gen_CALayer) ReplaceSublayer_with_( +func (x gen_CALayer) ReplaceSublayer_with( oldLayer CALayerRef, newLayer CALayerRef, ) { - C.CALayer_inst_replaceSublayer_with_( + C.CALayer_inst_replaceSublayer_with( unsafe.Pointer(x.Pointer()), objc.RefPointer(oldLayer), objc.RefPointer(newLayer), @@ -3005,10 +3005,10 @@ func (x gen_CALayer) SetNeedsDisplay() { return } -func (x gen_CALayer) SetNeedsDisplayInRect_( +func (x gen_CALayer) SetNeedsDisplayInRect( r NSRect, ) { - C.CALayer_inst_setNeedsDisplayInRect_( + C.CALayer_inst_setNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), ) @@ -3039,10 +3039,10 @@ func (x gen_CALayer) RemoveAllAnimations() { return } -func (x gen_CALayer) RemoveAnimationForKey_( +func (x gen_CALayer) RemoveAnimationForKey( key NSStringRef, ) { - C.CALayer_inst_removeAnimationForKey_( + C.CALayer_inst_removeAnimationForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -3090,20 +3090,20 @@ func (x gen_CALayer) NeedsLayout() ( return } -func (x gen_CALayer) ResizeWithOldSuperlayerSize_( +func (x gen_CALayer) ResizeWithOldSuperlayerSize( size NSSize, ) { - C.CALayer_inst_resizeWithOldSuperlayerSize_( + C.CALayer_inst_resizeWithOldSuperlayerSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) return } -func (x gen_CALayer) ResizeSublayersWithOldSize_( +func (x gen_CALayer) ResizeSublayersWithOldSize( size NSSize, ) { - C.CALayer_inst_resizeSublayersWithOldSize_( + C.CALayer_inst_resizeSublayersWithOldSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -3120,12 +3120,12 @@ func (x gen_CALayer) PreferredFrameSize() ( return } -func (x gen_CALayer) ActionForKey_( +func (x gen_CALayer) ActionForKey( event NSStringRef, ) ( r0 objc.Object, ) { - ret := C.CALayer_inst_actionForKey_( + ret := C.CALayer_inst_actionForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -3133,13 +3133,13 @@ func (x gen_CALayer) ActionForKey_( return } -func (x gen_CALayer) ConvertRect_fromLayer_( +func (x gen_CALayer) ConvertRect_fromLayer( r NSRect, l CALayerRef, ) ( r0 NSRect, ) { - ret := C.CALayer_inst_convertRect_fromLayer_( + ret := C.CALayer_inst_convertRect_fromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), objc.RefPointer(l), @@ -3148,13 +3148,13 @@ func (x gen_CALayer) ConvertRect_fromLayer_( return } -func (x gen_CALayer) ConvertRect_toLayer_( +func (x gen_CALayer) ConvertRect_toLayer( r NSRect, l CALayerRef, ) ( r0 NSRect, ) { - ret := C.CALayer_inst_convertRect_toLayer_( + ret := C.CALayer_inst_convertRect_toLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), objc.RefPointer(l), @@ -3163,22 +3163,22 @@ func (x gen_CALayer) ConvertRect_toLayer_( return } -func (x gen_CALayer) ScrollRectToVisible_( +func (x gen_CALayer) ScrollRectToVisible( r NSRect, ) { - C.CALayer_inst_scrollRectToVisible_( + C.CALayer_inst_scrollRectToVisible( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), ) return } -func (x gen_CALayer) ShouldArchiveValueForKey_( +func (x gen_CALayer) ShouldArchiveValueForKey( key NSStringRef, ) ( r0 bool, ) { - ret := C.CALayer_inst_shouldArchiveValueForKey_( + ret := C.CALayer_inst_shouldArchiveValueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -3196,10 +3196,10 @@ func (x gen_CALayer) Delegate() ( return } -func (x gen_CALayer) SetDelegate_( +func (x gen_CALayer) SetDelegate( value objc.Ref, ) { - C.CALayer_inst_setDelegate_( + C.CALayer_inst_setDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3216,10 +3216,10 @@ func (x gen_CALayer) Contents() ( return } -func (x gen_CALayer) SetContents_( +func (x gen_CALayer) SetContents( value objc.Ref, ) { - C.CALayer_inst_setContents_( + C.CALayer_inst_setContents( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3236,10 +3236,10 @@ func (x gen_CALayer) ContentsRect() ( return } -func (x gen_CALayer) SetContentsRect_( +func (x gen_CALayer) SetContentsRect( value NSRect, ) { - C.CALayer_inst_setContentsRect_( + C.CALayer_inst_setContentsRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -3256,10 +3256,10 @@ func (x gen_CALayer) ContentsCenter() ( return } -func (x gen_CALayer) SetContentsCenter_( +func (x gen_CALayer) SetContentsCenter( value NSRect, ) { - C.CALayer_inst_setContentsCenter_( + C.CALayer_inst_setContentsCenter( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -3276,10 +3276,10 @@ func (x gen_CALayer) IsHidden() ( return } -func (x gen_CALayer) SetHidden_( +func (x gen_CALayer) SetHidden( value bool, ) { - C.CALayer_inst_setHidden_( + C.CALayer_inst_setHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3296,10 +3296,10 @@ func (x gen_CALayer) MasksToBounds() ( return } -func (x gen_CALayer) SetMasksToBounds_( +func (x gen_CALayer) SetMasksToBounds( value bool, ) { - C.CALayer_inst_setMasksToBounds_( + C.CALayer_inst_setMasksToBounds( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3316,10 +3316,10 @@ func (x gen_CALayer) Mask() ( return } -func (x gen_CALayer) SetMask_( +func (x gen_CALayer) SetMask( value CALayerRef, ) { - C.CALayer_inst_setMask_( + C.CALayer_inst_setMask( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3336,10 +3336,10 @@ func (x gen_CALayer) IsDoubleSided() ( return } -func (x gen_CALayer) SetDoubleSided_( +func (x gen_CALayer) SetDoubleSided( value bool, ) { - C.CALayer_inst_setDoubleSided_( + C.CALayer_inst_setDoubleSided( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3356,10 +3356,10 @@ func (x gen_CALayer) CornerRadius() ( return } -func (x gen_CALayer) SetCornerRadius_( +func (x gen_CALayer) SetCornerRadius( value CGFloat, ) { - C.CALayer_inst_setCornerRadius_( + C.CALayer_inst_setCornerRadius( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3376,10 +3376,10 @@ func (x gen_CALayer) BorderWidth() ( return } -func (x gen_CALayer) SetBorderWidth_( +func (x gen_CALayer) SetBorderWidth( value CGFloat, ) { - C.CALayer_inst_setBorderWidth_( + C.CALayer_inst_setBorderWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3396,10 +3396,10 @@ func (x gen_CALayer) ShadowRadius() ( return } -func (x gen_CALayer) SetShadowRadius_( +func (x gen_CALayer) SetShadowRadius( value CGFloat, ) { - C.CALayer_inst_setShadowRadius_( + C.CALayer_inst_setShadowRadius( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3416,10 +3416,10 @@ func (x gen_CALayer) ShadowOffset() ( return } -func (x gen_CALayer) SetShadowOffset_( +func (x gen_CALayer) SetShadowOffset( value NSSize, ) { - C.CALayer_inst_setShadowOffset_( + C.CALayer_inst_setShadowOffset( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -3436,10 +3436,10 @@ func (x gen_CALayer) Style() ( return } -func (x gen_CALayer) SetStyle_( +func (x gen_CALayer) SetStyle( value NSDictionaryRef, ) { - C.CALayer_inst_setStyle_( + C.CALayer_inst_setStyle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3456,10 +3456,10 @@ func (x gen_CALayer) AllowsEdgeAntialiasing() ( return } -func (x gen_CALayer) SetAllowsEdgeAntialiasing_( +func (x gen_CALayer) SetAllowsEdgeAntialiasing( value bool, ) { - C.CALayer_inst_setAllowsEdgeAntialiasing_( + C.CALayer_inst_setAllowsEdgeAntialiasing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3476,10 +3476,10 @@ func (x gen_CALayer) AllowsGroupOpacity() ( return } -func (x gen_CALayer) SetAllowsGroupOpacity_( +func (x gen_CALayer) SetAllowsGroupOpacity( value bool, ) { - C.CALayer_inst_setAllowsGroupOpacity_( + C.CALayer_inst_setAllowsGroupOpacity( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3496,10 +3496,10 @@ func (x gen_CALayer) Filters() ( return } -func (x gen_CALayer) SetFilters_( +func (x gen_CALayer) SetFilters( value NSArrayRef, ) { - C.CALayer_inst_setFilters_( + C.CALayer_inst_setFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3516,10 +3516,10 @@ func (x gen_CALayer) CompositingFilter() ( return } -func (x gen_CALayer) SetCompositingFilter_( +func (x gen_CALayer) SetCompositingFilter( value objc.Ref, ) { - C.CALayer_inst_setCompositingFilter_( + C.CALayer_inst_setCompositingFilter( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3536,10 +3536,10 @@ func (x gen_CALayer) BackgroundFilters() ( return } -func (x gen_CALayer) SetBackgroundFilters_( +func (x gen_CALayer) SetBackgroundFilters( value NSArrayRef, ) { - C.CALayer_inst_setBackgroundFilters_( + C.CALayer_inst_setBackgroundFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3556,10 +3556,10 @@ func (x gen_CALayer) IsOpaque() ( return } -func (x gen_CALayer) SetOpaque_( +func (x gen_CALayer) SetOpaque( value bool, ) { - C.CALayer_inst_setOpaque_( + C.CALayer_inst_setOpaque( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3576,10 +3576,10 @@ func (x gen_CALayer) IsGeometryFlipped() ( return } -func (x gen_CALayer) SetGeometryFlipped_( +func (x gen_CALayer) SetGeometryFlipped( value bool, ) { - C.CALayer_inst_setGeometryFlipped_( + C.CALayer_inst_setGeometryFlipped( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3596,10 +3596,10 @@ func (x gen_CALayer) DrawsAsynchronously() ( return } -func (x gen_CALayer) SetDrawsAsynchronously_( +func (x gen_CALayer) SetDrawsAsynchronously( value bool, ) { - C.CALayer_inst_setDrawsAsynchronously_( + C.CALayer_inst_setDrawsAsynchronously( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3616,10 +3616,10 @@ func (x gen_CALayer) ShouldRasterize() ( return } -func (x gen_CALayer) SetShouldRasterize_( +func (x gen_CALayer) SetShouldRasterize( value bool, ) { - C.CALayer_inst_setShouldRasterize_( + C.CALayer_inst_setShouldRasterize( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3636,10 +3636,10 @@ func (x gen_CALayer) RasterizationScale() ( return } -func (x gen_CALayer) SetRasterizationScale_( +func (x gen_CALayer) SetRasterizationScale( value CGFloat, ) { - C.CALayer_inst_setRasterizationScale_( + C.CALayer_inst_setRasterizationScale( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3656,10 +3656,10 @@ func (x gen_CALayer) Frame() ( return } -func (x gen_CALayer) SetFrame_( +func (x gen_CALayer) SetFrame( value NSRect, ) { - C.CALayer_inst_setFrame_( + C.CALayer_inst_setFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -3676,10 +3676,10 @@ func (x gen_CALayer) Bounds() ( return } -func (x gen_CALayer) SetBounds_( +func (x gen_CALayer) SetBounds( value NSRect, ) { - C.CALayer_inst_setBounds_( + C.CALayer_inst_setBounds( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -3696,10 +3696,10 @@ func (x gen_CALayer) ZPosition() ( return } -func (x gen_CALayer) SetZPosition_( +func (x gen_CALayer) SetZPosition( value CGFloat, ) { - C.CALayer_inst_setZPosition_( + C.CALayer_inst_setZPosition( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3716,10 +3716,10 @@ func (x gen_CALayer) AnchorPointZ() ( return } -func (x gen_CALayer) SetAnchorPointZ_( +func (x gen_CALayer) SetAnchorPointZ( value CGFloat, ) { - C.CALayer_inst_setAnchorPointZ_( + C.CALayer_inst_setAnchorPointZ( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3736,10 +3736,10 @@ func (x gen_CALayer) ContentsScale() ( return } -func (x gen_CALayer) SetContentsScale_( +func (x gen_CALayer) SetContentsScale( value CGFloat, ) { - C.CALayer_inst_setContentsScale_( + C.CALayer_inst_setContentsScale( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3756,10 +3756,10 @@ func (x gen_CALayer) Sublayers() ( return } -func (x gen_CALayer) SetSublayers_( +func (x gen_CALayer) SetSublayers( value NSArrayRef, ) { - C.CALayer_inst_setSublayers_( + C.CALayer_inst_setSublayers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3786,10 +3786,10 @@ func (x gen_CALayer) NeedsDisplayOnBoundsChange() ( return } -func (x gen_CALayer) SetNeedsDisplayOnBoundsChange_( +func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( value bool, ) { - C.CALayer_inst_setNeedsDisplayOnBoundsChange_( + C.CALayer_inst_setNeedsDisplayOnBoundsChange( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3806,10 +3806,10 @@ func (x gen_CALayer) LayoutManager() ( return } -func (x gen_CALayer) SetLayoutManager_( +func (x gen_CALayer) SetLayoutManager( value objc.Ref, ) { - C.CALayer_inst_setLayoutManager_( + C.CALayer_inst_setLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3826,10 +3826,10 @@ func (x gen_CALayer) Constraints() ( return } -func (x gen_CALayer) SetConstraints_( +func (x gen_CALayer) SetConstraints( value NSArrayRef, ) { - C.CALayer_inst_setConstraints_( + C.CALayer_inst_setConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3846,10 +3846,10 @@ func (x gen_CALayer) Actions() ( return } -func (x gen_CALayer) SetActions_( +func (x gen_CALayer) SetActions( value NSDictionaryRef, ) { - C.CALayer_inst_setActions_( + C.CALayer_inst_setActions( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3876,10 +3876,10 @@ func (x gen_CALayer) Name() ( return } -func (x gen_CALayer) SetName_( +func (x gen_CALayer) SetName( value NSStringRef, ) { - C.CALayer_inst_setName_( + C.CALayer_inst_setName( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3915,12 +3915,12 @@ func (x gen_NSArray) Init_asNSArray() ( return } -func (x gen_NSArray) InitWithArray__asNSArray( +func (x gen_NSArray) InitWithArray_asNSArray( array NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_initWithArray_( + ret := C.NSArray_inst_initWithArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(array), ) @@ -3928,13 +3928,13 @@ func (x gen_NSArray) InitWithArray__asNSArray( return } -func (x gen_NSArray) InitWithArray_copyItems__asNSArray( +func (x gen_NSArray) InitWithArray_copyItems_asNSArray( array NSArrayRef, flag bool, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_initWithArray_copyItems_( + ret := C.NSArray_inst_initWithArray_copyItems( unsafe.Pointer(x.Pointer()), objc.RefPointer(array), convertToObjCBool(flag), @@ -3943,21 +3943,21 @@ func (x gen_NSArray) InitWithArray_copyItems__asNSArray( return } -func (x gen_NSArray) MakeObjectsPerformSelector_( +func (x gen_NSArray) MakeObjectsPerformSelector( aSelector objc.Selector, ) { - C.NSArray_inst_makeObjectsPerformSelector_( + C.NSArray_inst_makeObjectsPerformSelector( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), ) return } -func (x gen_NSArray) MakeObjectsPerformSelector_withObject_( +func (x gen_NSArray) MakeObjectsPerformSelector_withObject( aSelector objc.Selector, argument objc.Ref, ) { - C.NSArray_inst_makeObjectsPerformSelector_withObject_( + C.NSArray_inst_makeObjectsPerformSelector_withObject( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(argument), @@ -3965,12 +3965,12 @@ func (x gen_NSArray) MakeObjectsPerformSelector_withObject_( return } -func (x gen_NSArray) IsEqualToArray_( +func (x gen_NSArray) IsEqualToArray( otherArray NSArrayRef, ) ( r0 bool, ) { - ret := C.NSArray_inst_isEqualToArray_( + ret := C.NSArray_inst_isEqualToArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherArray), ) @@ -3978,12 +3978,12 @@ func (x gen_NSArray) IsEqualToArray_( return } -func (x gen_NSArray) ArrayByAddingObjectsFromArray_( +func (x gen_NSArray) ArrayByAddingObjectsFromArray( otherArray NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_arrayByAddingObjectsFromArray_( + ret := C.NSArray_inst_arrayByAddingObjectsFromArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherArray), ) @@ -3991,12 +3991,12 @@ func (x gen_NSArray) ArrayByAddingObjectsFromArray_( return } -func (x gen_NSArray) SortedArrayUsingDescriptors_( +func (x gen_NSArray) SortedArrayUsingDescriptors( sortDescriptors NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_sortedArrayUsingDescriptors_( + ret := C.NSArray_inst_sortedArrayUsingDescriptors( unsafe.Pointer(x.Pointer()), objc.RefPointer(sortDescriptors), ) @@ -4004,12 +4004,12 @@ func (x gen_NSArray) SortedArrayUsingDescriptors_( return } -func (x gen_NSArray) SortedArrayUsingSelector_( +func (x gen_NSArray) SortedArrayUsingSelector( comparator objc.Selector, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_sortedArrayUsingSelector_( + ret := C.NSArray_inst_sortedArrayUsingSelector( unsafe.Pointer(x.Pointer()), comparator.SelectorAddress(), ) @@ -4017,12 +4017,12 @@ func (x gen_NSArray) SortedArrayUsingSelector_( return } -func (x gen_NSArray) ComponentsJoinedByString_( +func (x gen_NSArray) ComponentsJoinedByString( separator NSStringRef, ) ( r0 NSString, ) { - ret := C.NSArray_inst_componentsJoinedByString_( + ret := C.NSArray_inst_componentsJoinedByString( unsafe.Pointer(x.Pointer()), objc.RefPointer(separator), ) @@ -4030,12 +4030,12 @@ func (x gen_NSArray) ComponentsJoinedByString_( return } -func (x gen_NSArray) DescriptionWithLocale_( +func (x gen_NSArray) DescriptionWithLocale( locale objc.Ref, ) ( r0 NSString, ) { - ret := C.NSArray_inst_descriptionWithLocale_( + ret := C.NSArray_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) @@ -4043,13 +4043,13 @@ func (x gen_NSArray) DescriptionWithLocale_( return } -func (x gen_NSArray) DescriptionWithLocale_indent_( +func (x gen_NSArray) DescriptionWithLocale_indent( locale objc.Ref, level NSUInteger, ) ( r0 NSString, ) { - ret := C.NSArray_inst_descriptionWithLocale_indent_( + ret := C.NSArray_inst_descriptionWithLocale_indent( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), C.ulong(level), @@ -4058,12 +4058,12 @@ func (x gen_NSArray) DescriptionWithLocale_indent_( return } -func (x gen_NSArray) PathsMatchingExtensions_( +func (x gen_NSArray) PathsMatchingExtensions( filterTypes NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_pathsMatchingExtensions_( + ret := C.NSArray_inst_pathsMatchingExtensions( unsafe.Pointer(x.Pointer()), objc.RefPointer(filterTypes), ) @@ -4071,11 +4071,11 @@ func (x gen_NSArray) PathsMatchingExtensions_( return } -func (x gen_NSArray) SetValue_forKey_( +func (x gen_NSArray) SetValue_forKey( value objc.Ref, key NSStringRef, ) { - C.NSArray_inst_setValue_forKey_( + C.NSArray_inst_setValue_forKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), objc.RefPointer(key), @@ -4083,12 +4083,12 @@ func (x gen_NSArray) SetValue_forKey_( return } -func (x gen_NSArray) ValueForKey_( +func (x gen_NSArray) ValueForKey( key NSStringRef, ) ( r0 objc.Object, ) { - ret := C.NSArray_inst_valueForKey_( + ret := C.NSArray_inst_valueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -4155,12 +4155,12 @@ func NSAttributedString_fromRef(ref objc.Ref) NSAttributedString { return NSAttributedString_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSAttributedString) InitWithString__asNSAttributedString( +func (x gen_NSAttributedString) InitWithString_asNSAttributedString( str NSStringRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithString_( + ret := C.NSAttributedString_inst_initWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -4168,13 +4168,13 @@ func (x gen_NSAttributedString) InitWithString__asNSAttributedString( return } -func (x gen_NSAttributedString) InitWithString_attributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( str NSStringRef, attrs NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithString_attributes_( + ret := C.NSAttributedString_inst_initWithString_attributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), objc.RefPointer(attrs), @@ -4183,12 +4183,12 @@ func (x gen_NSAttributedString) InitWithString_attributes__asNSAttributedString( return } -func (x gen_NSAttributedString) InitWithAttributedString__asNSAttributedString( +func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( attrStr NSAttributedStringRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithAttributedString_( + ret := C.NSAttributedString_inst_initWithAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrStr), ) @@ -4196,13 +4196,13 @@ func (x gen_NSAttributedString) InitWithAttributedString__asNSAttributedString( return } -func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithDocFormat_documentAttributes_( + ret := C.NSAttributedString_inst_initWithDocFormat_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4211,13 +4211,13 @@ func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes__asNSAttrib return } -func (x gen_NSAttributedString) InitWithHTML_documentAttributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithHTML_documentAttributes_( + ret := C.NSAttributedString_inst_initWithHTML_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4226,14 +4226,14 @@ func (x gen_NSAttributedString) InitWithHTML_documentAttributes__asNSAttributedS return } -func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttributedString( data NSDataRef, base NSURLRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithHTML_baseURL_documentAttributes_( + ret := C.NSAttributedString_inst_initWithHTML_baseURL_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(base), @@ -4243,14 +4243,14 @@ func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes__asNSAtt return } -func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes_asNSAttributedString( data NSDataRef, options NSDictionaryRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithHTML_options_documentAttributes_( + ret := C.NSAttributedString_inst_initWithHTML_options_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(options), @@ -4260,13 +4260,13 @@ func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes__asNSAtt return } -func (x gen_NSAttributedString) InitWithRTF_documentAttributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithRTF_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithRTF_documentAttributes_( + ret := C.NSAttributedString_inst_initWithRTF_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4275,13 +4275,13 @@ func (x gen_NSAttributedString) InitWithRTF_documentAttributes__asNSAttributedSt return } -func (x gen_NSAttributedString) InitWithRTFD_documentAttributes__asNSAttributedString( +func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithRTFD_documentAttributes_( + ret := C.NSAttributedString_inst_initWithRTFD_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4290,12 +4290,12 @@ func (x gen_NSAttributedString) InitWithRTFD_documentAttributes__asNSAttributedS return } -func (x gen_NSAttributedString) IsEqualToAttributedString_( +func (x gen_NSAttributedString) IsEqualToAttributedString( other NSAttributedStringRef, ) ( r0 bool, ) { - ret := C.NSAttributedString_inst_isEqualToAttributedString_( + ret := C.NSAttributedString_inst_isEqualToAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(other), ) @@ -4303,13 +4303,13 @@ func (x gen_NSAttributedString) IsEqualToAttributedString_( return } -func (x gen_NSAttributedString) NextWordFromIndex_forward_( +func (x gen_NSAttributedString) NextWordFromIndex_forward( location NSUInteger, isForward bool, ) ( r0 NSUInteger, ) { - ret := C.NSAttributedString_inst_nextWordFromIndex_forward_( + ret := C.NSAttributedString_inst_nextWordFromIndex_forward( unsafe.Pointer(x.Pointer()), C.ulong(location), convertToObjCBool(isForward), @@ -4328,10 +4328,10 @@ func (x gen_NSAttributedString) AttributedStringByInflectingString() ( return } -func (x gen_NSAttributedString) DrawInRect_( +func (x gen_NSAttributedString) DrawInRect( rect NSRect, ) { - C.NSAttributedString_inst_drawInRect_( + C.NSAttributedString_inst_drawInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -4397,13 +4397,13 @@ func NSData_fromRef(ref objc.Ref) NSData { return NSData_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSData) InitWithBytes_length__asNSData( +func (x gen_NSData) InitWithBytes_length_asNSData( bytes unsafe.Pointer, length NSUInteger, ) ( r0 NSData, ) { - ret := C.NSData_inst_initWithBytes_length_( + ret := C.NSData_inst_initWithBytes_length( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), @@ -4412,13 +4412,13 @@ func (x gen_NSData) InitWithBytes_length__asNSData( return } -func (x gen_NSData) InitWithBytesNoCopy_length__asNSData( +func (x gen_NSData) InitWithBytesNoCopy_length_asNSData( bytes unsafe.Pointer, length NSUInteger, ) ( r0 NSData, ) { - ret := C.NSData_inst_initWithBytesNoCopy_length_( + ret := C.NSData_inst_initWithBytesNoCopy_length( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), @@ -4427,14 +4427,14 @@ func (x gen_NSData) InitWithBytesNoCopy_length__asNSData( return } -func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone__asNSData( +func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( bytes unsafe.Pointer, length NSUInteger, b bool, ) ( r0 NSData, ) { - ret := C.NSData_inst_initWithBytesNoCopy_length_freeWhenDone_( + ret := C.NSData_inst_initWithBytesNoCopy_length_freeWhenDone( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), @@ -4444,12 +4444,12 @@ func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone__asNSData( return } -func (x gen_NSData) InitWithData__asNSData( +func (x gen_NSData) InitWithData_asNSData( data NSDataRef, ) ( r0 NSData, ) { - ret := C.NSData_inst_initWithData_( + ret := C.NSData_inst_initWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -4457,12 +4457,12 @@ func (x gen_NSData) InitWithData__asNSData( return } -func (x gen_NSData) InitWithContentsOfFile__asNSData( +func (x gen_NSData) InitWithContentsOfFile_asNSData( path NSStringRef, ) ( r0 NSData, ) { - ret := C.NSData_inst_initWithContentsOfFile_( + ret := C.NSData_inst_initWithContentsOfFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -4470,12 +4470,12 @@ func (x gen_NSData) InitWithContentsOfFile__asNSData( return } -func (x gen_NSData) InitWithContentsOfURL__asNSData( +func (x gen_NSData) InitWithContentsOfURL_asNSData( url NSURLRef, ) ( r0 NSData, ) { - ret := C.NSData_inst_initWithContentsOfURL_( + ret := C.NSData_inst_initWithContentsOfURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -4483,13 +4483,13 @@ func (x gen_NSData) InitWithContentsOfURL__asNSData( return } -func (x gen_NSData) WriteToFile_atomically_( +func (x gen_NSData) WriteToFile_atomically( path NSStringRef, useAuxiliaryFile bool, ) ( r0 bool, ) { - ret := C.NSData_inst_writeToFile_atomically_( + ret := C.NSData_inst_writeToFile_atomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(useAuxiliaryFile), @@ -4498,13 +4498,13 @@ func (x gen_NSData) WriteToFile_atomically_( return } -func (x gen_NSData) WriteToURL_atomically_( +func (x gen_NSData) WriteToURL_atomically( url NSURLRef, atomically bool, ) ( r0 bool, ) { - ret := C.NSData_inst_writeToURL_atomically_( + ret := C.NSData_inst_writeToURL_atomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), convertToObjCBool(atomically), @@ -4513,11 +4513,11 @@ func (x gen_NSData) WriteToURL_atomically_( return } -func (x gen_NSData) GetBytes_length_( +func (x gen_NSData) GetBytes_length( buffer unsafe.Pointer, length NSUInteger, ) { - C.NSData_inst_getBytes_length_( + C.NSData_inst_getBytes_length( unsafe.Pointer(x.Pointer()), buffer, C.ulong(length), @@ -4525,12 +4525,12 @@ func (x gen_NSData) GetBytes_length_( return } -func (x gen_NSData) IsEqualToData_( +func (x gen_NSData) IsEqualToData( other NSDataRef, ) ( r0 bool, ) { - ret := C.NSData_inst_isEqualToData_( + ret := C.NSData_inst_isEqualToData( unsafe.Pointer(x.Pointer()), objc.RefPointer(other), ) @@ -4607,13 +4607,13 @@ func (x gen_NSDictionary) Init_asNSDictionary() ( return } -func (x gen_NSDictionary) InitWithObjects_forKeys__asNSDictionary( +func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( objects NSArrayRef, keys NSArrayRef, ) ( r0 NSDictionary, ) { - ret := C.NSDictionary_inst_initWithObjects_forKeys_( + ret := C.NSDictionary_inst_initWithObjects_forKeys( unsafe.Pointer(x.Pointer()), objc.RefPointer(objects), objc.RefPointer(keys), @@ -4622,12 +4622,12 @@ func (x gen_NSDictionary) InitWithObjects_forKeys__asNSDictionary( return } -func (x gen_NSDictionary) InitWithDictionary__asNSDictionary( +func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( otherDictionary NSDictionaryRef, ) ( r0 NSDictionary, ) { - ret := C.NSDictionary_inst_initWithDictionary_( + ret := C.NSDictionary_inst_initWithDictionary( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), ) @@ -4635,13 +4635,13 @@ func (x gen_NSDictionary) InitWithDictionary__asNSDictionary( return } -func (x gen_NSDictionary) InitWithDictionary_copyItems__asNSDictionary( +func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( otherDictionary NSDictionaryRef, flag bool, ) ( r0 NSDictionary, ) { - ret := C.NSDictionary_inst_initWithDictionary_copyItems_( + ret := C.NSDictionary_inst_initWithDictionary_copyItems( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), convertToObjCBool(flag), @@ -4650,12 +4650,12 @@ func (x gen_NSDictionary) InitWithDictionary_copyItems__asNSDictionary( return } -func (x gen_NSDictionary) IsEqualToDictionary_( +func (x gen_NSDictionary) IsEqualToDictionary( otherDictionary NSDictionaryRef, ) ( r0 bool, ) { - ret := C.NSDictionary_inst_isEqualToDictionary_( + ret := C.NSDictionary_inst_isEqualToDictionary( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), ) @@ -4663,12 +4663,12 @@ func (x gen_NSDictionary) IsEqualToDictionary_( return } -func (x gen_NSDictionary) KeysSortedByValueUsingSelector_( +func (x gen_NSDictionary) KeysSortedByValueUsingSelector( comparator objc.Selector, ) ( r0 NSArray, ) { - ret := C.NSDictionary_inst_keysSortedByValueUsingSelector_( + ret := C.NSDictionary_inst_keysSortedByValueUsingSelector( unsafe.Pointer(x.Pointer()), comparator.SelectorAddress(), ) @@ -4786,12 +4786,12 @@ func (x gen_NSDictionary) FileSystemNumber() ( return } -func (x gen_NSDictionary) DescriptionWithLocale_( +func (x gen_NSDictionary) DescriptionWithLocale( locale objc.Ref, ) ( r0 NSString, ) { - ret := C.NSDictionary_inst_descriptionWithLocale_( + ret := C.NSDictionary_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) @@ -4799,13 +4799,13 @@ func (x gen_NSDictionary) DescriptionWithLocale_( return } -func (x gen_NSDictionary) DescriptionWithLocale_indent_( +func (x gen_NSDictionary) DescriptionWithLocale_indent( locale objc.Ref, level NSUInteger, ) ( r0 NSString, ) { - ret := C.NSDictionary_inst_descriptionWithLocale_indent_( + ret := C.NSDictionary_inst_descriptionWithLocale_indent( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), C.ulong(level), @@ -4883,12 +4883,12 @@ func NSNumber_fromRef(ref objc.Ref) NSNumber { return NSNumber_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSNumber) InitWithBool_( +func (x gen_NSNumber) InitWithBool( value bool, ) ( r0 NSNumber, ) { - ret := C.NSNumber_inst_initWithBool_( + ret := C.NSNumber_inst_initWithBool( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -4896,12 +4896,12 @@ func (x gen_NSNumber) InitWithBool_( return } -func (x gen_NSNumber) InitWithInt_( +func (x gen_NSNumber) InitWithInt( value int32, ) ( r0 NSNumber, ) { - ret := C.NSNumber_inst_initWithInt_( + ret := C.NSNumber_inst_initWithInt( unsafe.Pointer(x.Pointer()), C.int(value), ) @@ -4909,12 +4909,12 @@ func (x gen_NSNumber) InitWithInt_( return } -func (x gen_NSNumber) InitWithInteger_( +func (x gen_NSNumber) InitWithInteger( value NSInteger, ) ( r0 NSNumber, ) { - ret := C.NSNumber_inst_initWithInteger_( + ret := C.NSNumber_inst_initWithInteger( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -4922,12 +4922,12 @@ func (x gen_NSNumber) InitWithInteger_( return } -func (x gen_NSNumber) InitWithUnsignedInt_( +func (x gen_NSNumber) InitWithUnsignedInt( value int32, ) ( r0 NSNumber, ) { - ret := C.NSNumber_inst_initWithUnsignedInt_( + ret := C.NSNumber_inst_initWithUnsignedInt( unsafe.Pointer(x.Pointer()), C.int(value), ) @@ -4935,12 +4935,12 @@ func (x gen_NSNumber) InitWithUnsignedInt_( return } -func (x gen_NSNumber) InitWithUnsignedInteger_( +func (x gen_NSNumber) InitWithUnsignedInteger( value NSUInteger, ) ( r0 NSNumber, ) { - ret := C.NSNumber_inst_initWithUnsignedInteger_( + ret := C.NSNumber_inst_initWithUnsignedInteger( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -4948,12 +4948,12 @@ func (x gen_NSNumber) InitWithUnsignedInteger_( return } -func (x gen_NSNumber) DescriptionWithLocale_( +func (x gen_NSNumber) DescriptionWithLocale( locale objc.Ref, ) ( r0 NSString, ) { - ret := C.NSNumber_inst_descriptionWithLocale_( + ret := C.NSNumber_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) @@ -4961,12 +4961,12 @@ func (x gen_NSNumber) DescriptionWithLocale_( return } -func (x gen_NSNumber) IsEqualToNumber_( +func (x gen_NSNumber) IsEqualToNumber( number NSNumberRef, ) ( r0 bool, ) { - ret := C.NSNumber_inst_isEqualToNumber_( + ret := C.NSNumber_inst_isEqualToNumber( unsafe.Pointer(x.Pointer()), objc.RefPointer(number), ) @@ -5070,14 +5070,14 @@ func (x gen_NSRunLoop) Run() { return } -func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes_( +func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( aSelector objc.Selector, target objc.Ref, arg objc.Ref, order NSUInteger, modes NSArrayRef, ) { - C.NSRunLoop_inst_performSelector_target_argument_order_modes_( + C.NSRunLoop_inst_performSelector_target_argument_order_modes( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(target), @@ -5088,12 +5088,12 @@ func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes_( return } -func (x gen_NSRunLoop) CancelPerformSelector_target_argument_( +func (x gen_NSRunLoop) CancelPerformSelector_target_argument( aSelector objc.Selector, target objc.Ref, arg objc.Ref, ) { - C.NSRunLoop_inst_cancelPerformSelector_target_argument_( + C.NSRunLoop_inst_cancelPerformSelector_target_argument( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(target), @@ -5102,10 +5102,10 @@ func (x gen_NSRunLoop) CancelPerformSelector_target_argument_( return } -func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget_( +func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( target objc.Ref, ) { - C.NSRunLoop_inst_cancelPerformSelectorsWithTarget_( + C.NSRunLoop_inst_cancelPerformSelectorsWithTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), ) @@ -5151,14 +5151,14 @@ func (x gen_NSString) Init_asNSString() ( return } -func (x gen_NSString) InitWithBytes_length_encoding__asNSString( +func (x gen_NSString) InitWithBytes_length_encoding_asNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, ) ( r0 NSString, ) { - ret := C.NSString_inst_initWithBytes_length_encoding_( + ret := C.NSString_inst_initWithBytes_length_encoding( unsafe.Pointer(x.Pointer()), bytes, C.ulong(len), @@ -5168,7 +5168,7 @@ func (x gen_NSString) InitWithBytes_length_encoding__asNSString( return } -func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone__asNSString( +func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, @@ -5176,7 +5176,7 @@ func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone__asNSStri ) ( r0 NSString, ) { - ret := C.NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone_( + ret := C.NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone( unsafe.Pointer(x.Pointer()), bytes, C.ulong(len), @@ -5187,12 +5187,12 @@ func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone__asNSStri return } -func (x gen_NSString) InitWithString__asNSString( +func (x gen_NSString) InitWithString_asNSString( aString NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_initWithString_( + ret := C.NSString_inst_initWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) @@ -5200,13 +5200,13 @@ func (x gen_NSString) InitWithString__asNSString( return } -func (x gen_NSString) InitWithData_encoding__asNSString( +func (x gen_NSString) InitWithData_encoding_asNSString( data NSDataRef, encoding NSStringEncoding, ) ( r0 NSString, ) { - ret := C.NSString_inst_initWithData_encoding_( + ret := C.NSString_inst_initWithData_encoding( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), C.ulong(encoding), @@ -5215,12 +5215,12 @@ func (x gen_NSString) InitWithData_encoding__asNSString( return } -func (x gen_NSString) LengthOfBytesUsingEncoding_( +func (x gen_NSString) LengthOfBytesUsingEncoding( enc NSStringEncoding, ) ( r0 NSUInteger, ) { - ret := C.NSString_inst_lengthOfBytesUsingEncoding_( + ret := C.NSString_inst_lengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(enc), ) @@ -5228,12 +5228,12 @@ func (x gen_NSString) LengthOfBytesUsingEncoding_( return } -func (x gen_NSString) MaximumLengthOfBytesUsingEncoding_( +func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( enc NSStringEncoding, ) ( r0 NSUInteger, ) { - ret := C.NSString_inst_maximumLengthOfBytesUsingEncoding_( + ret := C.NSString_inst_maximumLengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(enc), ) @@ -5241,12 +5241,12 @@ func (x gen_NSString) MaximumLengthOfBytesUsingEncoding_( return } -func (x gen_NSString) CharacterAtIndex_( +func (x gen_NSString) CharacterAtIndex( index NSUInteger, ) ( r0 Unichar, ) { - ret := C.NSString_inst_characterAtIndex_( + ret := C.NSString_inst_characterAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(index), ) @@ -5254,12 +5254,12 @@ func (x gen_NSString) CharacterAtIndex_( return } -func (x gen_NSString) HasPrefix_( +func (x gen_NSString) HasPrefix( str NSStringRef, ) ( r0 bool, ) { - ret := C.NSString_inst_hasPrefix_( + ret := C.NSString_inst_hasPrefix( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5267,12 +5267,12 @@ func (x gen_NSString) HasPrefix_( return } -func (x gen_NSString) HasSuffix_( +func (x gen_NSString) HasSuffix( str NSStringRef, ) ( r0 bool, ) { - ret := C.NSString_inst_hasSuffix_( + ret := C.NSString_inst_hasSuffix( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5280,12 +5280,12 @@ func (x gen_NSString) HasSuffix_( return } -func (x gen_NSString) IsEqualToString_( +func (x gen_NSString) IsEqualToString( aString NSStringRef, ) ( r0 bool, ) { - ret := C.NSString_inst_isEqualToString_( + ret := C.NSString_inst_isEqualToString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) @@ -5293,12 +5293,12 @@ func (x gen_NSString) IsEqualToString_( return } -func (x gen_NSString) StringByAppendingString_( +func (x gen_NSString) StringByAppendingString( aString NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByAppendingString_( + ret := C.NSString_inst_stringByAppendingString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) @@ -5306,14 +5306,14 @@ func (x gen_NSString) StringByAppendingString_( return } -func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex_( +func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( newLength NSUInteger, padString NSStringRef, padIndex NSUInteger, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByPaddingToLength_withString_startingAtIndex_( + ret := C.NSString_inst_stringByPaddingToLength_withString_startingAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(newLength), objc.RefPointer(padString), @@ -5323,12 +5323,12 @@ func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex_( return } -func (x gen_NSString) ComponentsSeparatedByString_( +func (x gen_NSString) ComponentsSeparatedByString( separator NSStringRef, ) ( r0 NSArray, ) { - ret := C.NSString_inst_componentsSeparatedByString_( + ret := C.NSString_inst_componentsSeparatedByString( unsafe.Pointer(x.Pointer()), objc.RefPointer(separator), ) @@ -5336,12 +5336,12 @@ func (x gen_NSString) ComponentsSeparatedByString_( return } -func (x gen_NSString) SubstringFromIndex_( +func (x gen_NSString) SubstringFromIndex( from NSUInteger, ) ( r0 NSString, ) { - ret := C.NSString_inst_substringFromIndex_( + ret := C.NSString_inst_substringFromIndex( unsafe.Pointer(x.Pointer()), C.ulong(from), ) @@ -5349,12 +5349,12 @@ func (x gen_NSString) SubstringFromIndex_( return } -func (x gen_NSString) SubstringToIndex_( +func (x gen_NSString) SubstringToIndex( to NSUInteger, ) ( r0 NSString, ) { - ret := C.NSString_inst_substringToIndex_( + ret := C.NSString_inst_substringToIndex( unsafe.Pointer(x.Pointer()), C.ulong(to), ) @@ -5362,12 +5362,12 @@ func (x gen_NSString) SubstringToIndex_( return } -func (x gen_NSString) ContainsString_( +func (x gen_NSString) ContainsString( str NSStringRef, ) ( r0 bool, ) { - ret := C.NSString_inst_containsString_( + ret := C.NSString_inst_containsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5375,12 +5375,12 @@ func (x gen_NSString) ContainsString_( return } -func (x gen_NSString) LocalizedCaseInsensitiveContainsString_( +func (x gen_NSString) LocalizedCaseInsensitiveContainsString( str NSStringRef, ) ( r0 bool, ) { - ret := C.NSString_inst_localizedCaseInsensitiveContainsString_( + ret := C.NSString_inst_localizedCaseInsensitiveContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5388,12 +5388,12 @@ func (x gen_NSString) LocalizedCaseInsensitiveContainsString_( return } -func (x gen_NSString) LocalizedStandardContainsString_( +func (x gen_NSString) LocalizedStandardContainsString( str NSStringRef, ) ( r0 bool, ) { - ret := C.NSString_inst_localizedStandardContainsString_( + ret := C.NSString_inst_localizedStandardContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5401,13 +5401,13 @@ func (x gen_NSString) LocalizedStandardContainsString_( return } -func (x gen_NSString) StringByReplacingOccurrencesOfString_withString_( +func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( target NSStringRef, replacement NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByReplacingOccurrencesOfString_withString_( + ret := C.NSString_inst_stringByReplacingOccurrencesOfString_withString( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), objc.RefPointer(replacement), @@ -5436,11 +5436,11 @@ func (x gen_NSString) PropertyListFromStringsFileFormat() ( return } -func (x gen_NSString) DrawInRect_withAttributes_( +func (x gen_NSString) DrawInRect_withAttributes( rect NSRect, attrs NSDictionaryRef, ) { - C.NSString_inst_drawInRect_withAttributes_( + C.NSString_inst_drawInRect_withAttributes( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(attrs), @@ -5448,12 +5448,12 @@ func (x gen_NSString) DrawInRect_withAttributes_( return } -func (x gen_NSString) SizeWithAttributes_( +func (x gen_NSString) SizeWithAttributes( attrs NSDictionaryRef, ) ( r0 NSSize, ) { - ret := C.NSString_inst_sizeWithAttributes_( + ret := C.NSString_inst_sizeWithAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrs), ) @@ -5461,12 +5461,12 @@ func (x gen_NSString) SizeWithAttributes_( return } -func (x gen_NSString) VariantFittingPresentationWidth_( +func (x gen_NSString) VariantFittingPresentationWidth( width NSInteger, ) ( r0 NSString, ) { - ret := C.NSString_inst_variantFittingPresentationWidth_( + ret := C.NSString_inst_variantFittingPresentationWidth( unsafe.Pointer(x.Pointer()), C.long(width), ) @@ -5474,12 +5474,12 @@ func (x gen_NSString) VariantFittingPresentationWidth_( return } -func (x gen_NSString) CanBeConvertedToEncoding_( +func (x gen_NSString) CanBeConvertedToEncoding( encoding NSStringEncoding, ) ( r0 bool, ) { - ret := C.NSString_inst_canBeConvertedToEncoding_( + ret := C.NSString_inst_canBeConvertedToEncoding( unsafe.Pointer(x.Pointer()), C.ulong(encoding), ) @@ -5487,12 +5487,12 @@ func (x gen_NSString) CanBeConvertedToEncoding_( return } -func (x gen_NSString) DataUsingEncoding_( +func (x gen_NSString) DataUsingEncoding( encoding NSStringEncoding, ) ( r0 NSData, ) { - ret := C.NSString_inst_dataUsingEncoding_( + ret := C.NSString_inst_dataUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(encoding), ) @@ -5500,13 +5500,13 @@ func (x gen_NSString) DataUsingEncoding_( return } -func (x gen_NSString) DataUsingEncoding_allowLossyConversion_( +func (x gen_NSString) DataUsingEncoding_allowLossyConversion( encoding NSStringEncoding, lossy bool, ) ( r0 NSData, ) { - ret := C.NSString_inst_dataUsingEncoding_allowLossyConversion_( + ret := C.NSString_inst_dataUsingEncoding_allowLossyConversion( unsafe.Pointer(x.Pointer()), C.ulong(encoding), convertToObjCBool(lossy), @@ -5515,7 +5515,7 @@ func (x gen_NSString) DataUsingEncoding_allowLossyConversion_( return } -func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( +func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes( outputName NSStringRef, flag bool, outputArray NSArrayRef, @@ -5523,7 +5523,7 @@ func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filt ) ( r0 NSUInteger, ) { - ret := C.NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( + ret := C.NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(outputName), convertToObjCBool(flag), @@ -5534,12 +5534,12 @@ func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filt return } -func (x gen_NSString) StringByAppendingPathComponent_( +func (x gen_NSString) StringByAppendingPathComponent( str NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByAppendingPathComponent_( + ret := C.NSString_inst_stringByAppendingPathComponent( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5547,12 +5547,12 @@ func (x gen_NSString) StringByAppendingPathComponent_( return } -func (x gen_NSString) StringByAppendingPathExtension_( +func (x gen_NSString) StringByAppendingPathExtension( str NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByAppendingPathExtension_( + ret := C.NSString_inst_stringByAppendingPathExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5560,12 +5560,12 @@ func (x gen_NSString) StringByAppendingPathExtension_( return } -func (x gen_NSString) StringsByAppendingPaths_( +func (x gen_NSString) StringsByAppendingPaths( paths NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSString_inst_stringsByAppendingPaths_( + ret := C.NSString_inst_stringsByAppendingPaths( unsafe.Pointer(x.Pointer()), objc.RefPointer(paths), ) @@ -5892,14 +5892,14 @@ func (x gen_NSThread) Init_asNSThread() ( return } -func (x gen_NSThread) InitWithTarget_selector_object__asNSThread( +func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( target objc.Ref, selector objc.Selector, argument objc.Ref, ) ( r0 NSThread, ) { - ret := C.NSThread_inst_initWithTarget_selector_object_( + ret := C.NSThread_inst_initWithTarget_selector_object( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), selector.SelectorAddress(), @@ -5980,10 +5980,10 @@ func (x gen_NSThread) Name() ( return } -func (x gen_NSThread) SetName_( +func (x gen_NSThread) SetName( value NSStringRef, ) { - C.NSThread_inst_setName_( + C.NSThread_inst_setName( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -6000,10 +6000,10 @@ func (x gen_NSThread) StackSize() ( return } -func (x gen_NSThread) SetStackSize_( +func (x gen_NSThread) SetStackSize( value NSUInteger, ) { - C.NSThread_inst_setStackSize_( + C.NSThread_inst_setStackSize( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -6029,12 +6029,12 @@ func NSURL_fromRef(ref objc.Ref) NSURL { return NSURL_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSURL) InitWithString__asNSURL( +func (x gen_NSURL) InitWithString_asNSURL( URLString NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initWithString_( + ret := C.NSURL_inst_initWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(URLString), ) @@ -6042,13 +6042,13 @@ func (x gen_NSURL) InitWithString__asNSURL( return } -func (x gen_NSURL) InitWithString_relativeToURL__asNSURL( +func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( URLString NSStringRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initWithString_relativeToURL_( + ret := C.NSURL_inst_initWithString_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URLString), objc.RefPointer(baseURL), @@ -6057,13 +6057,13 @@ func (x gen_NSURL) InitWithString_relativeToURL__asNSURL( return } -func (x gen_NSURL) InitFileURLWithPath_isDirectory__asNSURL( +func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( path NSStringRef, isDir bool, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath_isDirectory_( + ret := C.NSURL_inst_initFileURLWithPath_isDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(isDir), @@ -6072,13 +6072,13 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory__asNSURL( return } -func (x gen_NSURL) InitFileURLWithPath_relativeToURL__asNSURL( +func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( path NSStringRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath_relativeToURL_( + ret := C.NSURL_inst_initFileURLWithPath_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), objc.RefPointer(baseURL), @@ -6087,14 +6087,14 @@ func (x gen_NSURL) InitFileURLWithPath_relativeToURL__asNSURL( return } -func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL__asNSURL( +func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( path NSStringRef, isDir bool, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL_( + ret := C.NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(isDir), @@ -6104,12 +6104,12 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL__asNSURL( return } -func (x gen_NSURL) InitFileURLWithPath__asNSURL( +func (x gen_NSURL) InitFileURLWithPath_asNSURL( path NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath_( + ret := C.NSURL_inst_initFileURLWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -6117,13 +6117,13 @@ func (x gen_NSURL) InitFileURLWithPath__asNSURL( return } -func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL__asNSURL( +func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL_( + ret := C.NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), @@ -6132,13 +6132,13 @@ func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL__asNSURL( return } -func (x gen_NSURL) InitWithDataRepresentation_relativeToURL__asNSURL( +func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initWithDataRepresentation_relativeToURL_( + ret := C.NSURL_inst_initWithDataRepresentation_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), @@ -6174,12 +6174,12 @@ func (x gen_NSURL) FileReferenceURL() ( return } -func (x gen_NSURL) URLByAppendingPathComponent_( +func (x gen_NSURL) URLByAppendingPathComponent( pathComponent NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_URLByAppendingPathComponent_( + ret := C.NSURL_inst_URLByAppendingPathComponent( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathComponent), ) @@ -6187,13 +6187,13 @@ func (x gen_NSURL) URLByAppendingPathComponent_( return } -func (x gen_NSURL) URLByAppendingPathComponent_isDirectory_( +func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( pathComponent NSStringRef, isDirectory bool, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_URLByAppendingPathComponent_isDirectory_( + ret := C.NSURL_inst_URLByAppendingPathComponent_isDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathComponent), convertToObjCBool(isDirectory), @@ -6202,12 +6202,12 @@ func (x gen_NSURL) URLByAppendingPathComponent_isDirectory_( return } -func (x gen_NSURL) URLByAppendingPathExtension_( +func (x gen_NSURL) URLByAppendingPathExtension( pathExtension NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_URLByAppendingPathExtension_( + ret := C.NSURL_inst_URLByAppendingPathExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathExtension), ) @@ -6521,12 +6521,12 @@ func NSURLRequest_fromRef(ref objc.Ref) NSURLRequest { return NSURLRequest_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSURLRequest) InitWithURL__asNSURLRequest( +func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( URL NSURLRef, ) ( r0 NSURLRequest, ) { - ret := C.NSURLRequest_inst_initWithURL_( + ret := C.NSURLRequest_inst_initWithURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URL), ) @@ -6534,12 +6534,12 @@ func (x gen_NSURLRequest) InitWithURL__asNSURLRequest( return } -func (x gen_NSURLRequest) ValueForHTTPHeaderField_( +func (x gen_NSURLRequest) ValueForHTTPHeaderField( field NSStringRef, ) ( r0 NSString, ) { - ret := C.NSURLRequest_inst_valueForHTTPHeaderField_( + ret := C.NSURLRequest_inst_valueForHTTPHeaderField( unsafe.Pointer(x.Pointer()), objc.RefPointer(field), ) @@ -6696,12 +6696,12 @@ func (x gen_NSUserDefaults) Init_asNSUserDefaults() ( return } -func (x gen_NSUserDefaults) InitWithSuiteName__asNSUserDefaults( +func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( suitename NSStringRef, ) ( r0 NSUserDefaults, ) { - ret := C.NSUserDefaults_inst_initWithSuiteName_( + ret := C.NSUserDefaults_inst_initWithSuiteName( unsafe.Pointer(x.Pointer()), objc.RefPointer(suitename), ) @@ -6709,12 +6709,12 @@ func (x gen_NSUserDefaults) InitWithSuiteName__asNSUserDefaults( return } -func (x gen_NSUserDefaults) ObjectForKey_( +func (x gen_NSUserDefaults) ObjectForKey( defaultName NSStringRef, ) ( r0 objc.Object, ) { - ret := C.NSUserDefaults_inst_objectForKey_( + ret := C.NSUserDefaults_inst_objectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6722,12 +6722,12 @@ func (x gen_NSUserDefaults) ObjectForKey_( return } -func (x gen_NSUserDefaults) URLForKey_( +func (x gen_NSUserDefaults) URLForKey( defaultName NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSUserDefaults_inst_URLForKey_( + ret := C.NSUserDefaults_inst_URLForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6735,12 +6735,12 @@ func (x gen_NSUserDefaults) URLForKey_( return } -func (x gen_NSUserDefaults) ArrayForKey_( +func (x gen_NSUserDefaults) ArrayForKey( defaultName NSStringRef, ) ( r0 NSArray, ) { - ret := C.NSUserDefaults_inst_arrayForKey_( + ret := C.NSUserDefaults_inst_arrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6748,12 +6748,12 @@ func (x gen_NSUserDefaults) ArrayForKey_( return } -func (x gen_NSUserDefaults) DictionaryForKey_( +func (x gen_NSUserDefaults) DictionaryForKey( defaultName NSStringRef, ) ( r0 NSDictionary, ) { - ret := C.NSUserDefaults_inst_dictionaryForKey_( + ret := C.NSUserDefaults_inst_dictionaryForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6761,12 +6761,12 @@ func (x gen_NSUserDefaults) DictionaryForKey_( return } -func (x gen_NSUserDefaults) StringForKey_( +func (x gen_NSUserDefaults) StringForKey( defaultName NSStringRef, ) ( r0 NSString, ) { - ret := C.NSUserDefaults_inst_stringForKey_( + ret := C.NSUserDefaults_inst_stringForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6774,12 +6774,12 @@ func (x gen_NSUserDefaults) StringForKey_( return } -func (x gen_NSUserDefaults) StringArrayForKey_( +func (x gen_NSUserDefaults) StringArrayForKey( defaultName NSStringRef, ) ( r0 NSArray, ) { - ret := C.NSUserDefaults_inst_stringArrayForKey_( + ret := C.NSUserDefaults_inst_stringArrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6787,12 +6787,12 @@ func (x gen_NSUserDefaults) StringArrayForKey_( return } -func (x gen_NSUserDefaults) DataForKey_( +func (x gen_NSUserDefaults) DataForKey( defaultName NSStringRef, ) ( r0 NSData, ) { - ret := C.NSUserDefaults_inst_dataForKey_( + ret := C.NSUserDefaults_inst_dataForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6800,12 +6800,12 @@ func (x gen_NSUserDefaults) DataForKey_( return } -func (x gen_NSUserDefaults) BoolForKey_( +func (x gen_NSUserDefaults) BoolForKey( defaultName NSStringRef, ) ( r0 bool, ) { - ret := C.NSUserDefaults_inst_boolForKey_( + ret := C.NSUserDefaults_inst_boolForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6813,12 +6813,12 @@ func (x gen_NSUserDefaults) BoolForKey_( return } -func (x gen_NSUserDefaults) IntegerForKey_( +func (x gen_NSUserDefaults) IntegerForKey( defaultName NSStringRef, ) ( r0 NSInteger, ) { - ret := C.NSUserDefaults_inst_integerForKey_( + ret := C.NSUserDefaults_inst_integerForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -6836,11 +6836,11 @@ func (x gen_NSUserDefaults) DictionaryRepresentation() ( return } -func (x gen_NSUserDefaults) SetObject_forKey_( +func (x gen_NSUserDefaults) SetObject_forKey( value objc.Ref, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setObject_forKey_( + C.NSUserDefaults_inst_setObject_forKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), objc.RefPointer(defaultName), @@ -6848,11 +6848,11 @@ func (x gen_NSUserDefaults) SetObject_forKey_( return } -func (x gen_NSUserDefaults) SetInteger_forKey_( +func (x gen_NSUserDefaults) SetInteger_forKey( value NSInteger, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setInteger_forKey_( + C.NSUserDefaults_inst_setInteger_forKey( unsafe.Pointer(x.Pointer()), C.long(value), objc.RefPointer(defaultName), @@ -6860,11 +6860,11 @@ func (x gen_NSUserDefaults) SetInteger_forKey_( return } -func (x gen_NSUserDefaults) SetBool_forKey_( +func (x gen_NSUserDefaults) SetBool_forKey( value bool, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setBool_forKey_( + C.NSUserDefaults_inst_setBool_forKey( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), objc.RefPointer(defaultName), @@ -6872,11 +6872,11 @@ func (x gen_NSUserDefaults) SetBool_forKey_( return } -func (x gen_NSUserDefaults) SetURL_forKey_( +func (x gen_NSUserDefaults) SetURL_forKey( url NSURLRef, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setURL_forKey_( + C.NSUserDefaults_inst_setURL_forKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), objc.RefPointer(defaultName), @@ -6884,52 +6884,52 @@ func (x gen_NSUserDefaults) SetURL_forKey_( return } -func (x gen_NSUserDefaults) RemoveObjectForKey_( +func (x gen_NSUserDefaults) RemoveObjectForKey( defaultName NSStringRef, ) { - C.NSUserDefaults_inst_removeObjectForKey_( + C.NSUserDefaults_inst_removeObjectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) return } -func (x gen_NSUserDefaults) AddSuiteNamed_( +func (x gen_NSUserDefaults) AddSuiteNamed( suiteName NSStringRef, ) { - C.NSUserDefaults_inst_addSuiteNamed_( + C.NSUserDefaults_inst_addSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) return } -func (x gen_NSUserDefaults) RemoveSuiteNamed_( +func (x gen_NSUserDefaults) RemoveSuiteNamed( suiteName NSStringRef, ) { - C.NSUserDefaults_inst_removeSuiteNamed_( + C.NSUserDefaults_inst_removeSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) return } -func (x gen_NSUserDefaults) RegisterDefaults_( +func (x gen_NSUserDefaults) RegisterDefaults( registrationDictionary NSDictionaryRef, ) { - C.NSUserDefaults_inst_registerDefaults_( + C.NSUserDefaults_inst_registerDefaults( unsafe.Pointer(x.Pointer()), objc.RefPointer(registrationDictionary), ) return } -func (x gen_NSUserDefaults) PersistentDomainForName_( +func (x gen_NSUserDefaults) PersistentDomainForName( domainName NSStringRef, ) ( r0 NSDictionary, ) { - ret := C.NSUserDefaults_inst_persistentDomainForName_( + ret := C.NSUserDefaults_inst_persistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) @@ -6937,11 +6937,11 @@ func (x gen_NSUserDefaults) PersistentDomainForName_( return } -func (x gen_NSUserDefaults) SetPersistentDomain_forName_( +func (x gen_NSUserDefaults) SetPersistentDomain_forName( domain NSDictionaryRef, domainName NSStringRef, ) { - C.NSUserDefaults_inst_setPersistentDomain_forName_( + C.NSUserDefaults_inst_setPersistentDomain_forName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domain), objc.RefPointer(domainName), @@ -6949,22 +6949,22 @@ func (x gen_NSUserDefaults) SetPersistentDomain_forName_( return } -func (x gen_NSUserDefaults) RemovePersistentDomainForName_( +func (x gen_NSUserDefaults) RemovePersistentDomainForName( domainName NSStringRef, ) { - C.NSUserDefaults_inst_removePersistentDomainForName_( + C.NSUserDefaults_inst_removePersistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) return } -func (x gen_NSUserDefaults) VolatileDomainForName_( +func (x gen_NSUserDefaults) VolatileDomainForName( domainName NSStringRef, ) ( r0 NSDictionary, ) { - ret := C.NSUserDefaults_inst_volatileDomainForName_( + ret := C.NSUserDefaults_inst_volatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) @@ -6972,11 +6972,11 @@ func (x gen_NSUserDefaults) VolatileDomainForName_( return } -func (x gen_NSUserDefaults) SetVolatileDomain_forName_( +func (x gen_NSUserDefaults) SetVolatileDomain_forName( domain NSDictionaryRef, domainName NSStringRef, ) { - C.NSUserDefaults_inst_setVolatileDomain_forName_( + C.NSUserDefaults_inst_setVolatileDomain_forName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domain), objc.RefPointer(domainName), @@ -6984,22 +6984,22 @@ func (x gen_NSUserDefaults) SetVolatileDomain_forName_( return } -func (x gen_NSUserDefaults) RemoveVolatileDomainForName_( +func (x gen_NSUserDefaults) RemoveVolatileDomainForName( domainName NSStringRef, ) { - C.NSUserDefaults_inst_removeVolatileDomainForName_( + C.NSUserDefaults_inst_removeVolatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) return } -func (x gen_NSUserDefaults) ObjectIsForcedForKey_( +func (x gen_NSUserDefaults) ObjectIsForcedForKey( key NSStringRef, ) ( r0 bool, ) { - ret := C.NSUserDefaults_inst_objectIsForcedForKey_( + ret := C.NSUserDefaults_inst_objectIsForcedForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -7007,13 +7007,13 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKey_( return } -func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain_( +func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( key NSStringRef, domain NSStringRef, ) ( r0 bool, ) { - ret := C.NSUserDefaults_inst_objectIsForcedForKey_inDomain_( + ret := C.NSUserDefaults_inst_objectIsForcedForKey_inDomain( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(domain), diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index 4c032150..9e4c7d97 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -34,7 +34,7 @@ void* WKWebView_type_alloc() { return [WKWebView alloc]; } -BOOL WKWebView_type_handlesURLScheme_(void* urlScheme) { +BOOL WKWebView_type_handlesURLScheme(void* urlScheme) { return [WKWebView handlesURLScheme: urlScheme]; } @@ -68,30 +68,30 @@ BOOL WKUserScript_inst_isForMainFrameOnly(void *id) { isForMainFrameOnly]; } -void* WKWebView_inst_initWithFrame_configuration_(void *id, NSRect frame, void* configuration) { +void* WKWebView_inst_initWithFrame_configuration(void *id, NSRect frame, void* configuration) { return [(WKWebView*)id initWithFrame: frame configuration: configuration]; } -void* WKWebView_inst_loadRequest_(void *id, void* request) { +void* WKWebView_inst_loadRequest(void *id, void* request) { return [(WKWebView*)id loadRequest: request]; } -void* WKWebView_inst_loadHTMLString_baseURL_(void *id, void* string, void* baseURL) { +void* WKWebView_inst_loadHTMLString_baseURL(void *id, void* string, void* baseURL) { return [(WKWebView*)id loadHTMLString: string baseURL: baseURL]; } -void* WKWebView_inst_loadFileURL_allowingReadAccessToURL_(void *id, void* URL, void* readAccessURL) { +void* WKWebView_inst_loadFileURL_allowingReadAccessToURL(void *id, void* URL, void* readAccessURL) { return [(WKWebView*)id loadFileURL: URL allowingReadAccessToURL: readAccessURL]; } -void* WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL_(void *id, void* data, void* MIMEType, void* characterEncodingName, void* baseURL) { +void* WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL(void *id, void* data, void* MIMEType, void* characterEncodingName, void* baseURL) { return [(WKWebView*)id loadData: data MIMEType: MIMEType @@ -104,7 +104,7 @@ void* WKWebView_inst_reload(void *id) { reload]; } -void WKWebView_inst_reload_(void *id, void* sender) { +void WKWebView_inst_reload(void *id, void* sender) { [(WKWebView*)id reload: sender]; } @@ -114,7 +114,7 @@ void* WKWebView_inst_reloadFromOrigin(void *id) { reloadFromOrigin]; } -void WKWebView_inst_reloadFromOrigin_(void *id, void* sender) { +void WKWebView_inst_reloadFromOrigin(void *id, void* sender) { [(WKWebView*)id reloadFromOrigin: sender]; } @@ -124,12 +124,12 @@ void WKWebView_inst_stopLoading(void *id) { stopLoading]; } -void WKWebView_inst_stopLoading_(void *id, void* sender) { +void WKWebView_inst_stopLoading(void *id, void* sender) { [(WKWebView*)id stopLoading: sender]; } -void WKWebView_inst_goBack_(void *id, void* sender) { +void WKWebView_inst_goBack(void *id, void* sender) { [(WKWebView*)id goBack: sender]; } @@ -139,7 +139,7 @@ void* WKWebView_inst_goBack(void *id) { goBack]; } -void WKWebView_inst_goForward_(void *id, void* sender) { +void WKWebView_inst_goForward(void *id, void* sender) { [(WKWebView*)id goForward: sender]; } @@ -149,13 +149,13 @@ void* WKWebView_inst_goForward(void *id) { goForward]; } -void* WKWebView_inst_loadFileRequest_allowingReadAccessToURL_(void *id, void* request, void* readAccessURL) { +void* WKWebView_inst_loadFileRequest_allowingReadAccessToURL(void *id, void* request, void* readAccessURL) { return [(WKWebView*)id loadFileRequest: request allowingReadAccessToURL: readAccessURL]; } -void* WKWebView_inst_loadSimulatedRequest_responseHTMLString_(void *id, void* request, void* string) { +void* WKWebView_inst_loadSimulatedRequest_responseHTMLString(void *id, void* request, void* string) { return [(WKWebView*)id loadSimulatedRequest: request responseHTMLString: string]; @@ -176,7 +176,7 @@ void* WKWebView_inst_UIDelegate(void *id) { UIDelegate]; } -void WKWebView_inst_setUIDelegate_(void *id, void* value) { +void WKWebView_inst_setUIDelegate(void *id, void* value) { [(WKWebView*)id setUIDelegate: value]; } @@ -186,7 +186,7 @@ void* WKWebView_inst_navigationDelegate(void *id) { navigationDelegate]; } -void WKWebView_inst_setNavigationDelegate_(void *id, void* value) { +void WKWebView_inst_setNavigationDelegate(void *id, void* value) { [(WKWebView*)id setNavigationDelegate: value]; } @@ -211,7 +211,7 @@ void* WKWebView_inst_mediaType(void *id) { mediaType]; } -void WKWebView_inst_setMediaType_(void *id, void* value) { +void WKWebView_inst_setMediaType(void *id, void* value) { [(WKWebView*)id setMediaType: value]; } @@ -221,7 +221,7 @@ void* WKWebView_inst_customUserAgent(void *id) { customUserAgent]; } -void WKWebView_inst_setCustomUserAgent_(void *id, void* value) { +void WKWebView_inst_setCustomUserAgent(void *id, void* value) { [(WKWebView*)id setCustomUserAgent: value]; } @@ -236,7 +236,7 @@ BOOL WKWebView_inst_allowsMagnification(void *id) { allowsMagnification]; } -void WKWebView_inst_setAllowsMagnification_(void *id, BOOL value) { +void WKWebView_inst_setAllowsMagnification(void *id, BOOL value) { [(WKWebView*)id setAllowsMagnification: value]; } @@ -246,7 +246,7 @@ double WKWebView_inst_magnification(void *id) { magnification]; } -void WKWebView_inst_setMagnification_(void *id, double value) { +void WKWebView_inst_setMagnification(void *id, double value) { [(WKWebView*)id setMagnification: value]; } @@ -256,7 +256,7 @@ BOOL WKWebView_inst_allowsBackForwardNavigationGestures(void *id) { allowsBackForwardNavigationGestures]; } -void WKWebView_inst_setAllowsBackForwardNavigationGestures_(void *id, BOOL value) { +void WKWebView_inst_setAllowsBackForwardNavigationGestures(void *id, BOOL value) { [(WKWebView*)id setAllowsBackForwardNavigationGestures: value]; } @@ -276,7 +276,7 @@ BOOL WKWebView_inst_allowsLinkPreview(void *id) { allowsLinkPreview]; } -void WKWebView_inst_setAllowsLinkPreview_(void *id, BOOL value) { +void WKWebView_inst_setAllowsLinkPreview(void *id, BOOL value) { [(WKWebView*)id setAllowsLinkPreview: value]; } @@ -286,18 +286,18 @@ void* WKWebView_inst_interactionState(void *id) { interactionState]; } -void WKWebView_inst_setInteractionState_(void *id, void* value) { +void WKWebView_inst_setInteractionState(void *id, void* value) { [(WKWebView*)id setInteractionState: value]; } -void WKWebViewConfiguration_inst_setURLSchemeHandler_forURLScheme_(void *id, void* urlSchemeHandler, void* urlScheme) { +void WKWebViewConfiguration_inst_setURLSchemeHandler_forURLScheme(void *id, void* urlSchemeHandler, void* urlScheme) { [(WKWebViewConfiguration*)id setURLSchemeHandler: urlSchemeHandler forURLScheme: urlScheme]; } -void* WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme_(void *id, void* urlScheme) { +void* WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme(void *id, void* urlScheme) { return [(WKWebViewConfiguration*)id urlSchemeHandlerForURLScheme: urlScheme]; } @@ -312,7 +312,7 @@ void* WKWebViewConfiguration_inst_applicationNameForUserAgent(void *id) { applicationNameForUserAgent]; } -void WKWebViewConfiguration_inst_setApplicationNameForUserAgent_(void *id, void* value) { +void WKWebViewConfiguration_inst_setApplicationNameForUserAgent(void *id, void* value) { [(WKWebViewConfiguration*)id setApplicationNameForUserAgent: value]; } @@ -322,7 +322,7 @@ BOOL WKWebViewConfiguration_inst_limitsNavigationsToAppBoundDomains(void *id) { limitsNavigationsToAppBoundDomains]; } -void WKWebViewConfiguration_inst_setLimitsNavigationsToAppBoundDomains_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setLimitsNavigationsToAppBoundDomains(void *id, BOOL value) { [(WKWebViewConfiguration*)id setLimitsNavigationsToAppBoundDomains: value]; } @@ -332,7 +332,7 @@ void* WKWebViewConfiguration_inst_preferences(void *id) { preferences]; } -void WKWebViewConfiguration_inst_setPreferences_(void *id, void* value) { +void WKWebViewConfiguration_inst_setPreferences(void *id, void* value) { [(WKWebViewConfiguration*)id setPreferences: value]; } @@ -342,7 +342,7 @@ BOOL WKWebViewConfiguration_inst_ignoresViewportScaleLimits(void *id) { ignoresViewportScaleLimits]; } -void WKWebViewConfiguration_inst_setIgnoresViewportScaleLimits_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setIgnoresViewportScaleLimits(void *id, BOOL value) { [(WKWebViewConfiguration*)id setIgnoresViewportScaleLimits: value]; } @@ -352,7 +352,7 @@ BOOL WKWebViewConfiguration_inst_suppressesIncrementalRendering(void *id) { suppressesIncrementalRendering]; } -void WKWebViewConfiguration_inst_setSuppressesIncrementalRendering_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setSuppressesIncrementalRendering(void *id, BOOL value) { [(WKWebViewConfiguration*)id setSuppressesIncrementalRendering: value]; } @@ -362,7 +362,7 @@ BOOL WKWebViewConfiguration_inst_allowsInlineMediaPlayback(void *id) { allowsInlineMediaPlayback]; } -void WKWebViewConfiguration_inst_setAllowsInlineMediaPlayback_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setAllowsInlineMediaPlayback(void *id, BOOL value) { [(WKWebViewConfiguration*)id setAllowsInlineMediaPlayback: value]; } @@ -372,7 +372,7 @@ BOOL WKWebViewConfiguration_inst_allowsAirPlayForMediaPlayback(void *id) { allowsAirPlayForMediaPlayback]; } -void WKWebViewConfiguration_inst_setAllowsAirPlayForMediaPlayback_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setAllowsAirPlayForMediaPlayback(void *id, BOOL value) { [(WKWebViewConfiguration*)id setAllowsAirPlayForMediaPlayback: value]; } @@ -382,7 +382,7 @@ BOOL WKWebViewConfiguration_inst_allowsPictureInPictureMediaPlayback(void *id) { allowsPictureInPictureMediaPlayback]; } -void WKWebViewConfiguration_inst_setAllowsPictureInPictureMediaPlayback_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setAllowsPictureInPictureMediaPlayback(void *id, BOOL value) { [(WKWebViewConfiguration*)id setAllowsPictureInPictureMediaPlayback: value]; } @@ -392,12 +392,12 @@ BOOL WKWebViewConfiguration_inst_upgradeKnownHostsToHTTPS(void *id) { upgradeKnownHostsToHTTPS]; } -void WKWebViewConfiguration_inst_setUpgradeKnownHostsToHTTPS_(void *id, BOOL value) { +void WKWebViewConfiguration_inst_setUpgradeKnownHostsToHTTPS(void *id, BOOL value) { [(WKWebViewConfiguration*)id setUpgradeKnownHostsToHTTPS: value]; } -void WKPreferences_inst_setValue_forKey_(void *id, void* value, void* key) { +void WKPreferences_inst_setValue_forKey(void *id, void* value, void* key) { [(WKPreferences*)id setValue: value forKey: key]; @@ -413,7 +413,7 @@ double WKPreferences_inst_minimumFontSize(void *id) { minimumFontSize]; } -void WKPreferences_inst_setMinimumFontSize_(void *id, double value) { +void WKPreferences_inst_setMinimumFontSize(void *id, double value) { [(WKPreferences*)id setMinimumFontSize: value]; } @@ -423,7 +423,7 @@ BOOL WKPreferences_inst_tabFocusesLinks(void *id) { tabFocusesLinks]; } -void WKPreferences_inst_setTabFocusesLinks_(void *id, BOOL value) { +void WKPreferences_inst_setTabFocusesLinks(void *id, BOOL value) { [(WKPreferences*)id setTabFocusesLinks: value]; } @@ -433,7 +433,7 @@ BOOL WKPreferences_inst_javaScriptCanOpenWindowsAutomatically(void *id) { javaScriptCanOpenWindowsAutomatically]; } -void WKPreferences_inst_setJavaScriptCanOpenWindowsAutomatically_(void *id, BOOL value) { +void WKPreferences_inst_setJavaScriptCanOpenWindowsAutomatically(void *id, BOOL value) { [(WKPreferences*)id setJavaScriptCanOpenWindowsAutomatically: value]; } @@ -443,7 +443,7 @@ BOOL WKPreferences_inst_isFraudulentWebsiteWarningEnabled(void *id) { isFraudulentWebsiteWarningEnabled]; } -void WKPreferences_inst_setFraudulentWebsiteWarningEnabled_(void *id, BOOL value) { +void WKPreferences_inst_setFraudulentWebsiteWarningEnabled(void *id, BOOL value) { [(WKPreferences*)id setFraudulentWebsiteWarningEnabled: value]; } @@ -453,7 +453,7 @@ BOOL WKPreferences_inst_isTextInteractionEnabled(void *id) { isTextInteractionEnabled]; } -void WKPreferences_inst_setTextInteractionEnabled_(void *id, BOOL value) { +void WKPreferences_inst_setTextInteractionEnabled(void *id, BOOL value) { [(WKPreferences*)id setTextInteractionEnabled: value]; } @@ -503,12 +503,12 @@ func WKWebView_alloc() ( return } -func WKWebView_handlesURLScheme_( +func WKWebView_handlesURLScheme( urlScheme core.NSStringRef, ) ( r0 bool, ) { - ret := C.WKWebView_type_handlesURLScheme_( + ret := C.WKWebView_type_handlesURLScheme( objc.RefPointer(urlScheme), ) r0 = convertObjCBoolToGo(ret) @@ -628,13 +628,13 @@ func WKWebView_fromRef(ref objc.Ref) WKWebView { return WKWebView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKWebView) InitWithFrame_configuration__asWKWebView( +func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( frame core.NSRect, configuration WKWebViewConfigurationRef, ) ( r0 WKWebView, ) { - ret := C.WKWebView_inst_initWithFrame_configuration_( + ret := C.WKWebView_inst_initWithFrame_configuration( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frame)), objc.RefPointer(configuration), @@ -643,12 +643,12 @@ func (x gen_WKWebView) InitWithFrame_configuration__asWKWebView( return } -func (x gen_WKWebView) LoadRequest_( +func (x gen_WKWebView) LoadRequest( request core.NSURLRequestRef, ) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadRequest_( + ret := C.WKWebView_inst_loadRequest( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), ) @@ -656,13 +656,13 @@ func (x gen_WKWebView) LoadRequest_( return } -func (x gen_WKWebView) LoadHTMLString_baseURL_( +func (x gen_WKWebView) LoadHTMLString_baseURL( string core.NSStringRef, baseURL core.NSURLRef, ) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadHTMLString_baseURL_( + ret := C.WKWebView_inst_loadHTMLString_baseURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), objc.RefPointer(baseURL), @@ -671,13 +671,13 @@ func (x gen_WKWebView) LoadHTMLString_baseURL_( return } -func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL_( +func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( URL core.NSURLRef, readAccessURL core.NSURLRef, ) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadFileURL_allowingReadAccessToURL_( + ret := C.WKWebView_inst_loadFileURL_allowingReadAccessToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URL), objc.RefPointer(readAccessURL), @@ -686,7 +686,7 @@ func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL_( return } -func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL_( +func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( data core.NSDataRef, MIMEType core.NSStringRef, characterEncodingName core.NSStringRef, @@ -694,7 +694,7 @@ func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL_( ) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL_( + ret := C.WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(MIMEType), @@ -715,10 +715,10 @@ func (x gen_WKWebView) Reload() ( return } -func (x gen_WKWebView) Reload_( +func (x gen_WKWebView) Reload( sender objc.Ref, ) { - C.WKWebView_inst_reload_( + C.WKWebView_inst_reload( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -735,10 +735,10 @@ func (x gen_WKWebView) ReloadFromOrigin() ( return } -func (x gen_WKWebView) ReloadFromOrigin_( +func (x gen_WKWebView) ReloadFromOrigin( sender objc.Ref, ) { - C.WKWebView_inst_reloadFromOrigin_( + C.WKWebView_inst_reloadFromOrigin( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -752,20 +752,20 @@ func (x gen_WKWebView) StopLoading() { return } -func (x gen_WKWebView) StopLoading_( +func (x gen_WKWebView) StopLoading( sender objc.Ref, ) { - C.WKWebView_inst_stopLoading_( + C.WKWebView_inst_stopLoading( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_WKWebView) GoBack_( +func (x gen_WKWebView) GoBack( sender objc.Ref, ) { - C.WKWebView_inst_goBack_( + C.WKWebView_inst_goBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -782,10 +782,10 @@ func (x gen_WKWebView) GoBack() ( return } -func (x gen_WKWebView) GoForward_( +func (x gen_WKWebView) GoForward( sender objc.Ref, ) { - C.WKWebView_inst_goForward_( + C.WKWebView_inst_goForward( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -802,13 +802,13 @@ func (x gen_WKWebView) GoForward() ( return } -func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL_( +func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( request core.NSURLRequestRef, readAccessURL core.NSURLRef, ) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadFileRequest_allowingReadAccessToURL_( + ret := C.WKWebView_inst_loadFileRequest_allowingReadAccessToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), objc.RefPointer(readAccessURL), @@ -817,13 +817,13 @@ func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL_( return } -func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString_( +func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( request core.NSURLRequestRef, string core.NSStringRef, ) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadSimulatedRequest_responseHTMLString_( + ret := C.WKWebView_inst_loadSimulatedRequest_responseHTMLString( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), objc.RefPointer(string), @@ -862,10 +862,10 @@ func (x gen_WKWebView) UIDelegate() ( return } -func (x gen_WKWebView) SetUIDelegate_( +func (x gen_WKWebView) SetUIDelegate( value objc.Ref, ) { - C.WKWebView_inst_setUIDelegate_( + C.WKWebView_inst_setUIDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -882,10 +882,10 @@ func (x gen_WKWebView) NavigationDelegate() ( return } -func (x gen_WKWebView) SetNavigationDelegate_( +func (x gen_WKWebView) SetNavigationDelegate( value objc.Ref, ) { - C.WKWebView_inst_setNavigationDelegate_( + C.WKWebView_inst_setNavigationDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -932,10 +932,10 @@ func (x gen_WKWebView) MediaType() ( return } -func (x gen_WKWebView) SetMediaType_( +func (x gen_WKWebView) SetMediaType( value core.NSStringRef, ) { - C.WKWebView_inst_setMediaType_( + C.WKWebView_inst_setMediaType( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -952,10 +952,10 @@ func (x gen_WKWebView) CustomUserAgent() ( return } -func (x gen_WKWebView) SetCustomUserAgent_( +func (x gen_WKWebView) SetCustomUserAgent( value core.NSStringRef, ) { - C.WKWebView_inst_setCustomUserAgent_( + C.WKWebView_inst_setCustomUserAgent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -982,10 +982,10 @@ func (x gen_WKWebView) AllowsMagnification() ( return } -func (x gen_WKWebView) SetAllowsMagnification_( +func (x gen_WKWebView) SetAllowsMagnification( value bool, ) { - C.WKWebView_inst_setAllowsMagnification_( + C.WKWebView_inst_setAllowsMagnification( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1002,10 +1002,10 @@ func (x gen_WKWebView) Magnification() ( return } -func (x gen_WKWebView) SetMagnification_( +func (x gen_WKWebView) SetMagnification( value core.CGFloat, ) { - C.WKWebView_inst_setMagnification_( + C.WKWebView_inst_setMagnification( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -1022,10 +1022,10 @@ func (x gen_WKWebView) AllowsBackForwardNavigationGestures() ( return } -func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures_( +func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( value bool, ) { - C.WKWebView_inst_setAllowsBackForwardNavigationGestures_( + C.WKWebView_inst_setAllowsBackForwardNavigationGestures( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1062,10 +1062,10 @@ func (x gen_WKWebView) AllowsLinkPreview() ( return } -func (x gen_WKWebView) SetAllowsLinkPreview_( +func (x gen_WKWebView) SetAllowsLinkPreview( value bool, ) { - C.WKWebView_inst_setAllowsLinkPreview_( + C.WKWebView_inst_setAllowsLinkPreview( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1082,10 +1082,10 @@ func (x gen_WKWebView) InteractionState() ( return } -func (x gen_WKWebView) SetInteractionState_( +func (x gen_WKWebView) SetInteractionState( value objc.Ref, ) { - C.WKWebView_inst_setInteractionState_( + C.WKWebView_inst_setInteractionState( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1111,11 +1111,11 @@ func WKWebViewConfiguration_fromRef(ref objc.Ref) WKWebViewConfiguration { return WKWebViewConfiguration_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme_( +func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( urlSchemeHandler objc.Ref, urlScheme core.NSStringRef, ) { - C.WKWebViewConfiguration_inst_setURLSchemeHandler_forURLScheme_( + C.WKWebViewConfiguration_inst_setURLSchemeHandler_forURLScheme( unsafe.Pointer(x.Pointer()), objc.RefPointer(urlSchemeHandler), objc.RefPointer(urlScheme), @@ -1123,12 +1123,12 @@ func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme_( return } -func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme_( +func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( urlScheme core.NSStringRef, ) ( r0 objc.Object, ) { - ret := C.WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme_( + ret := C.WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme( unsafe.Pointer(x.Pointer()), objc.RefPointer(urlScheme), ) @@ -1156,10 +1156,10 @@ func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() ( return } -func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent_( +func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( value core.NSStringRef, ) { - C.WKWebViewConfiguration_inst_setApplicationNameForUserAgent_( + C.WKWebViewConfiguration_inst_setApplicationNameForUserAgent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1176,10 +1176,10 @@ func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() ( return } -func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains_( +func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( value bool, ) { - C.WKWebViewConfiguration_inst_setLimitsNavigationsToAppBoundDomains_( + C.WKWebViewConfiguration_inst_setLimitsNavigationsToAppBoundDomains( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1196,10 +1196,10 @@ func (x gen_WKWebViewConfiguration) Preferences() ( return } -func (x gen_WKWebViewConfiguration) SetPreferences_( +func (x gen_WKWebViewConfiguration) SetPreferences( value WKPreferencesRef, ) { - C.WKWebViewConfiguration_inst_setPreferences_( + C.WKWebViewConfiguration_inst_setPreferences( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1216,10 +1216,10 @@ func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() ( return } -func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits_( +func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( value bool, ) { - C.WKWebViewConfiguration_inst_setIgnoresViewportScaleLimits_( + C.WKWebViewConfiguration_inst_setIgnoresViewportScaleLimits( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1236,10 +1236,10 @@ func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() ( return } -func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering_( +func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( value bool, ) { - C.WKWebViewConfiguration_inst_setSuppressesIncrementalRendering_( + C.WKWebViewConfiguration_inst_setSuppressesIncrementalRendering( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1256,10 +1256,10 @@ func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() ( return } -func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback_( +func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( value bool, ) { - C.WKWebViewConfiguration_inst_setAllowsInlineMediaPlayback_( + C.WKWebViewConfiguration_inst_setAllowsInlineMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1276,10 +1276,10 @@ func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() ( return } -func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback_( +func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( value bool, ) { - C.WKWebViewConfiguration_inst_setAllowsAirPlayForMediaPlayback_( + C.WKWebViewConfiguration_inst_setAllowsAirPlayForMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1296,10 +1296,10 @@ func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() ( return } -func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback_( +func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( value bool, ) { - C.WKWebViewConfiguration_inst_setAllowsPictureInPictureMediaPlayback_( + C.WKWebViewConfiguration_inst_setAllowsPictureInPictureMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1316,10 +1316,10 @@ func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() ( return } -func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS_( +func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS( value bool, ) { - C.WKWebViewConfiguration_inst_setUpgradeKnownHostsToHTTPS_( + C.WKWebViewConfiguration_inst_setUpgradeKnownHostsToHTTPS( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1345,11 +1345,11 @@ func WKPreferences_fromRef(ref objc.Ref) WKPreferences { return WKPreferences_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKPreferences) SetValue_forKey_( +func (x gen_WKPreferences) SetValue_forKey( value objc.Ref, key core.NSStringRef, ) { - C.WKPreferences_inst_setValue_forKey_( + C.WKPreferences_inst_setValue_forKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), objc.RefPointer(key), @@ -1377,10 +1377,10 @@ func (x gen_WKPreferences) MinimumFontSize() ( return } -func (x gen_WKPreferences) SetMinimumFontSize_( +func (x gen_WKPreferences) SetMinimumFontSize( value core.CGFloat, ) { - C.WKPreferences_inst_setMinimumFontSize_( + C.WKPreferences_inst_setMinimumFontSize( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -1397,10 +1397,10 @@ func (x gen_WKPreferences) TabFocusesLinks() ( return } -func (x gen_WKPreferences) SetTabFocusesLinks_( +func (x gen_WKPreferences) SetTabFocusesLinks( value bool, ) { - C.WKPreferences_inst_setTabFocusesLinks_( + C.WKPreferences_inst_setTabFocusesLinks( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1417,10 +1417,10 @@ func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() ( return } -func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically_( +func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( value bool, ) { - C.WKPreferences_inst_setJavaScriptCanOpenWindowsAutomatically_( + C.WKPreferences_inst_setJavaScriptCanOpenWindowsAutomatically( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1437,10 +1437,10 @@ func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() ( return } -func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled_( +func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( value bool, ) { - C.WKPreferences_inst_setFraudulentWebsiteWarningEnabled_( + C.WKPreferences_inst_setFraudulentWebsiteWarningEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1457,10 +1457,10 @@ func (x gen_WKPreferences) IsTextInteractionEnabled() ( return } -func (x gen_WKPreferences) SetTextInteractionEnabled_( +func (x gen_WKPreferences) SetTextInteractionEnabled( value bool, ) { - C.WKPreferences_inst_setTextInteractionEnabled_( + C.WKPreferences_inst_setTextInteractionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) From 32ce7c5d710d071ee4648a6a33f055df83b6435c Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 11:38:09 -0700 Subject: [PATCH 03/13] examples: Reflect naming change --- examples/userdefaults/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/userdefaults/main.go b/examples/userdefaults/main.go index 14b2c7ab..39779277 100644 --- a/examples/userdefaults/main.go +++ b/examples/userdefaults/main.go @@ -8,7 +8,7 @@ import ( func main() { ud := core.NSUserDefaults_standardUserDefaults() - ud.SetURL_forKey_(core.URL("https://github.com/progrium/macdriver"), core.String("macdriver")) - u := ud.URLForKey_(core.String("macdriver")) + ud.SetURL_forKey(core.URL("https://github.com/progrium/macdriver"), core.String("macdriver")) + u := ud.URLForKey(core.String("macdriver")) fmt.Println("looked up 'macdriver' key in NSUserDefaults and got:", u) } From 0a93162a40a9ec635f479b88e3b463a1cef526fd Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 12:08:01 -0700 Subject: [PATCH 04/13] cocoa: Reflect naming changes --- cocoa/NSApplication.go | 21 +---------- cocoa/NSColor.go | 2 +- cocoa/NSControl.go | 2 +- cocoa/NSFont.go | 2 +- cocoa/NSImage.go | 12 +----- cocoa/NSImageView.go | 4 -- cocoa/NSLayoutManager.go | 12 ------ cocoa/NSMenu.go | 23 +----------- cocoa/NSMenuItem.go | 50 +++---------------------- cocoa/NSNib.go | 2 +- cocoa/NSPopover.go | 6 +-- cocoa/NSSound.go | 2 +- cocoa/NSStatusBar.go | 6 +-- cocoa/NSStatusBarButton.go | 6 +-- cocoa/NSStatusItem.go | 4 -- cocoa/NSTextContainer.go | 4 -- cocoa/NSTextView.go | 40 +------------------- cocoa/NSView.go | 40 +------------------- cocoa/NSWindow.go | 76 ++++---------------------------------- 19 files changed, 30 insertions(+), 284 deletions(-) diff --git a/cocoa/NSApplication.go b/cocoa/NSApplication.go index 98c609ec..2affcad3 100644 --- a/cocoa/NSApplication.go +++ b/cocoa/NSApplication.go @@ -49,25 +49,8 @@ func NSApp_WithDidLaunch(cb func(notification objc.Object)) NSApplication { } func (app NSApplication) Terminate() { - app.Terminate_(nil) + app.gen_NSApplication.Terminate(nil) } - -func (app NSApplication) SetDelegate(delegate objc.Object) { - app.SetDelegate_(delegate) -} - -func (app NSApplication) Delegate() objc.Object { - return app.gen_NSApplication.Delegate() -} - -func (app NSApplication) SetMainMenu(menu NSMenu) { - app.SetMainMenu_(menu) -} - func (app NSApplication) SetActivationPolicy(policy int) { - app.SetActivationPolicy_(core.NSInteger(policy)) -} - -func (app NSApplication) ActivateIgnoringOtherApps(flag bool) { - app.ActivateIgnoringOtherApps_(flag) + app.gen_NSApplication.SetActivationPolicy(core.NSInteger(policy)) } diff --git a/cocoa/NSColor.go b/cocoa/NSColor.go index 81fcc5fc..c88bafa6 100644 --- a/cocoa/NSColor.go +++ b/cocoa/NSColor.go @@ -5,7 +5,7 @@ import "github.com/progrium/macdriver/core" type NSColor struct{ gen_NSColor } func NSColor_Init(r, g, b, a float64) NSColor { - return NSColor_colorWithRed_green_blue_alpha_(core.CGFloat(r), core.CGFloat(g), core.CGFloat(b), core.CGFloat(a)) + return NSColor_colorWithRed_green_blue_alpha(core.CGFloat(r), core.CGFloat(g), core.CGFloat(b), core.CGFloat(a)) } func NSColor_Clear() NSColor { diff --git a/cocoa/NSControl.go b/cocoa/NSControl.go index 543d55a2..dd5a4579 100644 --- a/cocoa/NSControl.go +++ b/cocoa/NSControl.go @@ -9,5 +9,5 @@ type NSControl struct { } func NSControl_Init(frame core.NSRect) NSControl { - return NSControl_alloc().InitWithFrame__asNSControl(frame) + return NSControl_alloc().InitWithFrame_asNSControl(frame) } diff --git a/cocoa/NSFont.go b/cocoa/NSFont.go index 4c287773..a392c27a 100644 --- a/cocoa/NSFont.go +++ b/cocoa/NSFont.go @@ -7,7 +7,7 @@ import ( type NSFont struct{ gen_NSFont } func NSFont_Init(fontName string, size float64) NSFont { - return NSFont_fontWithName_size_( + return NSFont_fontWithName_size( core.String(fontName), core.CGFloat(size), ) diff --git a/cocoa/NSImage.go b/cocoa/NSImage.go index d77e2637..3f305e95 100644 --- a/cocoa/NSImage.go +++ b/cocoa/NSImage.go @@ -9,25 +9,17 @@ type NSImage struct { } func NSImage_InitWithData(data core.NSDataRef) NSImage { - return NSImage_alloc().InitWithData__asNSImage(data) + return NSImage_alloc().InitWithData_asNSImage(data) } func NSImage_InitWithURL(url core.NSURL) NSImage { - return NSImage_alloc().InitWithContentsOfURL__asNSImage(url) + return NSImage_alloc().InitWithContentsOfURL_asNSImage(url) } func NSImage_ImageNamed(name string) NSImage { return NSImage_fromRef(NSImage_alloc().Send("imageNamed:", core.String(name))) } -func (i NSImage) SetSize(size core.NSSize) { - i.SetSize_(size) -} - -func (i NSImage) SetTemplate(b bool) { - i.SetTemplate_(b) -} - func (i NSImage) SetValueForKey(value, key interface{}) { i.Send("setValue:forKey:", value, key) } diff --git a/cocoa/NSImageView.go b/cocoa/NSImageView.go index 8ab114ef..4c6fea8c 100644 --- a/cocoa/NSImageView.go +++ b/cocoa/NSImageView.go @@ -7,7 +7,3 @@ type NSImageView struct { func NSImageView_New() NSImageView { return NSImageView_alloc().Init_asNSImageView() } - -func (imgView NSImageView) SetImage(img NSImageRef) { - imgView.gen_NSImageView.SetImage_(img) -} diff --git a/cocoa/NSLayoutManager.go b/cocoa/NSLayoutManager.go index f777182c..2b4fe7d0 100644 --- a/cocoa/NSLayoutManager.go +++ b/cocoa/NSLayoutManager.go @@ -1,17 +1,5 @@ package cocoa -import ( - "github.com/progrium/macdriver/core" -) - type NSLayoutManager struct { gen_NSLayoutManager } - -func (lm NSLayoutManager) EnsureLayoutForTextContainer(tc NSTextContainerRef) { - lm.EnsureLayoutForTextContainer_(tc) -} - -func (lm NSLayoutManager) UsedRectForTextContainer(tc NSTextContainerRef) (rect core.NSRect) { - return lm.UsedRectForTextContainer_(tc) -} diff --git a/cocoa/NSMenu.go b/cocoa/NSMenu.go index 7ec73b38..cb30923b 100644 --- a/cocoa/NSMenu.go +++ b/cocoa/NSMenu.go @@ -2,7 +2,6 @@ package cocoa import ( "github.com/progrium/macdriver/core" - "github.com/progrium/macdriver/objc" ) type NSMenu struct { @@ -14,29 +13,9 @@ func NSMenu_New() NSMenu { } func NSMenu_Init(title string) NSMenu { - return NSMenu_alloc().InitWithTitle__asNSMenu(core.String(title)) -} - -func (menu NSMenu) SetTitle(title string) { - menu.SetTitle_(core.String(title)) + return NSMenu_alloc().InitWithTitle_asNSMenu(core.String(title)) } func (menu NSMenu) Title() string { return menu.gen_NSMenu.Title().String() } - -func (menu NSMenu) AddItem(item NSMenuItemRef) { - menu.AddItem_(item) -} - -func (menu NSMenu) RemoveItem(item NSMenuItemRef) { - menu.RemoveItem_(item) -} - -func (menu NSMenu) SetAutoenablesItems(b bool) { - menu.SetAutoenablesItems_(b) -} - -func (menu NSMenu) SetDelegate(delegate objc.Object) { - menu.SetDelegate_(delegate) -} diff --git a/cocoa/NSMenuItem.go b/cocoa/NSMenuItem.go index 46a2703d..369ac171 100644 --- a/cocoa/NSMenuItem.go +++ b/cocoa/NSMenuItem.go @@ -14,7 +14,7 @@ type NSMenuItem struct { // NSMenuItem_Init returns an initialized instance of NSMenuItem. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc func NSMenuItem_Init(itemName string, action objc.Selector, keyEquivalent string) NSMenuItem { - return NSMenuItem_alloc().InitWithTitle_action_keyEquivalent__asNSMenuItem( + return NSMenuItem_alloc().InitWithTitle_action_keyEquivalent_asNSMenuItem( core.String(itemName), action, core.String(keyEquivalent)) } @@ -29,36 +29,18 @@ func NSMenuItem_Separator() NSMenuItem { return NSMenuItem_separatorItem() } -// SetSubmenu sets the submenu of the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc -func (i NSMenuItem) SetSubmenu(submenu NSMenuRef) { - i.SetSubmenu_(submenu) -} - // Hidden returns a boolean value that indicates whether the menu item is hidden. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc func (i NSMenuItem) Hidden() bool { return i.IsHidden() } -// SetHidden sets a boolean value that indicates whether the menu item is hidden. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc -func (i NSMenuItem) SetHidden(b bool) { - i.SetHidden_(b) -} - // Enabled returns a boolean value that indicates whether the menu item is enabled. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc func (i NSMenuItem) Enabled() bool { return i.IsEnabled() } -// SetEnabled sets a boolean value that indicates whether the menu item is enabled. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc -func (i NSMenuItem) SetEnabled(b bool) { - i.SetEnabled_(b) -} - // Title returns the menu item's title. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc func (i NSMenuItem) Title() string { @@ -68,19 +50,13 @@ func (i NSMenuItem) Title() string { // SetTitle sets the menu item's title. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc func (i NSMenuItem) SetTitle(s string) { - i.SetTitle_(core.String(s)) + i.gen_NSMenuItem.SetTitle(core.String(s)) } // SetAttributedTitle sets a custom string for the menu item's title. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc func (i NSMenuItem) SetAttributedTitle(s string) { - i.SetAttributedTitle_(core.NSAttributedString_FromString(s)) -} - -// SetImage sets the menu item’s image. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc -func (i NSMenuItem) SetImage(obj NSImage) { - i.SetImage_(obj) + i.gen_NSMenuItem.SetAttributedTitle(core.NSAttributedString_FromString(s)) } // ToolTip returns a help tag for the menu item. @@ -92,7 +68,7 @@ func (i NSMenuItem) ToolTip() string { // SetToolTip sets a help tag for the menu item. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc func (i NSMenuItem) SetToolTip(s string) { - i.SetToolTip_(core.String(s)) + i.gen_NSMenuItem.SetToolTip(core.String(s)) } // Target returns the menu item's target. @@ -101,32 +77,16 @@ func (i NSMenuItem) Target() objc.Object { return i.gen_NSMenuItem.Target() } -// SetTarget sets the menu item's target. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc -func (i NSMenuItem) SetTarget(obj objc.Object) { - i.SetTarget_(obj) -} - -func (i NSMenuItem) SetView(obj NSViewRef) { - i.SetView_(obj) -} - // Action returns the menu item's action-method selector. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc func (i NSMenuItem) Action() objc.Selector { return objc.Sel(i.Get("action").String()) } -// SetAction sets the menu item's action-method selector. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc -func (i NSMenuItem) SetAction(sel objc.Selector) { - i.SetAction_(sel) -} - // SetState sets the state of the menu item. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc func (i NSMenuItem) SetState(state int) { - i.SetState_(core.NSInteger(state)) + i.gen_NSMenuItem.SetState(core.NSInteger(state)) } // State returns the state of the menu item. diff --git a/cocoa/NSNib.go b/cocoa/NSNib.go index 082e09d9..9e56b31e 100644 --- a/cocoa/NSNib.go +++ b/cocoa/NSNib.go @@ -16,7 +16,7 @@ func NSNib_InitWithNibNamed_Bundle(name string, bundle NSBundle) NSNib { } func NSNib_InitWithNibData_Bundle(data core.NSDataRef, bundle NSBundleRef) NSNib { - return NSNib_alloc().InitWithNibData_bundle__asNSNib(data, bundle) + return NSNib_alloc().InitWithNibData_bundle_asNSNib(data, bundle) } func (nib NSNib) InstantiateWithOwner_TopLevelObjects(owner objc.Object) (core.NSArray, bool) { diff --git a/cocoa/NSPopover.go b/cocoa/NSPopover.go index fbc56661..9445a784 100644 --- a/cocoa/NSPopover.go +++ b/cocoa/NSPopover.go @@ -22,11 +22,7 @@ func (p NSPopover) SetContentSize(s core.NSSize) { } func (p NSPopover) SetBehavior(b int) { - p.SetBehavior_(core.NSInteger(b)) -} - -func (p NSPopover) SetAnimates(b bool) { - p.SetAnimates_(b) + p.gen_NSPopover.SetBehavior(core.NSInteger(b)) } func (p NSPopover) SetDelegate(delegate objc.Object) { diff --git a/cocoa/NSSound.go b/cocoa/NSSound.go index 0d4d8468..1d5bf0b3 100644 --- a/cocoa/NSSound.go +++ b/cocoa/NSSound.go @@ -9,7 +9,7 @@ type NSSound struct { } func NSSound_InitWithData(data core.NSDataRef) NSSound { - return NSSound_alloc().InitWithData__asNSSound(data) + return NSSound_alloc().InitWithData_asNSSound(data) } func (sound NSSound) Play() { diff --git a/cocoa/NSStatusBar.go b/cocoa/NSStatusBar.go index af16720e..9c326561 100644 --- a/cocoa/NSStatusBar.go +++ b/cocoa/NSStatusBar.go @@ -18,9 +18,5 @@ func NSStatusBar_System() NSStatusBar { } func (sb NSStatusBar) StatusItemWithLength(l float64) NSStatusItem { - return sb.StatusItemWithLength_(core.CGFloat(l)) -} - -func (sb NSStatusBar) RemoveStatusItem(i NSStatusItemRef) { - sb.RemoveStatusItem_(i) + return sb.gen_NSStatusBar.StatusItemWithLength(core.CGFloat(l)) } diff --git a/cocoa/NSStatusBarButton.go b/cocoa/NSStatusBarButton.go index 6dd23481..e6185ab1 100644 --- a/cocoa/NSStatusBarButton.go +++ b/cocoa/NSStatusBarButton.go @@ -21,11 +21,7 @@ func (b NSStatusBarButton) Title() string { } func (b NSStatusBarButton) SetTitle(s string) { - b.SetTitle_(core.String(s)) -} - -func (b NSStatusBarButton) SetImage(obj NSImageRef) { - b.SetImage_(obj) + b.gen_NSStatusBarButton.SetTitle(core.String(s)) } func (b NSStatusBarButton) ToolTip() string { diff --git a/cocoa/NSStatusItem.go b/cocoa/NSStatusItem.go index e2498936..f3df6ada 100644 --- a/cocoa/NSStatusItem.go +++ b/cocoa/NSStatusItem.go @@ -12,10 +12,6 @@ func (i NSStatusItem) Button() NSStatusBarButton { return NSStatusBarButton_fromRef(i.Get("button")) } -func (i NSStatusItem) SetMenu(menu NSMenu) { - i.SetMenu_(menu) -} - func (i NSStatusItem) Menu() NSMenu { return NSMenu_fromRef(i.Get("menu")) } diff --git a/cocoa/NSTextContainer.go b/cocoa/NSTextContainer.go index 3f34bedb..14116e30 100644 --- a/cocoa/NSTextContainer.go +++ b/cocoa/NSTextContainer.go @@ -3,7 +3,3 @@ package cocoa type NSTextContainer struct { gen_NSTextContainer } - -func (tc NSTextContainer) SetHeightTracksTextView(b bool) { - tc.SetHeightTracksTextView_(b) -} diff --git a/cocoa/NSTextView.go b/cocoa/NSTextView.go index 8d390aba..65a452c8 100644 --- a/cocoa/NSTextView.go +++ b/cocoa/NSTextView.go @@ -19,7 +19,7 @@ type NSTextView struct { } func NSTextView_Init(frame core.NSRect) NSTextView { - return NSTextView_alloc().InitWithFrame__asNSTextView(frame) + return NSTextView_alloc().InitWithFrame_asNSTextView(frame) } func (v NSTextView) String() string { @@ -27,57 +27,25 @@ func (v NSTextView) String() string { } func (v NSTextView) SetString(s string) { - v.SetString_(core.String(s)) + v.gen_NSTextView.SetString(core.String(s)) } func (v NSTextView) Selectable() bool { return v.IsSelectable() } -func (v NSTextView) SetSelectable(b bool) { - v.SetSelectable_(b) -} - func (v NSTextView) RichText() bool { return v.IsRichText() } -func (v NSTextView) SetRichText(b bool) { - v.SetRichText_(b) -} - func (v NSTextView) Editable() bool { return v.IsEditable() } -func (v NSTextView) SetEditable(b bool) { - v.SetEditable_(b) -} - func (v NSTextView) FieldEditor() bool { return v.IsFieldEditor() } -func (v NSTextView) SetFieldEditor(b bool) { - v.SetFieldEditor_(b) -} - -func (v NSTextView) SetImportsGraphics(b bool) { - v.SetImportsGraphics_(b) -} - -func (v NSTextView) SetDrawsBackground(b bool) { - v.SetDrawsBackground_(b) -} - -func (v NSTextView) SetFont(f NSFont) { - v.SetFont_(f) -} - -func (v NSTextView) SetTextColor(c NSColorRef) { - v.SetTextColor_(c) -} - // TODO(mgood): once `NSTextAlignment` is defined in the schema we can use the // generated methods on the `NSText` parent class here func (v NSTextView) Alignment() NSTextAlignment { @@ -87,7 +55,3 @@ func (v NSTextView) Alignment() NSTextAlignment { func (v NSTextView) SetAlignment(d NSTextAlignment) { v.Set("alignment:", d) } - -func (v NSTextView) SetTextContainer(tc NSTextContainer) { - v.SetTextContainer_(tc) -} diff --git a/cocoa/NSView.go b/cocoa/NSView.go index 8ba323b6..54124553 100644 --- a/cocoa/NSView.go +++ b/cocoa/NSView.go @@ -10,47 +10,11 @@ type NSView struct { } func NSView_Init(frame core.NSRect) NSView { - return NSView_alloc().InitWithFrame__asNSView(frame) -} - -func (v NSView) SetBackgroundColor(color NSColor) { - v.SetBackgroundColor_(color) -} - -func (v NSView) SetWantsLayer(b bool) { - v.SetWantsLayer_(b) + return NSView_alloc().InitWithFrame_asNSView(frame) } func (v NSView) AddSubviewPositionedRelativeTo(subview NSViewRef, positioned int, relativeTo NSViewRef) { - v.AddSubview_positioned_relativeTo_(subview, core.NSUInteger(positioned), relativeTo) -} - -func (v NSView) AddSubview(subview NSViewRef) { - v.AddSubview_(subview) -} - -func (v NSView) SetFrameOrigin(p core.NSPoint) { - v.SetFrameOrigin_(p) -} - -func (v NSView) SetFrameSize(s core.NSSize) { - v.SetFrameSize_(s) -} - -func (v NSView) SetFrame(r core.NSRect) { - v.SetFrame_(r) -} - -func (v NSView) SetBoundsOrigin(p core.NSPoint) { - v.SetBoundsOrigin_(p) -} - -func (v NSView) SetBoundsSize(s core.NSSize) { - v.SetBoundsSize_(s) -} - -func (v NSView) SetBounds(r core.NSRect) { - v.SetBounds_(r) + v.AddSubview_positioned_relativeTo(subview, core.NSUInteger(positioned), relativeTo) } func (v NSView) SetOpaque(b bool) { diff --git a/cocoa/NSWindow.go b/cocoa/NSWindow.go index a82b17f8..a14e7a1a 100644 --- a/cocoa/NSWindow.go +++ b/cocoa/NSWindow.go @@ -16,21 +16,17 @@ func NSWindow_New() NSWindow { } func NSWindow_WithContentViewController(controller NSViewControllerRef) NSWindow { - return NSWindow_windowWithContentViewController_(controller) + return NSWindow_windowWithContentViewController(controller) } func NSWindow_Init(rect core.NSRect, windowStyle core.NSUInteger, bufferingType NSBackingStoreType, deferCreation bool) NSWindow { - return NSWindow_alloc().InitWithContentRect_styleMask_backing_defer__asNSWindow( + return NSWindow_alloc().InitWithContentRect_styleMask_backing_defer_asNSWindow( rect, core.NSUInteger(windowStyle), core.NSUInteger(bufferingType), deferCreation, ) } -func (w NSWindow) MakeKeyAndOrderFront(sender objc.Object) { - w.MakeKeyAndOrderFront_(sender) -} - func (w NSWindow) SetLevel(level int) { - w.SetLevel_(core.NSInteger(level)) + w.gen_NSWindow.SetLevel(core.NSInteger(level)) } func (w NSWindow) Level() int64 { @@ -38,7 +34,7 @@ func (w NSWindow) Level() int64 { } func (w NSWindow) SetStyleMask(mask uint) { - w.SetStyleMask_(core.NSUInteger(mask)) + w.gen_NSWindow.SetStyleMask(core.NSUInteger(mask)) } func (w NSWindow) StyleMask() uint { @@ -46,63 +42,31 @@ func (w NSWindow) StyleMask() uint { } func (w NSWindow) SetTitle(title string) { - w.SetTitle_(core.String(title)) + w.gen_NSWindow.SetTitle(core.String(title)) } func (w NSWindow) Title() string { return w.gen_NSWindow.Title().String() } -func (w NSWindow) SetContentView(view NSViewRef) { - w.SetContentView_(view) -} - -func (w NSWindow) ToggleFullScreen(s objc.Object) { - w.ToggleFullScreen_(s) -} - -func (w NSWindow) ContentRectForFrameRect(frameRect core.NSRect) (rect core.NSRect) { - return w.ContentRectForFrameRect_(frameRect) -} - -func (w NSWindow) SetTitlebarAppearsTransparent(b bool) { - w.SetTitlebarAppearsTransparent_(b) -} - func (w NSWindow) SetTitleVisibility(v int) { - w.SetTitleVisibility_(core.NSInteger(v)) + w.gen_NSWindow.SetTitleVisibility(core.NSInteger(v)) } func (w NSWindow) TitleVisibility() int64 { return int64(w.gen_NSWindow.TitleVisibility()) } -func (w NSWindow) SetOpaque(b bool) { - w.SetOpaque_(b) -} - func (w NSWindow) Opaque() bool { return w.IsOpaque() } -func (w NSWindow) SetIgnoresMouseEvents(b bool) { - w.SetIgnoresMouseEvents_(b) -} - -func (w NSWindow) SetMovableByWindowBackground(b bool) { - w.SetMovableByWindowBackground_(b) -} - func (w NSWindow) MovableByWindowBackground() bool { return w.IsMovableByWindowBackground() } -func (w NSWindow) SetBackgroundColor(color NSColor) { - w.SetBackgroundColor_(color) -} - func (w NSWindow) SetFrameDisplay(frame core.NSRect, display bool) { - w.SetFrame_display_(frame, display) + w.SetFrame_display(frame, display) } func (w NSWindow) CollectionBehavior() uint { @@ -110,29 +74,5 @@ func (w NSWindow) CollectionBehavior() uint { } func (w NSWindow) SetCollectionBehavior(collectionBehavior uint) { - w.SetCollectionBehavior_(core.NSUInteger(collectionBehavior)) -} - -// SetHasShadow sets a Boolean value that indicates whether the window has a shadow. -// https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc -func (w NSWindow) SetHasShadow(b bool) { - w.SetHasShadow_(b) -} - -// OrderOut removes the window from the screen list, which hides the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419660-orderout?language=objc -func (w NSWindow) OrderOut(sender objc.Object) { - w.OrderOut_(sender) -} - -// OrderFront moves the window to the front of its level in the screen list, without changing either the key window or the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419495-orderfront?language=objc -func (w NSWindow) OrderFront(sender objc.Object) { - w.OrderFront_(sender) -} - -// OrderBack moves the window to the back of its level in the screen list, without changing either the key window or the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419204-orderback?language=objc -func (w NSWindow) OrderBack(sender objc.Object) { - w.OrderBack_(sender) + w.gen_NSWindow.SetCollectionBehavior(core.NSUInteger(collectionBehavior)) } From 7aa41bc2a8cf14eb6d7ae7721d389a0a32d0e088 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 13:05:53 -0700 Subject: [PATCH 05/13] macdriver: Add state around name generation --- cocoa/cocoa_objc.gen.go | 6744 ++++++++++++++++++------------------- core/core_objc.gen.go | 2354 ++++++------- gen/convert.go | 4 +- gen/gen.go | 21 +- gen/gen_class_builder.go | 13 +- webkit/webkit_objc.gen.go | 256 +- 6 files changed, 4707 insertions(+), 4685 deletions(-) diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index 20f3fec7..c678d708 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -568,21 +568,15 @@ BOOL NSView_type_compatibleWithResponsiveScrolling() { } -void* NSBundle_inst_initWithURL(void *id, void* url) { - return [(NSBundle*)id - initWithURL: url]; -} - -void* NSBundle_inst_initWithPath(void *id, void* path) { +void* NSBundle_inst_URLForAuxiliaryExecutable(void *id, void* executableName) { return [(NSBundle*)id - initWithPath: path]; + URLForAuxiliaryExecutable: executableName]; } -void* NSBundle_inst_loadNibNamed_owner_options(void *id, void* name, void* owner, void* options) { +void* NSBundle_inst_URLForResource_withExtension(void *id, void* name, void* ext) { return [(NSBundle*)id - loadNibNamed: name - owner: owner - options: options]; + URLForResource: name + withExtension: ext]; } void* NSBundle_inst_URLForResource_withExtension_subdirectory(void *id, void* name, void* ext, void* subpath) { @@ -592,10 +586,12 @@ void* NSBundle_inst_URLForResource_withExtension_subdirectory(void *id, void* na subdirectory: subpath]; } -void* NSBundle_inst_URLForResource_withExtension(void *id, void* name, void* ext) { +void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization(void *id, void* name, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id URLForResource: name - withExtension: ext]; + withExtension: ext + subdirectory: subpath + localization: localizationName]; } void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory(void *id, void* ext, void* subpath) { @@ -604,14 +600,6 @@ void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory(void *id, void* e subdirectory: subpath]; } -void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization(void *id, void* name, void* ext, void* subpath, void* localizationName) { - return [(NSBundle*)id - URLForResource: name - withExtension: ext - subdirectory: subpath - localization: localizationName]; -} - void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization(void *id, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id URLsForResourcesWithExtension: ext @@ -619,38 +607,33 @@ void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization(void localization: localizationName]; } -void* NSBundle_inst_pathForResource_ofType(void *id, void* name, void* ext) { +void* NSBundle_inst_initWithPath(void *id, void* path) { return [(NSBundle*)id - pathForResource: name - ofType: ext]; + initWithPath: path]; } -void* NSBundle_inst_pathForResource_ofType_inDirectory(void *id, void* name, void* ext, void* subpath) { +void* NSBundle_inst_initWithURL(void *id, void* url) { return [(NSBundle*)id - pathForResource: name - ofType: ext - inDirectory: subpath]; + initWithURL: url]; } -void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization(void *id, void* name, void* ext, void* subpath, void* localizationName) { +BOOL NSBundle_inst_load(void *id) { return [(NSBundle*)id - pathForResource: name - ofType: ext - inDirectory: subpath - forLocalization: localizationName]; + load]; } -void* NSBundle_inst_pathsForResourcesOfType_inDirectory(void *id, void* ext, void* subpath) { +void* NSBundle_inst_loadNibNamed_owner_options(void *id, void* name, void* owner, void* options) { return [(NSBundle*)id - pathsForResourcesOfType: ext - inDirectory: subpath]; + loadNibNamed: name + owner: owner + options: options]; } -void* NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization(void *id, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_localizedAttributedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { return [(NSBundle*)id - pathsForResourcesOfType: ext - inDirectory: subpath - forLocalization: localizationName]; + localizedAttributedStringForKey: key + value: value + table: tableName]; } void* NSBundle_inst_localizedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { @@ -660,9 +643,9 @@ void* NSBundle_inst_localizedStringForKey_value_table(void *id, void* key, void* table: tableName]; } -void* NSBundle_inst_URLForAuxiliaryExecutable(void *id, void* executableName) { +void* NSBundle_inst_objectForInfoDictionaryKey(void *id, void* key) { return [(NSBundle*)id - URLForAuxiliaryExecutable: executableName]; + objectForInfoDictionaryKey: key]; } void* NSBundle_inst_pathForAuxiliaryExecutable(void *id, void* executableName) { @@ -670,26 +653,43 @@ void* NSBundle_inst_pathForAuxiliaryExecutable(void *id, void* executableName) { pathForAuxiliaryExecutable: executableName]; } -void* NSBundle_inst_objectForInfoDictionaryKey(void *id, void* key) { +void* NSBundle_inst_pathForResource_ofType(void *id, void* name, void* ext) { return [(NSBundle*)id - objectForInfoDictionaryKey: key]; + pathForResource: name + ofType: ext]; } -BOOL NSBundle_inst_load(void *id) { +void* NSBundle_inst_pathForResource_ofType_inDirectory(void *id, void* name, void* ext, void* subpath) { return [(NSBundle*)id - load]; + pathForResource: name + ofType: ext + inDirectory: subpath]; } -BOOL NSBundle_inst_unload(void *id) { +void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization(void *id, void* name, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id - unload]; + pathForResource: name + ofType: ext + inDirectory: subpath + forLocalization: localizationName]; } -void* NSBundle_inst_localizedAttributedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { +void* NSBundle_inst_pathsForResourcesOfType_inDirectory(void *id, void* ext, void* subpath) { return [(NSBundle*)id - localizedAttributedStringForKey: key - value: value - table: tableName]; + pathsForResourcesOfType: ext + inDirectory: subpath]; +} + +void* NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization(void *id, void* ext, void* subpath, void* localizationName) { + return [(NSBundle*)id + pathsForResourcesOfType: ext + inDirectory: subpath + forLocalization: localizationName]; +} + +BOOL NSBundle_inst_unload(void *id) { + return [(NSBundle*)id + unload]; } void* NSBundle_inst_init(void *id) { @@ -889,130 +889,130 @@ BOOL NSSound_inst_isPlaying(void *id) { isPlaying]; } -void NSApplication_inst_run(void *id) { +void NSApplication_inst_activateContextHelpMode(void *id, void* sender) { [(NSApplication*)id - run]; + activateContextHelpMode: sender]; } -void NSApplication_inst_finishLaunching(void *id) { +void NSApplication_inst_activateIgnoringOtherApps(void *id, BOOL flag) { [(NSApplication*)id - finishLaunching]; + activateIgnoringOtherApps: flag]; } -void NSApplication_inst_stop(void *id, void* sender) { - [(NSApplication*)id - stop: sender]; +long NSApplication_inst_activationPolicy(void *id) { + return [(NSApplication*)id + activationPolicy]; } -void NSApplication_inst_sendEvent(void *id, void* event) { +void NSApplication_inst_cancelUserAttentionRequest(void *id, long request) { [(NSApplication*)id - sendEvent: event]; + cancelUserAttentionRequest: request]; } -void NSApplication_inst_postEvent_atStart(void *id, void* event, BOOL flag) { +void NSApplication_inst_deactivate(void *id) { [(NSApplication*)id - postEvent: event - atStart: flag]; + deactivate]; } -BOOL NSApplication_inst_tryToPerform_with(void *id, void* action, void* object) { - return [(NSApplication*)id - tryToPerform: action - with: object]; +void NSApplication_inst_disableRelaunchOnLogin(void *id) { + [(NSApplication*)id + disableRelaunchOnLogin]; } -BOOL NSApplication_inst_sendAction_to_from(void *id, void* action, void* target, void* sender) { - return [(NSApplication*)id - sendAction: action - to: target - from: sender]; +void NSApplication_inst_enableRelaunchOnLogin(void *id) { + [(NSApplication*)id + enableRelaunchOnLogin]; } -void* NSApplication_inst_targetForAction(void *id, void* action) { - return [(NSApplication*)id - targetForAction: action]; +void NSApplication_inst_finishLaunching(void *id) { + [(NSApplication*)id + finishLaunching]; } -void* NSApplication_inst_targetForAction_to_from(void *id, void* action, void* target, void* sender) { - return [(NSApplication*)id - targetForAction: action - to: target - from: sender]; +void NSApplication_inst_hideOtherApplications(void *id, void* sender) { + [(NSApplication*)id + hideOtherApplications: sender]; } -void NSApplication_inst_terminate(void *id, void* sender) { +void NSApplication_inst_postEvent_atStart(void *id, void* event, BOOL flag) { [(NSApplication*)id - terminate: sender]; + postEvent: event + atStart: flag]; } -void NSApplication_inst_replyToApplicationShouldTerminate(void *id, BOOL shouldTerminate) { +void NSApplication_inst_registerForRemoteNotifications(void *id) { [(NSApplication*)id - replyToApplicationShouldTerminate: shouldTerminate]; + registerForRemoteNotifications]; } -void NSApplication_inst_activateIgnoringOtherApps(void *id, BOOL flag) { +void NSApplication_inst_registerUserInterfaceItemSearchHandler(void *id, void* handler) { [(NSApplication*)id - activateIgnoringOtherApps: flag]; + registerUserInterfaceItemSearchHandler: handler]; } -void NSApplication_inst_deactivate(void *id) { +void NSApplication_inst_replyToApplicationShouldTerminate(void *id, BOOL shouldTerminate) { [(NSApplication*)id - deactivate]; + replyToApplicationShouldTerminate: shouldTerminate]; } -void NSApplication_inst_disableRelaunchOnLogin(void *id) { +void NSApplication_inst_run(void *id) { [(NSApplication*)id - disableRelaunchOnLogin]; + run]; } -void NSApplication_inst_enableRelaunchOnLogin(void *id) { - [(NSApplication*)id - enableRelaunchOnLogin]; +BOOL NSApplication_inst_sendAction_to_from(void *id, void* action, void* target, void* sender) { + return [(NSApplication*)id + sendAction: action + to: target + from: sender]; } -void NSApplication_inst_registerForRemoteNotifications(void *id) { +void NSApplication_inst_sendEvent(void *id, void* event) { [(NSApplication*)id - registerForRemoteNotifications]; + sendEvent: event]; } -void NSApplication_inst_unregisterForRemoteNotifications(void *id) { - [(NSApplication*)id - unregisterForRemoteNotifications]; +BOOL NSApplication_inst_setActivationPolicy(void *id, long activationPolicy) { + return [(NSApplication*)id + setActivationPolicy: activationPolicy]; } -void NSApplication_inst_toggleTouchBarCustomizationPalette(void *id, void* sender) { +void NSApplication_inst_showHelp(void *id, void* sender) { [(NSApplication*)id - toggleTouchBarCustomizationPalette: sender]; + showHelp: sender]; } -void NSApplication_inst_cancelUserAttentionRequest(void *id, long request) { +void NSApplication_inst_stop(void *id, void* sender) { [(NSApplication*)id - cancelUserAttentionRequest: request]; + stop: sender]; } -void NSApplication_inst_registerUserInterfaceItemSearchHandler(void *id, void* handler) { - [(NSApplication*)id - registerUserInterfaceItemSearchHandler: handler]; +void* NSApplication_inst_targetForAction(void *id, void* action) { + return [(NSApplication*)id + targetForAction: action]; } -void NSApplication_inst_unregisterUserInterfaceItemSearchHandler(void *id, void* handler) { - [(NSApplication*)id - unregisterUserInterfaceItemSearchHandler: handler]; +void* NSApplication_inst_targetForAction_to_from(void *id, void* action, void* target, void* sender) { + return [(NSApplication*)id + targetForAction: action + to: target + from: sender]; } -void NSApplication_inst_showHelp(void *id, void* sender) { +void NSApplication_inst_terminate(void *id, void* sender) { [(NSApplication*)id - showHelp: sender]; + terminate: sender]; } -void NSApplication_inst_activateContextHelpMode(void *id, void* sender) { +void NSApplication_inst_toggleTouchBarCustomizationPalette(void *id, void* sender) { [(NSApplication*)id - activateContextHelpMode: sender]; + toggleTouchBarCustomizationPalette: sender]; } -void NSApplication_inst_hideOtherApplications(void *id, void* sender) { - [(NSApplication*)id - hideOtherApplications: sender]; +BOOL NSApplication_inst_tryToPerform_with(void *id, void* action, void* object) { + return [(NSApplication*)id + tryToPerform: action + with: object]; } void NSApplication_inst_unhideAllApplications(void *id, void* sender) { @@ -1020,14 +1020,14 @@ void NSApplication_inst_unhideAllApplications(void *id, void* sender) { unhideAllApplications: sender]; } -long NSApplication_inst_activationPolicy(void *id) { - return [(NSApplication*)id - activationPolicy]; +void NSApplication_inst_unregisterForRemoteNotifications(void *id) { + [(NSApplication*)id + unregisterForRemoteNotifications]; } -BOOL NSApplication_inst_setActivationPolicy(void *id, long activationPolicy) { - return [(NSApplication*)id - setActivationPolicy: activationPolicy]; +void NSApplication_inst_unregisterUserInterfaceItemSearchHandler(void *id, void* handler) { + [(NSApplication*)id + unregisterUserInterfaceItemSearchHandler: handler]; } void* NSApplication_inst_init(void *id) { @@ -1120,45 +1120,33 @@ void NSApplication_inst_setMainMenu(void *id, void* value) { setMainMenu: value]; } -void* NSControl_inst_initWithFrame(void *id, NSRect frameRect) { +BOOL NSControl_inst_abortEditing(void *id) { return [(NSControl*)id - initWithFrame: frameRect]; + abortEditing]; } -void NSControl_inst_takeDoubleValueFrom(void *id, void* sender) { - [(NSControl*)id - takeDoubleValueFrom: sender]; +void* NSControl_inst_currentEditor(void *id) { + return [(NSControl*)id + currentEditor]; } -void NSControl_inst_takeFloatValueFrom(void *id, void* sender) { +void NSControl_inst_drawWithExpansionFrame_inView(void *id, NSRect contentFrame, void* view) { [(NSControl*)id - takeFloatValueFrom: sender]; -} - -void NSControl_inst_takeIntValueFrom(void *id, void* sender) { - [(NSControl*)id - takeIntValueFrom: sender]; -} - -void NSControl_inst_takeIntegerValueFrom(void *id, void* sender) { - [(NSControl*)id - takeIntegerValueFrom: sender]; -} - -void NSControl_inst_takeObjectValueFrom(void *id, void* sender) { - [(NSControl*)id - takeObjectValueFrom: sender]; + drawWithExpansionFrame: contentFrame + inView: view]; } -void NSControl_inst_takeStringValueFrom(void *id, void* sender) { +void NSControl_inst_editWithFrame_editor_delegate_event(void *id, NSRect rect, void* textObj, void* delegate, void* event) { [(NSControl*)id - takeStringValueFrom: sender]; + editWithFrame: rect + editor: textObj + delegate: delegate + event: event]; } -void NSControl_inst_drawWithExpansionFrame_inView(void *id, NSRect contentFrame, void* view) { +void NSControl_inst_endEditing(void *id, void* textObj) { [(NSControl*)id - drawWithExpansionFrame: contentFrame - inView: view]; + endEditing: textObj]; } NSRect NSControl_inst_expansionFrameWithFrame(void *id, NSRect contentFrame) { @@ -1166,32 +1154,19 @@ NSRect NSControl_inst_expansionFrameWithFrame(void *id, NSRect contentFrame) { expansionFrameWithFrame: contentFrame]; } -BOOL NSControl_inst_abortEditing(void *id) { - return [(NSControl*)id - abortEditing]; -} - -void* NSControl_inst_currentEditor(void *id) { +void* NSControl_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSControl*)id - currentEditor]; -} - -void NSControl_inst_validateEditing(void *id) { - [(NSControl*)id - validateEditing]; + initWithFrame: frameRect]; } -void NSControl_inst_editWithFrame_editor_delegate_event(void *id, NSRect rect, void* textObj, void* delegate, void* event) { +void NSControl_inst_mouseDown(void *id, void* event) { [(NSControl*)id - editWithFrame: rect - editor: textObj - delegate: delegate - event: event]; + mouseDown: event]; } -void NSControl_inst_endEditing(void *id, void* textObj) { +void NSControl_inst_performClick(void *id, void* sender) { [(NSControl*)id - endEditing: textObj]; + performClick: sender]; } void NSControl_inst_selectWithFrame_editor_delegate_start_length(void *id, NSRect rect, void* textObj, void* delegate, long selStart, long selLength) { @@ -1203,6 +1178,12 @@ void NSControl_inst_selectWithFrame_editor_delegate_start_length(void *id, NSRec length: selLength]; } +BOOL NSControl_inst_sendAction_to(void *id, void* action, void* target) { + return [(NSControl*)id + sendAction: action + to: target]; +} + NSSize NSControl_inst_sizeThatFits(void *id, NSSize size) { return [(NSControl*)id sizeThatFits: size]; @@ -1213,20 +1194,39 @@ void NSControl_inst_sizeToFit(void *id) { sizeToFit]; } -BOOL NSControl_inst_sendAction_to(void *id, void* action, void* target) { - return [(NSControl*)id - sendAction: action - to: target]; +void NSControl_inst_takeDoubleValueFrom(void *id, void* sender) { + [(NSControl*)id + takeDoubleValueFrom: sender]; } -void NSControl_inst_performClick(void *id, void* sender) { +void NSControl_inst_takeFloatValueFrom(void *id, void* sender) { [(NSControl*)id - performClick: sender]; + takeFloatValueFrom: sender]; } -void NSControl_inst_mouseDown(void *id, void* event) { +void NSControl_inst_takeIntValueFrom(void *id, void* sender) { [(NSControl*)id - mouseDown: event]; + takeIntValueFrom: sender]; +} + +void NSControl_inst_takeIntegerValueFrom(void *id, void* sender) { + [(NSControl*)id + takeIntegerValueFrom: sender]; +} + +void NSControl_inst_takeObjectValueFrom(void *id, void* sender) { + [(NSControl*)id + takeObjectValueFrom: sender]; +} + +void NSControl_inst_takeStringValueFrom(void *id, void* sender) { + [(NSControl*)id + takeStringValueFrom: sender]; +} + +void NSControl_inst_validateEditing(void *id) { + [(NSControl*)id + validateEditing]; } void* NSControl_inst_init(void *id) { @@ -1399,26 +1399,26 @@ void NSButton_inst_compressWithPrioritizedCompressionOptions(void *id, void* pri compressWithPrioritizedCompressionOptions: prioritizedOptions]; } -NSSize NSButton_inst_minimumSizeWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { - return [(NSButton*)id - minimumSizeWithPrioritizedCompressionOptions: prioritizedOptions]; -} - -void NSButton_inst_setNextState(void *id) { - [(NSButton*)id - setNextState]; -} - void NSButton_inst_highlight(void *id, BOOL flag) { [(NSButton*)id highlight: flag]; } +NSSize NSButton_inst_minimumSizeWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { + return [(NSButton*)id + minimumSizeWithPrioritizedCompressionOptions: prioritizedOptions]; +} + BOOL NSButton_inst_performKeyEquivalent(void *id, void* key) { return [(NSButton*)id performKeyEquivalent: key]; } +void NSButton_inst_setNextState(void *id) { + [(NSButton*)id + setNextState]; +} + void* NSButton_inst_init(void *id) { return [(NSButton*)id init]; @@ -1809,16 +1809,16 @@ BOOL NSEvent_inst_isDirectionInvertedFromDevice(void *id) { isDirectionInvertedFromDevice]; } -void NSFont_inst_set(void *id) { - [(NSFont*)id - set]; -} - void* NSFont_inst_fontWithSize(void *id, double fontSize) { return [(NSFont*)id fontWithSize: fontSize]; } +void NSFont_inst_set(void *id) { + [(NSFont*)id + set]; +} + void* NSFont_inst_init(void *id) { return [(NSFont*)id init]; @@ -1869,6 +1869,21 @@ void* NSFont_inst_verticalFont(void *id) { verticalFont]; } +void NSImage_inst_addRepresentations(void *id, void* imageReps) { + [(NSImage*)id + addRepresentations: imageReps]; +} + +void NSImage_inst_cancelIncrementalLoad(void *id) { + [(NSImage*)id + cancelIncrementalLoad]; +} + +void NSImage_inst_drawInRect(void *id, NSRect rect) { + [(NSImage*)id + drawInRect: rect]; +} + void* NSImage_inst_initByReferencingFile(void *id, void* fileName) { return [(NSImage*)id initByReferencingFile: fileName]; @@ -1914,14 +1929,9 @@ BOOL NSImage_inst_isTemplate(void *id) { isTemplate]; } -void NSImage_inst_addRepresentations(void *id, void* imageReps) { - [(NSImage*)id - addRepresentations: imageReps]; -} - -void NSImage_inst_drawInRect(void *id, NSRect rect) { - [(NSImage*)id - drawInRect: rect]; +void* NSImage_inst_layerContentsForContentsScale(void *id, double layerContentsScale) { + return [(NSImage*)id + layerContentsForContentsScale: layerContentsScale]; } void NSImage_inst_lockFocus(void *id) { @@ -1934,31 +1944,21 @@ void NSImage_inst_lockFocusFlipped(void *id, BOOL flipped) { lockFocusFlipped: flipped]; } -void NSImage_inst_unlockFocus(void *id) { - [(NSImage*)id - unlockFocus]; -} - void NSImage_inst_recache(void *id) { [(NSImage*)id recache]; } -void NSImage_inst_cancelIncrementalLoad(void *id) { - [(NSImage*)id - cancelIncrementalLoad]; -} - -void* NSImage_inst_layerContentsForContentsScale(void *id, double layerContentsScale) { - return [(NSImage*)id - layerContentsForContentsScale: layerContentsScale]; -} - double NSImage_inst_recommendedLayerContentsScale(void *id, double preferredContentsScale) { return [(NSImage*)id recommendedLayerContentsScale: preferredContentsScale]; } +void NSImage_inst_unlockFocus(void *id) { + [(NSImage*)id + unlockFocus]; +} + void* NSImage_inst_init(void *id) { return [(NSImage*)id init]; @@ -2146,25 +2146,10 @@ void* NSNib_inst_init(void *id) { init]; } -void NSPasteboard_inst_releaseGlobally(void *id) { - [(NSPasteboard*)id - releaseGlobally]; -} - -long NSPasteboard_inst_clearContents(void *id) { - return [(NSPasteboard*)id - clearContents]; -} - -BOOL NSPasteboard_inst_writeObjects(void *id, void* objects) { - return [(NSPasteboard*)id - writeObjects: objects]; -} - -void* NSPasteboard_inst_readObjectsForClasses_options(void *id, void* classArray, void* options) { +long NSPasteboard_inst_addTypes_owner(void *id, void* newTypes, void* newOwner) { return [(NSPasteboard*)id - readObjectsForClasses: classArray - options: options]; + addTypes: newTypes + owner: newOwner]; } BOOL NSPasteboard_inst_canReadItemWithDataConformingToTypes(void *id, void* types) { @@ -2178,16 +2163,26 @@ BOOL NSPasteboard_inst_canReadObjectForClasses_options(void *id, void* classArra options: options]; } +long NSPasteboard_inst_clearContents(void *id) { + return [(NSPasteboard*)id + clearContents]; +} + long NSPasteboard_inst_declareTypes_owner(void *id, void* newTypes, void* newOwner) { return [(NSPasteboard*)id declareTypes: newTypes owner: newOwner]; } -long NSPasteboard_inst_addTypes_owner(void *id, void* newTypes, void* newOwner) { +void* NSPasteboard_inst_readObjectsForClasses_options(void *id, void* classArray, void* options) { return [(NSPasteboard*)id - addTypes: newTypes - owner: newOwner]; + readObjectsForClasses: classArray + options: options]; +} + +void NSPasteboard_inst_releaseGlobally(void *id) { + [(NSPasteboard*)id + releaseGlobally]; } BOOL NSPasteboard_inst_writeFileContents(void *id, void* filename) { @@ -2195,6 +2190,11 @@ BOOL NSPasteboard_inst_writeFileContents(void *id, void* filename) { writeFileContents: filename]; } +BOOL NSPasteboard_inst_writeObjects(void *id, void* objects) { + return [(NSPasteboard*)id + writeObjects: objects]; +} + void* NSPasteboard_inst_init(void *id) { return [(NSPasteboard*)id init]; @@ -2215,40 +2215,34 @@ long NSPasteboard_inst_changeCount(void *id) { changeCount]; } -void* NSLayoutManager_inst_init(void *id) { - return [(NSLayoutManager*)id - init]; -} - void NSLayoutManager_inst_addTextContainer(void *id, void* container) { [(NSLayoutManager*)id addTextContainer: container]; } -void NSLayoutManager_inst_insertTextContainer_atIndex(void *id, void* container, unsigned long index) { - [(NSLayoutManager*)id - insertTextContainer: container - atIndex: index]; +NSSize NSLayoutManager_inst_attachmentSizeForGlyphAtIndex(void *id, unsigned long glyphIndex) { + return [(NSLayoutManager*)id + attachmentSizeForGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_removeTextContainerAtIndex(void *id, unsigned long index) { - [(NSLayoutManager*)id - removeTextContainerAtIndex: index]; +unsigned long NSLayoutManager_inst_characterIndexForGlyphAtIndex(void *id, unsigned long glyphIndex) { + return [(NSLayoutManager*)id + characterIndexForGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_textContainerChangedGeometry(void *id, void* container) { - [(NSLayoutManager*)id - textContainerChangedGeometry: container]; +double NSLayoutManager_inst_defaultBaselineOffsetForFont(void *id, void* theFont) { + return [(NSLayoutManager*)id + defaultBaselineOffsetForFont: theFont]; } -void NSLayoutManager_inst_textContainerChangedTextView(void *id, void* container) { - [(NSLayoutManager*)id - textContainerChangedTextView: container]; +double NSLayoutManager_inst_defaultLineHeightForFont(void *id, void* theFont) { + return [(NSLayoutManager*)id + defaultLineHeightForFont: theFont]; } -NSRect NSLayoutManager_inst_usedRectForTextContainer(void *id, void* container) { +BOOL NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id - usedRectForTextContainer: container]; + drawsOutsideLineFragmentForGlyphAtIndex: glyphIndex]; } void NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer(void *id, NSRect bounds, void* container) { @@ -2262,14 +2256,30 @@ void NSLayoutManager_inst_ensureLayoutForTextContainer(void *id, void* container ensureLayoutForTextContainer: container]; } -unsigned long NSLayoutManager_inst_characterIndexForGlyphAtIndex(void *id, unsigned long glyphIndex) { +unsigned long NSLayoutManager_inst_firstUnlaidCharacterIndex(void *id) { return [(NSLayoutManager*)id - characterIndexForGlyphAtIndex: glyphIndex]; + firstUnlaidCharacterIndex]; } -unsigned long NSLayoutManager_inst_glyphIndexForCharacterAtIndex(void *id, unsigned long charIndex) { +unsigned long NSLayoutManager_inst_firstUnlaidGlyphIndex(void *id) { return [(NSLayoutManager*)id - glyphIndexForCharacterAtIndex: charIndex]; + firstUnlaidGlyphIndex]; +} + +unsigned long NSLayoutManager_inst_glyphIndexForCharacterAtIndex(void *id, unsigned long charIndex) { + return [(NSLayoutManager*)id + glyphIndexForCharacterAtIndex: charIndex]; +} + +void* NSLayoutManager_inst_init(void *id) { + return [(NSLayoutManager*)id + init]; +} + +void NSLayoutManager_inst_insertTextContainer_atIndex(void *id, void* container, unsigned long index) { + [(NSLayoutManager*)id + insertTextContainer: container + atIndex: index]; } BOOL NSLayoutManager_inst_isValidGlyphIndex(void *id, unsigned long glyphIndex) { @@ -2277,6 +2287,21 @@ BOOL NSLayoutManager_inst_isValidGlyphIndex(void *id, unsigned long glyphIndex) isValidGlyphIndex: glyphIndex]; } +BOOL NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow(void *id, void* window) { + return [(NSLayoutManager*)id + layoutManagerOwnsFirstResponderInWindow: window]; +} + +BOOL NSLayoutManager_inst_notShownAttributeForGlyphAtIndex(void *id, unsigned long glyphIndex) { + return [(NSLayoutManager*)id + notShownAttributeForGlyphAtIndex: glyphIndex]; +} + +void NSLayoutManager_inst_removeTextContainerAtIndex(void *id, unsigned long index) { + [(NSLayoutManager*)id + removeTextContainerAtIndex: index]; +} + void NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { [(NSLayoutManager*)id setDrawsOutsideLineFragment: flag @@ -2296,44 +2321,19 @@ void NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex(void *id, BOOL fl forGlyphAtIndex: glyphIndex]; } -NSSize NSLayoutManager_inst_attachmentSizeForGlyphAtIndex(void *id, unsigned long glyphIndex) { - return [(NSLayoutManager*)id - attachmentSizeForGlyphAtIndex: glyphIndex]; -} - -BOOL NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex(void *id, unsigned long glyphIndex) { - return [(NSLayoutManager*)id - drawsOutsideLineFragmentForGlyphAtIndex: glyphIndex]; -} - -unsigned long NSLayoutManager_inst_firstUnlaidCharacterIndex(void *id) { - return [(NSLayoutManager*)id - firstUnlaidCharacterIndex]; -} - -unsigned long NSLayoutManager_inst_firstUnlaidGlyphIndex(void *id) { - return [(NSLayoutManager*)id - firstUnlaidGlyphIndex]; -} - -BOOL NSLayoutManager_inst_notShownAttributeForGlyphAtIndex(void *id, unsigned long glyphIndex) { - return [(NSLayoutManager*)id - notShownAttributeForGlyphAtIndex: glyphIndex]; -} - -BOOL NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow(void *id, void* window) { - return [(NSLayoutManager*)id - layoutManagerOwnsFirstResponderInWindow: window]; +void NSLayoutManager_inst_textContainerChangedGeometry(void *id, void* container) { + [(NSLayoutManager*)id + textContainerChangedGeometry: container]; } -double NSLayoutManager_inst_defaultLineHeightForFont(void *id, void* theFont) { - return [(NSLayoutManager*)id - defaultLineHeightForFont: theFont]; +void NSLayoutManager_inst_textContainerChangedTextView(void *id, void* container) { + [(NSLayoutManager*)id + textContainerChangedTextView: container]; } -double NSLayoutManager_inst_defaultBaselineOffsetForFont(void *id, void* theFont) { +NSRect NSLayoutManager_inst_usedRectForTextContainer(void *id, void* container) { return [(NSLayoutManager*)id - defaultBaselineOffsetForFont: theFont]; + usedRectForTextContainer: container]; } void* NSLayoutManager_inst_delegate(void *id) { @@ -2456,25 +2456,6 @@ void* NSLayoutManager_inst_textViewForBeginningOfSelection(void *id) { textViewForBeginningOfSelection]; } -void* NSMenu_inst_initWithTitle(void *id, void* title) { - return [(NSMenu*)id - initWithTitle: title]; -} - -void NSMenu_inst_insertItem_atIndex(void *id, void* newItem, long index) { - [(NSMenu*)id - insertItem: newItem - atIndex: index]; -} - -void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex(void *id, void* string, void* selector, void* charCode, long index) { - return [(NSMenu*)id - insertItemWithTitle: string - action: selector - keyEquivalent: charCode - atIndex: index]; -} - void NSMenu_inst_addItem(void *id, void* newItem) { [(NSMenu*)id addItem: newItem]; @@ -2487,44 +2468,40 @@ void* NSMenu_inst_addItemWithTitle_action_keyEquivalent(void *id, void* string, keyEquivalent: charCode]; } -void NSMenu_inst_removeItem(void *id, void* item) { - [(NSMenu*)id - removeItem: item]; -} - -void NSMenu_inst_removeItemAtIndex(void *id, long index) { +void NSMenu_inst_cancelTracking(void *id) { [(NSMenu*)id - removeItemAtIndex: index]; + cancelTracking]; } -void NSMenu_inst_itemChanged(void *id, void* item) { +void NSMenu_inst_cancelTrackingWithoutAnimation(void *id) { [(NSMenu*)id - itemChanged: item]; + cancelTrackingWithoutAnimation]; } -void NSMenu_inst_removeAllItems(void *id) { - [(NSMenu*)id - removeAllItems]; +long NSMenu_inst_indexOfItem(void *id, void* item) { + return [(NSMenu*)id + indexOfItem: item]; } -void* NSMenu_inst_itemWithTag(void *id, long tag) { +long NSMenu_inst_indexOfItemWithRepresentedObject(void *id, void* object) { return [(NSMenu*)id - itemWithTag: tag]; + indexOfItemWithRepresentedObject: object]; } -void* NSMenu_inst_itemWithTitle(void *id, void* title) { +long NSMenu_inst_indexOfItemWithSubmenu(void *id, void* submenu) { return [(NSMenu*)id - itemWithTitle: title]; + indexOfItemWithSubmenu: submenu]; } -void* NSMenu_inst_itemAtIndex(void *id, long index) { +long NSMenu_inst_indexOfItemWithTag(void *id, long tag) { return [(NSMenu*)id - itemAtIndex: index]; + indexOfItemWithTag: tag]; } -long NSMenu_inst_indexOfItem(void *id, void* item) { +long NSMenu_inst_indexOfItemWithTarget_andAction(void *id, void* target, void* actionSelector) { return [(NSMenu*)id - indexOfItem: item]; + indexOfItemWithTarget: target + andAction: actionSelector]; } long NSMenu_inst_indexOfItemWithTitle(void *id, void* title) { @@ -2532,46 +2509,43 @@ long NSMenu_inst_indexOfItemWithTitle(void *id, void* title) { indexOfItemWithTitle: title]; } -long NSMenu_inst_indexOfItemWithTag(void *id, long tag) { +void* NSMenu_inst_initWithTitle(void *id, void* title) { return [(NSMenu*)id - indexOfItemWithTag: tag]; + initWithTitle: title]; } -long NSMenu_inst_indexOfItemWithTarget_andAction(void *id, void* target, void* actionSelector) { - return [(NSMenu*)id - indexOfItemWithTarget: target - andAction: actionSelector]; +void NSMenu_inst_insertItem_atIndex(void *id, void* newItem, long index) { + [(NSMenu*)id + insertItem: newItem + atIndex: index]; } -long NSMenu_inst_indexOfItemWithRepresentedObject(void *id, void* object) { +void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex(void *id, void* string, void* selector, void* charCode, long index) { return [(NSMenu*)id - indexOfItemWithRepresentedObject: object]; + insertItemWithTitle: string + action: selector + keyEquivalent: charCode + atIndex: index]; } -long NSMenu_inst_indexOfItemWithSubmenu(void *id, void* submenu) { +void* NSMenu_inst_itemAtIndex(void *id, long index) { return [(NSMenu*)id - indexOfItemWithSubmenu: submenu]; -} - -void NSMenu_inst_setSubmenu_forItem(void *id, void* menu, void* item) { - [(NSMenu*)id - setSubmenu: menu - forItem: item]; + itemAtIndex: index]; } -void NSMenu_inst_submenuAction(void *id, void* sender) { +void NSMenu_inst_itemChanged(void *id, void* item) { [(NSMenu*)id - submenuAction: sender]; + itemChanged: item]; } -void NSMenu_inst_update(void *id) { - [(NSMenu*)id - update]; +void* NSMenu_inst_itemWithTag(void *id, long tag) { + return [(NSMenu*)id + itemWithTag: tag]; } -BOOL NSMenu_inst_performKeyEquivalent(void *id, void* event) { +void* NSMenu_inst_itemWithTitle(void *id, void* title) { return [(NSMenu*)id - performKeyEquivalent: event]; + itemWithTitle: title]; } void NSMenu_inst_performActionForItemAtIndex(void *id, long index) { @@ -2579,6 +2553,11 @@ void NSMenu_inst_performActionForItemAtIndex(void *id, long index) { performActionForItemAtIndex: index]; } +BOOL NSMenu_inst_performKeyEquivalent(void *id, void* event) { + return [(NSMenu*)id + performKeyEquivalent: event]; +} + BOOL NSMenu_inst_popUpMenuPositioningItem_atLocation_inView(void *id, void* item, NSPoint location, void* view) { return [(NSMenu*)id popUpMenuPositioningItem: item @@ -2586,14 +2565,35 @@ BOOL NSMenu_inst_popUpMenuPositioningItem_atLocation_inView(void *id, void* item inView: view]; } -void NSMenu_inst_cancelTracking(void *id) { +void NSMenu_inst_removeAllItems(void *id) { [(NSMenu*)id - cancelTracking]; + removeAllItems]; } -void NSMenu_inst_cancelTrackingWithoutAnimation(void *id) { +void NSMenu_inst_removeItem(void *id, void* item) { [(NSMenu*)id - cancelTrackingWithoutAnimation]; + removeItem: item]; +} + +void NSMenu_inst_removeItemAtIndex(void *id, long index) { + [(NSMenu*)id + removeItemAtIndex: index]; +} + +void NSMenu_inst_setSubmenu_forItem(void *id, void* menu, void* item) { + [(NSMenu*)id + setSubmenu: menu + forItem: item]; +} + +void NSMenu_inst_submenuAction(void *id, void* sender) { + [(NSMenu*)id + submenuAction: sender]; +} + +void NSMenu_inst_update(void *id) { + [(NSMenu*)id + update]; } void* NSMenu_inst_init(void *id) { @@ -2711,11 +2711,6 @@ void NSMenu_inst_setDelegate(void *id, void* value) { setDelegate: value]; } -void NSPopover_inst_performClose(void *id, void* sender) { - [(NSPopover*)id - performClose: sender]; -} - void NSPopover_inst_close(void *id) { [(NSPopover*)id close]; @@ -2726,6 +2721,11 @@ void* NSPopover_inst_init(void *id) { init]; } +void NSPopover_inst_performClose(void *id, void* sender) { + [(NSPopover*)id + performClose: sender]; +} + long NSPopover_inst_behavior(void *id) { return [(NSPopover*)id behavior]; @@ -3048,24 +3048,24 @@ void NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden(void *id, BOOL value) { setAllowsKeyEquivalentWhenHidden: value]; } -BOOL NSRunningApplication_inst_hide(void *id) { +BOOL NSRunningApplication_inst_forceTerminate(void *id) { return [(NSRunningApplication*)id - hide]; + forceTerminate]; } -BOOL NSRunningApplication_inst_unhide(void *id) { +BOOL NSRunningApplication_inst_hide(void *id) { return [(NSRunningApplication*)id - unhide]; + hide]; } -BOOL NSRunningApplication_inst_forceTerminate(void *id) { +BOOL NSRunningApplication_inst_terminate(void *id) { return [(NSRunningApplication*)id - forceTerminate]; + terminate]; } -BOOL NSRunningApplication_inst_terminate(void *id) { +BOOL NSRunningApplication_inst_unhide(void *id) { return [(NSRunningApplication*)id - terminate]; + unhide]; } void* NSRunningApplication_inst_init(void *id) { @@ -3193,16 +3193,16 @@ long NSScreen_inst_maximumFramesPerSecond(void *id) { maximumFramesPerSecond]; } -void* NSStatusBar_inst_statusItemWithLength(void *id, double length) { - return [(NSStatusBar*)id - statusItemWithLength: length]; -} - void NSStatusBar_inst_removeStatusItem(void *id, void* item) { [(NSStatusBar*)id removeStatusItem: item]; } +void* NSStatusBar_inst_statusItemWithLength(void *id, double length) { + return [(NSStatusBar*)id + statusItemWithLength: length]; +} + void* NSStatusBar_inst_init(void *id) { return [(NSStatusBar*)id init]; @@ -3278,34 +3278,34 @@ void NSStatusItem_inst_setLength(void *id, double value) { setLength: value]; } -void* NSText_inst_initWithFrame(void *id, NSRect frameRect) { - return [(NSText*)id - initWithFrame: frameRect]; +void NSText_inst_alignCenter(void *id, void* sender) { + [(NSText*)id + alignCenter: sender]; } -void NSText_inst_toggleRuler(void *id, void* sender) { +void NSText_inst_alignLeft(void *id, void* sender) { [(NSText*)id - toggleRuler: sender]; + alignLeft: sender]; } -void NSText_inst_selectAll(void *id, void* sender) { +void NSText_inst_alignRight(void *id, void* sender) { [(NSText*)id - selectAll: sender]; + alignRight: sender]; } -void NSText_inst_copy(void *id, void* sender) { +void NSText_inst_changeFont(void *id, void* sender) { [(NSText*)id - copy: sender]; + changeFont: sender]; } -void NSText_inst_cut(void *id, void* sender) { +void NSText_inst_checkSpelling(void *id, void* sender) { [(NSText*)id - cut: sender]; + checkSpelling: sender]; } -void NSText_inst_paste(void *id, void* sender) { +void NSText_inst_copy(void *id, void* sender) { [(NSText*)id - paste: sender]; + copy: sender]; } void NSText_inst_copyFont(void *id, void* sender) { @@ -3313,19 +3313,14 @@ void NSText_inst_copyFont(void *id, void* sender) { copyFont: sender]; } -void NSText_inst_pasteFont(void *id, void* sender) { - [(NSText*)id - pasteFont: sender]; -} - void NSText_inst_copyRuler(void *id, void* sender) { [(NSText*)id copyRuler: sender]; } -void NSText_inst_pasteRuler(void *id, void* sender) { +void NSText_inst_cut(void *id, void* sender) { [(NSText*)id - pasteRuler: sender]; + cut: sender]; } void NSText_inst_delete(void *id, void* sender) { @@ -3333,29 +3328,44 @@ void NSText_inst_delete(void *id, void* sender) { delete: sender]; } -void NSText_inst_changeFont(void *id, void* sender) { +void* NSText_inst_initWithFrame(void *id, NSRect frameRect) { + return [(NSText*)id + initWithFrame: frameRect]; +} + +void NSText_inst_paste(void *id, void* sender) { [(NSText*)id - changeFont: sender]; + paste: sender]; } -void NSText_inst_alignCenter(void *id, void* sender) { +void NSText_inst_pasteFont(void *id, void* sender) { [(NSText*)id - alignCenter: sender]; + pasteFont: sender]; } -void NSText_inst_alignLeft(void *id, void* sender) { +void NSText_inst_pasteRuler(void *id, void* sender) { [(NSText*)id - alignLeft: sender]; + pasteRuler: sender]; } -void NSText_inst_alignRight(void *id, void* sender) { +BOOL NSText_inst_readRTFDFromFile(void *id, void* path) { + return [(NSText*)id + readRTFDFromFile: path]; +} + +void NSText_inst_selectAll(void *id, void* sender) { [(NSText*)id - alignRight: sender]; + selectAll: sender]; } -void NSText_inst_superscript(void *id, void* sender) { +void NSText_inst_showGuessPanel(void *id, void* sender) { [(NSText*)id - superscript: sender]; + showGuessPanel: sender]; +} + +void NSText_inst_sizeToFit(void *id) { + [(NSText*)id + sizeToFit]; } void NSText_inst_subscript(void *id, void* sender) { @@ -3363,9 +3373,14 @@ void NSText_inst_subscript(void *id, void* sender) { subscript: sender]; } -void NSText_inst_unscript(void *id, void* sender) { +void NSText_inst_superscript(void *id, void* sender) { [(NSText*)id - unscript: sender]; + superscript: sender]; +} + +void NSText_inst_toggleRuler(void *id, void* sender) { + [(NSText*)id + toggleRuler: sender]; } void NSText_inst_underline(void *id, void* sender) { @@ -3373,9 +3388,9 @@ void NSText_inst_underline(void *id, void* sender) { underline: sender]; } -BOOL NSText_inst_readRTFDFromFile(void *id, void* path) { - return [(NSText*)id - readRTFDFromFile: path]; +void NSText_inst_unscript(void *id, void* sender) { + [(NSText*)id + unscript: sender]; } BOOL NSText_inst_writeRTFDToFile_atomically(void *id, void* path, BOOL flag) { @@ -3384,21 +3399,6 @@ BOOL NSText_inst_writeRTFDToFile_atomically(void *id, void* path, BOOL flag) { atomically: flag]; } -void NSText_inst_checkSpelling(void *id, void* sender) { - [(NSText*)id - checkSpelling: sender]; -} - -void NSText_inst_showGuessPanel(void *id, void* sender) { - [(NSText*)id - showGuessPanel: sender]; -} - -void NSText_inst_sizeToFit(void *id) { - [(NSText*)id - sizeToFit]; -} - void* NSText_inst_init(void *id) { return [(NSText*)id init]; @@ -3864,9 +3864,14 @@ BOOL NSTextContainer_inst_isSimpleRectangularTextContainer(void *id) { isSimpleRectangularTextContainer]; } -void NSViewController_inst_loadView(void *id) { +void NSViewController_inst_addChildViewController(void *id, void* childViewController) { [(NSViewController*)id - loadView]; + addChildViewController: childViewController]; +} + +BOOL NSViewController_inst_commitEditing(void *id) { + return [(NSViewController*)id + commitEditing]; } void NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo(void *id, void* delegate, void* didCommitSelector, void* contextInfo) { @@ -3876,11 +3881,6 @@ void NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextIn contextInfo: contextInfo]; } -BOOL NSViewController_inst_commitEditing(void *id) { - return [(NSViewController*)id - commitEditing]; -} - void NSViewController_inst_discardEditing(void *id) { [(NSViewController*)id discardEditing]; @@ -3891,91 +3891,91 @@ void NSViewController_inst_dismissController(void *id, void* sender) { dismissController: sender]; } -void NSViewController_inst_viewDidLoad(void *id) { +void NSViewController_inst_dismissViewController(void *id, void* viewController) { [(NSViewController*)id - viewDidLoad]; + dismissViewController: viewController]; } -void NSViewController_inst_viewWillAppear(void *id) { +void NSViewController_inst_insertChildViewController_atIndex(void *id, void* childViewController, long index) { [(NSViewController*)id - viewWillAppear]; + insertChildViewController: childViewController + atIndex: index]; } -void NSViewController_inst_viewDidAppear(void *id) { +void NSViewController_inst_loadView(void *id) { [(NSViewController*)id - viewDidAppear]; + loadView]; } -void NSViewController_inst_viewWillDisappear(void *id) { +void NSViewController_inst_preferredContentSizeDidChangeForViewController(void *id, void* viewController) { [(NSViewController*)id - viewWillDisappear]; + preferredContentSizeDidChangeForViewController: viewController]; } -void NSViewController_inst_viewDidDisappear(void *id) { +void NSViewController_inst_presentViewController_animator(void *id, void* viewController, void* animator) { [(NSViewController*)id - viewDidDisappear]; + presentViewController: viewController + animator: animator]; } -void NSViewController_inst_updateViewConstraints(void *id) { +void NSViewController_inst_presentViewControllerAsModalWindow(void *id, void* viewController) { [(NSViewController*)id - updateViewConstraints]; + presentViewControllerAsModalWindow: viewController]; } -void NSViewController_inst_viewWillLayout(void *id) { +void NSViewController_inst_presentViewControllerAsSheet(void *id, void* viewController) { [(NSViewController*)id - viewWillLayout]; + presentViewControllerAsSheet: viewController]; } -void NSViewController_inst_viewDidLayout(void *id) { +void NSViewController_inst_removeChildViewControllerAtIndex(void *id, long index) { [(NSViewController*)id - viewDidLayout]; + removeChildViewControllerAtIndex: index]; } -void NSViewController_inst_addChildViewController(void *id, void* childViewController) { +void NSViewController_inst_removeFromParentViewController(void *id) { [(NSViewController*)id - addChildViewController: childViewController]; + removeFromParentViewController]; } -void NSViewController_inst_insertChildViewController_atIndex(void *id, void* childViewController, long index) { +void NSViewController_inst_updateViewConstraints(void *id) { [(NSViewController*)id - insertChildViewController: childViewController - atIndex: index]; + updateViewConstraints]; } -void NSViewController_inst_removeChildViewControllerAtIndex(void *id, long index) { +void NSViewController_inst_viewDidAppear(void *id) { [(NSViewController*)id - removeChildViewControllerAtIndex: index]; + viewDidAppear]; } -void NSViewController_inst_removeFromParentViewController(void *id) { +void NSViewController_inst_viewDidDisappear(void *id) { [(NSViewController*)id - removeFromParentViewController]; + viewDidDisappear]; } -void NSViewController_inst_preferredContentSizeDidChangeForViewController(void *id, void* viewController) { +void NSViewController_inst_viewDidLayout(void *id) { [(NSViewController*)id - preferredContentSizeDidChangeForViewController: viewController]; + viewDidLayout]; } -void NSViewController_inst_presentViewController_animator(void *id, void* viewController, void* animator) { +void NSViewController_inst_viewDidLoad(void *id) { [(NSViewController*)id - presentViewController: viewController - animator: animator]; + viewDidLoad]; } -void NSViewController_inst_dismissViewController(void *id, void* viewController) { +void NSViewController_inst_viewWillAppear(void *id) { [(NSViewController*)id - dismissViewController: viewController]; + viewWillAppear]; } -void NSViewController_inst_presentViewControllerAsModalWindow(void *id, void* viewController) { +void NSViewController_inst_viewWillDisappear(void *id) { [(NSViewController*)id - presentViewControllerAsModalWindow: viewController]; + viewWillDisappear]; } -void NSViewController_inst_presentViewControllerAsSheet(void *id, void* viewController) { +void NSViewController_inst_viewWillLayout(void *id) { [(NSViewController*)id - presentViewControllerAsSheet: viewController]; + viewWillLayout]; } void NSViewController_inst_viewWillTransitionToSize(void *id, NSSize newSize) { @@ -4128,61 +4128,41 @@ void NSVisualEffectView_inst_setMaskImage(void *id, void* value) { setMaskImage: value]; } -void* NSWindow_inst_initWithContentRect_styleMask_backing_defer(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag) { - return [(NSWindow*)id - initWithContentRect: contentRect - styleMask: style - backing: backingStoreType - defer: flag]; -} - -void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag, void* screen) { - return [(NSWindow*)id - initWithContentRect: contentRect - styleMask: style - backing: backingStoreType - defer: flag - screen: screen]; -} - -void NSWindow_inst_toggleFullScreen(void *id, void* sender) { +void NSWindow_inst_addChildWindow_ordered(void *id, void* childWin, unsigned long place) { [(NSWindow*)id - toggleFullScreen: sender]; + addChildWindow: childWin + ordered: place]; } -void NSWindow_inst_setDynamicDepthLimit(void *id, BOOL flag) { +void NSWindow_inst_addTabbedWindow_ordered(void *id, void* window, unsigned long ordered) { [(NSWindow*)id - setDynamicDepthLimit: flag]; + addTabbedWindow: window + ordered: ordered]; } -void NSWindow_inst_invalidateShadow(void *id) { +void NSWindow_inst_becomeKeyWindow(void *id) { [(NSWindow*)id - invalidateShadow]; + becomeKeyWindow]; } -NSRect NSWindow_inst_contentRectForFrameRect(void *id, NSRect frameRect) { - return [(NSWindow*)id - contentRectForFrameRect: frameRect]; +void NSWindow_inst_becomeMainWindow(void *id) { + [(NSWindow*)id + becomeMainWindow]; } -NSRect NSWindow_inst_frameRectForContentRect(void *id, NSRect contentRect) { +NSPoint NSWindow_inst_cascadeTopLeftFromPoint(void *id, NSPoint topLeftPoint) { return [(NSWindow*)id - frameRectForContentRect: contentRect]; -} - -void NSWindow_inst_endSheet(void *id, void* sheetWindow) { - [(NSWindow*)id - endSheet: sheetWindow]; + cascadeTopLeftFromPoint: topLeftPoint]; } -void NSWindow_inst_setFrameOrigin(void *id, NSPoint point) { +void NSWindow_inst_center(void *id) { [(NSWindow*)id - setFrameOrigin: point]; + center]; } -void NSWindow_inst_setFrameTopLeftPoint(void *id, NSPoint point) { +void NSWindow_inst_close(void *id) { [(NSWindow*)id - setFrameTopLeftPoint: point]; + close]; } NSRect NSWindow_inst_constrainFrameRect_toScreen(void *id, NSRect frameRect, void* screen) { @@ -4191,129 +4171,135 @@ NSRect NSWindow_inst_constrainFrameRect_toScreen(void *id, NSRect frameRect, voi toScreen: screen]; } -NSPoint NSWindow_inst_cascadeTopLeftFromPoint(void *id, NSPoint topLeftPoint) { +NSRect NSWindow_inst_contentRectForFrameRect(void *id, NSRect frameRect) { return [(NSWindow*)id - cascadeTopLeftFromPoint: topLeftPoint]; + contentRectForFrameRect: frameRect]; } -void NSWindow_inst_setFrame_display(void *id, NSRect frameRect, BOOL flag) { - [(NSWindow*)id - setFrame: frameRect - display: flag]; +NSPoint NSWindow_inst_convertPointFromBacking(void *id, NSPoint point) { + return [(NSWindow*)id + convertPointFromBacking: point]; } -void NSWindow_inst_setFrame_display_animate(void *id, NSRect frameRect, BOOL displayFlag, BOOL animateFlag) { - [(NSWindow*)id - setFrame: frameRect - display: displayFlag - animate: animateFlag]; +NSPoint NSWindow_inst_convertPointFromScreen(void *id, NSPoint point) { + return [(NSWindow*)id + convertPointFromScreen: point]; } -void NSWindow_inst_performZoom(void *id, void* sender) { - [(NSWindow*)id - performZoom: sender]; +NSPoint NSWindow_inst_convertPointToBacking(void *id, NSPoint point) { + return [(NSWindow*)id + convertPointToBacking: point]; } -void NSWindow_inst_zoom(void *id, void* sender) { - [(NSWindow*)id - zoom: sender]; +NSPoint NSWindow_inst_convertPointToScreen(void *id, NSPoint point) { + return [(NSWindow*)id + convertPointToScreen: point]; } -void NSWindow_inst_setContentSize(void *id, NSSize size) { - [(NSWindow*)id - setContentSize: size]; +NSRect NSWindow_inst_convertRectFromBacking(void *id, NSRect rect) { + return [(NSWindow*)id + convertRectFromBacking: rect]; } -void NSWindow_inst_orderOut(void *id, void* sender) { - [(NSWindow*)id - orderOut: sender]; +NSRect NSWindow_inst_convertRectFromScreen(void *id, NSRect rect) { + return [(NSWindow*)id + convertRectFromScreen: rect]; } -void NSWindow_inst_orderBack(void *id, void* sender) { - [(NSWindow*)id - orderBack: sender]; +NSRect NSWindow_inst_convertRectToBacking(void *id, NSRect rect) { + return [(NSWindow*)id + convertRectToBacking: rect]; } -void NSWindow_inst_orderFront(void *id, void* sender) { - [(NSWindow*)id - orderFront: sender]; +NSRect NSWindow_inst_convertRectToScreen(void *id, NSRect rect) { + return [(NSWindow*)id + convertRectToScreen: rect]; } -void NSWindow_inst_orderFrontRegardless(void *id) { - [(NSWindow*)id - orderFrontRegardless]; +void* NSWindow_inst_dataWithEPSInsideRect(void *id, NSRect rect) { + return [(NSWindow*)id + dataWithEPSInsideRect: rect]; } -void NSWindow_inst_orderWindow_relativeTo(void *id, unsigned long place, long otherWin) { +void* NSWindow_inst_dataWithPDFInsideRect(void *id, NSRect rect) { + return [(NSWindow*)id + dataWithPDFInsideRect: rect]; +} + +void NSWindow_inst_deminiaturize(void *id, void* sender) { [(NSWindow*)id - orderWindow: place - relativeTo: otherWin]; + deminiaturize: sender]; } -void NSWindow_inst_makeKeyWindow(void *id) { +void NSWindow_inst_disableCursorRects(void *id) { [(NSWindow*)id - makeKeyWindow]; + disableCursorRects]; } -void NSWindow_inst_makeKeyAndOrderFront(void *id, void* sender) { +void NSWindow_inst_disableKeyEquivalentForDefaultButtonCell(void *id) { [(NSWindow*)id - makeKeyAndOrderFront: sender]; + disableKeyEquivalentForDefaultButtonCell]; } -void NSWindow_inst_becomeKeyWindow(void *id) { +void NSWindow_inst_disableScreenUpdatesUntilFlush(void *id) { [(NSWindow*)id - becomeKeyWindow]; + disableScreenUpdatesUntilFlush]; } -void NSWindow_inst_resignKeyWindow(void *id) { +void NSWindow_inst_disableSnapshotRestoration(void *id) { [(NSWindow*)id - resignKeyWindow]; + disableSnapshotRestoration]; } -void NSWindow_inst_makeMainWindow(void *id) { +void NSWindow_inst_discardCursorRects(void *id) { [(NSWindow*)id - makeMainWindow]; + discardCursorRects]; } -void NSWindow_inst_becomeMainWindow(void *id) { +void NSWindow_inst_display(void *id) { [(NSWindow*)id - becomeMainWindow]; + display]; } -void NSWindow_inst_resignMainWindow(void *id) { +void NSWindow_inst_displayIfNeeded(void *id) { [(NSWindow*)id - resignMainWindow]; + displayIfNeeded]; } -void NSWindow_inst_toggleToolbarShown(void *id, void* sender) { +void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack(void *id, void* image, NSPoint baseLocation, NSSize initialOffset, void* event, void* pboard, void* sourceObj, BOOL slideFlag) { [(NSWindow*)id - toggleToolbarShown: sender]; + dragImage: image + at: baseLocation + offset: initialOffset + event: event + pasteboard: pboard + source: sourceObj + slideBack: slideFlag]; } -void NSWindow_inst_runToolbarCustomizationPalette(void *id, void* sender) { +void NSWindow_inst_enableCursorRects(void *id) { [(NSWindow*)id - runToolbarCustomizationPalette: sender]; + enableCursorRects]; } -void NSWindow_inst_addChildWindow_ordered(void *id, void* childWin, unsigned long place) { +void NSWindow_inst_enableKeyEquivalentForDefaultButtonCell(void *id) { [(NSWindow*)id - addChildWindow: childWin - ordered: place]; + enableKeyEquivalentForDefaultButtonCell]; } -void NSWindow_inst_removeChildWindow(void *id, void* childWin) { +void NSWindow_inst_enableSnapshotRestoration(void *id) { [(NSWindow*)id - removeChildWindow: childWin]; + enableSnapshotRestoration]; } -void NSWindow_inst_enableKeyEquivalentForDefaultButtonCell(void *id) { +void NSWindow_inst_endEditingFor(void *id, void* object) { [(NSWindow*)id - enableKeyEquivalentForDefaultButtonCell]; + endEditingFor: object]; } -void NSWindow_inst_disableKeyEquivalentForDefaultButtonCell(void *id) { +void NSWindow_inst_endSheet(void *id, void* sheetWindow) { [(NSWindow*)id - disableKeyEquivalentForDefaultButtonCell]; + endSheet: sheetWindow]; } void* NSWindow_inst_fieldEditor_forObject(void *id, BOOL createFlag, void* object) { @@ -4322,45 +4308,56 @@ void* NSWindow_inst_fieldEditor_forObject(void *id, BOOL createFlag, void* objec forObject: object]; } -void NSWindow_inst_endEditingFor(void *id, void* object) { - [(NSWindow*)id - endEditingFor: object]; +NSRect NSWindow_inst_frameRectForContentRect(void *id, NSRect contentRect) { + return [(NSWindow*)id + frameRectForContentRect: contentRect]; } -void NSWindow_inst_enableCursorRects(void *id) { - [(NSWindow*)id - enableCursorRects]; +void* NSWindow_inst_initWithContentRect_styleMask_backing_defer(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag) { + return [(NSWindow*)id + initWithContentRect: contentRect + styleMask: style + backing: backingStoreType + defer: flag]; } -void NSWindow_inst_disableCursorRects(void *id) { +void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag, void* screen) { + return [(NSWindow*)id + initWithContentRect: contentRect + styleMask: style + backing: backingStoreType + defer: flag + screen: screen]; +} + +void NSWindow_inst_invalidateCursorRectsForView(void *id, void* view) { [(NSWindow*)id - disableCursorRects]; + invalidateCursorRectsForView: view]; } -void NSWindow_inst_discardCursorRects(void *id) { +void NSWindow_inst_invalidateShadow(void *id) { [(NSWindow*)id - discardCursorRects]; + invalidateShadow]; } -void NSWindow_inst_invalidateCursorRectsForView(void *id, void* view) { +void NSWindow_inst_layoutIfNeeded(void *id) { [(NSWindow*)id - invalidateCursorRectsForView: view]; + layoutIfNeeded]; } -void NSWindow_inst_resetCursorRects(void *id) { +void NSWindow_inst_makeKeyAndOrderFront(void *id, void* sender) { [(NSWindow*)id - resetCursorRects]; + makeKeyAndOrderFront: sender]; } -void NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex(void *id, long index) { +void NSWindow_inst_makeKeyWindow(void *id) { [(NSWindow*)id - removeTitlebarAccessoryViewControllerAtIndex: index]; + makeKeyWindow]; } -void NSWindow_inst_addTabbedWindow_ordered(void *id, void* window, unsigned long ordered) { +void NSWindow_inst_makeMainWindow(void *id) { [(NSWindow*)id - addTabbedWindow: window - ordered: ordered]; + makeMainWindow]; } void NSWindow_inst_mergeAllWindows(void *id, void* sender) { @@ -4368,66 +4365,71 @@ void NSWindow_inst_mergeAllWindows(void *id, void* sender) { mergeAllWindows: sender]; } -void NSWindow_inst_selectNextTab(void *id, void* sender) { +void NSWindow_inst_miniaturize(void *id, void* sender) { [(NSWindow*)id - selectNextTab: sender]; + miniaturize: sender]; } -void NSWindow_inst_selectPreviousTab(void *id, void* sender) { +void NSWindow_inst_moveTabToNewWindow(void *id, void* sender) { [(NSWindow*)id - selectPreviousTab: sender]; + moveTabToNewWindow: sender]; } -void NSWindow_inst_moveTabToNewWindow(void *id, void* sender) { +void NSWindow_inst_orderBack(void *id, void* sender) { [(NSWindow*)id - moveTabToNewWindow: sender]; + orderBack: sender]; } -void NSWindow_inst_toggleTabBar(void *id, void* sender) { +void NSWindow_inst_orderFront(void *id, void* sender) { [(NSWindow*)id - toggleTabBar: sender]; + orderFront: sender]; } -void NSWindow_inst_toggleTabOverview(void *id, void* sender) { +void NSWindow_inst_orderFrontRegardless(void *id) { [(NSWindow*)id - toggleTabOverview: sender]; + orderFrontRegardless]; } -void NSWindow_inst_postEvent_atStart(void *id, void* event, BOOL flag) { +void NSWindow_inst_orderOut(void *id, void* sender) { [(NSWindow*)id - postEvent: event - atStart: flag]; + orderOut: sender]; } -void NSWindow_inst_sendEvent(void *id, void* event) { +void NSWindow_inst_orderWindow_relativeTo(void *id, unsigned long place, long otherWin) { [(NSWindow*)id - sendEvent: event]; + orderWindow: place + relativeTo: otherWin]; } -BOOL NSWindow_inst_tryToPerform_with(void *id, void* action, void* object) { - return [(NSWindow*)id - tryToPerform: action - with: object]; +void NSWindow_inst_performClose(void *id, void* sender) { + [(NSWindow*)id + performClose: sender]; } -void NSWindow_inst_selectKeyViewPrecedingView(void *id, void* view) { +void NSWindow_inst_performMiniaturize(void *id, void* sender) { [(NSWindow*)id - selectKeyViewPrecedingView: view]; + performMiniaturize: sender]; } -void NSWindow_inst_selectKeyViewFollowingView(void *id, void* view) { +void NSWindow_inst_performWindowDragWithEvent(void *id, void* event) { [(NSWindow*)id - selectKeyViewFollowingView: view]; + performWindowDragWithEvent: event]; } -void NSWindow_inst_selectPreviousKeyView(void *id, void* sender) { +void NSWindow_inst_performZoom(void *id, void* sender) { [(NSWindow*)id - selectPreviousKeyView: sender]; + performZoom: sender]; } -void NSWindow_inst_selectNextKeyView(void *id, void* sender) { +void NSWindow_inst_postEvent_atStart(void *id, void* event, BOOL flag) { [(NSWindow*)id - selectNextKeyView: sender]; + postEvent: event + atStart: flag]; +} + +void NSWindow_inst_print(void *id, void* sender) { + [(NSWindow*)id + print: sender]; } void NSWindow_inst_recalculateKeyViewLoop(void *id) { @@ -4435,180 +4437,178 @@ void NSWindow_inst_recalculateKeyViewLoop(void *id) { recalculateKeyViewLoop]; } -void NSWindow_inst_performWindowDragWithEvent(void *id, void* event) { +void NSWindow_inst_registerForDraggedTypes(void *id, void* newTypes) { [(NSWindow*)id - performWindowDragWithEvent: event]; + registerForDraggedTypes: newTypes]; } -void NSWindow_inst_disableSnapshotRestoration(void *id) { +void NSWindow_inst_removeChildWindow(void *id, void* childWin) { [(NSWindow*)id - disableSnapshotRestoration]; + removeChildWindow: childWin]; } -void NSWindow_inst_enableSnapshotRestoration(void *id) { +void NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex(void *id, long index) { [(NSWindow*)id - enableSnapshotRestoration]; + removeTitlebarAccessoryViewControllerAtIndex: index]; } -void NSWindow_inst_display(void *id) { +void NSWindow_inst_resetCursorRects(void *id) { [(NSWindow*)id - display]; + resetCursorRects]; } -void NSWindow_inst_displayIfNeeded(void *id) { +void NSWindow_inst_resignKeyWindow(void *id) { [(NSWindow*)id - displayIfNeeded]; + resignKeyWindow]; } -void NSWindow_inst_disableScreenUpdatesUntilFlush(void *id) { +void NSWindow_inst_resignMainWindow(void *id) { [(NSWindow*)id - disableScreenUpdatesUntilFlush]; + resignMainWindow]; } -void NSWindow_inst_update(void *id) { +void NSWindow_inst_runToolbarCustomizationPalette(void *id, void* sender) { [(NSWindow*)id - update]; + runToolbarCustomizationPalette: sender]; } -void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack(void *id, void* image, NSPoint baseLocation, NSSize initialOffset, void* event, void* pboard, void* sourceObj, BOOL slideFlag) { +void NSWindow_inst_selectKeyViewFollowingView(void *id, void* view) { [(NSWindow*)id - dragImage: image - at: baseLocation - offset: initialOffset - event: event - pasteboard: pboard - source: sourceObj - slideBack: slideFlag]; + selectKeyViewFollowingView: view]; } -void NSWindow_inst_registerForDraggedTypes(void *id, void* newTypes) { +void NSWindow_inst_selectKeyViewPrecedingView(void *id, void* view) { [(NSWindow*)id - registerForDraggedTypes: newTypes]; + selectKeyViewPrecedingView: view]; } -void NSWindow_inst_unregisterDraggedTypes(void *id) { +void NSWindow_inst_selectNextKeyView(void *id, void* sender) { [(NSWindow*)id - unregisterDraggedTypes]; + selectNextKeyView: sender]; } -NSRect NSWindow_inst_convertRectFromBacking(void *id, NSRect rect) { - return [(NSWindow*)id - convertRectFromBacking: rect]; -} - -NSRect NSWindow_inst_convertRectFromScreen(void *id, NSRect rect) { - return [(NSWindow*)id - convertRectFromScreen: rect]; +void NSWindow_inst_selectNextTab(void *id, void* sender) { + [(NSWindow*)id + selectNextTab: sender]; } -NSPoint NSWindow_inst_convertPointFromBacking(void *id, NSPoint point) { - return [(NSWindow*)id - convertPointFromBacking: point]; +void NSWindow_inst_selectPreviousKeyView(void *id, void* sender) { + [(NSWindow*)id + selectPreviousKeyView: sender]; } -NSPoint NSWindow_inst_convertPointFromScreen(void *id, NSPoint point) { - return [(NSWindow*)id - convertPointFromScreen: point]; +void NSWindow_inst_selectPreviousTab(void *id, void* sender) { + [(NSWindow*)id + selectPreviousTab: sender]; } -NSRect NSWindow_inst_convertRectToBacking(void *id, NSRect rect) { - return [(NSWindow*)id - convertRectToBacking: rect]; +void NSWindow_inst_sendEvent(void *id, void* event) { + [(NSWindow*)id + sendEvent: event]; } -NSRect NSWindow_inst_convertRectToScreen(void *id, NSRect rect) { - return [(NSWindow*)id - convertRectToScreen: rect]; +void NSWindow_inst_setContentSize(void *id, NSSize size) { + [(NSWindow*)id + setContentSize: size]; } -NSPoint NSWindow_inst_convertPointToBacking(void *id, NSPoint point) { - return [(NSWindow*)id - convertPointToBacking: point]; +void NSWindow_inst_setDynamicDepthLimit(void *id, BOOL flag) { + [(NSWindow*)id + setDynamicDepthLimit: flag]; } -NSPoint NSWindow_inst_convertPointToScreen(void *id, NSPoint point) { - return [(NSWindow*)id - convertPointToScreen: point]; +void NSWindow_inst_setFrame_display(void *id, NSRect frameRect, BOOL flag) { + [(NSWindow*)id + setFrame: frameRect + display: flag]; } -void NSWindow_inst_setTitleWithRepresentedFilename(void *id, void* filename) { +void NSWindow_inst_setFrame_display_animate(void *id, NSRect frameRect, BOOL displayFlag, BOOL animateFlag) { [(NSWindow*)id - setTitleWithRepresentedFilename: filename]; + setFrame: frameRect + display: displayFlag + animate: animateFlag]; } -void NSWindow_inst_center(void *id) { +void NSWindow_inst_setFrameOrigin(void *id, NSPoint point) { [(NSWindow*)id - center]; + setFrameOrigin: point]; } -void NSWindow_inst_performClose(void *id, void* sender) { +void NSWindow_inst_setFrameTopLeftPoint(void *id, NSPoint point) { [(NSWindow*)id - performClose: sender]; + setFrameTopLeftPoint: point]; } -void NSWindow_inst_close(void *id) { +void NSWindow_inst_setIsMiniaturized(void *id, BOOL flag) { [(NSWindow*)id - close]; + setIsMiniaturized: flag]; } -void NSWindow_inst_performMiniaturize(void *id, void* sender) { +void NSWindow_inst_setIsVisible(void *id, BOOL flag) { [(NSWindow*)id - performMiniaturize: sender]; + setIsVisible: flag]; } -void NSWindow_inst_miniaturize(void *id, void* sender) { +void NSWindow_inst_setIsZoomed(void *id, BOOL flag) { [(NSWindow*)id - miniaturize: sender]; + setIsZoomed: flag]; } -void NSWindow_inst_deminiaturize(void *id, void* sender) { +void NSWindow_inst_setTitleWithRepresentedFilename(void *id, void* filename) { [(NSWindow*)id - deminiaturize: sender]; + setTitleWithRepresentedFilename: filename]; } -void NSWindow_inst_print(void *id, void* sender) { +void NSWindow_inst_toggleFullScreen(void *id, void* sender) { [(NSWindow*)id - print: sender]; + toggleFullScreen: sender]; } -void* NSWindow_inst_dataWithEPSInsideRect(void *id, NSRect rect) { - return [(NSWindow*)id - dataWithEPSInsideRect: rect]; +void NSWindow_inst_toggleTabBar(void *id, void* sender) { + [(NSWindow*)id + toggleTabBar: sender]; } -void* NSWindow_inst_dataWithPDFInsideRect(void *id, NSRect rect) { - return [(NSWindow*)id - dataWithPDFInsideRect: rect]; +void NSWindow_inst_toggleTabOverview(void *id, void* sender) { + [(NSWindow*)id + toggleTabOverview: sender]; } -void NSWindow_inst_updateConstraintsIfNeeded(void *id) { +void NSWindow_inst_toggleToolbarShown(void *id, void* sender) { [(NSWindow*)id - updateConstraintsIfNeeded]; + toggleToolbarShown: sender]; } -void NSWindow_inst_layoutIfNeeded(void *id) { +BOOL NSWindow_inst_tryToPerform_with(void *id, void* action, void* object) { + return [(NSWindow*)id + tryToPerform: action + with: object]; +} + +void NSWindow_inst_unregisterDraggedTypes(void *id) { [(NSWindow*)id - layoutIfNeeded]; + unregisterDraggedTypes]; } -void NSWindow_inst_visualizeConstraints(void *id, void* constraints) { +void NSWindow_inst_update(void *id) { [(NSWindow*)id - visualizeConstraints: constraints]; + update]; } -void NSWindow_inst_setIsMiniaturized(void *id, BOOL flag) { +void NSWindow_inst_updateConstraintsIfNeeded(void *id) { [(NSWindow*)id - setIsMiniaturized: flag]; + updateConstraintsIfNeeded]; } -void NSWindow_inst_setIsVisible(void *id, BOOL flag) { +void NSWindow_inst_visualizeConstraints(void *id, void* constraints) { [(NSWindow*)id - setIsVisible: flag]; + visualizeConstraints: constraints]; } -void NSWindow_inst_setIsZoomed(void *id, BOOL flag) { +void NSWindow_inst_zoom(void *id, void* sender) { [(NSWindow*)id - setIsZoomed: flag]; + zoom: sender]; } void* NSWindow_inst_init(void *id) { @@ -5311,14 +5311,24 @@ void NSWindow_inst_setOrderedIndex(void *id, long value) { setOrderedIndex: value]; } -BOOL NSWorkspace_inst_openURL(void *id, void* url) { +void* NSWorkspace_inst_URLForApplicationToOpenURL(void *id, void* url) { return [(NSWorkspace*)id - openURL: url]; + URLForApplicationToOpenURL: url]; } -void NSWorkspace_inst_hideOtherApplications(void *id) { - [(NSWorkspace*)id - hideOtherApplications]; +void* NSWorkspace_inst_URLForApplicationWithBundleIdentifier(void *id, void* bundleIdentifier) { + return [(NSWorkspace*)id + URLForApplicationWithBundleIdentifier: bundleIdentifier]; +} + +void* NSWorkspace_inst_URLsForApplicationsToOpenURL(void *id, void* url) { + return [(NSWorkspace*)id + URLsForApplicationsToOpenURL: url]; +} + +void* NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier(void *id, void* bundleIdentifier) { + return [(NSWorkspace*)id + URLsForApplicationsWithBundleIdentifier: bundleIdentifier]; } void NSWorkspace_inst_activateFileViewerSelectingURLs(void *id, void* fileURLs) { @@ -5326,25 +5336,24 @@ void NSWorkspace_inst_activateFileViewerSelectingURLs(void *id, void* fileURLs) activateFileViewerSelectingURLs: fileURLs]; } -BOOL NSWorkspace_inst_selectFile_inFileViewerRootedAtPath(void *id, void* fullPath, void* rootFullPath) { +void* NSWorkspace_inst_desktopImageOptionsForScreen(void *id, void* screen) { return [(NSWorkspace*)id - selectFile: fullPath - inFileViewerRootedAtPath: rootFullPath]; + desktopImageOptionsForScreen: screen]; } -void* NSWorkspace_inst_URLForApplicationWithBundleIdentifier(void *id, void* bundleIdentifier) { +void* NSWorkspace_inst_desktopImageURLForScreen(void *id, void* screen) { return [(NSWorkspace*)id - URLForApplicationWithBundleIdentifier: bundleIdentifier]; + desktopImageURLForScreen: screen]; } -void* NSWorkspace_inst_URLForApplicationToOpenURL(void *id, void* url) { +long NSWorkspace_inst_extendPowerOffBy(void *id, long requested) { return [(NSWorkspace*)id - URLForApplicationToOpenURL: url]; + extendPowerOffBy: requested]; } -BOOL NSWorkspace_inst_isFilePackageAtPath(void *id, void* fullPath) { - return [(NSWorkspace*)id - isFilePackageAtPath: fullPath]; +void NSWorkspace_inst_hideOtherApplications(void *id) { + [(NSWorkspace*)id + hideOtherApplications]; } void* NSWorkspace_inst_iconForFile(void *id, void* fullPath) { @@ -5357,24 +5366,9 @@ void* NSWorkspace_inst_iconForFiles(void *id, void* fullPaths) { iconForFiles: fullPaths]; } -BOOL NSWorkspace_inst_unmountAndEjectDeviceAtPath(void *id, void* path) { - return [(NSWorkspace*)id - unmountAndEjectDeviceAtPath: path]; -} - -void* NSWorkspace_inst_desktopImageURLForScreen(void *id, void* screen) { - return [(NSWorkspace*)id - desktopImageURLForScreen: screen]; -} - -void* NSWorkspace_inst_desktopImageOptionsForScreen(void *id, void* screen) { - return [(NSWorkspace*)id - desktopImageOptionsForScreen: screen]; -} - -BOOL NSWorkspace_inst_showSearchResultsForQueryString(void *id, void* queryString) { +BOOL NSWorkspace_inst_isFilePackageAtPath(void *id, void* fullPath) { return [(NSWorkspace*)id - showSearchResultsForQueryString: queryString]; + isFilePackageAtPath: fullPath]; } void NSWorkspace_inst_noteFileSystemChanged(void *id, void* path) { @@ -5382,19 +5376,25 @@ void NSWorkspace_inst_noteFileSystemChanged(void *id, void* path) { noteFileSystemChanged: path]; } -long NSWorkspace_inst_extendPowerOffBy(void *id, long requested) { +BOOL NSWorkspace_inst_openURL(void *id, void* url) { return [(NSWorkspace*)id - extendPowerOffBy: requested]; + openURL: url]; } -void* NSWorkspace_inst_URLsForApplicationsToOpenURL(void *id, void* url) { +BOOL NSWorkspace_inst_selectFile_inFileViewerRootedAtPath(void *id, void* fullPath, void* rootFullPath) { return [(NSWorkspace*)id - URLsForApplicationsToOpenURL: url]; + selectFile: fullPath + inFileViewerRootedAtPath: rootFullPath]; } -void* NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier(void *id, void* bundleIdentifier) { +BOOL NSWorkspace_inst_showSearchResultsForQueryString(void *id, void* queryString) { return [(NSWorkspace*)id - URLsForApplicationsWithBundleIdentifier: bundleIdentifier]; + showSearchResultsForQueryString: queryString]; +} + +BOOL NSWorkspace_inst_unmountAndEjectDeviceAtPath(void *id, void* path) { + return [(NSWorkspace*)id + unmountAndEjectDeviceAtPath: path]; } void* NSWorkspace_inst_init(void *id) { @@ -5473,26 +5473,16 @@ void* NSColor_inst_colorWithAlphaComponent(void *id, double alpha) { colorWithAlphaComponent: alpha]; } -void* NSColor_inst_highlightWithLevel(void *id, double val) { - return [(NSColor*)id - highlightWithLevel: val]; -} - -void* NSColor_inst_shadowWithLevel(void *id, double val) { - return [(NSColor*)id - shadowWithLevel: val]; -} - -void NSColor_inst_writeToPasteboard(void *id, void* pasteBoard) { - [(NSColor*)id - writeToPasteboard: pasteBoard]; -} - void NSColor_inst_drawSwatchInRect(void *id, NSRect rect) { [(NSColor*)id drawSwatchInRect: rect]; } +void* NSColor_inst_highlightWithLevel(void *id, double val) { + return [(NSColor*)id + highlightWithLevel: val]; +} + void NSColor_inst_set(void *id) { [(NSColor*)id set]; @@ -5508,6 +5498,16 @@ void NSColor_inst_setStroke(void *id) { setStroke]; } +void* NSColor_inst_shadowWithLevel(void *id, double val) { + return [(NSColor*)id + shadowWithLevel: val]; +} + +void NSColor_inst_writeToPasteboard(void *id, void* pasteBoard) { + [(NSColor*)id + writeToPasteboard: pasteBoard]; +} + void* NSColor_inst_init(void *id) { return [(NSColor*)id init]; @@ -5588,25 +5588,24 @@ void* NSColor_inst_localizedColorNameComponent(void *id) { localizedColorNameComponent]; } -void* NSTextView_inst_initWithFrame_textContainer(void *id, NSRect frameRect, void* container) { - return [(NSTextView*)id - initWithFrame: frameRect - textContainer: container]; +void NSTextView_inst_alignJustified(void *id, void* sender) { + [(NSTextView*)id + alignJustified: sender]; } -void* NSTextView_inst_initWithFrame(void *id, NSRect frameRect) { - return [(NSTextView*)id - initWithFrame: frameRect]; +void NSTextView_inst_breakUndoCoalescing(void *id) { + [(NSTextView*)id + breakUndoCoalescing]; } -void NSTextView_inst_replaceTextContainer(void *id, void* newContainer) { +void NSTextView_inst_changeAttributes(void *id, void* sender) { [(NSTextView*)id - replaceTextContainer: newContainer]; + changeAttributes: sender]; } -void NSTextView_inst_invalidateTextContainerOrigin(void *id) { +void NSTextView_inst_changeColor(void *id, void* sender) { [(NSTextView*)id - invalidateTextContainerOrigin]; + changeColor: sender]; } void NSTextView_inst_changeDocumentBackgroundColor(void *id, void* sender) { @@ -5614,27 +5613,24 @@ void NSTextView_inst_changeDocumentBackgroundColor(void *id, void* sender) { changeDocumentBackgroundColor: sender]; } -void NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout(void *id, NSRect rect, BOOL flag) { +void NSTextView_inst_changeLayoutOrientation(void *id, void* sender) { [(NSTextView*)id - setNeedsDisplayInRect: rect - avoidAdditionalLayout: flag]; + changeLayoutOrientation: sender]; } -void NSTextView_inst_drawInsertionPointInRect_color_turnedOn(void *id, NSRect rect, void* color, BOOL flag) { - [(NSTextView*)id - drawInsertionPointInRect: rect - color: color - turnedOn: flag]; +unsigned long NSTextView_inst_characterIndexForInsertionAtPoint(void *id, NSPoint point) { + return [(NSTextView*)id + characterIndexForInsertionAtPoint: point]; } -void NSTextView_inst_drawViewBackgroundInRect(void *id, NSRect rect) { +void NSTextView_inst_checkTextInDocument(void *id, void* sender) { [(NSTextView*)id - drawViewBackgroundInRect: rect]; + checkTextInDocument: sender]; } -void NSTextView_inst_setConstrainedFrameSize(void *id, NSSize desiredSize) { +void NSTextView_inst_checkTextInSelection(void *id, void* sender) { [(NSTextView*)id - setConstrainedFrameSize: desiredSize]; + checkTextInSelection: sender]; } void NSTextView_inst_cleanUpAfterDragOperation(void *id) { @@ -5642,146 +5638,146 @@ void NSTextView_inst_cleanUpAfterDragOperation(void *id) { cleanUpAfterDragOperation]; } -void NSTextView_inst_outline(void *id, void* sender) { +void NSTextView_inst_clickedOnLink_atIndex(void *id, void* link, unsigned long charIndex) { [(NSTextView*)id - outline: sender]; + clickedOnLink: link + atIndex: charIndex]; } -void NSTextView_inst_toggleAutomaticQuoteSubstitution(void *id, void* sender) { +void NSTextView_inst_complete(void *id, void* sender) { [(NSTextView*)id - toggleAutomaticQuoteSubstitution: sender]; + complete: sender]; } -void NSTextView_inst_toggleAutomaticLinkDetection(void *id, void* sender) { +void NSTextView_inst_didChangeText(void *id) { [(NSTextView*)id - toggleAutomaticLinkDetection: sender]; + didChangeText]; } -void NSTextView_inst_toggleAutomaticTextCompletion(void *id, void* sender) { - [(NSTextView*)id - toggleAutomaticTextCompletion: sender]; +BOOL NSTextView_inst_dragSelectionWithEvent_offset_slideBack(void *id, void* event, NSSize mouseOffset, BOOL slideBack) { + return [(NSTextView*)id + dragSelectionWithEvent: event + offset: mouseOffset + slideBack: slideBack]; } -void NSTextView_inst_updateInsertionPointStateAndRestartTimer(void *id, BOOL restartFlag) { +void NSTextView_inst_drawInsertionPointInRect_color_turnedOn(void *id, NSRect rect, void* color, BOOL flag) { [(NSTextView*)id - updateInsertionPointStateAndRestartTimer: restartFlag]; -} - -unsigned long NSTextView_inst_characterIndexForInsertionAtPoint(void *id, NSPoint point) { - return [(NSTextView*)id - characterIndexForInsertionAtPoint: point]; + drawInsertionPointInRect: rect + color: color + turnedOn: flag]; } -void NSTextView_inst_updateCandidates(void *id) { +void NSTextView_inst_drawViewBackgroundInRect(void *id, NSRect rect) { [(NSTextView*)id - updateCandidates]; + drawViewBackgroundInRect: rect]; } -BOOL NSTextView_inst_readSelectionFromPasteboard(void *id, void* pboard) { +void* NSTextView_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSTextView*)id - readSelectionFromPasteboard: pboard]; + initWithFrame: frameRect]; } -BOOL NSTextView_inst_writeSelectionToPasteboard_types(void *id, void* pboard, void* types) { +void* NSTextView_inst_initWithFrame_textContainer(void *id, NSRect frameRect, void* container) { return [(NSTextView*)id - writeSelectionToPasteboard: pboard - types: types]; + initWithFrame: frameRect + textContainer: container]; } -void NSTextView_inst_alignJustified(void *id, void* sender) { +void NSTextView_inst_invalidateTextContainerOrigin(void *id) { [(NSTextView*)id - alignJustified: sender]; + invalidateTextContainerOrigin]; } -void NSTextView_inst_changeAttributes(void *id, void* sender) { +void NSTextView_inst_loosenKerning(void *id, void* sender) { [(NSTextView*)id - changeAttributes: sender]; + loosenKerning: sender]; } -void NSTextView_inst_changeColor(void *id, void* sender) { +void NSTextView_inst_lowerBaseline(void *id, void* sender) { [(NSTextView*)id - changeColor: sender]; + lowerBaseline: sender]; } -void NSTextView_inst_useStandardKerning(void *id, void* sender) { +void NSTextView_inst_orderFrontLinkPanel(void *id, void* sender) { [(NSTextView*)id - useStandardKerning: sender]; + orderFrontLinkPanel: sender]; } -void NSTextView_inst_lowerBaseline(void *id, void* sender) { +void NSTextView_inst_orderFrontListPanel(void *id, void* sender) { [(NSTextView*)id - lowerBaseline: sender]; + orderFrontListPanel: sender]; } -void NSTextView_inst_raiseBaseline(void *id, void* sender) { +void NSTextView_inst_orderFrontSharingServicePicker(void *id, void* sender) { [(NSTextView*)id - raiseBaseline: sender]; + orderFrontSharingServicePicker: sender]; } -void NSTextView_inst_turnOffKerning(void *id, void* sender) { +void NSTextView_inst_orderFrontSpacingPanel(void *id, void* sender) { [(NSTextView*)id - turnOffKerning: sender]; + orderFrontSpacingPanel: sender]; } -void NSTextView_inst_loosenKerning(void *id, void* sender) { +void NSTextView_inst_orderFrontSubstitutionsPanel(void *id, void* sender) { [(NSTextView*)id - loosenKerning: sender]; + orderFrontSubstitutionsPanel: sender]; } -void NSTextView_inst_tightenKerning(void *id, void* sender) { +void NSTextView_inst_orderFrontTablePanel(void *id, void* sender) { [(NSTextView*)id - tightenKerning: sender]; + orderFrontTablePanel: sender]; } -void NSTextView_inst_useStandardLigatures(void *id, void* sender) { +void NSTextView_inst_outline(void *id, void* sender) { [(NSTextView*)id - useStandardLigatures: sender]; + outline: sender]; } -void NSTextView_inst_turnOffLigatures(void *id, void* sender) { +void NSTextView_inst_pasteAsPlainText(void *id, void* sender) { [(NSTextView*)id - turnOffLigatures: sender]; + pasteAsPlainText: sender]; } -void NSTextView_inst_useAllLigatures(void *id, void* sender) { +void NSTextView_inst_pasteAsRichText(void *id, void* sender) { [(NSTextView*)id - useAllLigatures: sender]; + pasteAsRichText: sender]; } -void NSTextView_inst_clickedOnLink_atIndex(void *id, void* link, unsigned long charIndex) { +void NSTextView_inst_performFindPanelAction(void *id, void* sender) { [(NSTextView*)id - clickedOnLink: link - atIndex: charIndex]; + performFindPanelAction: sender]; } -void NSTextView_inst_pasteAsPlainText(void *id, void* sender) { - [(NSTextView*)id - pasteAsPlainText: sender]; +void* NSTextView_inst_quickLookPreviewableItemsInRanges(void *id, void* ranges) { + return [(NSTextView*)id + quickLookPreviewableItemsInRanges: ranges]; } -void NSTextView_inst_pasteAsRichText(void *id, void* sender) { +void NSTextView_inst_raiseBaseline(void *id, void* sender) { [(NSTextView*)id - pasteAsRichText: sender]; + raiseBaseline: sender]; } -void NSTextView_inst_breakUndoCoalescing(void *id) { - [(NSTextView*)id - breakUndoCoalescing]; +BOOL NSTextView_inst_readSelectionFromPasteboard(void *id, void* pboard) { + return [(NSTextView*)id + readSelectionFromPasteboard: pboard]; } -void NSTextView_inst_updateFontPanel(void *id) { +void NSTextView_inst_replaceTextContainer(void *id, void* newContainer) { [(NSTextView*)id - updateFontPanel]; + replaceTextContainer: newContainer]; } -void NSTextView_inst_updateRuler(void *id) { +void NSTextView_inst_setConstrainedFrameSize(void *id, NSSize desiredSize) { [(NSTextView*)id - updateRuler]; + setConstrainedFrameSize: desiredSize]; } -void NSTextView_inst_updateDragTypeRegistration(void *id) { +void NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout(void *id, NSRect rect, BOOL flag) { [(NSTextView*)id - updateDragTypeRegistration]; + setNeedsDisplayInRect: rect + avoidAdditionalLayout: flag]; } BOOL NSTextView_inst_shouldChangeTextInRanges_replacementStrings(void *id, void* affectedRanges, void* replacementStrings) { @@ -5790,111 +5786,104 @@ BOOL NSTextView_inst_shouldChangeTextInRanges_replacementStrings(void *id, void* replacementStrings: replacementStrings]; } -void NSTextView_inst_didChangeText(void *id) { +void NSTextView_inst_startSpeaking(void *id, void* sender) { [(NSTextView*)id - didChangeText]; + startSpeaking: sender]; } -void NSTextView_inst_toggleSmartInsertDelete(void *id, void* sender) { +void NSTextView_inst_stopSpeaking(void *id, void* sender) { [(NSTextView*)id - toggleSmartInsertDelete: sender]; + stopSpeaking: sender]; } -void NSTextView_inst_toggleContinuousSpellChecking(void *id, void* sender) { +void NSTextView_inst_tightenKerning(void *id, void* sender) { [(NSTextView*)id - toggleContinuousSpellChecking: sender]; + tightenKerning: sender]; } -void NSTextView_inst_toggleGrammarChecking(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticDashSubstitution(void *id, void* sender) { [(NSTextView*)id - toggleGrammarChecking: sender]; + toggleAutomaticDashSubstitution: sender]; } -void NSTextView_inst_orderFrontSharingServicePicker(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticDataDetection(void *id, void* sender) { [(NSTextView*)id - orderFrontSharingServicePicker: sender]; -} - -BOOL NSTextView_inst_dragSelectionWithEvent_offset_slideBack(void *id, void* event, NSSize mouseOffset, BOOL slideBack) { - return [(NSTextView*)id - dragSelectionWithEvent: event - offset: mouseOffset - slideBack: slideBack]; + toggleAutomaticDataDetection: sender]; } -void NSTextView_inst_startSpeaking(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticLinkDetection(void *id, void* sender) { [(NSTextView*)id - startSpeaking: sender]; + toggleAutomaticLinkDetection: sender]; } -void NSTextView_inst_stopSpeaking(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticQuoteSubstitution(void *id, void* sender) { [(NSTextView*)id - stopSpeaking: sender]; + toggleAutomaticQuoteSubstitution: sender]; } -void NSTextView_inst_performFindPanelAction(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticSpellingCorrection(void *id, void* sender) { [(NSTextView*)id - performFindPanelAction: sender]; + toggleAutomaticSpellingCorrection: sender]; } -void NSTextView_inst_orderFrontLinkPanel(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticTextCompletion(void *id, void* sender) { [(NSTextView*)id - orderFrontLinkPanel: sender]; + toggleAutomaticTextCompletion: sender]; } -void NSTextView_inst_orderFrontListPanel(void *id, void* sender) { +void NSTextView_inst_toggleAutomaticTextReplacement(void *id, void* sender) { [(NSTextView*)id - orderFrontListPanel: sender]; + toggleAutomaticTextReplacement: sender]; } -void NSTextView_inst_orderFrontSpacingPanel(void *id, void* sender) { +void NSTextView_inst_toggleContinuousSpellChecking(void *id, void* sender) { [(NSTextView*)id - orderFrontSpacingPanel: sender]; + toggleContinuousSpellChecking: sender]; } -void NSTextView_inst_orderFrontTablePanel(void *id, void* sender) { +void NSTextView_inst_toggleGrammarChecking(void *id, void* sender) { [(NSTextView*)id - orderFrontTablePanel: sender]; + toggleGrammarChecking: sender]; } -void NSTextView_inst_orderFrontSubstitutionsPanel(void *id, void* sender) { +void NSTextView_inst_toggleQuickLookPreviewPanel(void *id, void* sender) { [(NSTextView*)id - orderFrontSubstitutionsPanel: sender]; + toggleQuickLookPreviewPanel: sender]; } -void NSTextView_inst_complete(void *id, void* sender) { +void NSTextView_inst_toggleSmartInsertDelete(void *id, void* sender) { [(NSTextView*)id - complete: sender]; + toggleSmartInsertDelete: sender]; } -void NSTextView_inst_checkTextInDocument(void *id, void* sender) { +void NSTextView_inst_turnOffKerning(void *id, void* sender) { [(NSTextView*)id - checkTextInDocument: sender]; + turnOffKerning: sender]; } -void NSTextView_inst_checkTextInSelection(void *id, void* sender) { +void NSTextView_inst_turnOffLigatures(void *id, void* sender) { [(NSTextView*)id - checkTextInSelection: sender]; + turnOffLigatures: sender]; } -void NSTextView_inst_toggleAutomaticDashSubstitution(void *id, void* sender) { +void NSTextView_inst_updateCandidates(void *id) { [(NSTextView*)id - toggleAutomaticDashSubstitution: sender]; + updateCandidates]; } -void NSTextView_inst_toggleAutomaticDataDetection(void *id, void* sender) { +void NSTextView_inst_updateDragTypeRegistration(void *id) { [(NSTextView*)id - toggleAutomaticDataDetection: sender]; + updateDragTypeRegistration]; } -void NSTextView_inst_toggleAutomaticSpellingCorrection(void *id, void* sender) { +void NSTextView_inst_updateFontPanel(void *id) { [(NSTextView*)id - toggleAutomaticSpellingCorrection: sender]; + updateFontPanel]; } -void NSTextView_inst_toggleAutomaticTextReplacement(void *id, void* sender) { +void NSTextView_inst_updateInsertionPointStateAndRestartTimer(void *id, BOOL restartFlag) { [(NSTextView*)id - toggleAutomaticTextReplacement: sender]; + updateInsertionPointStateAndRestartTimer: restartFlag]; } void NSTextView_inst_updateQuickLookPreviewPanel(void *id) { @@ -5902,19 +5891,9 @@ void NSTextView_inst_updateQuickLookPreviewPanel(void *id) { updateQuickLookPreviewPanel]; } -void NSTextView_inst_toggleQuickLookPreviewPanel(void *id, void* sender) { - [(NSTextView*)id - toggleQuickLookPreviewPanel: sender]; -} - -void* NSTextView_inst_quickLookPreviewableItemsInRanges(void *id, void* ranges) { - return [(NSTextView*)id - quickLookPreviewableItemsInRanges: ranges]; -} - -void NSTextView_inst_changeLayoutOrientation(void *id, void* sender) { +void NSTextView_inst_updateRuler(void *id) { [(NSTextView*)id - changeLayoutOrientation: sender]; + updateRuler]; } void NSTextView_inst_updateTextTouchBarItems(void *id) { @@ -5927,19 +5906,40 @@ void NSTextView_inst_updateTouchBarItemIdentifiers(void *id) { updateTouchBarItemIdentifiers]; } -void* NSTextView_inst_init(void *id) { - return [(NSTextView*)id - init]; -} - -void* NSTextView_inst_delegate(void *id) { - return [(NSTextView*)id - delegate]; +void NSTextView_inst_useAllLigatures(void *id, void* sender) { + [(NSTextView*)id + useAllLigatures: sender]; } -void NSTextView_inst_setDelegate(void *id, void* value) { +void NSTextView_inst_useStandardKerning(void *id, void* sender) { [(NSTextView*)id - setDelegate: value]; + useStandardKerning: sender]; +} + +void NSTextView_inst_useStandardLigatures(void *id, void* sender) { + [(NSTextView*)id + useStandardLigatures: sender]; +} + +BOOL NSTextView_inst_writeSelectionToPasteboard_types(void *id, void* pboard, void* types) { + return [(NSTextView*)id + writeSelectionToPasteboard: pboard + types: types]; +} + +void* NSTextView_inst_init(void *id) { + return [(NSTextView*)id + init]; +} + +void* NSTextView_inst_delegate(void *id) { + return [(NSTextView*)id + delegate]; +} + +void NSTextView_inst_setDelegate(void *id, void* value) { + [(NSTextView*)id + setDelegate: value]; } void* NSTextView_inst_textContainer(void *id) { @@ -6417,14 +6417,14 @@ void NSTextView_inst_setFont(void *id, void* value) { setFont: value]; } -void* NSView_inst_initWithFrame(void *id, NSRect frameRect) { +BOOL NSView_inst_acceptsFirstMouse(void *id, void* event) { return [(NSView*)id - initWithFrame: frameRect]; + acceptsFirstMouse: event]; } -void NSView_inst_prepareForReuse(void *id) { +void NSView_inst_addConstraints(void *id, void* constraints) { [(NSView*)id - prepareForReuse]; + addConstraints: constraints]; } void NSView_inst_addSubview(void *id, void* view) { @@ -6439,111 +6439,136 @@ void NSView_inst_addSubview_positioned_relativeTo(void *id, void* view, unsigned relativeTo: otherView]; } -void NSView_inst_didAddSubview(void *id, void* subview) { - [(NSView*)id - didAddSubview: subview]; +NSRect NSView_inst_adjustScroll(void *id, NSRect newVisible) { + return [(NSView*)id + adjustScroll: newVisible]; } -void NSView_inst_removeFromSuperview(void *id) { - [(NSView*)id - removeFromSuperview]; +NSRect NSView_inst_alignmentRectForFrame(void *id, NSRect frame) { + return [(NSView*)id + alignmentRectForFrame: frame]; } -void NSView_inst_removeFromSuperviewWithoutNeedingDisplay(void *id) { +void* NSView_inst_ancestorSharedWithView(void *id, void* view) { + return [(NSView*)id + ancestorSharedWithView: view]; +} + +BOOL NSView_inst_autoscroll(void *id, void* event) { + return [(NSView*)id + autoscroll: event]; +} + +void NSView_inst_beginDocument(void *id) { [(NSView*)id - removeFromSuperviewWithoutNeedingDisplay]; + beginDocument]; } -void NSView_inst_replaceSubview_with(void *id, void* oldView, void* newView) { +void NSView_inst_beginPageInRect_atPlacement(void *id, NSRect rect, NSPoint location) { [(NSView*)id - replaceSubview: oldView - with: newView]; + beginPageInRect: rect + atPlacement: location]; } -BOOL NSView_inst_isDescendantOf(void *id, void* view) { +NSRect NSView_inst_centerScanRect(void *id, NSRect rect) { return [(NSView*)id - isDescendantOf: view]; + centerScanRect: rect]; } -void* NSView_inst_ancestorSharedWithView(void *id, void* view) { +NSPoint NSView_inst_convertPoint_fromView(void *id, NSPoint point, void* view) { return [(NSView*)id - ancestorSharedWithView: view]; + convertPoint: point + fromView: view]; } -void NSView_inst_viewDidMoveToSuperview(void *id) { - [(NSView*)id - viewDidMoveToSuperview]; +NSPoint NSView_inst_convertPoint_toView(void *id, NSPoint point, void* view) { + return [(NSView*)id + convertPoint: point + toView: view]; } -void NSView_inst_viewDidMoveToWindow(void *id) { - [(NSView*)id - viewDidMoveToWindow]; +NSPoint NSView_inst_convertPointFromBacking(void *id, NSPoint point) { + return [(NSView*)id + convertPointFromBacking: point]; } -void NSView_inst_viewWillMoveToSuperview(void *id, void* newSuperview) { - [(NSView*)id - viewWillMoveToSuperview: newSuperview]; +NSPoint NSView_inst_convertPointFromLayer(void *id, NSPoint point) { + return [(NSView*)id + convertPointFromLayer: point]; } -void NSView_inst_viewWillMoveToWindow(void *id, void* newWindow) { - [(NSView*)id - viewWillMoveToWindow: newWindow]; +NSPoint NSView_inst_convertPointToBacking(void *id, NSPoint point) { + return [(NSView*)id + convertPointToBacking: point]; } -void NSView_inst_willRemoveSubview(void *id, void* subview) { - [(NSView*)id - willRemoveSubview: subview]; +NSPoint NSView_inst_convertPointToLayer(void *id, NSPoint point) { + return [(NSView*)id + convertPointToLayer: point]; } -void NSView_inst_setFrameOrigin(void *id, NSPoint newOrigin) { - [(NSView*)id - setFrameOrigin: newOrigin]; +NSRect NSView_inst_convertRect_fromView(void *id, NSRect rect, void* view) { + return [(NSView*)id + convertRect: rect + fromView: view]; } -void NSView_inst_setFrameSize(void *id, NSSize newSize) { - [(NSView*)id - setFrameSize: newSize]; +NSRect NSView_inst_convertRect_toView(void *id, NSRect rect, void* view) { + return [(NSView*)id + convertRect: rect + toView: view]; } -void NSView_inst_setBoundsOrigin(void *id, NSPoint newOrigin) { - [(NSView*)id - setBoundsOrigin: newOrigin]; +NSRect NSView_inst_convertRectFromBacking(void *id, NSRect rect) { + return [(NSView*)id + convertRectFromBacking: rect]; } -void NSView_inst_setBoundsSize(void *id, NSSize newSize) { - [(NSView*)id - setBoundsSize: newSize]; +NSRect NSView_inst_convertRectFromLayer(void *id, NSRect rect) { + return [(NSView*)id + convertRectFromLayer: rect]; } -void* NSView_inst_makeBackingLayer(void *id) { +NSRect NSView_inst_convertRectToBacking(void *id, NSRect rect) { return [(NSView*)id - makeBackingLayer]; + convertRectToBacking: rect]; } -void NSView_inst_updateLayer(void *id) { - [(NSView*)id - updateLayer]; +NSRect NSView_inst_convertRectToLayer(void *id, NSRect rect) { + return [(NSView*)id + convertRectToLayer: rect]; } -void NSView_inst_drawRect(void *id, NSRect dirtyRect) { - [(NSView*)id - drawRect: dirtyRect]; +NSSize NSView_inst_convertSize_fromView(void *id, NSSize size, void* view) { + return [(NSView*)id + convertSize: size + fromView: view]; } -BOOL NSView_inst_needsToDrawRect(void *id, NSRect rect) { +NSSize NSView_inst_convertSize_toView(void *id, NSSize size, void* view) { return [(NSView*)id - needsToDrawRect: rect]; + convertSize: size + toView: view]; } -void NSView_inst_print(void *id, void* sender) { - [(NSView*)id - print: sender]; +NSSize NSView_inst_convertSizeFromBacking(void *id, NSSize size) { + return [(NSView*)id + convertSizeFromBacking: size]; } -void NSView_inst_beginPageInRect_atPlacement(void *id, NSRect rect, NSPoint location) { - [(NSView*)id - beginPageInRect: rect - atPlacement: location]; +NSSize NSView_inst_convertSizeFromLayer(void *id, NSSize size) { + return [(NSView*)id + convertSizeFromLayer: size]; +} + +NSSize NSView_inst_convertSizeToBacking(void *id, NSSize size) { + return [(NSView*)id + convertSizeToBacking: size]; +} + +NSSize NSView_inst_convertSizeToLayer(void *id, NSSize size) { + return [(NSView*)id + convertSizeToLayer: size]; } void* NSView_inst_dataWithEPSInsideRect(void *id, NSRect rect) { @@ -6556,41 +6581,45 @@ void* NSView_inst_dataWithPDFInsideRect(void *id, NSRect rect) { dataWithPDFInsideRect: rect]; } -void NSView_inst_writeEPSInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { +void NSView_inst_didAddSubview(void *id, void* subview) { [(NSView*)id - writeEPSInsideRect: rect - toPasteboard: pasteboard]; + didAddSubview: subview]; } -void NSView_inst_writePDFInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { +void NSView_inst_didCloseMenu_withEvent(void *id, void* menu, void* event) { [(NSView*)id - writePDFInsideRect: rect - toPasteboard: pasteboard]; + didCloseMenu: menu + withEvent: event]; } -void NSView_inst_drawPageBorderWithSize(void *id, NSSize borderSize) { +void NSView_inst_discardCursorRects(void *id) { [(NSView*)id - drawPageBorderWithSize: borderSize]; + discardCursorRects]; } -NSRect NSView_inst_rectForPage(void *id, long page) { - return [(NSView*)id - rectForPage: page]; +void NSView_inst_display(void *id) { + [(NSView*)id + display]; } -NSPoint NSView_inst_locationOfPrintRect(void *id, NSRect rect) { - return [(NSView*)id - locationOfPrintRect: rect]; +void NSView_inst_displayIfNeeded(void *id) { + [(NSView*)id + displayIfNeeded]; } -void NSView_inst_setNeedsDisplayInRect(void *id, NSRect invalidRect) { +void NSView_inst_displayIfNeededIgnoringOpacity(void *id) { [(NSView*)id - setNeedsDisplayInRect: invalidRect]; + displayIfNeededIgnoringOpacity]; } -void NSView_inst_display(void *id) { +void NSView_inst_displayIfNeededInRect(void *id, NSRect rect) { [(NSView*)id - display]; + displayIfNeededInRect: rect]; +} + +void NSView_inst_displayIfNeededInRectIgnoringOpacity(void *id, NSRect rect) { + [(NSView*)id + displayIfNeededInRectIgnoringOpacity: rect]; } void NSView_inst_displayRect(void *id, NSRect rect) { @@ -6603,221 +6632,228 @@ void NSView_inst_displayRectIgnoringOpacity(void *id, NSRect rect) { displayRectIgnoringOpacity: rect]; } -void NSView_inst_displayIfNeeded(void *id) { +void NSView_inst_drawFocusRingMask(void *id) { [(NSView*)id - displayIfNeeded]; + drawFocusRingMask]; } -void NSView_inst_displayIfNeededInRect(void *id, NSRect rect) { +void NSView_inst_drawPageBorderWithSize(void *id, NSSize borderSize) { [(NSView*)id - displayIfNeededInRect: rect]; + drawPageBorderWithSize: borderSize]; } -void NSView_inst_displayIfNeededIgnoringOpacity(void *id) { +void NSView_inst_drawRect(void *id, NSRect dirtyRect) { [(NSView*)id - displayIfNeededIgnoringOpacity]; + drawRect: dirtyRect]; } -void NSView_inst_displayIfNeededInRectIgnoringOpacity(void *id, NSRect rect) { +void NSView_inst_endDocument(void *id) { [(NSView*)id - displayIfNeededInRectIgnoringOpacity: rect]; + endDocument]; } -void NSView_inst_translateRectsNeedingDisplayInRect_by(void *id, NSRect clipRect, NSSize delta) { +void NSView_inst_endPage(void *id) { [(NSView*)id - translateRectsNeedingDisplayInRect: clipRect - by: delta]; + endPage]; } -void NSView_inst_viewWillDraw(void *id) { +BOOL NSView_inst_enterFullScreenMode_withOptions(void *id, void* screen, void* options) { + return [(NSView*)id + enterFullScreenMode: screen + withOptions: options]; +} + +void NSView_inst_exerciseAmbiguityInLayout(void *id) { [(NSView*)id - viewWillDraw]; + exerciseAmbiguityInLayout]; } -NSPoint NSView_inst_convertPointFromBacking(void *id, NSPoint point) { - return [(NSView*)id - convertPointFromBacking: point]; +void NSView_inst_exitFullScreenModeWithOptions(void *id, void* options) { + [(NSView*)id + exitFullScreenModeWithOptions: options]; } -NSPoint NSView_inst_convertPointToBacking(void *id, NSPoint point) { +NSRect NSView_inst_frameForAlignmentRect(void *id, NSRect alignmentRect) { return [(NSView*)id - convertPointToBacking: point]; + frameForAlignmentRect: alignmentRect]; } -NSPoint NSView_inst_convertPointFromLayer(void *id, NSPoint point) { +void* NSView_inst_hitTest(void *id, NSPoint point) { return [(NSView*)id - convertPointFromLayer: point]; + hitTest: point]; } -NSPoint NSView_inst_convertPointToLayer(void *id, NSPoint point) { +void* NSView_inst_initWithFrame(void *id, NSRect frameRect) { return [(NSView*)id - convertPointToLayer: point]; + initWithFrame: frameRect]; } -NSRect NSView_inst_convertRectFromBacking(void *id, NSRect rect) { - return [(NSView*)id - convertRectFromBacking: rect]; +void NSView_inst_invalidateIntrinsicContentSize(void *id) { + [(NSView*)id + invalidateIntrinsicContentSize]; } -NSRect NSView_inst_convertRectToBacking(void *id, NSRect rect) { +BOOL NSView_inst_isDescendantOf(void *id, void* view) { return [(NSView*)id - convertRectToBacking: rect]; + isDescendantOf: view]; } -NSRect NSView_inst_convertRectFromLayer(void *id, NSRect rect) { - return [(NSView*)id - convertRectFromLayer: rect]; +void NSView_inst_layout(void *id) { + [(NSView*)id + layout]; } -NSRect NSView_inst_convertRectToLayer(void *id, NSRect rect) { - return [(NSView*)id - convertRectToLayer: rect]; +void NSView_inst_layoutSubtreeIfNeeded(void *id) { + [(NSView*)id + layoutSubtreeIfNeeded]; } -NSSize NSView_inst_convertSizeFromBacking(void *id, NSSize size) { +NSPoint NSView_inst_locationOfPrintRect(void *id, NSRect rect) { return [(NSView*)id - convertSizeFromBacking: size]; + locationOfPrintRect: rect]; } -NSSize NSView_inst_convertSizeToBacking(void *id, NSSize size) { +void* NSView_inst_makeBackingLayer(void *id) { return [(NSView*)id - convertSizeToBacking: size]; + makeBackingLayer]; } -NSSize NSView_inst_convertSizeFromLayer(void *id, NSSize size) { +void* NSView_inst_menuForEvent(void *id, void* event) { return [(NSView*)id - convertSizeFromLayer: size]; + menuForEvent: event]; } -NSSize NSView_inst_convertSizeToLayer(void *id, NSSize size) { +BOOL NSView_inst_mouse_inRect(void *id, NSPoint point, NSRect rect) { return [(NSView*)id - convertSizeToLayer: size]; + mouse: point + inRect: rect]; } -NSPoint NSView_inst_convertPoint_fromView(void *id, NSPoint point, void* view) { +BOOL NSView_inst_needsToDrawRect(void *id, NSRect rect) { return [(NSView*)id - convertPoint: point - fromView: view]; + needsToDrawRect: rect]; } -NSPoint NSView_inst_convertPoint_toView(void *id, NSPoint point, void* view) { - return [(NSView*)id - convertPoint: point - toView: view]; +void NSView_inst_noteFocusRingMaskChanged(void *id) { + [(NSView*)id + noteFocusRingMaskChanged]; } -NSSize NSView_inst_convertSize_fromView(void *id, NSSize size, void* view) { +BOOL NSView_inst_performKeyEquivalent(void *id, void* event) { return [(NSView*)id - convertSize: size - fromView: view]; + performKeyEquivalent: event]; } -NSSize NSView_inst_convertSize_toView(void *id, NSSize size, void* view) { - return [(NSView*)id - convertSize: size - toView: view]; +void NSView_inst_prepareContentInRect(void *id, NSRect rect) { + [(NSView*)id + prepareContentInRect: rect]; } -NSRect NSView_inst_convertRect_fromView(void *id, NSRect rect, void* view) { - return [(NSView*)id - convertRect: rect - fromView: view]; +void NSView_inst_prepareForReuse(void *id) { + [(NSView*)id + prepareForReuse]; } -NSRect NSView_inst_convertRect_toView(void *id, NSRect rect, void* view) { +void NSView_inst_print(void *id, void* sender) { + [(NSView*)id + print: sender]; +} + +NSRect NSView_inst_rectForPage(void *id, long page) { return [(NSView*)id - convertRect: rect - toView: view]; + rectForPage: page]; } -NSRect NSView_inst_centerScanRect(void *id, NSRect rect) { +NSRect NSView_inst_rectForSmartMagnificationAtPoint_inRect(void *id, NSPoint location, NSRect visibleRect) { return [(NSView*)id - centerScanRect: rect]; + rectForSmartMagnificationAtPoint: location + inRect: visibleRect]; } -void NSView_inst_translateOriginToPoint(void *id, NSPoint translation) { +void NSView_inst_registerForDraggedTypes(void *id, void* newTypes) { [(NSView*)id - translateOriginToPoint: translation]; + registerForDraggedTypes: newTypes]; } -void NSView_inst_scaleUnitSquareToSize(void *id, NSSize newUnitSize) { +void NSView_inst_removeAllToolTips(void *id) { [(NSView*)id - scaleUnitSquareToSize: newUnitSize]; + removeAllToolTips]; } -void NSView_inst_rotateByAngle(void *id, double angle) { +void NSView_inst_removeConstraints(void *id, void* constraints) { [(NSView*)id - rotateByAngle: angle]; + removeConstraints: constraints]; } -void NSView_inst_resizeSubviewsWithOldSize(void *id, NSSize oldSize) { +void NSView_inst_removeFromSuperview(void *id) { [(NSView*)id - resizeSubviewsWithOldSize: oldSize]; + removeFromSuperview]; } -void NSView_inst_resizeWithOldSuperviewSize(void *id, NSSize oldSize) { +void NSView_inst_removeFromSuperviewWithoutNeedingDisplay(void *id) { [(NSView*)id - resizeWithOldSuperviewSize: oldSize]; + removeFromSuperviewWithoutNeedingDisplay]; } -void NSView_inst_addConstraints(void *id, void* constraints) { +void NSView_inst_replaceSubview_with(void *id, void* oldView, void* newView) { [(NSView*)id - addConstraints: constraints]; + replaceSubview: oldView + with: newView]; } -void NSView_inst_removeConstraints(void *id, void* constraints) { +void NSView_inst_resetCursorRects(void *id) { [(NSView*)id - removeConstraints: constraints]; + resetCursorRects]; } -void NSView_inst_invalidateIntrinsicContentSize(void *id) { +void NSView_inst_resizeSubviewsWithOldSize(void *id, NSSize oldSize) { [(NSView*)id - invalidateIntrinsicContentSize]; + resizeSubviewsWithOldSize: oldSize]; } -NSRect NSView_inst_alignmentRectForFrame(void *id, NSRect frame) { - return [(NSView*)id - alignmentRectForFrame: frame]; +void NSView_inst_resizeWithOldSuperviewSize(void *id, NSSize oldSize) { + [(NSView*)id + resizeWithOldSuperviewSize: oldSize]; } -NSRect NSView_inst_frameForAlignmentRect(void *id, NSRect alignmentRect) { - return [(NSView*)id - frameForAlignmentRect: alignmentRect]; +void NSView_inst_rotateByAngle(void *id, double angle) { + [(NSView*)id + rotateByAngle: angle]; } -void NSView_inst_layout(void *id) { +void NSView_inst_scaleUnitSquareToSize(void *id, NSSize newUnitSize) { [(NSView*)id - layout]; + scaleUnitSquareToSize: newUnitSize]; } -void NSView_inst_layoutSubtreeIfNeeded(void *id) { +void NSView_inst_scrollPoint(void *id, NSPoint point) { [(NSView*)id - layoutSubtreeIfNeeded]; + scrollPoint: point]; } -void NSView_inst_updateConstraints(void *id) { - [(NSView*)id - updateConstraints]; +BOOL NSView_inst_scrollRectToVisible(void *id, NSRect rect) { + return [(NSView*)id + scrollRectToVisible: rect]; } -void NSView_inst_updateConstraintsForSubtreeIfNeeded(void *id) { +void NSView_inst_setBoundsOrigin(void *id, NSPoint newOrigin) { [(NSView*)id - updateConstraintsForSubtreeIfNeeded]; + setBoundsOrigin: newOrigin]; } -void NSView_inst_exerciseAmbiguityInLayout(void *id) { +void NSView_inst_setBoundsSize(void *id, NSSize newSize) { [(NSView*)id - exerciseAmbiguityInLayout]; + setBoundsSize: newSize]; } -void NSView_inst_drawFocusRingMask(void *id) { +void NSView_inst_setFrameOrigin(void *id, NSPoint newOrigin) { [(NSView*)id - drawFocusRingMask]; + setFrameOrigin: newOrigin]; } -void NSView_inst_noteFocusRingMaskChanged(void *id) { +void NSView_inst_setFrameSize(void *id, NSSize newSize) { [(NSView*)id - noteFocusRingMaskChanged]; + setFrameSize: newSize]; } void NSView_inst_setKeyboardFocusRingNeedsDisplayInRect(void *id, NSRect rect) { @@ -6825,137 +6861,116 @@ void NSView_inst_setKeyboardFocusRingNeedsDisplayInRect(void *id, NSRect rect) { setKeyboardFocusRingNeedsDisplayInRect: rect]; } -BOOL NSView_inst_enterFullScreenMode_withOptions(void *id, void* screen, void* options) { - return [(NSView*)id - enterFullScreenMode: screen - withOptions: options]; +void NSView_inst_setNeedsDisplayInRect(void *id, NSRect invalidRect) { + [(NSView*)id + setNeedsDisplayInRect: invalidRect]; } -void NSView_inst_exitFullScreenModeWithOptions(void *id, void* options) { - [(NSView*)id - exitFullScreenModeWithOptions: options]; +BOOL NSView_inst_shouldDelayWindowOrderingForEvent(void *id, void* event) { + return [(NSView*)id + shouldDelayWindowOrderingForEvent: event]; } -void NSView_inst_viewDidHide(void *id) { +void NSView_inst_showDefinitionForAttributedString_atPoint(void *id, void* attrString, NSPoint textBaselineOrigin) { [(NSView*)id - viewDidHide]; + showDefinitionForAttributedString: attrString + atPoint: textBaselineOrigin]; } -void NSView_inst_viewDidUnhide(void *id) { +void NSView_inst_translateOriginToPoint(void *id, NSPoint translation) { [(NSView*)id - viewDidUnhide]; + translateOriginToPoint: translation]; } -void NSView_inst_viewWillStartLiveResize(void *id) { +void NSView_inst_translateRectsNeedingDisplayInRect_by(void *id, NSRect clipRect, NSSize delta) { [(NSView*)id - viewWillStartLiveResize]; + translateRectsNeedingDisplayInRect: clipRect + by: delta]; } -void NSView_inst_viewDidEndLiveResize(void *id) { +void NSView_inst_unregisterDraggedTypes(void *id) { [(NSView*)id - viewDidEndLiveResize]; + unregisterDraggedTypes]; } -BOOL NSView_inst_acceptsFirstMouse(void *id, void* event) { - return [(NSView*)id - acceptsFirstMouse: event]; +void NSView_inst_updateConstraints(void *id) { + [(NSView*)id + updateConstraints]; } -void* NSView_inst_hitTest(void *id, NSPoint point) { - return [(NSView*)id - hitTest: point]; +void NSView_inst_updateConstraintsForSubtreeIfNeeded(void *id) { + [(NSView*)id + updateConstraintsForSubtreeIfNeeded]; } -BOOL NSView_inst_mouse_inRect(void *id, NSPoint point, NSRect rect) { - return [(NSView*)id - mouse: point - inRect: rect]; +void NSView_inst_updateLayer(void *id) { + [(NSView*)id + updateLayer]; } -BOOL NSView_inst_performKeyEquivalent(void *id, void* event) { - return [(NSView*)id - performKeyEquivalent: event]; +void NSView_inst_updateTrackingAreas(void *id) { + [(NSView*)id + updateTrackingAreas]; } -void NSView_inst_prepareContentInRect(void *id, NSRect rect) { +void NSView_inst_viewDidChangeBackingProperties(void *id) { [(NSView*)id - prepareContentInRect: rect]; + viewDidChangeBackingProperties]; } -void NSView_inst_scrollPoint(void *id, NSPoint point) { +void NSView_inst_viewDidChangeEffectiveAppearance(void *id) { [(NSView*)id - scrollPoint: point]; + viewDidChangeEffectiveAppearance]; } -BOOL NSView_inst_scrollRectToVisible(void *id, NSRect rect) { - return [(NSView*)id - scrollRectToVisible: rect]; +void NSView_inst_viewDidEndLiveResize(void *id) { + [(NSView*)id + viewDidEndLiveResize]; } -BOOL NSView_inst_autoscroll(void *id, void* event) { - return [(NSView*)id - autoscroll: event]; +void NSView_inst_viewDidHide(void *id) { + [(NSView*)id + viewDidHide]; } -NSRect NSView_inst_adjustScroll(void *id, NSRect newVisible) { - return [(NSView*)id - adjustScroll: newVisible]; +void NSView_inst_viewDidMoveToSuperview(void *id) { + [(NSView*)id + viewDidMoveToSuperview]; } -void NSView_inst_registerForDraggedTypes(void *id, void* newTypes) { +void NSView_inst_viewDidMoveToWindow(void *id) { [(NSView*)id - registerForDraggedTypes: newTypes]; + viewDidMoveToWindow]; } -void NSView_inst_unregisterDraggedTypes(void *id) { - [(NSView*)id - unregisterDraggedTypes]; -} - -BOOL NSView_inst_shouldDelayWindowOrderingForEvent(void *id, void* event) { - return [(NSView*)id - shouldDelayWindowOrderingForEvent: event]; -} - -NSRect NSView_inst_rectForSmartMagnificationAtPoint_inRect(void *id, NSPoint location, NSRect visibleRect) { - return [(NSView*)id - rectForSmartMagnificationAtPoint: location - inRect: visibleRect]; -} - -void NSView_inst_viewDidChangeBackingProperties(void *id) { +void NSView_inst_viewDidUnhide(void *id) { [(NSView*)id - viewDidChangeBackingProperties]; -} - -void* NSView_inst_viewWithTag(void *id, long tag) { - return [(NSView*)id - viewWithTag: tag]; + viewDidUnhide]; } -void NSView_inst_removeAllToolTips(void *id) { +void NSView_inst_viewWillDraw(void *id) { [(NSView*)id - removeAllToolTips]; + viewWillDraw]; } -void NSView_inst_updateTrackingAreas(void *id) { +void NSView_inst_viewWillMoveToSuperview(void *id, void* newSuperview) { [(NSView*)id - updateTrackingAreas]; + viewWillMoveToSuperview: newSuperview]; } -void NSView_inst_discardCursorRects(void *id) { +void NSView_inst_viewWillMoveToWindow(void *id, void* newWindow) { [(NSView*)id - discardCursorRects]; + viewWillMoveToWindow: newWindow]; } -void NSView_inst_resetCursorRects(void *id) { +void NSView_inst_viewWillStartLiveResize(void *id) { [(NSView*)id - resetCursorRects]; + viewWillStartLiveResize]; } -void* NSView_inst_menuForEvent(void *id, void* event) { +void* NSView_inst_viewWithTag(void *id, long tag) { return [(NSView*)id - menuForEvent: event]; + viewWithTag: tag]; } void NSView_inst_willOpenMenu_withEvent(void *id, void* menu, void* event) { @@ -6964,36 +6979,21 @@ void NSView_inst_willOpenMenu_withEvent(void *id, void* menu, void* event) { withEvent: event]; } -void NSView_inst_didCloseMenu_withEvent(void *id, void* menu, void* event) { - [(NSView*)id - didCloseMenu: menu - withEvent: event]; -} - -void NSView_inst_beginDocument(void *id) { - [(NSView*)id - beginDocument]; -} - -void NSView_inst_endDocument(void *id) { - [(NSView*)id - endDocument]; -} - -void NSView_inst_endPage(void *id) { +void NSView_inst_willRemoveSubview(void *id, void* subview) { [(NSView*)id - endPage]; + willRemoveSubview: subview]; } -void NSView_inst_showDefinitionForAttributedString_atPoint(void *id, void* attrString, NSPoint textBaselineOrigin) { +void NSView_inst_writeEPSInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { [(NSView*)id - showDefinitionForAttributedString: attrString - atPoint: textBaselineOrigin]; + writeEPSInsideRect: rect + toPasteboard: pasteboard]; } -void NSView_inst_viewDidChangeEffectiveAppearance(void *id) { +void NSView_inst_writePDFInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { [(NSView*)id - viewDidChangeEffectiveAppearance]; + writePDFInsideRect: rect + toPasteboard: pasteboard]; } void* NSView_inst_init(void *id) { @@ -8820,46 +8820,31 @@ func NSBundle_fromRef(ref objc.Ref) NSBundle { return NSBundle_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSBundle) InitWithURL_asNSBundle( - url core.NSURLRef, -) ( - r0 NSBundle, -) { - ret := C.NSBundle_inst_initWithURL( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(url), - ) - r0 = NSBundle_fromPointer(ret) - return -} - -func (x gen_NSBundle) InitWithPath_asNSBundle( - path core.NSStringRef, +func (x gen_NSBundle) URLForAuxiliaryExecutable( + executableName core.NSStringRef, ) ( - r0 NSBundle, + r0 core.NSURL, ) { - ret := C.NSBundle_inst_initWithPath( + ret := C.NSBundle_inst_URLForAuxiliaryExecutable( unsafe.Pointer(x.Pointer()), - objc.RefPointer(path), + objc.RefPointer(executableName), ) - r0 = NSBundle_fromPointer(ret) + r0 = core.NSURL_fromPointer(ret) return } -func (x gen_NSBundle) LoadNibNamed_owner_options( +func (x gen_NSBundle) URLForResource_withExtension( name core.NSStringRef, - owner objc.Ref, - options core.NSDictionaryRef, + ext core.NSStringRef, ) ( - r0 core.NSArray, + r0 core.NSURL, ) { - ret := C.NSBundle_inst_loadNibNamed_owner_options( + ret := C.NSBundle_inst_URLForResource_withExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), - objc.RefPointer(owner), - objc.RefPointer(options), + objc.RefPointer(ext), ) - r0 = core.NSArray_fromPointer(ret) + r0 = core.NSURL_fromPointer(ret) return } @@ -8880,16 +8865,20 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory( return } -func (x gen_NSBundle) URLForResource_withExtension( +func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( name core.NSStringRef, ext core.NSStringRef, + subpath core.NSStringRef, + localizationName core.NSStringRef, ) ( r0 core.NSURL, ) { - ret := C.NSBundle_inst_URLForResource_withExtension( + ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_localization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), + objc.RefPointer(subpath), + objc.RefPointer(localizationName), ) r0 = core.NSURL_fromPointer(ret) return @@ -8910,42 +8899,136 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( return } -func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( - name core.NSStringRef, +func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) ( - r0 core.NSURL, + r0 core.NSArray, ) { - ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_localization( + ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization( unsafe.Pointer(x.Pointer()), - objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(localizationName), ) - r0 = core.NSURL_fromPointer(ret) + r0 = core.NSArray_fromPointer(ret) return } -func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( - ext core.NSStringRef, - subpath core.NSStringRef, - localizationName core.NSStringRef, +func (x gen_NSBundle) InitWithPath_asNSBundle( + path core.NSStringRef, +) ( + r0 NSBundle, +) { + ret := C.NSBundle_inst_initWithPath( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(path), + ) + r0 = NSBundle_fromPointer(ret) + return +} + +func (x gen_NSBundle) InitWithURL_asNSBundle( + url core.NSURLRef, +) ( + r0 NSBundle, +) { + ret := C.NSBundle_inst_initWithURL( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(url), + ) + r0 = NSBundle_fromPointer(ret) + return +} + +func (x gen_NSBundle) Load() ( + r0 bool, +) { + ret := C.NSBundle_inst_load( + unsafe.Pointer(x.Pointer()), + ) + r0 = convertObjCBoolToGo(ret) + return +} + +func (x gen_NSBundle) LoadNibNamed_owner_options( + name core.NSStringRef, + owner objc.Ref, + options core.NSDictionaryRef, ) ( r0 core.NSArray, ) { - ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization( + ret := C.NSBundle_inst_loadNibNamed_owner_options( unsafe.Pointer(x.Pointer()), - objc.RefPointer(ext), - objc.RefPointer(subpath), - objc.RefPointer(localizationName), + objc.RefPointer(name), + objc.RefPointer(owner), + objc.RefPointer(options), ) r0 = core.NSArray_fromPointer(ret) return } +func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( + key core.NSStringRef, + value core.NSStringRef, + tableName core.NSStringRef, +) ( + r0 core.NSAttributedString, +) { + ret := C.NSBundle_inst_localizedAttributedStringForKey_value_table( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(key), + objc.RefPointer(value), + objc.RefPointer(tableName), + ) + r0 = core.NSAttributedString_fromPointer(ret) + return +} + +func (x gen_NSBundle) LocalizedStringForKey_value_table( + key core.NSStringRef, + value core.NSStringRef, + tableName core.NSStringRef, +) ( + r0 core.NSString, +) { + ret := C.NSBundle_inst_localizedStringForKey_value_table( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(key), + objc.RefPointer(value), + objc.RefPointer(tableName), + ) + r0 = core.NSString_fromPointer(ret) + return +} + +func (x gen_NSBundle) ObjectForInfoDictionaryKey( + key core.NSStringRef, +) ( + r0 objc.Object, +) { + ret := C.NSBundle_inst_objectForInfoDictionaryKey( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(key), + ) + r0 = objc.Object_fromPointer(ret) + return +} + +func (x gen_NSBundle) PathForAuxiliaryExecutable( + executableName core.NSStringRef, +) ( + r0 core.NSString, +) { + ret := C.NSBundle_inst_pathForAuxiliaryExecutable( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(executableName), + ) + r0 = core.NSString_fromPointer(ret) + return +} + func (x gen_NSBundle) PathForResource_ofType( name core.NSStringRef, ext core.NSStringRef, @@ -9029,99 +9112,16 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( return } -func (x gen_NSBundle) LocalizedStringForKey_value_table( - key core.NSStringRef, - value core.NSStringRef, - tableName core.NSStringRef, -) ( - r0 core.NSString, +func (x gen_NSBundle) Unload() ( + r0 bool, ) { - ret := C.NSBundle_inst_localizedStringForKey_value_table( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), - objc.RefPointer(value), - objc.RefPointer(tableName), - ) - r0 = core.NSString_fromPointer(ret) - return -} - -func (x gen_NSBundle) URLForAuxiliaryExecutable( - executableName core.NSStringRef, -) ( - r0 core.NSURL, -) { - ret := C.NSBundle_inst_URLForAuxiliaryExecutable( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(executableName), - ) - r0 = core.NSURL_fromPointer(ret) - return -} - -func (x gen_NSBundle) PathForAuxiliaryExecutable( - executableName core.NSStringRef, -) ( - r0 core.NSString, -) { - ret := C.NSBundle_inst_pathForAuxiliaryExecutable( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(executableName), - ) - r0 = core.NSString_fromPointer(ret) - return -} - -func (x gen_NSBundle) ObjectForInfoDictionaryKey( - key core.NSStringRef, -) ( - r0 objc.Object, -) { - ret := C.NSBundle_inst_objectForInfoDictionaryKey( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), - ) - r0 = objc.Object_fromPointer(ret) - return -} - -func (x gen_NSBundle) Load() ( - r0 bool, -) { - ret := C.NSBundle_inst_load( - unsafe.Pointer(x.Pointer()), - ) - r0 = convertObjCBoolToGo(ret) - return -} - -func (x gen_NSBundle) Unload() ( - r0 bool, -) { - ret := C.NSBundle_inst_unload( + ret := C.NSBundle_inst_unload( unsafe.Pointer(x.Pointer()), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( - key core.NSStringRef, - value core.NSStringRef, - tableName core.NSStringRef, -) ( - r0 core.NSAttributedString, -) { - ret := C.NSBundle_inst_localizedAttributedStringForKey_value_table( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), - objc.RefPointer(value), - objc.RefPointer(tableName), - ) - r0 = core.NSAttributedString_fromPointer(ret) - return -} - func (x gen_NSBundle) Init_asNSBundle() ( r0 NSBundle, ) { @@ -9566,36 +9566,80 @@ func NSApplication_fromRef(ref objc.Ref) NSApplication { return NSApplication_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSApplication) Run() { - C.NSApplication_inst_run( +func (x gen_NSApplication) ActivateContextHelpMode( + sender objc.Ref, +) { + C.NSApplication_inst_activateContextHelpMode( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } -func (x gen_NSApplication) FinishLaunching() { - C.NSApplication_inst_finishLaunching( +func (x gen_NSApplication) ActivateIgnoringOtherApps( + flag bool, +) { + C.NSApplication_inst_activateIgnoringOtherApps( unsafe.Pointer(x.Pointer()), + convertToObjCBool(flag), ) return } -func (x gen_NSApplication) Stop( - sender objc.Ref, +func (x gen_NSApplication) ActivationPolicy() ( + r0 core.NSInteger, ) { - C.NSApplication_inst_stop( + ret := C.NSApplication_inst_activationPolicy( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) + r0 = core.NSInteger(ret) return } -func (x gen_NSApplication) SendEvent( - event NSEventRef, +func (x gen_NSApplication) CancelUserAttentionRequest( + request core.NSInteger, ) { - C.NSApplication_inst_sendEvent( + C.NSApplication_inst_cancelUserAttentionRequest( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + C.long(request), + ) + return +} + +func (x gen_NSApplication) Deactivate() { + C.NSApplication_inst_deactivate( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSApplication) DisableRelaunchOnLogin() { + C.NSApplication_inst_disableRelaunchOnLogin( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSApplication) EnableRelaunchOnLogin() { + C.NSApplication_inst_enableRelaunchOnLogin( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSApplication) FinishLaunching() { + C.NSApplication_inst_finishLaunching( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSApplication) HideOtherApplications( + sender objc.Ref, +) { + C.NSApplication_inst_hideOtherApplications( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } @@ -9612,18 +9656,37 @@ func (x gen_NSApplication) PostEvent_atStart( return } -func (x gen_NSApplication) TryToPerform_with( - action objc.Selector, - object objc.Ref, -) ( - r0 bool, +func (x gen_NSApplication) RegisterForRemoteNotifications() { + C.NSApplication_inst_registerForRemoteNotifications( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( + handler objc.Ref, ) { - ret := C.NSApplication_inst_tryToPerform_with( + C.NSApplication_inst_registerUserInterfaceItemSearchHandler( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(handler), + ) + return +} + +func (x gen_NSApplication) ReplyToApplicationShouldTerminate( + shouldTerminate bool, +) { + C.NSApplication_inst_replyToApplicationShouldTerminate( + unsafe.Pointer(x.Pointer()), + convertToObjCBool(shouldTerminate), + ) + return +} + +func (x gen_NSApplication) Run() { + C.NSApplication_inst_run( unsafe.Pointer(x.Pointer()), - action.SelectorAddress(), - objc.RefPointer(object), ) - r0 = convertObjCBoolToGo(ret) return } @@ -9644,6 +9707,49 @@ func (x gen_NSApplication) SendAction_to_from( return } +func (x gen_NSApplication) SendEvent( + event NSEventRef, +) { + C.NSApplication_inst_sendEvent( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(event), + ) + return +} + +func (x gen_NSApplication) SetActivationPolicy( + activationPolicy core.NSInteger, +) ( + r0 bool, +) { + ret := C.NSApplication_inst_setActivationPolicy( + unsafe.Pointer(x.Pointer()), + C.long(activationPolicy), + ) + r0 = convertObjCBoolToGo(ret) + return +} + +func (x gen_NSApplication) ShowHelp( + sender objc.Ref, +) { + C.NSApplication_inst_showHelp( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSApplication) Stop( + sender objc.Ref, +) { + C.NSApplication_inst_stop( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + func (x gen_NSApplication) TargetForAction( action objc.Selector, ) ( @@ -9684,50 +9790,37 @@ func (x gen_NSApplication) Terminate( return } -func (x gen_NSApplication) ReplyToApplicationShouldTerminate( - shouldTerminate bool, +func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( + sender objc.Ref, ) { - C.NSApplication_inst_replyToApplicationShouldTerminate( + C.NSApplication_inst_toggleTouchBarCustomizationPalette( unsafe.Pointer(x.Pointer()), - convertToObjCBool(shouldTerminate), + objc.RefPointer(sender), ) return } -func (x gen_NSApplication) ActivateIgnoringOtherApps( - flag bool, +func (x gen_NSApplication) TryToPerform_with( + action objc.Selector, + object objc.Ref, +) ( + r0 bool, ) { - C.NSApplication_inst_activateIgnoringOtherApps( + ret := C.NSApplication_inst_tryToPerform_with( unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), + action.SelectorAddress(), + objc.RefPointer(object), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSApplication) Deactivate() { - C.NSApplication_inst_deactivate( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSApplication) DisableRelaunchOnLogin() { - C.NSApplication_inst_disableRelaunchOnLogin( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSApplication) EnableRelaunchOnLogin() { - C.NSApplication_inst_enableRelaunchOnLogin( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSApplication) RegisterForRemoteNotifications() { - C.NSApplication_inst_registerForRemoteNotifications( +func (x gen_NSApplication) UnhideAllApplications( + sender objc.Ref, +) { + C.NSApplication_inst_unhideAllApplications( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } @@ -9739,36 +9832,6 @@ func (x gen_NSApplication) UnregisterForRemoteNotifications() { return } -func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( - sender objc.Ref, -) { - C.NSApplication_inst_toggleTouchBarCustomizationPalette( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSApplication) CancelUserAttentionRequest( - request core.NSInteger, -) { - C.NSApplication_inst_cancelUserAttentionRequest( - unsafe.Pointer(x.Pointer()), - C.long(request), - ) - return -} - -func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( - handler objc.Ref, -) { - C.NSApplication_inst_registerUserInterfaceItemSearchHandler( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(handler), - ) - return -} - func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { @@ -9779,69 +9842,6 @@ func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( return } -func (x gen_NSApplication) ShowHelp( - sender objc.Ref, -) { - C.NSApplication_inst_showHelp( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSApplication) ActivateContextHelpMode( - sender objc.Ref, -) { - C.NSApplication_inst_activateContextHelpMode( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSApplication) HideOtherApplications( - sender objc.Ref, -) { - C.NSApplication_inst_hideOtherApplications( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSApplication) UnhideAllApplications( - sender objc.Ref, -) { - C.NSApplication_inst_unhideAllApplications( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSApplication) ActivationPolicy() ( - r0 core.NSInteger, -) { - ret := C.NSApplication_inst_activationPolicy( - unsafe.Pointer(x.Pointer()), - ) - r0 = core.NSInteger(ret) - return -} - -func (x gen_NSApplication) SetActivationPolicy( - activationPolicy core.NSInteger, -) ( - r0 bool, -) { - ret := C.NSApplication_inst_setActivationPolicy( - unsafe.Pointer(x.Pointer()), - C.long(activationPolicy), - ) - r0 = convertObjCBoolToGo(ret) - return -} - func (x gen_NSApplication) Init_asNSApplication() ( r0 NSApplication, ) { @@ -10041,87 +10041,60 @@ func NSControl_fromRef(ref objc.Ref) NSControl { return NSControl_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSControl) InitWithFrame_asNSControl( - frameRect core.NSRect, -) ( - r0 NSControl, -) { - ret := C.NSControl_inst_initWithFrame( - unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), - ) - r0 = NSControl_fromPointer(ret) - return -} - -func (x gen_NSControl) TakeDoubleValueFrom( - sender objc.Ref, -) { - C.NSControl_inst_takeDoubleValueFrom( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSControl) TakeFloatValueFrom( - sender objc.Ref, -) { - C.NSControl_inst_takeFloatValueFrom( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSControl) TakeIntValueFrom( - sender objc.Ref, +func (x gen_NSControl) AbortEditing() ( + r0 bool, ) { - C.NSControl_inst_takeIntValueFrom( + ret := C.NSControl_inst_abortEditing( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSControl) TakeIntegerValueFrom( - sender objc.Ref, +func (x gen_NSControl) CurrentEditor() ( + r0 NSText, ) { - C.NSControl_inst_takeIntegerValueFrom( + ret := C.NSControl_inst_currentEditor( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) + r0 = NSText_fromPointer(ret) return } -func (x gen_NSControl) TakeObjectValueFrom( - sender objc.Ref, +func (x gen_NSControl) DrawWithExpansionFrame_inView( + contentFrame core.NSRect, + view NSViewRef, ) { - C.NSControl_inst_takeObjectValueFrom( + C.NSControl_inst_drawWithExpansionFrame_inView( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&contentFrame)), + objc.RefPointer(view), ) return } -func (x gen_NSControl) TakeStringValueFrom( - sender objc.Ref, +func (x gen_NSControl) EditWithFrame_editor_delegate_event( + rect core.NSRect, + textObj NSTextRef, + delegate objc.Ref, + event NSEventRef, ) { - C.NSControl_inst_takeStringValueFrom( + C.NSControl_inst_editWithFrame_editor_delegate_event( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(textObj), + objc.RefPointer(delegate), + objc.RefPointer(event), ) return } -func (x gen_NSControl) DrawWithExpansionFrame_inView( - contentFrame core.NSRect, - view NSViewRef, +func (x gen_NSControl) EndEditing( + textObj NSTextRef, ) { - C.NSControl_inst_drawWithExpansionFrame_inView( + C.NSControl_inst_endEditing( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&contentFrame)), - objc.RefPointer(view), + objc.RefPointer(textObj), ) return } @@ -10139,55 +10112,35 @@ func (x gen_NSControl) ExpansionFrameWithFrame( return } -func (x gen_NSControl) AbortEditing() ( - r0 bool, -) { - ret := C.NSControl_inst_abortEditing( - unsafe.Pointer(x.Pointer()), - ) - r0 = convertObjCBoolToGo(ret) - return -} - -func (x gen_NSControl) CurrentEditor() ( - r0 NSText, +func (x gen_NSControl) InitWithFrame_asNSControl( + frameRect core.NSRect, +) ( + r0 NSControl, ) { - ret := C.NSControl_inst_currentEditor( - unsafe.Pointer(x.Pointer()), - ) - r0 = NSText_fromPointer(ret) - return -} - -func (x gen_NSControl) ValidateEditing() { - C.NSControl_inst_validateEditing( + ret := C.NSControl_inst_initWithFrame( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) + r0 = NSControl_fromPointer(ret) return } -func (x gen_NSControl) EditWithFrame_editor_delegate_event( - rect core.NSRect, - textObj NSTextRef, - delegate objc.Ref, +func (x gen_NSControl) MouseDown( event NSEventRef, ) { - C.NSControl_inst_editWithFrame_editor_delegate_event( + C.NSControl_inst_mouseDown( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - objc.RefPointer(textObj), - objc.RefPointer(delegate), objc.RefPointer(event), ) return } -func (x gen_NSControl) EndEditing( - textObj NSTextRef, +func (x gen_NSControl) PerformClick( + sender objc.Ref, ) { - C.NSControl_inst_endEditing( + C.NSControl_inst_performClick( unsafe.Pointer(x.Pointer()), - objc.RefPointer(textObj), + objc.RefPointer(sender), ) return } @@ -10210,6 +10163,21 @@ func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( return } +func (x gen_NSControl) SendAction_to( + action objc.Selector, + target objc.Ref, +) ( + r0 bool, +) { + ret := C.NSControl_inst_sendAction_to( + unsafe.Pointer(x.Pointer()), + action.SelectorAddress(), + objc.RefPointer(target), + ) + r0 = convertObjCBoolToGo(ret) + return +} + func (x gen_NSControl) SizeThatFits( size core.NSSize, ) ( @@ -10230,37 +10198,69 @@ func (x gen_NSControl) SizeToFit() { return } -func (x gen_NSControl) SendAction_to( - action objc.Selector, - target objc.Ref, -) ( - r0 bool, +func (x gen_NSControl) TakeDoubleValueFrom( + sender objc.Ref, ) { - ret := C.NSControl_inst_sendAction_to( + C.NSControl_inst_takeDoubleValueFrom( unsafe.Pointer(x.Pointer()), - action.SelectorAddress(), - objc.RefPointer(target), + objc.RefPointer(sender), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSControl) PerformClick( +func (x gen_NSControl) TakeFloatValueFrom( sender objc.Ref, ) { - C.NSControl_inst_performClick( + C.NSControl_inst_takeFloatValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSControl) MouseDown( - event NSEventRef, +func (x gen_NSControl) TakeIntValueFrom( + sender objc.Ref, ) { - C.NSControl_inst_mouseDown( + C.NSControl_inst_takeIntValueFrom( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSControl) TakeIntegerValueFrom( + sender objc.Ref, +) { + C.NSControl_inst_takeIntegerValueFrom( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSControl) TakeObjectValueFrom( + sender objc.Ref, +) { + C.NSControl_inst_takeObjectValueFrom( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSControl) TakeStringValueFrom( + sender objc.Ref, +) { + C.NSControl_inst_takeStringValueFrom( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSControl) ValidateEditing() { + C.NSControl_inst_validateEditing( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), ) return } @@ -10624,6 +10624,16 @@ func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( return } +func (x gen_NSButton) Highlight( + flag bool, +) { + C.NSButton_inst_highlight( + unsafe.Pointer(x.Pointer()), + convertToObjCBool(flag), + ) + return +} + func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) ( @@ -10637,23 +10647,6 @@ func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( return } -func (x gen_NSButton) SetNextState() { - C.NSButton_inst_setNextState( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSButton) Highlight( - flag bool, -) { - C.NSButton_inst_highlight( - unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), - ) - return -} - func (x gen_NSButton) PerformKeyEquivalent( key NSEventRef, ) ( @@ -10667,6 +10660,13 @@ func (x gen_NSButton) PerformKeyEquivalent( return } +func (x gen_NSButton) SetNextState() { + C.NSButton_inst_setNextState( + unsafe.Pointer(x.Pointer()), + ) + return +} + func (x gen_NSButton) Init_asNSButton() ( r0 NSButton, ) { @@ -11485,13 +11485,6 @@ func NSFont_fromRef(ref objc.Ref) NSFont { return NSFont_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSFont) Set() { - C.NSFont_inst_set( - unsafe.Pointer(x.Pointer()), - ) - return -} - func (x gen_NSFont) FontWithSize( fontSize core.CGFloat, ) ( @@ -11505,6 +11498,13 @@ func (x gen_NSFont) FontWithSize( return } +func (x gen_NSFont) Set() { + C.NSFont_inst_set( + unsafe.Pointer(x.Pointer()), + ) + return +} + func (x gen_NSFont) Init_asNSFont() ( r0 NSFont, ) { @@ -11624,6 +11624,33 @@ func NSImage_fromRef(ref objc.Ref) NSImage { return NSImage_fromPointer(unsafe.Pointer(ref.Pointer())) } +func (x gen_NSImage) AddRepresentations( + imageReps core.NSArrayRef, +) { + C.NSImage_inst_addRepresentations( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(imageReps), + ) + return +} + +func (x gen_NSImage) CancelIncrementalLoad() { + C.NSImage_inst_cancelIncrementalLoad( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSImage) DrawInRect( + rect core.NSRect, +) { + C.NSImage_inst_drawInRect( + unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&rect)), + ) + return +} + func (x gen_NSImage) InitByReferencingFile_asNSImage( fileName core.NSStringRef, ) ( @@ -11738,23 +11765,16 @@ func (x gen_NSImage) IsTemplate() ( return } -func (x gen_NSImage) AddRepresentations( - imageReps core.NSArrayRef, -) { - C.NSImage_inst_addRepresentations( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(imageReps), - ) - return -} - -func (x gen_NSImage) DrawInRect( - rect core.NSRect, +func (x gen_NSImage) LayerContentsForContentsScale( + layerContentsScale core.CGFloat, +) ( + r0 objc.Object, ) { - C.NSImage_inst_drawInRect( + ret := C.NSImage_inst_layerContentsForContentsScale( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + C.double(layerContentsScale), ) + r0 = objc.Object_fromPointer(ret) return } @@ -11775,13 +11795,6 @@ func (x gen_NSImage) LockFocusFlipped( return } -func (x gen_NSImage) UnlockFocus() { - C.NSImage_inst_unlockFocus( - unsafe.Pointer(x.Pointer()), - ) - return -} - func (x gen_NSImage) Recache() { C.NSImage_inst_recache( unsafe.Pointer(x.Pointer()), @@ -11789,26 +11802,6 @@ func (x gen_NSImage) Recache() { return } -func (x gen_NSImage) CancelIncrementalLoad() { - C.NSImage_inst_cancelIncrementalLoad( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSImage) LayerContentsForContentsScale( - layerContentsScale core.CGFloat, -) ( - r0 objc.Object, -) { - ret := C.NSImage_inst_layerContentsForContentsScale( - unsafe.Pointer(x.Pointer()), - C.double(layerContentsScale), - ) - r0 = objc.Object_fromPointer(ret) - return -} - func (x gen_NSImage) RecommendedLayerContentsScale( preferredContentsScale core.CGFloat, ) ( @@ -11822,6 +11815,13 @@ func (x gen_NSImage) RecommendedLayerContentsScale( return } +func (x gen_NSImage) UnlockFocus() { + C.NSImage_inst_unlockFocus( + unsafe.Pointer(x.Pointer()), + ) + return +} + func (x gen_NSImage) Init_asNSImage() ( r0 NSImage, ) { @@ -12259,51 +12259,21 @@ func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard { return NSPasteboard_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSPasteboard) ReleaseGlobally() { - C.NSPasteboard_inst_releaseGlobally( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSPasteboard) ClearContents() ( +func (x gen_NSPasteboard) AddTypes_owner( + newTypes core.NSArrayRef, + newOwner objc.Ref, +) ( r0 core.NSInteger, ) { - ret := C.NSPasteboard_inst_clearContents( + ret := C.NSPasteboard_inst_addTypes_owner( unsafe.Pointer(x.Pointer()), + objc.RefPointer(newTypes), + objc.RefPointer(newOwner), ) r0 = core.NSInteger(ret) return } -func (x gen_NSPasteboard) WriteObjects( - objects core.NSArrayRef, -) ( - r0 bool, -) { - ret := C.NSPasteboard_inst_writeObjects( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(objects), - ) - r0 = convertObjCBoolToGo(ret) - return -} - -func (x gen_NSPasteboard) ReadObjectsForClasses_options( - classArray core.NSArrayRef, - options core.NSDictionaryRef, -) ( - r0 core.NSArray, -) { - ret := C.NSPasteboard_inst_readObjectsForClasses_options( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(classArray), - objc.RefPointer(options), - ) - r0 = core.NSArray_fromPointer(ret) - return -} - func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( types core.NSArrayRef, ) ( @@ -12332,28 +12302,23 @@ func (x gen_NSPasteboard) CanReadObjectForClasses_options( return } -func (x gen_NSPasteboard) DeclareTypes_owner( - newTypes core.NSArrayRef, - newOwner objc.Ref, -) ( +func (x gen_NSPasteboard) ClearContents() ( r0 core.NSInteger, ) { - ret := C.NSPasteboard_inst_declareTypes_owner( + ret := C.NSPasteboard_inst_clearContents( unsafe.Pointer(x.Pointer()), - objc.RefPointer(newTypes), - objc.RefPointer(newOwner), ) r0 = core.NSInteger(ret) return } -func (x gen_NSPasteboard) AddTypes_owner( +func (x gen_NSPasteboard) DeclareTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, ) ( r0 core.NSInteger, ) { - ret := C.NSPasteboard_inst_addTypes_owner( + ret := C.NSPasteboard_inst_declareTypes_owner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), @@ -12362,10 +12327,32 @@ func (x gen_NSPasteboard) AddTypes_owner( return } -func (x gen_NSPasteboard) WriteFileContents( - filename core.NSStringRef, +func (x gen_NSPasteboard) ReadObjectsForClasses_options( + classArray core.NSArrayRef, + options core.NSDictionaryRef, ) ( - r0 bool, + r0 core.NSArray, +) { + ret := C.NSPasteboard_inst_readObjectsForClasses_options( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(classArray), + objc.RefPointer(options), + ) + r0 = core.NSArray_fromPointer(ret) + return +} + +func (x gen_NSPasteboard) ReleaseGlobally() { + C.NSPasteboard_inst_releaseGlobally( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSPasteboard) WriteFileContents( + filename core.NSStringRef, +) ( + r0 bool, ) { ret := C.NSPasteboard_inst_writeFileContents( unsafe.Pointer(x.Pointer()), @@ -12375,6 +12362,19 @@ func (x gen_NSPasteboard) WriteFileContents( return } +func (x gen_NSPasteboard) WriteObjects( + objects core.NSArrayRef, +) ( + r0 bool, +) { + ret := C.NSPasteboard_inst_writeObjects( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(objects), + ) + r0 = convertObjCBoolToGo(ret) + return +} + func (x gen_NSPasteboard) Init_asNSPasteboard() ( r0 NSPasteboard, ) { @@ -12434,16 +12434,6 @@ func NSLayoutManager_fromRef(ref objc.Ref) NSLayoutManager { return NSLayoutManager_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSLayoutManager) Init_asNSLayoutManager() ( - r0 NSLayoutManager, -) { - ret := C.NSLayoutManager_inst_init( - unsafe.Pointer(x.Pointer()), - ) - r0 = NSLayoutManager_fromPointer(ret) - return -} - func (x gen_NSLayoutManager) AddTextContainer( container NSTextContainerRef, ) { @@ -12454,58 +12444,68 @@ func (x gen_NSLayoutManager) AddTextContainer( return } -func (x gen_NSLayoutManager) InsertTextContainer_atIndex( - container NSTextContainerRef, - index core.NSUInteger, +func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( + glyphIndex core.NSUInteger, +) ( + r0 core.NSSize, ) { - C.NSLayoutManager_inst_insertTextContainer_atIndex( + ret := C.NSLayoutManager_inst_attachmentSizeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(container), - C.ulong(index), + C.ulong(glyphIndex), ) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( - index core.NSUInteger, +func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( + glyphIndex core.NSUInteger, +) ( + r0 core.NSUInteger, ) { - C.NSLayoutManager_inst_removeTextContainerAtIndex( + ret := C.NSLayoutManager_inst_characterIndexForGlyphAtIndex( unsafe.Pointer(x.Pointer()), - C.ulong(index), + C.ulong(glyphIndex), ) + r0 = core.NSUInteger(ret) return } -func (x gen_NSLayoutManager) TextContainerChangedGeometry( - container NSTextContainerRef, +func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( + theFont NSFontRef, +) ( + r0 core.CGFloat, ) { - C.NSLayoutManager_inst_textContainerChangedGeometry( + ret := C.NSLayoutManager_inst_defaultBaselineOffsetForFont( unsafe.Pointer(x.Pointer()), - objc.RefPointer(container), + objc.RefPointer(theFont), ) + r0 = core.CGFloat(ret) return } -func (x gen_NSLayoutManager) TextContainerChangedTextView( - container NSTextContainerRef, +func (x gen_NSLayoutManager) DefaultLineHeightForFont( + theFont NSFontRef, +) ( + r0 core.CGFloat, ) { - C.NSLayoutManager_inst_textContainerChangedTextView( + ret := C.NSLayoutManager_inst_defaultLineHeightForFont( unsafe.Pointer(x.Pointer()), - objc.RefPointer(container), + objc.RefPointer(theFont), ) + r0 = core.CGFloat(ret) return } -func (x gen_NSLayoutManager) UsedRectForTextContainer( - container NSTextContainerRef, +func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( + glyphIndex core.NSUInteger, ) ( - r0 core.NSRect, + r0 bool, ) { - ret := C.NSLayoutManager_inst_usedRectForTextContainer( + ret := C.NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(container), + C.ulong(glyphIndex), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) + r0 = convertObjCBoolToGo(ret) return } @@ -12531,102 +12531,93 @@ func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( return } -func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( - glyphIndex core.NSUInteger, -) ( +func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() ( r0 core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_characterIndexForGlyphAtIndex( + ret := C.NSLayoutManager_inst_firstUnlaidCharacterIndex( unsafe.Pointer(x.Pointer()), - C.ulong(glyphIndex), ) r0 = core.NSUInteger(ret) return } -func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( - charIndex core.NSUInteger, -) ( +func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() ( r0 core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_glyphIndexForCharacterAtIndex( + ret := C.NSLayoutManager_inst_firstUnlaidGlyphIndex( unsafe.Pointer(x.Pointer()), - C.ulong(charIndex), ) r0 = core.NSUInteger(ret) return } -func (x gen_NSLayoutManager) IsValidGlyphIndex( - glyphIndex core.NSUInteger, +func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( + charIndex core.NSUInteger, ) ( - r0 bool, + r0 core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_isValidGlyphIndex( + ret := C.NSLayoutManager_inst_glyphIndexForCharacterAtIndex( unsafe.Pointer(x.Pointer()), - C.ulong(glyphIndex), + C.ulong(charIndex), ) - r0 = convertObjCBoolToGo(ret) + r0 = core.NSUInteger(ret) return } -func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( - flag bool, - glyphIndex core.NSUInteger, +func (x gen_NSLayoutManager) Init_asNSLayoutManager() ( + r0 NSLayoutManager, ) { - C.NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex( + ret := C.NSLayoutManager_inst_init( unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), - C.ulong(glyphIndex), ) + r0 = NSLayoutManager_fromPointer(ret) return } -func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( - fragmentRect core.NSRect, - usedRect core.NSRect, +func (x gen_NSLayoutManager) InsertTextContainer_atIndex( container NSTextContainerRef, + index core.NSUInteger, ) { - C.NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer( + C.NSLayoutManager_inst_insertTextContainer_atIndex( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&fragmentRect)), - *(*C.NSRect)(unsafe.Pointer(&usedRect)), objc.RefPointer(container), + C.ulong(index), ) return } -func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( - flag bool, +func (x gen_NSLayoutManager) IsValidGlyphIndex( glyphIndex core.NSUInteger, +) ( + r0 bool, ) { - C.NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex( + ret := C.NSLayoutManager_inst_isValidGlyphIndex( unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), C.ulong(glyphIndex), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( - glyphIndex core.NSUInteger, +func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( + window NSWindowRef, ) ( - r0 core.NSSize, + r0 bool, ) { - ret := C.NSLayoutManager_inst_attachmentSizeForGlyphAtIndex( + ret := C.NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow( unsafe.Pointer(x.Pointer()), - C.ulong(glyphIndex), + objc.RefPointer(window), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( +func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( glyphIndex core.NSUInteger, ) ( r0 bool, ) { - ret := C.NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex( + ret := C.NSLayoutManager_inst_notShownAttributeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -12634,75 +12625,84 @@ func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( return } -func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() ( - r0 core.NSUInteger, +func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( + index core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_firstUnlaidCharacterIndex( + C.NSLayoutManager_inst_removeTextContainerAtIndex( unsafe.Pointer(x.Pointer()), + C.ulong(index), ) - r0 = core.NSUInteger(ret) return } -func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() ( - r0 core.NSUInteger, +func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( + flag bool, + glyphIndex core.NSUInteger, ) { - ret := C.NSLayoutManager_inst_firstUnlaidGlyphIndex( + C.NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex( unsafe.Pointer(x.Pointer()), + convertToObjCBool(flag), + C.ulong(glyphIndex), ) - r0 = core.NSUInteger(ret) return } -func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( +func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( + fragmentRect core.NSRect, + usedRect core.NSRect, + container NSTextContainerRef, +) { + C.NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer( + unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&fragmentRect)), + *(*C.NSRect)(unsafe.Pointer(&usedRect)), + objc.RefPointer(container), + ) + return +} + +func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( + flag bool, glyphIndex core.NSUInteger, -) ( - r0 bool, ) { - ret := C.NSLayoutManager_inst_notShownAttributeForGlyphAtIndex( + C.NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex( unsafe.Pointer(x.Pointer()), + convertToObjCBool(flag), C.ulong(glyphIndex), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( - window NSWindowRef, -) ( - r0 bool, +func (x gen_NSLayoutManager) TextContainerChangedGeometry( + container NSTextContainerRef, ) { - ret := C.NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow( + C.NSLayoutManager_inst_textContainerChangedGeometry( unsafe.Pointer(x.Pointer()), - objc.RefPointer(window), + objc.RefPointer(container), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSLayoutManager) DefaultLineHeightForFont( - theFont NSFontRef, -) ( - r0 core.CGFloat, +func (x gen_NSLayoutManager) TextContainerChangedTextView( + container NSTextContainerRef, ) { - ret := C.NSLayoutManager_inst_defaultLineHeightForFont( + C.NSLayoutManager_inst_textContainerChangedTextView( unsafe.Pointer(x.Pointer()), - objc.RefPointer(theFont), + objc.RefPointer(container), ) - r0 = core.CGFloat(ret) return } -func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( - theFont NSFontRef, +func (x gen_NSLayoutManager) UsedRectForTextContainer( + container NSTextContainerRef, ) ( - r0 core.CGFloat, + r0 core.NSRect, ) { - ret := C.NSLayoutManager_inst_defaultBaselineOffsetForFont( + ret := C.NSLayoutManager_inst_usedRectForTextContainer( unsafe.Pointer(x.Pointer()), - objc.RefPointer(theFont), + objc.RefPointer(container), ) - r0 = core.CGFloat(ret) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } @@ -12965,54 +12965,10 @@ func NSMenu_fromRef(ref objc.Ref) NSMenu { return NSMenu_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSMenu) InitWithTitle_asNSMenu( - title core.NSStringRef, -) ( - r0 NSMenu, +func (x gen_NSMenu) AddItem( + newItem NSMenuItemRef, ) { - ret := C.NSMenu_inst_initWithTitle( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(title), - ) - r0 = NSMenu_fromPointer(ret) - return -} - -func (x gen_NSMenu) InsertItem_atIndex( - newItem NSMenuItemRef, - index core.NSInteger, -) { - C.NSMenu_inst_insertItem_atIndex( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(newItem), - C.long(index), - ) - return -} - -func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( - string core.NSStringRef, - selector objc.Selector, - charCode core.NSStringRef, - index core.NSInteger, -) ( - r0 NSMenuItem, -) { - ret := C.NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(string), - selector.SelectorAddress(), - objc.RefPointer(charCode), - C.long(index), - ) - r0 = NSMenuItem_fromPointer(ret) - return -} - -func (x gen_NSMenu) AddItem( - newItem NSMenuItemRef, -) { - C.NSMenu_inst_addItem( + C.NSMenu_inst_addItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(newItem), ) @@ -13036,90 +12992,82 @@ func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( return } -func (x gen_NSMenu) RemoveItem( - item NSMenuItemRef, -) { - C.NSMenu_inst_removeItem( +func (x gen_NSMenu) CancelTracking() { + C.NSMenu_inst_cancelTracking( unsafe.Pointer(x.Pointer()), - objc.RefPointer(item), ) return } -func (x gen_NSMenu) RemoveItemAtIndex( - index core.NSInteger, -) { - C.NSMenu_inst_removeItemAtIndex( +func (x gen_NSMenu) CancelTrackingWithoutAnimation() { + C.NSMenu_inst_cancelTrackingWithoutAnimation( unsafe.Pointer(x.Pointer()), - C.long(index), ) return } -func (x gen_NSMenu) ItemChanged( +func (x gen_NSMenu) IndexOfItem( item NSMenuItemRef, +) ( + r0 core.NSInteger, ) { - C.NSMenu_inst_itemChanged( + ret := C.NSMenu_inst_indexOfItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) + r0 = core.NSInteger(ret) return } -func (x gen_NSMenu) RemoveAllItems() { - C.NSMenu_inst_removeAllItems( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSMenu) ItemWithTag( - tag core.NSInteger, +func (x gen_NSMenu) IndexOfItemWithRepresentedObject( + object objc.Ref, ) ( - r0 NSMenuItem, + r0 core.NSInteger, ) { - ret := C.NSMenu_inst_itemWithTag( + ret := C.NSMenu_inst_indexOfItemWithRepresentedObject( unsafe.Pointer(x.Pointer()), - C.long(tag), + objc.RefPointer(object), ) - r0 = NSMenuItem_fromPointer(ret) + r0 = core.NSInteger(ret) return } -func (x gen_NSMenu) ItemWithTitle( - title core.NSStringRef, +func (x gen_NSMenu) IndexOfItemWithSubmenu( + submenu NSMenuRef, ) ( - r0 NSMenuItem, + r0 core.NSInteger, ) { - ret := C.NSMenu_inst_itemWithTitle( + ret := C.NSMenu_inst_indexOfItemWithSubmenu( unsafe.Pointer(x.Pointer()), - objc.RefPointer(title), + objc.RefPointer(submenu), ) - r0 = NSMenuItem_fromPointer(ret) + r0 = core.NSInteger(ret) return } -func (x gen_NSMenu) ItemAtIndex( - index core.NSInteger, +func (x gen_NSMenu) IndexOfItemWithTag( + tag core.NSInteger, ) ( - r0 NSMenuItem, + r0 core.NSInteger, ) { - ret := C.NSMenu_inst_itemAtIndex( + ret := C.NSMenu_inst_indexOfItemWithTag( unsafe.Pointer(x.Pointer()), - C.long(index), + C.long(tag), ) - r0 = NSMenuItem_fromPointer(ret) + r0 = core.NSInteger(ret) return } -func (x gen_NSMenu) IndexOfItem( - item NSMenuItemRef, +func (x gen_NSMenu) IndexOfItemWithTarget_andAction( + target objc.Ref, + actionSelector objc.Selector, ) ( r0 core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItem( + ret := C.NSMenu_inst_indexOfItemWithTarget_andAction( unsafe.Pointer(x.Pointer()), - objc.RefPointer(item), + objc.RefPointer(target), + actionSelector.SelectorAddress(), ) r0 = core.NSInteger(ret) return @@ -13138,85 +13086,105 @@ func (x gen_NSMenu) IndexOfItemWithTitle( return } -func (x gen_NSMenu) IndexOfItemWithTag( - tag core.NSInteger, +func (x gen_NSMenu) InitWithTitle_asNSMenu( + title core.NSStringRef, ) ( - r0 core.NSInteger, + r0 NSMenu, ) { - ret := C.NSMenu_inst_indexOfItemWithTag( + ret := C.NSMenu_inst_initWithTitle( unsafe.Pointer(x.Pointer()), - C.long(tag), + objc.RefPointer(title), ) - r0 = core.NSInteger(ret) + r0 = NSMenu_fromPointer(ret) return } -func (x gen_NSMenu) IndexOfItemWithTarget_andAction( - target objc.Ref, - actionSelector objc.Selector, -) ( - r0 core.NSInteger, +func (x gen_NSMenu) InsertItem_atIndex( + newItem NSMenuItemRef, + index core.NSInteger, ) { - ret := C.NSMenu_inst_indexOfItemWithTarget_andAction( + C.NSMenu_inst_insertItem_atIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(target), - actionSelector.SelectorAddress(), + objc.RefPointer(newItem), + C.long(index), ) - r0 = core.NSInteger(ret) return } -func (x gen_NSMenu) IndexOfItemWithRepresentedObject( - object objc.Ref, +func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( + string core.NSStringRef, + selector objc.Selector, + charCode core.NSStringRef, + index core.NSInteger, ) ( - r0 core.NSInteger, + r0 NSMenuItem, ) { - ret := C.NSMenu_inst_indexOfItemWithRepresentedObject( + ret := C.NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(object), + objc.RefPointer(string), + selector.SelectorAddress(), + objc.RefPointer(charCode), + C.long(index), ) - r0 = core.NSInteger(ret) + r0 = NSMenuItem_fromPointer(ret) return } -func (x gen_NSMenu) IndexOfItemWithSubmenu( - submenu NSMenuRef, +func (x gen_NSMenu) ItemAtIndex( + index core.NSInteger, ) ( - r0 core.NSInteger, + r0 NSMenuItem, ) { - ret := C.NSMenu_inst_indexOfItemWithSubmenu( + ret := C.NSMenu_inst_itemAtIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(submenu), + C.long(index), ) - r0 = core.NSInteger(ret) + r0 = NSMenuItem_fromPointer(ret) return } -func (x gen_NSMenu) SetSubmenu_forItem( - menu NSMenuRef, +func (x gen_NSMenu) ItemChanged( item NSMenuItemRef, ) { - C.NSMenu_inst_setSubmenu_forItem( + C.NSMenu_inst_itemChanged( unsafe.Pointer(x.Pointer()), - objc.RefPointer(menu), objc.RefPointer(item), ) return } -func (x gen_NSMenu) SubmenuAction( - sender objc.Ref, +func (x gen_NSMenu) ItemWithTag( + tag core.NSInteger, +) ( + r0 NSMenuItem, ) { - C.NSMenu_inst_submenuAction( + ret := C.NSMenu_inst_itemWithTag( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + C.long(tag), ) + r0 = NSMenuItem_fromPointer(ret) return } -func (x gen_NSMenu) Update() { - C.NSMenu_inst_update( +func (x gen_NSMenu) ItemWithTitle( + title core.NSStringRef, +) ( + r0 NSMenuItem, +) { + ret := C.NSMenu_inst_itemWithTitle( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(title), + ) + r0 = NSMenuItem_fromPointer(ret) + return +} + +func (x gen_NSMenu) PerformActionForItemAtIndex( + index core.NSInteger, +) { + C.NSMenu_inst_performActionForItemAtIndex( unsafe.Pointer(x.Pointer()), + C.long(index), ) return } @@ -13234,16 +13202,6 @@ func (x gen_NSMenu) PerformKeyEquivalent( return } -func (x gen_NSMenu) PerformActionForItemAtIndex( - index core.NSInteger, -) { - C.NSMenu_inst_performActionForItemAtIndex( - unsafe.Pointer(x.Pointer()), - C.long(index), - ) - return -} - func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( item NSMenuItemRef, location core.NSPoint, @@ -13261,44 +13219,86 @@ func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( return } -func (x gen_NSMenu) CancelTracking() { - C.NSMenu_inst_cancelTracking( +func (x gen_NSMenu) RemoveAllItems() { + C.NSMenu_inst_removeAllItems( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSMenu) CancelTrackingWithoutAnimation() { - C.NSMenu_inst_cancelTrackingWithoutAnimation( +func (x gen_NSMenu) RemoveItem( + item NSMenuItemRef, +) { + C.NSMenu_inst_removeItem( unsafe.Pointer(x.Pointer()), + objc.RefPointer(item), ) return } -func (x gen_NSMenu) Init_asNSMenu() ( - r0 NSMenu, +func (x gen_NSMenu) RemoveItemAtIndex( + index core.NSInteger, ) { - ret := C.NSMenu_inst_init( + C.NSMenu_inst_removeItemAtIndex( unsafe.Pointer(x.Pointer()), + C.long(index), ) - r0 = NSMenu_fromPointer(ret) return } -func (x gen_NSMenu) MenuBarHeight() ( - r0 core.CGFloat, +func (x gen_NSMenu) SetSubmenu_forItem( + menu NSMenuRef, + item NSMenuItemRef, ) { - ret := C.NSMenu_inst_menuBarHeight( + C.NSMenu_inst_setSubmenu_forItem( unsafe.Pointer(x.Pointer()), + objc.RefPointer(menu), + objc.RefPointer(item), ) - r0 = core.CGFloat(ret) return } -func (x gen_NSMenu) NumberOfItems() ( - r0 core.NSInteger, +func (x gen_NSMenu) SubmenuAction( + sender objc.Ref, ) { - ret := C.NSMenu_inst_numberOfItems( + C.NSMenu_inst_submenuAction( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSMenu) Update() { + C.NSMenu_inst_update( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSMenu) Init_asNSMenu() ( + r0 NSMenu, +) { + ret := C.NSMenu_inst_init( + unsafe.Pointer(x.Pointer()), + ) + r0 = NSMenu_fromPointer(ret) + return +} + +func (x gen_NSMenu) MenuBarHeight() ( + r0 core.CGFloat, +) { + ret := C.NSMenu_inst_menuBarHeight( + unsafe.Pointer(x.Pointer()), + ) + r0 = core.CGFloat(ret) + return +} + +func (x gen_NSMenu) NumberOfItems() ( + r0 core.NSInteger, +) { + ret := C.NSMenu_inst_numberOfItems( unsafe.Pointer(x.Pointer()), ) r0 = core.NSInteger(ret) @@ -13524,16 +13524,6 @@ func NSPopover_fromRef(ref objc.Ref) NSPopover { return NSPopover_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSPopover) PerformClose( - sender objc.Ref, -) { - C.NSPopover_inst_performClose( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - func (x gen_NSPopover) Close() { C.NSPopover_inst_close( unsafe.Pointer(x.Pointer()), @@ -13551,6 +13541,16 @@ func (x gen_NSPopover) Init_asNSPopover() ( return } +func (x gen_NSPopover) PerformClose( + sender objc.Ref, +) { + C.NSPopover_inst_performClose( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + func (x gen_NSPopover) Behavior() ( r0 core.NSInteger, ) { @@ -14236,40 +14236,40 @@ func NSRunningApplication_fromRef(ref objc.Ref) NSRunningApplication { return NSRunningApplication_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSRunningApplication) Hide() ( +func (x gen_NSRunningApplication) ForceTerminate() ( r0 bool, ) { - ret := C.NSRunningApplication_inst_hide( + ret := C.NSRunningApplication_inst_forceTerminate( unsafe.Pointer(x.Pointer()), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSRunningApplication) Unhide() ( +func (x gen_NSRunningApplication) Hide() ( r0 bool, ) { - ret := C.NSRunningApplication_inst_unhide( + ret := C.NSRunningApplication_inst_hide( unsafe.Pointer(x.Pointer()), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSRunningApplication) ForceTerminate() ( +func (x gen_NSRunningApplication) Terminate() ( r0 bool, ) { - ret := C.NSRunningApplication_inst_forceTerminate( + ret := C.NSRunningApplication_inst_terminate( unsafe.Pointer(x.Pointer()), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSRunningApplication) Terminate() ( +func (x gen_NSRunningApplication) Unhide() ( r0 bool, ) { - ret := C.NSRunningApplication_inst_terminate( + ret := C.NSRunningApplication_inst_unhide( unsafe.Pointer(x.Pointer()), ) r0 = convertObjCBoolToGo(ret) @@ -14570,6 +14570,16 @@ func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar { return NSStatusBar_fromPointer(unsafe.Pointer(ref.Pointer())) } +func (x gen_NSStatusBar) RemoveStatusItem( + item NSStatusItemRef, +) { + C.NSStatusBar_inst_removeStatusItem( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(item), + ) + return +} + func (x gen_NSStatusBar) StatusItemWithLength( length core.CGFloat, ) ( @@ -14583,16 +14593,6 @@ func (x gen_NSStatusBar) StatusItemWithLength( return } -func (x gen_NSStatusBar) RemoveStatusItem( - item NSStatusItemRef, -) { - C.NSStatusBar_inst_removeStatusItem( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(item), - ) - return -} - func (x gen_NSStatusBar) Init_asNSStatusBar() ( r0 NSStatusBar, ) { @@ -14800,63 +14800,60 @@ func NSText_fromRef(ref objc.Ref) NSText { return NSText_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSText) InitWithFrame_asNSText( - frameRect core.NSRect, -) ( - r0 NSText, +func (x gen_NSText) AlignCenter( + sender objc.Ref, ) { - ret := C.NSText_inst_initWithFrame( + C.NSText_inst_alignCenter( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), + objc.RefPointer(sender), ) - r0 = NSText_fromPointer(ret) return } -func (x gen_NSText) ToggleRuler( +func (x gen_NSText) AlignLeft( sender objc.Ref, ) { - C.NSText_inst_toggleRuler( + C.NSText_inst_alignLeft( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) SelectAll( +func (x gen_NSText) AlignRight( sender objc.Ref, ) { - C.NSText_inst_selectAll( + C.NSText_inst_alignRight( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Copy( +func (x gen_NSText) ChangeFont( sender objc.Ref, ) { - C.NSText_inst_copy( + C.NSText_inst_changeFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Cut( +func (x gen_NSText) CheckSpelling( sender objc.Ref, ) { - C.NSText_inst_cut( + C.NSText_inst_checkSpelling( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Paste( +func (x gen_NSText) Copy( sender objc.Ref, ) { - C.NSText_inst_paste( + C.NSText_inst_copy( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -14873,178 +14870,181 @@ func (x gen_NSText) CopyFont( return } -func (x gen_NSText) PasteFont( +func (x gen_NSText) CopyRuler( sender objc.Ref, ) { - C.NSText_inst_pasteFont( + C.NSText_inst_copyRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) CopyRuler( +func (x gen_NSText) Cut( sender objc.Ref, ) { - C.NSText_inst_copyRuler( + C.NSText_inst_cut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) PasteRuler( +func (x gen_NSText) Delete( sender objc.Ref, ) { - C.NSText_inst_pasteRuler( + C.NSText_inst_delete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Delete( - sender objc.Ref, +func (x gen_NSText) InitWithFrame_asNSText( + frameRect core.NSRect, +) ( + r0 NSText, ) { - C.NSText_inst_delete( + ret := C.NSText_inst_initWithFrame( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) + r0 = NSText_fromPointer(ret) return } -func (x gen_NSText) ChangeFont( +func (x gen_NSText) Paste( sender objc.Ref, ) { - C.NSText_inst_changeFont( + C.NSText_inst_paste( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) AlignCenter( +func (x gen_NSText) PasteFont( sender objc.Ref, ) { - C.NSText_inst_alignCenter( + C.NSText_inst_pasteFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) AlignLeft( +func (x gen_NSText) PasteRuler( sender objc.Ref, ) { - C.NSText_inst_alignLeft( + C.NSText_inst_pasteRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) AlignRight( - sender objc.Ref, +func (x gen_NSText) ReadRTFDFromFile( + path core.NSStringRef, +) ( + r0 bool, ) { - C.NSText_inst_alignRight( + ret := C.NSText_inst_readRTFDFromFile( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + objc.RefPointer(path), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSText) Superscript( +func (x gen_NSText) SelectAll( sender objc.Ref, ) { - C.NSText_inst_superscript( + C.NSText_inst_selectAll( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Subscript( +func (x gen_NSText) ShowGuessPanel( sender objc.Ref, ) { - C.NSText_inst_subscript( + C.NSText_inst_showGuessPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) Unscript( - sender objc.Ref, -) { - C.NSText_inst_unscript( +func (x gen_NSText) SizeToFit() { + C.NSText_inst_sizeToFit( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSText) Underline( +func (x gen_NSText) Subscript( sender objc.Ref, ) { - C.NSText_inst_underline( + C.NSText_inst_subscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) ReadRTFDFromFile( - path core.NSStringRef, -) ( - r0 bool, +func (x gen_NSText) Superscript( + sender objc.Ref, ) { - ret := C.NSText_inst_readRTFDFromFile( + C.NSText_inst_superscript( unsafe.Pointer(x.Pointer()), - objc.RefPointer(path), + objc.RefPointer(sender), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSText) WriteRTFDToFile_atomically( - path core.NSStringRef, - flag bool, -) ( - r0 bool, +func (x gen_NSText) ToggleRuler( + sender objc.Ref, ) { - ret := C.NSText_inst_writeRTFDToFile_atomically( + C.NSText_inst_toggleRuler( unsafe.Pointer(x.Pointer()), - objc.RefPointer(path), - convertToObjCBool(flag), + objc.RefPointer(sender), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSText) CheckSpelling( +func (x gen_NSText) Underline( sender objc.Ref, ) { - C.NSText_inst_checkSpelling( + C.NSText_inst_underline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) ShowGuessPanel( +func (x gen_NSText) Unscript( sender objc.Ref, ) { - C.NSText_inst_showGuessPanel( + C.NSText_inst_unscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSText) SizeToFit() { - C.NSText_inst_sizeToFit( +func (x gen_NSText) WriteRTFDToFile_atomically( + path core.NSStringRef, + flag bool, +) ( + r0 bool, +) { + ret := C.NSText_inst_writeRTFDToFile_atomically( unsafe.Pointer(x.Pointer()), + objc.RefPointer(path), + convertToObjCBool(flag), ) + r0 = convertObjCBoolToGo(ret) return } @@ -16044,10 +16044,23 @@ func NSViewController_fromRef(ref objc.Ref) NSViewController { return NSViewController_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSViewController) LoadView() { - C.NSViewController_inst_loadView( +func (x gen_NSViewController) AddChildViewController( + childViewController NSViewControllerRef, +) { + C.NSViewController_inst_addChildViewController( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(childViewController), + ) + return +} + +func (x gen_NSViewController) CommitEditing() ( + r0 bool, +) { + ret := C.NSViewController_inst_commitEditing( unsafe.Pointer(x.Pointer()), ) + r0 = convertObjCBoolToGo(ret) return } @@ -16065,18 +16078,8 @@ func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contex return } -func (x gen_NSViewController) CommitEditing() ( - r0 bool, -) { - ret := C.NSViewController_inst_commitEditing( - unsafe.Pointer(x.Pointer()), - ) - r0 = convertObjCBoolToGo(ret) - return -} - -func (x gen_NSViewController) DiscardEditing() { - C.NSViewController_inst_discardEditing( +func (x gen_NSViewController) DiscardEditing() { + C.NSViewController_inst_discardEditing( unsafe.Pointer(x.Pointer()), ) return @@ -16092,149 +16095,146 @@ func (x gen_NSViewController) DismissController( return } -func (x gen_NSViewController) ViewDidLoad() { - C.NSViewController_inst_viewDidLoad( +func (x gen_NSViewController) DismissViewController( + viewController NSViewControllerRef, +) { + C.NSViewController_inst_dismissViewController( unsafe.Pointer(x.Pointer()), + objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) ViewWillAppear() { - C.NSViewController_inst_viewWillAppear( +func (x gen_NSViewController) InsertChildViewController_atIndex( + childViewController NSViewControllerRef, + index core.NSInteger, +) { + C.NSViewController_inst_insertChildViewController_atIndex( unsafe.Pointer(x.Pointer()), + objc.RefPointer(childViewController), + C.long(index), ) return } -func (x gen_NSViewController) ViewDidAppear() { - C.NSViewController_inst_viewDidAppear( +func (x gen_NSViewController) LoadView() { + C.NSViewController_inst_loadView( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSViewController) ViewWillDisappear() { - C.NSViewController_inst_viewWillDisappear( +func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( + viewController NSViewControllerRef, +) { + C.NSViewController_inst_preferredContentSizeDidChangeForViewController( unsafe.Pointer(x.Pointer()), + objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) ViewDidDisappear() { - C.NSViewController_inst_viewDidDisappear( +func (x gen_NSViewController) PresentViewController_animator( + viewController NSViewControllerRef, + animator objc.Ref, +) { + C.NSViewController_inst_presentViewController_animator( unsafe.Pointer(x.Pointer()), + objc.RefPointer(viewController), + objc.RefPointer(animator), ) return } -func (x gen_NSViewController) UpdateViewConstraints() { - C.NSViewController_inst_updateViewConstraints( +func (x gen_NSViewController) PresentViewControllerAsModalWindow( + viewController NSViewControllerRef, +) { + C.NSViewController_inst_presentViewControllerAsModalWindow( unsafe.Pointer(x.Pointer()), + objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) ViewWillLayout() { - C.NSViewController_inst_viewWillLayout( +func (x gen_NSViewController) PresentViewControllerAsSheet( + viewController NSViewControllerRef, +) { + C.NSViewController_inst_presentViewControllerAsSheet( unsafe.Pointer(x.Pointer()), + objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) ViewDidLayout() { - C.NSViewController_inst_viewDidLayout( +func (x gen_NSViewController) RemoveChildViewControllerAtIndex( + index core.NSInteger, +) { + C.NSViewController_inst_removeChildViewControllerAtIndex( unsafe.Pointer(x.Pointer()), + C.long(index), ) return } -func (x gen_NSViewController) AddChildViewController( - childViewController NSViewControllerRef, -) { - C.NSViewController_inst_addChildViewController( +func (x gen_NSViewController) RemoveFromParentViewController() { + C.NSViewController_inst_removeFromParentViewController( unsafe.Pointer(x.Pointer()), - objc.RefPointer(childViewController), ) return } -func (x gen_NSViewController) InsertChildViewController_atIndex( - childViewController NSViewControllerRef, - index core.NSInteger, -) { - C.NSViewController_inst_insertChildViewController_atIndex( +func (x gen_NSViewController) UpdateViewConstraints() { + C.NSViewController_inst_updateViewConstraints( unsafe.Pointer(x.Pointer()), - objc.RefPointer(childViewController), - C.long(index), ) return } -func (x gen_NSViewController) RemoveChildViewControllerAtIndex( - index core.NSInteger, -) { - C.NSViewController_inst_removeChildViewControllerAtIndex( +func (x gen_NSViewController) ViewDidAppear() { + C.NSViewController_inst_viewDidAppear( unsafe.Pointer(x.Pointer()), - C.long(index), ) return } -func (x gen_NSViewController) RemoveFromParentViewController() { - C.NSViewController_inst_removeFromParentViewController( +func (x gen_NSViewController) ViewDidDisappear() { + C.NSViewController_inst_viewDidDisappear( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( - viewController NSViewControllerRef, -) { - C.NSViewController_inst_preferredContentSizeDidChangeForViewController( +func (x gen_NSViewController) ViewDidLayout() { + C.NSViewController_inst_viewDidLayout( unsafe.Pointer(x.Pointer()), - objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) PresentViewController_animator( - viewController NSViewControllerRef, - animator objc.Ref, -) { - C.NSViewController_inst_presentViewController_animator( +func (x gen_NSViewController) ViewDidLoad() { + C.NSViewController_inst_viewDidLoad( unsafe.Pointer(x.Pointer()), - objc.RefPointer(viewController), - objc.RefPointer(animator), ) return } -func (x gen_NSViewController) DismissViewController( - viewController NSViewControllerRef, -) { - C.NSViewController_inst_dismissViewController( +func (x gen_NSViewController) ViewWillAppear() { + C.NSViewController_inst_viewWillAppear( unsafe.Pointer(x.Pointer()), - objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) PresentViewControllerAsModalWindow( - viewController NSViewControllerRef, -) { - C.NSViewController_inst_presentViewControllerAsModalWindow( +func (x gen_NSViewController) ViewWillDisappear() { + C.NSViewController_inst_viewWillDisappear( unsafe.Pointer(x.Pointer()), - objc.RefPointer(viewController), ) return } -func (x gen_NSViewController) PresentViewControllerAsSheet( - viewController NSViewControllerRef, -) { - C.NSViewController_inst_presentViewControllerAsSheet( +func (x gen_NSViewController) ViewWillLayout() { + C.NSViewController_inst_viewWillLayout( unsafe.Pointer(x.Pointer()), - objc.RefPointer(viewController), ) return } @@ -16574,366 +16574,347 @@ func NSWindow_fromRef(ref objc.Ref) NSWindow { return NSWindow_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( - contentRect core.NSRect, - style core.NSUInteger, - backingStoreType core.NSUInteger, - flag bool, -) ( - r0 NSWindow, +func (x gen_NSWindow) AddChildWindow_ordered( + childWin NSWindowRef, + place core.NSUInteger, ) { - ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer( + C.NSWindow_inst_addChildWindow_ordered( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&contentRect)), - C.ulong(style), - C.ulong(backingStoreType), - convertToObjCBool(flag), + objc.RefPointer(childWin), + C.ulong(place), ) - r0 = NSWindow_fromPointer(ret) return } -func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWindow( - contentRect core.NSRect, - style core.NSUInteger, - backingStoreType core.NSUInteger, - flag bool, - screen NSScreenRef, -) ( - r0 NSWindow, +func (x gen_NSWindow) AddTabbedWindow_ordered( + window NSWindowRef, + ordered core.NSUInteger, ) { - ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen( + C.NSWindow_inst_addTabbedWindow_ordered( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&contentRect)), - C.ulong(style), - C.ulong(backingStoreType), - convertToObjCBool(flag), - objc.RefPointer(screen), + objc.RefPointer(window), + C.ulong(ordered), ) - r0 = NSWindow_fromPointer(ret) return } -func (x gen_NSWindow) ToggleFullScreen( - sender objc.Ref, -) { - C.NSWindow_inst_toggleFullScreen( +func (x gen_NSWindow) BecomeKeyWindow() { + C.NSWindow_inst_becomeKeyWindow( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SetDynamicDepthLimit( - flag bool, +func (x gen_NSWindow) BecomeMainWindow() { + C.NSWindow_inst_becomeMainWindow( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSWindow) CascadeTopLeftFromPoint( + topLeftPoint core.NSPoint, +) ( + r0 core.NSPoint, ) { - C.NSWindow_inst_setDynamicDepthLimit( + ret := C.NSWindow_inst_cascadeTopLeftFromPoint( unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), + *(*C.NSPoint)(unsafe.Pointer(&topLeftPoint)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) InvalidateShadow() { - C.NSWindow_inst_invalidateShadow( +func (x gen_NSWindow) Center() { + C.NSWindow_inst_center( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) ContentRectForFrameRect( +func (x gen_NSWindow) Close() { + C.NSWindow_inst_close( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSWindow) ConstrainFrameRect_toScreen( frameRect core.NSRect, + screen NSScreenRef, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_contentRectForFrameRect( + ret := C.NSWindow_inst_constrainFrameRect_toScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), + objc.RefPointer(screen), ) r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) FrameRectForContentRect( - contentRect core.NSRect, +func (x gen_NSWindow) ContentRectForFrameRect( + frameRect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSWindow_inst_frameRectForContentRect( + ret := C.NSWindow_inst_contentRectForFrameRect( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&contentRect)), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) EndSheet( - sheetWindow NSWindowRef, +func (x gen_NSWindow) ConvertPointFromBacking( + point core.NSPoint, +) ( + r0 core.NSPoint, ) { - C.NSWindow_inst_endSheet( + ret := C.NSWindow_inst_convertPointFromBacking( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sheetWindow), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) SetFrameOrigin( +func (x gen_NSWindow) ConvertPointFromScreen( point core.NSPoint, +) ( + r0 core.NSPoint, ) { - C.NSWindow_inst_setFrameOrigin( + ret := C.NSWindow_inst_convertPointFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) SetFrameTopLeftPoint( +func (x gen_NSWindow) ConvertPointToBacking( point core.NSPoint, +) ( + r0 core.NSPoint, ) { - C.NSWindow_inst_setFrameTopLeftPoint( + ret := C.NSWindow_inst_convertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConstrainFrameRect_toScreen( - frameRect core.NSRect, - screen NSScreenRef, +func (x gen_NSWindow) ConvertPointToScreen( + point core.NSPoint, ) ( - r0 core.NSRect, + r0 core.NSPoint, ) { - ret := C.NSWindow_inst_constrainFrameRect_toScreen( + ret := C.NSWindow_inst_convertPointToScreen( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), - objc.RefPointer(screen), - ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return -} - -func (x gen_NSWindow) CascadeTopLeftFromPoint( - topLeftPoint core.NSPoint, -) ( - r0 core.NSPoint, -) { - ret := C.NSWindow_inst_cascadeTopLeftFromPoint( - unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&topLeftPoint)), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) SetFrame_display( - frameRect core.NSRect, - flag bool, -) { - C.NSWindow_inst_setFrame_display( - unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), - convertToObjCBool(flag), - ) - return -} - -func (x gen_NSWindow) SetFrame_display_animate( - frameRect core.NSRect, - displayFlag bool, - animateFlag bool, +func (x gen_NSWindow) ConvertRectFromBacking( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSWindow_inst_setFrame_display_animate( + ret := C.NSWindow_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), - convertToObjCBool(displayFlag), - convertToObjCBool(animateFlag), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) PerformZoom( - sender objc.Ref, +func (x gen_NSWindow) ConvertRectFromScreen( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSWindow_inst_performZoom( + ret := C.NSWindow_inst_convertRectFromScreen( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) Zoom( - sender objc.Ref, +func (x gen_NSWindow) ConvertRectToBacking( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSWindow_inst_zoom( + ret := C.NSWindow_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) SetContentSize( - size core.NSSize, +func (x gen_NSWindow) ConvertRectToScreen( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSWindow_inst_setContentSize( + ret := C.NSWindow_inst_convertRectToScreen( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) OrderOut( - sender objc.Ref, +func (x gen_NSWindow) DataWithEPSInsideRect( + rect core.NSRect, +) ( + r0 core.NSData, ) { - C.NSWindow_inst_orderOut( + ret := C.NSWindow_inst_dataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = core.NSData_fromPointer(ret) return } -func (x gen_NSWindow) OrderBack( - sender objc.Ref, +func (x gen_NSWindow) DataWithPDFInsideRect( + rect core.NSRect, +) ( + r0 core.NSData, ) { - C.NSWindow_inst_orderBack( + ret := C.NSWindow_inst_dataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = core.NSData_fromPointer(ret) return } -func (x gen_NSWindow) OrderFront( +func (x gen_NSWindow) Deminiaturize( sender objc.Ref, ) { - C.NSWindow_inst_orderFront( + C.NSWindow_inst_deminiaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) OrderFrontRegardless() { - C.NSWindow_inst_orderFrontRegardless( +func (x gen_NSWindow) DisableCursorRects() { + C.NSWindow_inst_disableCursorRects( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) OrderWindow_relativeTo( - place core.NSUInteger, - otherWin core.NSInteger, -) { - C.NSWindow_inst_orderWindow_relativeTo( +func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { + C.NSWindow_inst_disableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), - C.ulong(place), - C.long(otherWin), ) return } -func (x gen_NSWindow) MakeKeyWindow() { - C.NSWindow_inst_makeKeyWindow( +func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { + C.NSWindow_inst_disableScreenUpdatesUntilFlush( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) MakeKeyAndOrderFront( - sender objc.Ref, -) { - C.NSWindow_inst_makeKeyAndOrderFront( +func (x gen_NSWindow) DisableSnapshotRestoration() { + C.NSWindow_inst_disableSnapshotRestoration( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSWindow) BecomeKeyWindow() { - C.NSWindow_inst_becomeKeyWindow( +func (x gen_NSWindow) DiscardCursorRects() { + C.NSWindow_inst_discardCursorRects( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) ResignKeyWindow() { - C.NSWindow_inst_resignKeyWindow( +func (x gen_NSWindow) Display() { + C.NSWindow_inst_display( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) MakeMainWindow() { - C.NSWindow_inst_makeMainWindow( +func (x gen_NSWindow) DisplayIfNeeded() { + C.NSWindow_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) BecomeMainWindow() { - C.NSWindow_inst_becomeMainWindow( +func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( + image NSImageRef, + baseLocation core.NSPoint, + initialOffset core.NSSize, + event NSEventRef, + pboard NSPasteboardRef, + sourceObj objc.Ref, + slideFlag bool, +) { + C.NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack( unsafe.Pointer(x.Pointer()), + objc.RefPointer(image), + *(*C.NSPoint)(unsafe.Pointer(&baseLocation)), + *(*C.NSSize)(unsafe.Pointer(&initialOffset)), + objc.RefPointer(event), + objc.RefPointer(pboard), + objc.RefPointer(sourceObj), + convertToObjCBool(slideFlag), ) return } -func (x gen_NSWindow) ResignMainWindow() { - C.NSWindow_inst_resignMainWindow( +func (x gen_NSWindow) EnableCursorRects() { + C.NSWindow_inst_enableCursorRects( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) ToggleToolbarShown( - sender objc.Ref, -) { - C.NSWindow_inst_toggleToolbarShown( +func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { + C.NSWindow_inst_enableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSWindow) RunToolbarCustomizationPalette( - sender objc.Ref, -) { - C.NSWindow_inst_runToolbarCustomizationPalette( +func (x gen_NSWindow) EnableSnapshotRestoration() { + C.NSWindow_inst_enableSnapshotRestoration( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSWindow) AddChildWindow_ordered( - childWin NSWindowRef, - place core.NSUInteger, +func (x gen_NSWindow) EndEditingFor( + object objc.Ref, ) { - C.NSWindow_inst_addChildWindow_ordered( + C.NSWindow_inst_endEditingFor( unsafe.Pointer(x.Pointer()), - objc.RefPointer(childWin), - C.ulong(place), + objc.RefPointer(object), ) return } -func (x gen_NSWindow) RemoveChildWindow( - childWin NSWindowRef, +func (x gen_NSWindow) EndSheet( + sheetWindow NSWindowRef, ) { - C.NSWindow_inst_removeChildWindow( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(childWin), - ) - return -} - -func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { - C.NSWindow_inst_enableKeyEquivalentForDefaultButtonCell( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { - C.NSWindow_inst_disableKeyEquivalentForDefaultButtonCell( + C.NSWindow_inst_endSheet( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sheetWindow), ) return } @@ -16953,34 +16934,56 @@ func (x gen_NSWindow) FieldEditor_forObject( return } -func (x gen_NSWindow) EndEditingFor( - object objc.Ref, +func (x gen_NSWindow) FrameRectForContentRect( + contentRect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSWindow_inst_endEditingFor( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(object), - ) - return -} - -func (x gen_NSWindow) EnableCursorRects() { - C.NSWindow_inst_enableCursorRects( + ret := C.NSWindow_inst_frameRectForContentRect( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&contentRect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) DisableCursorRects() { - C.NSWindow_inst_disableCursorRects( +func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( + contentRect core.NSRect, + style core.NSUInteger, + backingStoreType core.NSUInteger, + flag bool, +) ( + r0 NSWindow, +) { + ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&contentRect)), + C.ulong(style), + C.ulong(backingStoreType), + convertToObjCBool(flag), ) + r0 = NSWindow_fromPointer(ret) return } -func (x gen_NSWindow) DiscardCursorRects() { - C.NSWindow_inst_discardCursorRects( +func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWindow( + contentRect core.NSRect, + style core.NSUInteger, + backingStoreType core.NSUInteger, + flag bool, + screen NSScreenRef, +) ( + r0 NSWindow, +) { + ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&contentRect)), + C.ulong(style), + C.ulong(backingStoreType), + convertToObjCBool(flag), + objc.RefPointer(screen), ) + r0 = NSWindow_fromPointer(ret) return } @@ -16994,31 +16997,40 @@ func (x gen_NSWindow) InvalidateCursorRectsForView( return } -func (x gen_NSWindow) ResetCursorRects() { - C.NSWindow_inst_resetCursorRects( +func (x gen_NSWindow) InvalidateShadow() { + C.NSWindow_inst_invalidateShadow( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( - index core.NSInteger, -) { - C.NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex( +func (x gen_NSWindow) LayoutIfNeeded() { + C.NSWindow_inst_layoutIfNeeded( unsafe.Pointer(x.Pointer()), - C.long(index), ) return } -func (x gen_NSWindow) AddTabbedWindow_ordered( - window NSWindowRef, - ordered core.NSUInteger, +func (x gen_NSWindow) MakeKeyAndOrderFront( + sender objc.Ref, ) { - C.NSWindow_inst_addTabbedWindow_ordered( + C.NSWindow_inst_makeKeyAndOrderFront( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_NSWindow) MakeKeyWindow() { + C.NSWindow_inst_makeKeyWindow( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSWindow) MakeMainWindow() { + C.NSWindow_inst_makeMainWindow( unsafe.Pointer(x.Pointer()), - objc.RefPointer(window), - C.ulong(ordered), ) return } @@ -17033,127 +17045,131 @@ func (x gen_NSWindow) MergeAllWindows( return } -func (x gen_NSWindow) SelectNextTab( +func (x gen_NSWindow) Miniaturize( sender objc.Ref, ) { - C.NSWindow_inst_selectNextTab( + C.NSWindow_inst_miniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SelectPreviousTab( +func (x gen_NSWindow) MoveTabToNewWindow( sender objc.Ref, ) { - C.NSWindow_inst_selectPreviousTab( + C.NSWindow_inst_moveTabToNewWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) MoveTabToNewWindow( +func (x gen_NSWindow) OrderBack( sender objc.Ref, ) { - C.NSWindow_inst_moveTabToNewWindow( + C.NSWindow_inst_orderBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) ToggleTabBar( +func (x gen_NSWindow) OrderFront( sender objc.Ref, ) { - C.NSWindow_inst_toggleTabBar( + C.NSWindow_inst_orderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) ToggleTabOverview( +func (x gen_NSWindow) OrderFrontRegardless() { + C.NSWindow_inst_orderFrontRegardless( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSWindow) OrderOut( sender objc.Ref, ) { - C.NSWindow_inst_toggleTabOverview( + C.NSWindow_inst_orderOut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) PostEvent_atStart( - event NSEventRef, - flag bool, +func (x gen_NSWindow) OrderWindow_relativeTo( + place core.NSUInteger, + otherWin core.NSInteger, ) { - C.NSWindow_inst_postEvent_atStart( + C.NSWindow_inst_orderWindow_relativeTo( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), - convertToObjCBool(flag), + C.ulong(place), + C.long(otherWin), ) return } -func (x gen_NSWindow) SendEvent( - event NSEventRef, +func (x gen_NSWindow) PerformClose( + sender objc.Ref, ) { - C.NSWindow_inst_sendEvent( + C.NSWindow_inst_performClose( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + objc.RefPointer(sender), ) return } -func (x gen_NSWindow) TryToPerform_with( - action objc.Selector, - object objc.Ref, -) ( - r0 bool, +func (x gen_NSWindow) PerformMiniaturize( + sender objc.Ref, ) { - ret := C.NSWindow_inst_tryToPerform_with( + C.NSWindow_inst_performMiniaturize( unsafe.Pointer(x.Pointer()), - action.SelectorAddress(), - objc.RefPointer(object), + objc.RefPointer(sender), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSWindow) SelectKeyViewPrecedingView( - view NSViewRef, +func (x gen_NSWindow) PerformWindowDragWithEvent( + event NSEventRef, ) { - C.NSWindow_inst_selectKeyViewPrecedingView( + C.NSWindow_inst_performWindowDragWithEvent( unsafe.Pointer(x.Pointer()), - objc.RefPointer(view), + objc.RefPointer(event), ) return } -func (x gen_NSWindow) SelectKeyViewFollowingView( - view NSViewRef, +func (x gen_NSWindow) PerformZoom( + sender objc.Ref, ) { - C.NSWindow_inst_selectKeyViewFollowingView( + C.NSWindow_inst_performZoom( unsafe.Pointer(x.Pointer()), - objc.RefPointer(view), + objc.RefPointer(sender), ) return } -func (x gen_NSWindow) SelectPreviousKeyView( - sender objc.Ref, +func (x gen_NSWindow) PostEvent_atStart( + event NSEventRef, + flag bool, ) { - C.NSWindow_inst_selectPreviousKeyView( + C.NSWindow_inst_postEvent_atStart( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + objc.RefPointer(event), + convertToObjCBool(flag), ) return } -func (x gen_NSWindow) SelectNextKeyView( +func (x gen_NSWindow) Print( sender objc.Ref, ) { - C.NSWindow_inst_selectNextKeyView( + C.NSWindow_inst_print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -17167,310 +17183,314 @@ func (x gen_NSWindow) RecalculateKeyViewLoop() { return } -func (x gen_NSWindow) PerformWindowDragWithEvent( - event NSEventRef, +func (x gen_NSWindow) RegisterForDraggedTypes( + newTypes core.NSArrayRef, ) { - C.NSWindow_inst_performWindowDragWithEvent( + C.NSWindow_inst_registerForDraggedTypes( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + objc.RefPointer(newTypes), ) return } -func (x gen_NSWindow) DisableSnapshotRestoration() { - C.NSWindow_inst_disableSnapshotRestoration( +func (x gen_NSWindow) RemoveChildWindow( + childWin NSWindowRef, +) { + C.NSWindow_inst_removeChildWindow( unsafe.Pointer(x.Pointer()), + objc.RefPointer(childWin), ) return } -func (x gen_NSWindow) EnableSnapshotRestoration() { - C.NSWindow_inst_enableSnapshotRestoration( +func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( + index core.NSInteger, +) { + C.NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex( unsafe.Pointer(x.Pointer()), + C.long(index), ) return } -func (x gen_NSWindow) Display() { - C.NSWindow_inst_display( +func (x gen_NSWindow) ResetCursorRects() { + C.NSWindow_inst_resetCursorRects( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) DisplayIfNeeded() { - C.NSWindow_inst_displayIfNeeded( +func (x gen_NSWindow) ResignKeyWindow() { + C.NSWindow_inst_resignKeyWindow( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { - C.NSWindow_inst_disableScreenUpdatesUntilFlush( +func (x gen_NSWindow) ResignMainWindow() { + C.NSWindow_inst_resignMainWindow( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) Update() { - C.NSWindow_inst_update( +func (x gen_NSWindow) RunToolbarCustomizationPalette( + sender objc.Ref, +) { + C.NSWindow_inst_runToolbarCustomizationPalette( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } -func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( - image NSImageRef, - baseLocation core.NSPoint, - initialOffset core.NSSize, - event NSEventRef, - pboard NSPasteboardRef, - sourceObj objc.Ref, - slideFlag bool, +func (x gen_NSWindow) SelectKeyViewFollowingView( + view NSViewRef, ) { - C.NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack( + C.NSWindow_inst_selectKeyViewFollowingView( unsafe.Pointer(x.Pointer()), - objc.RefPointer(image), - *(*C.NSPoint)(unsafe.Pointer(&baseLocation)), - *(*C.NSSize)(unsafe.Pointer(&initialOffset)), - objc.RefPointer(event), - objc.RefPointer(pboard), - objc.RefPointer(sourceObj), - convertToObjCBool(slideFlag), + objc.RefPointer(view), ) return } -func (x gen_NSWindow) RegisterForDraggedTypes( - newTypes core.NSArrayRef, +func (x gen_NSWindow) SelectKeyViewPrecedingView( + view NSViewRef, ) { - C.NSWindow_inst_registerForDraggedTypes( + C.NSWindow_inst_selectKeyViewPrecedingView( unsafe.Pointer(x.Pointer()), - objc.RefPointer(newTypes), + objc.RefPointer(view), ) return } -func (x gen_NSWindow) UnregisterDraggedTypes() { - C.NSWindow_inst_unregisterDraggedTypes( +func (x gen_NSWindow) SelectNextKeyView( + sender objc.Ref, +) { + C.NSWindow_inst_selectNextKeyView( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } -func (x gen_NSWindow) ConvertRectFromBacking( - rect core.NSRect, -) ( - r0 core.NSRect, +func (x gen_NSWindow) SelectNextTab( + sender objc.Ref, ) { - ret := C.NSWindow_inst_convertRectFromBacking( + C.NSWindow_inst_selectNextTab( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(sender), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertRectFromScreen( - rect core.NSRect, -) ( - r0 core.NSRect, +func (x gen_NSWindow) SelectPreviousKeyView( + sender objc.Ref, ) { - ret := C.NSWindow_inst_convertRectFromScreen( + C.NSWindow_inst_selectPreviousKeyView( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(sender), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertPointFromBacking( - point core.NSPoint, -) ( - r0 core.NSPoint, +func (x gen_NSWindow) SelectPreviousTab( + sender objc.Ref, ) { - ret := C.NSWindow_inst_convertPointFromBacking( + C.NSWindow_inst_selectPreviousTab( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + objc.RefPointer(sender), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertPointFromScreen( - point core.NSPoint, -) ( - r0 core.NSPoint, +func (x gen_NSWindow) SendEvent( + event NSEventRef, ) { - ret := C.NSWindow_inst_convertPointFromScreen( + C.NSWindow_inst_sendEvent( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + objc.RefPointer(event), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertRectToBacking( - rect core.NSRect, -) ( - r0 core.NSRect, +func (x gen_NSWindow) SetContentSize( + size core.NSSize, ) { - ret := C.NSWindow_inst_convertRectToBacking( + C.NSWindow_inst_setContentSize( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertRectToScreen( - rect core.NSRect, -) ( - r0 core.NSRect, +func (x gen_NSWindow) SetDynamicDepthLimit( + flag bool, ) { - ret := C.NSWindow_inst_convertRectToScreen( + C.NSWindow_inst_setDynamicDepthLimit( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + convertToObjCBool(flag), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertPointToBacking( +func (x gen_NSWindow) SetFrame_display( + frameRect core.NSRect, + flag bool, +) { + C.NSWindow_inst_setFrame_display( + unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), + convertToObjCBool(flag), + ) + return +} + +func (x gen_NSWindow) SetFrame_display_animate( + frameRect core.NSRect, + displayFlag bool, + animateFlag bool, +) { + C.NSWindow_inst_setFrame_display_animate( + unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), + convertToObjCBool(displayFlag), + convertToObjCBool(animateFlag), + ) + return +} + +func (x gen_NSWindow) SetFrameOrigin( point core.NSPoint, -) ( - r0 core.NSPoint, ) { - ret := C.NSWindow_inst_convertPointToBacking( + C.NSWindow_inst_setFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) ConvertPointToScreen( +func (x gen_NSWindow) SetFrameTopLeftPoint( point core.NSPoint, -) ( - r0 core.NSPoint, ) { - ret := C.NSWindow_inst_convertPointToScreen( + C.NSWindow_inst_setFrameTopLeftPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSWindow) SetTitleWithRepresentedFilename( - filename core.NSStringRef, +func (x gen_NSWindow) SetIsMiniaturized( + flag bool, ) { - C.NSWindow_inst_setTitleWithRepresentedFilename( + C.NSWindow_inst_setIsMiniaturized( unsafe.Pointer(x.Pointer()), - objc.RefPointer(filename), + convertToObjCBool(flag), ) return } -func (x gen_NSWindow) Center() { - C.NSWindow_inst_center( +func (x gen_NSWindow) SetIsVisible( + flag bool, +) { + C.NSWindow_inst_setIsVisible( unsafe.Pointer(x.Pointer()), + convertToObjCBool(flag), ) return } -func (x gen_NSWindow) PerformClose( - sender objc.Ref, +func (x gen_NSWindow) SetIsZoomed( + flag bool, ) { - C.NSWindow_inst_performClose( + C.NSWindow_inst_setIsZoomed( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + convertToObjCBool(flag), ) return } -func (x gen_NSWindow) Close() { - C.NSWindow_inst_close( +func (x gen_NSWindow) SetTitleWithRepresentedFilename( + filename core.NSStringRef, +) { + C.NSWindow_inst_setTitleWithRepresentedFilename( unsafe.Pointer(x.Pointer()), + objc.RefPointer(filename), ) return } -func (x gen_NSWindow) PerformMiniaturize( +func (x gen_NSWindow) ToggleFullScreen( sender objc.Ref, ) { - C.NSWindow_inst_performMiniaturize( + C.NSWindow_inst_toggleFullScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Miniaturize( +func (x gen_NSWindow) ToggleTabBar( sender objc.Ref, ) { - C.NSWindow_inst_miniaturize( + C.NSWindow_inst_toggleTabBar( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Deminiaturize( +func (x gen_NSWindow) ToggleTabOverview( sender objc.Ref, ) { - C.NSWindow_inst_deminiaturize( + C.NSWindow_inst_toggleTabOverview( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) Print( +func (x gen_NSWindow) ToggleToolbarShown( sender objc.Ref, ) { - C.NSWindow_inst_print( + C.NSWindow_inst_toggleToolbarShown( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSWindow) DataWithEPSInsideRect( - rect core.NSRect, +func (x gen_NSWindow) TryToPerform_with( + action objc.Selector, + object objc.Ref, ) ( - r0 core.NSData, + r0 bool, ) { - ret := C.NSWindow_inst_dataWithEPSInsideRect( + ret := C.NSWindow_inst_tryToPerform_with( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + action.SelectorAddress(), + objc.RefPointer(object), ) - r0 = core.NSData_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSWindow) DataWithPDFInsideRect( - rect core.NSRect, -) ( - r0 core.NSData, -) { - ret := C.NSWindow_inst_dataWithPDFInsideRect( +func (x gen_NSWindow) UnregisterDraggedTypes() { + C.NSWindow_inst_unregisterDraggedTypes( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.NSData_fromPointer(ret) return } -func (x gen_NSWindow) UpdateConstraintsIfNeeded() { - C.NSWindow_inst_updateConstraintsIfNeeded( +func (x gen_NSWindow) Update() { + C.NSWindow_inst_update( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSWindow) LayoutIfNeeded() { - C.NSWindow_inst_layoutIfNeeded( +func (x gen_NSWindow) UpdateConstraintsIfNeeded() { + C.NSWindow_inst_updateConstraintsIfNeeded( unsafe.Pointer(x.Pointer()), ) return @@ -17486,32 +17506,12 @@ func (x gen_NSWindow) VisualizeConstraints( return } -func (x gen_NSWindow) SetIsMiniaturized( - flag bool, -) { - C.NSWindow_inst_setIsMiniaturized( - unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), - ) - return -} - -func (x gen_NSWindow) SetIsVisible( - flag bool, -) { - C.NSWindow_inst_setIsVisible( - unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), - ) - return -} - -func (x gen_NSWindow) SetIsZoomed( - flag bool, +func (x gen_NSWindow) Zoom( + sender objc.Ref, ) { - C.NSWindow_inst_setIsZoomed( + C.NSWindow_inst_zoom( unsafe.Pointer(x.Pointer()), - convertToObjCBool(flag), + objc.RefPointer(sender), ) return } @@ -18935,23 +18935,55 @@ func NSWorkspace_fromRef(ref objc.Ref) NSWorkspace { return NSWorkspace_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSWorkspace) OpenURL( +func (x gen_NSWorkspace) URLForApplicationToOpenURL( url core.NSURLRef, ) ( - r0 bool, + r0 core.NSURL, ) { - ret := C.NSWorkspace_inst_openURL( + ret := C.NSWorkspace_inst_URLForApplicationToOpenURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = convertObjCBoolToGo(ret) + r0 = core.NSURL_fromPointer(ret) return } -func (x gen_NSWorkspace) HideOtherApplications() { - C.NSWorkspace_inst_hideOtherApplications( +func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( + bundleIdentifier core.NSStringRef, +) ( + r0 core.NSURL, +) { + ret := C.NSWorkspace_inst_URLForApplicationWithBundleIdentifier( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(bundleIdentifier), + ) + r0 = core.NSURL_fromPointer(ret) + return +} + +func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( + url core.NSURLRef, +) ( + r0 core.NSArray, +) { + ret := C.NSWorkspace_inst_URLsForApplicationsToOpenURL( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(url), + ) + r0 = core.NSArray_fromPointer(ret) + return +} + +func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( + bundleIdentifier core.NSStringRef, +) ( + r0 core.NSArray, +) { + ret := C.NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier( unsafe.Pointer(x.Pointer()), + objc.RefPointer(bundleIdentifier), ) + r0 = core.NSArray_fromPointer(ret) return } @@ -18965,57 +18997,49 @@ func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( return } -func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( - fullPath core.NSStringRef, - rootFullPath core.NSStringRef, +func (x gen_NSWorkspace) DesktopImageOptionsForScreen( + screen NSScreenRef, ) ( - r0 bool, + r0 core.NSDictionary, ) { - ret := C.NSWorkspace_inst_selectFile_inFileViewerRootedAtPath( + ret := C.NSWorkspace_inst_desktopImageOptionsForScreen( unsafe.Pointer(x.Pointer()), - objc.RefPointer(fullPath), - objc.RefPointer(rootFullPath), + objc.RefPointer(screen), ) - r0 = convertObjCBoolToGo(ret) + r0 = core.NSDictionary_fromPointer(ret) return } -func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( - bundleIdentifier core.NSStringRef, +func (x gen_NSWorkspace) DesktopImageURLForScreen( + screen NSScreenRef, ) ( r0 core.NSURL, ) { - ret := C.NSWorkspace_inst_URLForApplicationWithBundleIdentifier( + ret := C.NSWorkspace_inst_desktopImageURLForScreen( unsafe.Pointer(x.Pointer()), - objc.RefPointer(bundleIdentifier), + objc.RefPointer(screen), ) r0 = core.NSURL_fromPointer(ret) return } -func (x gen_NSWorkspace) URLForApplicationToOpenURL( - url core.NSURLRef, +func (x gen_NSWorkspace) ExtendPowerOffBy( + requested core.NSInteger, ) ( - r0 core.NSURL, + r0 core.NSInteger, ) { - ret := C.NSWorkspace_inst_URLForApplicationToOpenURL( + ret := C.NSWorkspace_inst_extendPowerOffBy( unsafe.Pointer(x.Pointer()), - objc.RefPointer(url), + C.long(requested), ) - r0 = core.NSURL_fromPointer(ret) + r0 = core.NSInteger(ret) return } -func (x gen_NSWorkspace) IsFilePackageAtPath( - fullPath core.NSStringRef, -) ( - r0 bool, -) { - ret := C.NSWorkspace_inst_isFilePackageAtPath( +func (x gen_NSWorkspace) HideOtherApplications() { + C.NSWorkspace_inst_hideOtherApplications( unsafe.Pointer(x.Pointer()), - objc.RefPointer(fullPath), ) - r0 = convertObjCBoolToGo(ret) return } @@ -19045,104 +19069,80 @@ func (x gen_NSWorkspace) IconForFiles( return } -func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( - path core.NSStringRef, +func (x gen_NSWorkspace) IsFilePackageAtPath( + fullPath core.NSStringRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_unmountAndEjectDeviceAtPath( + ret := C.NSWorkspace_inst_isFilePackageAtPath( unsafe.Pointer(x.Pointer()), - objc.RefPointer(path), + objc.RefPointer(fullPath), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSWorkspace) DesktopImageURLForScreen( - screen NSScreenRef, -) ( - r0 core.NSURL, -) { - ret := C.NSWorkspace_inst_desktopImageURLForScreen( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(screen), - ) - r0 = core.NSURL_fromPointer(ret) - return -} - -func (x gen_NSWorkspace) DesktopImageOptionsForScreen( - screen NSScreenRef, -) ( - r0 core.NSDictionary, +func (x gen_NSWorkspace) NoteFileSystemChanged( + path core.NSStringRef, ) { - ret := C.NSWorkspace_inst_desktopImageOptionsForScreen( + C.NSWorkspace_inst_noteFileSystemChanged( unsafe.Pointer(x.Pointer()), - objc.RefPointer(screen), + objc.RefPointer(path), ) - r0 = core.NSDictionary_fromPointer(ret) return } -func (x gen_NSWorkspace) ShowSearchResultsForQueryString( - queryString core.NSStringRef, +func (x gen_NSWorkspace) OpenURL( + url core.NSURLRef, ) ( r0 bool, ) { - ret := C.NSWorkspace_inst_showSearchResultsForQueryString( + ret := C.NSWorkspace_inst_openURL( unsafe.Pointer(x.Pointer()), - objc.RefPointer(queryString), + objc.RefPointer(url), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSWorkspace) NoteFileSystemChanged( - path core.NSStringRef, -) { - C.NSWorkspace_inst_noteFileSystemChanged( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(path), - ) - return -} - -func (x gen_NSWorkspace) ExtendPowerOffBy( - requested core.NSInteger, +func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( + fullPath core.NSStringRef, + rootFullPath core.NSStringRef, ) ( - r0 core.NSInteger, + r0 bool, ) { - ret := C.NSWorkspace_inst_extendPowerOffBy( + ret := C.NSWorkspace_inst_selectFile_inFileViewerRootedAtPath( unsafe.Pointer(x.Pointer()), - C.long(requested), + objc.RefPointer(fullPath), + objc.RefPointer(rootFullPath), ) - r0 = core.NSInteger(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( - url core.NSURLRef, +func (x gen_NSWorkspace) ShowSearchResultsForQueryString( + queryString core.NSStringRef, ) ( - r0 core.NSArray, + r0 bool, ) { - ret := C.NSWorkspace_inst_URLsForApplicationsToOpenURL( + ret := C.NSWorkspace_inst_showSearchResultsForQueryString( unsafe.Pointer(x.Pointer()), - objc.RefPointer(url), + objc.RefPointer(queryString), ) - r0 = core.NSArray_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( - bundleIdentifier core.NSStringRef, +func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( + path core.NSStringRef, ) ( - r0 core.NSArray, + r0 bool, ) { - ret := C.NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier( + ret := C.NSWorkspace_inst_unmountAndEjectDeviceAtPath( unsafe.Pointer(x.Pointer()), - objc.RefPointer(bundleIdentifier), + objc.RefPointer(path), ) - r0 = core.NSArray_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } @@ -19323,25 +19323,22 @@ func (x gen_NSColor) ColorWithAlphaComponent( return } -func (x gen_NSColor) HighlightWithLevel( - val core.CGFloat, -) ( - r0 NSColor, +func (x gen_NSColor) DrawSwatchInRect( + rect core.NSRect, ) { - ret := C.NSColor_inst_highlightWithLevel( + C.NSColor_inst_drawSwatchInRect( unsafe.Pointer(x.Pointer()), - C.double(val), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = NSColor_fromPointer(ret) return } -func (x gen_NSColor) ShadowWithLevel( +func (x gen_NSColor) HighlightWithLevel( val core.CGFloat, ) ( r0 NSColor, ) { - ret := C.NSColor_inst_shadowWithLevel( + ret := C.NSColor_inst_highlightWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) @@ -19349,43 +19346,46 @@ func (x gen_NSColor) ShadowWithLevel( return } -func (x gen_NSColor) WriteToPasteboard( - pasteBoard NSPasteboardRef, -) { - C.NSColor_inst_writeToPasteboard( +func (x gen_NSColor) Set() { + C.NSColor_inst_set( unsafe.Pointer(x.Pointer()), - objc.RefPointer(pasteBoard), ) return } -func (x gen_NSColor) DrawSwatchInRect( - rect core.NSRect, -) { - C.NSColor_inst_drawSwatchInRect( +func (x gen_NSColor) SetFill() { + C.NSColor_inst_setFill( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSColor) Set() { - C.NSColor_inst_set( +func (x gen_NSColor) SetStroke() { + C.NSColor_inst_setStroke( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSColor) SetFill() { - C.NSColor_inst_setFill( +func (x gen_NSColor) ShadowWithLevel( + val core.CGFloat, +) ( + r0 NSColor, +) { + ret := C.NSColor_inst_shadowWithLevel( unsafe.Pointer(x.Pointer()), + C.double(val), ) + r0 = NSColor_fromPointer(ret) return } -func (x gen_NSColor) SetStroke() { - C.NSColor_inst_setStroke( +func (x gen_NSColor) WriteToPasteboard( + pasteBoard NSPasteboardRef, +) { + C.NSColor_inst_writeToPasteboard( unsafe.Pointer(x.Pointer()), + objc.RefPointer(pasteBoard), ) return } @@ -19569,47 +19569,39 @@ func NSTextView_fromRef(ref objc.Ref) NSTextView { return NSTextView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( - frameRect core.NSRect, - container NSTextContainerRef, -) ( - r0 NSTextView, +func (x gen_NSTextView) AlignJustified( + sender objc.Ref, ) { - ret := C.NSTextView_inst_initWithFrame_textContainer( + C.NSTextView_inst_alignJustified( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), - objc.RefPointer(container), + objc.RefPointer(sender), ) - r0 = NSTextView_fromPointer(ret) return } -func (x gen_NSTextView) InitWithFrame_asNSTextView( - frameRect core.NSRect, -) ( - r0 NSTextView, -) { - ret := C.NSTextView_inst_initWithFrame( +func (x gen_NSTextView) BreakUndoCoalescing() { + C.NSTextView_inst_breakUndoCoalescing( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = NSTextView_fromPointer(ret) return } -func (x gen_NSTextView) ReplaceTextContainer( - newContainer NSTextContainerRef, +func (x gen_NSTextView) ChangeAttributes( + sender objc.Ref, ) { - C.NSTextView_inst_replaceTextContainer( + C.NSTextView_inst_changeAttributes( unsafe.Pointer(x.Pointer()), - objc.RefPointer(newContainer), + objc.RefPointer(sender), ) return } -func (x gen_NSTextView) InvalidateTextContainerOrigin() { - C.NSTextView_inst_invalidateTextContainerOrigin( +func (x gen_NSTextView) ChangeColor( + sender objc.Ref, +) { + C.NSTextView_inst_changeColor( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } @@ -19624,48 +19616,45 @@ func (x gen_NSTextView) ChangeDocumentBackgroundColor( return } -func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( - rect core.NSRect, - flag bool, +func (x gen_NSTextView) ChangeLayoutOrientation( + sender objc.Ref, ) { - C.NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout( + C.NSTextView_inst_changeLayoutOrientation( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - convertToObjCBool(flag), + objc.RefPointer(sender), ) return } -func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( - rect core.NSRect, - color NSColorRef, - flag bool, +func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( + point core.NSPoint, +) ( + r0 core.NSUInteger, ) { - C.NSTextView_inst_drawInsertionPointInRect_color_turnedOn( + ret := C.NSTextView_inst_characterIndexForInsertionAtPoint( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - objc.RefPointer(color), - convertToObjCBool(flag), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = core.NSUInteger(ret) return } -func (x gen_NSTextView) DrawViewBackgroundInRect( - rect core.NSRect, +func (x gen_NSTextView) CheckTextInDocument( + sender objc.Ref, ) { - C.NSTextView_inst_drawViewBackgroundInRect( + C.NSTextView_inst_checkTextInDocument( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(sender), ) return } -func (x gen_NSTextView) SetConstrainedFrameSize( - desiredSize core.NSSize, +func (x gen_NSTextView) CheckTextInSelection( + sender objc.Ref, ) { - C.NSTextView_inst_setConstrainedFrameSize( + C.NSTextView_inst_checkTextInSelection( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&desiredSize)), + objc.RefPointer(sender), ) return } @@ -19677,280 +19666,295 @@ func (x gen_NSTextView) CleanUpAfterDragOperation() { return } -func (x gen_NSTextView) Outline( - sender objc.Ref, +func (x gen_NSTextView) ClickedOnLink_atIndex( + link objc.Ref, + charIndex core.NSUInteger, ) { - C.NSTextView_inst_outline( + C.NSTextView_inst_clickedOnLink_atIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + objc.RefPointer(link), + C.ulong(charIndex), ) return } -func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( +func (x gen_NSTextView) Complete( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticQuoteSubstitution( + C.NSTextView_inst_complete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticLinkDetection( - sender objc.Ref, -) { - C.NSTextView_inst_toggleAutomaticLinkDetection( +func (x gen_NSTextView) DidChangeText() { + C.NSTextView_inst_didChangeText( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticTextCompletion( - sender objc.Ref, +func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( + event NSEventRef, + mouseOffset core.NSSize, + slideBack bool, +) ( + r0 bool, ) { - C.NSTextView_inst_toggleAutomaticTextCompletion( + ret := C.NSTextView_inst_dragSelectionWithEvent_offset_slideBack( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + objc.RefPointer(event), + *(*C.NSSize)(unsafe.Pointer(&mouseOffset)), + convertToObjCBool(slideBack), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( - restartFlag bool, +func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( + rect core.NSRect, + color NSColorRef, + flag bool, ) { - C.NSTextView_inst_updateInsertionPointStateAndRestartTimer( + C.NSTextView_inst_drawInsertionPointInRect_color_turnedOn( unsafe.Pointer(x.Pointer()), - convertToObjCBool(restartFlag), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(color), + convertToObjCBool(flag), ) return } -func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( - point core.NSPoint, -) ( - r0 core.NSUInteger, +func (x gen_NSTextView) DrawViewBackgroundInRect( + rect core.NSRect, ) { - ret := C.NSTextView_inst_characterIndexForInsertionAtPoint( + C.NSTextView_inst_drawViewBackgroundInRect( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.NSUInteger(ret) return } -func (x gen_NSTextView) UpdateCandidates() { - C.NSTextView_inst_updateCandidates( +func (x gen_NSTextView) InitWithFrame_asNSTextView( + frameRect core.NSRect, +) ( + r0 NSTextView, +) { + ret := C.NSTextView_inst_initWithFrame( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) + r0 = NSTextView_fromPointer(ret) return } -func (x gen_NSTextView) ReadSelectionFromPasteboard( - pboard NSPasteboardRef, +func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( + frameRect core.NSRect, + container NSTextContainerRef, ) ( - r0 bool, + r0 NSTextView, ) { - ret := C.NSTextView_inst_readSelectionFromPasteboard( + ret := C.NSTextView_inst_initWithFrame_textContainer( unsafe.Pointer(x.Pointer()), - objc.RefPointer(pboard), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), + objc.RefPointer(container), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSTextView_fromPointer(ret) return } -func (x gen_NSTextView) WriteSelectionToPasteboard_types( - pboard NSPasteboardRef, - types core.NSArrayRef, -) ( - r0 bool, -) { - ret := C.NSTextView_inst_writeSelectionToPasteboard_types( +func (x gen_NSTextView) InvalidateTextContainerOrigin() { + C.NSTextView_inst_invalidateTextContainerOrigin( unsafe.Pointer(x.Pointer()), - objc.RefPointer(pboard), - objc.RefPointer(types), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSTextView) AlignJustified( +func (x gen_NSTextView) LoosenKerning( sender objc.Ref, ) { - C.NSTextView_inst_alignJustified( + C.NSTextView_inst_loosenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ChangeAttributes( +func (x gen_NSTextView) LowerBaseline( sender objc.Ref, ) { - C.NSTextView_inst_changeAttributes( + C.NSTextView_inst_lowerBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ChangeColor( +func (x gen_NSTextView) OrderFrontLinkPanel( sender objc.Ref, ) { - C.NSTextView_inst_changeColor( + C.NSTextView_inst_orderFrontLinkPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UseStandardKerning( +func (x gen_NSTextView) OrderFrontListPanel( sender objc.Ref, ) { - C.NSTextView_inst_useStandardKerning( + C.NSTextView_inst_orderFrontListPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) LowerBaseline( +func (x gen_NSTextView) OrderFrontSharingServicePicker( sender objc.Ref, ) { - C.NSTextView_inst_lowerBaseline( + C.NSTextView_inst_orderFrontSharingServicePicker( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) RaiseBaseline( +func (x gen_NSTextView) OrderFrontSpacingPanel( sender objc.Ref, ) { - C.NSTextView_inst_raiseBaseline( + C.NSTextView_inst_orderFrontSpacingPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) TurnOffKerning( +func (x gen_NSTextView) OrderFrontSubstitutionsPanel( sender objc.Ref, ) { - C.NSTextView_inst_turnOffKerning( + C.NSTextView_inst_orderFrontSubstitutionsPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) LoosenKerning( +func (x gen_NSTextView) OrderFrontTablePanel( sender objc.Ref, ) { - C.NSTextView_inst_loosenKerning( + C.NSTextView_inst_orderFrontTablePanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) TightenKerning( +func (x gen_NSTextView) Outline( sender objc.Ref, ) { - C.NSTextView_inst_tightenKerning( + C.NSTextView_inst_outline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UseStandardLigatures( +func (x gen_NSTextView) PasteAsPlainText( sender objc.Ref, ) { - C.NSTextView_inst_useStandardLigatures( + C.NSTextView_inst_pasteAsPlainText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) TurnOffLigatures( +func (x gen_NSTextView) PasteAsRichText( sender objc.Ref, ) { - C.NSTextView_inst_turnOffLigatures( + C.NSTextView_inst_pasteAsRichText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UseAllLigatures( +func (x gen_NSTextView) PerformFindPanelAction( sender objc.Ref, ) { - C.NSTextView_inst_useAllLigatures( + C.NSTextView_inst_performFindPanelAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ClickedOnLink_atIndex( - link objc.Ref, - charIndex core.NSUInteger, +func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( + ranges core.NSArrayRef, +) ( + r0 core.NSArray, ) { - C.NSTextView_inst_clickedOnLink_atIndex( + ret := C.NSTextView_inst_quickLookPreviewableItemsInRanges( unsafe.Pointer(x.Pointer()), - objc.RefPointer(link), - C.ulong(charIndex), + objc.RefPointer(ranges), ) + r0 = core.NSArray_fromPointer(ret) return } -func (x gen_NSTextView) PasteAsPlainText( +func (x gen_NSTextView) RaiseBaseline( sender objc.Ref, ) { - C.NSTextView_inst_pasteAsPlainText( + C.NSTextView_inst_raiseBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) PasteAsRichText( - sender objc.Ref, +func (x gen_NSTextView) ReadSelectionFromPasteboard( + pboard NSPasteboardRef, +) ( + r0 bool, ) { - C.NSTextView_inst_pasteAsRichText( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), - ) - return -} - -func (x gen_NSTextView) BreakUndoCoalescing() { - C.NSTextView_inst_breakUndoCoalescing( + ret := C.NSTextView_inst_readSelectionFromPasteboard( unsafe.Pointer(x.Pointer()), + objc.RefPointer(pboard), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSTextView) UpdateFontPanel() { - C.NSTextView_inst_updateFontPanel( +func (x gen_NSTextView) ReplaceTextContainer( + newContainer NSTextContainerRef, +) { + C.NSTextView_inst_replaceTextContainer( unsafe.Pointer(x.Pointer()), + objc.RefPointer(newContainer), ) return } -func (x gen_NSTextView) UpdateRuler() { - C.NSTextView_inst_updateRuler( +func (x gen_NSTextView) SetConstrainedFrameSize( + desiredSize core.NSSize, +) { + C.NSTextView_inst_setConstrainedFrameSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&desiredSize)), ) return } -func (x gen_NSTextView) UpdateDragTypeRegistration() { - C.NSTextView_inst_updateDragTypeRegistration( +func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( + rect core.NSRect, + flag bool, +) { + C.NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&rect)), + convertToObjCBool(flag), ) return } @@ -19970,216 +19974,193 @@ func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( return } -func (x gen_NSTextView) DidChangeText() { - C.NSTextView_inst_didChangeText( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSTextView) ToggleSmartInsertDelete( +func (x gen_NSTextView) StartSpeaking( sender objc.Ref, ) { - C.NSTextView_inst_toggleSmartInsertDelete( + C.NSTextView_inst_startSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleContinuousSpellChecking( +func (x gen_NSTextView) StopSpeaking( sender objc.Ref, ) { - C.NSTextView_inst_toggleContinuousSpellChecking( + C.NSTextView_inst_stopSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleGrammarChecking( +func (x gen_NSTextView) TightenKerning( sender objc.Ref, ) { - C.NSTextView_inst_toggleGrammarChecking( + C.NSTextView_inst_tightenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontSharingServicePicker( +func (x gen_NSTextView) ToggleAutomaticDashSubstitution( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSharingServicePicker( + C.NSTextView_inst_toggleAutomaticDashSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( - event NSEventRef, - mouseOffset core.NSSize, - slideBack bool, -) ( - r0 bool, +func (x gen_NSTextView) ToggleAutomaticDataDetection( + sender objc.Ref, ) { - ret := C.NSTextView_inst_dragSelectionWithEvent_offset_slideBack( + C.NSTextView_inst_toggleAutomaticDataDetection( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), - *(*C.NSSize)(unsafe.Pointer(&mouseOffset)), - convertToObjCBool(slideBack), + objc.RefPointer(sender), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSTextView) StartSpeaking( +func (x gen_NSTextView) ToggleAutomaticLinkDetection( sender objc.Ref, ) { - C.NSTextView_inst_startSpeaking( + C.NSTextView_inst_toggleAutomaticLinkDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) StopSpeaking( +func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( sender objc.Ref, ) { - C.NSTextView_inst_stopSpeaking( + C.NSTextView_inst_toggleAutomaticQuoteSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) PerformFindPanelAction( +func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( sender objc.Ref, ) { - C.NSTextView_inst_performFindPanelAction( + C.NSTextView_inst_toggleAutomaticSpellingCorrection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontLinkPanel( +func (x gen_NSTextView) ToggleAutomaticTextCompletion( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontLinkPanel( + C.NSTextView_inst_toggleAutomaticTextCompletion( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontListPanel( +func (x gen_NSTextView) ToggleAutomaticTextReplacement( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontListPanel( + C.NSTextView_inst_toggleAutomaticTextReplacement( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontSpacingPanel( +func (x gen_NSTextView) ToggleContinuousSpellChecking( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSpacingPanel( + C.NSTextView_inst_toggleContinuousSpellChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontTablePanel( +func (x gen_NSTextView) ToggleGrammarChecking( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontTablePanel( + C.NSTextView_inst_toggleGrammarChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) OrderFrontSubstitutionsPanel( +func (x gen_NSTextView) ToggleQuickLookPreviewPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSubstitutionsPanel( + C.NSTextView_inst_toggleQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) Complete( +func (x gen_NSTextView) ToggleSmartInsertDelete( sender objc.Ref, ) { - C.NSTextView_inst_complete( + C.NSTextView_inst_toggleSmartInsertDelete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) CheckTextInDocument( +func (x gen_NSTextView) TurnOffKerning( sender objc.Ref, ) { - C.NSTextView_inst_checkTextInDocument( + C.NSTextView_inst_turnOffKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) CheckTextInSelection( +func (x gen_NSTextView) TurnOffLigatures( sender objc.Ref, ) { - C.NSTextView_inst_checkTextInSelection( + C.NSTextView_inst_turnOffLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticDashSubstitution( - sender objc.Ref, -) { - C.NSTextView_inst_toggleAutomaticDashSubstitution( +func (x gen_NSTextView) UpdateCandidates() { + C.NSTextView_inst_updateCandidates( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticDataDetection( - sender objc.Ref, -) { - C.NSTextView_inst_toggleAutomaticDataDetection( +func (x gen_NSTextView) UpdateDragTypeRegistration() { + C.NSTextView_inst_updateDragTypeRegistration( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( - sender objc.Ref, -) { - C.NSTextView_inst_toggleAutomaticSpellingCorrection( +func (x gen_NSTextView) UpdateFontPanel() { + C.NSTextView_inst_updateFontPanel( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSTextView) ToggleAutomaticTextReplacement( - sender objc.Ref, -) { - C.NSTextView_inst_toggleAutomaticTextReplacement( +func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( + restartFlag bool, +) { + C.NSTextView_inst_updateInsertionPointStateAndRestartTimer( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + convertToObjCBool(restartFlag), ) return } @@ -20191,50 +20172,69 @@ func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { return } -func (x gen_NSTextView) ToggleQuickLookPreviewPanel( - sender objc.Ref, -) { - C.NSTextView_inst_toggleQuickLookPreviewPanel( +func (x gen_NSTextView) UpdateRuler() { + C.NSTextView_inst_updateRuler( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) return } -func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( - ranges core.NSArrayRef, -) ( - r0 core.NSArray, +func (x gen_NSTextView) UpdateTextTouchBarItems() { + C.NSTextView_inst_updateTextTouchBarItems( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { + C.NSTextView_inst_updateTouchBarItemIdentifiers( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSTextView) UseAllLigatures( + sender objc.Ref, ) { - ret := C.NSTextView_inst_quickLookPreviewableItemsInRanges( + C.NSTextView_inst_useAllLigatures( unsafe.Pointer(x.Pointer()), - objc.RefPointer(ranges), + objc.RefPointer(sender), ) - r0 = core.NSArray_fromPointer(ret) return } -func (x gen_NSTextView) ChangeLayoutOrientation( +func (x gen_NSTextView) UseStandardKerning( sender objc.Ref, ) { - C.NSTextView_inst_changeLayoutOrientation( + C.NSTextView_inst_useStandardKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UpdateTextTouchBarItems() { - C.NSTextView_inst_updateTextTouchBarItems( +func (x gen_NSTextView) UseStandardLigatures( + sender objc.Ref, +) { + C.NSTextView_inst_useStandardLigatures( unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), ) return } -func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { - C.NSTextView_inst_updateTouchBarItemIdentifiers( +func (x gen_NSTextView) WriteSelectionToPasteboard_types( + pboard NSPasteboardRef, + types core.NSArrayRef, +) ( + r0 bool, +) { + ret := C.NSTextView_inst_writeSelectionToPasteboard_types( unsafe.Pointer(x.Pointer()), + objc.RefPointer(pboard), + objc.RefPointer(types), ) + r0 = convertObjCBoolToGo(ret) return } @@ -21237,22 +21237,25 @@ func NSView_fromRef(ref objc.Ref) NSView { return NSView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSView) InitWithFrame_asNSView( - frameRect core.NSRect, +func (x gen_NSView) AcceptsFirstMouse( + event NSEventRef, ) ( - r0 NSView, + r0 bool, ) { - ret := C.NSView_inst_initWithFrame( + ret := C.NSView_inst_acceptsFirstMouse( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frameRect)), + objc.RefPointer(event), ) - r0 = NSView_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) PrepareForReuse() { - C.NSView_inst_prepareForReuse( +func (x gen_NSView) AddConstraints( + constraints core.NSArrayRef, +) { + C.NSView_inst_addConstraints( unsafe.Pointer(x.Pointer()), + objc.RefPointer(constraints), ) return } @@ -21281,211 +21284,333 @@ func (x gen_NSView) AddSubview_positioned_relativeTo( return } -func (x gen_NSView) DidAddSubview( - subview NSViewRef, +func (x gen_NSView) AdjustScroll( + newVisible core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSView_inst_didAddSubview( + ret := C.NSView_inst_adjustScroll( unsafe.Pointer(x.Pointer()), - objc.RefPointer(subview), + *(*C.NSRect)(unsafe.Pointer(&newVisible)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) RemoveFromSuperview() { - C.NSView_inst_removeFromSuperview( +func (x gen_NSView) AlignmentRectForFrame( + frame core.NSRect, +) ( + r0 core.NSRect, +) { + ret := C.NSView_inst_alignmentRectForFrame( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&frame)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { - C.NSView_inst_removeFromSuperviewWithoutNeedingDisplay( +func (x gen_NSView) AncestorSharedWithView( + view NSViewRef, +) ( + r0 NSView, +) { + ret := C.NSView_inst_ancestorSharedWithView( unsafe.Pointer(x.Pointer()), + objc.RefPointer(view), ) + r0 = NSView_fromPointer(ret) return } -func (x gen_NSView) ReplaceSubview_with( - oldView NSViewRef, - newView NSViewRef, +func (x gen_NSView) Autoscroll( + event NSEventRef, +) ( + r0 bool, ) { - C.NSView_inst_replaceSubview_with( + ret := C.NSView_inst_autoscroll( unsafe.Pointer(x.Pointer()), - objc.RefPointer(oldView), - objc.RefPointer(newView), + objc.RefPointer(event), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) IsDescendantOf( +func (x gen_NSView) BeginDocument() { + C.NSView_inst_beginDocument( + unsafe.Pointer(x.Pointer()), + ) + return +} + +func (x gen_NSView) BeginPageInRect_atPlacement( + rect core.NSRect, + location core.NSPoint, +) { + C.NSView_inst_beginPageInRect_atPlacement( + unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSPoint)(unsafe.Pointer(&location)), + ) + return +} + +func (x gen_NSView) CenterScanRect( + rect core.NSRect, +) ( + r0 core.NSRect, +) { + ret := C.NSView_inst_centerScanRect( + unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&rect)), + ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) + return +} + +func (x gen_NSView) ConvertPoint_fromView( + point core.NSPoint, view NSViewRef, ) ( - r0 bool, + r0 core.NSPoint, ) { - ret := C.NSView_inst_isDescendantOf( + ret := C.NSView_inst_convertPoint_fromView( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), ) - r0 = convertObjCBoolToGo(ret) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) AncestorSharedWithView( +func (x gen_NSView) ConvertPoint_toView( + point core.NSPoint, view NSViewRef, ) ( - r0 NSView, + r0 core.NSPoint, ) { - ret := C.NSView_inst_ancestorSharedWithView( + ret := C.NSView_inst_convertPoint_toView( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), ) - r0 = NSView_fromPointer(ret) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ViewDidMoveToSuperview() { - C.NSView_inst_viewDidMoveToSuperview( +func (x gen_NSView) ConvertPointFromBacking( + point core.NSPoint, +) ( + r0 core.NSPoint, +) { + ret := C.NSView_inst_convertPointFromBacking( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ViewDidMoveToWindow() { - C.NSView_inst_viewDidMoveToWindow( +func (x gen_NSView) ConvertPointFromLayer( + point core.NSPoint, +) ( + r0 core.NSPoint, +) { + ret := C.NSView_inst_convertPointFromLayer( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ViewWillMoveToSuperview( - newSuperview NSViewRef, +func (x gen_NSView) ConvertPointToBacking( + point core.NSPoint, +) ( + r0 core.NSPoint, ) { - C.NSView_inst_viewWillMoveToSuperview( + ret := C.NSView_inst_convertPointToBacking( unsafe.Pointer(x.Pointer()), - objc.RefPointer(newSuperview), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ViewWillMoveToWindow( - newWindow NSWindowRef, +func (x gen_NSView) ConvertPointToLayer( + point core.NSPoint, +) ( + r0 core.NSPoint, ) { - C.NSView_inst_viewWillMoveToWindow( + ret := C.NSView_inst_convertPointToLayer( unsafe.Pointer(x.Pointer()), - objc.RefPointer(newWindow), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) + r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) WillRemoveSubview( - subview NSViewRef, +func (x gen_NSView) ConvertRect_fromView( + rect core.NSRect, + view NSViewRef, +) ( + r0 core.NSRect, ) { - C.NSView_inst_willRemoveSubview( + ret := C.NSView_inst_convertRect_fromView( unsafe.Pointer(x.Pointer()), - objc.RefPointer(subview), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(view), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) SetFrameOrigin( - newOrigin core.NSPoint, +func (x gen_NSView) ConvertRect_toView( + rect core.NSRect, + view NSViewRef, +) ( + r0 core.NSRect, ) { - C.NSView_inst_setFrameOrigin( + ret := C.NSView_inst_convertRect_toView( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(view), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) SetFrameSize( - newSize core.NSSize, +func (x gen_NSView) ConvertRectFromBacking( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSView_inst_setFrameSize( + ret := C.NSView_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&newSize)), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) SetBoundsOrigin( - newOrigin core.NSPoint, +func (x gen_NSView) ConvertRectFromLayer( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSView_inst_setBoundsOrigin( + ret := C.NSView_inst_convertRectFromLayer( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) SetBoundsSize( - newSize core.NSSize, +func (x gen_NSView) ConvertRectToBacking( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSView_inst_setBoundsSize( + ret := C.NSView_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&newSize)), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) MakeBackingLayer() ( - r0 core.CALayer, +func (x gen_NSView) ConvertRectToLayer( + rect core.NSRect, +) ( + r0 core.NSRect, ) { - ret := C.NSView_inst_makeBackingLayer( + ret := C.NSView_inst_convertRectToLayer( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.CALayer_fromPointer(ret) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) UpdateLayer() { - C.NSView_inst_updateLayer( +func (x gen_NSView) ConvertSize_fromView( + size core.NSSize, + view NSViewRef, +) ( + r0 core.NSSize, +) { + ret := C.NSView_inst_convertSize_fromView( + unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&size)), + objc.RefPointer(view), + ) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) + return +} + +func (x gen_NSView) ConvertSize_toView( + size core.NSSize, + view NSViewRef, +) ( + r0 core.NSSize, +) { + ret := C.NSView_inst_convertSize_toView( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&size)), + objc.RefPointer(view), ) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) DrawRect( - dirtyRect core.NSRect, +func (x gen_NSView) ConvertSizeFromBacking( + size core.NSSize, +) ( + r0 core.NSSize, ) { - C.NSView_inst_drawRect( + ret := C.NSView_inst_convertSizeFromBacking( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&dirtyRect)), + *(*C.NSSize)(unsafe.Pointer(&size)), ) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) NeedsToDrawRect( - rect core.NSRect, +func (x gen_NSView) ConvertSizeFromLayer( + size core.NSSize, ) ( - r0 bool, + r0 core.NSSize, ) { - ret := C.NSView_inst_needsToDrawRect( + ret := C.NSView_inst_convertSizeFromLayer( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = convertObjCBoolToGo(ret) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) Print( - sender objc.Ref, +func (x gen_NSView) ConvertSizeToBacking( + size core.NSSize, +) ( + r0 core.NSSize, ) { - C.NSView_inst_print( + ret := C.NSView_inst_convertSizeToBacking( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + *(*C.NSSize)(unsafe.Pointer(&size)), ) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) BeginPageInRect_atPlacement( - rect core.NSRect, - location core.NSPoint, +func (x gen_NSView) ConvertSizeToLayer( + size core.NSSize, +) ( + r0 core.NSSize, ) { - C.NSView_inst_beginPageInRect_atPlacement( + ret := C.NSView_inst_convertSizeToLayer( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - *(*C.NSPoint)(unsafe.Pointer(&location)), + *(*C.NSSize)(unsafe.Pointer(&size)), ) + r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } @@ -21515,909 +21640,784 @@ func (x gen_NSView) DataWithPDFInsideRect( return } -func (x gen_NSView) WriteEPSInsideRect_toPasteboard( - rect core.NSRect, - pasteboard NSPasteboardRef, -) { - C.NSView_inst_writeEPSInsideRect_toPasteboard( - unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - objc.RefPointer(pasteboard), - ) - return -} - -func (x gen_NSView) WritePDFInsideRect_toPasteboard( - rect core.NSRect, - pasteboard NSPasteboardRef, +func (x gen_NSView) DidAddSubview( + subview NSViewRef, ) { - C.NSView_inst_writePDFInsideRect_toPasteboard( + C.NSView_inst_didAddSubview( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - objc.RefPointer(pasteboard), + objc.RefPointer(subview), ) return } -func (x gen_NSView) DrawPageBorderWithSize( - borderSize core.NSSize, +func (x gen_NSView) DidCloseMenu_withEvent( + menu NSMenuRef, + event NSEventRef, ) { - C.NSView_inst_drawPageBorderWithSize( + C.NSView_inst_didCloseMenu_withEvent( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&borderSize)), + objc.RefPointer(menu), + objc.RefPointer(event), ) return } -func (x gen_NSView) RectForPage( - page core.NSInteger, -) ( - r0 core.NSRect, -) { - ret := C.NSView_inst_rectForPage( +func (x gen_NSView) DiscardCursorRects() { + C.NSView_inst_discardCursorRects( unsafe.Pointer(x.Pointer()), - C.long(page), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) LocationOfPrintRect( - rect core.NSRect, -) ( - r0 core.NSPoint, -) { - ret := C.NSView_inst_locationOfPrintRect( +func (x gen_NSView) Display() { + C.NSView_inst_display( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) SetNeedsDisplayInRect( - invalidRect core.NSRect, -) { - C.NSView_inst_setNeedsDisplayInRect( +func (x gen_NSView) DisplayIfNeeded() { + C.NSView_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&invalidRect)), ) return } -func (x gen_NSView) Display() { - C.NSView_inst_display( +func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { + C.NSView_inst_displayIfNeededIgnoringOpacity( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) DisplayRect( +func (x gen_NSView) DisplayIfNeededInRect( rect core.NSRect, ) { - C.NSView_inst_displayRect( + C.NSView_inst_displayIfNeededInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) DisplayRectIgnoringOpacity( +func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( rect core.NSRect, ) { - C.NSView_inst_displayRectIgnoringOpacity( + C.NSView_inst_displayIfNeededInRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) DisplayIfNeeded() { - C.NSView_inst_displayIfNeeded( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSView) DisplayIfNeededInRect( +func (x gen_NSView) DisplayRect( rect core.NSRect, ) { - C.NSView_inst_displayIfNeededInRect( + C.NSView_inst_displayRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { - C.NSView_inst_displayIfNeededIgnoringOpacity( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( +func (x gen_NSView) DisplayRectIgnoringOpacity( rect core.NSRect, ) { - C.NSView_inst_displayIfNeededInRectIgnoringOpacity( + C.NSView_inst_displayRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( - clipRect core.NSRect, - delta core.NSSize, -) { - C.NSView_inst_translateRectsNeedingDisplayInRect_by( +func (x gen_NSView) DrawFocusRingMask() { + C.NSView_inst_drawFocusRingMask( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&clipRect)), - *(*C.NSSize)(unsafe.Pointer(&delta)), ) return } -func (x gen_NSView) ViewWillDraw() { - C.NSView_inst_viewWillDraw( +func (x gen_NSView) DrawPageBorderWithSize( + borderSize core.NSSize, +) { + C.NSView_inst_drawPageBorderWithSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&borderSize)), ) return } -func (x gen_NSView) ConvertPointFromBacking( - point core.NSPoint, -) ( - r0 core.NSPoint, +func (x gen_NSView) DrawRect( + dirtyRect core.NSRect, ) { - ret := C.NSView_inst_convertPointFromBacking( + C.NSView_inst_drawRect( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + *(*C.NSRect)(unsafe.Pointer(&dirtyRect)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertPointToBacking( - point core.NSPoint, -) ( - r0 core.NSPoint, -) { - ret := C.NSView_inst_convertPointToBacking( +func (x gen_NSView) EndDocument() { + C.NSView_inst_endDocument( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertPointFromLayer( - point core.NSPoint, -) ( - r0 core.NSPoint, -) { - ret := C.NSView_inst_convertPointFromLayer( +func (x gen_NSView) EndPage() { + C.NSView_inst_endPage( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertPointToLayer( - point core.NSPoint, +func (x gen_NSView) EnterFullScreenMode_withOptions( + screen NSScreenRef, + options core.NSDictionaryRef, ) ( - r0 core.NSPoint, + r0 bool, ) { - ret := C.NSView_inst_convertPointToLayer( + ret := C.NSView_inst_enterFullScreenMode_withOptions( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + objc.RefPointer(screen), + objc.RefPointer(options), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) ConvertRectFromBacking( - rect core.NSRect, -) ( - r0 core.NSRect, -) { - ret := C.NSView_inst_convertRectFromBacking( +func (x gen_NSView) ExerciseAmbiguityInLayout() { + C.NSView_inst_exerciseAmbiguityInLayout( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertRectToBacking( - rect core.NSRect, -) ( - r0 core.NSRect, +func (x gen_NSView) ExitFullScreenModeWithOptions( + options core.NSDictionaryRef, ) { - ret := C.NSView_inst_convertRectToBacking( + C.NSView_inst_exitFullScreenModeWithOptions( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(options), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertRectFromLayer( - rect core.NSRect, +func (x gen_NSView) FrameForAlignmentRect( + alignmentRect core.NSRect, ) ( r0 core.NSRect, ) { - ret := C.NSView_inst_convertRectFromLayer( + ret := C.NSView_inst_frameForAlignmentRect( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSRect)(unsafe.Pointer(&alignmentRect)), ) r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertRectToLayer( - rect core.NSRect, +func (x gen_NSView) HitTest( + point core.NSPoint, ) ( - r0 core.NSRect, + r0 NSView, ) { - ret := C.NSView_inst_convertRectToLayer( + ret := C.NSView_inst_hitTest( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) + r0 = NSView_fromPointer(ret) return } -func (x gen_NSView) ConvertSizeFromBacking( - size core.NSSize, +func (x gen_NSView) InitWithFrame_asNSView( + frameRect core.NSRect, ) ( - r0 core.NSSize, + r0 NSView, ) { - ret := C.NSView_inst_convertSizeFromBacking( + ret := C.NSView_inst_initWithFrame( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), + *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) + r0 = NSView_fromPointer(ret) return } -func (x gen_NSView) ConvertSizeToBacking( - size core.NSSize, -) ( - r0 core.NSSize, -) { - ret := C.NSView_inst_convertSizeToBacking( +func (x gen_NSView) InvalidateIntrinsicContentSize() { + C.NSView_inst_invalidateIntrinsicContentSize( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertSizeFromLayer( - size core.NSSize, +func (x gen_NSView) IsDescendantOf( + view NSViewRef, ) ( - r0 core.NSSize, + r0 bool, ) { - ret := C.NSView_inst_convertSizeFromLayer( + ret := C.NSView_inst_isDescendantOf( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), + objc.RefPointer(view), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return -} - -func (x gen_NSView) ConvertSizeToLayer( - size core.NSSize, -) ( - r0 core.NSSize, -) { - ret := C.NSView_inst_convertSizeToLayer( + r0 = convertObjCBoolToGo(ret) + return +} + +func (x gen_NSView) Layout() { + C.NSView_inst_layout( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertPoint_fromView( - point core.NSPoint, - view NSViewRef, -) ( - r0 core.NSPoint, -) { - ret := C.NSView_inst_convertPoint_fromView( +func (x gen_NSView) LayoutSubtreeIfNeeded() { + C.NSView_inst_layoutSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), - objc.RefPointer(view), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertPoint_toView( - point core.NSPoint, - view NSViewRef, +func (x gen_NSView) LocationOfPrintRect( + rect core.NSRect, ) ( r0 core.NSPoint, ) { - ret := C.NSView_inst_convertPoint_toView( + ret := C.NSView_inst_locationOfPrintRect( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), - objc.RefPointer(view), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ConvertSize_fromView( - size core.NSSize, - view NSViewRef, -) ( - r0 core.NSSize, +func (x gen_NSView) MakeBackingLayer() ( + r0 core.CALayer, ) { - ret := C.NSView_inst_convertSize_fromView( + ret := C.NSView_inst_makeBackingLayer( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), - objc.RefPointer(view), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) + r0 = core.CALayer_fromPointer(ret) return } -func (x gen_NSView) ConvertSize_toView( - size core.NSSize, - view NSViewRef, +func (x gen_NSView) MenuForEvent( + event NSEventRef, ) ( - r0 core.NSSize, + r0 NSMenu, ) { - ret := C.NSView_inst_convertSize_toView( + ret := C.NSView_inst_menuForEvent( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), - objc.RefPointer(view), + objc.RefPointer(event), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) + r0 = NSMenu_fromPointer(ret) return } -func (x gen_NSView) ConvertRect_fromView( +func (x gen_NSView) Mouse_inRect( + point core.NSPoint, rect core.NSRect, - view NSViewRef, ) ( - r0 core.NSRect, + r0 bool, ) { - ret := C.NSView_inst_convertRect_fromView( + ret := C.NSView_inst_mouse_inRect( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&point)), *(*C.NSRect)(unsafe.Pointer(&rect)), - objc.RefPointer(view), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) ConvertRect_toView( +func (x gen_NSView) NeedsToDrawRect( rect core.NSRect, - view NSViewRef, ) ( - r0 core.NSRect, + r0 bool, ) { - ret := C.NSView_inst_convertRect_toView( + ret := C.NSView_inst_needsToDrawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), - objc.RefPointer(view), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) CenterScanRect( - rect core.NSRect, -) ( - r0 core.NSRect, -) { - ret := C.NSView_inst_centerScanRect( +func (x gen_NSView) NoteFocusRingMaskChanged() { + C.NSView_inst_noteFocusRingMaskChanged( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) TranslateOriginToPoint( - translation core.NSPoint, +func (x gen_NSView) PerformKeyEquivalent( + event NSEventRef, +) ( + r0 bool, ) { - C.NSView_inst_translateOriginToPoint( + ret := C.NSView_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&translation)), + objc.RefPointer(event), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) ScaleUnitSquareToSize( - newUnitSize core.NSSize, +func (x gen_NSView) PrepareContentInRect( + rect core.NSRect, ) { - C.NSView_inst_scaleUnitSquareToSize( + C.NSView_inst_prepareContentInRect( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&newUnitSize)), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) return } -func (x gen_NSView) RotateByAngle( - angle core.CGFloat, -) { - C.NSView_inst_rotateByAngle( +func (x gen_NSView) PrepareForReuse() { + C.NSView_inst_prepareForReuse( unsafe.Pointer(x.Pointer()), - C.double(angle), ) return } -func (x gen_NSView) ResizeSubviewsWithOldSize( - oldSize core.NSSize, +func (x gen_NSView) Print( + sender objc.Ref, ) { - C.NSView_inst_resizeSubviewsWithOldSize( + C.NSView_inst_print( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&oldSize)), + objc.RefPointer(sender), ) return } -func (x gen_NSView) ResizeWithOldSuperviewSize( - oldSize core.NSSize, +func (x gen_NSView) RectForPage( + page core.NSInteger, +) ( + r0 core.NSRect, ) { - C.NSView_inst_resizeWithOldSuperviewSize( + ret := C.NSView_inst_rectForPage( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&oldSize)), + C.long(page), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) AddConstraints( - constraints core.NSArrayRef, +func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( + location core.NSPoint, + visibleRect core.NSRect, +) ( + r0 core.NSRect, ) { - C.NSView_inst_addConstraints( + ret := C.NSView_inst_rectForSmartMagnificationAtPoint_inRect( unsafe.Pointer(x.Pointer()), - objc.RefPointer(constraints), + *(*C.NSPoint)(unsafe.Pointer(&location)), + *(*C.NSRect)(unsafe.Pointer(&visibleRect)), ) + r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) RemoveConstraints( - constraints core.NSArrayRef, +func (x gen_NSView) RegisterForDraggedTypes( + newTypes core.NSArrayRef, ) { - C.NSView_inst_removeConstraints( + C.NSView_inst_registerForDraggedTypes( unsafe.Pointer(x.Pointer()), - objc.RefPointer(constraints), + objc.RefPointer(newTypes), ) return } -func (x gen_NSView) InvalidateIntrinsicContentSize() { - C.NSView_inst_invalidateIntrinsicContentSize( +func (x gen_NSView) RemoveAllToolTips() { + C.NSView_inst_removeAllToolTips( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) AlignmentRectForFrame( - frame core.NSRect, -) ( - r0 core.NSRect, +func (x gen_NSView) RemoveConstraints( + constraints core.NSArrayRef, ) { - ret := C.NSView_inst_alignmentRectForFrame( + C.NSView_inst_removeConstraints( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frame)), + objc.RefPointer(constraints), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) FrameForAlignmentRect( - alignmentRect core.NSRect, -) ( - r0 core.NSRect, -) { - ret := C.NSView_inst_frameForAlignmentRect( +func (x gen_NSView) RemoveFromSuperview() { + C.NSView_inst_removeFromSuperview( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&alignmentRect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) Layout() { - C.NSView_inst_layout( +func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { + C.NSView_inst_removeFromSuperviewWithoutNeedingDisplay( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) LayoutSubtreeIfNeeded() { - C.NSView_inst_layoutSubtreeIfNeeded( +func (x gen_NSView) ReplaceSubview_with( + oldView NSViewRef, + newView NSViewRef, +) { + C.NSView_inst_replaceSubview_with( unsafe.Pointer(x.Pointer()), + objc.RefPointer(oldView), + objc.RefPointer(newView), ) return } -func (x gen_NSView) UpdateConstraints() { - C.NSView_inst_updateConstraints( +func (x gen_NSView) ResetCursorRects() { + C.NSView_inst_resetCursorRects( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { - C.NSView_inst_updateConstraintsForSubtreeIfNeeded( +func (x gen_NSView) ResizeSubviewsWithOldSize( + oldSize core.NSSize, +) { + C.NSView_inst_resizeSubviewsWithOldSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) return } -func (x gen_NSView) ExerciseAmbiguityInLayout() { - C.NSView_inst_exerciseAmbiguityInLayout( +func (x gen_NSView) ResizeWithOldSuperviewSize( + oldSize core.NSSize, +) { + C.NSView_inst_resizeWithOldSuperviewSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) return } -func (x gen_NSView) DrawFocusRingMask() { - C.NSView_inst_drawFocusRingMask( +func (x gen_NSView) RotateByAngle( + angle core.CGFloat, +) { + C.NSView_inst_rotateByAngle( unsafe.Pointer(x.Pointer()), + C.double(angle), ) return } -func (x gen_NSView) NoteFocusRingMaskChanged() { - C.NSView_inst_noteFocusRingMaskChanged( +func (x gen_NSView) ScaleUnitSquareToSize( + newUnitSize core.NSSize, +) { + C.NSView_inst_scaleUnitSquareToSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&newUnitSize)), ) return } -func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( - rect core.NSRect, +func (x gen_NSView) ScrollPoint( + point core.NSPoint, ) { - C.NSView_inst_setKeyboardFocusRingNeedsDisplayInRect( + C.NSView_inst_scrollPoint( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSPoint)(unsafe.Pointer(&point)), ) return } -func (x gen_NSView) EnterFullScreenMode_withOptions( - screen NSScreenRef, - options core.NSDictionaryRef, +func (x gen_NSView) ScrollRectToVisible( + rect core.NSRect, ) ( r0 bool, ) { - ret := C.NSView_inst_enterFullScreenMode_withOptions( + ret := C.NSView_inst_scrollRectToVisible( unsafe.Pointer(x.Pointer()), - objc.RefPointer(screen), - objc.RefPointer(options), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) ExitFullScreenModeWithOptions( - options core.NSDictionaryRef, +func (x gen_NSView) SetBoundsOrigin( + newOrigin core.NSPoint, ) { - C.NSView_inst_exitFullScreenModeWithOptions( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(options), - ) - return -} - -func (x gen_NSView) ViewDidHide() { - C.NSView_inst_viewDidHide( + C.NSView_inst_setBoundsOrigin( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) return } -func (x gen_NSView) ViewDidUnhide() { - C.NSView_inst_viewDidUnhide( +func (x gen_NSView) SetBoundsSize( + newSize core.NSSize, +) { + C.NSView_inst_setBoundsSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&newSize)), ) return } -func (x gen_NSView) ViewWillStartLiveResize() { - C.NSView_inst_viewWillStartLiveResize( +func (x gen_NSView) SetFrameOrigin( + newOrigin core.NSPoint, +) { + C.NSView_inst_setFrameOrigin( unsafe.Pointer(x.Pointer()), + *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) return } -func (x gen_NSView) ViewDidEndLiveResize() { - C.NSView_inst_viewDidEndLiveResize( +func (x gen_NSView) SetFrameSize( + newSize core.NSSize, +) { + C.NSView_inst_setFrameSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&newSize)), ) return } -func (x gen_NSView) AcceptsFirstMouse( - event NSEventRef, -) ( - r0 bool, +func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( + rect core.NSRect, ) { - ret := C.NSView_inst_acceptsFirstMouse( + C.NSView_inst_setKeyboardFocusRingNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) HitTest( - point core.NSPoint, -) ( - r0 NSView, +func (x gen_NSView) SetNeedsDisplayInRect( + invalidRect core.NSRect, ) { - ret := C.NSView_inst_hitTest( + C.NSView_inst_setNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + *(*C.NSRect)(unsafe.Pointer(&invalidRect)), ) - r0 = NSView_fromPointer(ret) return } -func (x gen_NSView) Mouse_inRect( - point core.NSPoint, - rect core.NSRect, +func (x gen_NSView) ShouldDelayWindowOrderingForEvent( + event NSEventRef, ) ( r0 bool, ) { - ret := C.NSView_inst_mouse_inRect( + ret := C.NSView_inst_shouldDelayWindowOrderingForEvent( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), - *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(event), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) PerformKeyEquivalent( - event NSEventRef, -) ( - r0 bool, +func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( + attrString core.NSAttributedStringRef, + textBaselineOrigin core.NSPoint, ) { - ret := C.NSView_inst_performKeyEquivalent( + C.NSView_inst_showDefinitionForAttributedString_atPoint( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + objc.RefPointer(attrString), + *(*C.NSPoint)(unsafe.Pointer(&textBaselineOrigin)), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) PrepareContentInRect( - rect core.NSRect, +func (x gen_NSView) TranslateOriginToPoint( + translation core.NSPoint, ) { - C.NSView_inst_prepareContentInRect( + C.NSView_inst_translateOriginToPoint( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), + *(*C.NSPoint)(unsafe.Pointer(&translation)), ) return } -func (x gen_NSView) ScrollPoint( - point core.NSPoint, +func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( + clipRect core.NSRect, + delta core.NSSize, ) { - C.NSView_inst_scrollPoint( + C.NSView_inst_translateRectsNeedingDisplayInRect_by( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&point)), + *(*C.NSRect)(unsafe.Pointer(&clipRect)), + *(*C.NSSize)(unsafe.Pointer(&delta)), ) return } -func (x gen_NSView) ScrollRectToVisible( - rect core.NSRect, -) ( - r0 bool, -) { - ret := C.NSView_inst_scrollRectToVisible( +func (x gen_NSView) UnregisterDraggedTypes() { + C.NSView_inst_unregisterDraggedTypes( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) Autoscroll( - event NSEventRef, -) ( - r0 bool, -) { - ret := C.NSView_inst_autoscroll( +func (x gen_NSView) UpdateConstraints() { + C.NSView_inst_updateConstraints( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) AdjustScroll( - newVisible core.NSRect, -) ( - r0 core.NSRect, -) { - ret := C.NSView_inst_adjustScroll( +func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { + C.NSView_inst_updateConstraintsForSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&newVisible)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) RegisterForDraggedTypes( - newTypes core.NSArrayRef, -) { - C.NSView_inst_registerForDraggedTypes( +func (x gen_NSView) UpdateLayer() { + C.NSView_inst_updateLayer( unsafe.Pointer(x.Pointer()), - objc.RefPointer(newTypes), ) return } -func (x gen_NSView) UnregisterDraggedTypes() { - C.NSView_inst_unregisterDraggedTypes( +func (x gen_NSView) UpdateTrackingAreas() { + C.NSView_inst_updateTrackingAreas( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) ShouldDelayWindowOrderingForEvent( - event NSEventRef, -) ( - r0 bool, -) { - ret := C.NSView_inst_shouldDelayWindowOrderingForEvent( +func (x gen_NSView) ViewDidChangeBackingProperties() { + C.NSView_inst_viewDidChangeBackingProperties( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( - location core.NSPoint, - visibleRect core.NSRect, -) ( - r0 core.NSRect, -) { - ret := C.NSView_inst_rectForSmartMagnificationAtPoint_inRect( +func (x gen_NSView) ViewDidChangeEffectiveAppearance() { + C.NSView_inst_viewDidChangeEffectiveAppearance( unsafe.Pointer(x.Pointer()), - *(*C.NSPoint)(unsafe.Pointer(&location)), - *(*C.NSRect)(unsafe.Pointer(&visibleRect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_NSView) ViewDidChangeBackingProperties() { - C.NSView_inst_viewDidChangeBackingProperties( +func (x gen_NSView) ViewDidEndLiveResize() { + C.NSView_inst_viewDidEndLiveResize( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) ViewWithTag( - tag core.NSInteger, -) ( - r0 NSView, -) { - ret := C.NSView_inst_viewWithTag( +func (x gen_NSView) ViewDidHide() { + C.NSView_inst_viewDidHide( unsafe.Pointer(x.Pointer()), - C.long(tag), ) - r0 = NSView_fromPointer(ret) return } -func (x gen_NSView) RemoveAllToolTips() { - C.NSView_inst_removeAllToolTips( +func (x gen_NSView) ViewDidMoveToSuperview() { + C.NSView_inst_viewDidMoveToSuperview( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) UpdateTrackingAreas() { - C.NSView_inst_updateTrackingAreas( +func (x gen_NSView) ViewDidMoveToWindow() { + C.NSView_inst_viewDidMoveToWindow( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) DiscardCursorRects() { - C.NSView_inst_discardCursorRects( +func (x gen_NSView) ViewDidUnhide() { + C.NSView_inst_viewDidUnhide( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) ResetCursorRects() { - C.NSView_inst_resetCursorRects( +func (x gen_NSView) ViewWillDraw() { + C.NSView_inst_viewWillDraw( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_NSView) MenuForEvent( - event NSEventRef, -) ( - r0 NSMenu, +func (x gen_NSView) ViewWillMoveToSuperview( + newSuperview NSViewRef, ) { - ret := C.NSView_inst_menuForEvent( + C.NSView_inst_viewWillMoveToSuperview( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + objc.RefPointer(newSuperview), ) - r0 = NSMenu_fromPointer(ret) return } -func (x gen_NSView) WillOpenMenu_withEvent( - menu NSMenuRef, - event NSEventRef, +func (x gen_NSView) ViewWillMoveToWindow( + newWindow NSWindowRef, ) { - C.NSView_inst_willOpenMenu_withEvent( + C.NSView_inst_viewWillMoveToWindow( unsafe.Pointer(x.Pointer()), - objc.RefPointer(menu), - objc.RefPointer(event), + objc.RefPointer(newWindow), ) return } -func (x gen_NSView) DidCloseMenu_withEvent( - menu NSMenuRef, - event NSEventRef, -) { - C.NSView_inst_didCloseMenu_withEvent( +func (x gen_NSView) ViewWillStartLiveResize() { + C.NSView_inst_viewWillStartLiveResize( unsafe.Pointer(x.Pointer()), - objc.RefPointer(menu), - objc.RefPointer(event), ) return } -func (x gen_NSView) BeginDocument() { - C.NSView_inst_beginDocument( +func (x gen_NSView) ViewWithTag( + tag core.NSInteger, +) ( + r0 NSView, +) { + ret := C.NSView_inst_viewWithTag( unsafe.Pointer(x.Pointer()), + C.long(tag), ) + r0 = NSView_fromPointer(ret) return } -func (x gen_NSView) EndDocument() { - C.NSView_inst_endDocument( +func (x gen_NSView) WillOpenMenu_withEvent( + menu NSMenuRef, + event NSEventRef, +) { + C.NSView_inst_willOpenMenu_withEvent( unsafe.Pointer(x.Pointer()), + objc.RefPointer(menu), + objc.RefPointer(event), ) return } -func (x gen_NSView) EndPage() { - C.NSView_inst_endPage( +func (x gen_NSView) WillRemoveSubview( + subview NSViewRef, +) { + C.NSView_inst_willRemoveSubview( unsafe.Pointer(x.Pointer()), + objc.RefPointer(subview), ) return } -func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( - attrString core.NSAttributedStringRef, - textBaselineOrigin core.NSPoint, +func (x gen_NSView) WriteEPSInsideRect_toPasteboard( + rect core.NSRect, + pasteboard NSPasteboardRef, ) { - C.NSView_inst_showDefinitionForAttributedString_atPoint( + C.NSView_inst_writeEPSInsideRect_toPasteboard( unsafe.Pointer(x.Pointer()), - objc.RefPointer(attrString), - *(*C.NSPoint)(unsafe.Pointer(&textBaselineOrigin)), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(pasteboard), ) return } -func (x gen_NSView) ViewDidChangeEffectiveAppearance() { - C.NSView_inst_viewDidChangeEffectiveAppearance( +func (x gen_NSView) WritePDFInsideRect_toPasteboard( + rect core.NSRect, + pasteboard NSPasteboardRef, +) { + C.NSView_inst_writePDFInsideRect_toPasteboard( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(pasteboard), ) return } diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index 6b197620..f1c413df 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -304,24 +304,36 @@ void* NSUserDefaults_type_standardUserDefaults() { } -void* CALayer_inst_init(void *id) { +void* CALayer_inst_actionForKey(void *id, void* event) { return [(CALayer*)id - init]; + actionForKey: event]; } -void* CALayer_inst_initWithLayer(void *id, void* layer) { +void CALayer_inst_addSublayer(void *id, void* layer) { + [(CALayer*)id + addSublayer: layer]; +} + +void* CALayer_inst_animationKeys(void *id) { return [(CALayer*)id - initWithLayer: layer]; + animationKeys]; } -void* CALayer_inst_presentationLayer(void *id) { +BOOL CALayer_inst_contentsAreFlipped(void *id) { return [(CALayer*)id - presentationLayer]; + contentsAreFlipped]; } -void* CALayer_inst_modelLayer(void *id) { +NSRect CALayer_inst_convertRect_fromLayer(void *id, NSRect r, void* l) { return [(CALayer*)id - modelLayer]; + convertRect: r + fromLayer: l]; +} + +NSRect CALayer_inst_convertRect_toLayer(void *id, NSRect r, void* l) { + return [(CALayer*)id + convertRect: r + toLayer: l]; } void CALayer_inst_display(void *id) { @@ -329,19 +341,25 @@ void CALayer_inst_display(void *id) { display]; } -BOOL CALayer_inst_contentsAreFlipped(void *id) { +void CALayer_inst_displayIfNeeded(void *id) { + [(CALayer*)id + displayIfNeeded]; +} + +void* CALayer_inst_init(void *id) { return [(CALayer*)id - contentsAreFlipped]; + init]; } -void CALayer_inst_addSublayer(void *id, void* layer) { - [(CALayer*)id - addSublayer: layer]; +void* CALayer_inst_initWithLayer(void *id, void* layer) { + return [(CALayer*)id + initWithLayer: layer]; } -void CALayer_inst_removeFromSuperlayer(void *id) { +void CALayer_inst_insertSublayer_above(void *id, void* layer, void* sibling) { [(CALayer*)id - removeFromSuperlayer]; + insertSublayer: layer + above: sibling]; } void CALayer_inst_insertSublayer_atIndex(void *id, void* layer, int idx) { @@ -356,36 +374,39 @@ void CALayer_inst_insertSublayer_below(void *id, void* layer, void* sibling) { below: sibling]; } -void CALayer_inst_insertSublayer_above(void *id, void* layer, void* sibling) { +void CALayer_inst_layoutIfNeeded(void *id) { [(CALayer*)id - insertSublayer: layer - above: sibling]; + layoutIfNeeded]; } -void CALayer_inst_replaceSublayer_with(void *id, void* oldLayer, void* newLayer) { +void CALayer_inst_layoutSublayers(void *id) { [(CALayer*)id - replaceSublayer: oldLayer - with: newLayer]; + layoutSublayers]; } -void CALayer_inst_setNeedsDisplay(void *id) { - [(CALayer*)id - setNeedsDisplay]; +void* CALayer_inst_modelLayer(void *id) { + return [(CALayer*)id + modelLayer]; } -void CALayer_inst_setNeedsDisplayInRect(void *id, NSRect r) { - [(CALayer*)id - setNeedsDisplayInRect: r]; +BOOL CALayer_inst_needsDisplay(void *id) { + return [(CALayer*)id + needsDisplay]; } -void CALayer_inst_displayIfNeeded(void *id) { - [(CALayer*)id - displayIfNeeded]; +BOOL CALayer_inst_needsLayout(void *id) { + return [(CALayer*)id + needsLayout]; } -BOOL CALayer_inst_needsDisplay(void *id) { +NSSize CALayer_inst_preferredFrameSize(void *id) { return [(CALayer*)id - needsDisplay]; + preferredFrameSize]; +} + +void* CALayer_inst_presentationLayer(void *id) { + return [(CALayer*)id + presentationLayer]; } void CALayer_inst_removeAllAnimations(void *id) { @@ -398,29 +419,20 @@ void CALayer_inst_removeAnimationForKey(void *id, void* key) { removeAnimationForKey: key]; } -void* CALayer_inst_animationKeys(void *id) { - return [(CALayer*)id - animationKeys]; -} - -void CALayer_inst_setNeedsLayout(void *id) { +void CALayer_inst_removeFromSuperlayer(void *id) { [(CALayer*)id - setNeedsLayout]; + removeFromSuperlayer]; } -void CALayer_inst_layoutSublayers(void *id) { +void CALayer_inst_replaceSublayer_with(void *id, void* oldLayer, void* newLayer) { [(CALayer*)id - layoutSublayers]; + replaceSublayer: oldLayer + with: newLayer]; } -void CALayer_inst_layoutIfNeeded(void *id) { +void CALayer_inst_resizeSublayersWithOldSize(void *id, NSSize size) { [(CALayer*)id - layoutIfNeeded]; -} - -BOOL CALayer_inst_needsLayout(void *id) { - return [(CALayer*)id - needsLayout]; + resizeSublayersWithOldSize: size]; } void CALayer_inst_resizeWithOldSuperlayerSize(void *id, NSSize size) { @@ -428,36 +440,24 @@ void CALayer_inst_resizeWithOldSuperlayerSize(void *id, NSSize size) { resizeWithOldSuperlayerSize: size]; } -void CALayer_inst_resizeSublayersWithOldSize(void *id, NSSize size) { +void CALayer_inst_scrollRectToVisible(void *id, NSRect r) { [(CALayer*)id - resizeSublayersWithOldSize: size]; -} - -NSSize CALayer_inst_preferredFrameSize(void *id) { - return [(CALayer*)id - preferredFrameSize]; -} - -void* CALayer_inst_actionForKey(void *id, void* event) { - return [(CALayer*)id - actionForKey: event]; + scrollRectToVisible: r]; } -NSRect CALayer_inst_convertRect_fromLayer(void *id, NSRect r, void* l) { - return [(CALayer*)id - convertRect: r - fromLayer: l]; +void CALayer_inst_setNeedsDisplay(void *id) { + [(CALayer*)id + setNeedsDisplay]; } -NSRect CALayer_inst_convertRect_toLayer(void *id, NSRect r, void* l) { - return [(CALayer*)id - convertRect: r - toLayer: l]; +void CALayer_inst_setNeedsDisplayInRect(void *id, NSRect r) { + [(CALayer*)id + setNeedsDisplayInRect: r]; } -void CALayer_inst_scrollRectToVisible(void *id, NSRect r) { +void CALayer_inst_setNeedsLayout(void *id) { [(CALayer*)id - scrollRectToVisible: r]; + setNeedsLayout]; } BOOL CALayer_inst_shouldArchiveValueForKey(void *id, void* key) { @@ -815,6 +815,27 @@ void CALayer_inst_setName(void *id, void* value) { setName: value]; } +void* NSArray_inst_arrayByAddingObjectsFromArray(void *id, void* otherArray) { + return [(NSArray*)id + arrayByAddingObjectsFromArray: otherArray]; +} + +void* NSArray_inst_componentsJoinedByString(void *id, void* separator) { + return [(NSArray*)id + componentsJoinedByString: separator]; +} + +void* NSArray_inst_descriptionWithLocale(void *id, void* locale) { + return [(NSArray*)id + descriptionWithLocale: locale]; +} + +void* NSArray_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { + return [(NSArray*)id + descriptionWithLocale: locale + indent: level]; +} + void* NSArray_inst_init(void *id) { return [(NSArray*)id init]; @@ -831,6 +852,11 @@ void* NSArray_inst_initWithArray_copyItems(void *id, void* array, BOOL flag) { copyItems: flag]; } +BOOL NSArray_inst_isEqualToArray(void *id, void* otherArray) { + return [(NSArray*)id + isEqualToArray: otherArray]; +} + void NSArray_inst_makeObjectsPerformSelector(void *id, void* aSelector) { [(NSArray*)id makeObjectsPerformSelector: aSelector]; @@ -842,14 +868,20 @@ void NSArray_inst_makeObjectsPerformSelector_withObject(void *id, void* aSelecto withObject: argument]; } -BOOL NSArray_inst_isEqualToArray(void *id, void* otherArray) { +void* NSArray_inst_pathsMatchingExtensions(void *id, void* filterTypes) { return [(NSArray*)id - isEqualToArray: otherArray]; + pathsMatchingExtensions: filterTypes]; } -void* NSArray_inst_arrayByAddingObjectsFromArray(void *id, void* otherArray) { +void NSArray_inst_setValue_forKey(void *id, void* value, void* key) { + [(NSArray*)id + setValue: value + forKey: key]; +} + +void* NSArray_inst_shuffledArray(void *id) { return [(NSArray*)id - arrayByAddingObjectsFromArray: otherArray]; + shuffledArray]; } void* NSArray_inst_sortedArrayUsingDescriptors(void *id, void* sortDescriptors) { @@ -862,43 +894,11 @@ void* NSArray_inst_sortedArrayUsingSelector(void *id, void* comparator) { sortedArrayUsingSelector: comparator]; } -void* NSArray_inst_componentsJoinedByString(void *id, void* separator) { - return [(NSArray*)id - componentsJoinedByString: separator]; -} - -void* NSArray_inst_descriptionWithLocale(void *id, void* locale) { - return [(NSArray*)id - descriptionWithLocale: locale]; -} - -void* NSArray_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { - return [(NSArray*)id - descriptionWithLocale: locale - indent: level]; -} - -void* NSArray_inst_pathsMatchingExtensions(void *id, void* filterTypes) { - return [(NSArray*)id - pathsMatchingExtensions: filterTypes]; -} - -void NSArray_inst_setValue_forKey(void *id, void* value, void* key) { - [(NSArray*)id - setValue: value - forKey: key]; -} - void* NSArray_inst_valueForKey(void *id, void* key) { return [(NSArray*)id valueForKey: key]; } -void* NSArray_inst_shuffledArray(void *id) { - return [(NSArray*)id - shuffledArray]; -} - unsigned long NSArray_inst_count(void *id) { return [(NSArray*)id count]; @@ -914,15 +914,14 @@ void* NSArray_inst_description(void *id) { description]; } -void* NSAttributedString_inst_initWithString(void *id, void* str) { +void* NSAttributedString_inst_attributedStringByInflectingString(void *id) { return [(NSAttributedString*)id - initWithString: str]; + attributedStringByInflectingString]; } -void* NSAttributedString_inst_initWithString_attributes(void *id, void* str, void* attrs) { - return [(NSAttributedString*)id - initWithString: str - attributes: attrs]; +void NSAttributedString_inst_drawInRect(void *id, NSRect rect) { + [(NSAttributedString*)id + drawInRect: rect]; } void* NSAttributedString_inst_initWithAttributedString(void *id, void* attrStr) { @@ -936,16 +935,16 @@ void* NSAttributedString_inst_initWithDocFormat_documentAttributes(void *id, voi documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_documentAttributes(void *id, void* data, void* dict) { +void* NSAttributedString_inst_initWithHTML_baseURL_documentAttributes(void *id, void* data, void* base, void* dict) { return [(NSAttributedString*)id initWithHTML: data + baseURL: base documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_baseURL_documentAttributes(void *id, void* data, void* base, void* dict) { +void* NSAttributedString_inst_initWithHTML_documentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithHTML: data - baseURL: base documentAttributes: dict]; } @@ -968,25 +967,26 @@ void* NSAttributedString_inst_initWithRTFD_documentAttributes(void *id, void* da documentAttributes: dict]; } -BOOL NSAttributedString_inst_isEqualToAttributedString(void *id, void* other) { +void* NSAttributedString_inst_initWithString(void *id, void* str) { return [(NSAttributedString*)id - isEqualToAttributedString: other]; + initWithString: str]; } -unsigned long NSAttributedString_inst_nextWordFromIndex_forward(void *id, unsigned long location, BOOL isForward) { +void* NSAttributedString_inst_initWithString_attributes(void *id, void* str, void* attrs) { return [(NSAttributedString*)id - nextWordFromIndex: location - forward: isForward]; + initWithString: str + attributes: attrs]; } -void* NSAttributedString_inst_attributedStringByInflectingString(void *id) { +BOOL NSAttributedString_inst_isEqualToAttributedString(void *id, void* other) { return [(NSAttributedString*)id - attributedStringByInflectingString]; + isEqualToAttributedString: other]; } -void NSAttributedString_inst_drawInRect(void *id, NSRect rect) { - [(NSAttributedString*)id - drawInRect: rect]; +unsigned long NSAttributedString_inst_nextWordFromIndex_forward(void *id, unsigned long location, BOOL isForward) { + return [(NSAttributedString*)id + nextWordFromIndex: location + forward: isForward]; } NSSize NSAttributedString_inst_size(void *id) { @@ -1009,6 +1009,12 @@ unsigned long NSAttributedString_inst_length(void *id) { length]; } +void NSData_inst_getBytes_length(void *id, void* buffer, unsigned long length) { + [(NSData*)id + getBytes: buffer + length: length]; +} + void* NSData_inst_initWithBytes_length(void *id, void* bytes, unsigned long length) { return [(NSData*)id initWithBytes: bytes @@ -1028,11 +1034,6 @@ void* NSData_inst_initWithBytesNoCopy_length_freeWhenDone(void *id, void* bytes, freeWhenDone: b]; } -void* NSData_inst_initWithData(void *id, void* data) { - return [(NSData*)id - initWithData: data]; -} - void* NSData_inst_initWithContentsOfFile(void *id, void* path) { return [(NSData*)id initWithContentsOfFile: path]; @@ -1043,6 +1044,16 @@ void* NSData_inst_initWithContentsOfURL(void *id, void* url) { initWithContentsOfURL: url]; } +void* NSData_inst_initWithData(void *id, void* data) { + return [(NSData*)id + initWithData: data]; +} + +BOOL NSData_inst_isEqualToData(void *id, void* other) { + return [(NSData*)id + isEqualToData: other]; +} + BOOL NSData_inst_writeToFile_atomically(void *id, void* path, BOOL useAuxiliaryFile) { return [(NSData*)id writeToFile: path @@ -1055,17 +1066,6 @@ BOOL NSData_inst_writeToURL_atomically(void *id, void* url, BOOL atomically) { atomically: atomically]; } -void NSData_inst_getBytes_length(void *id, void* buffer, unsigned long length) { - [(NSData*)id - getBytes: buffer - length: length]; -} - -BOOL NSData_inst_isEqualToData(void *id, void* other) { - return [(NSData*)id - isEqualToData: other]; -} - void* NSData_inst_init(void *id) { return [(NSData*)id init]; @@ -1086,46 +1086,40 @@ void* NSData_inst_description(void *id) { description]; } -void* NSDictionary_inst_init(void *id) { - return [(NSDictionary*)id - init]; -} - -void* NSDictionary_inst_initWithObjects_forKeys(void *id, void* objects, void* keys) { +void* NSDictionary_inst_descriptionWithLocale(void *id, void* locale) { return [(NSDictionary*)id - initWithObjects: objects - forKeys: keys]; + descriptionWithLocale: locale]; } -void* NSDictionary_inst_initWithDictionary(void *id, void* otherDictionary) { +void* NSDictionary_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { return [(NSDictionary*)id - initWithDictionary: otherDictionary]; + descriptionWithLocale: locale + indent: level]; } -void* NSDictionary_inst_initWithDictionary_copyItems(void *id, void* otherDictionary, BOOL flag) { +BOOL NSDictionary_inst_fileExtensionHidden(void *id) { return [(NSDictionary*)id - initWithDictionary: otherDictionary - copyItems: flag]; + fileExtensionHidden]; } -BOOL NSDictionary_inst_isEqualToDictionary(void *id, void* otherDictionary) { +void* NSDictionary_inst_fileGroupOwnerAccountID(void *id) { return [(NSDictionary*)id - isEqualToDictionary: otherDictionary]; + fileGroupOwnerAccountID]; } -void* NSDictionary_inst_keysSortedByValueUsingSelector(void *id, void* comparator) { +void* NSDictionary_inst_fileGroupOwnerAccountName(void *id) { return [(NSDictionary*)id - keysSortedByValueUsingSelector: comparator]; + fileGroupOwnerAccountName]; } -void* NSDictionary_inst_fileType(void *id) { +BOOL NSDictionary_inst_fileIsAppendOnly(void *id) { return [(NSDictionary*)id - fileType]; + fileIsAppendOnly]; } -unsigned long NSDictionary_inst_filePosixPermissions(void *id) { +BOOL NSDictionary_inst_fileIsImmutable(void *id) { return [(NSDictionary*)id - filePosixPermissions]; + fileIsImmutable]; } void* NSDictionary_inst_fileOwnerAccountID(void *id) { @@ -1138,50 +1132,56 @@ void* NSDictionary_inst_fileOwnerAccountName(void *id) { fileOwnerAccountName]; } -void* NSDictionary_inst_fileGroupOwnerAccountID(void *id) { +unsigned long NSDictionary_inst_filePosixPermissions(void *id) { return [(NSDictionary*)id - fileGroupOwnerAccountID]; + filePosixPermissions]; } -void* NSDictionary_inst_fileGroupOwnerAccountName(void *id) { +unsigned long NSDictionary_inst_fileSystemFileNumber(void *id) { return [(NSDictionary*)id - fileGroupOwnerAccountName]; + fileSystemFileNumber]; } -BOOL NSDictionary_inst_fileExtensionHidden(void *id) { +long NSDictionary_inst_fileSystemNumber(void *id) { return [(NSDictionary*)id - fileExtensionHidden]; + fileSystemNumber]; } -BOOL NSDictionary_inst_fileIsImmutable(void *id) { +void* NSDictionary_inst_fileType(void *id) { return [(NSDictionary*)id - fileIsImmutable]; + fileType]; } -BOOL NSDictionary_inst_fileIsAppendOnly(void *id) { +void* NSDictionary_inst_init(void *id) { return [(NSDictionary*)id - fileIsAppendOnly]; + init]; } -unsigned long NSDictionary_inst_fileSystemFileNumber(void *id) { +void* NSDictionary_inst_initWithDictionary(void *id, void* otherDictionary) { return [(NSDictionary*)id - fileSystemFileNumber]; + initWithDictionary: otherDictionary]; } -long NSDictionary_inst_fileSystemNumber(void *id) { +void* NSDictionary_inst_initWithDictionary_copyItems(void *id, void* otherDictionary, BOOL flag) { return [(NSDictionary*)id - fileSystemNumber]; + initWithDictionary: otherDictionary + copyItems: flag]; } -void* NSDictionary_inst_descriptionWithLocale(void *id, void* locale) { +void* NSDictionary_inst_initWithObjects_forKeys(void *id, void* objects, void* keys) { return [(NSDictionary*)id - descriptionWithLocale: locale]; + initWithObjects: objects + forKeys: keys]; } -void* NSDictionary_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { +BOOL NSDictionary_inst_isEqualToDictionary(void *id, void* otherDictionary) { return [(NSDictionary*)id - descriptionWithLocale: locale - indent: level]; + isEqualToDictionary: otherDictionary]; +} + +void* NSDictionary_inst_keysSortedByValueUsingSelector(void *id, void* comparator) { + return [(NSDictionary*)id + keysSortedByValueUsingSelector: comparator]; } unsigned long NSDictionary_inst_count(void *id) { @@ -1209,6 +1209,11 @@ void* NSDictionary_inst_descriptionInStringsFileFormat(void *id) { descriptionInStringsFileFormat]; } +void* NSNumber_inst_descriptionWithLocale(void *id, void* locale) { + return [(NSNumber*)id + descriptionWithLocale: locale]; +} + void* NSNumber_inst_initWithBool(void *id, BOOL value) { return [(NSNumber*)id initWithBool: value]; @@ -1234,11 +1239,6 @@ void* NSNumber_inst_initWithUnsignedInteger(void *id, unsigned long value) { initWithUnsignedInteger: value]; } -void* NSNumber_inst_descriptionWithLocale(void *id, void* locale) { - return [(NSNumber*)id - descriptionWithLocale: locale]; -} - BOOL NSNumber_inst_isEqualToNumber(void *id, void* number) { return [(NSNumber*)id isEqualToNumber: number]; @@ -1279,9 +1279,16 @@ void* NSNumber_inst_stringValue(void *id) { stringValue]; } -void NSRunLoop_inst_run(void *id) { +void NSRunLoop_inst_cancelPerformSelector_target_argument(void *id, void* aSelector, void* target, void* arg) { [(NSRunLoop*)id - run]; + cancelPerformSelector: aSelector + target: target + argument: arg]; +} + +void NSRunLoop_inst_cancelPerformSelectorsWithTarget(void *id, void* target) { + [(NSRunLoop*)id + cancelPerformSelectorsWithTarget: target]; } void NSRunLoop_inst_performSelector_target_argument_order_modes(void *id, void* aSelector, void* target, void* arg, unsigned long order, void* modes) { @@ -1293,16 +1300,9 @@ void NSRunLoop_inst_performSelector_target_argument_order_modes(void *id, void* modes: modes]; } -void NSRunLoop_inst_cancelPerformSelector_target_argument(void *id, void* aSelector, void* target, void* arg) { - [(NSRunLoop*)id - cancelPerformSelector: aSelector - target: target - argument: arg]; -} - -void NSRunLoop_inst_cancelPerformSelectorsWithTarget(void *id, void* target) { +void NSRunLoop_inst_run(void *id) { [(NSRunLoop*)id - cancelPerformSelectorsWithTarget: target]; + run]; } void* NSRunLoop_inst_init(void *id) { @@ -1310,50 +1310,49 @@ void* NSRunLoop_inst_init(void *id) { init]; } -void* NSString_inst_init(void *id) { +BOOL NSString_inst_canBeConvertedToEncoding(void *id, unsigned long encoding) { return [(NSString*)id - init]; + canBeConvertedToEncoding: encoding]; } -void* NSString_inst_initWithBytes_length_encoding(void *id, void* bytes, unsigned long len, unsigned long encoding) { +unsigned short NSString_inst_characterAtIndex(void *id, unsigned long index) { return [(NSString*)id - initWithBytes: bytes - length: len - encoding: encoding]; + characterAtIndex: index]; } -void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone(void *id, void* bytes, unsigned long len, unsigned long encoding, BOOL freeBuffer) { +unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes(void *id, void* outputName, BOOL flag, void* outputArray, void* filterTypes) { return [(NSString*)id - initWithBytesNoCopy: bytes - length: len - encoding: encoding - freeWhenDone: freeBuffer]; + completePathIntoString: outputName + caseSensitive: flag + matchesIntoArray: outputArray + filterTypes: filterTypes]; } -void* NSString_inst_initWithString(void *id, void* aString) { +void* NSString_inst_componentsSeparatedByString(void *id, void* separator) { return [(NSString*)id - initWithString: aString]; + componentsSeparatedByString: separator]; } -void* NSString_inst_initWithData_encoding(void *id, void* data, unsigned long encoding) { +BOOL NSString_inst_containsString(void *id, void* str) { return [(NSString*)id - initWithData: data - encoding: encoding]; + containsString: str]; } -unsigned long NSString_inst_lengthOfBytesUsingEncoding(void *id, unsigned long enc) { +void* NSString_inst_dataUsingEncoding(void *id, unsigned long encoding) { return [(NSString*)id - lengthOfBytesUsingEncoding: enc]; + dataUsingEncoding: encoding]; } -unsigned long NSString_inst_maximumLengthOfBytesUsingEncoding(void *id, unsigned long enc) { +void* NSString_inst_dataUsingEncoding_allowLossyConversion(void *id, unsigned long encoding, BOOL lossy) { return [(NSString*)id - maximumLengthOfBytesUsingEncoding: enc]; + dataUsingEncoding: encoding + allowLossyConversion: lossy]; } -unsigned short NSString_inst_characterAtIndex(void *id, unsigned long index) { - return [(NSString*)id - characterAtIndex: index]; +void NSString_inst_drawInRect_withAttributes(void *id, NSRect rect, void* attrs) { + [(NSString*)id + drawInRect: rect + withAttributes: attrs]; } BOOL NSString_inst_hasPrefix(void *id, void* str) { @@ -1366,41 +1365,45 @@ BOOL NSString_inst_hasSuffix(void *id, void* str) { hasSuffix: str]; } -BOOL NSString_inst_isEqualToString(void *id, void* aString) { +void* NSString_inst_init(void *id) { return [(NSString*)id - isEqualToString: aString]; + init]; } -void* NSString_inst_stringByAppendingString(void *id, void* aString) { +void* NSString_inst_initWithBytes_length_encoding(void *id, void* bytes, unsigned long len, unsigned long encoding) { return [(NSString*)id - stringByAppendingString: aString]; + initWithBytes: bytes + length: len + encoding: encoding]; } -void* NSString_inst_stringByPaddingToLength_withString_startingAtIndex(void *id, unsigned long newLength, void* padString, unsigned long padIndex) { +void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone(void *id, void* bytes, unsigned long len, unsigned long encoding, BOOL freeBuffer) { return [(NSString*)id - stringByPaddingToLength: newLength - withString: padString - startingAtIndex: padIndex]; + initWithBytesNoCopy: bytes + length: len + encoding: encoding + freeWhenDone: freeBuffer]; } -void* NSString_inst_componentsSeparatedByString(void *id, void* separator) { +void* NSString_inst_initWithData_encoding(void *id, void* data, unsigned long encoding) { return [(NSString*)id - componentsSeparatedByString: separator]; + initWithData: data + encoding: encoding]; } -void* NSString_inst_substringFromIndex(void *id, unsigned long from) { +void* NSString_inst_initWithString(void *id, void* aString) { return [(NSString*)id - substringFromIndex: from]; + initWithString: aString]; } -void* NSString_inst_substringToIndex(void *id, unsigned long to) { +BOOL NSString_inst_isEqualToString(void *id, void* aString) { return [(NSString*)id - substringToIndex: to]; + isEqualToString: aString]; } -BOOL NSString_inst_containsString(void *id, void* str) { +unsigned long NSString_inst_lengthOfBytesUsingEncoding(void *id, unsigned long enc) { return [(NSString*)id - containsString: str]; + lengthOfBytesUsingEncoding: enc]; } BOOL NSString_inst_localizedCaseInsensitiveContainsString(void *id, void* str) { @@ -1413,10 +1416,9 @@ BOOL NSString_inst_localizedStandardContainsString(void *id, void* str) { localizedStandardContainsString: str]; } -void* NSString_inst_stringByReplacingOccurrencesOfString_withString(void *id, void* target, void* replacement) { +unsigned long NSString_inst_maximumLengthOfBytesUsingEncoding(void *id, unsigned long enc) { return [(NSString*)id - stringByReplacingOccurrencesOfString: target - withString: replacement]; + maximumLengthOfBytesUsingEncoding: enc]; } void* NSString_inst_propertyList(void *id) { @@ -1429,59 +1431,57 @@ void* NSString_inst_propertyListFromStringsFileFormat(void *id) { propertyListFromStringsFileFormat]; } -void NSString_inst_drawInRect_withAttributes(void *id, NSRect rect, void* attrs) { - [(NSString*)id - drawInRect: rect - withAttributes: attrs]; -} - NSSize NSString_inst_sizeWithAttributes(void *id, void* attrs) { return [(NSString*)id sizeWithAttributes: attrs]; } -void* NSString_inst_variantFittingPresentationWidth(void *id, long width) { +void* NSString_inst_stringByAppendingPathComponent(void *id, void* str) { return [(NSString*)id - variantFittingPresentationWidth: width]; + stringByAppendingPathComponent: str]; } -BOOL NSString_inst_canBeConvertedToEncoding(void *id, unsigned long encoding) { +void* NSString_inst_stringByAppendingPathExtension(void *id, void* str) { return [(NSString*)id - canBeConvertedToEncoding: encoding]; + stringByAppendingPathExtension: str]; } -void* NSString_inst_dataUsingEncoding(void *id, unsigned long encoding) { +void* NSString_inst_stringByAppendingString(void *id, void* aString) { return [(NSString*)id - dataUsingEncoding: encoding]; + stringByAppendingString: aString]; } -void* NSString_inst_dataUsingEncoding_allowLossyConversion(void *id, unsigned long encoding, BOOL lossy) { +void* NSString_inst_stringByPaddingToLength_withString_startingAtIndex(void *id, unsigned long newLength, void* padString, unsigned long padIndex) { return [(NSString*)id - dataUsingEncoding: encoding - allowLossyConversion: lossy]; + stringByPaddingToLength: newLength + withString: padString + startingAtIndex: padIndex]; } -unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes(void *id, void* outputName, BOOL flag, void* outputArray, void* filterTypes) { +void* NSString_inst_stringByReplacingOccurrencesOfString_withString(void *id, void* target, void* replacement) { return [(NSString*)id - completePathIntoString: outputName - caseSensitive: flag - matchesIntoArray: outputArray - filterTypes: filterTypes]; -} + stringByReplacingOccurrencesOfString: target + withString: replacement]; +} -void* NSString_inst_stringByAppendingPathComponent(void *id, void* str) { +void* NSString_inst_stringsByAppendingPaths(void *id, void* paths) { return [(NSString*)id - stringByAppendingPathComponent: str]; + stringsByAppendingPaths: paths]; } -void* NSString_inst_stringByAppendingPathExtension(void *id, void* str) { +void* NSString_inst_substringFromIndex(void *id, unsigned long from) { return [(NSString*)id - stringByAppendingPathExtension: str]; + substringFromIndex: from]; } -void* NSString_inst_stringsByAppendingPaths(void *id, void* paths) { +void* NSString_inst_substringToIndex(void *id, unsigned long to) { return [(NSString*)id - stringsByAppendingPaths: paths]; + substringToIndex: to]; +} + +void* NSString_inst_variantFittingPresentationWidth(void *id, long width) { + return [(NSString*)id + variantFittingPresentationWidth: width]; } unsigned long NSString_inst_length(void *id) { @@ -1629,6 +1629,11 @@ void* NSString_inst_stringByRemovingPercentEncoding(void *id) { stringByRemovingPercentEncoding]; } +void NSThread_inst_cancel(void *id) { + [(NSThread*)id + cancel]; +} + void* NSThread_inst_init(void *id) { return [(NSThread*)id init]; @@ -1641,19 +1646,14 @@ void* NSThread_inst_initWithTarget_selector_object(void *id, void* target, void* object: argument]; } -void NSThread_inst_start(void *id) { - [(NSThread*)id - start]; -} - void NSThread_inst_main(void *id) { [(NSThread*)id main]; } -void NSThread_inst_cancel(void *id) { +void NSThread_inst_start(void *id) { [(NSThread*)id - cancel]; + start]; } BOOL NSThread_inst_isExecuting(void *id) { @@ -1696,33 +1696,30 @@ void NSThread_inst_setStackSize(void *id, unsigned long value) { setStackSize: value]; } -void* NSURL_inst_initWithString(void *id, void* URLString) { +void* NSURL_inst_URLByAppendingPathComponent(void *id, void* pathComponent) { return [(NSURL*)id - initWithString: URLString]; + URLByAppendingPathComponent: pathComponent]; } -void* NSURL_inst_initWithString_relativeToURL(void *id, void* URLString, void* baseURL) { +void* NSURL_inst_URLByAppendingPathComponent_isDirectory(void *id, void* pathComponent, BOOL isDirectory) { return [(NSURL*)id - initWithString: URLString - relativeToURL: baseURL]; + URLByAppendingPathComponent: pathComponent + isDirectory: isDirectory]; } -void* NSURL_inst_initFileURLWithPath_isDirectory(void *id, void* path, BOOL isDir) { +void* NSURL_inst_URLByAppendingPathExtension(void *id, void* pathExtension) { return [(NSURL*)id - initFileURLWithPath: path - isDirectory: isDir]; + URLByAppendingPathExtension: pathExtension]; } -void* NSURL_inst_initFileURLWithPath_relativeToURL(void *id, void* path, void* baseURL) { +void* NSURL_inst_fileReferenceURL(void *id) { return [(NSURL*)id - initFileURLWithPath: path - relativeToURL: baseURL]; + fileReferenceURL]; } -void* NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL(void *id, void* path, BOOL isDir, void* baseURL) { +void* NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { return [(NSURL*)id - initFileURLWithPath: path - isDirectory: isDir + initAbsoluteURLWithDataRepresentation: data relativeToURL: baseURL]; } @@ -1731,47 +1728,50 @@ void* NSURL_inst_initFileURLWithPath(void *id, void* path) { initFileURLWithPath: path]; } -void* NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { +void* NSURL_inst_initFileURLWithPath_isDirectory(void *id, void* path, BOOL isDir) { return [(NSURL*)id - initAbsoluteURLWithDataRepresentation: data - relativeToURL: baseURL]; + initFileURLWithPath: path + isDirectory: isDir]; } -void* NSURL_inst_initWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { +void* NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL(void *id, void* path, BOOL isDir, void* baseURL) { return [(NSURL*)id - initWithDataRepresentation: data + initFileURLWithPath: path + isDirectory: isDir relativeToURL: baseURL]; } -BOOL NSURL_inst_isFileReferenceURL(void *id) { +void* NSURL_inst_initFileURLWithPath_relativeToURL(void *id, void* path, void* baseURL) { return [(NSURL*)id - isFileReferenceURL]; + initFileURLWithPath: path + relativeToURL: baseURL]; } -void NSURL_inst_removeAllCachedResourceValues(void *id) { - [(NSURL*)id - removeAllCachedResourceValues]; +void* NSURL_inst_initWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { + return [(NSURL*)id + initWithDataRepresentation: data + relativeToURL: baseURL]; } -void* NSURL_inst_fileReferenceURL(void *id) { +void* NSURL_inst_initWithString(void *id, void* URLString) { return [(NSURL*)id - fileReferenceURL]; + initWithString: URLString]; } -void* NSURL_inst_URLByAppendingPathComponent(void *id, void* pathComponent) { +void* NSURL_inst_initWithString_relativeToURL(void *id, void* URLString, void* baseURL) { return [(NSURL*)id - URLByAppendingPathComponent: pathComponent]; + initWithString: URLString + relativeToURL: baseURL]; } -void* NSURL_inst_URLByAppendingPathComponent_isDirectory(void *id, void* pathComponent, BOOL isDirectory) { +BOOL NSURL_inst_isFileReferenceURL(void *id) { return [(NSURL*)id - URLByAppendingPathComponent: pathComponent - isDirectory: isDirectory]; + isFileReferenceURL]; } -void* NSURL_inst_URLByAppendingPathExtension(void *id, void* pathExtension) { - return [(NSURL*)id - URLByAppendingPathExtension: pathExtension]; +void NSURL_inst_removeAllCachedResourceValues(void *id) { + [(NSURL*)id + removeAllCachedResourceValues]; } BOOL NSURL_inst_startAccessingSecurityScopedResource(void *id) { @@ -1989,29 +1989,29 @@ BOOL NSURLRequest_inst_assumesHTTP3Capable(void *id) { assumesHTTP3Capable]; } -void* NSUserDefaults_inst_init(void *id) { +void* NSUserDefaults_inst_URLForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - init]; + URLForKey: defaultName]; } -void* NSUserDefaults_inst_initWithSuiteName(void *id, void* suitename) { - return [(NSUserDefaults*)id - initWithSuiteName: suitename]; +void NSUserDefaults_inst_addSuiteNamed(void *id, void* suiteName) { + [(NSUserDefaults*)id + addSuiteNamed: suiteName]; } -void* NSUserDefaults_inst_objectForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_arrayForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - objectForKey: defaultName]; + arrayForKey: defaultName]; } -void* NSUserDefaults_inst_URLForKey(void *id, void* defaultName) { +BOOL NSUserDefaults_inst_boolForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - URLForKey: defaultName]; + boolForKey: defaultName]; } -void* NSUserDefaults_inst_arrayForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_dataForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - arrayForKey: defaultName]; + dataForKey: defaultName]; } void* NSUserDefaults_inst_dictionaryForKey(void *id, void* defaultName) { @@ -2019,24 +2019,19 @@ void* NSUserDefaults_inst_dictionaryForKey(void *id, void* defaultName) { dictionaryForKey: defaultName]; } -void* NSUserDefaults_inst_stringForKey(void *id, void* defaultName) { - return [(NSUserDefaults*)id - stringForKey: defaultName]; -} - -void* NSUserDefaults_inst_stringArrayForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_dictionaryRepresentation(void *id) { return [(NSUserDefaults*)id - stringArrayForKey: defaultName]; + dictionaryRepresentation]; } -void* NSUserDefaults_inst_dataForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_init(void *id) { return [(NSUserDefaults*)id - dataForKey: defaultName]; + init]; } -BOOL NSUserDefaults_inst_boolForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_initWithSuiteName(void *id, void* suitename) { return [(NSUserDefaults*)id - boolForKey: defaultName]; + initWithSuiteName: suitename]; } long NSUserDefaults_inst_integerForKey(void *id, void* defaultName) { @@ -2044,33 +2039,30 @@ long NSUserDefaults_inst_integerForKey(void *id, void* defaultName) { integerForKey: defaultName]; } -void* NSUserDefaults_inst_dictionaryRepresentation(void *id) { +void* NSUserDefaults_inst_objectForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - dictionaryRepresentation]; + objectForKey: defaultName]; } -void NSUserDefaults_inst_setObject_forKey(void *id, void* value, void* defaultName) { - [(NSUserDefaults*)id - setObject: value - forKey: defaultName]; +BOOL NSUserDefaults_inst_objectIsForcedForKey(void *id, void* key) { + return [(NSUserDefaults*)id + objectIsForcedForKey: key]; } -void NSUserDefaults_inst_setInteger_forKey(void *id, long value, void* defaultName) { - [(NSUserDefaults*)id - setInteger: value - forKey: defaultName]; +BOOL NSUserDefaults_inst_objectIsForcedForKey_inDomain(void *id, void* key, void* domain) { + return [(NSUserDefaults*)id + objectIsForcedForKey: key + inDomain: domain]; } -void NSUserDefaults_inst_setBool_forKey(void *id, BOOL value, void* defaultName) { - [(NSUserDefaults*)id - setBool: value - forKey: defaultName]; +void* NSUserDefaults_inst_persistentDomainForName(void *id, void* domainName) { + return [(NSUserDefaults*)id + persistentDomainForName: domainName]; } -void NSUserDefaults_inst_setURL_forKey(void *id, void* url, void* defaultName) { +void NSUserDefaults_inst_registerDefaults(void *id, void* registrationDictionary) { [(NSUserDefaults*)id - setURL: url - forKey: defaultName]; + registerDefaults: registrationDictionary]; } void NSUserDefaults_inst_removeObjectForKey(void *id, void* defaultName) { @@ -2078,9 +2070,9 @@ void NSUserDefaults_inst_removeObjectForKey(void *id, void* defaultName) { removeObjectForKey: defaultName]; } -void NSUserDefaults_inst_addSuiteNamed(void *id, void* suiteName) { +void NSUserDefaults_inst_removePersistentDomainForName(void *id, void* domainName) { [(NSUserDefaults*)id - addSuiteNamed: suiteName]; + removePersistentDomainForName: domainName]; } void NSUserDefaults_inst_removeSuiteNamed(void *id, void* suiteName) { @@ -2088,14 +2080,27 @@ void NSUserDefaults_inst_removeSuiteNamed(void *id, void* suiteName) { removeSuiteNamed: suiteName]; } -void NSUserDefaults_inst_registerDefaults(void *id, void* registrationDictionary) { +void NSUserDefaults_inst_removeVolatileDomainForName(void *id, void* domainName) { [(NSUserDefaults*)id - registerDefaults: registrationDictionary]; + removeVolatileDomainForName: domainName]; } -void* NSUserDefaults_inst_persistentDomainForName(void *id, void* domainName) { - return [(NSUserDefaults*)id - persistentDomainForName: domainName]; +void NSUserDefaults_inst_setBool_forKey(void *id, BOOL value, void* defaultName) { + [(NSUserDefaults*)id + setBool: value + forKey: defaultName]; +} + +void NSUserDefaults_inst_setInteger_forKey(void *id, long value, void* defaultName) { + [(NSUserDefaults*)id + setInteger: value + forKey: defaultName]; +} + +void NSUserDefaults_inst_setObject_forKey(void *id, void* value, void* defaultName) { + [(NSUserDefaults*)id + setObject: value + forKey: defaultName]; } void NSUserDefaults_inst_setPersistentDomain_forName(void *id, void* domain, void* domainName) { @@ -2104,14 +2109,10 @@ void NSUserDefaults_inst_setPersistentDomain_forName(void *id, void* domain, voi forName: domainName]; } -void NSUserDefaults_inst_removePersistentDomainForName(void *id, void* domainName) { +void NSUserDefaults_inst_setURL_forKey(void *id, void* url, void* defaultName) { [(NSUserDefaults*)id - removePersistentDomainForName: domainName]; -} - -void* NSUserDefaults_inst_volatileDomainForName(void *id, void* domainName) { - return [(NSUserDefaults*)id - volatileDomainForName: domainName]; + setURL: url + forKey: defaultName]; } void NSUserDefaults_inst_setVolatileDomain_forName(void *id, void* domain, void* domainName) { @@ -2120,20 +2121,14 @@ void NSUserDefaults_inst_setVolatileDomain_forName(void *id, void* domain, void* forName: domainName]; } -void NSUserDefaults_inst_removeVolatileDomainForName(void *id, void* domainName) { - [(NSUserDefaults*)id - removeVolatileDomainForName: domainName]; -} - -BOOL NSUserDefaults_inst_objectIsForcedForKey(void *id, void* key) { +void* NSUserDefaults_inst_stringArrayForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - objectIsForcedForKey: key]; + stringArrayForKey: defaultName]; } -BOOL NSUserDefaults_inst_objectIsForcedForKey_inDomain(void *id, void* key, void* domain) { +void* NSUserDefaults_inst_stringForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id - objectIsForcedForKey: key - inDomain: domain]; + stringForKey: defaultName]; } BOOL NSUserDefaults_inst_synchronize(void *id) { @@ -2141,6 +2136,11 @@ BOOL NSUserDefaults_inst_synchronize(void *id) { synchronize]; } +void* NSUserDefaults_inst_volatileDomainForName(void *id, void* domainName) { + return [(NSUserDefaults*)id + volatileDomainForName: domainName]; +} + void* NSUserDefaults_inst_volatileDomainNames(void *id) { return [(NSUserDefaults*)id volatileDomainNames]; @@ -2873,104 +2873,113 @@ func CALayer_fromRef(ref objc.Ref) CALayer { return CALayer_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_CALayer) Init_asCALayer() ( - r0 CALayer, +func (x gen_CALayer) ActionForKey( + event NSStringRef, +) ( + r0 objc.Object, ) { - ret := C.CALayer_inst_init( + ret := C.CALayer_inst_actionForKey( unsafe.Pointer(x.Pointer()), + objc.RefPointer(event), ) - r0 = CALayer_fromPointer(ret) + r0 = objc.Object_fromPointer(ret) return } -func (x gen_CALayer) InitWithLayer_asCALayer( - layer objc.Ref, -) ( - r0 CALayer, +func (x gen_CALayer) AddSublayer( + layer CALayerRef, ) { - ret := C.CALayer_inst_initWithLayer( + C.CALayer_inst_addSublayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) - r0 = CALayer_fromPointer(ret) return } -func (x gen_CALayer) PresentationLayer_asCALayer() ( - r0 CALayer, +func (x gen_CALayer) AnimationKeys() ( + r0 NSArray, ) { - ret := C.CALayer_inst_presentationLayer( + ret := C.CALayer_inst_animationKeys( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) + r0 = NSArray_fromPointer(ret) return } -func (x gen_CALayer) ModelLayer_asCALayer() ( - r0 CALayer, +func (x gen_CALayer) ContentsAreFlipped() ( + r0 bool, ) { - ret := C.CALayer_inst_modelLayer( + ret := C.CALayer_inst_contentsAreFlipped( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_CALayer) Display() { - C.CALayer_inst_display( +func (x gen_CALayer) ConvertRect_fromLayer( + r NSRect, + l CALayerRef, +) ( + r0 NSRect, +) { + ret := C.CALayer_inst_convertRect_fromLayer( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&r)), + objc.RefPointer(l), ) + r0 = *(*NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_CALayer) ContentsAreFlipped() ( - r0 bool, +func (x gen_CALayer) ConvertRect_toLayer( + r NSRect, + l CALayerRef, +) ( + r0 NSRect, ) { - ret := C.CALayer_inst_contentsAreFlipped( + ret := C.CALayer_inst_convertRect_toLayer( unsafe.Pointer(x.Pointer()), + *(*C.NSRect)(unsafe.Pointer(&r)), + objc.RefPointer(l), ) - r0 = convertObjCBoolToGo(ret) + r0 = *(*NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_CALayer) AddSublayer( - layer CALayerRef, -) { - C.CALayer_inst_addSublayer( +func (x gen_CALayer) Display() { + C.CALayer_inst_display( unsafe.Pointer(x.Pointer()), - objc.RefPointer(layer), ) return } -func (x gen_CALayer) RemoveFromSuperlayer() { - C.CALayer_inst_removeFromSuperlayer( +func (x gen_CALayer) DisplayIfNeeded() { + C.CALayer_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_CALayer) InsertSublayer_atIndex( - layer CALayerRef, - idx int32, +func (x gen_CALayer) Init_asCALayer() ( + r0 CALayer, ) { - C.CALayer_inst_insertSublayer_atIndex( + ret := C.CALayer_inst_init( unsafe.Pointer(x.Pointer()), - objc.RefPointer(layer), - C.int(idx), ) + r0 = CALayer_fromPointer(ret) return } -func (x gen_CALayer) InsertSublayer_below( - layer CALayerRef, - sibling CALayerRef, +func (x gen_CALayer) InitWithLayer_asCALayer( + layer objc.Ref, +) ( + r0 CALayer, ) { - C.CALayer_inst_insertSublayer_below( + ret := C.CALayer_inst_initWithLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), - objc.RefPointer(sibling), ) + r0 = CALayer_fromPointer(ret) return } @@ -2986,116 +2995,126 @@ func (x gen_CALayer) InsertSublayer_above( return } -func (x gen_CALayer) ReplaceSublayer_with( - oldLayer CALayerRef, - newLayer CALayerRef, +func (x gen_CALayer) InsertSublayer_atIndex( + layer CALayerRef, + idx int32, ) { - C.CALayer_inst_replaceSublayer_with( + C.CALayer_inst_insertSublayer_atIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(oldLayer), - objc.RefPointer(newLayer), + objc.RefPointer(layer), + C.int(idx), ) return } -func (x gen_CALayer) SetNeedsDisplay() { - C.CALayer_inst_setNeedsDisplay( +func (x gen_CALayer) InsertSublayer_below( + layer CALayerRef, + sibling CALayerRef, +) { + C.CALayer_inst_insertSublayer_below( unsafe.Pointer(x.Pointer()), + objc.RefPointer(layer), + objc.RefPointer(sibling), ) return } -func (x gen_CALayer) SetNeedsDisplayInRect( - r NSRect, -) { - C.CALayer_inst_setNeedsDisplayInRect( +func (x gen_CALayer) LayoutIfNeeded() { + C.CALayer_inst_layoutIfNeeded( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&r)), ) return } -func (x gen_CALayer) DisplayIfNeeded() { - C.CALayer_inst_displayIfNeeded( +func (x gen_CALayer) LayoutSublayers() { + C.CALayer_inst_layoutSublayers( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_CALayer) NeedsDisplay() ( - r0 bool, +func (x gen_CALayer) ModelLayer_asCALayer() ( + r0 CALayer, ) { - ret := C.CALayer_inst_needsDisplay( + ret := C.CALayer_inst_modelLayer( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) + r0 = CALayer_fromPointer(ret) return } -func (x gen_CALayer) RemoveAllAnimations() { - C.CALayer_inst_removeAllAnimations( +func (x gen_CALayer) NeedsDisplay() ( + r0 bool, +) { + ret := C.CALayer_inst_needsDisplay( unsafe.Pointer(x.Pointer()), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_CALayer) RemoveAnimationForKey( - key NSStringRef, +func (x gen_CALayer) NeedsLayout() ( + r0 bool, ) { - C.CALayer_inst_removeAnimationForKey( + ret := C.CALayer_inst_needsLayout( unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_CALayer) AnimationKeys() ( - r0 NSArray, +func (x gen_CALayer) PreferredFrameSize() ( + r0 NSSize, ) { - ret := C.CALayer_inst_animationKeys( + ret := C.CALayer_inst_preferredFrameSize( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) + r0 = *(*NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_CALayer) SetNeedsLayout() { - C.CALayer_inst_setNeedsLayout( +func (x gen_CALayer) PresentationLayer_asCALayer() ( + r0 CALayer, +) { + ret := C.CALayer_inst_presentationLayer( unsafe.Pointer(x.Pointer()), ) + r0 = CALayer_fromPointer(ret) return } -func (x gen_CALayer) LayoutSublayers() { - C.CALayer_inst_layoutSublayers( +func (x gen_CALayer) RemoveAllAnimations() { + C.CALayer_inst_removeAllAnimations( unsafe.Pointer(x.Pointer()), ) return } -func (x gen_CALayer) LayoutIfNeeded() { - C.CALayer_inst_layoutIfNeeded( +func (x gen_CALayer) RemoveAnimationForKey( + key NSStringRef, +) { + C.CALayer_inst_removeAnimationForKey( unsafe.Pointer(x.Pointer()), + objc.RefPointer(key), ) return } -func (x gen_CALayer) NeedsLayout() ( - r0 bool, -) { - ret := C.CALayer_inst_needsLayout( +func (x gen_CALayer) RemoveFromSuperlayer() { + C.CALayer_inst_removeFromSuperlayer( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) return } -func (x gen_CALayer) ResizeWithOldSuperlayerSize( - size NSSize, +func (x gen_CALayer) ReplaceSublayer_with( + oldLayer CALayerRef, + newLayer CALayerRef, ) { - C.CALayer_inst_resizeWithOldSuperlayerSize( + C.CALayer_inst_replaceSublayer_with( unsafe.Pointer(x.Pointer()), - *(*C.NSSize)(unsafe.Pointer(&size)), + objc.RefPointer(oldLayer), + objc.RefPointer(newLayer), ) return } @@ -3110,65 +3129,46 @@ func (x gen_CALayer) ResizeSublayersWithOldSize( return } -func (x gen_CALayer) PreferredFrameSize() ( - r0 NSSize, +func (x gen_CALayer) ResizeWithOldSuperlayerSize( + size NSSize, ) { - ret := C.CALayer_inst_preferredFrameSize( + C.CALayer_inst_resizeWithOldSuperlayerSize( unsafe.Pointer(x.Pointer()), + *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_CALayer) ActionForKey( - event NSStringRef, -) ( - r0 objc.Object, +func (x gen_CALayer) ScrollRectToVisible( + r NSRect, ) { - ret := C.CALayer_inst_actionForKey( + C.CALayer_inst_scrollRectToVisible( unsafe.Pointer(x.Pointer()), - objc.RefPointer(event), + *(*C.NSRect)(unsafe.Pointer(&r)), ) - r0 = objc.Object_fromPointer(ret) return } -func (x gen_CALayer) ConvertRect_fromLayer( - r NSRect, - l CALayerRef, -) ( - r0 NSRect, -) { - ret := C.CALayer_inst_convertRect_fromLayer( +func (x gen_CALayer) SetNeedsDisplay() { + C.CALayer_inst_setNeedsDisplay( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&r)), - objc.RefPointer(l), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_CALayer) ConvertRect_toLayer( +func (x gen_CALayer) SetNeedsDisplayInRect( r NSRect, - l CALayerRef, -) ( - r0 NSRect, ) { - ret := C.CALayer_inst_convertRect_toLayer( + C.CALayer_inst_setNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), - objc.RefPointer(l), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) return } -func (x gen_CALayer) ScrollRectToVisible( - r NSRect, -) { - C.CALayer_inst_scrollRectToVisible( +func (x gen_CALayer) SetNeedsLayout() { + C.CALayer_inst_setNeedsLayout( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&r)), ) return } @@ -3905,156 +3905,130 @@ func NSArray_fromRef(ref objc.Ref) NSArray { return NSArray_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSArray) Init_asNSArray() ( +func (x gen_NSArray) ArrayByAddingObjectsFromArray( + otherArray NSArrayRef, +) ( r0 NSArray, ) { - ret := C.NSArray_inst_init( + ret := C.NSArray_inst_arrayByAddingObjectsFromArray( unsafe.Pointer(x.Pointer()), + objc.RefPointer(otherArray), ) r0 = NSArray_fromPointer(ret) return } -func (x gen_NSArray) InitWithArray_asNSArray( - array NSArrayRef, +func (x gen_NSArray) ComponentsJoinedByString( + separator NSStringRef, ) ( - r0 NSArray, + r0 NSString, ) { - ret := C.NSArray_inst_initWithArray( + ret := C.NSArray_inst_componentsJoinedByString( unsafe.Pointer(x.Pointer()), - objc.RefPointer(array), + objc.RefPointer(separator), ) - r0 = NSArray_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSArray) InitWithArray_copyItems_asNSArray( - array NSArrayRef, - flag bool, +func (x gen_NSArray) DescriptionWithLocale( + locale objc.Ref, ) ( - r0 NSArray, + r0 NSString, ) { - ret := C.NSArray_inst_initWithArray_copyItems( + ret := C.NSArray_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), - objc.RefPointer(array), - convertToObjCBool(flag), + objc.RefPointer(locale), ) - r0 = NSArray_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSArray) MakeObjectsPerformSelector( - aSelector objc.Selector, +func (x gen_NSArray) DescriptionWithLocale_indent( + locale objc.Ref, + level NSUInteger, +) ( + r0 NSString, ) { - C.NSArray_inst_makeObjectsPerformSelector( + ret := C.NSArray_inst_descriptionWithLocale_indent( unsafe.Pointer(x.Pointer()), - aSelector.SelectorAddress(), + objc.RefPointer(locale), + C.ulong(level), ) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSArray) MakeObjectsPerformSelector_withObject( - aSelector objc.Selector, - argument objc.Ref, -) { - C.NSArray_inst_makeObjectsPerformSelector_withObject( - unsafe.Pointer(x.Pointer()), - aSelector.SelectorAddress(), - objc.RefPointer(argument), - ) - return -} - -func (x gen_NSArray) IsEqualToArray( - otherArray NSArrayRef, -) ( - r0 bool, -) { - ret := C.NSArray_inst_isEqualToArray( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(otherArray), - ) - r0 = convertObjCBoolToGo(ret) - return -} - -func (x gen_NSArray) ArrayByAddingObjectsFromArray( - otherArray NSArrayRef, -) ( +func (x gen_NSArray) Init_asNSArray() ( r0 NSArray, ) { - ret := C.NSArray_inst_arrayByAddingObjectsFromArray( + ret := C.NSArray_inst_init( unsafe.Pointer(x.Pointer()), - objc.RefPointer(otherArray), ) r0 = NSArray_fromPointer(ret) return } -func (x gen_NSArray) SortedArrayUsingDescriptors( - sortDescriptors NSArrayRef, +func (x gen_NSArray) InitWithArray_asNSArray( + array NSArrayRef, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_sortedArrayUsingDescriptors( + ret := C.NSArray_inst_initWithArray( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sortDescriptors), + objc.RefPointer(array), ) r0 = NSArray_fromPointer(ret) return } -func (x gen_NSArray) SortedArrayUsingSelector( - comparator objc.Selector, +func (x gen_NSArray) InitWithArray_copyItems_asNSArray( + array NSArrayRef, + flag bool, ) ( r0 NSArray, ) { - ret := C.NSArray_inst_sortedArrayUsingSelector( + ret := C.NSArray_inst_initWithArray_copyItems( unsafe.Pointer(x.Pointer()), - comparator.SelectorAddress(), + objc.RefPointer(array), + convertToObjCBool(flag), ) r0 = NSArray_fromPointer(ret) return } -func (x gen_NSArray) ComponentsJoinedByString( - separator NSStringRef, +func (x gen_NSArray) IsEqualToArray( + otherArray NSArrayRef, ) ( - r0 NSString, + r0 bool, ) { - ret := C.NSArray_inst_componentsJoinedByString( + ret := C.NSArray_inst_isEqualToArray( unsafe.Pointer(x.Pointer()), - objc.RefPointer(separator), + objc.RefPointer(otherArray), ) - r0 = NSString_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSArray) DescriptionWithLocale( - locale objc.Ref, -) ( - r0 NSString, +func (x gen_NSArray) MakeObjectsPerformSelector( + aSelector objc.Selector, ) { - ret := C.NSArray_inst_descriptionWithLocale( + C.NSArray_inst_makeObjectsPerformSelector( unsafe.Pointer(x.Pointer()), - objc.RefPointer(locale), + aSelector.SelectorAddress(), ) - r0 = NSString_fromPointer(ret) return } -func (x gen_NSArray) DescriptionWithLocale_indent( - locale objc.Ref, - level NSUInteger, -) ( - r0 NSString, +func (x gen_NSArray) MakeObjectsPerformSelector_withObject( + aSelector objc.Selector, + argument objc.Ref, ) { - ret := C.NSArray_inst_descriptionWithLocale_indent( + C.NSArray_inst_makeObjectsPerformSelector_withObject( unsafe.Pointer(x.Pointer()), - objc.RefPointer(locale), - C.ulong(level), + aSelector.SelectorAddress(), + objc.RefPointer(argument), ) - r0 = NSString_fromPointer(ret) return } @@ -4083,29 +4057,55 @@ func (x gen_NSArray) SetValue_forKey( return } -func (x gen_NSArray) ValueForKey( - key NSStringRef, +func (x gen_NSArray) ShuffledArray() ( + r0 NSArray, +) { + ret := C.NSArray_inst_shuffledArray( + unsafe.Pointer(x.Pointer()), + ) + r0 = NSArray_fromPointer(ret) + return +} + +func (x gen_NSArray) SortedArrayUsingDescriptors( + sortDescriptors NSArrayRef, ) ( - r0 objc.Object, + r0 NSArray, ) { - ret := C.NSArray_inst_valueForKey( + ret := C.NSArray_inst_sortedArrayUsingDescriptors( unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), + objc.RefPointer(sortDescriptors), ) - r0 = objc.Object_fromPointer(ret) + r0 = NSArray_fromPointer(ret) return } -func (x gen_NSArray) ShuffledArray() ( +func (x gen_NSArray) SortedArrayUsingSelector( + comparator objc.Selector, +) ( r0 NSArray, ) { - ret := C.NSArray_inst_shuffledArray( + ret := C.NSArray_inst_sortedArrayUsingSelector( unsafe.Pointer(x.Pointer()), + comparator.SelectorAddress(), ) r0 = NSArray_fromPointer(ret) return } +func (x gen_NSArray) ValueForKey( + key NSStringRef, +) ( + r0 objc.Object, +) { + ret := C.NSArray_inst_valueForKey( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(key), + ) + r0 = objc.Object_fromPointer(ret) + return +} + func (x gen_NSArray) Count() ( r0 NSUInteger, ) { @@ -4155,31 +4155,23 @@ func NSAttributedString_fromRef(ref objc.Ref) NSAttributedString { return NSAttributedString_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSAttributedString) InitWithString_asNSAttributedString( - str NSStringRef, -) ( +func (x gen_NSAttributedString) AttributedStringByInflectingString() ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithString( + ret := C.NSAttributedString_inst_attributedStringByInflectingString( unsafe.Pointer(x.Pointer()), - objc.RefPointer(str), ) r0 = NSAttributedString_fromPointer(ret) return } -func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( - str NSStringRef, - attrs NSDictionaryRef, -) ( - r0 NSAttributedString, +func (x gen_NSAttributedString) DrawInRect( + rect NSRect, ) { - ret := C.NSAttributedString_inst_initWithString_attributes( + C.NSAttributedString_inst_drawInRect( unsafe.Pointer(x.Pointer()), - objc.RefPointer(str), - objc.RefPointer(attrs), + *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = NSAttributedString_fromPointer(ret) return } @@ -4211,32 +4203,32 @@ func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttribu return } -func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttributedString( data NSDataRef, + base NSURLRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithHTML_documentAttributes( + ret := C.NSAttributedString_inst_initWithHTML_baseURL_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), + objc.RefPointer(base), objc.RefPointer(dict), ) r0 = NSAttributedString_fromPointer(ret) return } -func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedString( data NSDataRef, - base NSURLRef, dict NSDictionaryRef, ) ( r0 NSAttributedString, ) { - ret := C.NSAttributedString_inst_initWithHTML_baseURL_documentAttributes( + ret := C.NSAttributedString_inst_initWithHTML_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), - objc.RefPointer(base), objc.RefPointer(dict), ) r0 = NSAttributedString_fromPointer(ret) @@ -4290,6 +4282,34 @@ func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedSt return } +func (x gen_NSAttributedString) InitWithString_asNSAttributedString( + str NSStringRef, +) ( + r0 NSAttributedString, +) { + ret := C.NSAttributedString_inst_initWithString( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(str), + ) + r0 = NSAttributedString_fromPointer(ret) + return +} + +func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( + str NSStringRef, + attrs NSDictionaryRef, +) ( + r0 NSAttributedString, +) { + ret := C.NSAttributedString_inst_initWithString_attributes( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(str), + objc.RefPointer(attrs), + ) + r0 = NSAttributedString_fromPointer(ret) + return +} + func (x gen_NSAttributedString) IsEqualToAttributedString( other NSAttributedStringRef, ) ( @@ -4318,26 +4338,6 @@ func (x gen_NSAttributedString) NextWordFromIndex_forward( return } -func (x gen_NSAttributedString) AttributedStringByInflectingString() ( - r0 NSAttributedString, -) { - ret := C.NSAttributedString_inst_attributedStringByInflectingString( - unsafe.Pointer(x.Pointer()), - ) - r0 = NSAttributedString_fromPointer(ret) - return -} - -func (x gen_NSAttributedString) DrawInRect( - rect NSRect, -) { - C.NSAttributedString_inst_drawInRect( - unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), - ) - return -} - func (x gen_NSAttributedString) Size() ( r0 NSSize, ) { @@ -4397,6 +4397,18 @@ func NSData_fromRef(ref objc.Ref) NSData { return NSData_fromPointer(unsafe.Pointer(ref.Pointer())) } +func (x gen_NSData) GetBytes_length( + buffer unsafe.Pointer, + length NSUInteger, +) { + C.NSData_inst_getBytes_length( + unsafe.Pointer(x.Pointer()), + buffer, + C.ulong(length), + ) + return +} + func (x gen_NSData) InitWithBytes_length_asNSData( bytes unsafe.Pointer, length NSUInteger, @@ -4444,19 +4456,6 @@ func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( return } -func (x gen_NSData) InitWithData_asNSData( - data NSDataRef, -) ( - r0 NSData, -) { - ret := C.NSData_inst_initWithData( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(data), - ) - r0 = NSData_fromPointer(ret) - return -} - func (x gen_NSData) InitWithContentsOfFile_asNSData( path NSStringRef, ) ( @@ -4483,56 +4482,57 @@ func (x gen_NSData) InitWithContentsOfURL_asNSData( return } -func (x gen_NSData) WriteToFile_atomically( - path NSStringRef, - useAuxiliaryFile bool, +func (x gen_NSData) InitWithData_asNSData( + data NSDataRef, ) ( - r0 bool, + r0 NSData, ) { - ret := C.NSData_inst_writeToFile_atomically( + ret := C.NSData_inst_initWithData( unsafe.Pointer(x.Pointer()), - objc.RefPointer(path), - convertToObjCBool(useAuxiliaryFile), + objc.RefPointer(data), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSData_fromPointer(ret) return } -func (x gen_NSData) WriteToURL_atomically( - url NSURLRef, - atomically bool, +func (x gen_NSData) IsEqualToData( + other NSDataRef, ) ( r0 bool, ) { - ret := C.NSData_inst_writeToURL_atomically( + ret := C.NSData_inst_isEqualToData( unsafe.Pointer(x.Pointer()), - objc.RefPointer(url), - convertToObjCBool(atomically), + objc.RefPointer(other), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSData) GetBytes_length( - buffer unsafe.Pointer, - length NSUInteger, +func (x gen_NSData) WriteToFile_atomically( + path NSStringRef, + useAuxiliaryFile bool, +) ( + r0 bool, ) { - C.NSData_inst_getBytes_length( + ret := C.NSData_inst_writeToFile_atomically( unsafe.Pointer(x.Pointer()), - buffer, - C.ulong(length), + objc.RefPointer(path), + convertToObjCBool(useAuxiliaryFile), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSData) IsEqualToData( - other NSDataRef, +func (x gen_NSData) WriteToURL_atomically( + url NSURLRef, + atomically bool, ) ( r0 bool, ) { - ret := C.NSData_inst_isEqualToData( + ret := C.NSData_inst_writeToURL_atomically( unsafe.Pointer(x.Pointer()), - objc.RefPointer(other), + objc.RefPointer(url), + convertToObjCBool(atomically), ) r0 = convertObjCBoolToGo(ret) return @@ -4597,102 +4597,81 @@ func NSDictionary_fromRef(ref objc.Ref) NSDictionary { return NSDictionary_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSDictionary) Init_asNSDictionary() ( - r0 NSDictionary, -) { - ret := C.NSDictionary_inst_init( - unsafe.Pointer(x.Pointer()), - ) - r0 = NSDictionary_fromPointer(ret) - return -} - -func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( - objects NSArrayRef, - keys NSArrayRef, +func (x gen_NSDictionary) DescriptionWithLocale( + locale objc.Ref, ) ( - r0 NSDictionary, + r0 NSString, ) { - ret := C.NSDictionary_inst_initWithObjects_forKeys( + ret := C.NSDictionary_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), - objc.RefPointer(objects), - objc.RefPointer(keys), + objc.RefPointer(locale), ) - r0 = NSDictionary_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( - otherDictionary NSDictionaryRef, +func (x gen_NSDictionary) DescriptionWithLocale_indent( + locale objc.Ref, + level NSUInteger, ) ( - r0 NSDictionary, + r0 NSString, ) { - ret := C.NSDictionary_inst_initWithDictionary( + ret := C.NSDictionary_inst_descriptionWithLocale_indent( unsafe.Pointer(x.Pointer()), - objc.RefPointer(otherDictionary), + objc.RefPointer(locale), + C.ulong(level), ) - r0 = NSDictionary_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( - otherDictionary NSDictionaryRef, - flag bool, -) ( - r0 NSDictionary, +func (x gen_NSDictionary) FileExtensionHidden() ( + r0 bool, ) { - ret := C.NSDictionary_inst_initWithDictionary_copyItems( + ret := C.NSDictionary_inst_fileExtensionHidden( unsafe.Pointer(x.Pointer()), - objc.RefPointer(otherDictionary), - convertToObjCBool(flag), ) - r0 = NSDictionary_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSDictionary) IsEqualToDictionary( - otherDictionary NSDictionaryRef, -) ( - r0 bool, +func (x gen_NSDictionary) FileGroupOwnerAccountID() ( + r0 NSNumber, ) { - ret := C.NSDictionary_inst_isEqualToDictionary( + ret := C.NSDictionary_inst_fileGroupOwnerAccountID( unsafe.Pointer(x.Pointer()), - objc.RefPointer(otherDictionary), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSNumber_fromPointer(ret) return } -func (x gen_NSDictionary) KeysSortedByValueUsingSelector( - comparator objc.Selector, -) ( - r0 NSArray, +func (x gen_NSDictionary) FileGroupOwnerAccountName() ( + r0 NSString, ) { - ret := C.NSDictionary_inst_keysSortedByValueUsingSelector( + ret := C.NSDictionary_inst_fileGroupOwnerAccountName( unsafe.Pointer(x.Pointer()), - comparator.SelectorAddress(), ) - r0 = NSArray_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSDictionary) FileType() ( - r0 NSString, +func (x gen_NSDictionary) FileIsAppendOnly() ( + r0 bool, ) { - ret := C.NSDictionary_inst_fileType( + ret := C.NSDictionary_inst_fileIsAppendOnly( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSDictionary) FilePosixPermissions() ( - r0 NSUInteger, +func (x gen_NSDictionary) FileIsImmutable() ( + r0 bool, ) { - ret := C.NSDictionary_inst_filePosixPermissions( + ret := C.NSDictionary_inst_fileIsImmutable( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) + r0 = convertObjCBoolToGo(ret) return } @@ -4716,101 +4695,122 @@ func (x gen_NSDictionary) FileOwnerAccountName() ( return } -func (x gen_NSDictionary) FileGroupOwnerAccountID() ( - r0 NSNumber, +func (x gen_NSDictionary) FilePosixPermissions() ( + r0 NSUInteger, ) { - ret := C.NSDictionary_inst_fileGroupOwnerAccountID( + ret := C.NSDictionary_inst_filePosixPermissions( unsafe.Pointer(x.Pointer()), ) - r0 = NSNumber_fromPointer(ret) + r0 = NSUInteger(ret) return } -func (x gen_NSDictionary) FileGroupOwnerAccountName() ( - r0 NSString, +func (x gen_NSDictionary) FileSystemFileNumber() ( + r0 NSUInteger, ) { - ret := C.NSDictionary_inst_fileGroupOwnerAccountName( + ret := C.NSDictionary_inst_fileSystemFileNumber( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) + r0 = NSUInteger(ret) return } -func (x gen_NSDictionary) FileExtensionHidden() ( - r0 bool, +func (x gen_NSDictionary) FileSystemNumber() ( + r0 NSInteger, ) { - ret := C.NSDictionary_inst_fileExtensionHidden( + ret := C.NSDictionary_inst_fileSystemNumber( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSInteger(ret) return } -func (x gen_NSDictionary) FileIsImmutable() ( - r0 bool, +func (x gen_NSDictionary) FileType() ( + r0 NSString, ) { - ret := C.NSDictionary_inst_fileIsImmutable( + ret := C.NSDictionary_inst_fileType( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSDictionary) FileIsAppendOnly() ( - r0 bool, +func (x gen_NSDictionary) Init_asNSDictionary() ( + r0 NSDictionary, ) { - ret := C.NSDictionary_inst_fileIsAppendOnly( + ret := C.NSDictionary_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSDictionary) FileSystemFileNumber() ( - r0 NSUInteger, +func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( + otherDictionary NSDictionaryRef, +) ( + r0 NSDictionary, ) { - ret := C.NSDictionary_inst_fileSystemFileNumber( + ret := C.NSDictionary_inst_initWithDictionary( unsafe.Pointer(x.Pointer()), + objc.RefPointer(otherDictionary), ) - r0 = NSUInteger(ret) + r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSDictionary) FileSystemNumber() ( - r0 NSInteger, +func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( + otherDictionary NSDictionaryRef, + flag bool, +) ( + r0 NSDictionary, ) { - ret := C.NSDictionary_inst_fileSystemNumber( + ret := C.NSDictionary_inst_initWithDictionary_copyItems( unsafe.Pointer(x.Pointer()), + objc.RefPointer(otherDictionary), + convertToObjCBool(flag), ) - r0 = NSInteger(ret) + r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSDictionary) DescriptionWithLocale( - locale objc.Ref, +func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( + objects NSArrayRef, + keys NSArrayRef, ) ( - r0 NSString, + r0 NSDictionary, ) { - ret := C.NSDictionary_inst_descriptionWithLocale( + ret := C.NSDictionary_inst_initWithObjects_forKeys( unsafe.Pointer(x.Pointer()), - objc.RefPointer(locale), + objc.RefPointer(objects), + objc.RefPointer(keys), ) - r0 = NSString_fromPointer(ret) + r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSDictionary) DescriptionWithLocale_indent( - locale objc.Ref, - level NSUInteger, +func (x gen_NSDictionary) IsEqualToDictionary( + otherDictionary NSDictionaryRef, ) ( - r0 NSString, + r0 bool, ) { - ret := C.NSDictionary_inst_descriptionWithLocale_indent( + ret := C.NSDictionary_inst_isEqualToDictionary( unsafe.Pointer(x.Pointer()), - objc.RefPointer(locale), - C.ulong(level), + objc.RefPointer(otherDictionary), ) - r0 = NSString_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) + return +} + +func (x gen_NSDictionary) KeysSortedByValueUsingSelector( + comparator objc.Selector, +) ( + r0 NSArray, +) { + ret := C.NSDictionary_inst_keysSortedByValueUsingSelector( + unsafe.Pointer(x.Pointer()), + comparator.SelectorAddress(), + ) + r0 = NSArray_fromPointer(ret) return } @@ -4883,6 +4883,19 @@ func NSNumber_fromRef(ref objc.Ref) NSNumber { return NSNumber_fromPointer(unsafe.Pointer(ref.Pointer())) } +func (x gen_NSNumber) DescriptionWithLocale( + locale objc.Ref, +) ( + r0 NSString, +) { + ret := C.NSNumber_inst_descriptionWithLocale( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(locale), + ) + r0 = NSString_fromPointer(ret) + return +} + func (x gen_NSNumber) InitWithBool( value bool, ) ( @@ -4948,19 +4961,6 @@ func (x gen_NSNumber) InitWithUnsignedInteger( return } -func (x gen_NSNumber) DescriptionWithLocale( - locale objc.Ref, -) ( - r0 NSString, -) { - ret := C.NSNumber_inst_descriptionWithLocale( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(locale), - ) - r0 = NSString_fromPointer(ret) - return -} - func (x gen_NSNumber) IsEqualToNumber( number NSNumberRef, ) ( @@ -5063,51 +5063,51 @@ func NSRunLoop_fromRef(ref objc.Ref) NSRunLoop { return NSRunLoop_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSRunLoop) Run() { - C.NSRunLoop_inst_run( +func (x gen_NSRunLoop) CancelPerformSelector_target_argument( + aSelector objc.Selector, + target objc.Ref, + arg objc.Ref, +) { + C.NSRunLoop_inst_cancelPerformSelector_target_argument( unsafe.Pointer(x.Pointer()), + aSelector.SelectorAddress(), + objc.RefPointer(target), + objc.RefPointer(arg), ) return } -func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( - aSelector objc.Selector, +func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( target objc.Ref, - arg objc.Ref, - order NSUInteger, - modes NSArrayRef, ) { - C.NSRunLoop_inst_performSelector_target_argument_order_modes( + C.NSRunLoop_inst_cancelPerformSelectorsWithTarget( unsafe.Pointer(x.Pointer()), - aSelector.SelectorAddress(), objc.RefPointer(target), - objc.RefPointer(arg), - C.ulong(order), - objc.RefPointer(modes), ) return } -func (x gen_NSRunLoop) CancelPerformSelector_target_argument( +func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( aSelector objc.Selector, target objc.Ref, arg objc.Ref, + order NSUInteger, + modes NSArrayRef, ) { - C.NSRunLoop_inst_cancelPerformSelector_target_argument( + C.NSRunLoop_inst_performSelector_target_argument_order_modes( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(arg), + C.ulong(order), + objc.RefPointer(modes), ) return } -func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( - target objc.Ref, -) { - C.NSRunLoop_inst_cancelPerformSelectorsWithTarget( +func (x gen_NSRunLoop) Run() { + C.NSRunLoop_inst_run( unsafe.Pointer(x.Pointer()), - objc.RefPointer(target), ) return } @@ -5141,116 +5141,114 @@ func NSString_fromRef(ref objc.Ref) NSString { return NSString_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSString) Init_asNSString() ( - r0 NSString, +func (x gen_NSString) CanBeConvertedToEncoding( + encoding NSStringEncoding, +) ( + r0 bool, ) { - ret := C.NSString_inst_init( + ret := C.NSString_inst_canBeConvertedToEncoding( unsafe.Pointer(x.Pointer()), + C.ulong(encoding), ) - r0 = NSString_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSString) InitWithBytes_length_encoding_asNSString( - bytes unsafe.Pointer, - len NSUInteger, - encoding NSStringEncoding, +func (x gen_NSString) CharacterAtIndex( + index NSUInteger, ) ( - r0 NSString, + r0 Unichar, ) { - ret := C.NSString_inst_initWithBytes_length_encoding( + ret := C.NSString_inst_characterAtIndex( unsafe.Pointer(x.Pointer()), - bytes, - C.ulong(len), - C.ulong(encoding), + C.ulong(index), ) - r0 = NSString_fromPointer(ret) + r0 = Unichar(ret) return } -func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString( - bytes unsafe.Pointer, - len NSUInteger, - encoding NSStringEncoding, - freeBuffer bool, +func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes( + outputName NSStringRef, + flag bool, + outputArray NSArrayRef, + filterTypes NSArrayRef, ) ( - r0 NSString, + r0 NSUInteger, ) { - ret := C.NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone( + ret := C.NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes( unsafe.Pointer(x.Pointer()), - bytes, - C.ulong(len), - C.ulong(encoding), - convertToObjCBool(freeBuffer), + objc.RefPointer(outputName), + convertToObjCBool(flag), + objc.RefPointer(outputArray), + objc.RefPointer(filterTypes), ) - r0 = NSString_fromPointer(ret) + r0 = NSUInteger(ret) return } -func (x gen_NSString) InitWithString_asNSString( - aString NSStringRef, +func (x gen_NSString) ComponentsSeparatedByString( + separator NSStringRef, ) ( - r0 NSString, + r0 NSArray, ) { - ret := C.NSString_inst_initWithString( + ret := C.NSString_inst_componentsSeparatedByString( unsafe.Pointer(x.Pointer()), - objc.RefPointer(aString), + objc.RefPointer(separator), ) - r0 = NSString_fromPointer(ret) + r0 = NSArray_fromPointer(ret) return } -func (x gen_NSString) InitWithData_encoding_asNSString( - data NSDataRef, - encoding NSStringEncoding, +func (x gen_NSString) ContainsString( + str NSStringRef, ) ( - r0 NSString, + r0 bool, ) { - ret := C.NSString_inst_initWithData_encoding( + ret := C.NSString_inst_containsString( unsafe.Pointer(x.Pointer()), - objc.RefPointer(data), - C.ulong(encoding), + objc.RefPointer(str), ) - r0 = NSString_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSString) LengthOfBytesUsingEncoding( - enc NSStringEncoding, +func (x gen_NSString) DataUsingEncoding( + encoding NSStringEncoding, ) ( - r0 NSUInteger, + r0 NSData, ) { - ret := C.NSString_inst_lengthOfBytesUsingEncoding( + ret := C.NSString_inst_dataUsingEncoding( unsafe.Pointer(x.Pointer()), - C.ulong(enc), + C.ulong(encoding), ) - r0 = NSUInteger(ret) + r0 = NSData_fromPointer(ret) return } -func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( - enc NSStringEncoding, +func (x gen_NSString) DataUsingEncoding_allowLossyConversion( + encoding NSStringEncoding, + lossy bool, ) ( - r0 NSUInteger, + r0 NSData, ) { - ret := C.NSString_inst_maximumLengthOfBytesUsingEncoding( + ret := C.NSString_inst_dataUsingEncoding_allowLossyConversion( unsafe.Pointer(x.Pointer()), - C.ulong(enc), + C.ulong(encoding), + convertToObjCBool(lossy), ) - r0 = NSUInteger(ret) + r0 = NSData_fromPointer(ret) return } -func (x gen_NSString) CharacterAtIndex( - index NSUInteger, -) ( - r0 Unichar, +func (x gen_NSString) DrawInRect_withAttributes( + rect NSRect, + attrs NSDictionaryRef, ) { - ret := C.NSString_inst_characterAtIndex( + C.NSString_inst_drawInRect_withAttributes( unsafe.Pointer(x.Pointer()), - C.ulong(index), + *(*C.NSRect)(unsafe.Pointer(&rect)), + objc.RefPointer(attrs), ) - r0 = Unichar(ret) return } @@ -5280,98 +5278,103 @@ func (x gen_NSString) HasSuffix( return } -func (x gen_NSString) IsEqualToString( - aString NSStringRef, -) ( - r0 bool, +func (x gen_NSString) Init_asNSString() ( + r0 NSString, ) { - ret := C.NSString_inst_isEqualToString( + ret := C.NSString_inst_init( unsafe.Pointer(x.Pointer()), - objc.RefPointer(aString), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) StringByAppendingString( - aString NSStringRef, +func (x gen_NSString) InitWithBytes_length_encoding_asNSString( + bytes unsafe.Pointer, + len NSUInteger, + encoding NSStringEncoding, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByAppendingString( + ret := C.NSString_inst_initWithBytes_length_encoding( unsafe.Pointer(x.Pointer()), - objc.RefPointer(aString), + bytes, + C.ulong(len), + C.ulong(encoding), ) r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( - newLength NSUInteger, - padString NSStringRef, - padIndex NSUInteger, +func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString( + bytes unsafe.Pointer, + len NSUInteger, + encoding NSStringEncoding, + freeBuffer bool, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByPaddingToLength_withString_startingAtIndex( + ret := C.NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone( unsafe.Pointer(x.Pointer()), - C.ulong(newLength), - objc.RefPointer(padString), - C.ulong(padIndex), + bytes, + C.ulong(len), + C.ulong(encoding), + convertToObjCBool(freeBuffer), ) r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) ComponentsSeparatedByString( - separator NSStringRef, +func (x gen_NSString) InitWithData_encoding_asNSString( + data NSDataRef, + encoding NSStringEncoding, ) ( - r0 NSArray, + r0 NSString, ) { - ret := C.NSString_inst_componentsSeparatedByString( + ret := C.NSString_inst_initWithData_encoding( unsafe.Pointer(x.Pointer()), - objc.RefPointer(separator), + objc.RefPointer(data), + C.ulong(encoding), ) - r0 = NSArray_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) SubstringFromIndex( - from NSUInteger, +func (x gen_NSString) InitWithString_asNSString( + aString NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_substringFromIndex( + ret := C.NSString_inst_initWithString( unsafe.Pointer(x.Pointer()), - C.ulong(from), + objc.RefPointer(aString), ) r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) SubstringToIndex( - to NSUInteger, +func (x gen_NSString) IsEqualToString( + aString NSStringRef, ) ( - r0 NSString, + r0 bool, ) { - ret := C.NSString_inst_substringToIndex( + ret := C.NSString_inst_isEqualToString( unsafe.Pointer(x.Pointer()), - C.ulong(to), + objc.RefPointer(aString), ) - r0 = NSString_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSString) ContainsString( - str NSStringRef, +func (x gen_NSString) LengthOfBytesUsingEncoding( + enc NSStringEncoding, ) ( - r0 bool, + r0 NSUInteger, ) { - ret := C.NSString_inst_containsString( + ret := C.NSString_inst_lengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), - objc.RefPointer(str), + C.ulong(enc), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSUInteger(ret) return } @@ -5401,18 +5404,16 @@ func (x gen_NSString) LocalizedStandardContainsString( return } -func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( - target NSStringRef, - replacement NSStringRef, +func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( + enc NSStringEncoding, ) ( - r0 NSString, + r0 NSUInteger, ) { - ret := C.NSString_inst_stringByReplacingOccurrencesOfString_withString( + ret := C.NSString_inst_maximumLengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), - objc.RefPointer(target), - objc.RefPointer(replacement), + C.ulong(enc), ) - r0 = NSString_fromPointer(ret) + r0 = NSUInteger(ret) return } @@ -5436,140 +5437,139 @@ func (x gen_NSString) PropertyListFromStringsFileFormat() ( return } -func (x gen_NSString) DrawInRect_withAttributes( - rect NSRect, +func (x gen_NSString) SizeWithAttributes( attrs NSDictionaryRef, +) ( + r0 NSSize, ) { - C.NSString_inst_drawInRect_withAttributes( + ret := C.NSString_inst_sizeWithAttributes( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(attrs), ) + r0 = *(*NSSize)(unsafe.Pointer(&ret)) return } -func (x gen_NSString) SizeWithAttributes( - attrs NSDictionaryRef, +func (x gen_NSString) StringByAppendingPathComponent( + str NSStringRef, ) ( - r0 NSSize, + r0 NSString, ) { - ret := C.NSString_inst_sizeWithAttributes( + ret := C.NSString_inst_stringByAppendingPathComponent( unsafe.Pointer(x.Pointer()), - objc.RefPointer(attrs), + objc.RefPointer(str), ) - r0 = *(*NSSize)(unsafe.Pointer(&ret)) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) VariantFittingPresentationWidth( - width NSInteger, +func (x gen_NSString) StringByAppendingPathExtension( + str NSStringRef, ) ( r0 NSString, ) { - ret := C.NSString_inst_variantFittingPresentationWidth( + ret := C.NSString_inst_stringByAppendingPathExtension( unsafe.Pointer(x.Pointer()), - C.long(width), + objc.RefPointer(str), ) r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) CanBeConvertedToEncoding( - encoding NSStringEncoding, +func (x gen_NSString) StringByAppendingString( + aString NSStringRef, ) ( - r0 bool, + r0 NSString, ) { - ret := C.NSString_inst_canBeConvertedToEncoding( + ret := C.NSString_inst_stringByAppendingString( unsafe.Pointer(x.Pointer()), - C.ulong(encoding), + objc.RefPointer(aString), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) DataUsingEncoding( - encoding NSStringEncoding, +func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( + newLength NSUInteger, + padString NSStringRef, + padIndex NSUInteger, ) ( - r0 NSData, + r0 NSString, ) { - ret := C.NSString_inst_dataUsingEncoding( + ret := C.NSString_inst_stringByPaddingToLength_withString_startingAtIndex( unsafe.Pointer(x.Pointer()), - C.ulong(encoding), + C.ulong(newLength), + objc.RefPointer(padString), + C.ulong(padIndex), ) - r0 = NSData_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) DataUsingEncoding_allowLossyConversion( - encoding NSStringEncoding, - lossy bool, +func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( + target NSStringRef, + replacement NSStringRef, ) ( - r0 NSData, + r0 NSString, ) { - ret := C.NSString_inst_dataUsingEncoding_allowLossyConversion( + ret := C.NSString_inst_stringByReplacingOccurrencesOfString_withString( unsafe.Pointer(x.Pointer()), - C.ulong(encoding), - convertToObjCBool(lossy), + objc.RefPointer(target), + objc.RefPointer(replacement), ) - r0 = NSData_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes( - outputName NSStringRef, - flag bool, - outputArray NSArrayRef, - filterTypes NSArrayRef, +func (x gen_NSString) StringsByAppendingPaths( + paths NSArrayRef, ) ( - r0 NSUInteger, + r0 NSArray, ) { - ret := C.NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes( + ret := C.NSString_inst_stringsByAppendingPaths( unsafe.Pointer(x.Pointer()), - objc.RefPointer(outputName), - convertToObjCBool(flag), - objc.RefPointer(outputArray), - objc.RefPointer(filterTypes), + objc.RefPointer(paths), ) - r0 = NSUInteger(ret) + r0 = NSArray_fromPointer(ret) return } -func (x gen_NSString) StringByAppendingPathComponent( - str NSStringRef, +func (x gen_NSString) SubstringFromIndex( + from NSUInteger, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByAppendingPathComponent( + ret := C.NSString_inst_substringFromIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(str), + C.ulong(from), ) r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) StringByAppendingPathExtension( - str NSStringRef, +func (x gen_NSString) SubstringToIndex( + to NSUInteger, ) ( r0 NSString, ) { - ret := C.NSString_inst_stringByAppendingPathExtension( + ret := C.NSString_inst_substringToIndex( unsafe.Pointer(x.Pointer()), - objc.RefPointer(str), + C.ulong(to), ) r0 = NSString_fromPointer(ret) return } -func (x gen_NSString) StringsByAppendingPaths( - paths NSArrayRef, +func (x gen_NSString) VariantFittingPresentationWidth( + width NSInteger, ) ( - r0 NSArray, + r0 NSString, ) { - ret := C.NSString_inst_stringsByAppendingPaths( + ret := C.NSString_inst_variantFittingPresentationWidth( unsafe.Pointer(x.Pointer()), - objc.RefPointer(paths), + C.long(width), ) - r0 = NSArray_fromPointer(ret) + r0 = NSString_fromPointer(ret) return } @@ -5882,6 +5882,13 @@ func NSThread_fromRef(ref objc.Ref) NSThread { return NSThread_fromPointer(unsafe.Pointer(ref.Pointer())) } +func (x gen_NSThread) Cancel() { + C.NSThread_inst_cancel( + unsafe.Pointer(x.Pointer()), + ) + return +} + func (x gen_NSThread) Init_asNSThread() ( r0 NSThread, ) { @@ -5909,13 +5916,6 @@ func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( return } -func (x gen_NSThread) Start() { - C.NSThread_inst_start( - unsafe.Pointer(x.Pointer()), - ) - return -} - func (x gen_NSThread) Main() { C.NSThread_inst_main( unsafe.Pointer(x.Pointer()), @@ -5923,8 +5923,8 @@ func (x gen_NSThread) Main() { return } -func (x gen_NSThread) Cancel() { - C.NSThread_inst_cancel( +func (x gen_NSThread) Start() { + C.NSThread_inst_start( unsafe.Pointer(x.Pointer()), ) return @@ -6029,59 +6029,95 @@ func NSURL_fromRef(ref objc.Ref) NSURL { return NSURL_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSURL) InitWithString_asNSURL( - URLString NSStringRef, +func (x gen_NSURL) URLByAppendingPathComponent( + pathComponent NSStringRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initWithString( + ret := C.NSURL_inst_URLByAppendingPathComponent( unsafe.Pointer(x.Pointer()), - objc.RefPointer(URLString), + objc.RefPointer(pathComponent), ) r0 = NSURL_fromPointer(ret) return } -func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( - URLString NSStringRef, +func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( + pathComponent NSStringRef, + isDirectory bool, +) ( + r0 NSURL, +) { + ret := C.NSURL_inst_URLByAppendingPathComponent_isDirectory( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(pathComponent), + convertToObjCBool(isDirectory), + ) + r0 = NSURL_fromPointer(ret) + return +} + +func (x gen_NSURL) URLByAppendingPathExtension( + pathExtension NSStringRef, +) ( + r0 NSURL, +) { + ret := C.NSURL_inst_URLByAppendingPathExtension( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(pathExtension), + ) + r0 = NSURL_fromPointer(ret) + return +} + +func (x gen_NSURL) FileReferenceURL() ( + r0 NSURL, +) { + ret := C.NSURL_inst_fileReferenceURL( + unsafe.Pointer(x.Pointer()), + ) + r0 = NSURL_fromPointer(ret) + return +} + +func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( + data NSDataRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initWithString_relativeToURL( + ret := C.NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL( unsafe.Pointer(x.Pointer()), - objc.RefPointer(URLString), + objc.RefPointer(data), objc.RefPointer(baseURL), ) r0 = NSURL_fromPointer(ret) return } -func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( +func (x gen_NSURL) InitFileURLWithPath_asNSURL( path NSStringRef, - isDir bool, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath_isDirectory( + ret := C.NSURL_inst_initFileURLWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), - convertToObjCBool(isDir), ) r0 = NSURL_fromPointer(ret) return } -func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( +func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( path NSStringRef, - baseURL NSURLRef, + isDir bool, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath_relativeToURL( + ret := C.NSURL_inst_initFileURLWithPath_isDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), - objc.RefPointer(baseURL), + convertToObjCBool(isDir), ) r0 = NSURL_fromPointer(ret) return @@ -6104,26 +6140,28 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( return } -func (x gen_NSURL) InitFileURLWithPath_asNSURL( +func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( path NSStringRef, + baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initFileURLWithPath( + ret := C.NSURL_inst_initFileURLWithPath_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), + objc.RefPointer(baseURL), ) r0 = NSURL_fromPointer(ret) return } -func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( +func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL( + ret := C.NSURL_inst_initWithDataRepresentation_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), @@ -6132,15 +6170,28 @@ func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( return } -func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( - data NSDataRef, +func (x gen_NSURL) InitWithString_asNSURL( + URLString NSStringRef, +) ( + r0 NSURL, +) { + ret := C.NSURL_inst_initWithString( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(URLString), + ) + r0 = NSURL_fromPointer(ret) + return +} + +func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( + URLString NSStringRef, baseURL NSURLRef, ) ( r0 NSURL, ) { - ret := C.NSURL_inst_initWithDataRepresentation_relativeToURL( + ret := C.NSURL_inst_initWithString_relativeToURL( unsafe.Pointer(x.Pointer()), - objc.RefPointer(data), + objc.RefPointer(URLString), objc.RefPointer(baseURL), ) r0 = NSURL_fromPointer(ret) @@ -6164,78 +6215,27 @@ func (x gen_NSURL) RemoveAllCachedResourceValues() { return } -func (x gen_NSURL) FileReferenceURL() ( - r0 NSURL, +func (x gen_NSURL) StartAccessingSecurityScopedResource() ( + r0 bool, ) { - ret := C.NSURL_inst_fileReferenceURL( + ret := C.NSURL_inst_startAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSURL) URLByAppendingPathComponent( - pathComponent NSStringRef, -) ( - r0 NSURL, -) { - ret := C.NSURL_inst_URLByAppendingPathComponent( +func (x gen_NSURL) StopAccessingSecurityScopedResource() { + C.NSURL_inst_stopAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), - objc.RefPointer(pathComponent), ) - r0 = NSURL_fromPointer(ret) return } -func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( - pathComponent NSStringRef, - isDirectory bool, -) ( +func (x gen_NSURL) Init_asNSURL() ( r0 NSURL, ) { - ret := C.NSURL_inst_URLByAppendingPathComponent_isDirectory( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(pathComponent), - convertToObjCBool(isDirectory), - ) - r0 = NSURL_fromPointer(ret) - return -} - -func (x gen_NSURL) URLByAppendingPathExtension( - pathExtension NSStringRef, -) ( - r0 NSURL, -) { - ret := C.NSURL_inst_URLByAppendingPathExtension( - unsafe.Pointer(x.Pointer()), - objc.RefPointer(pathExtension), - ) - r0 = NSURL_fromPointer(ret) - return -} - -func (x gen_NSURL) StartAccessingSecurityScopedResource() ( - r0 bool, -) { - ret := C.NSURL_inst_startAccessingSecurityScopedResource( - unsafe.Pointer(x.Pointer()), - ) - r0 = convertObjCBoolToGo(ret) - return -} - -func (x gen_NSURL) StopAccessingSecurityScopedResource() { - C.NSURL_inst_stopAccessingSecurityScopedResource( - unsafe.Pointer(x.Pointer()), - ) - return -} - -func (x gen_NSURL) Init_asNSURL() ( - r0 NSURL, -) { - ret := C.NSURL_inst_init( + ret := C.NSURL_inst_init( unsafe.Pointer(x.Pointer()), ) r0 = NSURL_fromPointer(ret) @@ -6686,65 +6686,65 @@ func NSUserDefaults_fromRef(ref objc.Ref) NSUserDefaults { return NSUserDefaults_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSUserDefaults) Init_asNSUserDefaults() ( - r0 NSUserDefaults, +func (x gen_NSUserDefaults) URLForKey( + defaultName NSStringRef, +) ( + r0 NSURL, ) { - ret := C.NSUserDefaults_inst_init( + ret := C.NSUserDefaults_inst_URLForKey( unsafe.Pointer(x.Pointer()), + objc.RefPointer(defaultName), ) - r0 = NSUserDefaults_fromPointer(ret) + r0 = NSURL_fromPointer(ret) return } -func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( - suitename NSStringRef, -) ( - r0 NSUserDefaults, +func (x gen_NSUserDefaults) AddSuiteNamed( + suiteName NSStringRef, ) { - ret := C.NSUserDefaults_inst_initWithSuiteName( + C.NSUserDefaults_inst_addSuiteNamed( unsafe.Pointer(x.Pointer()), - objc.RefPointer(suitename), + objc.RefPointer(suiteName), ) - r0 = NSUserDefaults_fromPointer(ret) return } -func (x gen_NSUserDefaults) ObjectForKey( +func (x gen_NSUserDefaults) ArrayForKey( defaultName NSStringRef, ) ( - r0 objc.Object, + r0 NSArray, ) { - ret := C.NSUserDefaults_inst_objectForKey( + ret := C.NSUserDefaults_inst_arrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = objc.Object_fromPointer(ret) + r0 = NSArray_fromPointer(ret) return } -func (x gen_NSUserDefaults) URLForKey( +func (x gen_NSUserDefaults) BoolForKey( defaultName NSStringRef, ) ( - r0 NSURL, + r0 bool, ) { - ret := C.NSUserDefaults_inst_URLForKey( + ret := C.NSUserDefaults_inst_boolForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSURL_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSUserDefaults) ArrayForKey( +func (x gen_NSUserDefaults) DataForKey( defaultName NSStringRef, ) ( - r0 NSArray, + r0 NSData, ) { - ret := C.NSUserDefaults_inst_arrayForKey( + ret := C.NSUserDefaults_inst_dataForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSArray_fromPointer(ret) + r0 = NSData_fromPointer(ret) return } @@ -6761,214 +6761,213 @@ func (x gen_NSUserDefaults) DictionaryForKey( return } -func (x gen_NSUserDefaults) StringForKey( - defaultName NSStringRef, -) ( - r0 NSString, +func (x gen_NSUserDefaults) DictionaryRepresentation() ( + r0 NSDictionary, ) { - ret := C.NSUserDefaults_inst_stringForKey( + ret := C.NSUserDefaults_inst_dictionaryRepresentation( unsafe.Pointer(x.Pointer()), - objc.RefPointer(defaultName), ) - r0 = NSString_fromPointer(ret) + r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSUserDefaults) StringArrayForKey( - defaultName NSStringRef, -) ( - r0 NSArray, +func (x gen_NSUserDefaults) Init_asNSUserDefaults() ( + r0 NSUserDefaults, ) { - ret := C.NSUserDefaults_inst_stringArrayForKey( + ret := C.NSUserDefaults_inst_init( unsafe.Pointer(x.Pointer()), - objc.RefPointer(defaultName), ) - r0 = NSArray_fromPointer(ret) + r0 = NSUserDefaults_fromPointer(ret) return } -func (x gen_NSUserDefaults) DataForKey( - defaultName NSStringRef, +func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( + suitename NSStringRef, ) ( - r0 NSData, + r0 NSUserDefaults, ) { - ret := C.NSUserDefaults_inst_dataForKey( + ret := C.NSUserDefaults_inst_initWithSuiteName( unsafe.Pointer(x.Pointer()), - objc.RefPointer(defaultName), + objc.RefPointer(suitename), ) - r0 = NSData_fromPointer(ret) + r0 = NSUserDefaults_fromPointer(ret) return } -func (x gen_NSUserDefaults) BoolForKey( +func (x gen_NSUserDefaults) IntegerForKey( defaultName NSStringRef, ) ( - r0 bool, + r0 NSInteger, ) { - ret := C.NSUserDefaults_inst_boolForKey( + ret := C.NSUserDefaults_inst_integerForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSInteger(ret) return } -func (x gen_NSUserDefaults) IntegerForKey( +func (x gen_NSUserDefaults) ObjectForKey( defaultName NSStringRef, ) ( - r0 NSInteger, + r0 objc.Object, ) { - ret := C.NSUserDefaults_inst_integerForKey( + ret := C.NSUserDefaults_inst_objectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSInteger(ret) + r0 = objc.Object_fromPointer(ret) return } -func (x gen_NSUserDefaults) DictionaryRepresentation() ( - r0 NSDictionary, +func (x gen_NSUserDefaults) ObjectIsForcedForKey( + key NSStringRef, +) ( + r0 bool, ) { - ret := C.NSUserDefaults_inst_dictionaryRepresentation( + ret := C.NSUserDefaults_inst_objectIsForcedForKey( unsafe.Pointer(x.Pointer()), + objc.RefPointer(key), ) - r0 = NSDictionary_fromPointer(ret) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSUserDefaults) SetObject_forKey( - value objc.Ref, - defaultName NSStringRef, +func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( + key NSStringRef, + domain NSStringRef, +) ( + r0 bool, ) { - C.NSUserDefaults_inst_setObject_forKey( + ret := C.NSUserDefaults_inst_objectIsForcedForKey_inDomain( unsafe.Pointer(x.Pointer()), - objc.RefPointer(value), - objc.RefPointer(defaultName), + objc.RefPointer(key), + objc.RefPointer(domain), ) + r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSUserDefaults) SetInteger_forKey( - value NSInteger, - defaultName NSStringRef, +func (x gen_NSUserDefaults) PersistentDomainForName( + domainName NSStringRef, +) ( + r0 NSDictionary, ) { - C.NSUserDefaults_inst_setInteger_forKey( + ret := C.NSUserDefaults_inst_persistentDomainForName( unsafe.Pointer(x.Pointer()), - C.long(value), - objc.RefPointer(defaultName), + objc.RefPointer(domainName), ) + r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSUserDefaults) SetBool_forKey( - value bool, - defaultName NSStringRef, +func (x gen_NSUserDefaults) RegisterDefaults( + registrationDictionary NSDictionaryRef, ) { - C.NSUserDefaults_inst_setBool_forKey( + C.NSUserDefaults_inst_registerDefaults( unsafe.Pointer(x.Pointer()), - convertToObjCBool(value), - objc.RefPointer(defaultName), + objc.RefPointer(registrationDictionary), ) return } -func (x gen_NSUserDefaults) SetURL_forKey( - url NSURLRef, +func (x gen_NSUserDefaults) RemoveObjectForKey( defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setURL_forKey( + C.NSUserDefaults_inst_removeObjectForKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(url), objc.RefPointer(defaultName), ) return } -func (x gen_NSUserDefaults) RemoveObjectForKey( - defaultName NSStringRef, +func (x gen_NSUserDefaults) RemovePersistentDomainForName( + domainName NSStringRef, ) { - C.NSUserDefaults_inst_removeObjectForKey( + C.NSUserDefaults_inst_removePersistentDomainForName( unsafe.Pointer(x.Pointer()), - objc.RefPointer(defaultName), + objc.RefPointer(domainName), ) return } -func (x gen_NSUserDefaults) AddSuiteNamed( +func (x gen_NSUserDefaults) RemoveSuiteNamed( suiteName NSStringRef, ) { - C.NSUserDefaults_inst_addSuiteNamed( + C.NSUserDefaults_inst_removeSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) return } -func (x gen_NSUserDefaults) RemoveSuiteNamed( - suiteName NSStringRef, +func (x gen_NSUserDefaults) RemoveVolatileDomainForName( + domainName NSStringRef, ) { - C.NSUserDefaults_inst_removeSuiteNamed( + C.NSUserDefaults_inst_removeVolatileDomainForName( unsafe.Pointer(x.Pointer()), - objc.RefPointer(suiteName), + objc.RefPointer(domainName), ) return } -func (x gen_NSUserDefaults) RegisterDefaults( - registrationDictionary NSDictionaryRef, +func (x gen_NSUserDefaults) SetBool_forKey( + value bool, + defaultName NSStringRef, ) { - C.NSUserDefaults_inst_registerDefaults( + C.NSUserDefaults_inst_setBool_forKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(registrationDictionary), + convertToObjCBool(value), + objc.RefPointer(defaultName), ) return } -func (x gen_NSUserDefaults) PersistentDomainForName( - domainName NSStringRef, -) ( - r0 NSDictionary, +func (x gen_NSUserDefaults) SetInteger_forKey( + value NSInteger, + defaultName NSStringRef, ) { - ret := C.NSUserDefaults_inst_persistentDomainForName( + C.NSUserDefaults_inst_setInteger_forKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(domainName), + C.long(value), + objc.RefPointer(defaultName), ) - r0 = NSDictionary_fromPointer(ret) return } -func (x gen_NSUserDefaults) SetPersistentDomain_forName( - domain NSDictionaryRef, - domainName NSStringRef, +func (x gen_NSUserDefaults) SetObject_forKey( + value objc.Ref, + defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setPersistentDomain_forName( + C.NSUserDefaults_inst_setObject_forKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(domain), - objc.RefPointer(domainName), + objc.RefPointer(value), + objc.RefPointer(defaultName), ) return } -func (x gen_NSUserDefaults) RemovePersistentDomainForName( +func (x gen_NSUserDefaults) SetPersistentDomain_forName( + domain NSDictionaryRef, domainName NSStringRef, ) { - C.NSUserDefaults_inst_removePersistentDomainForName( + C.NSUserDefaults_inst_setPersistentDomain_forName( unsafe.Pointer(x.Pointer()), + objc.RefPointer(domain), objc.RefPointer(domainName), ) return } -func (x gen_NSUserDefaults) VolatileDomainForName( - domainName NSStringRef, -) ( - r0 NSDictionary, +func (x gen_NSUserDefaults) SetURL_forKey( + url NSURLRef, + defaultName NSStringRef, ) { - ret := C.NSUserDefaults_inst_volatileDomainForName( + C.NSUserDefaults_inst_setURL_forKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(domainName), + objc.RefPointer(url), + objc.RefPointer(defaultName), ) - r0 = NSDictionary_fromPointer(ret) return } @@ -6984,51 +6983,52 @@ func (x gen_NSUserDefaults) SetVolatileDomain_forName( return } -func (x gen_NSUserDefaults) RemoveVolatileDomainForName( - domainName NSStringRef, +func (x gen_NSUserDefaults) StringArrayForKey( + defaultName NSStringRef, +) ( + r0 NSArray, ) { - C.NSUserDefaults_inst_removeVolatileDomainForName( + ret := C.NSUserDefaults_inst_stringArrayForKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(domainName), + objc.RefPointer(defaultName), ) + r0 = NSArray_fromPointer(ret) return } -func (x gen_NSUserDefaults) ObjectIsForcedForKey( - key NSStringRef, +func (x gen_NSUserDefaults) StringForKey( + defaultName NSStringRef, ) ( - r0 bool, + r0 NSString, ) { - ret := C.NSUserDefaults_inst_objectIsForcedForKey( + ret := C.NSUserDefaults_inst_stringForKey( unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), + objc.RefPointer(defaultName), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSString_fromPointer(ret) return } -func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( - key NSStringRef, - domain NSStringRef, -) ( +func (x gen_NSUserDefaults) Synchronize() ( r0 bool, ) { - ret := C.NSUserDefaults_inst_objectIsForcedForKey_inDomain( + ret := C.NSUserDefaults_inst_synchronize( unsafe.Pointer(x.Pointer()), - objc.RefPointer(key), - objc.RefPointer(domain), ) r0 = convertObjCBoolToGo(ret) return } -func (x gen_NSUserDefaults) Synchronize() ( - r0 bool, +func (x gen_NSUserDefaults) VolatileDomainForName( + domainName NSStringRef, +) ( + r0 NSDictionary, ) { - ret := C.NSUserDefaults_inst_synchronize( + ret := C.NSUserDefaults_inst_volatileDomainForName( unsafe.Pointer(x.Pointer()), + objc.RefPointer(domainName), ) - r0 = convertObjCBoolToGo(ret) + r0 = NSDictionary_fromPointer(ret) return } diff --git a/gen/convert.go b/gen/convert.go index d0e18119..c0af6999 100644 --- a/gen/convert.go +++ b/gen/convert.go @@ -39,6 +39,7 @@ func processClassSchema(pkg *GoPackage, s *schema.Schema, imports []PackageConte Class: *s.Class, Imports: imports, consumedImports: consumedImports, + generatedNames: map[string]string{}, } classDef := ClassDef{ Name: cb.Class.Name, @@ -59,8 +60,9 @@ func processClassSchema(pkg *GoPackage, s *schema.Schema, imports []PackageConte defer ignoreIfUnimplemented(fmt.Sprintf("%s.%s", s.Class.Name, m.Name)) msg := cb.msgSend(m, true) + ident := selectorNameToGoIdent(cb.generatedNames, m.Name) wrapper := MethodDef{ - Name: fmt.Sprintf("%s_%s", cb.Class.Name, selectorNameToGoIdent(m.Name)), + Name: fmt.Sprintf("%s_%s", cb.Class.Name, ident), WrappedFunc: cb.cgoWrapperFunc(m, true), } diff --git a/gen/gen.go b/gen/gen.go index 7157301d..5ccdc7d6 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -20,17 +20,30 @@ func isVoid(dt schema.DataType) bool { return dt.Name == "void" && !dt.IsPtr && !dt.IsPtrPtr } -func msgSendFuncName(cls schema.Class, selector string, isTypeMethod bool) string { +func msgSendFuncName(generatedNames map[string]string, cls schema.Class, selector string, isTypeMethod bool) string { target := "inst" if isTypeMethod { target = "type" } - return fmt.Sprintf("%s_%s_%s", cls.Name, target, selectorNameToGoIdent(selector)) + return fmt.Sprintf("%s_%s_%s", cls.Name, target, selectorNameToGoIdent(generatedNames, selector)) } -func selectorNameToGoIdent(sel string) string { +func selectorNameToGoIdent(generatedNames map[string]string, sel string) string { + fmt.Println("selectorNameToGoIdent", sel) + if ident, ok := generatedNames[sel]; ok { + return ident + } ident := strings.ReplaceAll(sel, ":", "_") - ident = strings.TrimRight(ident, "_") + + if strings.HasSuffix(sel, ":") { + trimmedSel := strings.TrimSuffix(sel, ":") + if _, ok := generatedNames[trimmedSel]; !ok { + ident = strings.TrimSuffix(ident, "_") + generatedNames[sel] = ident + return ident + } + } + generatedNames[sel] = ident return ident } diff --git a/gen/gen_class_builder.go b/gen/gen_class_builder.go index 889227a0..fc6b2e77 100644 --- a/gen/gen_class_builder.go +++ b/gen/gen_class_builder.go @@ -2,6 +2,7 @@ package gen import ( "fmt" + "sort" "strings" "github.com/progrium/macschema/schema" @@ -11,6 +12,8 @@ type classBuilder struct { Class schema.Class Imports []PackageContents consumedImports map[Import]bool + + generatedNames map[string]string } func (cb *classBuilder) EachTypeMethod(f func(schema.Method)) { @@ -30,6 +33,10 @@ func (cb *classBuilder) EachTypeMethod(f func(schema.Method)) { func (cb *classBuilder) EachInstanceMethod(f func(schema.Method)) { seen := make(map[string]bool) + // sort methods by name so that the order is deterministic + sort.Slice(cb.Class.InstanceMethods, func(i, j int) bool { + return cb.Class.InstanceMethods[i].Name < cb.Class.InstanceMethods[j].Name + }) for _, m := range cb.Class.InstanceMethods { seen[m.Name] = true f(m) @@ -56,7 +63,7 @@ func (cb *classBuilder) EachInstanceMethod(f func(schema.Method)) { func (cb *classBuilder) instanceMethod(method schema.Method) MethodDef { r := MethodDef{ - Name: toExportedName(selectorNameToGoIdent(method.Name)), + Name: toExportedName(selectorNameToGoIdent(cb.generatedNames, method.Name)), WrappedFunc: cb.cgoWrapperFunc(method, false), } if isInstanceType(method.Return) { @@ -67,7 +74,7 @@ func (cb *classBuilder) instanceMethod(method schema.Method) MethodDef { func (cb *classBuilder) msgSend(method schema.Method, isTypeMethod bool) CGoMsgSend { msg := CGoMsgSend{ - Name: msgSendFuncName(cb.Class, method.Name, isTypeMethod), + Name: msgSendFuncName(cb.generatedNames, cb.Class, method.Name, isTypeMethod), Class: cb.Class.Name, Return: cb.toMsgSendReturn(method.Return), } @@ -101,7 +108,7 @@ func (cb *classBuilder) toMsgSendReturn(dt schema.DataType) string { func (cb *classBuilder) cgoWrapperFunc(method schema.Method, isTypeMethod bool) CGoWrapperFunc { r := CGoWrapperFunc{ - Name: msgSendFuncName(cb.Class, method.Name, isTypeMethod), + Name: msgSendFuncName(cb.generatedNames, cb.Class, method.Name, isTypeMethod), Args: []CGoWrapperArg{}, Returns: cb.toCGoWrapperReturn(method.Return), } diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index 9e4c7d97..c336cae3 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -68,21 +68,44 @@ BOOL WKUserScript_inst_isForMainFrameOnly(void *id) { isForMainFrameOnly]; } +void* WKWebView_inst_goBack(void *id) { + return [(WKWebView*)id + goBack]; +} + +void WKWebView_inst_goBack_(void *id, void* sender) { + [(WKWebView*)id + goBack: sender]; +} + +void* WKWebView_inst_goForward(void *id) { + return [(WKWebView*)id + goForward]; +} + +void WKWebView_inst_goForward_(void *id, void* sender) { + [(WKWebView*)id + goForward: sender]; +} + void* WKWebView_inst_initWithFrame_configuration(void *id, NSRect frame, void* configuration) { return [(WKWebView*)id initWithFrame: frame configuration: configuration]; } -void* WKWebView_inst_loadRequest(void *id, void* request) { +void* WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL(void *id, void* data, void* MIMEType, void* characterEncodingName, void* baseURL) { return [(WKWebView*)id - loadRequest: request]; + loadData: data + MIMEType: MIMEType + characterEncodingName: characterEncodingName + baseURL: baseURL]; } -void* WKWebView_inst_loadHTMLString_baseURL(void *id, void* string, void* baseURL) { +void* WKWebView_inst_loadFileRequest_allowingReadAccessToURL(void *id, void* request, void* readAccessURL) { return [(WKWebView*)id - loadHTMLString: string - baseURL: baseURL]; + loadFileRequest: request + allowingReadAccessToURL: readAccessURL]; } void* WKWebView_inst_loadFileURL_allowingReadAccessToURL(void *id, void* URL, void* readAccessURL) { @@ -91,20 +114,29 @@ void* WKWebView_inst_loadFileURL_allowingReadAccessToURL(void *id, void* URL, vo allowingReadAccessToURL: readAccessURL]; } -void* WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL(void *id, void* data, void* MIMEType, void* characterEncodingName, void* baseURL) { +void* WKWebView_inst_loadHTMLString_baseURL(void *id, void* string, void* baseURL) { return [(WKWebView*)id - loadData: data - MIMEType: MIMEType - characterEncodingName: characterEncodingName + loadHTMLString: string baseURL: baseURL]; } +void* WKWebView_inst_loadRequest(void *id, void* request) { + return [(WKWebView*)id + loadRequest: request]; +} + +void* WKWebView_inst_loadSimulatedRequest_responseHTMLString(void *id, void* request, void* string) { + return [(WKWebView*)id + loadSimulatedRequest: request + responseHTMLString: string]; +} + void* WKWebView_inst_reload(void *id) { return [(WKWebView*)id reload]; } -void WKWebView_inst_reload(void *id, void* sender) { +void WKWebView_inst_reload_(void *id, void* sender) { [(WKWebView*)id reload: sender]; } @@ -114,7 +146,7 @@ void* WKWebView_inst_reloadFromOrigin(void *id) { reloadFromOrigin]; } -void WKWebView_inst_reloadFromOrigin(void *id, void* sender) { +void WKWebView_inst_reloadFromOrigin_(void *id, void* sender) { [(WKWebView*)id reloadFromOrigin: sender]; } @@ -124,43 +156,11 @@ void WKWebView_inst_stopLoading(void *id) { stopLoading]; } -void WKWebView_inst_stopLoading(void *id, void* sender) { +void WKWebView_inst_stopLoading_(void *id, void* sender) { [(WKWebView*)id stopLoading: sender]; } -void WKWebView_inst_goBack(void *id, void* sender) { - [(WKWebView*)id - goBack: sender]; -} - -void* WKWebView_inst_goBack(void *id) { - return [(WKWebView*)id - goBack]; -} - -void WKWebView_inst_goForward(void *id, void* sender) { - [(WKWebView*)id - goForward: sender]; -} - -void* WKWebView_inst_goForward(void *id) { - return [(WKWebView*)id - goForward]; -} - -void* WKWebView_inst_loadFileRequest_allowingReadAccessToURL(void *id, void* request, void* readAccessURL) { - return [(WKWebView*)id - loadFileRequest: request - allowingReadAccessToURL: readAccessURL]; -} - -void* WKWebView_inst_loadSimulatedRequest_responseHTMLString(void *id, void* request, void* string) { - return [(WKWebView*)id - loadSimulatedRequest: request - responseHTMLString: string]; -} - void* WKWebView_inst_init(void *id) { return [(WKWebView*)id init]; @@ -628,61 +628,58 @@ func WKWebView_fromRef(ref objc.Ref) WKWebView { return WKWebView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( - frame core.NSRect, - configuration WKWebViewConfigurationRef, -) ( - r0 WKWebView, +func (x gen_WKWebView) GoBack() ( + r0 WKNavigation, ) { - ret := C.WKWebView_inst_initWithFrame_configuration( + ret := C.WKWebView_inst_goBack( unsafe.Pointer(x.Pointer()), - *(*C.NSRect)(unsafe.Pointer(&frame)), - objc.RefPointer(configuration), ) - r0 = WKWebView_fromPointer(ret) + r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) LoadRequest( - request core.NSURLRequestRef, -) ( - r0 WKNavigation, +func (x gen_WKWebView) GoBack_( + sender objc.Ref, ) { - ret := C.WKWebView_inst_loadRequest( + C.WKWebView_inst_goBack_( unsafe.Pointer(x.Pointer()), - objc.RefPointer(request), + objc.RefPointer(sender), ) - r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) LoadHTMLString_baseURL( - string core.NSStringRef, - baseURL core.NSURLRef, -) ( +func (x gen_WKWebView) GoForward() ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_loadHTMLString_baseURL( + ret := C.WKWebView_inst_goForward( unsafe.Pointer(x.Pointer()), - objc.RefPointer(string), - objc.RefPointer(baseURL), ) r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( - URL core.NSURLRef, - readAccessURL core.NSURLRef, +func (x gen_WKWebView) GoForward_( + sender objc.Ref, +) { + C.WKWebView_inst_goForward_( + unsafe.Pointer(x.Pointer()), + objc.RefPointer(sender), + ) + return +} + +func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( + frame core.NSRect, + configuration WKWebViewConfigurationRef, ) ( - r0 WKNavigation, + r0 WKWebView, ) { - ret := C.WKWebView_inst_loadFileURL_allowingReadAccessToURL( + ret := C.WKWebView_inst_initWithFrame_configuration( unsafe.Pointer(x.Pointer()), - objc.RefPointer(URL), - objc.RefPointer(readAccessURL), + *(*C.NSRect)(unsafe.Pointer(&frame)), + objc.RefPointer(configuration), ) - r0 = WKNavigation_fromPointer(ret) + r0 = WKWebView_fromPointer(ret) return } @@ -705,130 +702,133 @@ func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( return } -func (x gen_WKWebView) Reload() ( +func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( + request core.NSURLRequestRef, + readAccessURL core.NSURLRef, +) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_reload( + ret := C.WKWebView_inst_loadFileRequest_allowingReadAccessToURL( unsafe.Pointer(x.Pointer()), + objc.RefPointer(request), + objc.RefPointer(readAccessURL), ) r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) Reload( - sender objc.Ref, +func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( + URL core.NSURLRef, + readAccessURL core.NSURLRef, +) ( + r0 WKNavigation, ) { - C.WKWebView_inst_reload( + ret := C.WKWebView_inst_loadFileURL_allowingReadAccessToURL( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + objc.RefPointer(URL), + objc.RefPointer(readAccessURL), ) + r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) ReloadFromOrigin() ( +func (x gen_WKWebView) LoadHTMLString_baseURL( + string core.NSStringRef, + baseURL core.NSURLRef, +) ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_reloadFromOrigin( + ret := C.WKWebView_inst_loadHTMLString_baseURL( unsafe.Pointer(x.Pointer()), + objc.RefPointer(string), + objc.RefPointer(baseURL), ) r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) ReloadFromOrigin( - sender objc.Ref, +func (x gen_WKWebView) LoadRequest( + request core.NSURLRequestRef, +) ( + r0 WKNavigation, ) { - C.WKWebView_inst_reloadFromOrigin( + ret := C.WKWebView_inst_loadRequest( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), + objc.RefPointer(request), ) + r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) StopLoading() { - C.WKWebView_inst_stopLoading( +func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( + request core.NSURLRequestRef, + string core.NSStringRef, +) ( + r0 WKNavigation, +) { + ret := C.WKWebView_inst_loadSimulatedRequest_responseHTMLString( unsafe.Pointer(x.Pointer()), + objc.RefPointer(request), + objc.RefPointer(string), ) + r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) StopLoading( - sender objc.Ref, +func (x gen_WKWebView) Reload() ( + r0 WKNavigation, ) { - C.WKWebView_inst_stopLoading( + ret := C.WKWebView_inst_reload( unsafe.Pointer(x.Pointer()), - objc.RefPointer(sender), ) + r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) GoBack( +func (x gen_WKWebView) Reload_( sender objc.Ref, ) { - C.WKWebView_inst_goBack( + C.WKWebView_inst_reload_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_WKWebView) GoBack() ( +func (x gen_WKWebView) ReloadFromOrigin() ( r0 WKNavigation, ) { - ret := C.WKWebView_inst_goBack( + ret := C.WKWebView_inst_reloadFromOrigin( unsafe.Pointer(x.Pointer()), ) r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) GoForward( +func (x gen_WKWebView) ReloadFromOrigin_( sender objc.Ref, ) { - C.WKWebView_inst_goForward( + C.WKWebView_inst_reloadFromOrigin_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return } -func (x gen_WKWebView) GoForward() ( - r0 WKNavigation, -) { - ret := C.WKWebView_inst_goForward( - unsafe.Pointer(x.Pointer()), - ) - r0 = WKNavigation_fromPointer(ret) - return -} - -func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( - request core.NSURLRequestRef, - readAccessURL core.NSURLRef, -) ( - r0 WKNavigation, -) { - ret := C.WKWebView_inst_loadFileRequest_allowingReadAccessToURL( +func (x gen_WKWebView) StopLoading() { + C.WKWebView_inst_stopLoading( unsafe.Pointer(x.Pointer()), - objc.RefPointer(request), - objc.RefPointer(readAccessURL), ) - r0 = WKNavigation_fromPointer(ret) return } -func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( - request core.NSURLRequestRef, - string core.NSStringRef, -) ( - r0 WKNavigation, +func (x gen_WKWebView) StopLoading_( + sender objc.Ref, ) { - ret := C.WKWebView_inst_loadSimulatedRequest_responseHTMLString( + C.WKWebView_inst_stopLoading_( unsafe.Pointer(x.Pointer()), - objc.RefPointer(request), - objc.RefPointer(string), + objc.RefPointer(sender), ) - r0 = WKNavigation_fromPointer(ret) return } From cf6ee3fd06380bda931b0d4fa458451e93f488f8 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 14:08:56 -0700 Subject: [PATCH 06/13] macdriver: improve ergonomics of generated code --- cocoa/cocoa_objc.gen.go | 1442 ++++++++++++++++++------------------- core/core_objc.gen.go | 779 ++++++++++---------- gen/convert.go | 1 + gen/gen.go | 1 - gen/gen_class_builder.go | 7 +- gen/model.go | 8 +- gen/template/package.tmpl | 21 +- webkit/webkit_objc.gen.go | 63 +- 8 files changed, 1150 insertions(+), 1172 deletions(-) diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index c678d708..07b50096 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -7527,1278 +7527,1266 @@ func convertToObjCBool(b bool) C.BOOL { return C.cocoa_objc_bool_false } -func NSBundle_alloc() ( - r0 NSBundle, -) { +// NSBundle_alloc +func NSBundle_alloc() NSBundle { ret := C.NSBundle_type_alloc() - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func NSBundle_bundleWithURL( - url core.NSURLRef, -) ( - r0 NSBundle, -) { +// NSBundle_bundleWithURL Returns an NSBundle object that corresponds to the specified file URL. +// https://developer.apple.com/documentation/foundation/nsbundle/1494992-bundlewithurl?language=objc +func NSBundle_bundleWithURL(url core.NSURLRef) NSBundle { ret := C.NSBundle_type_bundleWithURL( objc.RefPointer(url), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func NSBundle_bundleWithPath( - path core.NSStringRef, -) ( - r0 NSBundle, -) { +// NSBundle_bundleWithPath Returns an NSBundle object that corresponds to the specified directory. +// https://developer.apple.com/documentation/foundation/nsbundle/1495012-bundlewithpath?language=objc +func NSBundle_bundleWithPath(path core.NSStringRef) NSBundle { ret := C.NSBundle_type_bundleWithPath( objc.RefPointer(path), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func NSBundle_bundleWithIdentifier( - identifier core.NSStringRef, -) ( - r0 NSBundle, -) { +// NSBundle_bundleWithIdentifier Returns the NSBundle instance that has the specified bundle identifier. +// https://developer.apple.com/documentation/foundation/nsbundle/1411929-bundlewithidentifier?language=objc +func NSBundle_bundleWithIdentifier(identifier core.NSStringRef) NSBundle { ret := C.NSBundle_type_bundleWithIdentifier( objc.RefPointer(identifier), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL( - name core.NSStringRef, - ext core.NSStringRef, - subpath core.NSStringRef, - bundleURL core.NSURLRef, -) ( - r0 core.NSURL, -) { +// NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL Creates and returns a file URL for the resource with the specified name and extension in the specified bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1416361-urlforresource?language=objc +func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSURL { ret := C.NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL( objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(bundleURL), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL( - ext core.NSStringRef, - subpath core.NSStringRef, - bundleURL core.NSURLRef, -) ( - r0 core.NSArray, -) { +// NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL Returns an array containing the file URLs for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1409807-urlsforresourceswithextension?language=objc +func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSArray { ret := C.NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL( objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(bundleURL), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSBundle_pathForResource_ofType_inDirectory( - name core.NSStringRef, - ext core.NSStringRef, - bundlePath core.NSStringRef, -) ( - r0 core.NSString, -) { +// NSBundle_pathForResource_ofType_inDirectory Returns the full pathname for the resource file identified by the specified name and extension and residing in a given bundle directory. +// https://developer.apple.com/documentation/foundation/nsbundle/1409523-pathforresource?language=objc +func NSBundle_pathForResource_ofType_inDirectory(name core.NSStringRef, ext core.NSStringRef, bundlePath core.NSStringRef) core.NSString { ret := C.NSBundle_type_pathForResource_ofType_inDirectory( objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(bundlePath), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func NSBundle_pathsForResourcesOfType_inDirectory( - ext core.NSStringRef, - bundlePath core.NSStringRef, -) ( - r0 core.NSArray, -) { +// NSBundle_pathsForResourcesOfType_inDirectory Returns an array containing the pathnames for all bundle resources having the specified extension and residing in the bundle directory at the specified path. +// https://developer.apple.com/documentation/foundation/nsbundle/1415876-pathsforresourcesoftype?language=objc +func NSBundle_pathsForResourcesOfType_inDirectory(ext core.NSStringRef, bundlePath core.NSStringRef) core.NSArray { ret := C.NSBundle_type_pathsForResourcesOfType_inDirectory( objc.RefPointer(ext), objc.RefPointer(bundlePath), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSBundle_preferredLocalizationsFromArray( - localizationsArray core.NSArrayRef, -) ( - r0 core.NSArray, -) { +// NSBundle_preferredLocalizationsFromArray Returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user. +// https://developer.apple.com/documentation/foundation/nsbundle/1417249-preferredlocalizationsfromarray?language=objc +func NSBundle_preferredLocalizationsFromArray(localizationsArray core.NSArrayRef) core.NSArray { ret := C.NSBundle_type_preferredLocalizationsFromArray( objc.RefPointer(localizationsArray), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSBundle_preferredLocalizationsFromArray_forPreferences( - localizationsArray core.NSArrayRef, - preferencesArray core.NSArrayRef, -) ( - r0 core.NSArray, -) { +// NSBundle_preferredLocalizationsFromArray_forPreferences Returns locale identifiers for which a bundle would provide localized content, given a specified list of candidates for a user's language preferences. +// https://developer.apple.com/documentation/foundation/nsbundle/1409418-preferredlocalizationsfromarray?language=objc +func NSBundle_preferredLocalizationsFromArray_forPreferences(localizationsArray core.NSArrayRef, preferencesArray core.NSArrayRef) core.NSArray { ret := C.NSBundle_type_preferredLocalizationsFromArray_forPreferences( objc.RefPointer(localizationsArray), objc.RefPointer(preferencesArray), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSBundle_mainBundle() ( - r0 NSBundle, -) { +// NSBundle_mainBundle Returns the bundle object that contains the current executable. +// https://developer.apple.com/documentation/foundation/nsbundle/1410786-mainbundle?language=objc +func NSBundle_mainBundle() NSBundle { ret := C.NSBundle_type_mainBundle() - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func NSBundle_allFrameworks() ( - r0 core.NSArray, -) { +// NSBundle_allFrameworks Returns an array of all of the application’s bundles that represent frameworks. +// https://developer.apple.com/documentation/foundation/nsbundle/1408056-allframeworks?language=objc +func NSBundle_allFrameworks() core.NSArray { ret := C.NSBundle_type_allFrameworks() - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSBundle_allBundles() ( - r0 core.NSArray, -) { +// NSBundle_allBundles Returns an array of all the application’s non-framework bundles. +// https://developer.apple.com/documentation/foundation/nsbundle/1413705-allbundles?language=objc +func NSBundle_allBundles() core.NSArray { ret := C.NSBundle_type_allBundles() - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSSound_alloc() ( - r0 NSSound, -) { +// NSSound_alloc +func NSSound_alloc() NSSound { ret := C.NSSound_type_alloc() - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } -func NSSound_canInitWithPasteboard( - pasteboard NSPasteboardRef, -) ( - r0 bool, -) { +// NSSound_canInitWithPasteboard Indicates whether the receiver can create an instance of itself from the data in a pasteboard. +// https://developer.apple.com/documentation/appkit/nssound/1477276-caninitwithpasteboard?language=objc +func NSSound_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { ret := C.NSSound_type_canInitWithPasteboard( objc.RefPointer(pasteboard), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSSound_soundUnfilteredTypes() ( - r0 core.NSArray, -) { +// NSSound_soundUnfilteredTypes Provides the file types the NSSound class understands. +// https://developer.apple.com/documentation/appkit/nssound/1477290-soundunfilteredtypes?language=objc +func NSSound_soundUnfilteredTypes() core.NSArray { ret := C.NSSound_type_soundUnfilteredTypes() - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSApplication_alloc() ( - r0 NSApplication, -) { +// NSApplication_alloc +func NSApplication_alloc() NSApplication { ret := C.NSApplication_type_alloc() - r0 = NSApplication_fromPointer(ret) - return + + return NSApplication_fromPointer(ret) + } -func NSApplication_detachDrawingThread_toTarget_withObject( - selector objc.Selector, - target objc.Ref, - argument objc.Ref, -) { +// NSApplication_detachDrawingThread_toTarget_withObject Creates and executes a new thread based on the specified target and selector. +// https://developer.apple.com/documentation/appkit/nsapplication/1428374-detachdrawingthread?language=objc +func NSApplication_detachDrawingThread_toTarget_withObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { C.NSApplication_type_detachDrawingThread_toTarget_withObject( selector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(argument), ) + return + } -func NSApplication_sharedApplication() ( - r0 NSApplication, -) { +// NSApplication_sharedApplication Returns the application instance, creating it if it doesn’t exist yet. +// https://developer.apple.com/documentation/appkit/nsapplication/1428360-sharedapplication?language=objc +func NSApplication_sharedApplication() NSApplication { ret := C.NSApplication_type_sharedApplication() - r0 = NSApplication_fromPointer(ret) - return + + return NSApplication_fromPointer(ret) + } -func NSControl_alloc() ( - r0 NSControl, -) { +// NSControl_alloc +func NSControl_alloc() NSControl { ret := C.NSControl_type_alloc() - r0 = NSControl_fromPointer(ret) - return + + return NSControl_fromPointer(ret) + } -func NSButton_alloc() ( - r0 NSButton, -) { +// NSButton_alloc +func NSButton_alloc() NSButton { ret := C.NSButton_type_alloc() - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func NSButton_checkboxWithTitle_target_action( - title core.NSStringRef, - target objc.Ref, - action objc.Selector, -) ( - r0 NSButton, -) { +// NSButton_checkboxWithTitle_target_action Creates a standard checkbox with the title you specify. +// https://developer.apple.com/documentation/appkit/nsbutton/1644525-checkboxwithtitle?language=objc +func NSButton_checkboxWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_checkboxWithTitle_target_action( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), ) - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func NSButton_buttonWithImage_target_action( - image NSImageRef, - target objc.Ref, - action objc.Selector, -) ( - r0 NSButton, -) { +// NSButton_buttonWithImage_target_action Creates a standard push button with the image you specify. +// https://developer.apple.com/documentation/appkit/nsbutton/1644659-buttonwithimage?language=objc +func NSButton_buttonWithImage_target_action(image NSImageRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_buttonWithImage_target_action( objc.RefPointer(image), objc.RefPointer(target), action.SelectorAddress(), ) - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func NSButton_radioButtonWithTitle_target_action( - title core.NSStringRef, - target objc.Ref, - action objc.Selector, -) ( - r0 NSButton, -) { +// NSButton_radioButtonWithTitle_target_action Creates a standard radio button with the title you specify. +// https://developer.apple.com/documentation/appkit/nsbutton/1644340-radiobuttonwithtitle?language=objc +func NSButton_radioButtonWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_radioButtonWithTitle_target_action( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), ) - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func NSButton_buttonWithTitle_image_target_action( - title core.NSStringRef, - image NSImageRef, - target objc.Ref, - action objc.Selector, -) ( - r0 NSButton, -) { +// NSButton_buttonWithTitle_image_target_action Creates a standard push button with a title and image. +// https://developer.apple.com/documentation/appkit/nsbutton/1644719-buttonwithtitle?language=objc +func NSButton_buttonWithTitle_image_target_action(title core.NSStringRef, image NSImageRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_buttonWithTitle_image_target_action( objc.RefPointer(title), objc.RefPointer(image), objc.RefPointer(target), action.SelectorAddress(), ) - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func NSButton_buttonWithTitle_target_action( - title core.NSStringRef, - target objc.Ref, - action objc.Selector, -) ( - r0 NSButton, -) { +// NSButton_buttonWithTitle_target_action Creates a standard push button with the title you specify. +// https://developer.apple.com/documentation/appkit/nsbutton/1644256-buttonwithtitle?language=objc +func NSButton_buttonWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_buttonWithTitle_target_action( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), ) - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func NSEvent_alloc() ( - r0 NSEvent, -) { +// NSEvent_alloc +func NSEvent_alloc() NSEvent { ret := C.NSEvent_type_alloc() - r0 = NSEvent_fromPointer(ret) - return + + return NSEvent_fromPointer(ret) + } -func NSEvent_eventWithEventRef( - eventRef unsafe.Pointer, -) ( - r0 NSEvent, -) { +// NSEvent_eventWithEventRef Creates an event object that is based on a Carbon type of event. +// https://developer.apple.com/documentation/appkit/nsevent/1528021-eventwitheventref?language=objc +func NSEvent_eventWithEventRef(eventRef unsafe.Pointer) NSEvent { ret := C.NSEvent_type_eventWithEventRef( eventRef, ) - r0 = NSEvent_fromPointer(ret) - return + + return NSEvent_fromPointer(ret) + } +// NSEvent_stopPeriodicEvents Stops generating periodic events for the current thread and discards any periodic events remaining in the queue. +// https://developer.apple.com/documentation/appkit/nsevent/1533746-stopperiodicevents?language=objc func NSEvent_stopPeriodicEvents() { C.NSEvent_type_stopPeriodicEvents() + return + } -func NSEvent_removeMonitor( - eventMonitor objc.Ref, -) { +// NSEvent_removeMonitor Remove the specified event monitor. +// https://developer.apple.com/documentation/appkit/nsevent/1533709-removemonitor?language=objc +func NSEvent_removeMonitor(eventMonitor objc.Ref) { C.NSEvent_type_removeMonitor( objc.RefPointer(eventMonitor), ) + return + } -func NSEvent_pressedMouseButtons() ( - r0 core.NSUInteger, -) { +// NSEvent_pressedMouseButtons Returns the indices of the currently depressed mouse buttons. +// https://developer.apple.com/documentation/appkit/nsevent/1527943-pressedmousebuttons?language=objc +func NSEvent_pressedMouseButtons() core.NSUInteger { ret := C.NSEvent_type_pressedMouseButtons() - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func NSEvent_mouseLocation() ( - r0 core.NSPoint, -) { +// NSEvent_mouseLocation Reports the current mouse position in screen coordinates. +// https://developer.apple.com/documentation/appkit/nsevent/1533380-mouselocation?language=objc +func NSEvent_mouseLocation() core.NSPoint { ret := C.NSEvent_type_mouseLocation() - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } -func NSEvent_mouseCoalescingEnabled() ( - r0 bool, -) { +// NSEvent_mouseCoalescingEnabled +// https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc +func NSEvent_mouseCoalescingEnabled() bool { ret := C.NSEvent_type_mouseCoalescingEnabled() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSEvent_setMouseCoalescingEnabled( - value bool, -) { +// NSEvent_setMouseCoalescingEnabled +// https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc +func NSEvent_setMouseCoalescingEnabled(value bool) { C.NSEvent_type_setMouseCoalescingEnabled( convertToObjCBool(value), ) + return + } -func NSEvent_swipeTrackingFromScrollEventsEnabled() ( - r0 bool, -) { +// NSEvent_swipeTrackingFromScrollEventsEnabled +// https://developer.apple.com/documentation/appkit/nsevent/2870067-swipetrackingfromscrolleventsena?language=objc +func NSEvent_swipeTrackingFromScrollEventsEnabled() bool { ret := C.NSEvent_type_swipeTrackingFromScrollEventsEnabled() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSFont_alloc() ( - r0 NSFont, -) { +// NSFont_alloc +func NSFont_alloc() NSFont { ret := C.NSFont_type_alloc() - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_fontWithName_size( - fontName core.NSStringRef, - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_fontWithName_size Creates a font object for the specified font name and font size. +// https://developer.apple.com/documentation/appkit/nsfont/1525977-fontwithname?language=objc +func NSFont_fontWithName_size(fontName core.NSStringRef, fontSize core.CGFloat) NSFont { ret := C.NSFont_type_fontWithName_size( objc.RefPointer(fontName), C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return -} -func NSFont_userFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { + return NSFont_fromPointer(ret) + +} + +// NSFont_userFontOfSize Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1524559-userfontofsize?language=objc +func NSFont_userFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_userFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_userFixedPitchFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_userFixedPitchFontOfSize Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1531381-userfixedpitchfontofsize?language=objc +func NSFont_userFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_userFixedPitchFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_systemFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_systemFontOfSize Returns the standard system font with the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1530094-systemfontofsize?language=objc +func NSFont_systemFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_systemFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_boldSystemFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_boldSystemFontOfSize Returns the standard system font in boldface type with the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1533549-boldsystemfontofsize?language=objc +func NSFont_boldSystemFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_boldSystemFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_labelFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_labelFontOfSize Returns the font used for standard interface labels in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1528213-labelfontofsize?language=objc +func NSFont_labelFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_labelFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_messageFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_messageFontOfSize Returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1525777-messagefontofsize?language=objc +func NSFont_messageFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_messageFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_menuBarFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_menuBarFontOfSize Returns the font used for menu bar items, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1534194-menubarfontofsize?language=objc +func NSFont_menuBarFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_menuBarFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_menuFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_menuFontOfSize Returns the font used for menu items, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1533068-menufontofsize?language=objc +func NSFont_menuFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_menuFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_controlContentFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_controlContentFontOfSize Returns the font used for the content of controls in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1527070-controlcontentfontofsize?language=objc +func NSFont_controlContentFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_controlContentFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_titleBarFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_titleBarFontOfSize Returns the font used for window title bars, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1530200-titlebarfontofsize?language=objc +func NSFont_titleBarFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_titleBarFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_paletteFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_paletteFontOfSize Returns the font used for palette window title bars, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1535462-palettefontofsize?language=objc +func NSFont_paletteFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_paletteFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_toolTipsFontOfSize( - fontSize core.CGFloat, -) ( - r0 NSFont, -) { +// NSFont_toolTipsFontOfSize Returns the font used for tool tips labels, in the specified size. +// https://developer.apple.com/documentation/appkit/nsfont/1527704-tooltipsfontofsize?language=objc +func NSFont_toolTipsFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_toolTipsFontOfSize( C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func NSFont_setUserFont( - font NSFontRef, -) { +// NSFont_setUserFont Sets the font used by default for documents and other text under the user’s control to the specified font. +// https://developer.apple.com/documentation/appkit/nsfont/1526068-setuserfont?language=objc +func NSFont_setUserFont(font NSFontRef) { C.NSFont_type_setUserFont( objc.RefPointer(font), ) + return + } -func NSFont_setUserFixedPitchFont( - font NSFontRef, -) { +// NSFont_setUserFixedPitchFont Sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. +// https://developer.apple.com/documentation/appkit/nsfont/1529050-setuserfixedpitchfont?language=objc +func NSFont_setUserFixedPitchFont(font NSFontRef) { C.NSFont_type_setUserFixedPitchFont( objc.RefPointer(font), ) + return + } -func NSFont_systemFontSize() ( - r0 core.CGFloat, -) { +// NSFont_systemFontSize Returns the size of the standard system font. +// https://developer.apple.com/documentation/appkit/nsfont/1531931-systemfontsize?language=objc +func NSFont_systemFontSize() core.CGFloat { ret := C.NSFont_type_systemFontSize() - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func NSFont_smallSystemFontSize() ( - r0 core.CGFloat, -) { +// NSFont_smallSystemFontSize Returns the size of the standard small system font. +// https://developer.apple.com/documentation/appkit/nsfont/1535612-smallsystemfontsize?language=objc +func NSFont_smallSystemFontSize() core.CGFloat { ret := C.NSFont_type_smallSystemFontSize() - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func NSFont_labelFontSize() ( - r0 core.CGFloat, -) { +// NSFont_labelFontSize Returns the size of the standard label font. +// https://developer.apple.com/documentation/appkit/nsfont/1534629-labelfontsize?language=objc +func NSFont_labelFontSize() core.CGFloat { ret := C.NSFont_type_labelFontSize() - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func NSImage_alloc() ( - r0 NSImage, -) { +// NSImage_alloc +func NSImage_alloc() NSImage { ret := C.NSImage_type_alloc() - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } -func NSImage_imageWithSystemSymbolName_accessibilityDescription( - symbolName core.NSStringRef, - description core.NSStringRef, -) ( - r0 NSImage, -) { +// NSImage_imageWithSystemSymbolName_accessibilityDescription Creates a symbol image with the system symbol name and accessibility description that you specify. +// https://developer.apple.com/documentation/appkit/nsimage/3622472-imagewithsystemsymbolname?language=objc +func NSImage_imageWithSystemSymbolName_accessibilityDescription(symbolName core.NSStringRef, description core.NSStringRef) NSImage { ret := C.NSImage_type_imageWithSystemSymbolName_accessibilityDescription( objc.RefPointer(symbolName), objc.RefPointer(description), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } -func NSImage_canInitWithPasteboard( - pasteboard NSPasteboardRef, -) ( - r0 bool, -) { +// NSImage_canInitWithPasteboard Tests whether the image can create an instance of itself using pasteboard data. +// https://developer.apple.com/documentation/appkit/nsimage/1520039-caninitwithpasteboard?language=objc +func NSImage_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { ret := C.NSImage_type_canInitWithPasteboard( objc.RefPointer(pasteboard), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSImage_imageTypes() ( - r0 core.NSArray, -) { +// NSImage_imageTypes Returns an array of UTI strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. +// https://developer.apple.com/documentation/appkit/nsimage/1519988-imagetypes?language=objc +func NSImage_imageTypes() core.NSArray { ret := C.NSImage_type_imageTypes() - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSImage_imageUnfilteredTypes() ( - r0 core.NSArray, -) { +// NSImage_imageUnfilteredTypes Returns an array of UTI strings identifying the image types supported directly by the registered image representation objects. +// https://developer.apple.com/documentation/appkit/nsimage/1519899-imageunfilteredtypes?language=objc +func NSImage_imageUnfilteredTypes() core.NSArray { ret := C.NSImage_type_imageUnfilteredTypes() - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSImageView_alloc() ( - r0 NSImageView, -) { +// NSImageView_alloc +func NSImageView_alloc() NSImageView { ret := C.NSImageView_type_alloc() - r0 = NSImageView_fromPointer(ret) - return + + return NSImageView_fromPointer(ret) + } -func NSImageView_imageViewWithImage( - image NSImageRef, -) ( - r0 NSImageView, -) { +// NSImageView_imageViewWithImage +// https://developer.apple.com/documentation/appkit/nsimageview/1644708-imageviewwithimage?language=objc +func NSImageView_imageViewWithImage(image NSImageRef) NSImageView { ret := C.NSImageView_type_imageViewWithImage( objc.RefPointer(image), ) - r0 = NSImageView_fromPointer(ret) - return + + return NSImageView_fromPointer(ret) + } -func NSNib_alloc() ( - r0 NSNib, -) { +// NSNib_alloc +func NSNib_alloc() NSNib { ret := C.NSNib_type_alloc() - r0 = NSNib_fromPointer(ret) - return + + return NSNib_fromPointer(ret) + } -func NSPasteboard_alloc() ( - r0 NSPasteboard, -) { +// NSPasteboard_alloc +func NSPasteboard_alloc() NSPasteboard { ret := C.NSPasteboard_type_alloc() - r0 = NSPasteboard_fromPointer(ret) - return + + return NSPasteboard_fromPointer(ret) + } -func NSPasteboard_pasteboardByFilteringFile( - filename core.NSStringRef, -) ( - r0 NSPasteboard, -) { +// NSPasteboard_pasteboardByFilteringFile Creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. +// https://developer.apple.com/documentation/appkit/nspasteboard/1532744-pasteboardbyfilteringfile?language=objc +func NSPasteboard_pasteboardByFilteringFile(filename core.NSStringRef) NSPasteboard { ret := C.NSPasteboard_type_pasteboardByFilteringFile( objc.RefPointer(filename), ) - r0 = NSPasteboard_fromPointer(ret) - return + + return NSPasteboard_fromPointer(ret) + } -func NSPasteboard_pasteboardByFilteringTypesInPasteboard( - pboard NSPasteboardRef, -) ( - r0 NSPasteboard, -) { +// NSPasteboard_pasteboardByFilteringTypesInPasteboard Creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. +// https://developer.apple.com/documentation/appkit/nspasteboard/1530088-pasteboardbyfilteringtypesinpast?language=objc +func NSPasteboard_pasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) NSPasteboard { ret := C.NSPasteboard_type_pasteboardByFilteringTypesInPasteboard( objc.RefPointer(pboard), ) - r0 = NSPasteboard_fromPointer(ret) - return + + return NSPasteboard_fromPointer(ret) + } -func NSPasteboard_pasteboardWithUniqueName() ( - r0 NSPasteboard, -) { +// NSPasteboard_pasteboardWithUniqueName Creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. +// https://developer.apple.com/documentation/appkit/nspasteboard/1528936-pasteboardwithuniquename?language=objc +func NSPasteboard_pasteboardWithUniqueName() NSPasteboard { ret := C.NSPasteboard_type_pasteboardWithUniqueName() - r0 = NSPasteboard_fromPointer(ret) - return + + return NSPasteboard_fromPointer(ret) + } -func NSPasteboard_generalPasteboard() ( - r0 NSPasteboard, -) { +// NSPasteboard_generalPasteboard The shared pasteboard object to use for general content. +// https://developer.apple.com/documentation/appkit/nspasteboard/1530091-generalpasteboard?language=objc +func NSPasteboard_generalPasteboard() NSPasteboard { ret := C.NSPasteboard_type_generalPasteboard() - r0 = NSPasteboard_fromPointer(ret) - return + + return NSPasteboard_fromPointer(ret) + } -func NSLayoutManager_alloc() ( - r0 NSLayoutManager, -) { +// NSLayoutManager_alloc +func NSLayoutManager_alloc() NSLayoutManager { ret := C.NSLayoutManager_type_alloc() - r0 = NSLayoutManager_fromPointer(ret) - return + + return NSLayoutManager_fromPointer(ret) + } -func NSMenu_alloc() ( - r0 NSMenu, -) { +// NSMenu_alloc +func NSMenu_alloc() NSMenu { ret := C.NSMenu_type_alloc() - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } -func NSMenu_menuBarVisible() ( - r0 bool, -) { +// NSMenu_menuBarVisible Returns a Boolean value that indicates whether the menu bar is visible. +// https://developer.apple.com/documentation/appkit/nsmenu/1518236-menubarvisible?language=objc +func NSMenu_menuBarVisible() bool { ret := C.NSMenu_type_menuBarVisible() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSMenu_setMenuBarVisible( - visible bool, -) { +// NSMenu_setMenuBarVisible Sets whether the menu bar is visible and selectable by the user. +// https://developer.apple.com/documentation/appkit/nsmenu/1518200-setmenubarvisible?language=objc +func NSMenu_setMenuBarVisible(visible bool) { C.NSMenu_type_setMenuBarVisible( convertToObjCBool(visible), ) + return + } -func NSMenu_popUpContextMenu_withEvent_forView( - menu NSMenuRef, - event NSEventRef, - view NSViewRef, -) { +// NSMenu_popUpContextMenu_withEvent_forView Displays a contextual menu over a view for an event. +// https://developer.apple.com/documentation/appkit/nsmenu/1518170-popupcontextmenu?language=objc +func NSMenu_popUpContextMenu_withEvent_forView(menu NSMenuRef, event NSEventRef, view NSViewRef) { C.NSMenu_type_popUpContextMenu_withEvent_forView( objc.RefPointer(menu), objc.RefPointer(event), objc.RefPointer(view), ) + return + } -func NSMenu_popUpContextMenu_withEvent_forView_withFont( - menu NSMenuRef, - event NSEventRef, - view NSViewRef, - font NSFontRef, -) { +// NSMenu_popUpContextMenu_withEvent_forView_withFont Displays a contextual menu over a view for an event using a specified font. +// https://developer.apple.com/documentation/appkit/nsmenu/1518165-popupcontextmenu?language=objc +func NSMenu_popUpContextMenu_withEvent_forView_withFont(menu NSMenuRef, event NSEventRef, view NSViewRef, font NSFontRef) { C.NSMenu_type_popUpContextMenu_withEvent_forView_withFont( objc.RefPointer(menu), objc.RefPointer(event), objc.RefPointer(view), objc.RefPointer(font), ) + return + } -func NSPopover_alloc() ( - r0 NSPopover, -) { +// NSPopover_alloc +func NSPopover_alloc() NSPopover { ret := C.NSPopover_type_alloc() - r0 = NSPopover_fromPointer(ret) - return + + return NSPopover_fromPointer(ret) + } -func NSMenuItem_alloc() ( - r0 NSMenuItem, -) { +// NSMenuItem_alloc +func NSMenuItem_alloc() NSMenuItem { ret := C.NSMenuItem_type_alloc() - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func NSMenuItem_separatorItem() ( - r0 NSMenuItem, -) { +// NSMenuItem_separatorItem Returns a menu item that is used to separate logical groups of menu commands. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514838-separatoritem?language=objc +func NSMenuItem_separatorItem() NSMenuItem { ret := C.NSMenuItem_type_separatorItem() - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func NSMenuItem_usesUserKeyEquivalents() ( - r0 bool, -) { +// NSMenuItem_usesUserKeyEquivalents Returns a Boolean value that indicates whether menu items conform to user preferences for key equivalents. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc +func NSMenuItem_usesUserKeyEquivalents() bool { ret := C.NSMenuItem_type_usesUserKeyEquivalents() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSMenuItem_setUsesUserKeyEquivalents( - value bool, -) { +// NSMenuItem_setUsesUserKeyEquivalents Returns a Boolean value that indicates whether menu items conform to user preferences for key equivalents. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc +func NSMenuItem_setUsesUserKeyEquivalents(value bool) { C.NSMenuItem_type_setUsesUserKeyEquivalents( convertToObjCBool(value), ) + return + } -func NSRunningApplication_alloc() ( - r0 NSRunningApplication, -) { +// NSRunningApplication_alloc +func NSRunningApplication_alloc() NSRunningApplication { ret := C.NSRunningApplication_type_alloc() - r0 = NSRunningApplication_fromPointer(ret) - return + + return NSRunningApplication_fromPointer(ret) + } -func NSRunningApplication_runningApplicationsWithBundleIdentifier( - bundleIdentifier core.NSStringRef, -) ( - r0 core.NSArray, -) { +// NSRunningApplication_runningApplicationsWithBundleIdentifier Returns an array of currently running applications with the specified bundle identifier. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1530798-runningapplicationswithbundleide?language=objc +func NSRunningApplication_runningApplicationsWithBundleIdentifier(bundleIdentifier core.NSStringRef) core.NSArray { ret := C.NSRunningApplication_type_runningApplicationsWithBundleIdentifier( objc.RefPointer(bundleIdentifier), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// NSRunningApplication_terminateAutomaticallyTerminableApplications Terminates invisibly running applications as if triggered by system memory pressure. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1529538-terminateautomaticallyterminable?language=objc func NSRunningApplication_terminateAutomaticallyTerminableApplications() { C.NSRunningApplication_type_terminateAutomaticallyTerminableApplications() + return + } -func NSRunningApplication_currentApplication() ( - r0 NSRunningApplication, -) { +// NSRunningApplication_currentApplication Returns an NSRunningApplication representing this application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1533604-currentapplication?language=objc +func NSRunningApplication_currentApplication() NSRunningApplication { ret := C.NSRunningApplication_type_currentApplication() - r0 = NSRunningApplication_fromPointer(ret) - return + + return NSRunningApplication_fromPointer(ret) + } -func NSScreen_alloc() ( - r0 NSScreen, -) { +// NSScreen_alloc +func NSScreen_alloc() NSScreen { ret := C.NSScreen_type_alloc() - r0 = NSScreen_fromPointer(ret) - return + + return NSScreen_fromPointer(ret) + } -func NSScreen_mainScreen() ( - r0 NSScreen, -) { +// NSScreen_mainScreen Returns the screen object containing the window with the keyboard focus. +// https://developer.apple.com/documentation/appkit/nsscreen/1388371-mainscreen?language=objc +func NSScreen_mainScreen() NSScreen { ret := C.NSScreen_type_mainScreen() - r0 = NSScreen_fromPointer(ret) - return + + return NSScreen_fromPointer(ret) + } -func NSScreen_deepestScreen() ( - r0 NSScreen, -) { +// NSScreen_deepestScreen Returns a screen object representing the screen that can best represent color. +// https://developer.apple.com/documentation/appkit/nsscreen/1388374-deepestscreen?language=objc +func NSScreen_deepestScreen() NSScreen { ret := C.NSScreen_type_deepestScreen() - r0 = NSScreen_fromPointer(ret) - return + + return NSScreen_fromPointer(ret) + } -func NSScreen_screens() ( - r0 core.NSArray, -) { +// NSScreen_screens Returns an array of screen objects representing all of the screens available on the system. +// https://developer.apple.com/documentation/appkit/nsscreen/1388393-screens?language=objc +func NSScreen_screens() core.NSArray { ret := C.NSScreen_type_screens() - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func NSScreen_screensHaveSeparateSpaces() ( - r0 bool, -) { +// NSScreen_screensHaveSeparateSpaces Returns a Boolean value indicating whether each screen can have its own set of spaces. +// https://developer.apple.com/documentation/appkit/nsscreen/1388365-screenshaveseparatespaces?language=objc +func NSScreen_screensHaveSeparateSpaces() bool { ret := C.NSScreen_type_screensHaveSeparateSpaces() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSStatusBar_alloc() ( - r0 NSStatusBar, -) { +// NSStatusBar_alloc +func NSStatusBar_alloc() NSStatusBar { ret := C.NSStatusBar_type_alloc() - r0 = NSStatusBar_fromPointer(ret) - return + + return NSStatusBar_fromPointer(ret) + } -func NSStatusBar_systemStatusBar() ( - r0 NSStatusBar, -) { +// NSStatusBar_systemStatusBar Returns the system-wide status bar located in the menu bar. +// https://developer.apple.com/documentation/appkit/nsstatusbar/1530619-systemstatusbar?language=objc +func NSStatusBar_systemStatusBar() NSStatusBar { ret := C.NSStatusBar_type_systemStatusBar() - r0 = NSStatusBar_fromPointer(ret) - return + + return NSStatusBar_fromPointer(ret) + } -func NSStatusBarButton_alloc() ( - r0 NSStatusBarButton, -) { +// NSStatusBarButton_alloc +func NSStatusBarButton_alloc() NSStatusBarButton { ret := C.NSStatusBarButton_type_alloc() - r0 = NSStatusBarButton_fromPointer(ret) - return + + return NSStatusBarButton_fromPointer(ret) + } -func NSStatusItem_alloc() ( - r0 NSStatusItem, -) { +// NSStatusItem_alloc +func NSStatusItem_alloc() NSStatusItem { ret := C.NSStatusItem_type_alloc() - r0 = NSStatusItem_fromPointer(ret) - return + + return NSStatusItem_fromPointer(ret) + } -func NSText_alloc() ( - r0 NSText, -) { +// NSText_alloc +func NSText_alloc() NSText { ret := C.NSText_type_alloc() - r0 = NSText_fromPointer(ret) - return + + return NSText_fromPointer(ret) + } -func NSTextField_alloc() ( - r0 NSTextField, -) { +// NSTextField_alloc +func NSTextField_alloc() NSTextField { ret := C.NSTextField_type_alloc() - r0 = NSTextField_fromPointer(ret) - return + + return NSTextField_fromPointer(ret) + } -func NSTextField_labelWithAttributedString( - attributedStringValue core.NSAttributedStringRef, -) ( - r0 NSTextField, -) { +// NSTextField_labelWithAttributedString Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. +// https://developer.apple.com/documentation/appkit/nstextfield/1644658-labelwithattributedstring?language=objc +func NSTextField_labelWithAttributedString(attributedStringValue core.NSAttributedStringRef) NSTextField { ret := C.NSTextField_type_labelWithAttributedString( objc.RefPointer(attributedStringValue), ) - r0 = NSTextField_fromPointer(ret) - return + + return NSTextField_fromPointer(ret) + } -func NSTextField_labelWithString( - stringValue core.NSStringRef, -) ( - r0 NSTextField, -) { +// NSTextField_labelWithString Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. +// https://developer.apple.com/documentation/appkit/nstextfield/1644377-labelwithstring?language=objc +func NSTextField_labelWithString(stringValue core.NSStringRef) NSTextField { ret := C.NSTextField_type_labelWithString( objc.RefPointer(stringValue), ) - r0 = NSTextField_fromPointer(ret) - return + + return NSTextField_fromPointer(ret) + } -func NSTextField_textFieldWithString( - stringValue core.NSStringRef, -) ( - r0 NSTextField, -) { +// NSTextField_textFieldWithString Initializes a single-line editable text field for user input using the system default font and standard visual appearance. +// https://developer.apple.com/documentation/appkit/nstextfield/1644706-textfieldwithstring?language=objc +func NSTextField_textFieldWithString(stringValue core.NSStringRef) NSTextField { ret := C.NSTextField_type_textFieldWithString( objc.RefPointer(stringValue), ) - r0 = NSTextField_fromPointer(ret) - return + + return NSTextField_fromPointer(ret) + } -func NSTextField_wrappingLabelWithString( - stringValue core.NSStringRef, -) ( - r0 NSTextField, -) { +// NSTextField_wrappingLabelWithString Initializes a text field for use as a multiline static label with selectable text that uses the system default font. +// https://developer.apple.com/documentation/appkit/nstextfield/1644543-wrappinglabelwithstring?language=objc +func NSTextField_wrappingLabelWithString(stringValue core.NSStringRef) NSTextField { ret := C.NSTextField_type_wrappingLabelWithString( objc.RefPointer(stringValue), ) - r0 = NSTextField_fromPointer(ret) - return + + return NSTextField_fromPointer(ret) + } -func NSTextContainer_alloc() ( - r0 NSTextContainer, -) { +// NSTextContainer_alloc +func NSTextContainer_alloc() NSTextContainer { ret := C.NSTextContainer_type_alloc() - r0 = NSTextContainer_fromPointer(ret) - return + + return NSTextContainer_fromPointer(ret) + } -func NSViewController_alloc() ( - r0 NSViewController, -) { +// NSViewController_alloc +func NSViewController_alloc() NSViewController { ret := C.NSViewController_type_alloc() - r0 = NSViewController_fromPointer(ret) - return + + return NSViewController_fromPointer(ret) + } -func NSVisualEffectView_alloc() ( - r0 NSVisualEffectView, -) { +// NSVisualEffectView_alloc +func NSVisualEffectView_alloc() NSVisualEffectView { ret := C.NSVisualEffectView_type_alloc() - r0 = NSVisualEffectView_fromPointer(ret) - return + + return NSVisualEffectView_fromPointer(ret) + } -func NSWindow_alloc() ( - r0 NSWindow, -) { +// NSWindow_alloc +func NSWindow_alloc() NSWindow { ret := C.NSWindow_type_alloc() - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func NSWindow_windowWithContentViewController( - contentViewController NSViewControllerRef, -) ( - r0 NSWindow, -) { +// NSWindow_windowWithContentViewController Creates a titled window that contains the specified content view controller. +// https://developer.apple.com/documentation/appkit/nswindow/1419551-windowwithcontentviewcontroller?language=objc +func NSWindow_windowWithContentViewController(contentViewController NSViewControllerRef) NSWindow { ret := C.NSWindow_type_windowWithContentViewController( objc.RefPointer(contentViewController), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func NSWindow_contentRectForFrameRect_styleMask( - fRect core.NSRect, - style core.NSUInteger, -) ( - r0 core.NSRect, -) { +// NSWindow_contentRectForFrameRect_styleMask Returns the content rectangle used by a window with a given frame rectangle and window style. +// https://developer.apple.com/documentation/appkit/nswindow/1419586-contentrectforframerect?language=objc +func NSWindow_contentRectForFrameRect_styleMask(fRect core.NSRect, style core.NSUInteger) core.NSRect { ret := C.NSWindow_type_contentRectForFrameRect_styleMask( *(*C.NSRect)(unsafe.Pointer(&fRect)), C.ulong(style), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func NSWindow_frameRectForContentRect_styleMask( - cRect core.NSRect, - style core.NSUInteger, -) ( - r0 core.NSRect, -) { +// NSWindow_frameRectForContentRect_styleMask Returns the frame rectangle used by a window with a given content rectangle and window style. +// https://developer.apple.com/documentation/appkit/nswindow/1419372-framerectforcontentrect?language=objc +func NSWindow_frameRectForContentRect_styleMask(cRect core.NSRect, style core.NSUInteger) core.NSRect { ret := C.NSWindow_type_frameRectForContentRect_styleMask( *(*C.NSRect)(unsafe.Pointer(&cRect)), C.ulong(style), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func NSWindow_minFrameWidthWithTitle_styleMask( - title core.NSStringRef, - style core.NSUInteger, -) ( - r0 core.CGFloat, -) { +// NSWindow_minFrameWidthWithTitle_styleMask Returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. +// https://developer.apple.com/documentation/appkit/nswindow/1419294-minframewidthwithtitle?language=objc +func NSWindow_minFrameWidthWithTitle_styleMask(title core.NSStringRef, style core.NSUInteger) core.CGFloat { ret := C.NSWindow_type_minFrameWidthWithTitle_styleMask( objc.RefPointer(title), C.ulong(style), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber( - point core.NSPoint, - windowNumber core.NSInteger, -) ( - r0 core.NSInteger, -) { +// NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber Returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. +// https://developer.apple.com/documentation/appkit/nswindow/1419210-windownumberatpoint?language=objc +func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber(point core.NSPoint, windowNumber core.NSInteger) core.NSInteger { ret := C.NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber( *(*C.NSPoint)(unsafe.Pointer(&point)), C.long(windowNumber), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func NSWindow_allowsAutomaticWindowTabbing() ( - r0 bool, -) { +// NSWindow_allowsAutomaticWindowTabbing A Boolean value that indicates whether the app can automatically organize windows into tabs. +// https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc +func NSWindow_allowsAutomaticWindowTabbing() bool { ret := C.NSWindow_type_allowsAutomaticWindowTabbing() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSWindow_setAllowsAutomaticWindowTabbing( - value bool, -) { +// NSWindow_setAllowsAutomaticWindowTabbing A Boolean value that indicates whether the app can automatically organize windows into tabs. +// https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc +func NSWindow_setAllowsAutomaticWindowTabbing(value bool) { C.NSWindow_type_setAllowsAutomaticWindowTabbing( convertToObjCBool(value), ) + return + } -func NSWorkspace_alloc() ( - r0 NSWorkspace, -) { +// NSWorkspace_alloc +func NSWorkspace_alloc() NSWorkspace { ret := C.NSWorkspace_type_alloc() - r0 = NSWorkspace_fromPointer(ret) - return + + return NSWorkspace_fromPointer(ret) + } -func NSWorkspace_sharedWorkspace() ( - r0 NSWorkspace, -) { +// NSWorkspace_sharedWorkspace The shared workspace object. +// https://developer.apple.com/documentation/appkit/nsworkspace/1530344-sharedworkspace?language=objc +func NSWorkspace_sharedWorkspace() NSWorkspace { ret := C.NSWorkspace_type_sharedWorkspace() - r0 = NSWorkspace_fromPointer(ret) - return + + return NSWorkspace_fromPointer(ret) + } -func NSColor_alloc() ( - r0 NSColor, -) { +// NSColor_alloc +func NSColor_alloc() NSColor { ret := C.NSColor_type_alloc() - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func NSColor_colorFromPasteboard( - pasteBoard NSPasteboardRef, -) ( - r0 NSColor, -) { +// NSColor_colorFromPasteboard Creates a color object from color data currently on the pasteboard. +// https://developer.apple.com/documentation/appkit/nscolor/1535057-colorfrompasteboard?language=objc +func NSColor_colorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { ret := C.NSColor_type_colorFromPasteboard( objc.RefPointer(pasteBoard), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func NSColor_colorWithRed_green_blue_alpha( - red core.CGFloat, - green core.CGFloat, - blue core.CGFloat, - alpha core.CGFloat, -) ( - r0 NSColor, -) { +// NSColor_colorWithRed_green_blue_alpha +func NSColor_colorWithRed_green_blue_alpha(red core.CGFloat, green core.CGFloat, blue core.CGFloat, alpha core.CGFloat) NSColor { ret := C.NSColor_type_colorWithRed_green_blue_alpha( C.double(red), C.double(green), C.double(blue), C.double(alpha), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func NSColor_ignoresAlpha() ( - r0 bool, -) { +// NSColor_ignoresAlpha A Boolean value that indicates whether the app supports alpha. +// https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc +func NSColor_ignoresAlpha() bool { ret := C.NSColor_type_ignoresAlpha() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSColor_setIgnoresAlpha( - value bool, -) { +// NSColor_setIgnoresAlpha A Boolean value that indicates whether the app supports alpha. +// https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc +func NSColor_setIgnoresAlpha(value bool) { C.NSColor_type_setIgnoresAlpha( convertToObjCBool(value), ) + return + } -func NSColor_systemCyanColor() ( - r0 NSColor, -) { +// NSColor_systemCyanColor +// https://developer.apple.com/documentation/appkit/nscolor/3816005-systemcyancolor?language=objc +func NSColor_systemCyanColor() NSColor { ret := C.NSColor_type_systemCyanColor() - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func NSColor_systemMintColor() ( - r0 NSColor, -) { +// NSColor_systemMintColor +// https://developer.apple.com/documentation/appkit/nscolor/3816006-systemmintcolor?language=objc +func NSColor_systemMintColor() NSColor { ret := C.NSColor_type_systemMintColor() - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func NSColor_clearColor() ( - r0 NSColor, -) { +// NSColor_clearColor Returns a color object whose grayscale and alpha values are both 0.0. +// https://developer.apple.com/documentation/appkit/nscolor/1527217-clearcolor?language=objc +func NSColor_clearColor() NSColor { ret := C.NSColor_type_clearColor() - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func NSTextView_alloc() ( - r0 NSTextView, -) { +// NSTextView_alloc +func NSTextView_alloc() NSTextView { ret := C.NSTextView_type_alloc() - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } +// NSTextView_registerForServices Registers send and return types for the Services facility. +// https://developer.apple.com/documentation/appkit/nstextview/1449507-registerforservices?language=objc func NSTextView_registerForServices() { C.NSTextView_type_registerForServices() + return + } -func NSTextView_fieldEditor() ( - r0 NSTextView, -) { +// NSTextView_fieldEditor +// https://developer.apple.com/documentation/appkit/nstextview/2990525-fieldeditor?language=objc +func NSTextView_fieldEditor() NSTextView { ret := C.NSTextView_type_fieldEditor() - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } -func NSTextView_stronglyReferencesTextStorage() ( - r0 bool, -) { +// NSTextView_stronglyReferencesTextStorage +// https://developer.apple.com/documentation/appkit/nstextview/2269433-stronglyreferencestextstorage?language=objc +func NSTextView_stronglyReferencesTextStorage() bool { ret := C.NSTextView_type_stronglyReferencesTextStorage() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSView_alloc() ( - r0 NSView, -) { +// NSView_alloc +func NSView_alloc() NSView { ret := C.NSView_type_alloc() - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func NSView_requiresConstraintBasedLayout() ( - r0 bool, -) { +// NSView_requiresConstraintBasedLayout Returns a Boolean value indicating whether the view depends on the constraint-based layout system. +// https://developer.apple.com/documentation/appkit/nsview/1526926-requiresconstraintbasedlayout?language=objc +func NSView_requiresConstraintBasedLayout() bool { ret := C.NSView_type_requiresConstraintBasedLayout() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSView_focusView() ( - r0 NSView, -) { +// NSView_focusView Returns the currently focused NSView object, or nil if there is none. +// https://developer.apple.com/documentation/appkit/nsview/1483662-focusview?language=objc +func NSView_focusView() NSView { ret := C.NSView_type_focusView() - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func NSView_defaultMenu() ( - r0 NSMenu, -) { +// NSView_defaultMenu Overridden by subclasses to return the default pop-up menu for instances of the receiving class. +// https://developer.apple.com/documentation/appkit/nsview/1483417-defaultmenu?language=objc +func NSView_defaultMenu() NSMenu { ret := C.NSView_type_defaultMenu() - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } -func NSView_compatibleWithResponsiveScrolling() ( - r0 bool, -) { +// NSView_compatibleWithResponsiveScrolling +// https://developer.apple.com/documentation/appkit/nsview/2870005-compatiblewithresponsivescrollin?language=objc +func NSView_compatibleWithResponsiveScrolling() bool { ret := C.NSView_type_compatibleWithResponsiveScrolling() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSBundleRef interface { diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index f1c413df..b4bd54e5 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -2167,691 +2167,670 @@ func convertToObjCBool(b bool) C.BOOL { return C.core_objc_bool_false } -func CALayer_alloc() ( - r0 CALayer, -) { +// CALayer_alloc +func CALayer_alloc() CALayer { ret := C.CALayer_type_alloc() - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } -func CALayer_layer() ( - r0 CALayer, -) { +// CALayer_layer Creates and returns an instance of the layer object. +// https://developer.apple.com/documentation/quartzcore/calayer/1410793-layer?language=objc +func CALayer_layer() CALayer { ret := C.CALayer_type_layer() - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } -func CALayer_needsDisplayForKey( - key NSStringRef, -) ( - r0 bool, -) { +// CALayer_needsDisplayForKey Returns a Boolean indicating whether changes to the specified key require the layer to be redisplayed. +// https://developer.apple.com/documentation/quartzcore/calayer/1410769-needsdisplayforkey?language=objc +func CALayer_needsDisplayForKey(key NSStringRef) bool { ret := C.CALayer_type_needsDisplayForKey( objc.RefPointer(key), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func CALayer_defaultActionForKey( - event NSStringRef, -) ( - r0 objc.Object, -) { +// CALayer_defaultActionForKey Returns the default action for the current class. +// https://developer.apple.com/documentation/quartzcore/calayer/1410954-defaultactionforkey?language=objc +func CALayer_defaultActionForKey(event NSStringRef) objc.Object { ret := C.CALayer_type_defaultActionForKey( objc.RefPointer(event), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func CALayer_defaultValueForKey( - key NSStringRef, -) ( - r0 objc.Object, -) { +// CALayer_defaultValueForKey Specifies the default value associated with the specified key. +// https://developer.apple.com/documentation/quartzcore/calayer/1410886-defaultvalueforkey?language=objc +func CALayer_defaultValueForKey(key NSStringRef) objc.Object { ret := C.CALayer_type_defaultValueForKey( objc.RefPointer(key), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func NSArray_alloc() ( - r0 NSArray, -) { +// NSArray_alloc +func NSArray_alloc() NSArray { ret := C.NSArray_type_alloc() - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSArray_array() ( - r0 NSArray, -) { +// NSArray_array Creates and returns an empty array. +// https://developer.apple.com/documentation/foundation/nsarray/1460120-array?language=objc +func NSArray_array() NSArray { ret := C.NSArray_type_array() - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSArray_arrayWithArray( - array NSArrayRef, -) ( - r0 NSArray, -) { +// NSArray_arrayWithArray Creates and returns an array containing the objects in another given array. +// https://developer.apple.com/documentation/foundation/nsarray/1460122-arraywitharray?language=objc +func NSArray_arrayWithArray(array NSArrayRef) NSArray { ret := C.NSArray_type_arrayWithArray( objc.RefPointer(array), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSAttributedString_alloc() ( - r0 NSAttributedString, -) { +// NSAttributedString_alloc +func NSAttributedString_alloc() NSAttributedString { ret := C.NSAttributedString_type_alloc() - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } -func NSAttributedString_textTypes() ( - r0 NSArray, -) { +// NSAttributedString_textTypes An array of UTI strings that identify the file types that attributed strings support, either directly or through a user-installed filter service. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1535409-texttypes?language=objc +func NSAttributedString_textTypes() NSArray { ret := C.NSAttributedString_type_textTypes() - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSAttributedString_textUnfilteredTypes() ( - r0 NSArray, -) { +// NSAttributedString_textUnfilteredTypes An array of UTI strings that identify the file types that attributed strings support directly. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1528269-textunfilteredtypes?language=objc +func NSAttributedString_textUnfilteredTypes() NSArray { ret := C.NSAttributedString_type_textUnfilteredTypes() - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSData_alloc() ( - r0 NSData, -) { +// NSData_alloc +func NSData_alloc() NSData { ret := C.NSData_type_alloc() - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_data() ( - r0 NSData, -) { +// NSData_data Creates an empty data object. +// https://developer.apple.com/documentation/foundation/nsdata/1547234-data?language=objc +func NSData_data() NSData { ret := C.NSData_type_data() - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_dataWithBytes_length( - bytes unsafe.Pointer, - length NSUInteger, -) ( - r0 NSData, -) { +// NSData_dataWithBytes_length Creates a data object containing a given number of bytes copied from a given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1547231-datawithbytes?language=objc +func NSData_dataWithBytes_length(bytes unsafe.Pointer, length NSUInteger) NSData { ret := C.NSData_type_dataWithBytes_length( bytes, C.ulong(length), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_dataWithBytesNoCopy_length( - bytes unsafe.Pointer, - length NSUInteger, -) ( - r0 NSData, -) { +// NSData_dataWithBytesNoCopy_length Creates a data object that holds a given number of bytes from a given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1547229-datawithbytesnocopy?language=objc +func NSData_dataWithBytesNoCopy_length(bytes unsafe.Pointer, length NSUInteger) NSData { ret := C.NSData_type_dataWithBytesNoCopy_length( bytes, C.ulong(length), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_dataWithBytesNoCopy_length_freeWhenDone( - bytes unsafe.Pointer, - length NSUInteger, - b bool, -) ( - r0 NSData, -) { +// NSData_dataWithBytesNoCopy_length_freeWhenDone Creates a data object that holds a given number of bytes from a given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1547240-datawithbytesnocopy?language=objc +func NSData_dataWithBytesNoCopy_length_freeWhenDone(bytes unsafe.Pointer, length NSUInteger, b bool) NSData { ret := C.NSData_type_dataWithBytesNoCopy_length_freeWhenDone( bytes, C.ulong(length), convertToObjCBool(b), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_dataWithData( - data NSDataRef, -) ( - r0 NSData, -) { +// NSData_dataWithData Creates a data object containing the contents of another data object. +// https://developer.apple.com/documentation/foundation/nsdata/1547230-datawithdata?language=objc +func NSData_dataWithData(data NSDataRef) NSData { ret := C.NSData_type_dataWithData( objc.RefPointer(data), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_dataWithContentsOfFile( - path NSStringRef, -) ( - r0 NSData, -) { +// NSData_dataWithContentsOfFile Creates a data object by reading every byte from the file at a given path. +// https://developer.apple.com/documentation/foundation/nsdata/1547226-datawithcontentsoffile?language=objc +func NSData_dataWithContentsOfFile(path NSStringRef) NSData { ret := C.NSData_type_dataWithContentsOfFile( objc.RefPointer(path), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSData_dataWithContentsOfURL( - url NSURLRef, -) ( - r0 NSData, -) { +// NSData_dataWithContentsOfURL Creates a data object containing the data from the location specified by a given URL. +// https://developer.apple.com/documentation/foundation/nsdata/1547245-datawithcontentsofurl?language=objc +func NSData_dataWithContentsOfURL(url NSURLRef) NSData { ret := C.NSData_type_dataWithContentsOfURL( objc.RefPointer(url), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func NSDictionary_alloc() ( - r0 NSDictionary, -) { +// NSDictionary_alloc +func NSDictionary_alloc() NSDictionary { ret := C.NSDictionary_type_alloc() - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func NSDictionary_dictionary() ( - r0 NSDictionary, -) { +// NSDictionary_dictionary Creates an empty dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1574180-dictionary?language=objc +func NSDictionary_dictionary() NSDictionary { ret := C.NSDictionary_type_dictionary() - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func NSDictionary_dictionaryWithObjects_forKeys( - objects NSArrayRef, - keys NSArrayRef, -) ( - r0 NSDictionary, -) { +// NSDictionary_dictionaryWithObjects_forKeys Creates a dictionary containing entries constructed from the contents of an array of keys and an array of values. +// https://developer.apple.com/documentation/foundation/nsdictionary/1574183-dictionarywithobjects?language=objc +func NSDictionary_dictionaryWithObjects_forKeys(objects NSArrayRef, keys NSArrayRef) NSDictionary { ret := C.NSDictionary_type_dictionaryWithObjects_forKeys( objc.RefPointer(objects), objc.RefPointer(keys), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func NSDictionary_dictionaryWithDictionary( - dict NSDictionaryRef, -) ( - r0 NSDictionary, -) { +// NSDictionary_dictionaryWithDictionary Creates a dictionary containing the keys and values from another given dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1574191-dictionarywithdictionary?language=objc +func NSDictionary_dictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { ret := C.NSDictionary_type_dictionaryWithDictionary( objc.RefPointer(dict), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func NSDictionary_sharedKeySetForKeys( - keys NSArrayRef, -) ( - r0 objc.Object, -) { +// NSDictionary_sharedKeySetForKeys Creates a shared key set object for the specified keys. +// https://developer.apple.com/documentation/foundation/nsdictionary/1408190-sharedkeysetforkeys?language=objc +func NSDictionary_sharedKeySetForKeys(keys NSArrayRef) objc.Object { ret := C.NSDictionary_type_sharedKeySetForKeys( objc.RefPointer(keys), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func NSNumber_alloc() ( - r0 NSNumber, -) { +// NSNumber_alloc +func NSNumber_alloc() NSNumber { ret := C.NSNumber_type_alloc() - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func NSNumber_numberWithBool( - value bool, -) ( - r0 NSNumber, -) { +// NSNumber_numberWithBool Creates and returns an NSNumber object containing a given value, treating it as a BOOL. +// https://developer.apple.com/documentation/foundation/nsnumber/1551475-numberwithbool?language=objc +func NSNumber_numberWithBool(value bool) NSNumber { ret := C.NSNumber_type_numberWithBool( convertToObjCBool(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func NSNumber_numberWithInt( - value int32, -) ( - r0 NSNumber, -) { +// NSNumber_numberWithInt Creates and returns an NSNumber object containing a given value, treating it as a signed int. +// https://developer.apple.com/documentation/foundation/nsnumber/1551470-numberwithint?language=objc +func NSNumber_numberWithInt(value int32) NSNumber { ret := C.NSNumber_type_numberWithInt( C.int(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func NSNumber_numberWithInteger( - value NSInteger, -) ( - r0 NSNumber, -) { +// NSNumber_numberWithInteger Creates and returns an NSNumber object containing a given value, treating it as an NSInteger. +// https://developer.apple.com/documentation/foundation/nsnumber/1551473-numberwithinteger?language=objc +func NSNumber_numberWithInteger(value NSInteger) NSNumber { ret := C.NSNumber_type_numberWithInteger( C.long(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func NSNumber_numberWithUnsignedInt( - value int32, -) ( - r0 NSNumber, -) { +// NSNumber_numberWithUnsignedInt Creates and returns an NSNumber object containing a given value, treating it as an unsigned int. +// https://developer.apple.com/documentation/foundation/nsnumber/1551472-numberwithunsignedint?language=objc +func NSNumber_numberWithUnsignedInt(value int32) NSNumber { ret := C.NSNumber_type_numberWithUnsignedInt( C.int(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func NSNumber_numberWithUnsignedInteger( - value NSUInteger, -) ( - r0 NSNumber, -) { +// NSNumber_numberWithUnsignedInteger Creates and returns an NSNumber object containing a given value, treating it as an NSUInteger. +// https://developer.apple.com/documentation/foundation/nsnumber/1551469-numberwithunsignedinteger?language=objc +func NSNumber_numberWithUnsignedInteger(value NSUInteger) NSNumber { ret := C.NSNumber_type_numberWithUnsignedInteger( C.ulong(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func NSRunLoop_alloc() ( - r0 NSRunLoop, -) { +// NSRunLoop_alloc +func NSRunLoop_alloc() NSRunLoop { ret := C.NSRunLoop_type_alloc() - r0 = NSRunLoop_fromPointer(ret) - return + + return NSRunLoop_fromPointer(ret) + } -func NSRunLoop_currentRunLoop() ( - r0 NSRunLoop, -) { +// NSRunLoop_currentRunLoop Returns the run loop for the current thread. +// https://developer.apple.com/documentation/foundation/nsrunloop/1412291-currentrunloop?language=objc +func NSRunLoop_currentRunLoop() NSRunLoop { ret := C.NSRunLoop_type_currentRunLoop() - r0 = NSRunLoop_fromPointer(ret) - return + + return NSRunLoop_fromPointer(ret) + } -func NSRunLoop_mainRunLoop() ( - r0 NSRunLoop, -) { +// NSRunLoop_mainRunLoop Returns the run loop of the main thread. +// https://developer.apple.com/documentation/foundation/nsrunloop/1418388-mainrunloop?language=objc +func NSRunLoop_mainRunLoop() NSRunLoop { ret := C.NSRunLoop_type_mainRunLoop() - r0 = NSRunLoop_fromPointer(ret) - return + + return NSRunLoop_fromPointer(ret) + } -func NSString_alloc() ( - r0 NSString, -) { +// NSString_alloc +func NSString_alloc() NSString { ret := C.NSString_type_alloc() - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func NSString_string() ( - r0 NSString, -) { +// NSString_string Returns an empty string. +// https://developer.apple.com/documentation/foundation/nsstring/1497312-string?language=objc +func NSString_string() NSString { ret := C.NSString_type_string() - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func NSString_localizedUserNotificationStringForKey_arguments( - key NSStringRef, - arguments NSArrayRef, -) ( - r0 NSString, -) { +// NSString_localizedUserNotificationStringForKey_arguments Returns a localized string intended for display in a notification alert. +// https://developer.apple.com/documentation/foundation/nsstring/1649585-localizedusernotificationstringf?language=objc +func NSString_localizedUserNotificationStringForKey_arguments(key NSStringRef, arguments NSArrayRef) NSString { ret := C.NSString_type_localizedUserNotificationStringForKey_arguments( objc.RefPointer(key), objc.RefPointer(arguments), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func NSString_stringWithString( - string NSStringRef, -) ( - r0 NSString, -) { +// NSString_stringWithString Returns a string created by copying the characters from another given string. +// https://developer.apple.com/documentation/foundation/nsstring/1497372-stringwithstring?language=objc +func NSString_stringWithString(string NSStringRef) NSString { ret := C.NSString_type_stringWithString( objc.RefPointer(string), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func NSString_localizedNameOfStringEncoding( - encoding NSStringEncoding, -) ( - r0 NSString, -) { +// NSString_localizedNameOfStringEncoding Returns a human-readable string giving the name of a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1408318-localizednameofstringencoding?language=objc +func NSString_localizedNameOfStringEncoding(encoding NSStringEncoding) NSString { ret := C.NSString_type_localizedNameOfStringEncoding( C.ulong(encoding), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func NSString_pathWithComponents( - components NSArrayRef, -) ( - r0 NSString, -) { +// NSString_pathWithComponents Returns a string built from the strings in a given array by concatenating them with a path separator between each pair. +// https://developer.apple.com/documentation/foundation/nsstring/1417198-pathwithcomponents?language=objc +func NSString_pathWithComponents(components NSArrayRef) NSString { ret := C.NSString_type_pathWithComponents( objc.RefPointer(components), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func NSString_defaultCStringEncoding() ( - r0 NSStringEncoding, -) { +// NSString_defaultCStringEncoding Returns the C-string encoding assumed for any method accepting a C string as an argument. +// https://developer.apple.com/documentation/foundation/nsstring/1410091-defaultcstringencoding?language=objc +func NSString_defaultCStringEncoding() NSStringEncoding { ret := C.NSString_type_defaultCStringEncoding() - r0 = NSStringEncoding(ret) - return + + return NSStringEncoding(ret) + } -func NSThread_alloc() ( - r0 NSThread, -) { +// NSThread_alloc +func NSThread_alloc() NSThread { ret := C.NSThread_type_alloc() - r0 = NSThread_fromPointer(ret) - return + + return NSThread_fromPointer(ret) + } -func NSThread_detachNewThreadSelector_toTarget_withObject( - selector objc.Selector, - target objc.Ref, - argument objc.Ref, -) { +// NSThread_detachNewThreadSelector_toTarget_withObject Detaches a new thread and uses the specified selector as the thread entry point. +// https://developer.apple.com/documentation/foundation/nsthread/1415633-detachnewthreadselector?language=objc +func NSThread_detachNewThreadSelector_toTarget_withObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { C.NSThread_type_detachNewThreadSelector_toTarget_withObject( selector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(argument), ) + return + } +// NSThread_exit Terminates the current thread. +// https://developer.apple.com/documentation/foundation/nsthread/1409404-exit?language=objc func NSThread_exit() { C.NSThread_type_exit() + return + } -func NSThread_isMultiThreaded() ( - r0 bool, -) { +// NSThread_isMultiThreaded Returns whether the application is multithreaded. +// https://developer.apple.com/documentation/foundation/nsthread/1410702-ismultithreaded?language=objc +func NSThread_isMultiThreaded() bool { ret := C.NSThread_type_isMultiThreaded() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSThread_isMainThread() ( - r0 bool, -) { +// NSThread_isMainThread Returns a Boolean value that indicates whether the current thread is the main thread. +// https://developer.apple.com/documentation/foundation/nsthread/1412704-ismainthread?language=objc +func NSThread_isMainThread() bool { ret := C.NSThread_type_isMainThread() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSThread_mainThread() ( - r0 NSThread, -) { +// NSThread_mainThread Returns the NSThread object representing the main thread. +// https://developer.apple.com/documentation/foundation/nsthread/1414782-mainthread?language=objc +func NSThread_mainThread() NSThread { ret := C.NSThread_type_mainThread() - r0 = NSThread_fromPointer(ret) - return + + return NSThread_fromPointer(ret) + } -func NSThread_currentThread() ( - r0 NSThread, -) { +// NSThread_currentThread Returns the thread object representing the current thread of execution. +// https://developer.apple.com/documentation/foundation/nsthread/1410679-currentthread?language=objc +func NSThread_currentThread() NSThread { ret := C.NSThread_type_currentThread() - r0 = NSThread_fromPointer(ret) - return + + return NSThread_fromPointer(ret) + } -func NSThread_callStackReturnAddresses() ( - r0 NSArray, -) { +// NSThread_callStackReturnAddresses Returns an array containing the call stack return addresses. +// https://developer.apple.com/documentation/foundation/nsthread/1409565-callstackreturnaddresses?language=objc +func NSThread_callStackReturnAddresses() NSArray { ret := C.NSThread_type_callStackReturnAddresses() - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSThread_callStackSymbols() ( - r0 NSArray, -) { +// NSThread_callStackSymbols Returns an array containing the call stack symbols. +// https://developer.apple.com/documentation/foundation/nsthread/1414836-callstacksymbols?language=objc +func NSThread_callStackSymbols() NSArray { ret := C.NSThread_type_callStackSymbols() - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func NSURL_alloc() ( - r0 NSURL, -) { +// NSURL_alloc +func NSURL_alloc() NSURL { ret := C.NSURL_type_alloc() - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_URLWithString( - URLString NSStringRef, -) ( - r0 NSURL, -) { +// NSURL_URLWithString Creates and returns an NSURL object initialized with a provided URL string. +// https://developer.apple.com/documentation/foundation/nsurl/1572047-urlwithstring?language=objc +func NSURL_URLWithString(URLString NSStringRef) NSURL { ret := C.NSURL_type_URLWithString( objc.RefPointer(URLString), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_URLWithString_relativeToURL( - URLString NSStringRef, - baseURL NSURLRef, -) ( - r0 NSURL, -) { +// NSURL_URLWithString_relativeToURL Creates and returns an NSURL object initialized with a base URL and a relative string. +// https://developer.apple.com/documentation/foundation/nsurl/1572049-urlwithstring?language=objc +func NSURL_URLWithString_relativeToURL(URLString NSStringRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_URLWithString_relativeToURL( objc.RefPointer(URLString), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_fileURLWithPath_isDirectory( - path NSStringRef, - isDir bool, -) ( - r0 NSURL, -) { +// NSURL_fileURLWithPath_isDirectory Initializes and returns a newly created NSURL object as a file URL with a specified path. +// https://developer.apple.com/documentation/foundation/nsurl/1414650-fileurlwithpath?language=objc +func NSURL_fileURLWithPath_isDirectory(path NSStringRef, isDir bool) NSURL { ret := C.NSURL_type_fileURLWithPath_isDirectory( objc.RefPointer(path), convertToObjCBool(isDir), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_fileURLWithPath_relativeToURL( - path NSStringRef, - baseURL NSURLRef, -) ( - r0 NSURL, -) { +// NSURL_fileURLWithPath_relativeToURL +// https://developer.apple.com/documentation/foundation/nsurl/1413201-fileurlwithpath?language=objc +func NSURL_fileURLWithPath_relativeToURL(path NSStringRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_fileURLWithPath_relativeToURL( objc.RefPointer(path), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_fileURLWithPath_isDirectory_relativeToURL( - path NSStringRef, - isDir bool, - baseURL NSURLRef, -) ( - r0 NSURL, -) { +// NSURL_fileURLWithPath_isDirectory_relativeToURL +// https://developer.apple.com/documentation/foundation/nsurl/1413020-fileurlwithpath?language=objc +func NSURL_fileURLWithPath_isDirectory_relativeToURL(path NSStringRef, isDir bool, baseURL NSURLRef) NSURL { ret := C.NSURL_type_fileURLWithPath_isDirectory_relativeToURL( objc.RefPointer(path), convertToObjCBool(isDir), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_fileURLWithPath( - path NSStringRef, -) ( - r0 NSURL, -) { +// NSURL_fileURLWithPath Initializes and returns a newly created NSURL object as a file URL with a specified path. +// https://developer.apple.com/documentation/foundation/nsurl/1410828-fileurlwithpath?language=objc +func NSURL_fileURLWithPath(path NSStringRef) NSURL { ret := C.NSURL_type_fileURLWithPath( objc.RefPointer(path), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_fileURLWithPathComponents( - components NSArrayRef, -) ( - r0 NSURL, -) { +// NSURL_fileURLWithPathComponents Initializes and returns a newly created NSURL object as a file URL with specified path components. +// https://developer.apple.com/documentation/foundation/nsurl/1414206-fileurlwithpathcomponents?language=objc +func NSURL_fileURLWithPathComponents(components NSArrayRef) NSURL { ret := C.NSURL_type_fileURLWithPathComponents( objc.RefPointer(components), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_absoluteURLWithDataRepresentation_relativeToURL( - data NSDataRef, - baseURL NSURLRef, -) ( - r0 NSURL, -) { +// NSURL_absoluteURLWithDataRepresentation_relativeToURL +// https://developer.apple.com/documentation/foundation/nsurl/1412404-absoluteurlwithdatarepresentatio?language=objc +func NSURL_absoluteURLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_absoluteURLWithDataRepresentation_relativeToURL( objc.RefPointer(data), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_URLWithDataRepresentation_relativeToURL( - data NSDataRef, - baseURL NSURLRef, -) ( - r0 NSURL, -) { +// NSURL_URLWithDataRepresentation_relativeToURL +// https://developer.apple.com/documentation/foundation/nsurl/1572042-urlwithdatarepresentation?language=objc +func NSURL_URLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_URLWithDataRepresentation_relativeToURL( objc.RefPointer(data), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func NSURL_resourceValuesForKeys_fromBookmarkData( - keys NSArrayRef, - bookmarkData NSDataRef, -) ( - r0 NSDictionary, -) { +// NSURL_resourceValuesForKeys_fromBookmarkData Returns the resource values for properties identified by a specified array of keys contained in specified bookmark data. +// https://developer.apple.com/documentation/foundation/nsurl/1418097-resourcevaluesforkeys?language=objc +func NSURL_resourceValuesForKeys_fromBookmarkData(keys NSArrayRef, bookmarkData NSDataRef) NSDictionary { ret := C.NSURL_type_resourceValuesForKeys_fromBookmarkData( objc.RefPointer(keys), objc.RefPointer(bookmarkData), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func NSURLRequest_alloc() ( - r0 NSURLRequest, -) { +// NSURLRequest_alloc +func NSURLRequest_alloc() NSURLRequest { ret := C.NSURLRequest_type_alloc() - r0 = NSURLRequest_fromPointer(ret) - return + + return NSURLRequest_fromPointer(ret) + } -func NSURLRequest_requestWithURL( - URL NSURLRef, -) ( - r0 NSURLRequest, -) { +// NSURLRequest_requestWithURL Creates and returns a URL request for a specified URL. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1528603-requestwithurl?language=objc +func NSURLRequest_requestWithURL(URL NSURLRef) NSURLRequest { ret := C.NSURLRequest_type_requestWithURL( objc.RefPointer(URL), ) - r0 = NSURLRequest_fromPointer(ret) - return + + return NSURLRequest_fromPointer(ret) + } -func NSURLRequest_supportsSecureCoding() ( - r0 bool, -) { +// NSURLRequest_supportsSecureCoding A Boolean value indicating whether the NSURLRequest implements the NSSecureCoding protocol. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1416510-supportssecurecoding?language=objc +func NSURLRequest_supportsSecureCoding() bool { ret := C.NSURLRequest_type_supportsSecureCoding() - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func NSUserDefaults_alloc() ( - r0 NSUserDefaults, -) { +// NSUserDefaults_alloc +func NSUserDefaults_alloc() NSUserDefaults { ret := C.NSUserDefaults_type_alloc() - r0 = NSUserDefaults_fromPointer(ret) - return + + return NSUserDefaults_fromPointer(ret) + } +// NSUserDefaults_resetStandardUserDefaults This method has no effect and shouldn't be used. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1407708-resetstandarduserdefaults?language=objc func NSUserDefaults_resetStandardUserDefaults() { C.NSUserDefaults_type_resetStandardUserDefaults() + return + } -func NSUserDefaults_standardUserDefaults() ( - r0 NSUserDefaults, -) { +// NSUserDefaults_standardUserDefaults Returns the shared defaults object. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416603-standarduserdefaults?language=objc +func NSUserDefaults_standardUserDefaults() NSUserDefaults { ret := C.NSUserDefaults_type_standardUserDefaults() - r0 = NSUserDefaults_fromPointer(ret) - return + + return NSUserDefaults_fromPointer(ret) + } type CALayerRef interface { diff --git a/gen/convert.go b/gen/convert.go index c0af6999..2981c561 100644 --- a/gen/convert.go +++ b/gen/convert.go @@ -62,6 +62,7 @@ func processClassSchema(pkg *GoPackage, s *schema.Schema, imports []PackageConte msg := cb.msgSend(m, true) ident := selectorNameToGoIdent(cb.generatedNames, m.Name) wrapper := MethodDef{ + Description: m.Description + fmt.Sprintf("\n// %s", m.TopicURL), Name: fmt.Sprintf("%s_%s", cb.Class.Name, ident), WrappedFunc: cb.cgoWrapperFunc(m, true), } diff --git a/gen/gen.go b/gen/gen.go index 5ccdc7d6..35b0ff61 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -29,7 +29,6 @@ func msgSendFuncName(generatedNames map[string]string, cls schema.Class, selecto } func selectorNameToGoIdent(generatedNames map[string]string, sel string) string { - fmt.Println("selectorNameToGoIdent", sel) if ident, ok := generatedNames[sel]; ok { return ident } diff --git a/gen/gen_class_builder.go b/gen/gen_class_builder.go index fc6b2e77..da7187ec 100644 --- a/gen/gen_class_builder.go +++ b/gen/gen_class_builder.go @@ -108,9 +108,10 @@ func (cb *classBuilder) toMsgSendReturn(dt schema.DataType) string { func (cb *classBuilder) cgoWrapperFunc(method schema.Method, isTypeMethod bool) CGoWrapperFunc { r := CGoWrapperFunc{ - Name: msgSendFuncName(cb.generatedNames, cb.Class, method.Name, isTypeMethod), - Args: []CGoWrapperArg{}, - Returns: cb.toCGoWrapperReturn(method.Return), + Description: method.Description, + Name: msgSendFuncName(cb.generatedNames, cb.Class, method.Name, isTypeMethod), + Args: []CGoWrapperArg{}, + Returns: cb.toCGoWrapperReturn(method.Return), } for _, arg := range method.Args { typ := cb.mapType(arg.Type) diff --git a/gen/model.go b/gen/model.go index 3ca30ee2..2bfe0b28 100644 --- a/gen/model.go +++ b/gen/model.go @@ -73,9 +73,10 @@ type CGoWrapperReturn struct { } type CGoWrapperFunc struct { - Name string - Args []CGoWrapperArg - Returns []CGoWrapperReturn + Description string + Name string + Args []CGoWrapperArg + Returns []CGoWrapperReturn } func (f CGoWrapperFunc) HasReturn() bool { @@ -83,6 +84,7 @@ func (f CGoWrapperFunc) HasReturn() bool { } type MethodDef struct { + Description string Name string WrappedFunc CGoWrapperFunc } diff --git a/gen/template/package.tmpl b/gen/template/package.tmpl index b37830b2..a8c0ec4d 100644 --- a/gen/template/package.tmpl +++ b/gen/template/package.tmpl @@ -84,24 +84,33 @@ func convertToObjCBool(b bool) C.BOOL { {{define "go_to_cgo"}} {{range $x := .}} +// {{.Name}} {{.Description}} func {{.Name}}( - {{- range .WrappedFunc.Args}} - {{.Name}} {{.Type}}, - {{- end}} + {{- range $i, $_ := .WrappedFunc.Args -}} + {{if $i}}, {{end}}{{.Name}} {{.Type}} + {{- end -}} ) {{if .WrappedFunc.HasReturn}}( - {{- range $i, $_ := .WrappedFunc.Returns}} - r{{$i}} {{.Type}}, - {{- end}} + {{- if eq (len .WrappedFunc.Returns) 1}} + {{(index .WrappedFunc.Returns 0).Type}} + {{- else -}} + {{- range $i, $_ := .WrappedFunc.Returns -}} + {{if $i}}, {{end}}r{{$i}} {{.Type}} + {{- end -}} + {{- end -}} ){{end}} { {{if .WrappedFunc.HasReturn}}ret := {{end}}C.{{.WrappedFunc.Name}}( {{- range .WrappedFunc.Args}} {{printf .ToCGoFmt .Name}}, {{- end}} ) + {{ if eq (len .WrappedFunc.Returns) 1}} + return {{printf (index .WrappedFunc.Returns 0).FromCGoFmt "ret"}} + {{ else }} {{- range $i, $_ := .WrappedFunc.Returns}} r{{$i}} = {{printf .FromCGoFmt "ret"}} {{- end}} return + {{ end }} } {{end}} diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index c336cae3..bfe9431a 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -479,56 +479,55 @@ func convertToObjCBool(b bool) C.BOOL { return C.webkit_objc_bool_false } -func WKNavigation_alloc() ( - r0 WKNavigation, -) { +// WKNavigation_alloc +func WKNavigation_alloc() WKNavigation { ret := C.WKNavigation_type_alloc() - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } -func WKUserScript_alloc() ( - r0 WKUserScript, -) { +// WKUserScript_alloc +func WKUserScript_alloc() WKUserScript { ret := C.WKUserScript_type_alloc() - r0 = WKUserScript_fromPointer(ret) - return + + return WKUserScript_fromPointer(ret) + } -func WKWebView_alloc() ( - r0 WKWebView, -) { +// WKWebView_alloc +func WKWebView_alloc() WKWebView { ret := C.WKWebView_type_alloc() - r0 = WKWebView_fromPointer(ret) - return + + return WKWebView_fromPointer(ret) + } -func WKWebView_handlesURLScheme( - urlScheme core.NSStringRef, -) ( - r0 bool, -) { +// WKWebView_handlesURLScheme Returns a Boolean value that indicates whether WebKit natively supports resources with the specified URL scheme. +// https://developer.apple.com/documentation/webkit/wkwebview/2875370-handlesurlscheme?language=objc +func WKWebView_handlesURLScheme(urlScheme core.NSStringRef) bool { ret := C.WKWebView_type_handlesURLScheme( objc.RefPointer(urlScheme), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func WKWebViewConfiguration_alloc() ( - r0 WKWebViewConfiguration, -) { +// WKWebViewConfiguration_alloc +func WKWebViewConfiguration_alloc() WKWebViewConfiguration { ret := C.WKWebViewConfiguration_type_alloc() - r0 = WKWebViewConfiguration_fromPointer(ret) - return + + return WKWebViewConfiguration_fromPointer(ret) + } -func WKPreferences_alloc() ( - r0 WKPreferences, -) { +// WKPreferences_alloc +func WKPreferences_alloc() WKPreferences { ret := C.WKPreferences_type_alloc() - r0 = WKPreferences_fromPointer(ret) - return + + return WKPreferences_fromPointer(ret) + } type WKNavigationRef interface { From 89c38a8d614b5b254df9c9bbb2adfdac2252d57c Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 14:17:58 -0700 Subject: [PATCH 07/13] macdriver: clean up methods as well --- cocoa/cocoa_objc.gen.go | 10691 +++++++++++++++++++++++------------- core/core_objc.gen.go | 3334 ++++++----- gen/gen_class_builder.go | 1 + gen/template/package.tmpl | 19 +- webkit/webkit_objc.gen.go | 657 ++- 5 files changed, 9316 insertions(+), 5386 deletions(-) diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index 07b50096..075769ac 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -8808,59 +8808,62 @@ func NSBundle_fromRef(ref objc.Ref) NSBundle { return NSBundle_fromPointer(unsafe.Pointer(ref.Pointer())) } +// URLForAuxiliaryExecutable Returns the file URL of the executable with the specified name in the receiver’s bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1411412-urlforauxiliaryexecutable?language=objc func (x gen_NSBundle) URLForAuxiliaryExecutable( executableName core.NSStringRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSBundle_inst_URLForAuxiliaryExecutable( unsafe.Pointer(x.Pointer()), objc.RefPointer(executableName), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// URLForResource_withExtension Returns the file URL for the resource identified by the specified name and file extension. +// https://developer.apple.com/documentation/foundation/nsbundle/1411540-urlforresource?language=objc func (x gen_NSBundle) URLForResource_withExtension( name core.NSStringRef, ext core.NSStringRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSBundle_inst_URLForResource_withExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// URLForResource_withExtension_subdirectory Returns the file URL for the resource file identified by the specified name and extension and residing in a given bundle directory. +// https://developer.apple.com/documentation/foundation/nsbundle/1416712-urlforresource?language=objc func (x gen_NSBundle) URLForResource_withExtension_subdirectory( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(subpath), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// URLForResource_withExtension_subdirectory_localization Returns the file URL for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. +// https://developer.apple.com/documentation/foundation/nsbundle/1417378-urlforresource?language=objc func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_localization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), @@ -8868,195 +8871,208 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( objc.RefPointer(subpath), objc.RefPointer(localizationName), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// URLsForResourcesWithExtension_subdirectory Returns an array of file URLs for all resources identified by the specified file extension and located in the specified bundle subdirectory. +// https://developer.apple.com/documentation/foundation/nsbundle/1407424-urlsforresourceswithextension?language=objc func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( ext core.NSStringRef, subpath core.NSStringRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// URLsForResourcesWithExtension_subdirectory_localization Returns an array containing the file URLs for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. +// https://developer.apple.com/documentation/foundation/nsbundle/1414688-urlsforresourceswithextension?language=objc func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(localizationName), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// InitWithPath_asNSBundle Returns an NSBundle object initialized to correspond to the specified directory. +// https://developer.apple.com/documentation/foundation/nsbundle/1412741-initwithpath?language=objc func (x gen_NSBundle) InitWithPath_asNSBundle( path core.NSStringRef, -) ( - r0 NSBundle, -) { +) NSBundle { ret := C.NSBundle_inst_initWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } +// InitWithURL_asNSBundle Returns an NSBundle object initialized to correspond to the specified file URL. +// https://developer.apple.com/documentation/foundation/nsbundle/1409352-initwithurl?language=objc func (x gen_NSBundle) InitWithURL_asNSBundle( url core.NSURLRef, -) ( - r0 NSBundle, -) { +) NSBundle { ret := C.NSBundle_inst_initWithURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func (x gen_NSBundle) Load() ( - r0 bool, -) { +// Load Dynamically loads the bundle’s executable code into a running program, if the code has not already been loaded. +// https://developer.apple.com/documentation/foundation/nsbundle/1415927-load?language=objc +func (x gen_NSBundle) Load() bool { ret := C.NSBundle_inst_load( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// LoadNibNamed_owner_options Unarchives the contents of a nib file located in the receiver's bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1618147-loadnibnamed?language=objc func (x gen_NSBundle) LoadNibNamed_owner_options( name core.NSStringRef, owner objc.Ref, options core.NSDictionaryRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSBundle_inst_loadNibNamed_owner_options( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(owner), objc.RefPointer(options), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// LocalizedAttributedStringForKey_value_table +// https://developer.apple.com/documentation/foundation/nsbundle/3746904-localizedattributedstringforkey?language=objc func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef, -) ( - r0 core.NSAttributedString, -) { +) core.NSAttributedString { ret := C.NSBundle_inst_localizedAttributedStringForKey_value_table( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(value), objc.RefPointer(tableName), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } +// LocalizedStringForKey_value_table Returns a localized version of the string designated by the specified key and residing in the specified table. +// https://developer.apple.com/documentation/foundation/nsbundle/1417694-localizedstringforkey?language=objc func (x gen_NSBundle) LocalizedStringForKey_value_table( key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef, -) ( - r0 core.NSString, -) { +) core.NSString { ret := C.NSBundle_inst_localizedStringForKey_value_table( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(value), objc.RefPointer(tableName), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// ObjectForInfoDictionaryKey Returns the value associated with the specified key in the receiver's information property list. +// https://developer.apple.com/documentation/foundation/nsbundle/1408696-objectforinfodictionarykey?language=objc func (x gen_NSBundle) ObjectForInfoDictionaryKey( key core.NSStringRef, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.NSBundle_inst_objectForInfoDictionaryKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// PathForAuxiliaryExecutable Returns the full pathname of the executable with the specified name in the receiver’s bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1415214-pathforauxiliaryexecutable?language=objc func (x gen_NSBundle) PathForAuxiliaryExecutable( executableName core.NSStringRef, -) ( - r0 core.NSString, -) { +) core.NSString { ret := C.NSBundle_inst_pathForAuxiliaryExecutable( unsafe.Pointer(x.Pointer()), objc.RefPointer(executableName), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// PathForResource_ofType Returns the full pathname for the resource identified by the specified name and file extension. +// https://developer.apple.com/documentation/foundation/nsbundle/1410989-pathforresource?language=objc func (x gen_NSBundle) PathForResource_ofType( name core.NSStringRef, ext core.NSStringRef, -) ( - r0 core.NSString, -) { +) core.NSString { ret := C.NSBundle_inst_pathForResource_ofType( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// PathForResource_ofType_inDirectory Returns the full pathname for the resource identified by the specified name and file extension and located in the specified bundle subdirectory. +// https://developer.apple.com/documentation/foundation/nsbundle/1409670-pathforresource?language=objc func (x gen_NSBundle) PathForResource_ofType_inDirectory( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, -) ( - r0 core.NSString, -) { +) core.NSString { ret := C.NSBundle_inst_pathForResource_ofType_inDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(subpath), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// PathForResource_ofType_inDirectory_forLocalization Returns the full pathname for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. +// https://developer.apple.com/documentation/foundation/nsbundle/1413471-pathforresource?language=objc func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, -) ( - r0 core.NSString, -) { +) core.NSString { ret := C.NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), @@ -9064,290 +9080,317 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( objc.RefPointer(subpath), objc.RefPointer(localizationName), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// PathsForResourcesOfType_inDirectory Returns an array containing the pathnames for all bundle resources having the specified filename extension and residing in the resource subdirectory. +// https://developer.apple.com/documentation/foundation/nsbundle/1413058-pathsforresourcesoftype?language=objc func (x gen_NSBundle) PathsForResourcesOfType_inDirectory( ext core.NSStringRef, subpath core.NSStringRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// PathsForResourcesOfType_inDirectory_forLocalization Returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. +// https://developer.apple.com/documentation/foundation/nsbundle/1416940-pathsforresourcesoftype?language=objc func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(localizationName), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSBundle) Unload() ( - r0 bool, -) { +// Unload Unloads the code associated with the receiver. +// https://developer.apple.com/documentation/foundation/nsbundle/1412388-unload?language=objc +func (x gen_NSBundle) Unload() bool { ret := C.NSBundle_inst_unload( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSBundle) Init_asNSBundle() ( - r0 NSBundle, -) { +// Init_asNSBundle +func (x gen_NSBundle) Init_asNSBundle() NSBundle { ret := C.NSBundle_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func (x gen_NSBundle) ResourceURL() ( - r0 core.NSURL, -) { +// ResourceURL The file URL of the bundle’s subdirectory containing resource files. +// https://developer.apple.com/documentation/foundation/nsbundle/1414821-resourceurl?language=objc +func (x gen_NSBundle) ResourceURL() core.NSURL { ret := C.NSBundle_inst_resourceURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) ExecutableURL() ( - r0 core.NSURL, -) { +// ExecutableURL The file URL of the receiver's executable file. +// https://developer.apple.com/documentation/foundation/nsbundle/1410470-executableurl?language=objc +func (x gen_NSBundle) ExecutableURL() core.NSURL { ret := C.NSBundle_inst_executableURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) PrivateFrameworksURL() ( - r0 core.NSURL, -) { +// PrivateFrameworksURL The file URL of the bundle’s subdirectory containing private frameworks. +// https://developer.apple.com/documentation/foundation/nsbundle/1417617-privateframeworksurl?language=objc +func (x gen_NSBundle) PrivateFrameworksURL() core.NSURL { ret := C.NSBundle_inst_privateFrameworksURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) SharedFrameworksURL() ( - r0 core.NSURL, -) { +// SharedFrameworksURL The file URL of the receiver's subdirectory containing shared frameworks. +// https://developer.apple.com/documentation/foundation/nsbundle/1411774-sharedframeworksurl?language=objc +func (x gen_NSBundle) SharedFrameworksURL() core.NSURL { ret := C.NSBundle_inst_sharedFrameworksURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) BuiltInPlugInsURL() ( - r0 core.NSURL, -) { +// BuiltInPlugInsURL The file URL of the receiver's subdirectory containing plug-ins. +// https://developer.apple.com/documentation/foundation/nsbundle/1409603-builtinpluginsurl?language=objc +func (x gen_NSBundle) BuiltInPlugInsURL() core.NSURL { ret := C.NSBundle_inst_builtInPlugInsURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) SharedSupportURL() ( - r0 core.NSURL, -) { +// SharedSupportURL The file URL of the bundle’s subdirectory containing shared support files. +// https://developer.apple.com/documentation/foundation/nsbundle/1416823-sharedsupporturl?language=objc +func (x gen_NSBundle) SharedSupportURL() core.NSURL { ret := C.NSBundle_inst_sharedSupportURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) AppStoreReceiptURL() ( - r0 core.NSURL, -) { +// AppStoreReceiptURL The file URL for the bundle’s App Store receipt. +// https://developer.apple.com/documentation/foundation/nsbundle/1407276-appstorereceipturl?language=objc +func (x gen_NSBundle) AppStoreReceiptURL() core.NSURL { ret := C.NSBundle_inst_appStoreReceiptURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) ResourcePath() ( - r0 core.NSString, -) { +// ResourcePath The full pathname of the bundle’s subdirectory containing resources. +// https://developer.apple.com/documentation/foundation/nsbundle/1417723-resourcepath?language=objc +func (x gen_NSBundle) ResourcePath() core.NSString { ret := C.NSBundle_inst_resourcePath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) ExecutablePath() ( - r0 core.NSString, -) { +// ExecutablePath The full pathname of the receiver's executable file. +// https://developer.apple.com/documentation/foundation/nsbundle/1409078-executablepath?language=objc +func (x gen_NSBundle) ExecutablePath() core.NSString { ret := C.NSBundle_inst_executablePath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) PrivateFrameworksPath() ( - r0 core.NSString, -) { +// PrivateFrameworksPath The full pathname of the bundle’s subdirectory containing private frameworks. +// https://developer.apple.com/documentation/foundation/nsbundle/1415562-privateframeworkspath?language=objc +func (x gen_NSBundle) PrivateFrameworksPath() core.NSString { ret := C.NSBundle_inst_privateFrameworksPath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) SharedFrameworksPath() ( - r0 core.NSString, -) { +// SharedFrameworksPath The full pathname of the bundle’s subdirectory containing shared frameworks. +// https://developer.apple.com/documentation/foundation/nsbundle/1417226-sharedframeworkspath?language=objc +func (x gen_NSBundle) SharedFrameworksPath() core.NSString { ret := C.NSBundle_inst_sharedFrameworksPath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) BuiltInPlugInsPath() ( - r0 core.NSString, -) { +// BuiltInPlugInsPath The full pathname of the receiver's subdirectory containing plug-ins. +// https://developer.apple.com/documentation/foundation/nsbundle/1408900-builtinpluginspath?language=objc +func (x gen_NSBundle) BuiltInPlugInsPath() core.NSString { ret := C.NSBundle_inst_builtInPlugInsPath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) SharedSupportPath() ( - r0 core.NSString, -) { +// SharedSupportPath The full pathname of the bundle’s subdirectory containing shared support files. +// https://developer.apple.com/documentation/foundation/nsbundle/1411609-sharedsupportpath?language=objc +func (x gen_NSBundle) SharedSupportPath() core.NSString { ret := C.NSBundle_inst_sharedSupportPath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) BundleURL() ( - r0 core.NSURL, -) { +// BundleURL The full URL of the receiver’s bundle directory. +// https://developer.apple.com/documentation/foundation/nsbundle/1415654-bundleurl?language=objc +func (x gen_NSBundle) BundleURL() core.NSURL { ret := C.NSBundle_inst_bundleURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSBundle) BundlePath() ( - r0 core.NSString, -) { +// BundlePath The full pathname of the receiver’s bundle directory. +// https://developer.apple.com/documentation/foundation/nsbundle/1407973-bundlepath?language=objc +func (x gen_NSBundle) BundlePath() core.NSString { ret := C.NSBundle_inst_bundlePath( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) BundleIdentifier() ( - r0 core.NSString, -) { +// BundleIdentifier The receiver’s bundle identifier. +// https://developer.apple.com/documentation/foundation/nsbundle/1418023-bundleidentifier?language=objc +func (x gen_NSBundle) BundleIdentifier() core.NSString { ret := C.NSBundle_inst_bundleIdentifier( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) InfoDictionary() ( - r0 core.NSDictionary, -) { +// InfoDictionary A dictionary, constructed from the bundle’s Info.plist file, that contains information about the receiver. +// https://developer.apple.com/documentation/foundation/nsbundle/1413477-infodictionary?language=objc +func (x gen_NSBundle) InfoDictionary() core.NSDictionary { ret := C.NSBundle_inst_infoDictionary( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } -func (x gen_NSBundle) Localizations() ( - r0 core.NSArray, -) { +// Localizations A list of all the localizations contained in the bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1417415-localizations?language=objc +func (x gen_NSBundle) Localizations() core.NSArray { ret := C.NSBundle_inst_localizations( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSBundle) PreferredLocalizations() ( - r0 core.NSArray, -) { +// PreferredLocalizations An ordered list of preferred localizations contained in the bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1413220-preferredlocalizations?language=objc +func (x gen_NSBundle) PreferredLocalizations() core.NSArray { ret := C.NSBundle_inst_preferredLocalizations( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSBundle) DevelopmentLocalization() ( - r0 core.NSString, -) { +// DevelopmentLocalization The localization for the development language. +// https://developer.apple.com/documentation/foundation/nsbundle/1417526-developmentlocalization?language=objc +func (x gen_NSBundle) DevelopmentLocalization() core.NSString { ret := C.NSBundle_inst_developmentLocalization( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSBundle) LocalizedInfoDictionary() ( - r0 core.NSDictionary, -) { +// LocalizedInfoDictionary A dictionary with the keys from the bundle’s localized property list. +// https://developer.apple.com/documentation/foundation/nsbundle/1407645-localizedinfodictionary?language=objc +func (x gen_NSBundle) LocalizedInfoDictionary() core.NSDictionary { ret := C.NSBundle_inst_localizedInfoDictionary( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } -func (x gen_NSBundle) ExecutableArchitectures() ( - r0 core.NSArray, -) { +// ExecutableArchitectures An array of numbers indicating the architecture types supported by the bundle’s executable. +// https://developer.apple.com/documentation/foundation/nsbundle/1415499-executablearchitectures?language=objc +func (x gen_NSBundle) ExecutableArchitectures() core.NSArray { ret := C.NSBundle_inst_executableArchitectures( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSBundle) IsLoaded() ( - r0 bool, -) { +// IsLoaded The load status of a bundle. +// https://developer.apple.com/documentation/foundation/nsbundle/1413594-loaded?language=objc +func (x gen_NSBundle) IsLoaded() bool { ret := C.NSBundle_inst_isLoaded( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSSoundRef interface { @@ -9369,102 +9412,112 @@ func NSSound_fromRef(ref objc.Ref) NSSound { return NSSound_fromPointer(unsafe.Pointer(ref.Pointer())) } +// InitWithContentsOfFile_byReference_asNSSound Initializes the receiver with the audio data located at a given filepath. +// https://developer.apple.com/documentation/appkit/nssound/1477274-initwithcontentsoffile?language=objc func (x gen_NSSound) InitWithContentsOfFile_byReference_asNSSound( path core.NSStringRef, byRef bool, -) ( - r0 NSSound, -) { +) NSSound { ret := C.NSSound_inst_initWithContentsOfFile_byReference( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(byRef), ) - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } +// InitWithContentsOfURL_byReference_asNSSound Initializes the receiver with the audio data located at a given URL. +// https://developer.apple.com/documentation/appkit/nssound/1477288-initwithcontentsofurl?language=objc func (x gen_NSSound) InitWithContentsOfURL_byReference_asNSSound( url core.NSURLRef, byRef bool, -) ( - r0 NSSound, -) { +) NSSound { ret := C.NSSound_inst_initWithContentsOfURL_byReference( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), convertToObjCBool(byRef), ) - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } +// InitWithData_asNSSound Initializes the receiver with a given audio data. +// https://developer.apple.com/documentation/appkit/nssound/1477292-initwithdata?language=objc func (x gen_NSSound) InitWithData_asNSSound( data core.NSDataRef, -) ( - r0 NSSound, -) { +) NSSound { ret := C.NSSound_inst_initWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } +// InitWithPasteboard_asNSSound Initializes the receiver with data from a pasteboard. The pasteboard should contain a type returned by NSSound. NSSound expects the data to have a proper magic number, sound header, and data for the formats it supports. +// https://developer.apple.com/documentation/appkit/nssound/1477294-initwithpasteboard?language=objc func (x gen_NSSound) InitWithPasteboard_asNSSound( pasteboard NSPasteboardRef, -) ( - r0 NSSound, -) { +) NSSound { ret := C.NSSound_inst_initWithPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } -func (x gen_NSSound) Pause() ( - r0 bool, -) { +// Pause Pauses audio playback. +// https://developer.apple.com/documentation/appkit/nssound/1477307-pause?language=objc +func (x gen_NSSound) Pause() bool { ret := C.NSSound_inst_pause( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSSound) Play() ( - r0 bool, -) { +// Play Initiates audio playback. +// https://developer.apple.com/documentation/appkit/nssound/1477322-play?language=objc +func (x gen_NSSound) Play() bool { ret := C.NSSound_inst_play( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSSound) Resume() ( - r0 bool, -) { +// Resume Resumes audio playback. +// https://developer.apple.com/documentation/appkit/nssound/1477336-resume?language=objc +func (x gen_NSSound) Resume() bool { ret := C.NSSound_inst_resume( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSSound) Stop() ( - r0 bool, -) { +// Stop Concludes audio playback. +// https://developer.apple.com/documentation/appkit/nssound/1477282-stop?language=objc +func (x gen_NSSound) Stop() bool { ret := C.NSSound_inst_stop( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// WriteToPasteboard Writes the receiver’s data to a pasteboard. +// https://developer.apple.com/documentation/appkit/nssound/1477338-writetopasteboard?language=objc func (x gen_NSSound) WriteToPasteboard( pasteboard NSPasteboardRef, ) { @@ -9472,29 +9525,34 @@ func (x gen_NSSound) WriteToPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) + return + } -func (x gen_NSSound) Init_asNSSound() ( - r0 NSSound, -) { +// Init_asNSSound +func (x gen_NSSound) Init_asNSSound() NSSound { ret := C.NSSound_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } -func (x gen_NSSound) Delegate() ( - r0 objc.Object, -) { +// Delegate The sound’s delegate. +// https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc +func (x gen_NSSound) Delegate() objc.Object { ret := C.NSSound_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The sound’s delegate. +// https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc func (x gen_NSSound) SetDelegate( value objc.Ref, ) { @@ -9502,19 +9560,24 @@ func (x gen_NSSound) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSSound) Loops() ( - r0 bool, -) { +// Loops A Boolean that indicates whether the sound restarts playback when it reaches the end of its content. +// https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc +func (x gen_NSSound) Loops() bool { ret := C.NSSound_inst_loops( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetLoops A Boolean that indicates whether the sound restarts playback when it reaches the end of its content. +// https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc func (x gen_NSSound) SetLoops( value bool, ) { @@ -9522,17 +9585,20 @@ func (x gen_NSSound) SetLoops( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSSound) IsPlaying() ( - r0 bool, -) { +// IsPlaying A Boolean that indicates whether the sound is playing its audio data. +// https://developer.apple.com/documentation/appkit/nssound/1477302-playing?language=objc +func (x gen_NSSound) IsPlaying() bool { ret := C.NSSound_inst_isPlaying( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSApplicationRef interface { @@ -9554,6 +9620,8 @@ func NSApplication_fromRef(ref objc.Ref) NSApplication { return NSApplication_fromPointer(unsafe.Pointer(ref.Pointer())) } +// ActivateContextHelpMode Places the receiver in context-sensitive help mode. +// https://developer.apple.com/documentation/appkit/nsapplication/1500925-activatecontexthelpmode?language=objc func (x gen_NSApplication) ActivateContextHelpMode( sender objc.Ref, ) { @@ -9561,9 +9629,13 @@ func (x gen_NSApplication) ActivateContextHelpMode( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ActivateIgnoringOtherApps Makes the receiver the active app. +// https://developer.apple.com/documentation/appkit/nsapplication/1428468-activateignoringotherapps?language=objc func (x gen_NSApplication) ActivateIgnoringOtherApps( flag bool, ) { @@ -9571,19 +9643,24 @@ func (x gen_NSApplication) ActivateIgnoringOtherApps( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) + return + } -func (x gen_NSApplication) ActivationPolicy() ( - r0 core.NSInteger, -) { +// ActivationPolicy Returns the app’s activation policy. +// https://developer.apple.com/documentation/appkit/nsapplication/1428703-activationpolicy?language=objc +func (x gen_NSApplication) ActivationPolicy() core.NSInteger { ret := C.NSApplication_inst_activationPolicy( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// CancelUserAttentionRequest Cancels a previous user attention request. +// https://developer.apple.com/documentation/appkit/nsapplication/1428683-canceluserattentionrequest?language=objc func (x gen_NSApplication) CancelUserAttentionRequest( request core.NSInteger, ) { @@ -9591,37 +9668,57 @@ func (x gen_NSApplication) CancelUserAttentionRequest( unsafe.Pointer(x.Pointer()), C.long(request), ) + return + } +// Deactivate Deactivates the receiver. +// https://developer.apple.com/documentation/appkit/nsapplication/1428428-deactivate?language=objc func (x gen_NSApplication) Deactivate() { C.NSApplication_inst_deactivate( unsafe.Pointer(x.Pointer()), ) + return + } +// DisableRelaunchOnLogin Disables relaunching the app on login. +// https://developer.apple.com/documentation/appkit/nsapplication/1428376-disablerelaunchonlogin?language=objc func (x gen_NSApplication) DisableRelaunchOnLogin() { C.NSApplication_inst_disableRelaunchOnLogin( unsafe.Pointer(x.Pointer()), ) + return + } +// EnableRelaunchOnLogin Enables relaunching the app on login. +// https://developer.apple.com/documentation/appkit/nsapplication/1428453-enablerelaunchonlogin?language=objc func (x gen_NSApplication) EnableRelaunchOnLogin() { C.NSApplication_inst_enableRelaunchOnLogin( unsafe.Pointer(x.Pointer()), ) + return + } +// FinishLaunching Activates the app, opens any files specified by the NSOpen user default, and unhighlights the app’s icon. +// https://developer.apple.com/documentation/appkit/nsapplication/1428771-finishlaunching?language=objc func (x gen_NSApplication) FinishLaunching() { C.NSApplication_inst_finishLaunching( unsafe.Pointer(x.Pointer()), ) + return + } +// HideOtherApplications Hides all apps, except the receiver. +// https://developer.apple.com/documentation/appkit/nsapplication/1428746-hideotherapplications?language=objc func (x gen_NSApplication) HideOtherApplications( sender objc.Ref, ) { @@ -9629,9 +9726,13 @@ func (x gen_NSApplication) HideOtherApplications( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PostEvent_atStart Adds a given event to the receiver’s event queue. +// https://developer.apple.com/documentation/appkit/nsapplication/1428710-postevent?language=objc func (x gen_NSApplication) PostEvent_atStart( event NSEventRef, flag bool, @@ -9641,16 +9742,24 @@ func (x gen_NSApplication) PostEvent_atStart( objc.RefPointer(event), convertToObjCBool(flag), ) + return + } +// RegisterForRemoteNotifications Register for notifications sent by Apple Push Notification service (APNs). +// https://developer.apple.com/documentation/appkit/nsapplication/2967172-registerforremotenotifications?language=objc func (x gen_NSApplication) RegisterForRemoteNotifications() { C.NSApplication_inst_registerForRemoteNotifications( unsafe.Pointer(x.Pointer()), ) + return + } +// RegisterUserInterfaceItemSearchHandler Register an object that provides help data to your app. +// https://developer.apple.com/documentation/appkit/nsapplication/1420818-registeruserinterfaceitemsearchh?language=objc func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { @@ -9658,9 +9767,13 @@ func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( unsafe.Pointer(x.Pointer()), objc.RefPointer(handler), ) + return + } +// ReplyToApplicationShouldTerminate Responds to NSTerminateLater once the app knows whether it can terminate. +// https://developer.apple.com/documentation/appkit/nsapplication/1428594-replytoapplicationshouldterminat?language=objc func (x gen_NSApplication) ReplyToApplicationShouldTerminate( shouldTerminate bool, ) { @@ -9668,33 +9781,42 @@ func (x gen_NSApplication) ReplyToApplicationShouldTerminate( unsafe.Pointer(x.Pointer()), convertToObjCBool(shouldTerminate), ) + return + } +// Run Starts the main event loop. +// https://developer.apple.com/documentation/appkit/nsapplication/1428631-run?language=objc func (x gen_NSApplication) Run() { C.NSApplication_inst_run( unsafe.Pointer(x.Pointer()), ) + return + } +// SendAction_to_from Sends the given action message to the given target. +// https://developer.apple.com/documentation/appkit/nsapplication/1428509-sendaction?language=objc func (x gen_NSApplication) SendAction_to_from( action objc.Selector, target objc.Ref, sender objc.Ref, -) ( - r0 bool, -) { +) bool { ret := C.NSApplication_inst_sendAction_to_from( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(sender), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SendEvent Dispatches an event to other objects. +// https://developer.apple.com/documentation/appkit/nsapplication/1428359-sendevent?language=objc func (x gen_NSApplication) SendEvent( event NSEventRef, ) { @@ -9702,22 +9824,27 @@ func (x gen_NSApplication) SendEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) + return + } +// SetActivationPolicy Attempts to modify the app’s activation policy. +// https://developer.apple.com/documentation/appkit/nsapplication/1428621-setactivationpolicy?language=objc func (x gen_NSApplication) SetActivationPolicy( activationPolicy core.NSInteger, -) ( - r0 bool, -) { +) bool { ret := C.NSApplication_inst_setActivationPolicy( unsafe.Pointer(x.Pointer()), C.long(activationPolicy), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ShowHelp If your project is properly registered, and the necessary keys have been set in the property list, this method launches Help Viewer and displays the first page of your app’s help book. +// https://developer.apple.com/documentation/appkit/nsapplication/1500910-showhelp?language=objc func (x gen_NSApplication) ShowHelp( sender objc.Ref, ) { @@ -9725,9 +9852,13 @@ func (x gen_NSApplication) ShowHelp( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Stop Stops the main event loop. +// https://developer.apple.com/documentation/appkit/nsapplication/1428473-stop?language=objc func (x gen_NSApplication) Stop( sender objc.Ref, ) { @@ -9735,39 +9866,45 @@ func (x gen_NSApplication) Stop( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TargetForAction Returns the object that receives the action message specified by the given selector. +// https://developer.apple.com/documentation/appkit/nsapplication/1428449-targetforaction?language=objc func (x gen_NSApplication) TargetForAction( action objc.Selector, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.NSApplication_inst_targetForAction( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// TargetForAction_to_from Searches for an object that can receive the message specified by the given selector. +// https://developer.apple.com/documentation/appkit/nsapplication/1428658-targetforaction?language=objc func (x gen_NSApplication) TargetForAction_to_from( action objc.Selector, target objc.Ref, sender objc.Ref, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.NSApplication_inst_targetForAction_to_from( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(sender), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// Terminate Terminates the receiver. +// https://developer.apple.com/documentation/appkit/nsapplication/1428417-terminate?language=objc func (x gen_NSApplication) Terminate( sender objc.Ref, ) { @@ -9775,9 +9912,13 @@ func (x gen_NSApplication) Terminate( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleTouchBarCustomizationPalette Show or hides the interface for customizing the Touch Bar. +// https://developer.apple.com/documentation/appkit/nsapplication/2646920-toggletouchbarcustomizationpalet?language=objc func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( sender objc.Ref, ) { @@ -9785,24 +9926,29 @@ func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TryToPerform_with Dispatches an action message to the specified target. +// https://developer.apple.com/documentation/appkit/nsapplication/1428366-trytoperform?language=objc func (x gen_NSApplication) TryToPerform_with( action objc.Selector, object objc.Ref, -) ( - r0 bool, -) { +) bool { ret := C.NSApplication_inst_tryToPerform_with( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(object), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// UnhideAllApplications Unhides all apps, including the receiver. +// https://developer.apple.com/documentation/appkit/nsapplication/1428737-unhideallapplications?language=objc func (x gen_NSApplication) UnhideAllApplications( sender objc.Ref, ) { @@ -9810,16 +9956,24 @@ func (x gen_NSApplication) UnhideAllApplications( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// UnregisterForRemoteNotifications Unregister for notifications received from Apple Push Notification service. +// https://developer.apple.com/documentation/appkit/nsapplication/1428747-unregisterforremotenotifications?language=objc func (x gen_NSApplication) UnregisterForRemoteNotifications() { C.NSApplication_inst_unregisterForRemoteNotifications( unsafe.Pointer(x.Pointer()), ) + return + } +// UnregisterUserInterfaceItemSearchHandler Unregister an object that provides help data to your app. +// https://developer.apple.com/documentation/appkit/nsapplication/1420820-unregisteruserinterfaceitemsearc?language=objc func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { @@ -9827,29 +9981,34 @@ func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( unsafe.Pointer(x.Pointer()), objc.RefPointer(handler), ) + return + } -func (x gen_NSApplication) Init_asNSApplication() ( - r0 NSApplication, -) { +// Init_asNSApplication +func (x gen_NSApplication) Init_asNSApplication() NSApplication { ret := C.NSApplication_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSApplication_fromPointer(ret) - return + + return NSApplication_fromPointer(ret) + } -func (x gen_NSApplication) Delegate() ( - r0 objc.Object, -) { +// Delegate The app delegate object. +// https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc +func (x gen_NSApplication) Delegate() objc.Object { ret := C.NSApplication_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The app delegate object. +// https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc func (x gen_NSApplication) SetDelegate( value objc.Ref, ) { @@ -9857,59 +10016,68 @@ func (x gen_NSApplication) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSApplication) CurrentEvent() ( - r0 NSEvent, -) { +// CurrentEvent The last event object that the app retrieved from the event queue. +// https://developer.apple.com/documentation/appkit/nsapplication/1428668-currentevent?language=objc +func (x gen_NSApplication) CurrentEvent() NSEvent { ret := C.NSApplication_inst_currentEvent( unsafe.Pointer(x.Pointer()), ) - r0 = NSEvent_fromPointer(ret) - return + + return NSEvent_fromPointer(ret) + } -func (x gen_NSApplication) IsRunning() ( - r0 bool, -) { +// IsRunning A Boolean value indicating whether the main event loop is running. +// https://developer.apple.com/documentation/appkit/nsapplication/1428759-running?language=objc +func (x gen_NSApplication) IsRunning() bool { ret := C.NSApplication_inst_isRunning( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSApplication) IsActive() ( - r0 bool, -) { +// IsActive A Boolean value indicating whether this is the active app. +// https://developer.apple.com/documentation/appkit/nsapplication/1428493-active?language=objc +func (x gen_NSApplication) IsActive() bool { ret := C.NSApplication_inst_isActive( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSApplication) IsRegisteredForRemoteNotifications() ( - r0 bool, -) { +// IsRegisteredForRemoteNotifications A Boolean value indicating whether the app is registered with Apple Push Notification service (APNs). +// https://developer.apple.com/documentation/appkit/nsapplication/2967173-registeredforremotenotifications?language=objc +func (x gen_NSApplication) IsRegisteredForRemoteNotifications() bool { ret := C.NSApplication_inst_isRegisteredForRemoteNotifications( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSApplication) ApplicationIconImage() ( - r0 NSImage, -) { +// ApplicationIconImage The image used for the app’s icon. +// https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc +func (x gen_NSApplication) ApplicationIconImage() NSImage { ret := C.NSApplication_inst_applicationIconImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetApplicationIconImage The image used for the app’s icon. +// https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc func (x gen_NSApplication) SetApplicationIconImage( value NSImageRef, ) { @@ -9917,19 +10085,24 @@ func (x gen_NSApplication) SetApplicationIconImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSApplication) HelpMenu() ( - r0 NSMenu, -) { +// HelpMenu The help menu used by the app. +// https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc +func (x gen_NSApplication) HelpMenu() NSMenu { ret := C.NSApplication_inst_helpMenu( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// SetHelpMenu The help menu used by the app. +// https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc func (x gen_NSApplication) SetHelpMenu( value NSMenuRef, ) { @@ -9937,19 +10110,24 @@ func (x gen_NSApplication) SetHelpMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSApplication) ServicesProvider() ( - r0 objc.Object, -) { +// ServicesProvider The object that provides the services the current app advertises in the Services menu of other apps. +// https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc +func (x gen_NSApplication) ServicesProvider() objc.Object { ret := C.NSApplication_inst_servicesProvider( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetServicesProvider The object that provides the services the current app advertises in the Services menu of other apps. +// https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc func (x gen_NSApplication) SetServicesProvider( value objc.Ref, ) { @@ -9957,49 +10135,57 @@ func (x gen_NSApplication) SetServicesProvider( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSApplication) IsFullKeyboardAccessEnabled() ( - r0 bool, -) { +// IsFullKeyboardAccessEnabled A Boolean value indicating whether Full Keyboard Access is enabled in the Keyboard preference pane. +// https://developer.apple.com/documentation/appkit/nsapplication/1428469-fullkeyboardaccessenabled?language=objc +func (x gen_NSApplication) IsFullKeyboardAccessEnabled() bool { ret := C.NSApplication_inst_isFullKeyboardAccessEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSApplication) OrderedDocuments() ( - r0 core.NSArray, -) { +// OrderedDocuments An array of document objects arranged according to the front-to-back ordering of their associated windows. +// https://developer.apple.com/documentation/appkit/nsapplication/1494283-ordereddocuments?language=objc +func (x gen_NSApplication) OrderedDocuments() core.NSArray { ret := C.NSApplication_inst_orderedDocuments( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSApplication) OrderedWindows() ( - r0 core.NSArray, -) { +// OrderedWindows An array of window objects arranged according to their front-to-back ordering on the screen. +// https://developer.apple.com/documentation/appkit/nsapplication/1494287-orderedwindows?language=objc +func (x gen_NSApplication) OrderedWindows() core.NSArray { ret := C.NSApplication_inst_orderedWindows( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSApplication) MainMenu() ( - r0 NSMenu, -) { +// MainMenu The app’s main menu bar. +// https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc +func (x gen_NSApplication) MainMenu() NSMenu { ret := C.NSApplication_inst_mainMenu( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// SetMainMenu The app’s main menu bar. +// https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc func (x gen_NSApplication) SetMainMenu( value NSMenuRef, ) { @@ -10007,7 +10193,9 @@ func (x gen_NSApplication) SetMainMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSControlRef interface { @@ -10029,26 +10217,30 @@ func NSControl_fromRef(ref objc.Ref) NSControl { return NSControl_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSControl) AbortEditing() ( - r0 bool, -) { +// AbortEditing Terminates the current editing operation and discards any edited text. +// https://developer.apple.com/documentation/appkit/nscontrol/1428867-abortediting?language=objc +func (x gen_NSControl) AbortEditing() bool { ret := C.NSControl_inst_abortEditing( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSControl) CurrentEditor() ( - r0 NSText, -) { +// CurrentEditor Returns the current field editor for the control. +// https://developer.apple.com/documentation/appkit/nscontrol/1428980-currenteditor?language=objc +func (x gen_NSControl) CurrentEditor() NSText { ret := C.NSControl_inst_currentEditor( unsafe.Pointer(x.Pointer()), ) - r0 = NSText_fromPointer(ret) - return + + return NSText_fromPointer(ret) + } +// DrawWithExpansionFrame_inView Performs custom expansion tool tip drawing. +// https://developer.apple.com/documentation/appkit/nscontrol/1428895-drawwithexpansionframe?language=objc func (x gen_NSControl) DrawWithExpansionFrame_inView( contentFrame core.NSRect, view NSViewRef, @@ -10058,9 +10250,13 @@ func (x gen_NSControl) DrawWithExpansionFrame_inView( *(*C.NSRect)(unsafe.Pointer(&contentFrame)), objc.RefPointer(view), ) + return + } +// EditWithFrame_editor_delegate_event Begins editing of the receiver’s text using the specified field editor. +// https://developer.apple.com/documentation/appkit/nscontrol/1428919-editwithframe?language=objc func (x gen_NSControl) EditWithFrame_editor_delegate_event( rect core.NSRect, textObj NSTextRef, @@ -10074,9 +10270,13 @@ func (x gen_NSControl) EditWithFrame_editor_delegate_event( objc.RefPointer(delegate), objc.RefPointer(event), ) + return + } +// EndEditing Ends the editing of text in the receiver using the specified field editor. +// https://developer.apple.com/documentation/appkit/nscontrol/1428936-endediting?language=objc func (x gen_NSControl) EndEditing( textObj NSTextRef, ) { @@ -10084,35 +10284,41 @@ func (x gen_NSControl) EndEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObj), ) + return + } +// ExpansionFrameWithFrame The frame in which a tool tip can be displayed, if needed. +// https://developer.apple.com/documentation/appkit/nscontrol/1428932-expansionframewithframe?language=objc func (x gen_NSControl) ExpansionFrameWithFrame( contentFrame core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSControl_inst_expansionFrameWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentFrame)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// InitWithFrame_asNSControl Initializes a control with the specified frame rectangle. +// https://developer.apple.com/documentation/appkit/nscontrol/1428900-initwithframe?language=objc func (x gen_NSControl) InitWithFrame_asNSControl( frameRect core.NSRect, -) ( - r0 NSControl, -) { +) NSControl { ret := C.NSControl_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = NSControl_fromPointer(ret) - return + + return NSControl_fromPointer(ret) + } +// MouseDown Informs the receiver that the user has pressed the left mouse button. +// https://developer.apple.com/documentation/appkit/nscontrol/1428918-mousedown?language=objc func (x gen_NSControl) MouseDown( event NSEventRef, ) { @@ -10120,9 +10326,13 @@ func (x gen_NSControl) MouseDown( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) + return + } +// PerformClick Simulates a single mouse click on the receiver. +// https://developer.apple.com/documentation/appkit/nscontrol/1428974-performclick?language=objc func (x gen_NSControl) PerformClick( sender objc.Ref, ) { @@ -10130,9 +10340,13 @@ func (x gen_NSControl) PerformClick( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SelectWithFrame_editor_delegate_start_length Selects the specified text range in the receiver's field editor. +// https://developer.apple.com/documentation/appkit/nscontrol/1428968-selectwithframe?language=objc func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( rect core.NSRect, textObj NSTextRef, @@ -10148,44 +10362,54 @@ func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( C.long(selStart), C.long(selLength), ) + return + } +// SendAction_to Causes the specified action to be sent to the target. +// https://developer.apple.com/documentation/appkit/nscontrol/1428851-sendaction?language=objc func (x gen_NSControl) SendAction_to( action objc.Selector, target objc.Ref, -) ( - r0 bool, -) { +) bool { ret := C.NSControl_inst_sendAction_to( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SizeThatFits Asks the control to calculate and return the size that best fits the specified size. +// https://developer.apple.com/documentation/appkit/nscontrol/1428902-sizethatfits?language=objc func (x gen_NSControl) SizeThatFits( size core.NSSize, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSControl_inst_sizeThatFits( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SizeToFit Resizes the receiver’s frame so that it’s the minimum size needed to contain its cell. +// https://developer.apple.com/documentation/appkit/nscontrol/1428877-sizetofit?language=objc func (x gen_NSControl) SizeToFit() { C.NSControl_inst_sizeToFit( unsafe.Pointer(x.Pointer()), ) + return + } +// TakeDoubleValueFrom Sets the value of the receiver’s cell to a double-precision floating-point value obtained from the specified object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428958-takedoublevaluefrom?language=objc func (x gen_NSControl) TakeDoubleValueFrom( sender objc.Ref, ) { @@ -10193,9 +10417,13 @@ func (x gen_NSControl) TakeDoubleValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TakeFloatValueFrom Sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428938-takefloatvaluefrom?language=objc func (x gen_NSControl) TakeFloatValueFrom( sender objc.Ref, ) { @@ -10203,9 +10431,13 @@ func (x gen_NSControl) TakeFloatValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TakeIntValueFrom Sets the value of the receiver’s cell to an integer value obtained from the specified object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428859-takeintvaluefrom?language=objc func (x gen_NSControl) TakeIntValueFrom( sender objc.Ref, ) { @@ -10213,9 +10445,13 @@ func (x gen_NSControl) TakeIntValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TakeIntegerValueFrom Sets the value of the receiver’s cell to an NSInteger value obtained from the specified object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428875-takeintegervaluefrom?language=objc func (x gen_NSControl) TakeIntegerValueFrom( sender objc.Ref, ) { @@ -10223,9 +10459,13 @@ func (x gen_NSControl) TakeIntegerValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TakeObjectValueFrom Sets the value of the receiver’s cell to the object value obtained from the specified object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428853-takeobjectvaluefrom?language=objc func (x gen_NSControl) TakeObjectValueFrom( sender objc.Ref, ) { @@ -10233,9 +10473,13 @@ func (x gen_NSControl) TakeObjectValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TakeStringValueFrom Sets the value of the receiver’s cell to the string value obtained from the specified object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428912-takestringvaluefrom?language=objc func (x gen_NSControl) TakeStringValueFrom( sender objc.Ref, ) { @@ -10243,36 +10487,45 @@ func (x gen_NSControl) TakeStringValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ValidateEditing Validates changes to any user-typed text. +// https://developer.apple.com/documentation/appkit/nscontrol/1428855-validateediting?language=objc func (x gen_NSControl) ValidateEditing() { C.NSControl_inst_validateEditing( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSControl) Init_asNSControl() ( - r0 NSControl, -) { +// Init_asNSControl +func (x gen_NSControl) Init_asNSControl() NSControl { ret := C.NSControl_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSControl_fromPointer(ret) - return + + return NSControl_fromPointer(ret) + } -func (x gen_NSControl) IsEnabled() ( - r0 bool, -) { +// IsEnabled A Boolean value that indicates whether the receiver reacts to mouse events. +// https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc +func (x gen_NSControl) IsEnabled() bool { ret := C.NSControl_inst_isEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEnabled A Boolean value that indicates whether the receiver reacts to mouse events. +// https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc func (x gen_NSControl) SetEnabled( value bool, ) { @@ -10280,19 +10533,24 @@ func (x gen_NSControl) SetEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSControl) IntValue() ( - r0 int32, -) { +// IntValue The value of the receiver’s cell as an integer. +// https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc +func (x gen_NSControl) IntValue() int32 { ret := C.NSControl_inst_intValue( unsafe.Pointer(x.Pointer()), ) - r0 = int32(ret) - return + + return int32(ret) + } +// SetIntValue The value of the receiver’s cell as an integer. +// https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc func (x gen_NSControl) SetIntValue( value int32, ) { @@ -10300,19 +10558,24 @@ func (x gen_NSControl) SetIntValue( unsafe.Pointer(x.Pointer()), C.int(value), ) + return + } -func (x gen_NSControl) IntegerValue() ( - r0 core.NSInteger, -) { +// IntegerValue The value of the receiver’s cell as an NSInteger value. +// https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc +func (x gen_NSControl) IntegerValue() core.NSInteger { ret := C.NSControl_inst_integerValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetIntegerValue The value of the receiver’s cell as an NSInteger value. +// https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc func (x gen_NSControl) SetIntegerValue( value core.NSInteger, ) { @@ -10320,19 +10583,24 @@ func (x gen_NSControl) SetIntegerValue( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSControl) ObjectValue() ( - r0 objc.Object, -) { +// ObjectValue The value of the receiver’s cell as an Objective-C object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc +func (x gen_NSControl) ObjectValue() objc.Object { ret := C.NSControl_inst_objectValue( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetObjectValue The value of the receiver’s cell as an Objective-C object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc func (x gen_NSControl) SetObjectValue( value objc.Ref, ) { @@ -10340,19 +10608,24 @@ func (x gen_NSControl) SetObjectValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSControl) StringValue() ( - r0 core.NSString, -) { +// StringValue The value of the receiver’s cell as an NSString object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc +func (x gen_NSControl) StringValue() core.NSString { ret := C.NSControl_inst_stringValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetStringValue The value of the receiver’s cell as an NSString object. +// https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc func (x gen_NSControl) SetStringValue( value core.NSStringRef, ) { @@ -10360,19 +10633,24 @@ func (x gen_NSControl) SetStringValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSControl) AttributedStringValue() ( - r0 core.NSAttributedString, -) { +// AttributedStringValue The value of the receiver’s cell as an attributed string. +// https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc +func (x gen_NSControl) AttributedStringValue() core.NSAttributedString { ret := C.NSControl_inst_attributedStringValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } +// SetAttributedStringValue The value of the receiver’s cell as an attributed string. +// https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc func (x gen_NSControl) SetAttributedStringValue( value core.NSAttributedStringRef, ) { @@ -10380,19 +10658,24 @@ func (x gen_NSControl) SetAttributedStringValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSControl) Font() ( - r0 NSFont, -) { +// Font The font used to draw text in the receiver’s cell. +// https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc +func (x gen_NSControl) Font() NSFont { ret := C.NSControl_inst_font( unsafe.Pointer(x.Pointer()), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } +// SetFont The font used to draw text in the receiver’s cell. +// https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc func (x gen_NSControl) SetFont( value NSFontRef, ) { @@ -10400,19 +10683,24 @@ func (x gen_NSControl) SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSControl) UsesSingleLineMode() ( - r0 bool, -) { +// UsesSingleLineMode A Boolean value that indicates whether the text in the control’s cell uses single line mode. +// https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc +func (x gen_NSControl) UsesSingleLineMode() bool { ret := C.NSControl_inst_usesSingleLineMode( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesSingleLineMode A Boolean value that indicates whether the text in the control’s cell uses single line mode. +// https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc func (x gen_NSControl) SetUsesSingleLineMode( value bool, ) { @@ -10420,19 +10708,24 @@ func (x gen_NSControl) SetUsesSingleLineMode( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSControl) AllowsExpansionToolTips() ( - r0 bool, -) { +// AllowsExpansionToolTips A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over. +// https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc +func (x gen_NSControl) AllowsExpansionToolTips() bool { ret := C.NSControl_inst_allowsExpansionToolTips( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsExpansionToolTips A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over. +// https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc func (x gen_NSControl) SetAllowsExpansionToolTips( value bool, ) { @@ -10440,19 +10733,24 @@ func (x gen_NSControl) SetAllowsExpansionToolTips( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSControl) IsHighlighted() ( - r0 bool, -) { +// IsHighlighted A Boolean value that indicates whether the cell is highlighted. +// https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc +func (x gen_NSControl) IsHighlighted() bool { ret := C.NSControl_inst_isHighlighted( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHighlighted A Boolean value that indicates whether the cell is highlighted. +// https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc func (x gen_NSControl) SetHighlighted( value bool, ) { @@ -10460,19 +10758,24 @@ func (x gen_NSControl) SetHighlighted( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSControl) Action() ( - r0 objc.Selector, -) { +// Action The default action-message selector associated with the control. +// https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc +func (x gen_NSControl) Action() objc.Selector { ret := C.NSControl_inst_action( unsafe.Pointer(x.Pointer()), ) - r0 = objc.SelectorAt(ret) - return + + return objc.SelectorAt(ret) + } +// SetAction The default action-message selector associated with the control. +// https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc func (x gen_NSControl) SetAction( value objc.Selector, ) { @@ -10480,19 +10783,24 @@ func (x gen_NSControl) SetAction( unsafe.Pointer(x.Pointer()), value.SelectorAddress(), ) + return + } -func (x gen_NSControl) Target() ( - r0 objc.Object, -) { +// Target The target object that receives action messages from the cell. +// https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc +func (x gen_NSControl) Target() objc.Object { ret := C.NSControl_inst_target( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetTarget The target object that receives action messages from the cell. +// https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc func (x gen_NSControl) SetTarget( value objc.Ref, ) { @@ -10500,19 +10808,24 @@ func (x gen_NSControl) SetTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSControl) IsContinuous() ( - r0 bool, -) { +// IsContinuous A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. +// https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc +func (x gen_NSControl) IsContinuous() bool { ret := C.NSControl_inst_isContinuous( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetContinuous A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. +// https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc func (x gen_NSControl) SetContinuous( value bool, ) { @@ -10520,19 +10833,24 @@ func (x gen_NSControl) SetContinuous( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSControl) Tag() ( - r0 core.NSInteger, -) { +// Tag The tag identifying the receiver (not the tag of the receiver’s cell). +// https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc +func (x gen_NSControl) Tag() core.NSInteger { ret := C.NSControl_inst_tag( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetTag The tag identifying the receiver (not the tag of the receiver’s cell). +// https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc func (x gen_NSControl) SetTag( value core.NSInteger, ) { @@ -10540,19 +10858,24 @@ func (x gen_NSControl) SetTag( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSControl) RefusesFirstResponder() ( - r0 bool, -) { +// RefusesFirstResponder A Boolean value indicating whether the receiver refuses the first responder role. +// https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc +func (x gen_NSControl) RefusesFirstResponder() bool { ret := C.NSControl_inst_refusesFirstResponder( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetRefusesFirstResponder A Boolean value indicating whether the receiver refuses the first responder role. +// https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc func (x gen_NSControl) SetRefusesFirstResponder( value bool, ) { @@ -10560,19 +10883,24 @@ func (x gen_NSControl) SetRefusesFirstResponder( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSControl) IgnoresMultiClick() ( - r0 bool, -) { +// IgnoresMultiClick A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. +// https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc +func (x gen_NSControl) IgnoresMultiClick() bool { ret := C.NSControl_inst_ignoresMultiClick( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetIgnoresMultiClick A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. +// https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc func (x gen_NSControl) SetIgnoresMultiClick( value bool, ) { @@ -10580,7 +10908,9 @@ func (x gen_NSControl) SetIgnoresMultiClick( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } type NSButtonRef interface { @@ -10602,6 +10932,8 @@ func NSButton_fromRef(ref objc.Ref) NSButton { return NSButton_fromPointer(unsafe.Pointer(ref.Pointer())) } +// CompressWithPrioritizedCompressionOptions Sets the priority compression options for this button. +// https://developer.apple.com/documentation/appkit/nsbutton/2952060-compresswithprioritizedcompressi?language=objc func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) { @@ -10609,9 +10941,13 @@ func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(prioritizedOptions), ) + return + } +// Highlight Highlights (or unhighlights) the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1534156-highlight?language=objc func (x gen_NSButton) Highlight( flag bool, ) { @@ -10619,62 +10955,73 @@ func (x gen_NSButton) Highlight( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) + return + } +// MinimumSizeWithPrioritizedCompressionOptions Returns the minimum size of the button by using the compression options. +// https://developer.apple.com/documentation/appkit/nsbutton/2952059-minimumsizewithprioritizedcompre?language=objc func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSButton_inst_minimumSizeWithPrioritizedCompressionOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(prioritizedOptions), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// PerformKeyEquivalent Checks the button's key equivalent against the specified event and, if they match, simulates the button being clicked. +// https://developer.apple.com/documentation/appkit/nsbutton/1524423-performkeyequivalent?language=objc func (x gen_NSButton) PerformKeyEquivalent( key NSEventRef, -) ( - r0 bool, -) { +) bool { ret := C.NSButton_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetNextState Sets the button to its next state. +// https://developer.apple.com/documentation/appkit/nsbutton/1530594-setnextstate?language=objc func (x gen_NSButton) SetNextState() { C.NSButton_inst_setNextState( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSButton) Init_asNSButton() ( - r0 NSButton, -) { +// Init_asNSButton +func (x gen_NSButton) Init_asNSButton() NSButton { ret := C.NSButton_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSButton_fromPointer(ret) - return + + return NSButton_fromPointer(ret) + } -func (x gen_NSButton) ContentTintColor() ( - r0 NSColor, -) { +// ContentTintColor A tint color to use for the template image and text content. +// https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc +func (x gen_NSButton) ContentTintColor() NSColor { ret := C.NSButton_inst_contentTintColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetContentTintColor A tint color to use for the template image and text content. +// https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc func (x gen_NSButton) SetContentTintColor( value NSColorRef, ) { @@ -10682,19 +11029,24 @@ func (x gen_NSButton) SetContentTintColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) HasDestructiveAction() ( - r0 bool, -) { +// HasDestructiveAction A Boolean value that defines whether a button’s action has a destructive effect. +// https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc +func (x gen_NSButton) HasDestructiveAction() bool { ret := C.NSButton_inst_hasDestructiveAction( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHasDestructiveAction A Boolean value that defines whether a button’s action has a destructive effect. +// https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc func (x gen_NSButton) SetHasDestructiveAction( value bool, ) { @@ -10702,19 +11054,24 @@ func (x gen_NSButton) SetHasDestructiveAction( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) AlternateTitle() ( - r0 core.NSString, -) { +// AlternateTitle The title that the button displays when the button is in an on state. +// https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc +func (x gen_NSButton) AlternateTitle() core.NSString { ret := C.NSButton_inst_alternateTitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetAlternateTitle The title that the button displays when the button is in an on state. +// https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc func (x gen_NSButton) SetAlternateTitle( value core.NSStringRef, ) { @@ -10722,19 +11079,24 @@ func (x gen_NSButton) SetAlternateTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) AttributedTitle() ( - r0 core.NSAttributedString, -) { +// AttributedTitle The title that the button displays in an off state, as an attributed string. +// https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc +func (x gen_NSButton) AttributedTitle() core.NSAttributedString { ret := C.NSButton_inst_attributedTitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } +// SetAttributedTitle The title that the button displays in an off state, as an attributed string. +// https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc func (x gen_NSButton) SetAttributedTitle( value core.NSAttributedStringRef, ) { @@ -10742,19 +11104,24 @@ func (x gen_NSButton) SetAttributedTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) AttributedAlternateTitle() ( - r0 core.NSAttributedString, -) { +// AttributedAlternateTitle The title that the button displays as an attributed string when the button is in an on state. +// https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc +func (x gen_NSButton) AttributedAlternateTitle() core.NSAttributedString { ret := C.NSButton_inst_attributedAlternateTitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } +// SetAttributedAlternateTitle The title that the button displays as an attributed string when the button is in an on state. +// https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc func (x gen_NSButton) SetAttributedAlternateTitle( value core.NSAttributedStringRef, ) { @@ -10762,19 +11129,24 @@ func (x gen_NSButton) SetAttributedAlternateTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) Title() ( - r0 core.NSString, -) { +// Title The title displayed on the button when it’s in an off state. +// https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc +func (x gen_NSButton) Title() core.NSString { ret := C.NSButton_inst_title( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetTitle The title displayed on the button when it’s in an off state. +// https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc func (x gen_NSButton) SetTitle( value core.NSStringRef, ) { @@ -10782,19 +11154,24 @@ func (x gen_NSButton) SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) Sound() ( - r0 NSSound, -) { +// Sound The sound that plays when the user clicks the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc +func (x gen_NSButton) Sound() NSSound { ret := C.NSButton_inst_sound( unsafe.Pointer(x.Pointer()), ) - r0 = NSSound_fromPointer(ret) - return + + return NSSound_fromPointer(ret) + } +// SetSound The sound that plays when the user clicks the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc func (x gen_NSButton) SetSound( value NSSoundRef, ) { @@ -10802,19 +11179,24 @@ func (x gen_NSButton) SetSound( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) IsSpringLoaded() ( - r0 bool, -) { +// IsSpringLoaded A Boolean value that indicates whether spring loading is enabled for the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc +func (x gen_NSButton) IsSpringLoaded() bool { ret := C.NSButton_inst_isSpringLoaded( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetSpringLoaded A Boolean value that indicates whether spring loading is enabled for the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc func (x gen_NSButton) SetSpringLoaded( value bool, ) { @@ -10822,19 +11204,24 @@ func (x gen_NSButton) SetSpringLoaded( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) MaxAcceleratorLevel() ( - r0 core.NSInteger, -) { +// MaxAcceleratorLevel An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton. +// https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc +func (x gen_NSButton) MaxAcceleratorLevel() core.NSInteger { ret := C.NSButton_inst_maxAcceleratorLevel( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetMaxAcceleratorLevel An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton. +// https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc func (x gen_NSButton) SetMaxAcceleratorLevel( value core.NSInteger, ) { @@ -10842,19 +11229,24 @@ func (x gen_NSButton) SetMaxAcceleratorLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSButton) Image() ( - r0 NSImage, -) { +// Image The image that appears on the button when it’s in an off state, or nil if there is no such image. +// https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc +func (x gen_NSButton) Image() NSImage { ret := C.NSButton_inst_image( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetImage The image that appears on the button when it’s in an off state, or nil if there is no such image. +// https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc func (x gen_NSButton) SetImage( value NSImageRef, ) { @@ -10862,19 +11254,24 @@ func (x gen_NSButton) SetImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) AlternateImage() ( - r0 NSImage, -) { +// AlternateImage An alternate image that appears on the button when the button is in an on state. +// https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc +func (x gen_NSButton) AlternateImage() NSImage { ret := C.NSButton_inst_alternateImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetAlternateImage An alternate image that appears on the button when the button is in an on state. +// https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc func (x gen_NSButton) SetAlternateImage( value NSImageRef, ) { @@ -10882,19 +11279,24 @@ func (x gen_NSButton) SetAlternateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) IsBordered() ( - r0 bool, -) { +// IsBordered A Boolean value that determines whether the button has a border. +// https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc +func (x gen_NSButton) IsBordered() bool { ret := C.NSButton_inst_isBordered( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetBordered A Boolean value that determines whether the button has a border. +// https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc func (x gen_NSButton) SetBordered( value bool, ) { @@ -10902,19 +11304,24 @@ func (x gen_NSButton) SetBordered( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) IsTransparent() ( - r0 bool, -) { +// IsTransparent A Boolean value that indicates whether the button is transparent. +// https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc +func (x gen_NSButton) IsTransparent() bool { ret := C.NSButton_inst_isTransparent( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetTransparent A Boolean value that indicates whether the button is transparent. +// https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc func (x gen_NSButton) SetTransparent( value bool, ) { @@ -10922,19 +11329,24 @@ func (x gen_NSButton) SetTransparent( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) BezelColor() ( - r0 NSColor, -) { +// BezelColor The color of the button's bezel, in appearances that support it. +// https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc +func (x gen_NSButton) BezelColor() NSColor { ret := C.NSButton_inst_bezelColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBezelColor The color of the button's bezel, in appearances that support it. +// https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc func (x gen_NSButton) SetBezelColor( value NSColorRef, ) { @@ -10942,19 +11354,24 @@ func (x gen_NSButton) SetBezelColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() ( - r0 bool, -) { +// ShowsBorderOnlyWhileMouseInside A Boolean value that determines whether the button displays its border only when the pointer is over it. +// https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc +func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() bool { ret := C.NSButton_inst_showsBorderOnlyWhileMouseInside( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetShowsBorderOnlyWhileMouseInside A Boolean value that determines whether the button displays its border only when the pointer is over it. +// https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( value bool, ) { @@ -10962,19 +11379,24 @@ func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) ImageHugsTitle() ( - r0 bool, -) { +// ImageHugsTitle A Boolean value that determines how the button’s image and title are positioned together within the button bezel. +// https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc +func (x gen_NSButton) ImageHugsTitle() bool { ret := C.NSButton_inst_imageHugsTitle( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetImageHugsTitle A Boolean value that determines how the button’s image and title are positioned together within the button bezel. +// https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc func (x gen_NSButton) SetImageHugsTitle( value bool, ) { @@ -10982,19 +11404,24 @@ func (x gen_NSButton) SetImageHugsTitle( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) AllowsMixedState() ( - r0 bool, -) { +// AllowsMixedState A Boolean value that indicates whether the button allows a mixed state. +// https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc +func (x gen_NSButton) AllowsMixedState() bool { ret := C.NSButton_inst_allowsMixedState( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsMixedState A Boolean value that indicates whether the button allows a mixed state. +// https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc func (x gen_NSButton) SetAllowsMixedState( value bool, ) { @@ -11002,19 +11429,24 @@ func (x gen_NSButton) SetAllowsMixedState( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSButton) State() ( - r0 core.NSInteger, -) { +// State The button’s state. +// https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc +func (x gen_NSButton) State() core.NSInteger { ret := C.NSButton_inst_state( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetState The button’s state. +// https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc func (x gen_NSButton) SetState( value core.NSInteger, ) { @@ -11022,19 +11454,24 @@ func (x gen_NSButton) SetState( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSButton) KeyEquivalent() ( - r0 core.NSString, -) { +// KeyEquivalent The key-equivalent character of the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc +func (x gen_NSButton) KeyEquivalent() core.NSString { ret := C.NSButton_inst_keyEquivalent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetKeyEquivalent The key-equivalent character of the button. +// https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc func (x gen_NSButton) SetKeyEquivalent( value core.NSStringRef, ) { @@ -11042,7 +11479,9 @@ func (x gen_NSButton) SetKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSEventRef interface { @@ -11064,394 +11503,432 @@ func NSEvent_fromRef(ref objc.Ref) NSEvent { return NSEvent_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSEvent) Init_asNSEvent() ( - r0 NSEvent, -) { +// Init_asNSEvent +func (x gen_NSEvent) Init_asNSEvent() NSEvent { ret := C.NSEvent_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSEvent_fromPointer(ret) - return + + return NSEvent_fromPointer(ret) + } -func (x gen_NSEvent) LocationInWindow() ( - r0 core.NSPoint, -) { +// LocationInWindow The receiver’s location in the base coordinate system of the associated window. +// https://developer.apple.com/documentation/appkit/nsevent/1529068-locationinwindow?language=objc +func (x gen_NSEvent) LocationInWindow() core.NSPoint { ret := C.NSEvent_inst_locationInWindow( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } -func (x gen_NSEvent) Window() ( - r0 NSWindow, -) { +// Window The window object associated with the event. +// https://developer.apple.com/documentation/appkit/nsevent/1530808-window?language=objc +func (x gen_NSEvent) Window() NSWindow { ret := C.NSEvent_inst_window( unsafe.Pointer(x.Pointer()), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func (x gen_NSEvent) WindowNumber() ( - r0 core.NSInteger, -) { +// WindowNumber The identifier for the window device associated with the event. +// https://developer.apple.com/documentation/appkit/nsevent/1531361-windownumber?language=objc +func (x gen_NSEvent) WindowNumber() core.NSInteger { ret := C.NSEvent_inst_windowNumber( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) EventRef() ( - r0 unsafe.Pointer, -) { +// EventRef An opaque Carbon type associated with this event. +// https://developer.apple.com/documentation/appkit/nsevent/1525143-eventref?language=objc +func (x gen_NSEvent) EventRef() unsafe.Pointer { ret := C.NSEvent_inst_eventRef( unsafe.Pointer(x.Pointer()), ) - r0 = ret - return + + return ret + } -func (x gen_NSEvent) Characters() ( - r0 core.NSString, -) { +// Characters The characters associated with a key-up or key-down event. +// https://developer.apple.com/documentation/appkit/nsevent/1534183-characters?language=objc +func (x gen_NSEvent) Characters() core.NSString { ret := C.NSEvent_inst_characters( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSEvent) CharactersIgnoringModifiers() ( - r0 core.NSString, -) { +// CharactersIgnoringModifiers The characters generated by a key event as if no modifier key (except for Shift) applies. +// https://developer.apple.com/documentation/appkit/nsevent/1524605-charactersignoringmodifiers?language=objc +func (x gen_NSEvent) CharactersIgnoringModifiers() core.NSString { ret := C.NSEvent_inst_charactersIgnoringModifiers( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSEvent) IsARepeat() ( - r0 bool, -) { +// IsARepeat A Boolean value that indicates whether the key event is a repeat. +// https://developer.apple.com/documentation/appkit/nsevent/1528049-arepeat?language=objc +func (x gen_NSEvent) IsARepeat() bool { ret := C.NSEvent_inst_isARepeat( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSEvent) ButtonNumber() ( - r0 core.NSInteger, -) { +// ButtonNumber The button number for a mouse event. +// https://developer.apple.com/documentation/appkit/nsevent/1527828-buttonnumber?language=objc +func (x gen_NSEvent) ButtonNumber() core.NSInteger { ret := C.NSEvent_inst_buttonNumber( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) ClickCount() ( - r0 core.NSInteger, -) { +// ClickCount The number of mouse clicks associated with a mouse-down or mouse-up event. +// https://developer.apple.com/documentation/appkit/nsevent/1528200-clickcount?language=objc +func (x gen_NSEvent) ClickCount() core.NSInteger { ret := C.NSEvent_inst_clickCount( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) EventNumber() ( - r0 core.NSInteger, -) { +// EventNumber The counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter. +// https://developer.apple.com/documentation/appkit/nsevent/1535220-eventnumber?language=objc +func (x gen_NSEvent) EventNumber() core.NSInteger { ret := C.NSEvent_inst_eventNumber( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) TrackingNumber() ( - r0 core.NSInteger, -) { +// TrackingNumber The identifier of a mouse-tracking event. +// https://developer.apple.com/documentation/appkit/nsevent/1533974-trackingnumber?language=objc +func (x gen_NSEvent) TrackingNumber() core.NSInteger { ret := C.NSEvent_inst_trackingNumber( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) UserData() ( - r0 unsafe.Pointer, -) { +// UserData The data associated with a mouse-tracking event. +// https://developer.apple.com/documentation/appkit/nsevent/1526810-userdata?language=objc +func (x gen_NSEvent) UserData() unsafe.Pointer { ret := C.NSEvent_inst_userData( unsafe.Pointer(x.Pointer()), ) - r0 = ret - return + + return ret + } -func (x gen_NSEvent) Data1() ( - r0 core.NSInteger, -) { +// Data1 Additional data associated with this event. +// https://developer.apple.com/documentation/appkit/nsevent/1528289-data1?language=objc +func (x gen_NSEvent) Data1() core.NSInteger { ret := C.NSEvent_inst_data1( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) Data2() ( - r0 core.NSInteger, -) { +// Data2 Additional data associated with this event. +// https://developer.apple.com/documentation/appkit/nsevent/1528647-data2?language=objc +func (x gen_NSEvent) Data2() core.NSInteger { ret := C.NSEvent_inst_data2( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) DeltaX() ( - r0 core.CGFloat, -) { +// DeltaX The x-coordinate change for mouse-move, mouse-drag, and swipe events. +// https://developer.apple.com/documentation/appkit/nsevent/1534871-deltax?language=objc +func (x gen_NSEvent) DeltaX() core.CGFloat { ret := C.NSEvent_inst_deltaX( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) DeltaY() ( - r0 core.CGFloat, -) { +// DeltaY The y-coordinate change for mouse-move, mouse-drag, and swipe events. +// https://developer.apple.com/documentation/appkit/nsevent/1534158-deltay?language=objc +func (x gen_NSEvent) DeltaY() core.CGFloat { ret := C.NSEvent_inst_deltaY( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) DeltaZ() ( - r0 core.CGFloat, -) { +// DeltaZ The z-coordinate change for a scroll wheel, mouse-move, or mouse-drag event. +// https://developer.apple.com/documentation/appkit/nsevent/1531528-deltaz?language=objc +func (x gen_NSEvent) DeltaZ() core.CGFloat { ret := C.NSEvent_inst_deltaZ( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) Stage() ( - r0 core.NSInteger, -) { +// Stage A value of 0, 1, or 2, indicating the stage of a gesture event of type NSEventTypePressure. +// https://developer.apple.com/documentation/appkit/nsevent/1527242-stage?language=objc +func (x gen_NSEvent) Stage() core.NSInteger { ret := C.NSEvent_inst_stage( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) StageTransition() ( - r0 core.CGFloat, -) { +// StageTransition The transition value for the stage of a pressure gesture event of type NSEventTypePressure. +// https://developer.apple.com/documentation/appkit/nsevent/1526739-stagetransition?language=objc +func (x gen_NSEvent) StageTransition() core.CGFloat { ret := C.NSEvent_inst_stageTransition( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) CapabilityMask() ( - r0 core.NSUInteger, -) { +// CapabilityMask A mask whose set bits indicate the capabilities of the tablet device that generated this event. +// https://developer.apple.com/documentation/appkit/nsevent/1534648-capabilitymask?language=objc +func (x gen_NSEvent) CapabilityMask() core.NSUInteger { ret := C.NSEvent_inst_capabilityMask( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) DeviceID() ( - r0 core.NSUInteger, -) { +// DeviceID A special identifier that is used to match tablet-pointer and tablet-proximity events. +// https://developer.apple.com/documentation/appkit/nsevent/1530014-deviceid?language=objc +func (x gen_NSEvent) DeviceID() core.NSUInteger { ret := C.NSEvent_inst_deviceID( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) IsEnteringProximity() ( - r0 bool, -) { +// IsEnteringProximity A Boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet. +// https://developer.apple.com/documentation/appkit/nsevent/1531702-enteringproximity?language=objc +func (x gen_NSEvent) IsEnteringProximity() bool { ret := C.NSEvent_inst_isEnteringProximity( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSEvent) PointingDeviceID() ( - r0 core.NSUInteger, -) { +// PointingDeviceID The index of the pointing device currently in proximity with the tablet. +// https://developer.apple.com/documentation/appkit/nsevent/1528818-pointingdeviceid?language=objc +func (x gen_NSEvent) PointingDeviceID() core.NSUInteger { ret := C.NSEvent_inst_pointingDeviceID( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) PointingDeviceSerialNumber() ( - r0 core.NSUInteger, -) { +// PointingDeviceSerialNumber The vendor-assigned serial number of a pointing device. +// https://developer.apple.com/documentation/appkit/nsevent/1533420-pointingdeviceserialnumber?language=objc +func (x gen_NSEvent) PointingDeviceSerialNumber() core.NSUInteger { ret := C.NSEvent_inst_pointingDeviceSerialNumber( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) SystemTabletID() ( - r0 core.NSUInteger, -) { +// SystemTabletID The index of the tablet device connected to the system. +// https://developer.apple.com/documentation/appkit/nsevent/1528299-systemtabletid?language=objc +func (x gen_NSEvent) SystemTabletID() core.NSUInteger { ret := C.NSEvent_inst_systemTabletID( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) TabletID() ( - r0 core.NSUInteger, -) { +// TabletID The USB model identifier of the tablet device associated with this event. +// https://developer.apple.com/documentation/appkit/nsevent/1527003-tabletid?language=objc +func (x gen_NSEvent) TabletID() core.NSUInteger { ret := C.NSEvent_inst_tabletID( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) VendorID() ( - r0 core.NSUInteger, -) { +// VendorID The vendor identifier of the tablet associated with the event. +// https://developer.apple.com/documentation/appkit/nsevent/1525177-vendorid?language=objc +func (x gen_NSEvent) VendorID() core.NSUInteger { ret := C.NSEvent_inst_vendorID( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) VendorPointingDeviceType() ( - r0 core.NSUInteger, -) { +// VendorPointingDeviceType A coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the event. +// https://developer.apple.com/documentation/appkit/nsevent/1527736-vendorpointingdevicetype?language=objc +func (x gen_NSEvent) VendorPointingDeviceType() core.NSUInteger { ret := C.NSEvent_inst_vendorPointingDeviceType( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSEvent) AbsoluteX() ( - r0 core.NSInteger, -) { +// AbsoluteX The absolute x coordinate of a pointing device on its tablet at full tablet resolution. +// https://developer.apple.com/documentation/appkit/nsevent/1530617-absolutex?language=objc +func (x gen_NSEvent) AbsoluteX() core.NSInteger { ret := C.NSEvent_inst_absoluteX( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) AbsoluteY() ( - r0 core.NSInteger, -) { +// AbsoluteY The absolute y coordinate of a pointing device on its tablet at full tablet resolution. +// https://developer.apple.com/documentation/appkit/nsevent/1528904-absolutey?language=objc +func (x gen_NSEvent) AbsoluteY() core.NSInteger { ret := C.NSEvent_inst_absoluteY( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) AbsoluteZ() ( - r0 core.NSInteger, -) { +// AbsoluteZ The absolute z coordinate of pointing device on its tablet at full tablet resolution. +// https://developer.apple.com/documentation/appkit/nsevent/1532154-absolutez?language=objc +func (x gen_NSEvent) AbsoluteZ() core.NSInteger { ret := C.NSEvent_inst_absoluteZ( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSEvent) Tilt() ( - r0 core.NSPoint, -) { +// Tilt The scaled tilt values of the pointing device that generated this event. +// https://developer.apple.com/documentation/appkit/nsevent/1534226-tilt?language=objc +func (x gen_NSEvent) Tilt() core.NSPoint { ret := C.NSEvent_inst_tilt( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } -func (x gen_NSEvent) VendorDefined() ( - r0 objc.Object, -) { +// VendorDefined An array of three vendor-defined NSNumber objects associated with a pointing-type event. +// https://developer.apple.com/documentation/appkit/nsevent/1530551-vendordefined?language=objc +func (x gen_NSEvent) VendorDefined() objc.Object { ret := C.NSEvent_inst_vendorDefined( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func (x gen_NSEvent) Magnification() ( - r0 core.CGFloat, -) { +// Magnification The change in magnification. +// https://developer.apple.com/documentation/appkit/nsevent/1531642-magnification?language=objc +func (x gen_NSEvent) Magnification() core.CGFloat { ret := C.NSEvent_inst_magnification( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) HasPreciseScrollingDeltas() ( - r0 bool, -) { +// HasPreciseScrollingDeltas A Boolean value that indicates whether precise scrolling deltas are available. +// https://developer.apple.com/documentation/appkit/nsevent/1525758-hasprecisescrollingdeltas?language=objc +func (x gen_NSEvent) HasPreciseScrollingDeltas() bool { ret := C.NSEvent_inst_hasPreciseScrollingDeltas( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSEvent) ScrollingDeltaX() ( - r0 core.CGFloat, -) { +// ScrollingDeltaX The scroll wheel’s horizontal delta. +// https://developer.apple.com/documentation/appkit/nsevent/1524505-scrollingdeltax?language=objc +func (x gen_NSEvent) ScrollingDeltaX() core.CGFloat { ret := C.NSEvent_inst_scrollingDeltaX( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) ScrollingDeltaY() ( - r0 core.CGFloat, -) { +// ScrollingDeltaY The scroll wheel’s vertical delta. +// https://developer.apple.com/documentation/appkit/nsevent/1535387-scrollingdeltay?language=objc +func (x gen_NSEvent) ScrollingDeltaY() core.CGFloat { ret := C.NSEvent_inst_scrollingDeltaY( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSEvent) IsDirectionInvertedFromDevice() ( - r0 bool, -) { +// IsDirectionInvertedFromDevice A Boolean value that indicates whether the user has changed the device inversion. +// https://developer.apple.com/documentation/appkit/nsevent/1525151-directioninvertedfromdevice?language=objc +func (x gen_NSEvent) IsDirectionInvertedFromDevice() bool { ret := C.NSEvent_inst_isDirectionInvertedFromDevice( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSFontRef interface { @@ -11473,124 +11950,138 @@ func NSFont_fromRef(ref objc.Ref) NSFont { return NSFont_fromPointer(unsafe.Pointer(ref.Pointer())) } +// FontWithSize +// https://developer.apple.com/documentation/appkit/nsfont/3667454-fontwithsize?language=objc func (x gen_NSFont) FontWithSize( fontSize core.CGFloat, -) ( - r0 NSFont, -) { +) NSFont { ret := C.NSFont_inst_fontWithSize( unsafe.Pointer(x.Pointer()), C.double(fontSize), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } +// Set Sets this font as the font for the current graphics context. +// https://developer.apple.com/documentation/appkit/nsfont/1531373-set?language=objc func (x gen_NSFont) Set() { C.NSFont_inst_set( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSFont) Init_asNSFont() ( - r0 NSFont, -) { +// Init_asNSFont +func (x gen_NSFont) Init_asNSFont() NSFont { ret := C.NSFont_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } -func (x gen_NSFont) PointSize() ( - r0 core.CGFloat, -) { +// PointSize The point size of the font. +// https://developer.apple.com/documentation/appkit/nsfont/1524511-pointsize?language=objc +func (x gen_NSFont) PointSize() core.CGFloat { ret := C.NSFont_inst_pointSize( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSFont) IsFixedPitch() ( - r0 bool, -) { +// IsFixedPitch A Boolean value indicating whether all glyphs in the font have the same advancement. +// https://developer.apple.com/documentation/appkit/nsfont/1529210-fixedpitch?language=objc +func (x gen_NSFont) IsFixedPitch() bool { ret := C.NSFont_inst_isFixedPitch( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSFont) MostCompatibleStringEncoding() ( - r0 core.NSStringEncoding, -) { +// MostCompatibleStringEncoding The string encoding that works best with the font. +// https://developer.apple.com/documentation/appkit/nsfont/1527635-mostcompatiblestringencoding?language=objc +func (x gen_NSFont) MostCompatibleStringEncoding() core.NSStringEncoding { ret := C.NSFont_inst_mostCompatibleStringEncoding( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSStringEncoding(ret) - return + + return core.NSStringEncoding(ret) + } -func (x gen_NSFont) NumberOfGlyphs() ( - r0 core.NSUInteger, -) { +// NumberOfGlyphs The number of glyphs in the font. +// https://developer.apple.com/documentation/appkit/nsfont/1533968-numberofglyphs?language=objc +func (x gen_NSFont) NumberOfGlyphs() core.NSUInteger { ret := C.NSFont_inst_numberOfGlyphs( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSFont) DisplayName() ( - r0 core.NSString, -) { +// DisplayName The name of the font, including family and face names, to use when displaying the font information to the user. +// https://developer.apple.com/documentation/appkit/nsfont/1531660-displayname?language=objc +func (x gen_NSFont) DisplayName() core.NSString { ret := C.NSFont_inst_displayName( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSFont) FamilyName() ( - r0 core.NSString, -) { +// FamilyName The family name of the font—for example, “Times” or “Helvetica.” +// https://developer.apple.com/documentation/appkit/nsfont/1529585-familyname?language=objc +func (x gen_NSFont) FamilyName() core.NSString { ret := C.NSFont_inst_familyName( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSFont) FontName() ( - r0 core.NSString, -) { +// FontName The full name of the font, as used in PostScript language code—for example, “Times-Roman” or “Helvetica-Oblique.” +// https://developer.apple.com/documentation/appkit/nsfont/1526183-fontname?language=objc +func (x gen_NSFont) FontName() core.NSString { ret := C.NSFont_inst_fontName( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSFont) IsVertical() ( - r0 bool, -) { +// IsVertical A Boolean value indicating whether the font is a vertical font. +// https://developer.apple.com/documentation/appkit/nsfont/1534644-vertical?language=objc +func (x gen_NSFont) IsVertical() bool { ret := C.NSFont_inst_isVertical( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSFont) VerticalFont() ( - r0 NSFont, -) { +// VerticalFont A vertical version of the font. +// https://developer.apple.com/documentation/appkit/nsfont/1535152-verticalfont?language=objc +func (x gen_NSFont) VerticalFont() NSFont { ret := C.NSFont_inst_verticalFont( unsafe.Pointer(x.Pointer()), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } type NSImageRef interface { @@ -11612,6 +12103,8 @@ func NSImage_fromRef(ref objc.Ref) NSImage { return NSImage_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AddRepresentations Adds an array of image representation objects to the image. +// https://developer.apple.com/documentation/appkit/nsimage/1519964-addrepresentations?language=objc func (x gen_NSImage) AddRepresentations( imageReps core.NSArrayRef, ) { @@ -11619,16 +12112,24 @@ func (x gen_NSImage) AddRepresentations( unsafe.Pointer(x.Pointer()), objc.RefPointer(imageReps), ) + return + } +// CancelIncrementalLoad Cancels the current download operation, if any, for an incrementally loaded image. +// https://developer.apple.com/documentation/appkit/nsimage/1520041-cancelincrementalload?language=objc func (x gen_NSImage) CancelIncrementalLoad() { C.NSImage_inst_cancelIncrementalLoad( unsafe.Pointer(x.Pointer()), ) + return + } +// DrawInRect Draws the image in the specified rectangle. +// https://developer.apple.com/documentation/appkit/nsimage/1519863-drawinrect?language=objc func (x gen_NSImage) DrawInRect( rect core.NSRect, ) { @@ -11636,143 +12137,161 @@ func (x gen_NSImage) DrawInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// InitByReferencingFile_asNSImage Initializes and returns an image object using the specified file. +// https://developer.apple.com/documentation/appkit/nsimage/1519955-initbyreferencingfile?language=objc func (x gen_NSImage) InitByReferencingFile_asNSImage( fileName core.NSStringRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initByReferencingFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileName), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitByReferencingURL_asNSImage Initializes and returns an image object using the specified URL. +// https://developer.apple.com/documentation/appkit/nsimage/1519990-initbyreferencingurl?language=objc func (x gen_NSImage) InitByReferencingURL_asNSImage( url core.NSURLRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initByReferencingURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitWithContentsOfFile_asNSImage Initializes and returns an image object with the contents of the specified file. +// https://developer.apple.com/documentation/appkit/nsimage/1519918-initwithcontentsoffile?language=objc func (x gen_NSImage) InitWithContentsOfFile_asNSImage( fileName core.NSStringRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initWithContentsOfFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileName), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitWithContentsOfURL_asNSImage Initializes and returns an image object with the contents of the specified URL. +// https://developer.apple.com/documentation/appkit/nsimage/1519907-initwithcontentsofurl?language=objc func (x gen_NSImage) InitWithContentsOfURL_asNSImage( url core.NSURLRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initWithContentsOfURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitWithData_asNSImage Initializes and returns an image object using the provided image data. +// https://developer.apple.com/documentation/appkit/nsimage/1519941-initwithdata?language=objc func (x gen_NSImage) InitWithData_asNSImage( data core.NSDataRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitWithDataIgnoringOrientation_asNSImage Initializes and returns an image object using the provided image data and ignoring the EXIF orientation tags. +// https://developer.apple.com/documentation/appkit/nsimage/1519915-initwithdataignoringorientation?language=objc func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( data core.NSDataRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initWithDataIgnoringOrientation( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitWithPasteboard_asNSImage Initializes and returns an image object with data from the specified pasteboard. +// https://developer.apple.com/documentation/appkit/nsimage/1519952-initwithpasteboard?language=objc func (x gen_NSImage) InitWithPasteboard_asNSImage( pasteboard NSPasteboardRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initWithPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// InitWithSize_asNSImage Initializes and returns an image object with the specified dimensions. +// https://developer.apple.com/documentation/appkit/nsimage/1520033-initwithsize?language=objc func (x gen_NSImage) InitWithSize_asNSImage( size core.NSSize, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSImage_inst_initWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } -func (x gen_NSImage) IsTemplate() ( - r0 bool, -) { +// IsTemplate Returns a Boolean value that indicates whether the image is a template image. +// https://developer.apple.com/documentation/appkit/nsimage/1807274-istemplate?language=objc +func (x gen_NSImage) IsTemplate() bool { ret := C.NSImage_inst_isTemplate( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// LayerContentsForContentsScale Returns an object that may be used as the contents of a layer. +// https://developer.apple.com/documentation/appkit/nsimage/1519851-layercontentsforcontentsscale?language=objc func (x gen_NSImage) LayerContentsForContentsScale( layerContentsScale core.CGFloat, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.NSImage_inst_layerContentsForContentsScale( unsafe.Pointer(x.Pointer()), C.double(layerContentsScale), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// LockFocus Prepares the image to receive drawing commands. +// https://developer.apple.com/documentation/appkit/nsimage/1519891-lockfocus?language=objc func (x gen_NSImage) LockFocus() { C.NSImage_inst_lockFocus( unsafe.Pointer(x.Pointer()), ) + return + } +// LockFocusFlipped Prepares the image to receive drawing commands using the specified flipped state. +// https://developer.apple.com/documentation/appkit/nsimage/1519914-lockfocusflipped?language=objc func (x gen_NSImage) LockFocusFlipped( flipped bool, ) { @@ -11780,56 +12299,70 @@ func (x gen_NSImage) LockFocusFlipped( unsafe.Pointer(x.Pointer()), convertToObjCBool(flipped), ) + return + } +// Recache Invalidates and frees offscreen caches of all image representations. +// https://developer.apple.com/documentation/appkit/nsimage/1519890-recache?language=objc func (x gen_NSImage) Recache() { C.NSImage_inst_recache( unsafe.Pointer(x.Pointer()), ) + return + } +// RecommendedLayerContentsScale Returns the recommended layer contents scale for this image. +// https://developer.apple.com/documentation/appkit/nsimage/1519878-recommendedlayercontentsscale?language=objc func (x gen_NSImage) RecommendedLayerContentsScale( preferredContentsScale core.CGFloat, -) ( - r0 core.CGFloat, -) { +) core.CGFloat { ret := C.NSImage_inst_recommendedLayerContentsScale( unsafe.Pointer(x.Pointer()), C.double(preferredContentsScale), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// UnlockFocus Removes the focus from the image. +// https://developer.apple.com/documentation/appkit/nsimage/1519853-unlockfocus?language=objc func (x gen_NSImage) UnlockFocus() { C.NSImage_inst_unlockFocus( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSImage) Init_asNSImage() ( - r0 NSImage, -) { +// Init_asNSImage +func (x gen_NSImage) Init_asNSImage() NSImage { ret := C.NSImage_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } -func (x gen_NSImage) Delegate() ( - r0 objc.Object, -) { +// Delegate The image’s delegate object. +// https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc +func (x gen_NSImage) Delegate() objc.Object { ret := C.NSImage_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The image’s delegate object. +// https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc func (x gen_NSImage) SetDelegate( value objc.Ref, ) { @@ -11837,19 +12370,24 @@ func (x gen_NSImage) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSImage) Size() ( - r0 core.NSSize, -) { +// Size The size of the image. +// https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc +func (x gen_NSImage) Size() core.NSSize { ret := C.NSImage_inst_size( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetSize The size of the image. +// https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc func (x gen_NSImage) SetSize( value core.NSSize, ) { @@ -11857,9 +12395,13 @@ func (x gen_NSImage) SetSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } +// SetTemplate A Boolean value that determines whether the image represents a template image. +// https://developer.apple.com/documentation/appkit/nsimage/1520017-template?language=objc func (x gen_NSImage) SetTemplate( value bool, ) { @@ -11867,29 +12409,35 @@ func (x gen_NSImage) SetTemplate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImage) Representations() ( - r0 core.NSArray, -) { +// Representations An array containing all of the image object’s image representations. +// https://developer.apple.com/documentation/appkit/nsimage/1519858-representations?language=objc +func (x gen_NSImage) Representations() core.NSArray { ret := C.NSImage_inst_representations( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSImage) PrefersColorMatch() ( - r0 bool, -) { +// PrefersColorMatch A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. +// https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc +func (x gen_NSImage) PrefersColorMatch() bool { ret := C.NSImage_inst_prefersColorMatch( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetPrefersColorMatch A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. +// https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc func (x gen_NSImage) SetPrefersColorMatch( value bool, ) { @@ -11897,19 +12445,24 @@ func (x gen_NSImage) SetPrefersColorMatch( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImage) UsesEPSOnResolutionMismatch() ( - r0 bool, -) { +// UsesEPSOnResolutionMismatch A Boolean value that indicates whether EPS representations are preferred when no other representations match the resolution of the device. +// https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc +func (x gen_NSImage) UsesEPSOnResolutionMismatch() bool { ret := C.NSImage_inst_usesEPSOnResolutionMismatch( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesEPSOnResolutionMismatch A Boolean value that indicates whether EPS representations are preferred when no other representations match the resolution of the device. +// https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( value bool, ) { @@ -11917,19 +12470,24 @@ func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImage) MatchesOnMultipleResolution() ( - r0 bool, -) { +// MatchesOnMultipleResolution A Boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. +// https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc +func (x gen_NSImage) MatchesOnMultipleResolution() bool { ret := C.NSImage_inst_matchesOnMultipleResolution( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetMatchesOnMultipleResolution A Boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. +// https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc func (x gen_NSImage) SetMatchesOnMultipleResolution( value bool, ) { @@ -11937,29 +12495,35 @@ func (x gen_NSImage) SetMatchesOnMultipleResolution( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImage) IsValid() ( - r0 bool, -) { +// IsValid A Boolean value that indicates whether it is possible to draw an image representation. +// https://developer.apple.com/documentation/appkit/nsimage/1519991-valid?language=objc +func (x gen_NSImage) IsValid() bool { ret := C.NSImage_inst_isValid( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSImage) BackgroundColor() ( - r0 NSColor, -) { +// BackgroundColor The background color for the image. +// https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc +func (x gen_NSImage) BackgroundColor() NSColor { ret := C.NSImage_inst_backgroundColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBackgroundColor The background color for the image. +// https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc func (x gen_NSImage) SetBackgroundColor( value NSColorRef, ) { @@ -11967,19 +12531,24 @@ func (x gen_NSImage) SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSImage) AlignmentRect() ( - r0 core.NSRect, -) { +// AlignmentRect A rectangle that you can use to position the image during layout. +// https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc +func (x gen_NSImage) AlignmentRect() core.NSRect { ret := C.NSImage_inst_alignmentRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// SetAlignmentRect A rectangle that you can use to position the image during layout. +// https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc func (x gen_NSImage) SetAlignmentRect( value core.NSRect, ) { @@ -11987,29 +12556,35 @@ func (x gen_NSImage) SetAlignmentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSImage) TIFFRepresentation() ( - r0 core.NSData, -) { +// TIFFRepresentation A data object containing TIFF data for all of the image representations in the image. +// https://developer.apple.com/documentation/appkit/nsimage/1519841-tiffrepresentation?language=objc +func (x gen_NSImage) TIFFRepresentation() core.NSData { ret := C.NSImage_inst_TIFFRepresentation( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSData_fromPointer(ret) - return + + return core.NSData_fromPointer(ret) + } -func (x gen_NSImage) AccessibilityDescription() ( - r0 core.NSString, -) { +// AccessibilityDescription The image’s accessibility description. +// https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc +func (x gen_NSImage) AccessibilityDescription() core.NSString { ret := C.NSImage_inst_accessibilityDescription( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetAccessibilityDescription The image’s accessibility description. +// https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc func (x gen_NSImage) SetAccessibilityDescription( value core.NSStringRef, ) { @@ -12017,19 +12592,24 @@ func (x gen_NSImage) SetAccessibilityDescription( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() ( - r0 bool, -) { +// MatchesOnlyOnBestFittingAxis A Boolean value that indicates whether the image matches only on the best fitting axis. +// https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc +func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() bool { ret := C.NSImage_inst_matchesOnlyOnBestFittingAxis( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetMatchesOnlyOnBestFittingAxis A Boolean value that indicates whether the image matches only on the best fitting axis. +// https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis( value bool, ) { @@ -12037,7 +12617,9 @@ func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } type NSImageViewRef interface { @@ -12059,26 +12641,29 @@ func NSImageView_fromRef(ref objc.Ref) NSImageView { return NSImageView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSImageView) Init_asNSImageView() ( - r0 NSImageView, -) { +// Init_asNSImageView +func (x gen_NSImageView) Init_asNSImageView() NSImageView { ret := C.NSImageView_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSImageView_fromPointer(ret) - return + + return NSImageView_fromPointer(ret) + } -func (x gen_NSImageView) Image() ( - r0 NSImage, -) { +// Image The image displayed by the image view. +// https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc +func (x gen_NSImageView) Image() NSImage { ret := C.NSImageView_inst_image( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetImage The image displayed by the image view. +// https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc func (x gen_NSImageView) SetImage( value NSImageRef, ) { @@ -12086,19 +12671,24 @@ func (x gen_NSImageView) SetImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSImageView) Animates() ( - r0 bool, -) { +// Animates A Boolean value indicating whether the image view automatically plays animated images. +// https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc +func (x gen_NSImageView) Animates() bool { ret := C.NSImageView_inst_animates( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAnimates A Boolean value indicating whether the image view automatically plays animated images. +// https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc func (x gen_NSImageView) SetAnimates( value bool, ) { @@ -12106,19 +12696,24 @@ func (x gen_NSImageView) SetAnimates( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImageView) IsEditable() ( - r0 bool, -) { +// IsEditable A Boolean value indicating whether the user can drag a new image into the image view. +// https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc +func (x gen_NSImageView) IsEditable() bool { ret := C.NSImageView_inst_isEditable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEditable A Boolean value indicating whether the user can drag a new image into the image view. +// https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc func (x gen_NSImageView) SetEditable( value bool, ) { @@ -12126,19 +12721,24 @@ func (x gen_NSImageView) SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImageView) AllowsCutCopyPaste() ( - r0 bool, -) { +// AllowsCutCopyPaste A Boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. +// https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc +func (x gen_NSImageView) AllowsCutCopyPaste() bool { ret := C.NSImageView_inst_allowsCutCopyPaste( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsCutCopyPaste A Boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. +// https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc func (x gen_NSImageView) SetAllowsCutCopyPaste( value bool, ) { @@ -12146,19 +12746,24 @@ func (x gen_NSImageView) SetAllowsCutCopyPaste( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSImageView) ContentTintColor() ( - r0 NSColor, -) { +// ContentTintColor +// https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc +func (x gen_NSImageView) ContentTintColor() NSColor { ret := C.NSImageView_inst_contentTintColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetContentTintColor +// https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc func (x gen_NSImageView) SetContentTintColor( value NSColorRef, ) { @@ -12166,7 +12771,9 @@ func (x gen_NSImageView) SetContentTintColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSNibRef interface { @@ -12188,44 +12795,46 @@ func NSNib_fromRef(ref objc.Ref) NSNib { return NSNib_fromPointer(unsafe.Pointer(ref.Pointer())) } +// InitWithNibData_bundle_asNSNib Initializes an instance with nib data and specified bundle for locating resources. +// https://developer.apple.com/documentation/appkit/nsnib/1535865-initwithnibdata?language=objc func (x gen_NSNib) InitWithNibData_bundle_asNSNib( nibData core.NSDataRef, bundle NSBundleRef, -) ( - r0 NSNib, -) { +) NSNib { ret := C.NSNib_inst_initWithNibData_bundle( unsafe.Pointer(x.Pointer()), objc.RefPointer(nibData), objc.RefPointer(bundle), ) - r0 = NSNib_fromPointer(ret) - return + + return NSNib_fromPointer(ret) + } +// InstantiateWithOwner_topLevelObjects Instantiates objects in the nib file with the specified owner. +// https://developer.apple.com/documentation/appkit/nsnib/1527173-instantiatewithowner?language=objc func (x gen_NSNib) InstantiateWithOwner_topLevelObjects( owner objc.Ref, topLevelObjects core.NSArrayRef, -) ( - r0 bool, -) { +) bool { ret := C.NSNib_inst_instantiateWithOwner_topLevelObjects( unsafe.Pointer(x.Pointer()), objc.RefPointer(owner), objc.RefPointer(topLevelObjects), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSNib) Init_asNSNib() ( - r0 NSNib, -) { +// Init_asNSNib +func (x gen_NSNib) Init_asNSNib() NSNib { ret := C.NSNib_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSNib_fromPointer(ret) - return + + return NSNib_fromPointer(ret) + } type NSPasteboardRef interface { @@ -12247,160 +12856,175 @@ func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard { return NSPasteboard_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AddTypes_owner Adds promises for the specified types to the first pasteboard item. +// https://developer.apple.com/documentation/appkit/nspasteboard/1533580-addtypes?language=objc func (x gen_NSPasteboard) AddTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSPasteboard_inst_addTypes_owner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// CanReadItemWithDataConformingToTypes Returns a Boolean value that indicates whether the receiver contains any items that conform to the specified UTIs. +// https://developer.apple.com/documentation/appkit/nspasteboard/1533576-canreaditemwithdataconformingtot?language=objc func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( types core.NSArrayRef, -) ( - r0 bool, -) { +) bool { ret := C.NSPasteboard_inst_canReadItemWithDataConformingToTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(types), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// CanReadObjectForClasses_options Returns a Boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. +// https://developer.apple.com/documentation/appkit/nspasteboard/1533360-canreadobjectforclasses?language=objc func (x gen_NSPasteboard) CanReadObjectForClasses_options( classArray core.NSArrayRef, options core.NSDictionaryRef, -) ( - r0 bool, -) { +) bool { ret := C.NSPasteboard_inst_canReadObjectForClasses_options( unsafe.Pointer(x.Pointer()), objc.RefPointer(classArray), objc.RefPointer(options), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSPasteboard) ClearContents() ( - r0 core.NSInteger, -) { +// ClearContents Clears the existing contents of the pasteboard. +// https://developer.apple.com/documentation/appkit/nspasteboard/1533599-clearcontents?language=objc +func (x gen_NSPasteboard) ClearContents() core.NSInteger { ret := C.NSPasteboard_inst_clearContents( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// DeclareTypes_owner Prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. +// https://developer.apple.com/documentation/appkit/nspasteboard/1533561-declaretypes?language=objc func (x gen_NSPasteboard) DeclareTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSPasteboard_inst_declareTypes_owner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// ReadObjectsForClasses_options Reads from the receiver objects that best match the specified array of classes. +// https://developer.apple.com/documentation/appkit/nspasteboard/1524454-readobjectsforclasses?language=objc func (x gen_NSPasteboard) ReadObjectsForClasses_options( classArray core.NSArrayRef, options core.NSDictionaryRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSPasteboard_inst_readObjectsForClasses_options( unsafe.Pointer(x.Pointer()), objc.RefPointer(classArray), objc.RefPointer(options), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// ReleaseGlobally Releases the receiver’s resources in the pasteboard server. +// https://developer.apple.com/documentation/appkit/nspasteboard/1527044-releaseglobally?language=objc func (x gen_NSPasteboard) ReleaseGlobally() { C.NSPasteboard_inst_releaseGlobally( unsafe.Pointer(x.Pointer()), ) + return + } +// WriteFileContents Writes the contents of the specified file to the pasteboard. +// https://developer.apple.com/documentation/appkit/nspasteboard/1531224-writefilecontents?language=objc func (x gen_NSPasteboard) WriteFileContents( filename core.NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSPasteboard_inst_writeFileContents( unsafe.Pointer(x.Pointer()), objc.RefPointer(filename), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// WriteObjects Writes an array of objects to the receiver. +// https://developer.apple.com/documentation/appkit/nspasteboard/1525945-writeobjects?language=objc func (x gen_NSPasteboard) WriteObjects( objects core.NSArrayRef, -) ( - r0 bool, -) { +) bool { ret := C.NSPasteboard_inst_writeObjects( unsafe.Pointer(x.Pointer()), objc.RefPointer(objects), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSPasteboard) Init_asNSPasteboard() ( - r0 NSPasteboard, -) { +// Init_asNSPasteboard +func (x gen_NSPasteboard) Init_asNSPasteboard() NSPasteboard { ret := C.NSPasteboard_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSPasteboard_fromPointer(ret) - return + + return NSPasteboard_fromPointer(ret) + } -func (x gen_NSPasteboard) PasteboardItems() ( - r0 core.NSArray, -) { +// PasteboardItems An array that contains all the items held by the pasteboard. +// https://developer.apple.com/documentation/appkit/nspasteboard/1529995-pasteboarditems?language=objc +func (x gen_NSPasteboard) PasteboardItems() core.NSArray { ret := C.NSPasteboard_inst_pasteboardItems( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSPasteboard) Types() ( - r0 core.NSArray, -) { +// Types An array of the receiver’s supported data types. +// https://developer.apple.com/documentation/appkit/nspasteboard/1529599-types?language=objc +func (x gen_NSPasteboard) Types() core.NSArray { ret := C.NSPasteboard_inst_types( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSPasteboard) ChangeCount() ( - r0 core.NSInteger, -) { +// ChangeCount The receiver’s change count. +// https://developer.apple.com/documentation/appkit/nspasteboard/1533544-changecount?language=objc +func (x gen_NSPasteboard) ChangeCount() core.NSInteger { ret := C.NSPasteboard_inst_changeCount( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } type NSLayoutManagerRef interface { @@ -12422,6 +13046,8 @@ func NSLayoutManager_fromRef(ref objc.Ref) NSLayoutManager { return NSLayoutManager_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AddTextContainer Appends the specified text container to the series of text containers where the layout manager arranges text. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402946-addtextcontainer?language=objc func (x gen_NSLayoutManager) AddTextContainer( container NSTextContainerRef, ) { @@ -12429,74 +13055,83 @@ func (x gen_NSLayoutManager) AddTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) + return + } +// AttachmentSizeForGlyphAtIndex Returns the size of the attachment glyph at the specified index. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403099-attachmentsizeforglyphatindex?language=objc func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( glyphIndex core.NSUInteger, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSLayoutManager_inst_attachmentSizeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// CharacterIndexForGlyphAtIndex Returns the index in the text storage for the first character of the specified glyph. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402944-characterindexforglyphatindex?language=objc func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( glyphIndex core.NSUInteger, -) ( - r0 core.NSUInteger, -) { +) core.NSUInteger { ret := C.NSLayoutManager_inst_characterIndexForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// DefaultBaselineOffsetForFont Returns the default baseline offset that the layout manager's typesetter uses for the specified font. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403058-defaultbaselineoffsetforfont?language=objc func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( theFont NSFontRef, -) ( - r0 core.CGFloat, -) { +) core.CGFloat { ret := C.NSLayoutManager_inst_defaultBaselineOffsetForFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(theFont), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// DefaultLineHeightForFont Returns the default line height for a line of text that uses a specified font. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403007-defaultlineheightforfont?language=objc func (x gen_NSLayoutManager) DefaultLineHeightForFont( theFont NSFontRef, -) ( - r0 core.CGFloat, -) { +) core.CGFloat { ret := C.NSLayoutManager_inst_defaultLineHeightForFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(theFont), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// DrawsOutsideLineFragmentForGlyphAtIndex Indicates whether the glyph draws outside its line fragment rectangle. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403003-drawsoutsidelinefragmentforglyph?language=objc func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( glyphIndex core.NSUInteger, -) ( - r0 bool, -) { +) bool { ret := C.NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// EnsureLayoutForBoundingRect_inTextContainer Forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402962-ensurelayoutforboundingrect?language=objc func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( bounds core.NSRect, container NSTextContainerRef, @@ -12506,9 +13141,13 @@ func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( *(*C.NSRect)(unsafe.Pointer(&bounds)), objc.RefPointer(container), ) + return + } +// EnsureLayoutForTextContainer Forces the layout manager to perform layout for the specified text container if it hasn’t already. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402967-ensurelayoutfortextcontainer?language=objc func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( container NSTextContainerRef, ) { @@ -12516,52 +13155,60 @@ func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) + return + } -func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() ( - r0 core.NSUInteger, -) { +// FirstUnlaidCharacterIndex Returns the index for the first character in the layout manager that isn’t in the layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403067-firstunlaidcharacterindex?language=objc +func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() core.NSUInteger { ret := C.NSLayoutManager_inst_firstUnlaidCharacterIndex( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() ( - r0 core.NSUInteger, -) { +// FirstUnlaidGlyphIndex Returns the index for the first glyph in the layout manager that isn’t in the layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403245-firstunlaidglyphindex?language=objc +func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() core.NSUInteger { ret := C.NSLayoutManager_inst_firstUnlaidGlyphIndex( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// GlyphIndexForCharacterAtIndex Returns the index of the first glyph of the character at the specified index. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403001-glyphindexforcharacteratindex?language=objc func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( charIndex core.NSUInteger, -) ( - r0 core.NSUInteger, -) { +) core.NSUInteger { ret := C.NSLayoutManager_inst_glyphIndexForCharacterAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(charIndex), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSLayoutManager) Init_asNSLayoutManager() ( - r0 NSLayoutManager, -) { +// Init_asNSLayoutManager Initializes a newly created layout manager object. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402975-init?language=objc +func (x gen_NSLayoutManager) Init_asNSLayoutManager() NSLayoutManager { ret := C.NSLayoutManager_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSLayoutManager_fromPointer(ret) - return + + return NSLayoutManager_fromPointer(ret) + } +// InsertTextContainer_atIndex Inserts a text container at the specified index in the list of text containers. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403010-inserttextcontainer?language=objc func (x gen_NSLayoutManager) InsertTextContainer_atIndex( container NSTextContainerRef, index core.NSUInteger, @@ -12571,48 +13218,55 @@ func (x gen_NSLayoutManager) InsertTextContainer_atIndex( objc.RefPointer(container), C.ulong(index), ) + return + } +// IsValidGlyphIndex Indicates whether the specified index refers to a valid glyph. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402950-isvalidglyphindex?language=objc func (x gen_NSLayoutManager) IsValidGlyphIndex( glyphIndex core.NSUInteger, -) ( - r0 bool, -) { +) bool { ret := C.NSLayoutManager_inst_isValidGlyphIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// LayoutManagerOwnsFirstResponderInWindow Indicates whether the first responder in the specified window is a text view for the layout manager. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403026-layoutmanagerownsfirstresponderi?language=objc func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( window NSWindowRef, -) ( - r0 bool, -) { +) bool { ret := C.NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(window), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// NotShownAttributeForGlyphAtIndex Indicates whether the glyph at the specified index has a visible representation. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402931-notshownattributeforglyphatindex?language=objc func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( glyphIndex core.NSUInteger, -) ( - r0 bool, -) { +) bool { ret := C.NSLayoutManager_inst_notShownAttributeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// RemoveTextContainerAtIndex Removes the text container at the specified index and invalidates the layout as necessary. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403017-removetextcontaineratindex?language=objc func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( index core.NSUInteger, ) { @@ -12620,9 +13274,13 @@ func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(index), ) + return + } +// SetDrawsOutsideLineFragment_forGlyphAtIndex Indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402964-setdrawsoutsidelinefragment?language=objc func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, @@ -12632,9 +13290,13 @@ func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( convertToObjCBool(flag), C.ulong(glyphIndex), ) + return + } +// SetExtraLineFragmentRect_usedRect_textContainer Sets the bounds and container for the extra line fragment. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403071-setextralinefragmentrect?language=objc func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( fragmentRect core.NSRect, usedRect core.NSRect, @@ -12646,9 +13308,13 @@ func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( *(*C.NSRect)(unsafe.Pointer(&usedRect)), objc.RefPointer(container), ) + return + } +// SetNotShownAttribute_forGlyphAtIndex Sets the visibility of the glyph at the specified index. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403078-setnotshownattribute?language=objc func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, @@ -12658,9 +13324,13 @@ func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( convertToObjCBool(flag), C.ulong(glyphIndex), ) + return + } +// TextContainerChangedGeometry Invalidates the layout information, and possibly glyphs, for the specified text container and all subsequent text container objects. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403091-textcontainerchangedgeometry?language=objc func (x gen_NSLayoutManager) TextContainerChangedGeometry( container NSTextContainerRef, ) { @@ -12668,9 +13338,13 @@ func (x gen_NSLayoutManager) TextContainerChangedGeometry( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) + return + } +// TextContainerChangedTextView Updates the information necessary to manage text view objects for the specified text container. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403229-textcontainerchangedtextview?language=objc func (x gen_NSLayoutManager) TextContainerChangedTextView( container NSTextContainerRef, ) { @@ -12678,32 +13352,38 @@ func (x gen_NSLayoutManager) TextContainerChangedTextView( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) + return + } +// UsedRectForTextContainer Returns the bounding rectangle for the glyphs in the specified text container. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402980-usedrectfortextcontainer?language=objc func (x gen_NSLayoutManager) UsedRectForTextContainer( container NSTextContainerRef, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSLayoutManager_inst_usedRectForTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSLayoutManager) Delegate() ( - r0 objc.Object, -) { +// Delegate The layout manager’s delegate. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc +func (x gen_NSLayoutManager) Delegate() objc.Object { ret := C.NSLayoutManager_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The layout manager’s delegate. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc func (x gen_NSLayoutManager) SetDelegate( value objc.Ref, ) { @@ -12711,19 +13391,24 @@ func (x gen_NSLayoutManager) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSLayoutManager) AllowsNonContiguousLayout() ( - r0 bool, -) { +// AllowsNonContiguousLayout A Boolean value that indicates whether the layout manager allows noncontiguous layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc +func (x gen_NSLayoutManager) AllowsNonContiguousLayout() bool { ret := C.NSLayoutManager_inst_allowsNonContiguousLayout( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsNonContiguousLayout A Boolean value that indicates whether the layout manager allows noncontiguous layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( value bool, ) { @@ -12731,29 +13416,35 @@ func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) HasNonContiguousLayout() ( - r0 bool, -) { +// HasNonContiguousLayout A Boolean value that indicates whether the layout manager currently has any areas of noncontiguous layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403207-hasnoncontiguouslayout?language=objc +func (x gen_NSLayoutManager) HasNonContiguousLayout() bool { ret := C.NSLayoutManager_inst_hasNonContiguousLayout( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSLayoutManager) ShowsInvisibleCharacters() ( - r0 bool, -) { +// ShowsInvisibleCharacters A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc +func (x gen_NSLayoutManager) ShowsInvisibleCharacters() bool { ret := C.NSLayoutManager_inst_showsInvisibleCharacters( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetShowsInvisibleCharacters A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( value bool, ) { @@ -12761,19 +13452,24 @@ func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) ShowsControlCharacters() ( - r0 bool, -) { +// ShowsControlCharacters A Boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc +func (x gen_NSLayoutManager) ShowsControlCharacters() bool { ret := C.NSLayoutManager_inst_showsControlCharacters( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetShowsControlCharacters A Boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc func (x gen_NSLayoutManager) SetShowsControlCharacters( value bool, ) { @@ -12781,19 +13477,24 @@ func (x gen_NSLayoutManager) SetShowsControlCharacters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) UsesFontLeading() ( - r0 bool, -) { +// UsesFontLeading A Boolean value that indicates whether the layout manager uses the leading of the font. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc +func (x gen_NSLayoutManager) UsesFontLeading() bool { ret := C.NSLayoutManager_inst_usesFontLeading( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesFontLeading A Boolean value that indicates whether the layout manager uses the leading of the font. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc func (x gen_NSLayoutManager) SetUsesFontLeading( value bool, ) { @@ -12801,19 +13502,24 @@ func (x gen_NSLayoutManager) SetUsesFontLeading( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) BackgroundLayoutEnabled() ( - r0 bool, -) { +// BackgroundLayoutEnabled A Boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc +func (x gen_NSLayoutManager) BackgroundLayoutEnabled() bool { ret := C.NSLayoutManager_inst_backgroundLayoutEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetBackgroundLayoutEnabled A Boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( value bool, ) { @@ -12821,19 +13527,24 @@ func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() ( - r0 bool, -) { +// LimitsLayoutForSuspiciousContents A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc +func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() bool { ret := C.NSLayoutManager_inst_limitsLayoutForSuspiciousContents( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetLimitsLayoutForSuspiciousContents A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( value bool, ) { @@ -12841,19 +13552,24 @@ func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) UsesDefaultHyphenation() ( - r0 bool, -) { +// UsesDefaultHyphenation A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc +func (x gen_NSLayoutManager) UsesDefaultHyphenation() bool { ret := C.NSLayoutManager_inst_usesDefaultHyphenation( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesDefaultHyphenation A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( value bool, ) { @@ -12861,77 +13577,86 @@ func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSLayoutManager) TextContainers() ( - r0 core.NSArray, -) { +// TextContainers The current text containers of the layout manager. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403144-textcontainers?language=objc +func (x gen_NSLayoutManager) TextContainers() core.NSArray { ret := C.NSLayoutManager_inst_textContainers( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSLayoutManager) NumberOfGlyphs() ( - r0 core.NSUInteger, -) { +// NumberOfGlyphs The number of glyphs in the layout manager. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402937-numberofglyphs?language=objc +func (x gen_NSLayoutManager) NumberOfGlyphs() core.NSUInteger { ret := C.NSLayoutManager_inst_numberOfGlyphs( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } -func (x gen_NSLayoutManager) ExtraLineFragmentRect() ( - r0 core.NSRect, -) { +// ExtraLineFragmentRect The rectangle for the extra line fragment at the end of a document. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403175-extralinefragmentrect?language=objc +func (x gen_NSLayoutManager) ExtraLineFragmentRect() core.NSRect { ret := C.NSLayoutManager_inst_extraLineFragmentRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() ( - r0 NSTextContainer, -) { +// ExtraLineFragmentTextContainer The text container for the extra line fragment rectangle. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403165-extralinefragmenttextcontainer?language=objc +func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() NSTextContainer { ret := C.NSLayoutManager_inst_extraLineFragmentTextContainer( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextContainer_fromPointer(ret) - return + + return NSTextContainer_fromPointer(ret) + } -func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() ( - r0 core.NSRect, -) { +// ExtraLineFragmentUsedRect The rectangle that encloses the insertion point in the extra line fragment rectangle. +// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402988-extralinefragmentusedrect?language=objc +func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() core.NSRect { ret := C.NSLayoutManager_inst_extraLineFragmentUsedRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSLayoutManager) FirstTextView() ( - r0 NSTextView, -) { +// FirstTextView The first text view in the layout manager’s series of text views. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1402995-firsttextview?language=objc +func (x gen_NSLayoutManager) FirstTextView() NSTextView { ret := C.NSLayoutManager_inst_firstTextView( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } -func (x gen_NSLayoutManager) TextViewForBeginningOfSelection() ( - r0 NSTextView, -) { +// TextViewForBeginningOfSelection The text view that contains the first glyph in the selection. +// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403089-textviewforbeginningofselection?language=objc +func (x gen_NSLayoutManager) TextViewForBeginningOfSelection() NSTextView { ret := C.NSLayoutManager_inst_textViewForBeginningOfSelection( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } type NSMenuRef interface { @@ -12953,6 +13678,8 @@ func NSMenu_fromRef(ref objc.Ref) NSMenu { return NSMenu_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AddItem Adds a menu item to the end of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518176-additem?language=objc func (x gen_NSMenu) AddItem( newItem NSMenuItemRef, ) { @@ -12960,133 +13687,153 @@ func (x gen_NSMenu) AddItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(newItem), ) + return + } +// AddItemWithTitle_action_keyEquivalent Creates a new menu item and adds it to the end of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518181-additemwithtitle?language=objc func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, -) ( - r0 NSMenuItem, -) { +) NSMenuItem { ret := C.NSMenu_inst_addItemWithTitle_action_keyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), objc.RefPointer(charCode), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } +// CancelTracking Dismisses the menu and ends all menu tracking. +// https://developer.apple.com/documentation/appkit/nsmenu/1518150-canceltracking?language=objc func (x gen_NSMenu) CancelTracking() { C.NSMenu_inst_cancelTracking( unsafe.Pointer(x.Pointer()), ) + return + } +// CancelTrackingWithoutAnimation Dismisses the menu and ends all menu tracking without displaying the associated animation. +// https://developer.apple.com/documentation/appkit/nsmenu/1518244-canceltrackingwithoutanimation?language=objc func (x gen_NSMenu) CancelTrackingWithoutAnimation() { C.NSMenu_inst_cancelTrackingWithoutAnimation( unsafe.Pointer(x.Pointer()), ) + return + } +// IndexOfItem Returns the index identifying the location of a specified menu item in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518178-indexofitem?language=objc func (x gen_NSMenu) IndexOfItem( item NSMenuItemRef, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSMenu_inst_indexOfItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// IndexOfItemWithRepresentedObject Returns the index of the first menu item in the menu that has a given represented object. +// https://developer.apple.com/documentation/appkit/nsmenu/1518175-indexofitemwithrepresentedobject?language=objc func (x gen_NSMenu) IndexOfItemWithRepresentedObject( object objc.Ref, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSMenu_inst_indexOfItemWithRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(object), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// IndexOfItemWithSubmenu Returns the index of the menu item in the menu with the given submenu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518216-indexofitemwithsubmenu?language=objc func (x gen_NSMenu) IndexOfItemWithSubmenu( submenu NSMenuRef, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSMenu_inst_indexOfItemWithSubmenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(submenu), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// IndexOfItemWithTag Returns the index of the first menu item in the menu identified by a tag. +// https://developer.apple.com/documentation/appkit/nsmenu/1518164-indexofitemwithtag?language=objc func (x gen_NSMenu) IndexOfItemWithTag( tag core.NSInteger, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSMenu_inst_indexOfItemWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// IndexOfItemWithTarget_andAction Returns the index of the first menu item in the menu that has a specified action and target. +// https://developer.apple.com/documentation/appkit/nsmenu/1518153-indexofitemwithtarget?language=objc func (x gen_NSMenu) IndexOfItemWithTarget_andAction( target objc.Ref, actionSelector objc.Selector, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSMenu_inst_indexOfItemWithTarget_andAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), actionSelector.SelectorAddress(), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// IndexOfItemWithTitle Returns the index of the first menu item in the menu that has a specified title. +// https://developer.apple.com/documentation/appkit/nsmenu/1518237-indexofitemwithtitle?language=objc func (x gen_NSMenu) IndexOfItemWithTitle( title core.NSStringRef, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSMenu_inst_indexOfItemWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// InitWithTitle_asNSMenu Initializes and returns a menu having the specified title and with autoenabling of menu items turned on. +// https://developer.apple.com/documentation/appkit/nsmenu/1518144-initwithtitle?language=objc func (x gen_NSMenu) InitWithTitle_asNSMenu( title core.NSStringRef, -) ( - r0 NSMenu, -) { +) NSMenu { ret := C.NSMenu_inst_initWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// InsertItem_atIndex Inserts a menu item into the menu at a specific location. +// https://developer.apple.com/documentation/appkit/nsmenu/1518201-insertitem?language=objc func (x gen_NSMenu) InsertItem_atIndex( newItem NSMenuItemRef, index core.NSInteger, @@ -13096,17 +13843,19 @@ func (x gen_NSMenu) InsertItem_atIndex( objc.RefPointer(newItem), C.long(index), ) + return + } +// InsertItemWithTitle_action_keyEquivalent_atIndex Creates and adds a menu item at a specified location in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518146-insertitemwithtitle?language=objc func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, index core.NSInteger, -) ( - r0 NSMenuItem, -) { +) NSMenuItem { ret := C.NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), @@ -13114,23 +13863,27 @@ func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( objc.RefPointer(charCode), C.long(index), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } +// ItemAtIndex Returns the menu item at a specific location of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518218-itematindex?language=objc func (x gen_NSMenu) ItemAtIndex( index core.NSInteger, -) ( - r0 NSMenuItem, -) { +) NSMenuItem { ret := C.NSMenu_inst_itemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } +// ItemChanged Invoked when a menu item is modified visually (for example, its title changes). +// https://developer.apple.com/documentation/appkit/nsmenu/1518154-itemchanged?language=objc func (x gen_NSMenu) ItemChanged( item NSMenuItemRef, ) { @@ -13138,35 +13891,41 @@ func (x gen_NSMenu) ItemChanged( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) + return + } +// ItemWithTag Returns the first menu item in the menu with the specified tag. +// https://developer.apple.com/documentation/appkit/nsmenu/1518223-itemwithtag?language=objc func (x gen_NSMenu) ItemWithTag( tag core.NSInteger, -) ( - r0 NSMenuItem, -) { +) NSMenuItem { ret := C.NSMenu_inst_itemWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } +// ItemWithTitle Returns the first menu item in the menu with a specified title. +// https://developer.apple.com/documentation/appkit/nsmenu/1518248-itemwithtitle?language=objc func (x gen_NSMenu) ItemWithTitle( title core.NSStringRef, -) ( - r0 NSMenuItem, -) { +) NSMenuItem { ret := C.NSMenu_inst_itemWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } +// PerformActionForItemAtIndex Causes the application to send the action message of a specified menu item to its target. +// https://developer.apple.com/documentation/appkit/nsmenu/1518210-performactionforitematindex?language=objc func (x gen_NSMenu) PerformActionForItemAtIndex( index core.NSInteger, ) { @@ -13174,46 +13933,56 @@ func (x gen_NSMenu) PerformActionForItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) + return + } +// PerformKeyEquivalent Performs the action for the menu item that corresponds to the given key equivalent. +// https://developer.apple.com/documentation/appkit/nsmenu/1518198-performkeyequivalent?language=objc func (x gen_NSMenu) PerformKeyEquivalent( event NSEventRef, -) ( - r0 bool, -) { +) bool { ret := C.NSMenu_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// PopUpMenuPositioningItem_atLocation_inView Pops up the menu at the specified location. +// https://developer.apple.com/documentation/appkit/nsmenu/1518212-popupmenupositioningitem?language=objc func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( item NSMenuItemRef, location core.NSPoint, view NSViewRef, -) ( - r0 bool, -) { +) bool { ret := C.NSMenu_inst_popUpMenuPositioningItem_atLocation_inView( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), *(*C.NSPoint)(unsafe.Pointer(&location)), objc.RefPointer(view), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// RemoveAllItems Removes all the menu items in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518234-removeallitems?language=objc func (x gen_NSMenu) RemoveAllItems() { C.NSMenu_inst_removeAllItems( unsafe.Pointer(x.Pointer()), ) + return + } +// RemoveItem Removes a menu item from the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518257-removeitem?language=objc func (x gen_NSMenu) RemoveItem( item NSMenuItemRef, ) { @@ -13221,9 +13990,13 @@ func (x gen_NSMenu) RemoveItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) + return + } +// RemoveItemAtIndex Removes the menu item at a specified location in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518207-removeitematindex?language=objc func (x gen_NSMenu) RemoveItemAtIndex( index core.NSInteger, ) { @@ -13231,9 +14004,13 @@ func (x gen_NSMenu) RemoveItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) + return + } +// SetSubmenu_forItem Assigns a menu to be a submenu of the menu controlled by a given menu item. +// https://developer.apple.com/documentation/appkit/nsmenu/1518194-setsubmenu?language=objc func (x gen_NSMenu) SetSubmenu_forItem( menu NSMenuRef, item NSMenuItemRef, @@ -13243,9 +14020,13 @@ func (x gen_NSMenu) SetSubmenu_forItem( objc.RefPointer(menu), objc.RefPointer(item), ) + return + } +// SubmenuAction The action method assigned to menu items that open submenus. +// https://developer.apple.com/documentation/appkit/nsmenu/1518179-submenuaction?language=objc func (x gen_NSMenu) SubmenuAction( sender objc.Ref, ) { @@ -13253,56 +14034,67 @@ func (x gen_NSMenu) SubmenuAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Update Enables or disables the menu items of the menu based on the NSMenuValidation informal protocol and sizes the menu to fit its current menu items if necessary. +// https://developer.apple.com/documentation/appkit/nsmenu/1518249-update?language=objc func (x gen_NSMenu) Update() { C.NSMenu_inst_update( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSMenu) Init_asNSMenu() ( - r0 NSMenu, -) { +// Init_asNSMenu +func (x gen_NSMenu) Init_asNSMenu() NSMenu { ret := C.NSMenu_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } -func (x gen_NSMenu) MenuBarHeight() ( - r0 core.CGFloat, -) { +// MenuBarHeight The menu bar height for the main menu in pixels. +// https://developer.apple.com/documentation/appkit/nsmenu/1518141-menubarheight?language=objc +func (x gen_NSMenu) MenuBarHeight() core.CGFloat { ret := C.NSMenu_inst_menuBarHeight( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSMenu) NumberOfItems() ( - r0 core.NSInteger, -) { +// NumberOfItems The number of menu items in the menu, including separator items. +// https://developer.apple.com/documentation/appkit/nsmenu/1518202-numberofitems?language=objc +func (x gen_NSMenu) NumberOfItems() core.NSInteger { ret := C.NSMenu_inst_numberOfItems( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSMenu) ItemArray() ( - r0 core.NSArray, -) { +// ItemArray An array containing the menu items in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc +func (x gen_NSMenu) ItemArray() core.NSArray { ret := C.NSMenu_inst_itemArray( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetItemArray An array containing the menu items in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc func (x gen_NSMenu) SetItemArray( value core.NSArrayRef, ) { @@ -13310,19 +14102,24 @@ func (x gen_NSMenu) SetItemArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenu) Supermenu() ( - r0 NSMenu, -) { +// Supermenu The parent menu that contains the menu as a submenu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc +func (x gen_NSMenu) Supermenu() NSMenu { ret := C.NSMenu_inst_supermenu( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// SetSupermenu The parent menu that contains the menu as a submenu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc func (x gen_NSMenu) SetSupermenu( value NSMenuRef, ) { @@ -13330,19 +14127,24 @@ func (x gen_NSMenu) SetSupermenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenu) AutoenablesItems() ( - r0 bool, -) { +// AutoenablesItems Indicates whether the menu automatically enables and disables its menu items. +// https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc +func (x gen_NSMenu) AutoenablesItems() bool { ret := C.NSMenu_inst_autoenablesItems( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutoenablesItems Indicates whether the menu automatically enables and disables its menu items. +// https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc func (x gen_NSMenu) SetAutoenablesItems( value bool, ) { @@ -13350,19 +14152,24 @@ func (x gen_NSMenu) SetAutoenablesItems( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenu) Font() ( - r0 NSFont, -) { +// Font The font of the menu and its submenus. +// https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc +func (x gen_NSMenu) Font() NSFont { ret := C.NSMenu_inst_font( unsafe.Pointer(x.Pointer()), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } +// SetFont The font of the menu and its submenus. +// https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc func (x gen_NSMenu) SetFont( value NSFontRef, ) { @@ -13370,19 +14177,24 @@ func (x gen_NSMenu) SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenu) Title() ( - r0 core.NSString, -) { +// Title The title of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc +func (x gen_NSMenu) Title() core.NSString { ret := C.NSMenu_inst_title( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetTitle The title of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc func (x gen_NSMenu) SetTitle( value core.NSStringRef, ) { @@ -13390,19 +14202,24 @@ func (x gen_NSMenu) SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenu) MinimumWidth() ( - r0 core.CGFloat, -) { +// MinimumWidth The minimum width of the menu in screen coordinates. +// https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc +func (x gen_NSMenu) MinimumWidth() core.CGFloat { ret := C.NSMenu_inst_minimumWidth( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetMinimumWidth The minimum width of the menu in screen coordinates. +// https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc func (x gen_NSMenu) SetMinimumWidth( value core.CGFloat, ) { @@ -13410,29 +14227,35 @@ func (x gen_NSMenu) SetMinimumWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSMenu) Size() ( - r0 core.NSSize, -) { +// Size The size of the menu in screen coordinates +// https://developer.apple.com/documentation/appkit/nsmenu/1518185-size?language=objc +func (x gen_NSMenu) Size() core.NSSize { ret := C.NSMenu_inst_size( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_NSMenu) AllowsContextMenuPlugIns() ( - r0 bool, -) { +// AllowsContextMenuPlugIns Indicates whether the pop-up menu allows appending of contextual menu plug-in items. +// https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc +func (x gen_NSMenu) AllowsContextMenuPlugIns() bool { ret := C.NSMenu_inst_allowsContextMenuPlugIns( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsContextMenuPlugIns Indicates whether the pop-up menu allows appending of contextual menu plug-in items. +// https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc func (x gen_NSMenu) SetAllowsContextMenuPlugIns( value bool, ) { @@ -13440,19 +14263,24 @@ func (x gen_NSMenu) SetAllowsContextMenuPlugIns( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenu) ShowsStateColumn() ( - r0 bool, -) { +// ShowsStateColumn Indicates whether the menu displays the state column. +// https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc +func (x gen_NSMenu) ShowsStateColumn() bool { ret := C.NSMenu_inst_showsStateColumn( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetShowsStateColumn Indicates whether the menu displays the state column. +// https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc func (x gen_NSMenu) SetShowsStateColumn( value bool, ) { @@ -13460,29 +14288,35 @@ func (x gen_NSMenu) SetShowsStateColumn( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenu) HighlightedItem() ( - r0 NSMenuItem, -) { +// HighlightedItem Indicates the currently highlighted item in the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518222-highlighteditem?language=objc +func (x gen_NSMenu) HighlightedItem() NSMenuItem { ret := C.NSMenu_inst_highlightedItem( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func (x gen_NSMenu) Delegate() ( - r0 objc.Object, -) { +// Delegate The delegate of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc +func (x gen_NSMenu) Delegate() objc.Object { ret := C.NSMenu_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The delegate of the menu. +// https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc func (x gen_NSMenu) SetDelegate( value objc.Ref, ) { @@ -13490,7 +14324,9 @@ func (x gen_NSMenu) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSPopoverRef interface { @@ -13512,23 +14348,30 @@ func NSPopover_fromRef(ref objc.Ref) NSPopover { return NSPopover_fromPointer(unsafe.Pointer(ref.Pointer())) } +// Close Forces the popover to close without consulting its delegate. +// https://developer.apple.com/documentation/appkit/nspopover/1526823-close?language=objc func (x gen_NSPopover) Close() { C.NSPopover_inst_close( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSPopover) Init_asNSPopover() ( - r0 NSPopover, -) { +// Init_asNSPopover +// https://developer.apple.com/documentation/appkit/nspopover/1526851-init?language=objc +func (x gen_NSPopover) Init_asNSPopover() NSPopover { ret := C.NSPopover_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSPopover_fromPointer(ret) - return + + return NSPopover_fromPointer(ret) + } +// PerformClose Attempts to close the popover. +// https://developer.apple.com/documentation/appkit/nspopover/1534290-performclose?language=objc func (x gen_NSPopover) PerformClose( sender objc.Ref, ) { @@ -13536,19 +14379,24 @@ func (x gen_NSPopover) PerformClose( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } -func (x gen_NSPopover) Behavior() ( - r0 core.NSInteger, -) { +// Behavior Specifies the behavior of the popover. +// https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc +func (x gen_NSPopover) Behavior() core.NSInteger { ret := C.NSPopover_inst_behavior( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetBehavior Specifies the behavior of the popover. +// https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc func (x gen_NSPopover) SetBehavior( value core.NSInteger, ) { @@ -13556,19 +14404,24 @@ func (x gen_NSPopover) SetBehavior( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSPopover) PositioningRect() ( - r0 core.NSRect, -) { +// PositioningRect The rectangle within the positioning view relative to which the popover should be positioned. +// https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc +func (x gen_NSPopover) PositioningRect() core.NSRect { ret := C.NSPopover_inst_positioningRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// SetPositioningRect The rectangle within the positioning view relative to which the popover should be positioned. +// https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc func (x gen_NSPopover) SetPositioningRect( value core.NSRect, ) { @@ -13576,19 +14429,24 @@ func (x gen_NSPopover) SetPositioningRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSPopover) Animates() ( - r0 bool, -) { +// Animates Specifies if the popover is to be animated. +// https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc +func (x gen_NSPopover) Animates() bool { ret := C.NSPopover_inst_animates( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAnimates Specifies if the popover is to be animated. +// https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc func (x gen_NSPopover) SetAnimates( value bool, ) { @@ -13596,19 +14454,24 @@ func (x gen_NSPopover) SetAnimates( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSPopover) ContentSize() ( - r0 core.NSSize, -) { +// ContentSize The content size of the popover. +// https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc +func (x gen_NSPopover) ContentSize() core.NSSize { ret := C.NSPopover_inst_contentSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetContentSize The content size of the popover. +// https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc func (x gen_NSPopover) SetContentSize( value core.NSSize, ) { @@ -13616,27 +14479,31 @@ func (x gen_NSPopover) SetContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSPopover) IsShown() ( - r0 bool, -) { +// IsShown The display state of the popover. +// https://developer.apple.com/documentation/appkit/nspopover/1535120-shown?language=objc +func (x gen_NSPopover) IsShown() bool { ret := C.NSPopover_inst_isShown( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSPopover) IsDetached() ( - r0 bool, -) { +// IsDetached A Boolean value that indicates whether the window created by a popover's detachment is automatically created. +// https://developer.apple.com/documentation/appkit/nspopover/1534278-detached?language=objc +func (x gen_NSPopover) IsDetached() bool { ret := C.NSPopover_inst_isDetached( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSMenuItemRef interface { @@ -13658,43 +14525,47 @@ func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem { return NSMenuItem_fromPointer(unsafe.Pointer(ref.Pointer())) } +// InitWithTitle_action_keyEquivalent_asNSMenuItem Returns an initialized instance of NSMenuItem. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent_asNSMenuItem( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, -) ( - r0 NSMenuItem, -) { +) NSMenuItem { ret := C.NSMenuItem_inst_initWithTitle_action_keyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), objc.RefPointer(charCode), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func (x gen_NSMenuItem) Init_asNSMenuItem() ( - r0 NSMenuItem, -) { +// Init_asNSMenuItem +func (x gen_NSMenuItem) Init_asNSMenuItem() NSMenuItem { ret := C.NSMenuItem_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func (x gen_NSMenuItem) IsEnabled() ( - r0 bool, -) { +// IsEnabled A Boolean value that indicates whether the menu item is enabled. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc +func (x gen_NSMenuItem) IsEnabled() bool { ret := C.NSMenuItem_inst_isEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEnabled A Boolean value that indicates whether the menu item is enabled. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc func (x gen_NSMenuItem) SetEnabled( value bool, ) { @@ -13702,19 +14573,24 @@ func (x gen_NSMenuItem) SetEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenuItem) IsHidden() ( - r0 bool, -) { +// IsHidden A Boolean value that indicates whether the menu item is hidden. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc +func (x gen_NSMenuItem) IsHidden() bool { ret := C.NSMenuItem_inst_isHidden( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHidden A Boolean value that indicates whether the menu item is hidden. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc func (x gen_NSMenuItem) SetHidden( value bool, ) { @@ -13722,29 +14598,35 @@ func (x gen_NSMenuItem) SetHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() ( - r0 bool, -) { +// IsHiddenOrHasHiddenAncestor A Boolean value that indicates whether the menu item or any of its superitems is hidden. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514832-hiddenorhashiddenancestor?language=objc +func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() bool { ret := C.NSMenuItem_inst_isHiddenOrHasHiddenAncestor( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSMenuItem) Target() ( - r0 objc.Object, -) { +// Target The menu item's target. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc +func (x gen_NSMenuItem) Target() objc.Object { ret := C.NSMenuItem_inst_target( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetTarget The menu item's target. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc func (x gen_NSMenuItem) SetTarget( value objc.Ref, ) { @@ -13752,19 +14634,24 @@ func (x gen_NSMenuItem) SetTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) Action() ( - r0 objc.Selector, -) { +// Action The menu item's action-method selector. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc +func (x gen_NSMenuItem) Action() objc.Selector { ret := C.NSMenuItem_inst_action( unsafe.Pointer(x.Pointer()), ) - r0 = objc.SelectorAt(ret) - return + + return objc.SelectorAt(ret) + } +// SetAction The menu item's action-method selector. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc func (x gen_NSMenuItem) SetAction( value objc.Selector, ) { @@ -13772,19 +14659,24 @@ func (x gen_NSMenuItem) SetAction( unsafe.Pointer(x.Pointer()), value.SelectorAddress(), ) + return + } -func (x gen_NSMenuItem) Title() ( - r0 core.NSString, -) { +// Title The menu item's title. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc +func (x gen_NSMenuItem) Title() core.NSString { ret := C.NSMenuItem_inst_title( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetTitle The menu item's title. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc func (x gen_NSMenuItem) SetTitle( value core.NSStringRef, ) { @@ -13792,19 +14684,24 @@ func (x gen_NSMenuItem) SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) AttributedTitle() ( - r0 core.NSAttributedString, -) { +// AttributedTitle A custom string for a menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc +func (x gen_NSMenuItem) AttributedTitle() core.NSAttributedString { ret := C.NSMenuItem_inst_attributedTitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } +// SetAttributedTitle A custom string for a menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc func (x gen_NSMenuItem) SetAttributedTitle( value core.NSAttributedStringRef, ) { @@ -13812,19 +14709,24 @@ func (x gen_NSMenuItem) SetAttributedTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) Tag() ( - r0 core.NSInteger, -) { +// Tag The menu item's tag. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc +func (x gen_NSMenuItem) Tag() core.NSInteger { ret := C.NSMenuItem_inst_tag( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetTag The menu item's tag. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc func (x gen_NSMenuItem) SetTag( value core.NSInteger, ) { @@ -13832,19 +14734,24 @@ func (x gen_NSMenuItem) SetTag( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSMenuItem) State() ( - r0 core.NSInteger, -) { +// State The state of the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc +func (x gen_NSMenuItem) State() core.NSInteger { ret := C.NSMenuItem_inst_state( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetState The state of the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc func (x gen_NSMenuItem) SetState( value core.NSInteger, ) { @@ -13852,19 +14759,24 @@ func (x gen_NSMenuItem) SetState( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSMenuItem) Image() ( - r0 NSImage, -) { +// Image The menu item’s image. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc +func (x gen_NSMenuItem) Image() NSImage { ret := C.NSMenuItem_inst_image( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetImage The menu item’s image. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc func (x gen_NSMenuItem) SetImage( value NSImageRef, ) { @@ -13872,19 +14784,24 @@ func (x gen_NSMenuItem) SetImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) OnStateImage() ( - r0 NSImage, -) { +// OnStateImage The image of the menu item that indicates an “on” state. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc +func (x gen_NSMenuItem) OnStateImage() NSImage { ret := C.NSMenuItem_inst_onStateImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetOnStateImage The image of the menu item that indicates an “on” state. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc func (x gen_NSMenuItem) SetOnStateImage( value NSImageRef, ) { @@ -13892,19 +14809,24 @@ func (x gen_NSMenuItem) SetOnStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) OffStateImage() ( - r0 NSImage, -) { +// OffStateImage The image of the menu item that indicates an “off” state. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc +func (x gen_NSMenuItem) OffStateImage() NSImage { ret := C.NSMenuItem_inst_offStateImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetOffStateImage The image of the menu item that indicates an “off” state. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc func (x gen_NSMenuItem) SetOffStateImage( value NSImageRef, ) { @@ -13912,19 +14834,24 @@ func (x gen_NSMenuItem) SetOffStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) MixedStateImage() ( - r0 NSImage, -) { +// MixedStateImage The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc +func (x gen_NSMenuItem) MixedStateImage() NSImage { ret := C.NSMenuItem_inst_mixedStateImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetMixedStateImage The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc func (x gen_NSMenuItem) SetMixedStateImage( value NSImageRef, ) { @@ -13932,19 +14859,24 @@ func (x gen_NSMenuItem) SetMixedStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) Submenu() ( - r0 NSMenu, -) { +// Submenu The submenu of the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc +func (x gen_NSMenuItem) Submenu() NSMenu { ret := C.NSMenuItem_inst_submenu( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// SetSubmenu The submenu of the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc func (x gen_NSMenuItem) SetSubmenu( value NSMenuRef, ) { @@ -13952,49 +14884,57 @@ func (x gen_NSMenuItem) SetSubmenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) HasSubmenu() ( - r0 bool, -) { +// HasSubmenu A Boolean value that indicates whether the menu item has a submenu. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514817-hassubmenu?language=objc +func (x gen_NSMenuItem) HasSubmenu() bool { ret := C.NSMenuItem_inst_hasSubmenu( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSMenuItem) ParentItem() ( - r0 NSMenuItem, -) { +// ParentItem The menu item whose submenu contains the receiver. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514813-parentitem?language=objc +func (x gen_NSMenuItem) ParentItem() NSMenuItem { ret := C.NSMenuItem_inst_parentItem( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func (x gen_NSMenuItem) IsSeparatorItem() ( - r0 bool, -) { +// IsSeparatorItem A menu item that is used to separate logical groups of menu commands. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514837-separatoritem?language=objc +func (x gen_NSMenuItem) IsSeparatorItem() bool { ret := C.NSMenuItem_inst_isSeparatorItem( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSMenuItem) Menu() ( - r0 NSMenu, -) { +// Menu The menu item’s menu. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc +func (x gen_NSMenuItem) Menu() NSMenu { ret := C.NSMenuItem_inst_menu( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// SetMenu The menu item’s menu. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc func (x gen_NSMenuItem) SetMenu( value NSMenuRef, ) { @@ -14002,19 +14942,24 @@ func (x gen_NSMenuItem) SetMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) KeyEquivalent() ( - r0 core.NSString, -) { +// KeyEquivalent The menu item’s unmodified key equivalent. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc +func (x gen_NSMenuItem) KeyEquivalent() core.NSString { ret := C.NSMenuItem_inst_keyEquivalent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetKeyEquivalent The menu item’s unmodified key equivalent. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc func (x gen_NSMenuItem) SetKeyEquivalent( value core.NSStringRef, ) { @@ -14022,29 +14967,35 @@ func (x gen_NSMenuItem) SetKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) UserKeyEquivalent() ( - r0 core.NSString, -) { +// UserKeyEquivalent The user-assigned key equivalent for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514850-userkeyequivalent?language=objc +func (x gen_NSMenuItem) UserKeyEquivalent() core.NSString { ret := C.NSMenuItem_inst_userKeyEquivalent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSMenuItem) IsAlternate() ( - r0 bool, -) { +// IsAlternate A Boolean value that marks the menu item as an alternate to the previous menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc +func (x gen_NSMenuItem) IsAlternate() bool { ret := C.NSMenuItem_inst_isAlternate( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAlternate A Boolean value that marks the menu item as an alternate to the previous menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc func (x gen_NSMenuItem) SetAlternate( value bool, ) { @@ -14052,19 +15003,24 @@ func (x gen_NSMenuItem) SetAlternate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenuItem) IndentationLevel() ( - r0 core.NSInteger, -) { +// IndentationLevel The menu item indentation level for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc +func (x gen_NSMenuItem) IndentationLevel() core.NSInteger { ret := C.NSMenuItem_inst_indentationLevel( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetIndentationLevel The menu item indentation level for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc func (x gen_NSMenuItem) SetIndentationLevel( value core.NSInteger, ) { @@ -14072,19 +15028,24 @@ func (x gen_NSMenuItem) SetIndentationLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSMenuItem) ToolTip() ( - r0 core.NSString, -) { +// ToolTip A help tag for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc +func (x gen_NSMenuItem) ToolTip() core.NSString { ret := C.NSMenuItem_inst_toolTip( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetToolTip A help tag for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc func (x gen_NSMenuItem) SetToolTip( value core.NSStringRef, ) { @@ -14092,19 +15053,24 @@ func (x gen_NSMenuItem) SetToolTip( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) RepresentedObject() ( - r0 objc.Object, -) { +// RepresentedObject The object represented by the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc +func (x gen_NSMenuItem) RepresentedObject() objc.Object { ret := C.NSMenuItem_inst_representedObject( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetRepresentedObject The object represented by the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc func (x gen_NSMenuItem) SetRepresentedObject( value objc.Ref, ) { @@ -14112,19 +15078,24 @@ func (x gen_NSMenuItem) SetRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) View() ( - r0 NSView, -) { +// View The content view for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc +func (x gen_NSMenuItem) View() NSView { ret := C.NSMenuItem_inst_view( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// SetView The content view for the menu item. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc func (x gen_NSMenuItem) SetView( value NSViewRef, ) { @@ -14132,29 +15103,35 @@ func (x gen_NSMenuItem) SetView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSMenuItem) IsHighlighted() ( - r0 bool, -) { +// IsHighlighted A Boolean value that indicates whether the menu item should be drawn highlighted. +// https://developer.apple.com/documentation/appkit/nsmenuitem/1514856-highlighted?language=objc +func (x gen_NSMenuItem) IsHighlighted() bool { ret := C.NSMenuItem_inst_isHighlighted( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() ( - r0 bool, -) { +// AllowsAutomaticKeyEquivalentLocalization +// https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc +func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() bool { ret := C.NSMenuItem_inst_allowsAutomaticKeyEquivalentLocalization( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsAutomaticKeyEquivalentLocalization +// https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( value bool, ) { @@ -14162,19 +15139,24 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() ( - r0 bool, -) { +// AllowsAutomaticKeyEquivalentMirroring +// https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc +func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() bool { ret := C.NSMenuItem_inst_allowsAutomaticKeyEquivalentMirroring( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsAutomaticKeyEquivalentMirroring +// https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( value bool, ) { @@ -14182,19 +15164,24 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() ( - r0 bool, -) { +// AllowsKeyEquivalentWhenHidden +// https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc +func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() bool { ret := C.NSMenuItem_inst_allowsKeyEquivalentWhenHidden( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsKeyEquivalentWhenHidden +// https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden( value bool, ) { @@ -14202,7 +15189,9 @@ func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } type NSRunningApplicationRef interface { @@ -14224,174 +15213,190 @@ func NSRunningApplication_fromRef(ref objc.Ref) NSRunningApplication { return NSRunningApplication_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSRunningApplication) ForceTerminate() ( - r0 bool, -) { +// ForceTerminate Attempts to force the receiver to quit. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1530370-forceterminate?language=objc +func (x gen_NSRunningApplication) ForceTerminate() bool { ret := C.NSRunningApplication_inst_forceTerminate( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) Hide() ( - r0 bool, -) { +// Hide Attempts to hide or the application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1526608-hide?language=objc +func (x gen_NSRunningApplication) Hide() bool { ret := C.NSRunningApplication_inst_hide( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) Terminate() ( - r0 bool, -) { +// Terminate Attempts to quit the receiver normally. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1528922-terminate?language=objc +func (x gen_NSRunningApplication) Terminate() bool { ret := C.NSRunningApplication_inst_terminate( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) Unhide() ( - r0 bool, -) { +// Unhide Attempts to unhide or the application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1534676-unhide?language=objc +func (x gen_NSRunningApplication) Unhide() bool { ret := C.NSRunningApplication_inst_unhide( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) Init_asNSRunningApplication() ( - r0 NSRunningApplication, -) { +// Init_asNSRunningApplication +func (x gen_NSRunningApplication) Init_asNSRunningApplication() NSRunningApplication { ret := C.NSRunningApplication_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSRunningApplication_fromPointer(ret) - return + + return NSRunningApplication_fromPointer(ret) + } -func (x gen_NSRunningApplication) IsActive() ( - r0 bool, -) { +// IsActive Indicates whether the application is currently frontmost. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1528778-active?language=objc +func (x gen_NSRunningApplication) IsActive() bool { ret := C.NSRunningApplication_inst_isActive( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) ActivationPolicy() ( - r0 core.NSInteger, -) { +// ActivationPolicy Indicates the activation policy of the application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1533103-activationpolicy?language=objc +func (x gen_NSRunningApplication) ActivationPolicy() core.NSInteger { ret := C.NSRunningApplication_inst_activationPolicy( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSRunningApplication) IsHidden() ( - r0 bool, -) { +// IsHidden Indicates whether the application is currently hidden. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1525949-hidden?language=objc +func (x gen_NSRunningApplication) IsHidden() bool { ret := C.NSRunningApplication_inst_isHidden( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) LocalizedName() ( - r0 core.NSString, -) { +// LocalizedName Indicates the localized name of the application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1526751-localizedname?language=objc +func (x gen_NSRunningApplication) LocalizedName() core.NSString { ret := C.NSRunningApplication_inst_localizedName( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSRunningApplication) Icon() ( - r0 NSImage, -) { +// Icon Returns the icon for the receiver’s application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1529885-icon?language=objc +func (x gen_NSRunningApplication) Icon() NSImage { ret := C.NSRunningApplication_inst_icon( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } -func (x gen_NSRunningApplication) BundleIdentifier() ( - r0 core.NSString, -) { +// BundleIdentifier Indicates the CFBundleIdentifier of the application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc +func (x gen_NSRunningApplication) BundleIdentifier() core.NSString { ret := C.NSRunningApplication_inst_bundleIdentifier( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSRunningApplication) BundleURL() ( - r0 core.NSURL, -) { +// BundleURL Indicates the URL to the application's bundle. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1535500-bundleurl?language=objc +func (x gen_NSRunningApplication) BundleURL() core.NSURL { ret := C.NSRunningApplication_inst_bundleURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSRunningApplication) ExecutableArchitecture() ( - r0 core.NSInteger, -) { +// ExecutableArchitecture Indicates the executing processor architecture for the application. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1524287-executablearchitecture?language=objc +func (x gen_NSRunningApplication) ExecutableArchitecture() core.NSInteger { ret := C.NSRunningApplication_inst_executableArchitecture( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSRunningApplication) ExecutableURL() ( - r0 core.NSURL, -) { +// ExecutableURL Indicates the URL to the application's executable. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1531062-executableurl?language=objc +func (x gen_NSRunningApplication) ExecutableURL() core.NSURL { ret := C.NSRunningApplication_inst_executableURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_NSRunningApplication) IsFinishedLaunching() ( - r0 bool, -) { +// IsFinishedLaunching Indicates whether the receiver’s process has finished launching, +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1532002-finishedlaunching?language=objc +func (x gen_NSRunningApplication) IsFinishedLaunching() bool { ret := C.NSRunningApplication_inst_isFinishedLaunching( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) OwnsMenuBar() ( - r0 bool, -) { +// OwnsMenuBar Returns whether the application owns the current menu bar. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1525915-ownsmenubar?language=objc +func (x gen_NSRunningApplication) OwnsMenuBar() bool { ret := C.NSRunningApplication_inst_ownsMenuBar( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSRunningApplication) IsTerminated() ( - r0 bool, -) { +// IsTerminated Indicates that the receiver’s application has terminated. +// https://developer.apple.com/documentation/appkit/nsrunningapplication/1532239-terminated?language=objc +func (x gen_NSRunningApplication) IsTerminated() bool { ret := C.NSRunningApplication_inst_isTerminated( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSScreenRef interface { @@ -14413,130 +15418,141 @@ func NSScreen_fromRef(ref objc.Ref) NSScreen { return NSScreen_fromPointer(unsafe.Pointer(ref.Pointer())) } +// ConvertRectFromBacking Converts the rectangle from the device pixel aligned coordinates system of a screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388364-convertrectfrombacking?language=objc func (x gen_NSScreen) ConvertRectFromBacking( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSScreen_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectToBacking Converts the rectangle to the device pixel aligned coordinates system of a screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388389-convertrecttobacking?language=objc func (x gen_NSScreen) ConvertRectToBacking( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSScreen_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSScreen) Init_asNSScreen() ( - r0 NSScreen, -) { +// Init_asNSScreen +func (x gen_NSScreen) Init_asNSScreen() NSScreen { ret := C.NSScreen_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSScreen_fromPointer(ret) - return + + return NSScreen_fromPointer(ret) + } -func (x gen_NSScreen) Frame() ( - r0 core.NSRect, -) { +// Frame The dimensions and location of the screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388387-frame?language=objc +func (x gen_NSScreen) Frame() core.NSRect { ret := C.NSScreen_inst_frame( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSScreen) DeviceDescription() ( - r0 core.NSDictionary, -) { +// DeviceDescription The device dictionary for the screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388360-devicedescription?language=objc +func (x gen_NSScreen) DeviceDescription() core.NSDictionary { ret := C.NSScreen_inst_deviceDescription( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } -func (x gen_NSScreen) VisibleFrame() ( - r0 core.NSRect, -) { +// VisibleFrame The current location and dimensions of the visible screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388369-visibleframe?language=objc +func (x gen_NSScreen) VisibleFrame() core.NSRect { ret := C.NSScreen_inst_visibleFrame( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSScreen) BackingScaleFactor() ( - r0 core.CGFloat, -) { +// BackingScaleFactor The backing store pixel scale factor for the screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388385-backingscalefactor?language=objc +func (x gen_NSScreen) BackingScaleFactor() core.CGFloat { ret := C.NSScreen_inst_backingScaleFactor( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() ( - r0 core.CGFloat, -) { +// MaximumPotentialExtendedDynamicRangeColorComponentValue The maximum possible color component value for the screen when it's in extended dynamic range (EDR) mode. +// https://developer.apple.com/documentation/appkit/nsscreen/3180381-maximumpotentialextendeddynamicr?language=objc +func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() core.CGFloat { ret := C.NSScreen_inst_maximumPotentialExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() ( - r0 core.CGFloat, -) { +// MaximumExtendedDynamicRangeColorComponentValue The current maximum color component value for the screen. +// https://developer.apple.com/documentation/appkit/nsscreen/1388362-maximumextendeddynamicrangecolor?language=objc +func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() core.CGFloat { ret := C.NSScreen_inst_maximumExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() ( - r0 core.CGFloat, -) { +// MaximumReferenceExtendedDynamicRangeColorComponentValue The current maximum color component value for reference rendering to the screen. +// https://developer.apple.com/documentation/appkit/nsscreen/3180382-maximumreferenceextendeddynamicr?language=objc +func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() core.CGFloat { ret := C.NSScreen_inst_maximumReferenceExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSScreen) LocalizedName() ( - r0 core.NSString, -) { +// LocalizedName +// https://developer.apple.com/documentation/appkit/nsscreen/3228043-localizedname?language=objc +func (x gen_NSScreen) LocalizedName() core.NSString { ret := C.NSScreen_inst_localizedName( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSScreen) MaximumFramesPerSecond() ( - r0 core.NSInteger, -) { +// MaximumFramesPerSecond +// https://developer.apple.com/documentation/appkit/nsscreen/3824745-maximumframespersecond?language=objc +func (x gen_NSScreen) MaximumFramesPerSecond() core.NSInteger { ret := C.NSScreen_inst_maximumFramesPerSecond( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } type NSStatusBarRef interface { @@ -14558,6 +15574,8 @@ func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar { return NSStatusBar_fromPointer(unsafe.Pointer(ref.Pointer())) } +// RemoveStatusItem Removes the specified status item from the receiver. +// https://developer.apple.com/documentation/appkit/nsstatusbar/1530377-removestatusitem?language=objc func (x gen_NSStatusBar) RemoveStatusItem( item NSStatusItemRef, ) { @@ -14565,50 +15583,55 @@ func (x gen_NSStatusBar) RemoveStatusItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) + return + } +// StatusItemWithLength Returns a newly created status item that has been allotted a specified space within the status bar. +// https://developer.apple.com/documentation/appkit/nsstatusbar/1532895-statusitemwithlength?language=objc func (x gen_NSStatusBar) StatusItemWithLength( length core.CGFloat, -) ( - r0 NSStatusItem, -) { +) NSStatusItem { ret := C.NSStatusBar_inst_statusItemWithLength( unsafe.Pointer(x.Pointer()), C.double(length), ) - r0 = NSStatusItem_fromPointer(ret) - return + + return NSStatusItem_fromPointer(ret) + } -func (x gen_NSStatusBar) Init_asNSStatusBar() ( - r0 NSStatusBar, -) { +// Init_asNSStatusBar +func (x gen_NSStatusBar) Init_asNSStatusBar() NSStatusBar { ret := C.NSStatusBar_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSStatusBar_fromPointer(ret) - return + + return NSStatusBar_fromPointer(ret) + } -func (x gen_NSStatusBar) IsVertical() ( - r0 bool, -) { +// IsVertical A Boolean value indicating whether the status bar has a vertical orientation. +// https://developer.apple.com/documentation/appkit/nsstatusbar/1530580-vertical?language=objc +func (x gen_NSStatusBar) IsVertical() bool { ret := C.NSStatusBar_inst_isVertical( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSStatusBar) Thickness() ( - r0 core.CGFloat, -) { +// Thickness The thickness of the status bar, in pixels. +// https://developer.apple.com/documentation/appkit/nsstatusbar/1534591-thickness?language=objc +func (x gen_NSStatusBar) Thickness() core.CGFloat { ret := C.NSStatusBar_inst_thickness( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } type NSStatusBarButtonRef interface { @@ -14630,26 +15653,29 @@ func NSStatusBarButton_fromRef(ref objc.Ref) NSStatusBarButton { return NSStatusBarButton_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() ( - r0 NSStatusBarButton, -) { +// Init_asNSStatusBarButton +func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() NSStatusBarButton { ret := C.NSStatusBarButton_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSStatusBarButton_fromPointer(ret) - return + + return NSStatusBarButton_fromPointer(ret) + } -func (x gen_NSStatusBarButton) AppearsDisabled() ( - r0 bool, -) { +// AppearsDisabled +// https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc +func (x gen_NSStatusBarButton) AppearsDisabled() bool { ret := C.NSStatusBarButton_inst_appearsDisabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAppearsDisabled +// https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc func (x gen_NSStatusBarButton) SetAppearsDisabled( value bool, ) { @@ -14657,7 +15683,9 @@ func (x gen_NSStatusBarButton) SetAppearsDisabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } type NSStatusItemRef interface { @@ -14679,46 +15707,51 @@ func NSStatusItem_fromRef(ref objc.Ref) NSStatusItem { return NSStatusItem_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSStatusItem) Init_asNSStatusItem() ( - r0 NSStatusItem, -) { +// Init_asNSStatusItem +func (x gen_NSStatusItem) Init_asNSStatusItem() NSStatusItem { ret := C.NSStatusItem_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSStatusItem_fromPointer(ret) - return + + return NSStatusItem_fromPointer(ret) + } -func (x gen_NSStatusItem) StatusBar() ( - r0 NSStatusBar, -) { +// StatusBar The status bar that displays the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1525951-statusbar?language=objc +func (x gen_NSStatusItem) StatusBar() NSStatusBar { ret := C.NSStatusItem_inst_statusBar( unsafe.Pointer(x.Pointer()), ) - r0 = NSStatusBar_fromPointer(ret) - return + + return NSStatusBar_fromPointer(ret) + } -func (x gen_NSStatusItem) Button() ( - r0 NSStatusBarButton, -) { +// Button The button displayed in the status bar. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1535056-button?language=objc +func (x gen_NSStatusItem) Button() NSStatusBarButton { ret := C.NSStatusItem_inst_button( unsafe.Pointer(x.Pointer()), ) - r0 = NSStatusBarButton_fromPointer(ret) - return + + return NSStatusBarButton_fromPointer(ret) + } -func (x gen_NSStatusItem) Menu() ( - r0 NSMenu, -) { +// Menu The pull-down menu displayed when the user clicks the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc +func (x gen_NSStatusItem) Menu() NSMenu { ret := C.NSStatusItem_inst_menu( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// SetMenu The pull-down menu displayed when the user clicks the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc func (x gen_NSStatusItem) SetMenu( value NSMenuRef, ) { @@ -14726,19 +15759,24 @@ func (x gen_NSStatusItem) SetMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSStatusItem) IsVisible() ( - r0 bool, -) { +// IsVisible A Boolean value indicating if the menu bar currently displays the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc +func (x gen_NSStatusItem) IsVisible() bool { ret := C.NSStatusItem_inst_isVisible( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetVisible A Boolean value indicating if the menu bar currently displays the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc func (x gen_NSStatusItem) SetVisible( value bool, ) { @@ -14746,19 +15784,24 @@ func (x gen_NSStatusItem) SetVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSStatusItem) Length() ( - r0 core.CGFloat, -) { +// Length The amount of space in the status bar that should be allocated to the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc +func (x gen_NSStatusItem) Length() core.CGFloat { ret := C.NSStatusItem_inst_length( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetLength The amount of space in the status bar that should be allocated to the status item. +// https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc func (x gen_NSStatusItem) SetLength( value core.CGFloat, ) { @@ -14766,7 +15809,9 @@ func (x gen_NSStatusItem) SetLength( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } type NSTextRef interface { @@ -14788,6 +15833,8 @@ func NSText_fromRef(ref objc.Ref) NSText { return NSText_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AlignCenter This action method applies center alignment to selected paragraphs (or all text if the receiver is a plain text object). +// https://developer.apple.com/documentation/appkit/nstext/1535569-aligncenter?language=objc func (x gen_NSText) AlignCenter( sender objc.Ref, ) { @@ -14795,9 +15842,13 @@ func (x gen_NSText) AlignCenter( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// AlignLeft This action method applies left alignment to selected paragraphs (or all text if the receiver is a plain text object). +// https://developer.apple.com/documentation/appkit/nstext/1535705-alignleft?language=objc func (x gen_NSText) AlignLeft( sender objc.Ref, ) { @@ -14805,9 +15856,13 @@ func (x gen_NSText) AlignLeft( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// AlignRight This action method applies right alignment to selected paragraphs (or all text if the receiver is a plain text object). +// https://developer.apple.com/documentation/appkit/nstext/1526477-alignright?language=objc func (x gen_NSText) AlignRight( sender objc.Ref, ) { @@ -14815,9 +15870,13 @@ func (x gen_NSText) AlignRight( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ChangeFont This action method changes the font of the selection for a rich text object, or of all text for a plain text object. +// https://developer.apple.com/documentation/appkit/nstext/1531459-changefont?language=objc func (x gen_NSText) ChangeFont( sender objc.Ref, ) { @@ -14825,9 +15884,13 @@ func (x gen_NSText) ChangeFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// CheckSpelling This action method searches for a misspelled word in the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstext/1534926-checkspelling?language=objc func (x gen_NSText) CheckSpelling( sender objc.Ref, ) { @@ -14835,9 +15898,13 @@ func (x gen_NSText) CheckSpelling( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Copy This action method copies the selected text onto the general pasteboard, in as many formats as the receiver supports. +// https://developer.apple.com/documentation/appkit/nstext/1525497-copy?language=objc func (x gen_NSText) Copy( sender objc.Ref, ) { @@ -14845,9 +15912,13 @@ func (x gen_NSText) Copy( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// CopyFont This action method copies the font information for the first character of the selection (or for the insertion point) onto the font pasteboard, as NSFontPboardType. +// https://developer.apple.com/documentation/appkit/nstext/1531255-copyfont?language=objc func (x gen_NSText) CopyFont( sender objc.Ref, ) { @@ -14855,9 +15926,13 @@ func (x gen_NSText) CopyFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// CopyRuler This action method copies the paragraph style information for first selected paragraph onto the ruler pasteboard, as NSRulerPboardType, and expands the selection to paragraph boundaries. +// https://developer.apple.com/documentation/appkit/nstext/1533303-copyruler?language=objc func (x gen_NSText) CopyRuler( sender objc.Ref, ) { @@ -14865,9 +15940,13 @@ func (x gen_NSText) CopyRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Cut This action method deletes the selected text and places it onto the general pasteboard, in as many formats as the receiver supports. +// https://developer.apple.com/documentation/appkit/nstext/1524858-cut?language=objc func (x gen_NSText) Cut( sender objc.Ref, ) { @@ -14875,9 +15954,13 @@ func (x gen_NSText) Cut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Delete This action method deletes the selected text. +// https://developer.apple.com/documentation/appkit/nstext/1524660-delete?language=objc func (x gen_NSText) Delete( sender objc.Ref, ) { @@ -14885,22 +15968,27 @@ func (x gen_NSText) Delete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// InitWithFrame_asNSText +// https://developer.apple.com/documentation/appkit/nstext/1525191-initwithframe?language=objc func (x gen_NSText) InitWithFrame_asNSText( frameRect core.NSRect, -) ( - r0 NSText, -) { +) NSText { ret := C.NSText_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = NSText_fromPointer(ret) - return + + return NSText_fromPointer(ret) + } +// Paste This action method pastes text from the general pasteboard at the insertion point or over the selection. +// https://developer.apple.com/documentation/appkit/nstext/1527209-paste?language=objc func (x gen_NSText) Paste( sender objc.Ref, ) { @@ -14908,9 +15996,13 @@ func (x gen_NSText) Paste( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PasteFont This action method pastes font information from the font pasteboard onto the selected text or insertion point of a rich text object, or over all text of a plain text object. +// https://developer.apple.com/documentation/appkit/nstext/1531099-pastefont?language=objc func (x gen_NSText) PasteFont( sender objc.Ref, ) { @@ -14918,9 +16010,13 @@ func (x gen_NSText) PasteFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PasteRuler This action method pastes paragraph style information from the ruler pasteboard onto the selected paragraphs of a rich text object. +// https://developer.apple.com/documentation/appkit/nstext/1530420-pasteruler?language=objc func (x gen_NSText) PasteRuler( sender objc.Ref, ) { @@ -14928,22 +16024,27 @@ func (x gen_NSText) PasteRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ReadRTFDFromFile Attempts to read the RTFD file at path, returning YES if successful and NO if not. +// https://developer.apple.com/documentation/appkit/nstext/1532564-readrtfdfromfile?language=objc func (x gen_NSText) ReadRTFDFromFile( path core.NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSText_inst_readRTFDFromFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SelectAll This action method selects all of the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstext/1527642-selectall?language=objc func (x gen_NSText) SelectAll( sender objc.Ref, ) { @@ -14951,9 +16052,13 @@ func (x gen_NSText) SelectAll( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ShowGuessPanel This action method opens the Spelling panel, allowing the user to make a correction during spell checking. +// https://developer.apple.com/documentation/appkit/nstext/1533456-showguesspanel?language=objc func (x gen_NSText) ShowGuessPanel( sender objc.Ref, ) { @@ -14961,16 +16066,24 @@ func (x gen_NSText) ShowGuessPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SizeToFit Resizes the receiver to fit its text. +// https://developer.apple.com/documentation/appkit/nstext/1533991-sizetofit?language=objc func (x gen_NSText) SizeToFit() { C.NSText_inst_sizeToFit( unsafe.Pointer(x.Pointer()), ) + return + } +// Subscript This action method applies a subscript attribute to selected text (or all text if the receiver is a plain text object), lowering its baseline offset by a predefined amount. +// https://developer.apple.com/documentation/appkit/nstext/1535373-subscript?language=objc func (x gen_NSText) Subscript( sender objc.Ref, ) { @@ -14978,9 +16091,13 @@ func (x gen_NSText) Subscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Superscript This action method applies a superscript attribute to selected text (or all text if the receiver is a plain text object), raising its baseline offset by a predefined amount. +// https://developer.apple.com/documentation/appkit/nstext/1525743-superscript?language=objc func (x gen_NSText) Superscript( sender objc.Ref, ) { @@ -14988,9 +16105,13 @@ func (x gen_NSText) Superscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleRuler This action method shows or hides the ruler, if the receiver is enclosed in a scroll view. +// https://developer.apple.com/documentation/appkit/nstext/1535773-toggleruler?language=objc func (x gen_NSText) ToggleRuler( sender objc.Ref, ) { @@ -14998,9 +16119,13 @@ func (x gen_NSText) ToggleRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Underline Adds the underline attribute to the selected text attributes if absent; removes the attribute if present. +// https://developer.apple.com/documentation/appkit/nstext/1534203-underline?language=objc func (x gen_NSText) Underline( sender objc.Ref, ) { @@ -15008,9 +16133,13 @@ func (x gen_NSText) Underline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Unscript This action method removes any superscripting or subscripting from selected text (or all text if the receiver is a plain text object). +// https://developer.apple.com/documentation/appkit/nstext/1527542-unscript?language=objc func (x gen_NSText) Unscript( sender objc.Ref, ) { @@ -15018,44 +16147,50 @@ func (x gen_NSText) Unscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// WriteRTFDToFile_atomically Writes the receiver’s text as RTF with attachments to a file or directory at path. +// https://developer.apple.com/documentation/appkit/nstext/1527085-writertfdtofile?language=objc func (x gen_NSText) WriteRTFDToFile_atomically( path core.NSStringRef, flag bool, -) ( - r0 bool, -) { +) bool { ret := C.NSText_inst_writeRTFDToFile_atomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(flag), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSText) Init_asNSText() ( - r0 NSText, -) { +// Init_asNSText +func (x gen_NSText) Init_asNSText() NSText { ret := C.NSText_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSText_fromPointer(ret) - return + + return NSText_fromPointer(ret) + } -func (x gen_NSText) String() ( - r0 core.NSString, -) { +// String The characters of the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc +func (x gen_NSText) String() core.NSString { ret := C.NSText_inst_string( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetString The characters of the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc func (x gen_NSText) SetString( value core.NSStringRef, ) { @@ -15063,19 +16198,24 @@ func (x gen_NSText) SetString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSText) BackgroundColor() ( - r0 NSColor, -) { +// BackgroundColor The receiver’s background color to a given color. +// https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc +func (x gen_NSText) BackgroundColor() NSColor { ret := C.NSText_inst_backgroundColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBackgroundColor The receiver’s background color to a given color. +// https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc func (x gen_NSText) SetBackgroundColor( value NSColorRef, ) { @@ -15083,19 +16223,24 @@ func (x gen_NSText) SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSText) DrawsBackground() ( - r0 bool, -) { +// DrawsBackground A Boolean that controls whether the receiver draws its background. +// https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc +func (x gen_NSText) DrawsBackground() bool { ret := C.NSText_inst_drawsBackground( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDrawsBackground A Boolean that controls whether the receiver draws its background. +// https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc func (x gen_NSText) SetDrawsBackground( value bool, ) { @@ -15103,19 +16248,24 @@ func (x gen_NSText) SetDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) IsEditable() ( - r0 bool, -) { +// IsEditable A Boolean that controls whether the receiver allows the user to edit its text. +// https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc +func (x gen_NSText) IsEditable() bool { ret := C.NSText_inst_isEditable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEditable A Boolean that controls whether the receiver allows the user to edit its text. +// https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc func (x gen_NSText) SetEditable( value bool, ) { @@ -15123,19 +16273,24 @@ func (x gen_NSText) SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) IsSelectable() ( - r0 bool, -) { +// IsSelectable A Boolean that controls whether the receiver allows the user to select its text. +// https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc +func (x gen_NSText) IsSelectable() bool { ret := C.NSText_inst_isSelectable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetSelectable A Boolean that controls whether the receiver allows the user to select its text. +// https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc func (x gen_NSText) SetSelectable( value bool, ) { @@ -15143,19 +16298,24 @@ func (x gen_NSText) SetSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) IsFieldEditor() ( - r0 bool, -) { +// IsFieldEditor A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder. +// https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc +func (x gen_NSText) IsFieldEditor() bool { ret := C.NSText_inst_isFieldEditor( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetFieldEditor A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder. +// https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc func (x gen_NSText) SetFieldEditor( value bool, ) { @@ -15163,19 +16323,24 @@ func (x gen_NSText) SetFieldEditor( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) IsRichText() ( - r0 bool, -) { +// IsRichText A Boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. +// https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc +func (x gen_NSText) IsRichText() bool { ret := C.NSText_inst_isRichText( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetRichText A Boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. +// https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc func (x gen_NSText) SetRichText( value bool, ) { @@ -15183,19 +16348,24 @@ func (x gen_NSText) SetRichText( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) ImportsGraphics() ( - r0 bool, -) { +// ImportsGraphics A Boolean that controls whether the receiver allows the user to import files by dragging. +// https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc +func (x gen_NSText) ImportsGraphics() bool { ret := C.NSText_inst_importsGraphics( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetImportsGraphics A Boolean that controls whether the receiver allows the user to import files by dragging. +// https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc func (x gen_NSText) SetImportsGraphics( value bool, ) { @@ -15203,19 +16373,24 @@ func (x gen_NSText) SetImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) UsesFontPanel() ( - r0 bool, -) { +// UsesFontPanel A Boolean that controls whether the receiver uses the Font panel and Font menu. +// https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc +func (x gen_NSText) UsesFontPanel() bool { ret := C.NSText_inst_usesFontPanel( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesFontPanel A Boolean that controls whether the receiver uses the Font panel and Font menu. +// https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc func (x gen_NSText) SetUsesFontPanel( value bool, ) { @@ -15223,29 +16398,35 @@ func (x gen_NSText) SetUsesFontPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) IsRulerVisible() ( - r0 bool, -) { +// IsRulerVisible A Boolean value that indicates whether the receiver’s enclosing scroll view shows its ruler. +// https://developer.apple.com/documentation/appkit/nstext/1533732-rulervisible?language=objc +func (x gen_NSText) IsRulerVisible() bool { ret := C.NSText_inst_isRulerVisible( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSText) Font() ( - r0 NSFont, -) { +// Font The font of all the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc +func (x gen_NSText) Font() NSFont { ret := C.NSText_inst_font( unsafe.Pointer(x.Pointer()), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } +// SetFont The font of all the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc func (x gen_NSText) SetFont( value NSFontRef, ) { @@ -15253,19 +16434,24 @@ func (x gen_NSText) SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSText) TextColor() ( - r0 NSColor, -) { +// TextColor The text color of all characters in the receiver. +// https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc +func (x gen_NSText) TextColor() NSColor { ret := C.NSText_inst_textColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetTextColor The text color of all characters in the receiver. +// https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc func (x gen_NSText) SetTextColor( value NSColorRef, ) { @@ -15273,19 +16459,24 @@ func (x gen_NSText) SetTextColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSText) MaxSize() ( - r0 core.NSSize, -) { +// MaxSize The receiver’s maximum size. +// https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc +func (x gen_NSText) MaxSize() core.NSSize { ret := C.NSText_inst_maxSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetMaxSize The receiver’s maximum size. +// https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc func (x gen_NSText) SetMaxSize( value core.NSSize, ) { @@ -15293,19 +16484,24 @@ func (x gen_NSText) SetMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSText) MinSize() ( - r0 core.NSSize, -) { +// MinSize The receiver’s minimum size. +// https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc +func (x gen_NSText) MinSize() core.NSSize { ret := C.NSText_inst_minSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetMinSize The receiver’s minimum size. +// https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc func (x gen_NSText) SetMinSize( value core.NSSize, ) { @@ -15313,19 +16509,24 @@ func (x gen_NSText) SetMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSText) IsVerticallyResizable() ( - r0 bool, -) { +// IsVerticallyResizable A Boolean that controls whether the receiver changes its height to fit the height of its text. +// https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc +func (x gen_NSText) IsVerticallyResizable() bool { ret := C.NSText_inst_isVerticallyResizable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetVerticallyResizable A Boolean that controls whether the receiver changes its height to fit the height of its text. +// https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc func (x gen_NSText) SetVerticallyResizable( value bool, ) { @@ -15333,19 +16534,24 @@ func (x gen_NSText) SetVerticallyResizable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) IsHorizontallyResizable() ( - r0 bool, -) { +// IsHorizontallyResizable A Boolean that controls whether the receiver changes its width to fit the width of its text. +// https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc +func (x gen_NSText) IsHorizontallyResizable() bool { ret := C.NSText_inst_isHorizontallyResizable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHorizontallyResizable A Boolean that controls whether the receiver changes its width to fit the width of its text. +// https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc func (x gen_NSText) SetHorizontallyResizable( value bool, ) { @@ -15353,19 +16559,24 @@ func (x gen_NSText) SetHorizontallyResizable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSText) Delegate() ( - r0 objc.Object, -) { +// Delegate The receiver’s delegate. +// https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc +func (x gen_NSText) Delegate() objc.Object { ret := C.NSText_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The receiver’s delegate. +// https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc func (x gen_NSText) SetDelegate( value objc.Ref, ) { @@ -15373,7 +16584,9 @@ func (x gen_NSText) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSTextFieldRef interface { @@ -15395,6 +16608,8 @@ func NSTextField_fromRef(ref objc.Ref) NSTextField { return NSTextField_fromPointer(unsafe.Pointer(ref.Pointer())) } +// SelectText Ends editing in the text field and, if it’s selectable, selects the entire text content. +// https://developer.apple.com/documentation/appkit/nstextfield/1399430-selecttext?language=objc func (x gen_NSTextField) SelectText( sender objc.Ref, ) { @@ -15402,55 +16617,62 @@ func (x gen_NSTextField) SelectText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TextShouldBeginEditing Requests permission to begin editing a text object. +// https://developer.apple.com/documentation/appkit/nstextfield/1399399-textshouldbeginediting?language=objc func (x gen_NSTextField) TextShouldBeginEditing( textObject NSTextRef, -) ( - r0 bool, -) { +) bool { ret := C.NSTextField_inst_textShouldBeginEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObject), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// TextShouldEndEditing Performs validation on the text field’s new value. +// https://developer.apple.com/documentation/appkit/nstextfield/1399434-textshouldendediting?language=objc func (x gen_NSTextField) TextShouldEndEditing( textObject NSTextRef, -) ( - r0 bool, -) { +) bool { ret := C.NSTextField_inst_textShouldEndEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObject), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSTextField) Init_asNSTextField() ( - r0 NSTextField, -) { +// Init_asNSTextField +func (x gen_NSTextField) Init_asNSTextField() NSTextField { ret := C.NSTextField_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextField_fromPointer(ret) - return + + return NSTextField_fromPointer(ret) + } -func (x gen_NSTextField) IsSelectable() ( - r0 bool, -) { +// IsSelectable A Boolean value that determines whether the user can select the content of the text field. +// https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc +func (x gen_NSTextField) IsSelectable() bool { ret := C.NSTextField_inst_isSelectable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetSelectable A Boolean value that determines whether the user can select the content of the text field. +// https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc func (x gen_NSTextField) SetSelectable( value bool, ) { @@ -15458,19 +16680,24 @@ func (x gen_NSTextField) SetSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) IsEditable() ( - r0 bool, -) { +// IsEditable A Boolean value that controls whether the user can edit the value in the text field. +// https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc +func (x gen_NSTextField) IsEditable() bool { ret := C.NSTextField_inst_isEditable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEditable A Boolean value that controls whether the user can edit the value in the text field. +// https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc func (x gen_NSTextField) SetEditable( value bool, ) { @@ -15478,19 +16705,24 @@ func (x gen_NSTextField) SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) AllowsEditingTextAttributes() ( - r0 bool, -) { +// AllowsEditingTextAttributes A Boolean value that controls whether the user can change font attributes of the text field’s string. +// https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc +func (x gen_NSTextField) AllowsEditingTextAttributes() bool { ret := C.NSTextField_inst_allowsEditingTextAttributes( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsEditingTextAttributes A Boolean value that controls whether the user can change font attributes of the text field’s string. +// https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc func (x gen_NSTextField) SetAllowsEditingTextAttributes( value bool, ) { @@ -15498,19 +16730,24 @@ func (x gen_NSTextField) SetAllowsEditingTextAttributes( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) ImportsGraphics() ( - r0 bool, -) { +// ImportsGraphics A Boolean value that controls whether the user can drag image files into the text field. +// https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc +func (x gen_NSTextField) ImportsGraphics() bool { ret := C.NSTextField_inst_importsGraphics( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetImportsGraphics A Boolean value that controls whether the user can drag image files into the text field. +// https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc func (x gen_NSTextField) SetImportsGraphics( value bool, ) { @@ -15518,19 +16755,24 @@ func (x gen_NSTextField) SetImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) PlaceholderString() ( - r0 core.NSString, -) { +// PlaceholderString The string the text field displays when empty to help the user understand the text field’s purpose. +// https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc +func (x gen_NSTextField) PlaceholderString() core.NSString { ret := C.NSTextField_inst_placeholderString( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetPlaceholderString The string the text field displays when empty to help the user understand the text field’s purpose. +// https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc func (x gen_NSTextField) SetPlaceholderString( value core.NSStringRef, ) { @@ -15538,19 +16780,24 @@ func (x gen_NSTextField) SetPlaceholderString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextField) PlaceholderAttributedString() ( - r0 core.NSAttributedString, -) { +// PlaceholderAttributedString The attributed string the text field displays when empty to help the user understand the text field’s purpose. +// https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc +func (x gen_NSTextField) PlaceholderAttributedString() core.NSAttributedString { ret := C.NSTextField_inst_placeholderAttributedString( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } +// SetPlaceholderAttributedString The attributed string the text field displays when empty to help the user understand the text field’s purpose. +// https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc func (x gen_NSTextField) SetPlaceholderAttributedString( value core.NSAttributedStringRef, ) { @@ -15558,19 +16805,24 @@ func (x gen_NSTextField) SetPlaceholderAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() ( - r0 bool, -) { +// AllowsDefaultTighteningForTruncation A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc +func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() bool { ret := C.NSTextField_inst_allowsDefaultTighteningForTruncation( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsDefaultTighteningForTruncation A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( value bool, ) { @@ -15578,19 +16830,24 @@ func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) MaximumNumberOfLines() ( - r0 core.NSInteger, -) { +// MaximumNumberOfLines The maximum number of lines a wrapping text field displays before clipping or truncating the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc +func (x gen_NSTextField) MaximumNumberOfLines() core.NSInteger { ret := C.NSTextField_inst_maximumNumberOfLines( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetMaximumNumberOfLines The maximum number of lines a wrapping text field displays before clipping or truncating the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc func (x gen_NSTextField) SetMaximumNumberOfLines( value core.NSInteger, ) { @@ -15598,19 +16855,24 @@ func (x gen_NSTextField) SetMaximumNumberOfLines( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSTextField) PreferredMaxLayoutWidth() ( - r0 core.CGFloat, -) { +// PreferredMaxLayoutWidth The maximum width of the text field’s intrinsic content size. +// https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc +func (x gen_NSTextField) PreferredMaxLayoutWidth() core.CGFloat { ret := C.NSTextField_inst_preferredMaxLayoutWidth( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetPreferredMaxLayoutWidth The maximum width of the text field’s intrinsic content size. +// https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc func (x gen_NSTextField) SetPreferredMaxLayoutWidth( value core.CGFloat, ) { @@ -15618,19 +16880,24 @@ func (x gen_NSTextField) SetPreferredMaxLayoutWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSTextField) TextColor() ( - r0 NSColor, -) { +// TextColor The color of the text field’s content. +// https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc +func (x gen_NSTextField) TextColor() NSColor { ret := C.NSTextField_inst_textColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetTextColor The color of the text field’s content. +// https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc func (x gen_NSTextField) SetTextColor( value NSColorRef, ) { @@ -15638,19 +16905,24 @@ func (x gen_NSTextField) SetTextColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextField) BackgroundColor() ( - r0 NSColor, -) { +// BackgroundColor The color of the background the text field’s cell draws behind the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc +func (x gen_NSTextField) BackgroundColor() NSColor { ret := C.NSTextField_inst_backgroundColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBackgroundColor The color of the background the text field’s cell draws behind the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc func (x gen_NSTextField) SetBackgroundColor( value NSColorRef, ) { @@ -15658,19 +16930,24 @@ func (x gen_NSTextField) SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextField) DrawsBackground() ( - r0 bool, -) { +// DrawsBackground A Boolean value that controls whether the text field’s cell draws a background color behind the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc +func (x gen_NSTextField) DrawsBackground() bool { ret := C.NSTextField_inst_drawsBackground( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDrawsBackground A Boolean value that controls whether the text field’s cell draws a background color behind the text. +// https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc func (x gen_NSTextField) SetDrawsBackground( value bool, ) { @@ -15678,19 +16955,24 @@ func (x gen_NSTextField) SetDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) IsBezeled() ( - r0 bool, -) { +// IsBezeled A Boolean value that controls whether the text field draws a bezeled background around its contents. +// https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc +func (x gen_NSTextField) IsBezeled() bool { ret := C.NSTextField_inst_isBezeled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetBezeled A Boolean value that controls whether the text field draws a bezeled background around its contents. +// https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc func (x gen_NSTextField) SetBezeled( value bool, ) { @@ -15698,19 +16980,24 @@ func (x gen_NSTextField) SetBezeled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) IsBordered() ( - r0 bool, -) { +// IsBordered A Boolean value that controls whether the text field draws a solid black border around its contents. +// https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc +func (x gen_NSTextField) IsBordered() bool { ret := C.NSTextField_inst_isBordered( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetBordered A Boolean value that controls whether the text field draws a solid black border around its contents. +// https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc func (x gen_NSTextField) SetBordered( value bool, ) { @@ -15718,29 +17005,35 @@ func (x gen_NSTextField) SetBordered( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) AcceptsFirstResponder() ( - r0 bool, -) { +// AcceptsFirstResponder A Boolean value that indicates whether the text field is editable and accepts first responder status. +// https://developer.apple.com/documentation/appkit/nstextfield/1399393-acceptsfirstresponder?language=objc +func (x gen_NSTextField) AcceptsFirstResponder() bool { ret := C.NSTextField_inst_acceptsFirstResponder( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() ( - r0 bool, -) { +// AllowsCharacterPickerTouchBarItem A Boolean value that controls whether the Touch Bar displays the character picker item for rich text fields. +// https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc +func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() bool { ret := C.NSTextField_inst_allowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsCharacterPickerTouchBarItem A Boolean value that controls whether the Touch Bar displays the character picker item for rich text fields. +// https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( value bool, ) { @@ -15748,19 +17041,24 @@ func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() ( - r0 bool, -) { +// IsAutomaticTextCompletionEnabled A Boolean value that indicates whether the text field automatically completes text as the user types. +// https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc +func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() bool { ret := C.NSTextField_inst_isAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticTextCompletionEnabled A Boolean value that indicates whether the text field automatically completes text as the user types. +// https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( value bool, ) { @@ -15768,19 +17066,24 @@ func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextField) Delegate() ( - r0 objc.Object, -) { +// Delegate The text field’s delegate. +// https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc +func (x gen_NSTextField) Delegate() objc.Object { ret := C.NSTextField_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The text field’s delegate. +// https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc func (x gen_NSTextField) SetDelegate( value objc.Ref, ) { @@ -15788,7 +17091,9 @@ func (x gen_NSTextField) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSTextContainerRef interface { @@ -15810,19 +17115,22 @@ func NSTextContainer_fromRef(ref objc.Ref) NSTextContainer { return NSTextContainer_fromPointer(unsafe.Pointer(ref.Pointer())) } +// InitWithSize_asNSTextContainer Initializes a text container with a specified bounding rectangle. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444529-initwithsize?language=objc func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( size core.NSSize, -) ( - r0 NSTextContainer, -) { +) NSTextContainer { ret := C.NSTextContainer_inst_initWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = NSTextContainer_fromPointer(ret) - return + + return NSTextContainer_fromPointer(ret) + } +// ReplaceLayoutManager Replaces the layout manager for the group of text system objects that contains the text container. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444545-replacelayoutmanager?language=objc func (x gen_NSTextContainer) ReplaceLayoutManager( newLayoutManager NSLayoutManagerRef, ) { @@ -15830,29 +17138,34 @@ func (x gen_NSTextContainer) ReplaceLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(newLayoutManager), ) + return + } -func (x gen_NSTextContainer) Init_asNSTextContainer() ( - r0 NSTextContainer, -) { +// Init_asNSTextContainer +func (x gen_NSTextContainer) Init_asNSTextContainer() NSTextContainer { ret := C.NSTextContainer_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextContainer_fromPointer(ret) - return + + return NSTextContainer_fromPointer(ret) + } -func (x gen_NSTextContainer) LayoutManager() ( - r0 NSLayoutManager, -) { +// LayoutManager The text container’s layout manager. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc +func (x gen_NSTextContainer) LayoutManager() NSLayoutManager { ret := C.NSTextContainer_inst_layoutManager( unsafe.Pointer(x.Pointer()), ) - r0 = NSLayoutManager_fromPointer(ret) - return + + return NSLayoutManager_fromPointer(ret) + } +// SetLayoutManager The text container’s layout manager. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc func (x gen_NSTextContainer) SetLayoutManager( value NSLayoutManagerRef, ) { @@ -15860,19 +17173,24 @@ func (x gen_NSTextContainer) SetLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextContainer) TextView() ( - r0 NSTextView, -) { +// TextView The text container’s text view. +// https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc +func (x gen_NSTextContainer) TextView() NSTextView { ret := C.NSTextContainer_inst_textView( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } +// SetTextView The text container’s text view. +// https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc func (x gen_NSTextContainer) SetTextView( value NSTextViewRef, ) { @@ -15880,19 +17198,24 @@ func (x gen_NSTextContainer) SetTextView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextContainer) Size() ( - r0 core.NSSize, -) { +// Size The size of the text container’s bounding rectangle. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc +func (x gen_NSTextContainer) Size() core.NSSize { ret := C.NSTextContainer_inst_size( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetSize The size of the text container’s bounding rectangle. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc func (x gen_NSTextContainer) SetSize( value core.NSSize, ) { @@ -15900,19 +17223,24 @@ func (x gen_NSTextContainer) SetSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSTextContainer) ExclusionPaths() ( - r0 core.NSArray, -) { +// ExclusionPaths An array of path objects that represents the regions where text doesn’t display in the text container. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc +func (x gen_NSTextContainer) ExclusionPaths() core.NSArray { ret := C.NSTextContainer_inst_exclusionPaths( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetExclusionPaths An array of path objects that represents the regions where text doesn’t display in the text container. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc func (x gen_NSTextContainer) SetExclusionPaths( value core.NSArrayRef, ) { @@ -15920,19 +17248,24 @@ func (x gen_NSTextContainer) SetExclusionPaths( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextContainer) WidthTracksTextView() ( - r0 bool, -) { +// WidthTracksTextView A Boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc +func (x gen_NSTextContainer) WidthTracksTextView() bool { ret := C.NSTextContainer_inst_widthTracksTextView( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetWidthTracksTextView A Boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc func (x gen_NSTextContainer) SetWidthTracksTextView( value bool, ) { @@ -15940,19 +17273,24 @@ func (x gen_NSTextContainer) SetWidthTracksTextView( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextContainer) HeightTracksTextView() ( - r0 bool, -) { +// HeightTracksTextView A Boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc +func (x gen_NSTextContainer) HeightTracksTextView() bool { ret := C.NSTextContainer_inst_heightTracksTextView( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHeightTracksTextView A Boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc func (x gen_NSTextContainer) SetHeightTracksTextView( value bool, ) { @@ -15960,19 +17298,24 @@ func (x gen_NSTextContainer) SetHeightTracksTextView( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextContainer) MaximumNumberOfLines() ( - r0 core.NSUInteger, -) { +// MaximumNumberOfLines The maximum number of lines that the text container can store. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc +func (x gen_NSTextContainer) MaximumNumberOfLines() core.NSUInteger { ret := C.NSTextContainer_inst_maximumNumberOfLines( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// SetMaximumNumberOfLines The maximum number of lines that the text container can store. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc func (x gen_NSTextContainer) SetMaximumNumberOfLines( value core.NSUInteger, ) { @@ -15980,19 +17323,24 @@ func (x gen_NSTextContainer) SetMaximumNumberOfLines( unsafe.Pointer(x.Pointer()), C.ulong(value), ) + return + } -func (x gen_NSTextContainer) LineFragmentPadding() ( - r0 core.CGFloat, -) { +// LineFragmentPadding The value for the text inset within line fragment rectangles. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc +func (x gen_NSTextContainer) LineFragmentPadding() core.CGFloat { ret := C.NSTextContainer_inst_lineFragmentPadding( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetLineFragmentPadding The value for the text inset within line fragment rectangles. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc func (x gen_NSTextContainer) SetLineFragmentPadding( value core.CGFloat, ) { @@ -16000,17 +17348,20 @@ func (x gen_NSTextContainer) SetLineFragmentPadding( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSTextContainer) IsSimpleRectangularTextContainer() ( - r0 bool, -) { +// IsSimpleRectangularTextContainer A Boolean that indicates whether the text container’s region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes. +// https://developer.apple.com/documentation/uikit/nstextcontainer/1444525-simplerectangulartextcontainer?language=objc +func (x gen_NSTextContainer) IsSimpleRectangularTextContainer() bool { ret := C.NSTextContainer_inst_isSimpleRectangularTextContainer( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSViewControllerRef interface { @@ -16032,6 +17383,8 @@ func NSViewController_fromRef(ref objc.Ref) NSViewController { return NSViewController_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AddChildViewController A convenience method for adding a child view controller at the end of the childViewControllers array. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434501-addchildviewcontroller?language=objc func (x gen_NSViewController) AddChildViewController( childViewController NSViewControllerRef, ) { @@ -16039,19 +17392,24 @@ func (x gen_NSViewController) AddChildViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(childViewController), ) + return + } -func (x gen_NSViewController) CommitEditing() ( - r0 bool, -) { +// CommitEditing Returns whether the receiver was able to commit any pending edits. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434485-commitediting?language=objc +func (x gen_NSViewController) CommitEditing() bool { ret := C.NSViewController_inst_commitEditing( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// CommitEditingWithDelegate_didCommitSelector_contextInfo Attempt to commit any currently edited results of the receiver. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434464-commiteditingwithdelegate?language=objc func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo( delegate objc.Ref, didCommitSelector objc.Selector, @@ -16063,16 +17421,24 @@ func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contex didCommitSelector.SelectorAddress(), contextInfo, ) + return + } +// DiscardEditing Causes the receiver to discard any changes, restoring the previous values. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434487-discardediting?language=objc func (x gen_NSViewController) DiscardEditing() { C.NSViewController_inst_discardEditing( unsafe.Pointer(x.Pointer()), ) + return + } +// DismissController +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434447-dismisscontroller?language=objc func (x gen_NSViewController) DismissController( sender objc.Ref, ) { @@ -16080,9 +17446,13 @@ func (x gen_NSViewController) DismissController( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// DismissViewController Dismisses a presented view controller, using the same animator that presented it. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434413-dismissviewcontroller?language=objc func (x gen_NSViewController) DismissViewController( viewController NSViewControllerRef, ) { @@ -16090,9 +17460,13 @@ func (x gen_NSViewController) DismissViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) + return + } +// InsertChildViewController_atIndex Inserts a specified child view controller into the childViewControllers array at a specified position. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434437-insertchildviewcontroller?language=objc func (x gen_NSViewController) InsertChildViewController_atIndex( childViewController NSViewControllerRef, index core.NSInteger, @@ -16102,16 +17476,24 @@ func (x gen_NSViewController) InsertChildViewController_atIndex( objc.RefPointer(childViewController), C.long(index), ) + return + } +// LoadView Instantiates a view from a nib file and sets the value of the view property. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434405-loadview?language=objc func (x gen_NSViewController) LoadView() { C.NSViewController_inst_loadView( unsafe.Pointer(x.Pointer()), ) + return + } +// PreferredContentSizeDidChangeForViewController Called when there is a change in value of the preferredContentSize property of a child view controller or a presented view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434434-preferredcontentsizedidchangefor?language=objc func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( viewController NSViewControllerRef, ) { @@ -16119,9 +17501,13 @@ func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) + return + } +// PresentViewController_animator Presents another view controller using a specified, custom animator for presentation and dismissal. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434431-presentviewcontroller?language=objc func (x gen_NSViewController) PresentViewController_animator( viewController NSViewControllerRef, animator objc.Ref, @@ -16131,9 +17517,13 @@ func (x gen_NSViewController) PresentViewController_animator( objc.RefPointer(viewController), objc.RefPointer(animator), ) + return + } +// PresentViewControllerAsModalWindow Presents another view controller as a modal window, also known as an alert. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434462-presentviewcontrollerasmodalwind?language=objc func (x gen_NSViewController) PresentViewControllerAsModalWindow( viewController NSViewControllerRef, ) { @@ -16141,9 +17531,13 @@ func (x gen_NSViewController) PresentViewControllerAsModalWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) + return + } +// PresentViewControllerAsSheet Presents another view controller as a sheet. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434489-presentviewcontrollerassheet?language=objc func (x gen_NSViewController) PresentViewControllerAsSheet( viewController NSViewControllerRef, ) { @@ -16151,9 +17545,13 @@ func (x gen_NSViewController) PresentViewControllerAsSheet( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) + return + } +// RemoveChildViewControllerAtIndex Removes a specified child controller from the view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434404-removechildviewcontrolleratindex?language=objc func (x gen_NSViewController) RemoveChildViewControllerAtIndex( index core.NSInteger, ) { @@ -16161,72 +17559,112 @@ func (x gen_NSViewController) RemoveChildViewControllerAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) + return + } +// RemoveFromParentViewController Removes the called view controller from its parent view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434466-removefromparentviewcontroller?language=objc func (x gen_NSViewController) RemoveFromParentViewController() { C.NSViewController_inst_removeFromParentViewController( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateViewConstraints Called during Auto Layout constraint updating to enable the view controller to mediate the process. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434400-updateviewconstraints?language=objc func (x gen_NSViewController) UpdateViewConstraints() { C.NSViewController_inst_updateViewConstraints( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidAppear Called when the view controller’s view is fully transitioned onto the screen. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434455-viewdidappear?language=objc func (x gen_NSViewController) ViewDidAppear() { C.NSViewController_inst_viewDidAppear( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidDisappear Called after the view controller’s view is removed from the view hierarchy in a window. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434416-viewdiddisappear?language=objc func (x gen_NSViewController) ViewDidDisappear() { C.NSViewController_inst_viewDidDisappear( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidLayout Called immediately after the layout method of the view controller's view is called. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434451-viewdidlayout?language=objc func (x gen_NSViewController) ViewDidLayout() { C.NSViewController_inst_viewDidLayout( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidLoad Called after the view controller’s view has been loaded into memory. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434476-viewdidload?language=objc func (x gen_NSViewController) ViewDidLoad() { C.NSViewController_inst_viewDidLoad( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillAppear Called after the view controller’s view has been loaded into memory is about to be added to the view hierarchy in the window. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434415-viewwillappear?language=objc func (x gen_NSViewController) ViewWillAppear() { C.NSViewController_inst_viewWillAppear( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillDisappear Called when the view controller’s view is about to be removed from the view hierarchy in the window. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434483-viewwilldisappear?language=objc func (x gen_NSViewController) ViewWillDisappear() { C.NSViewController_inst_viewWillDisappear( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillLayout Called just before the layout method of the view controller's view is called. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434495-viewwilllayout?language=objc func (x gen_NSViewController) ViewWillLayout() { C.NSViewController_inst_viewWillLayout( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillTransitionToSize For a view controller that is part of an app extension, called when its view is about to be resized. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434443-viewwilltransitiontosize?language=objc func (x gen_NSViewController) ViewWillTransitionToSize( newSize core.NSSize, ) { @@ -16234,29 +17672,34 @@ func (x gen_NSViewController) ViewWillTransitionToSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) + return + } -func (x gen_NSViewController) Init_asNSViewController() ( - r0 NSViewController, -) { +// Init_asNSViewController +func (x gen_NSViewController) Init_asNSViewController() NSViewController { ret := C.NSViewController_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSViewController_fromPointer(ret) - return + + return NSViewController_fromPointer(ret) + } -func (x gen_NSViewController) RepresentedObject() ( - r0 objc.Object, -) { +// RepresentedObject The object whose value is presented in the receiver’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc +func (x gen_NSViewController) RepresentedObject() objc.Object { ret := C.NSViewController_inst_representedObject( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetRepresentedObject The object whose value is presented in the receiver’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc func (x gen_NSViewController) SetRepresentedObject( value objc.Ref, ) { @@ -16264,29 +17707,35 @@ func (x gen_NSViewController) SetRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSViewController) NibBundle() ( - r0 NSBundle, -) { +// NibBundle The nib bundle to be loaded to instantiate the receiver’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434433-nibbundle?language=objc +func (x gen_NSViewController) NibBundle() NSBundle { ret := C.NSViewController_inst_nibBundle( unsafe.Pointer(x.Pointer()), ) - r0 = NSBundle_fromPointer(ret) - return + + return NSBundle_fromPointer(ret) + } -func (x gen_NSViewController) View() ( - r0 NSView, -) { +// View The view controller’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc +func (x gen_NSViewController) View() NSView { ret := C.NSViewController_inst_view( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// SetView The view controller’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc func (x gen_NSViewController) SetView( value NSViewRef, ) { @@ -16294,19 +17743,24 @@ func (x gen_NSViewController) SetView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSViewController) Title() ( - r0 core.NSString, -) { +// Title The localized title of the receiver’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc +func (x gen_NSViewController) Title() core.NSString { ret := C.NSViewController_inst_title( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetTitle The localized title of the receiver’s primary view. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc func (x gen_NSViewController) SetTitle( value core.NSStringRef, ) { @@ -16314,29 +17768,35 @@ func (x gen_NSViewController) SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSViewController) IsViewLoaded() ( - r0 bool, -) { +// IsViewLoaded A Boolean value indicating whether the view controller’s view is loaded into memory. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434435-viewloaded?language=objc +func (x gen_NSViewController) IsViewLoaded() bool { ret := C.NSViewController_inst_isViewLoaded( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSViewController) PreferredContentSize() ( - r0 core.NSSize, -) { +// PreferredContentSize The desired size of the view controller’s view, in screen units. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc +func (x gen_NSViewController) PreferredContentSize() core.NSSize { ret := C.NSViewController_inst_preferredContentSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetPreferredContentSize The desired size of the view controller’s view, in screen units. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc func (x gen_NSViewController) SetPreferredContentSize( value core.NSSize, ) { @@ -16344,19 +17804,24 @@ func (x gen_NSViewController) SetPreferredContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSViewController) ChildViewControllers() ( - r0 core.NSArray, -) { +// ChildViewControllers An array of view controllers that are hierarchical children of the view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc +func (x gen_NSViewController) ChildViewControllers() core.NSArray { ret := C.NSViewController_inst_childViewControllers( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetChildViewControllers An array of view controllers that are hierarchical children of the view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc func (x gen_NSViewController) SetChildViewControllers( value core.NSArrayRef, ) { @@ -16364,49 +17829,57 @@ func (x gen_NSViewController) SetChildViewControllers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSViewController) ParentViewController() ( - r0 NSViewController, -) { +// ParentViewController The immediate ancestor view controller of the view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434491-parentviewcontroller?language=objc +func (x gen_NSViewController) ParentViewController() NSViewController { ret := C.NSViewController_inst_parentViewController( unsafe.Pointer(x.Pointer()), ) - r0 = NSViewController_fromPointer(ret) - return + + return NSViewController_fromPointer(ret) + } -func (x gen_NSViewController) PresentedViewControllers() ( - r0 core.NSArray, -) { +// PresentedViewControllers The view controllers, if any, that are currently presented by the view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434497-presentedviewcontrollers?language=objc +func (x gen_NSViewController) PresentedViewControllers() core.NSArray { ret := C.NSViewController_inst_presentedViewControllers( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSViewController) PresentingViewController() ( - r0 NSViewController, -) { +// PresentingViewController The view controller that presented the view controller or that presented its farthest ancestor view controller. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434439-presentingviewcontroller?language=objc +func (x gen_NSViewController) PresentingViewController() NSViewController { ret := C.NSViewController_inst_presentingViewController( unsafe.Pointer(x.Pointer()), ) - r0 = NSViewController_fromPointer(ret) - return + + return NSViewController_fromPointer(ret) + } -func (x gen_NSViewController) PreferredScreenOrigin() ( - r0 core.NSPoint, -) { +// PreferredScreenOrigin For a view controller that is part of an app extension, the preferred screen origin. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc +func (x gen_NSViewController) PreferredScreenOrigin() core.NSPoint { ret := C.NSViewController_inst_preferredScreenOrigin( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// SetPreferredScreenOrigin For a view controller that is part of an app extension, the preferred screen origin. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc func (x gen_NSViewController) SetPreferredScreenOrigin( value core.NSPoint, ) { @@ -16414,39 +17887,46 @@ func (x gen_NSViewController) SetPreferredScreenOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSViewController) PreferredMaximumSize() ( - r0 core.NSSize, -) { +// PreferredMaximumSize For a view controller that is part of an app extension, the largest allowable size for the app extension’s primary view, in screen units. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434403-preferredmaximumsize?language=objc +func (x gen_NSViewController) PreferredMaximumSize() core.NSSize { ret := C.NSViewController_inst_preferredMaximumSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_NSViewController) PreferredMinimumSize() ( - r0 core.NSSize, -) { +// PreferredMinimumSize For a view controller that is part of an app extension, the smallest allowable size for the app extension’s primary view, in screen units. +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434418-preferredminimumsize?language=objc +func (x gen_NSViewController) PreferredMinimumSize() core.NSSize { ret := C.NSViewController_inst_preferredMinimumSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_NSViewController) SourceItemView() ( - r0 NSView, -) { +// SourceItemView +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc +func (x gen_NSViewController) SourceItemView() NSView { ret := C.NSViewController_inst_sourceItemView( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// SetSourceItemView +// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc func (x gen_NSViewController) SetSourceItemView( value NSViewRef, ) { @@ -16454,7 +17934,9 @@ func (x gen_NSViewController) SetSourceItemView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSVisualEffectViewRef interface { @@ -16476,13 +17958,19 @@ func NSVisualEffectView_fromRef(ref objc.Ref) NSVisualEffectView { return NSVisualEffectView_fromPointer(unsafe.Pointer(ref.Pointer())) } +// ViewDidMoveToWindow Notifies the view that it moved to a new window. +// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534300-viewdidmovetowindow?language=objc func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { C.NSVisualEffectView_inst_viewDidMoveToWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillMoveToWindow Notifies the view immediately before it moves to a new window (which may be nil). +// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534276-viewwillmovetowindow?language=objc func (x gen_NSVisualEffectView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { @@ -16490,29 +17978,34 @@ func (x gen_NSVisualEffectView) ViewWillMoveToWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(newWindow), ) + return + } -func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() ( - r0 NSVisualEffectView, -) { +// Init_asNSVisualEffectView +func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() NSVisualEffectView { ret := C.NSVisualEffectView_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSVisualEffectView_fromPointer(ret) - return + + return NSVisualEffectView_fromPointer(ret) + } -func (x gen_NSVisualEffectView) IsEmphasized() ( - r0 bool, -) { +// IsEmphasized A Boolean value indicating whether to emphasize the look of the material. +// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc +func (x gen_NSVisualEffectView) IsEmphasized() bool { ret := C.NSVisualEffectView_inst_isEmphasized( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEmphasized A Boolean value indicating whether to emphasize the look of the material. +// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc func (x gen_NSVisualEffectView) SetEmphasized( value bool, ) { @@ -16520,19 +18013,24 @@ func (x gen_NSVisualEffectView) SetEmphasized( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSVisualEffectView) MaskImage() ( - r0 NSImage, -) { +// MaskImage An image whose alpha channel masks the visual effect view's material. +// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc +func (x gen_NSVisualEffectView) MaskImage() NSImage { ret := C.NSVisualEffectView_inst_maskImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetMaskImage An image whose alpha channel masks the visual effect view's material. +// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc func (x gen_NSVisualEffectView) SetMaskImage( value NSImageRef, ) { @@ -16540,7 +18038,9 @@ func (x gen_NSVisualEffectView) SetMaskImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSWindowRef interface { @@ -16562,6 +18062,8 @@ func NSWindow_fromRef(ref objc.Ref) NSWindow { return NSWindow_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AddChildWindow_ordered Adds a given window as a child window of the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419152-addchildwindow?language=objc func (x gen_NSWindow) AddChildWindow_ordered( childWin NSWindowRef, place core.NSUInteger, @@ -16571,9 +18073,13 @@ func (x gen_NSWindow) AddChildWindow_ordered( objc.RefPointer(childWin), C.ulong(place), ) + return + } +// AddTabbedWindow_ordered Adds the provided window as a new tab in a tabbed window using the specified ordering instruction. +// https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow?language=objc func (x gen_NSWindow) AddTabbedWindow_ordered( window NSWindowRef, ordered core.NSUInteger, @@ -16583,208 +18089,241 @@ func (x gen_NSWindow) AddTabbedWindow_ordered( objc.RefPointer(window), C.ulong(ordered), ) + return + } +// BecomeKeyWindow Informs the window that it has become the key window. +// https://developer.apple.com/documentation/appkit/nswindow/1419338-becomekeywindow?language=objc func (x gen_NSWindow) BecomeKeyWindow() { C.NSWindow_inst_becomeKeyWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// BecomeMainWindow Informs the window that it has become the main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419084-becomemainwindow?language=objc func (x gen_NSWindow) BecomeMainWindow() { C.NSWindow_inst_becomeMainWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// CascadeTopLeftFromPoint Positions the window’s top-left to a given point. +// https://developer.apple.com/documentation/appkit/nswindow/1419392-cascadetopleftfrompoint?language=objc func (x gen_NSWindow) CascadeTopLeftFromPoint( topLeftPoint core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSWindow_inst_cascadeTopLeftFromPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&topLeftPoint)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// Center Sets the window’s location to the center of the screen. +// https://developer.apple.com/documentation/appkit/nswindow/1419090-center?language=objc func (x gen_NSWindow) Center() { C.NSWindow_inst_center( unsafe.Pointer(x.Pointer()), ) + return + } +// Close Removes the window from the screen. +// https://developer.apple.com/documentation/appkit/nswindow/1419662-close?language=objc func (x gen_NSWindow) Close() { C.NSWindow_inst_close( unsafe.Pointer(x.Pointer()), ) + return + } +// ConstrainFrameRect_toScreen Modifies and returns a frame rectangle so that its top edge lies on a specific screen. +// https://developer.apple.com/documentation/appkit/nswindow/1419779-constrainframerect?language=objc func (x gen_NSWindow) ConstrainFrameRect_toScreen( frameRect core.NSRect, screen NSScreenRef, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_constrainFrameRect_toScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), objc.RefPointer(screen), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ContentRectForFrameRect Returns the window’s content rectangle with a given frame rectangle. +// https://developer.apple.com/documentation/appkit/nswindow/1419108-contentrectforframerect?language=objc func (x gen_NSWindow) ContentRectForFrameRect( frameRect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_contentRectForFrameRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertPointFromBacking Converts a point from its pixel-aligned backing store coordinate system to the window’s coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/2967179-convertpointfrombacking?language=objc func (x gen_NSWindow) ConvertPointFromBacking( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSWindow_inst_convertPointFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointFromScreen Converts a point from the screen coordinate system to the window’s coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/2967180-convertpointfromscreen?language=objc func (x gen_NSWindow) ConvertPointFromScreen( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSWindow_inst_convertPointFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointToBacking Converts a point from the window’s coordinate system to its pixel-aligned backing store coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/2967181-convertpointtobacking?language=objc func (x gen_NSWindow) ConvertPointToBacking( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSWindow_inst_convertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointToScreen Converts a point to the screen coordinate system from the window’s coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/2967182-convertpointtoscreen?language=objc func (x gen_NSWindow) ConvertPointToScreen( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSWindow_inst_convertPointToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertRectFromBacking Converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419273-convertrectfrombacking?language=objc func (x gen_NSWindow) ConvertRectFromBacking( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectFromScreen Converts a rectangle from the screen coordinate system to the window’s coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419603-convertrectfromscreen?language=objc func (x gen_NSWindow) ConvertRectFromScreen( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_convertRectFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectToBacking Converts a rectangle from the window’s coordinate system to its pixel-aligned backing store coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419260-convertrecttobacking?language=objc func (x gen_NSWindow) ConvertRectToBacking( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectToScreen Converts a rectangle to the screen coordinate system from the window’s coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419286-convertrecttoscreen?language=objc func (x gen_NSWindow) ConvertRectToScreen( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_convertRectToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// DataWithEPSInsideRect Returns EPS data that draws the region of the window within a given rectangle. +// https://developer.apple.com/documentation/appkit/nswindow/1419128-datawithepsinsiderect?language=objc func (x gen_NSWindow) DataWithEPSInsideRect( rect core.NSRect, -) ( - r0 core.NSData, -) { +) core.NSData { ret := C.NSWindow_inst_dataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.NSData_fromPointer(ret) - return + + return core.NSData_fromPointer(ret) + } +// DataWithPDFInsideRect Returns PDF data that draws the region of the window within a given rectangle. +// https://developer.apple.com/documentation/appkit/nswindow/1419418-datawithpdfinsiderect?language=objc func (x gen_NSWindow) DataWithPDFInsideRect( rect core.NSRect, -) ( - r0 core.NSData, -) { +) core.NSData { ret := C.NSWindow_inst_dataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.NSData_fromPointer(ret) - return + + return core.NSData_fromPointer(ret) + } +// Deminiaturize De-minimizes the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419334-deminiaturize?language=objc func (x gen_NSWindow) Deminiaturize( sender objc.Ref, ) { @@ -16792,58 +18331,90 @@ func (x gen_NSWindow) Deminiaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// DisableCursorRects Disables all cursor rectangle management within the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419639-disablecursorrects?language=objc func (x gen_NSWindow) DisableCursorRects() { C.NSWindow_inst_disableCursorRects( unsafe.Pointer(x.Pointer()), ) + return + } +// DisableKeyEquivalentForDefaultButtonCell Disables the default button cell’s key equivalent, so it doesn’t perform a click when the user presses Return (or Enter). +// https://developer.apple.com/documentation/appkit/nswindow/1419242-disablekeyequivalentfordefaultbu?language=objc func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { C.NSWindow_inst_disableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), ) + return + } +// DisableScreenUpdatesUntilFlush Disables the window’s screen updates until the window is flushed. +// https://developer.apple.com/documentation/appkit/nswindow/1419483-disablescreenupdatesuntilflush?language=objc func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { C.NSWindow_inst_disableScreenUpdatesUntilFlush( unsafe.Pointer(x.Pointer()), ) + return + } +// DisableSnapshotRestoration Disables snapshot restoration. +// https://developer.apple.com/documentation/appkit/nswindow/1526239-disablesnapshotrestoration?language=objc func (x gen_NSWindow) DisableSnapshotRestoration() { C.NSWindow_inst_disableSnapshotRestoration( unsafe.Pointer(x.Pointer()), ) + return + } +// DiscardCursorRects Invalidates all cursor rectangles in the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419269-discardcursorrects?language=objc func (x gen_NSWindow) DiscardCursorRects() { C.NSWindow_inst_discardCursorRects( unsafe.Pointer(x.Pointer()), ) + return + } +// Display Passes a display message down the window’s view hierarchy, thus redrawing all views within the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419358-display?language=objc func (x gen_NSWindow) Display() { C.NSWindow_inst_display( unsafe.Pointer(x.Pointer()), ) + return + } +// DisplayIfNeeded Passes a display message down the window’s view hierarchy, thus redrawing all views that need displaying. +// https://developer.apple.com/documentation/appkit/nswindow/1419096-displayifneeded?language=objc func (x gen_NSWindow) DisplayIfNeeded() { C.NSWindow_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// DragImage_at_offset_event_pasteboard_source_slideBack Begins a dragging session. +// https://developer.apple.com/documentation/appkit/nswindow/1419224-dragimage?language=objc func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( image NSImageRef, baseLocation core.NSPoint, @@ -16863,30 +18434,46 @@ func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( objc.RefPointer(sourceObj), convertToObjCBool(slideFlag), ) + return + } +// EnableCursorRects Reenables cursor rectangle management within the window after a disableCursorRects message. +// https://developer.apple.com/documentation/appkit/nswindow/1419202-enablecursorrects?language=objc func (x gen_NSWindow) EnableCursorRects() { C.NSWindow_inst_enableCursorRects( unsafe.Pointer(x.Pointer()), ) + return + } +// EnableKeyEquivalentForDefaultButtonCell Reenables the default button cell’s key equivalent, so it performs a click when the user presses Return (or Enter). +// https://developer.apple.com/documentation/appkit/nswindow/1419276-enablekeyequivalentfordefaultbut?language=objc func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { C.NSWindow_inst_enableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), ) + return + } +// EnableSnapshotRestoration Enables snapshot restoration. +// https://developer.apple.com/documentation/appkit/nswindow/1525288-enablesnapshotrestoration?language=objc func (x gen_NSWindow) EnableSnapshotRestoration() { C.NSWindow_inst_enableSnapshotRestoration( unsafe.Pointer(x.Pointer()), ) + return + } +// EndEditingFor Forces the field editor to give up its first responder status and prepares it for its next assignment. +// https://developer.apple.com/documentation/appkit/nswindow/1419469-endeditingfor?language=objc func (x gen_NSWindow) EndEditingFor( object objc.Ref, ) { @@ -16894,9 +18481,13 @@ func (x gen_NSWindow) EndEditingFor( unsafe.Pointer(x.Pointer()), objc.RefPointer(object), ) + return + } +// EndSheet Ends a document-modal session and dismisses the specified sheet. +// https://developer.apple.com/documentation/appkit/nswindow/1419318-endsheet?language=objc func (x gen_NSWindow) EndSheet( sheetWindow NSWindowRef, ) { @@ -16904,45 +18495,49 @@ func (x gen_NSWindow) EndSheet( unsafe.Pointer(x.Pointer()), objc.RefPointer(sheetWindow), ) + return + } +// FieldEditor_forObject Returns the window’s field editor, creating it if requested. +// https://developer.apple.com/documentation/appkit/nswindow/1419647-fieldeditor?language=objc func (x gen_NSWindow) FieldEditor_forObject( createFlag bool, object objc.Ref, -) ( - r0 NSText, -) { +) NSText { ret := C.NSWindow_inst_fieldEditor_forObject( unsafe.Pointer(x.Pointer()), convertToObjCBool(createFlag), objc.RefPointer(object), ) - r0 = NSText_fromPointer(ret) - return + + return NSText_fromPointer(ret) + } +// FrameRectForContentRect Returns the window’s frame rectangle with a given content rectangle. +// https://developer.apple.com/documentation/appkit/nswindow/1419134-framerectforcontentrect?language=objc func (x gen_NSWindow) FrameRectForContentRect( contentRect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSWindow_inst_frameRectForContentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// InitWithContentRect_styleMask_backing_defer_asNSWindow Initializes the window with the specified values. +// https://developer.apple.com/documentation/appkit/nswindow/1419477-initwithcontentrect?language=objc func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, flag bool, -) ( - r0 NSWindow, -) { +) NSWindow { ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), @@ -16950,19 +18545,20 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( C.ulong(backingStoreType), convertToObjCBool(flag), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } +// InitWithContentRect_styleMask_backing_defer_screen_asNSWindow Initializes an allocated window with the specified values. +// https://developer.apple.com/documentation/appkit/nswindow/1419755-initwithcontentrect?language=objc func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, flag bool, screen NSScreenRef, -) ( - r0 NSWindow, -) { +) NSWindow { ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), @@ -16971,10 +18567,13 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWin convertToObjCBool(flag), objc.RefPointer(screen), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } +// InvalidateCursorRectsForView Marks as invalid the cursor rectangles of a given view object in the window, so they’ll be set up again when the window becomes key. +// https://developer.apple.com/documentation/appkit/nswindow/1419601-invalidatecursorrectsforview?language=objc func (x gen_NSWindow) InvalidateCursorRectsForView( view NSViewRef, ) { @@ -16982,23 +18581,35 @@ func (x gen_NSWindow) InvalidateCursorRectsForView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) + return + } +// InvalidateShadow Invalidates the window shadow so that it is recomputed based on the current window shape. +// https://developer.apple.com/documentation/appkit/nswindow/1419529-invalidateshadow?language=objc func (x gen_NSWindow) InvalidateShadow() { C.NSWindow_inst_invalidateShadow( unsafe.Pointer(x.Pointer()), ) + return + } +// LayoutIfNeeded Updates the layout of views in the window based on the current views and constraints. +// https://developer.apple.com/documentation/appkit/nswindow/1526910-layoutifneeded?language=objc func (x gen_NSWindow) LayoutIfNeeded() { C.NSWindow_inst_layoutIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// MakeKeyAndOrderFront Moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419208-makekeyandorderfront?language=objc func (x gen_NSWindow) MakeKeyAndOrderFront( sender objc.Ref, ) { @@ -17006,23 +18617,35 @@ func (x gen_NSWindow) MakeKeyAndOrderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// MakeKeyWindow Makes the window the key window. +// https://developer.apple.com/documentation/appkit/nswindow/1419368-makekeywindow?language=objc func (x gen_NSWindow) MakeKeyWindow() { C.NSWindow_inst_makeKeyWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// MakeMainWindow Makes the window the main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419271-makemainwindow?language=objc func (x gen_NSWindow) MakeMainWindow() { C.NSWindow_inst_makeMainWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// MergeAllWindows Merges all open windows into a single tabbed window. +// https://developer.apple.com/documentation/appkit/nswindow/1644639-mergeallwindows?language=objc func (x gen_NSWindow) MergeAllWindows( sender objc.Ref, ) { @@ -17030,9 +18653,13 @@ func (x gen_NSWindow) MergeAllWindows( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Miniaturize Removes the window from the screen list and displays the minimized window in the Dock. +// https://developer.apple.com/documentation/appkit/nswindow/1419426-miniaturize?language=objc func (x gen_NSWindow) Miniaturize( sender objc.Ref, ) { @@ -17040,9 +18667,13 @@ func (x gen_NSWindow) Miniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// MoveTabToNewWindow Moves the tab to a new containing window. +// https://developer.apple.com/documentation/appkit/nswindow/1644410-movetabtonewwindow?language=objc func (x gen_NSWindow) MoveTabToNewWindow( sender objc.Ref, ) { @@ -17050,9 +18681,13 @@ func (x gen_NSWindow) MoveTabToNewWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderBack Moves the window to the back of its level in the screen list, without changing either the key window or the main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419204-orderback?language=objc func (x gen_NSWindow) OrderBack( sender objc.Ref, ) { @@ -17060,9 +18695,13 @@ func (x gen_NSWindow) OrderBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFront Moves the window to the front of its level in the screen list, without changing either the key window or the main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419495-orderfront?language=objc func (x gen_NSWindow) OrderFront( sender objc.Ref, ) { @@ -17070,16 +18709,24 @@ func (x gen_NSWindow) OrderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontRegardless Moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419444-orderfrontregardless?language=objc func (x gen_NSWindow) OrderFrontRegardless() { C.NSWindow_inst_orderFrontRegardless( unsafe.Pointer(x.Pointer()), ) + return + } +// OrderOut Removes the window from the screen list, which hides the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419660-orderout?language=objc func (x gen_NSWindow) OrderOut( sender objc.Ref, ) { @@ -17087,9 +18734,13 @@ func (x gen_NSWindow) OrderOut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderWindow_relativeTo Repositions the window’s window device in the window server’s screen list. +// https://developer.apple.com/documentation/appkit/nswindow/1419672-orderwindow?language=objc func (x gen_NSWindow) OrderWindow_relativeTo( place core.NSUInteger, otherWin core.NSInteger, @@ -17099,9 +18750,13 @@ func (x gen_NSWindow) OrderWindow_relativeTo( C.ulong(place), C.long(otherWin), ) + return + } +// PerformClose Simulates the user clicking the close button by momentarily highlighting the button and then closing the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419288-performclose?language=objc func (x gen_NSWindow) PerformClose( sender objc.Ref, ) { @@ -17109,9 +18764,13 @@ func (x gen_NSWindow) PerformClose( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PerformMiniaturize Simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419749-performminiaturize?language=objc func (x gen_NSWindow) PerformMiniaturize( sender objc.Ref, ) { @@ -17119,9 +18778,13 @@ func (x gen_NSWindow) PerformMiniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PerformWindowDragWithEvent Starts a window drag based on the specified mouse-down event. +// https://developer.apple.com/documentation/appkit/nswindow/1419386-performwindowdragwithevent?language=objc func (x gen_NSWindow) PerformWindowDragWithEvent( event NSEventRef, ) { @@ -17129,9 +18792,13 @@ func (x gen_NSWindow) PerformWindowDragWithEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) + return + } +// PerformZoom This action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419450-performzoom?language=objc func (x gen_NSWindow) PerformZoom( sender objc.Ref, ) { @@ -17139,9 +18806,13 @@ func (x gen_NSWindow) PerformZoom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PostEvent_atStart Forwards the message to the global application object. +// https://developer.apple.com/documentation/appkit/nswindow/1419376-postevent?language=objc func (x gen_NSWindow) PostEvent_atStart( event NSEventRef, flag bool, @@ -17151,9 +18822,13 @@ func (x gen_NSWindow) PostEvent_atStart( objc.RefPointer(event), convertToObjCBool(flag), ) + return + } +// Print Runs the Print panel, and if the user chooses an option other than canceling, prints the window (its frame view and all subviews). +// https://developer.apple.com/documentation/appkit/nswindow/1419767-print?language=objc func (x gen_NSWindow) Print( sender objc.Ref, ) { @@ -17161,16 +18836,24 @@ func (x gen_NSWindow) Print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// RecalculateKeyViewLoop Marks the key view loop as “dirty” and in need of recalculation. +// https://developer.apple.com/documentation/appkit/nswindow/1419350-recalculatekeyviewloop?language=objc func (x gen_NSWindow) RecalculateKeyViewLoop() { C.NSWindow_inst_recalculateKeyViewLoop( unsafe.Pointer(x.Pointer()), ) + return + } +// RegisterForDraggedTypes Registers a set of pasteboard types that the window accepts as the destination of an image-dragging session. +// https://developer.apple.com/documentation/appkit/nswindow/1419140-registerfordraggedtypes?language=objc func (x gen_NSWindow) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { @@ -17178,9 +18861,13 @@ func (x gen_NSWindow) RegisterForDraggedTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), ) + return + } +// RemoveChildWindow Detaches a given child window from the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419063-removechildwindow?language=objc func (x gen_NSWindow) RemoveChildWindow( childWin NSWindowRef, ) { @@ -17188,9 +18875,13 @@ func (x gen_NSWindow) RemoveChildWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(childWin), ) + return + } +// RemoveTitlebarAccessoryViewControllerAtIndex Removes the view controller at the specified index from the window’s array of title bar accessory view controllers. +// https://developer.apple.com/documentation/appkit/nswindow/1419643-removetitlebaraccessoryviewcontr?language=objc func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( index core.NSInteger, ) { @@ -17198,30 +18889,46 @@ func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) + return + } +// ResetCursorRects Clears the window’s cursor rectangles and the cursor rectangles of the NSView objects in its view hierarchy. +// https://developer.apple.com/documentation/appkit/nswindow/1419464-resetcursorrects?language=objc func (x gen_NSWindow) ResetCursorRects() { C.NSWindow_inst_resetCursorRects( unsafe.Pointer(x.Pointer()), ) + return + } +// ResignKeyWindow Resigns the window’s key window status. +// https://developer.apple.com/documentation/appkit/nswindow/1419047-resignkeywindow?language=objc func (x gen_NSWindow) ResignKeyWindow() { C.NSWindow_inst_resignKeyWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// ResignMainWindow Resigns the window’s main window status. +// https://developer.apple.com/documentation/appkit/nswindow/1419212-resignmainwindow?language=objc func (x gen_NSWindow) ResignMainWindow() { C.NSWindow_inst_resignMainWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// RunToolbarCustomizationPalette Presents the toolbar customization user interface. +// https://developer.apple.com/documentation/appkit/nswindow/1419284-runtoolbarcustomizationpalette?language=objc func (x gen_NSWindow) RunToolbarCustomizationPalette( sender objc.Ref, ) { @@ -17229,9 +18936,13 @@ func (x gen_NSWindow) RunToolbarCustomizationPalette( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SelectKeyViewFollowingView Gives key view status to the view that follows the given view. +// https://developer.apple.com/documentation/appkit/nswindow/1419633-selectkeyviewfollowingview?language=objc func (x gen_NSWindow) SelectKeyViewFollowingView( view NSViewRef, ) { @@ -17239,9 +18950,13 @@ func (x gen_NSWindow) SelectKeyViewFollowingView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) + return + } +// SelectKeyViewPrecedingView Gives key view status to the view that precedes the given view. +// https://developer.apple.com/documentation/appkit/nswindow/1419757-selectkeyviewprecedingview?language=objc func (x gen_NSWindow) SelectKeyViewPrecedingView( view NSViewRef, ) { @@ -17249,9 +18964,13 @@ func (x gen_NSWindow) SelectKeyViewPrecedingView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) + return + } +// SelectNextKeyView Searches for a candidate next key view and, if it finds one, tries to make it the first responder. +// https://developer.apple.com/documentation/appkit/nswindow/1419715-selectnextkeyview?language=objc func (x gen_NSWindow) SelectNextKeyView( sender objc.Ref, ) { @@ -17259,9 +18978,13 @@ func (x gen_NSWindow) SelectNextKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SelectNextTab Selects the next tab in the tab group in the trailing direction. +// https://developer.apple.com/documentation/appkit/nswindow/1644693-selectnexttab?language=objc func (x gen_NSWindow) SelectNextTab( sender objc.Ref, ) { @@ -17269,9 +18992,13 @@ func (x gen_NSWindow) SelectNextTab( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SelectPreviousKeyView Searches for a candidate previous key view and, if it finds one, tries to make it the first responder. +// https://developer.apple.com/documentation/appkit/nswindow/1419110-selectpreviouskeyview?language=objc func (x gen_NSWindow) SelectPreviousKeyView( sender objc.Ref, ) { @@ -17279,9 +19006,13 @@ func (x gen_NSWindow) SelectPreviousKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SelectPreviousTab Selects the previous tab in the tab group in the leading direction. +// https://developer.apple.com/documentation/appkit/nswindow/1644555-selectprevioustab?language=objc func (x gen_NSWindow) SelectPreviousTab( sender objc.Ref, ) { @@ -17289,9 +19020,13 @@ func (x gen_NSWindow) SelectPreviousTab( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// SendEvent This action method dispatches mouse and keyboard events the global application object sends to the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419228-sendevent?language=objc func (x gen_NSWindow) SendEvent( event NSEventRef, ) { @@ -17299,9 +19034,13 @@ func (x gen_NSWindow) SendEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) + return + } +// SetContentSize Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419100-setcontentsize?language=objc func (x gen_NSWindow) SetContentSize( size core.NSSize, ) { @@ -17309,9 +19048,13 @@ func (x gen_NSWindow) SetContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) + return + } +// SetDynamicDepthLimit Sets a Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. +// https://developer.apple.com/documentation/appkit/nswindow/1419473-setdynamicdepthlimit?language=objc func (x gen_NSWindow) SetDynamicDepthLimit( flag bool, ) { @@ -17319,9 +19062,13 @@ func (x gen_NSWindow) SetDynamicDepthLimit( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) + return + } +// SetFrame_display Sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. +// https://developer.apple.com/documentation/appkit/nswindow/1419753-setframe?language=objc func (x gen_NSWindow) SetFrame_display( frameRect core.NSRect, flag bool, @@ -17331,9 +19078,13 @@ func (x gen_NSWindow) SetFrame_display( *(*C.NSRect)(unsafe.Pointer(&frameRect)), convertToObjCBool(flag), ) + return + } +// SetFrame_display_animate Sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen. +// https://developer.apple.com/documentation/appkit/nswindow/1419519-setframe?language=objc func (x gen_NSWindow) SetFrame_display_animate( frameRect core.NSRect, displayFlag bool, @@ -17345,9 +19096,13 @@ func (x gen_NSWindow) SetFrame_display_animate( convertToObjCBool(displayFlag), convertToObjCBool(animateFlag), ) + return + } +// SetFrameOrigin Positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates. +// https://developer.apple.com/documentation/appkit/nswindow/1419690-setframeorigin?language=objc func (x gen_NSWindow) SetFrameOrigin( point core.NSPoint, ) { @@ -17355,9 +19110,13 @@ func (x gen_NSWindow) SetFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) + return + } +// SetFrameTopLeftPoint Positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates. +// https://developer.apple.com/documentation/appkit/nswindow/1419658-setframetopleftpoint?language=objc func (x gen_NSWindow) SetFrameTopLeftPoint( point core.NSPoint, ) { @@ -17365,9 +19124,13 @@ func (x gen_NSWindow) SetFrameTopLeftPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) + return + } +// SetIsMiniaturized Sets the window’s miniaturized state to the value you specify. +// https://developer.apple.com/documentation/appkit/nswindow/1449566-setisminiaturized?language=objc func (x gen_NSWindow) SetIsMiniaturized( flag bool, ) { @@ -17375,9 +19138,13 @@ func (x gen_NSWindow) SetIsMiniaturized( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) + return + } +// SetIsVisible Sets the window’s visible state to the value you specify. +// https://developer.apple.com/documentation/appkit/nswindow/1449570-setisvisible?language=objc func (x gen_NSWindow) SetIsVisible( flag bool, ) { @@ -17385,9 +19152,13 @@ func (x gen_NSWindow) SetIsVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) + return + } +// SetIsZoomed Sets the window’s zoomed state to the value you specify. +// https://developer.apple.com/documentation/appkit/nswindow/1449589-setiszoomed?language=objc func (x gen_NSWindow) SetIsZoomed( flag bool, ) { @@ -17395,9 +19166,13 @@ func (x gen_NSWindow) SetIsZoomed( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) + return + } +// SetTitleWithRepresentedFilename Sets a given path as the window’s title, formatting it as a file-system path, and records this path as the window’s associated file. +// https://developer.apple.com/documentation/appkit/nswindow/1419192-settitlewithrepresentedfilename?language=objc func (x gen_NSWindow) SetTitleWithRepresentedFilename( filename core.NSStringRef, ) { @@ -17405,9 +19180,13 @@ func (x gen_NSWindow) SetTitleWithRepresentedFilename( unsafe.Pointer(x.Pointer()), objc.RefPointer(filename), ) + return + } +// ToggleFullScreen Takes the window into or out of fullscreen mode, +// https://developer.apple.com/documentation/appkit/nswindow/1419527-togglefullscreen?language=objc func (x gen_NSWindow) ToggleFullScreen( sender objc.Ref, ) { @@ -17415,9 +19194,13 @@ func (x gen_NSWindow) ToggleFullScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleTabBar Shows or hides the tab bar. +// https://developer.apple.com/documentation/appkit/nswindow/1644517-toggletabbar?language=objc func (x gen_NSWindow) ToggleTabBar( sender objc.Ref, ) { @@ -17425,9 +19208,13 @@ func (x gen_NSWindow) ToggleTabBar( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleTabOverview Shows or hides the tab overview. +// https://developer.apple.com/documentation/appkit/nswindow/2870175-toggletaboverview?language=objc func (x gen_NSWindow) ToggleTabOverview( sender objc.Ref, ) { @@ -17435,9 +19222,13 @@ func (x gen_NSWindow) ToggleTabOverview( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleToolbarShown Toggles the visibility of the window’s toolbar. +// https://developer.apple.com/documentation/appkit/nswindow/1419554-toggletoolbarshown?language=objc func (x gen_NSWindow) ToggleToolbarShown( sender objc.Ref, ) { @@ -17445,45 +19236,62 @@ func (x gen_NSWindow) ToggleToolbarShown( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TryToPerform_with Dispatches action messages with a given argument. +// https://developer.apple.com/documentation/appkit/nswindow/1419428-trytoperform?language=objc func (x gen_NSWindow) TryToPerform_with( action objc.Selector, object objc.Ref, -) ( - r0 bool, -) { +) bool { ret := C.NSWindow_inst_tryToPerform_with( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(object), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// UnregisterDraggedTypes Unregisters the window as a possible destination for dragging operations. +// https://developer.apple.com/documentation/appkit/nswindow/1419456-unregisterdraggedtypes?language=objc func (x gen_NSWindow) UnregisterDraggedTypes() { C.NSWindow_inst_unregisterDraggedTypes( unsafe.Pointer(x.Pointer()), ) + return + } +// Update Updates the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419577-update?language=objc func (x gen_NSWindow) Update() { C.NSWindow_inst_update( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateConstraintsIfNeeded Updates the constraints based on changes to views in the window since the last layout. +// https://developer.apple.com/documentation/appkit/nswindow/1526915-updateconstraintsifneeded?language=objc func (x gen_NSWindow) UpdateConstraintsIfNeeded() { C.NSWindow_inst_updateConstraintsIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// VisualizeConstraints Displays a visual representation of the supplied constraints in the window. +// https://developer.apple.com/documentation/appkit/nswindow/1526997-visualizeconstraints?language=objc func (x gen_NSWindow) VisualizeConstraints( constraints core.NSArrayRef, ) { @@ -17491,9 +19299,13 @@ func (x gen_NSWindow) VisualizeConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) + return + } +// Zoom Toggles the size and location of the window between its standard state (which the application provides as the best size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window). +// https://developer.apple.com/documentation/appkit/nswindow/1419513-zoom?language=objc func (x gen_NSWindow) Zoom( sender objc.Ref, ) { @@ -17501,29 +19313,34 @@ func (x gen_NSWindow) Zoom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } -func (x gen_NSWindow) Init_asNSWindow() ( - r0 NSWindow, -) { +// Init_asNSWindow +func (x gen_NSWindow) Init_asNSWindow() NSWindow { ret := C.NSWindow_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func (x gen_NSWindow) Delegate() ( - r0 objc.Object, -) { +// Delegate The window’s delegate. +// https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc +func (x gen_NSWindow) Delegate() objc.Object { ret := C.NSWindow_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The window’s delegate. +// https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc func (x gen_NSWindow) SetDelegate( value objc.Ref, ) { @@ -17531,19 +19348,24 @@ func (x gen_NSWindow) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) ContentViewController() ( - r0 NSViewController, -) { +// ContentViewController The main content view controller for the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc +func (x gen_NSWindow) ContentViewController() NSViewController { ret := C.NSWindow_inst_contentViewController( unsafe.Pointer(x.Pointer()), ) - r0 = NSViewController_fromPointer(ret) - return + + return NSViewController_fromPointer(ret) + } +// SetContentViewController The main content view controller for the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc func (x gen_NSWindow) SetContentViewController( value NSViewControllerRef, ) { @@ -17551,19 +19373,24 @@ func (x gen_NSWindow) SetContentViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) ContentView() ( - r0 NSView, -) { +// ContentView The window’s content view, the highest accessible view object in the window’s view hierarchy. +// https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc +func (x gen_NSWindow) ContentView() NSView { ret := C.NSWindow_inst_contentView( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// SetContentView The window’s content view, the highest accessible view object in the window’s view hierarchy. +// https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc func (x gen_NSWindow) SetContentView( value NSViewRef, ) { @@ -17571,19 +19398,24 @@ func (x gen_NSWindow) SetContentView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) StyleMask() ( - r0 core.NSUInteger, -) { +// StyleMask Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. +// https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc +func (x gen_NSWindow) StyleMask() core.NSUInteger { ret := C.NSWindow_inst_styleMask( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// SetStyleMask Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. +// https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc func (x gen_NSWindow) SetStyleMask( value core.NSUInteger, ) { @@ -17591,29 +19423,35 @@ func (x gen_NSWindow) SetStyleMask( unsafe.Pointer(x.Pointer()), C.ulong(value), ) + return + } -func (x gen_NSWindow) WorksWhenModal() ( - r0 bool, -) { +// WorksWhenModal A Boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally. +// https://developer.apple.com/documentation/appkit/nswindow/1419220-workswhenmodal?language=objc +func (x gen_NSWindow) WorksWhenModal() bool { ret := C.NSWindow_inst_worksWhenModal( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) AlphaValue() ( - r0 core.CGFloat, -) { +// AlphaValue The window’s alpha value. +// https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc +func (x gen_NSWindow) AlphaValue() core.CGFloat { ret := C.NSWindow_inst_alphaValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetAlphaValue The window’s alpha value. +// https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc func (x gen_NSWindow) SetAlphaValue( value core.CGFloat, ) { @@ -17621,19 +19459,24 @@ func (x gen_NSWindow) SetAlphaValue( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSWindow) BackgroundColor() ( - r0 NSColor, -) { +// BackgroundColor The color of the window’s background. +// https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc +func (x gen_NSWindow) BackgroundColor() NSColor { ret := C.NSWindow_inst_backgroundColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBackgroundColor The color of the window’s background. +// https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc func (x gen_NSWindow) SetBackgroundColor( value NSColorRef, ) { @@ -17641,19 +19484,24 @@ func (x gen_NSWindow) SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) CanHide() ( - r0 bool, -) { +// CanHide A Boolean value that indicates whether the window can hide when its application becomes hidden. +// https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc +func (x gen_NSWindow) CanHide() bool { ret := C.NSWindow_inst_canHide( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetCanHide A Boolean value that indicates whether the window can hide when its application becomes hidden. +// https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc func (x gen_NSWindow) SetCanHide( value bool, ) { @@ -17661,29 +19509,35 @@ func (x gen_NSWindow) SetCanHide( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IsOnActiveSpace() ( - r0 bool, -) { +// IsOnActiveSpace A Boolean value that indicates whether the window is on the currently active space. +// https://developer.apple.com/documentation/appkit/nswindow/1419707-onactivespace?language=objc +func (x gen_NSWindow) IsOnActiveSpace() bool { ret := C.NSWindow_inst_isOnActiveSpace( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) HidesOnDeactivate() ( - r0 bool, -) { +// HidesOnDeactivate A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive. +// https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc +func (x gen_NSWindow) HidesOnDeactivate() bool { ret := C.NSWindow_inst_hidesOnDeactivate( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHidesOnDeactivate A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive. +// https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc func (x gen_NSWindow) SetHidesOnDeactivate( value bool, ) { @@ -17691,19 +19545,24 @@ func (x gen_NSWindow) SetHidesOnDeactivate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) CollectionBehavior() ( - r0 core.NSUInteger, -) { +// CollectionBehavior A value that identifies the window’s behavior in window collections. +// https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc +func (x gen_NSWindow) CollectionBehavior() core.NSUInteger { ret := C.NSWindow_inst_collectionBehavior( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// SetCollectionBehavior A value that identifies the window’s behavior in window collections. +// https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc func (x gen_NSWindow) SetCollectionBehavior( value core.NSUInteger, ) { @@ -17711,19 +19570,24 @@ func (x gen_NSWindow) SetCollectionBehavior( unsafe.Pointer(x.Pointer()), C.ulong(value), ) + return + } -func (x gen_NSWindow) IsOpaque() ( - r0 bool, -) { +// IsOpaque A Boolean value that indicates whether the window is opaque. +// https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc +func (x gen_NSWindow) IsOpaque() bool { ret := C.NSWindow_inst_isOpaque( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetOpaque A Boolean value that indicates whether the window is opaque. +// https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc func (x gen_NSWindow) SetOpaque( value bool, ) { @@ -17731,19 +19595,24 @@ func (x gen_NSWindow) SetOpaque( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) HasShadow() ( - r0 bool, -) { +// HasShadow A Boolean value that indicates whether the window has a shadow. +// https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc +func (x gen_NSWindow) HasShadow() bool { ret := C.NSWindow_inst_hasShadow( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHasShadow A Boolean value that indicates whether the window has a shadow. +// https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc func (x gen_NSWindow) SetHasShadow( value bool, ) { @@ -17751,19 +19620,24 @@ func (x gen_NSWindow) SetHasShadow( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() ( - r0 bool, -) { +// PreventsApplicationTerminationWhenModal A Boolean value that indicates whether the window prevents application termination when modal. +// https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc +func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() bool { ret := C.NSWindow_inst_preventsApplicationTerminationWhenModal( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetPreventsApplicationTerminationWhenModal A Boolean value that indicates whether the window prevents application termination when modal. +// https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( value bool, ) { @@ -17771,49 +19645,57 @@ func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) HasDynamicDepthLimit() ( - r0 bool, -) { +// HasDynamicDepthLimit A Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. +// https://developer.apple.com/documentation/appkit/nswindow/1419330-hasdynamicdepthlimit?language=objc +func (x gen_NSWindow) HasDynamicDepthLimit() bool { ret := C.NSWindow_inst_hasDynamicDepthLimit( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) WindowNumber() ( - r0 core.NSInteger, -) { +// WindowNumber The window number of the window’s window device. +// https://developer.apple.com/documentation/appkit/nswindow/1419068-windownumber?language=objc +func (x gen_NSWindow) WindowNumber() core.NSInteger { ret := C.NSWindow_inst_windowNumber( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSWindow) DeviceDescription() ( - r0 core.NSDictionary, -) { +// DeviceDescription A dictionary containing information about the window’s resolution, such as color, depth, and so on. +// https://developer.apple.com/documentation/appkit/nswindow/1419741-devicedescription?language=objc +func (x gen_NSWindow) DeviceDescription() core.NSDictionary { ret := C.NSWindow_inst_deviceDescription( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } -func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() ( - r0 bool, -) { +// CanBecomeVisibleWithoutLogin A Boolean value that indicates whether the window can be displayed at the login window. +// https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc +func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() bool { ret := C.NSWindow_inst_canBecomeVisibleWithoutLogin( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetCanBecomeVisibleWithoutLogin A Boolean value that indicates whether the window can be displayed at the login window. +// https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( value bool, ) { @@ -17821,19 +19703,24 @@ func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) BackingType() ( - r0 core.NSUInteger, -) { +// BackingType The window’s backing store type. +// https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc +func (x gen_NSWindow) BackingType() core.NSUInteger { ret := C.NSWindow_inst_backingType( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// SetBackingType The window’s backing store type. +// https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc func (x gen_NSWindow) SetBackingType( value core.NSUInteger, ) { @@ -17841,69 +19728,79 @@ func (x gen_NSWindow) SetBackingType( unsafe.Pointer(x.Pointer()), C.ulong(value), ) + return + } -func (x gen_NSWindow) AttachedSheet() ( - r0 NSWindow, -) { +// AttachedSheet The sheet attached to the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419467-attachedsheet?language=objc +func (x gen_NSWindow) AttachedSheet() NSWindow { ret := C.NSWindow_inst_attachedSheet( unsafe.Pointer(x.Pointer()), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func (x gen_NSWindow) IsSheet() ( - r0 bool, -) { +// IsSheet A Boolean value that indicates whether the window has ever run as a modal sheet. +// https://developer.apple.com/documentation/appkit/nswindow/1419364-sheet?language=objc +func (x gen_NSWindow) IsSheet() bool { ret := C.NSWindow_inst_isSheet( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) SheetParent() ( - r0 NSWindow, -) { +// SheetParent The window to which the sheet is attached. +// https://developer.apple.com/documentation/appkit/nswindow/1419052-sheetparent?language=objc +func (x gen_NSWindow) SheetParent() NSWindow { ret := C.NSWindow_inst_sheetParent( unsafe.Pointer(x.Pointer()), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func (x gen_NSWindow) Sheets() ( - r0 core.NSArray, -) { +// Sheets An array of the sheets currently attached to the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419765-sheets?language=objc +func (x gen_NSWindow) Sheets() core.NSArray { ret := C.NSWindow_inst_sheets( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSWindow) Frame() ( - r0 core.NSRect, -) { +// Frame The window’s frame rectangle in screen coordinates, including the title bar. +// https://developer.apple.com/documentation/appkit/nswindow/1419697-frame?language=objc +func (x gen_NSWindow) Frame() core.NSRect { ret := C.NSWindow_inst_frame( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSWindow) AspectRatio() ( - r0 core.NSSize, -) { +// AspectRatio The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. +// https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc +func (x gen_NSWindow) AspectRatio() core.NSSize { ret := C.NSWindow_inst_aspectRatio( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetAspectRatio The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. +// https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc func (x gen_NSWindow) SetAspectRatio( value core.NSSize, ) { @@ -17911,19 +19808,24 @@ func (x gen_NSWindow) SetAspectRatio( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) MinSize() ( - r0 core.NSSize, -) { +// MinSize The minimum size to which the window’s frame (including its title bar) can be sized. +// https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc +func (x gen_NSWindow) MinSize() core.NSSize { ret := C.NSWindow_inst_minSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetMinSize The minimum size to which the window’s frame (including its title bar) can be sized. +// https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc func (x gen_NSWindow) SetMinSize( value core.NSSize, ) { @@ -17931,19 +19833,24 @@ func (x gen_NSWindow) SetMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) MaxSize() ( - r0 core.NSSize, -) { +// MaxSize The maximum size to which the window’s frame (including its title bar) can be sized. +// https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc +func (x gen_NSWindow) MaxSize() core.NSSize { ret := C.NSWindow_inst_maxSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetMaxSize The maximum size to which the window’s frame (including its title bar) can be sized. +// https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc func (x gen_NSWindow) SetMaxSize( value core.NSSize, ) { @@ -17951,29 +19858,35 @@ func (x gen_NSWindow) SetMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) IsZoomed() ( - r0 bool, -) { +// IsZoomed A Boolean value that indicates whether the window is in a zoomed state. +// https://developer.apple.com/documentation/appkit/nswindow/1419398-zoomed?language=objc +func (x gen_NSWindow) IsZoomed() bool { ret := C.NSWindow_inst_isZoomed( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) ResizeIncrements() ( - r0 core.NSSize, -) { +// ResizeIncrements The window’s resizing increments. +// https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc +func (x gen_NSWindow) ResizeIncrements() core.NSSize { ret := C.NSWindow_inst_resizeIncrements( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetResizeIncrements The window’s resizing increments. +// https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc func (x gen_NSWindow) SetResizeIncrements( value core.NSSize, ) { @@ -17981,19 +19894,24 @@ func (x gen_NSWindow) SetResizeIncrements( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) PreservesContentDuringLiveResize() ( - r0 bool, -) { +// PreservesContentDuringLiveResize A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. +// https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc +func (x gen_NSWindow) PreservesContentDuringLiveResize() bool { ret := C.NSWindow_inst_preservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetPreservesContentDuringLiveResize A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. +// https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc func (x gen_NSWindow) SetPreservesContentDuringLiveResize( value bool, ) { @@ -18001,29 +19919,35 @@ func (x gen_NSWindow) SetPreservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) InLiveResize() ( - r0 bool, -) { +// InLiveResize A Boolean value that indicates whether the window is being resized by the user. +// https://developer.apple.com/documentation/appkit/nswindow/1419378-inliveresize?language=objc +func (x gen_NSWindow) InLiveResize() bool { ret := C.NSWindow_inst_inLiveResize( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) ContentAspectRatio() ( - r0 core.NSSize, -) { +// ContentAspectRatio The window’s content aspect ratio. +// https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc +func (x gen_NSWindow) ContentAspectRatio() core.NSSize { ret := C.NSWindow_inst_contentAspectRatio( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetContentAspectRatio The window’s content aspect ratio. +// https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc func (x gen_NSWindow) SetContentAspectRatio( value core.NSSize, ) { @@ -18031,19 +19955,24 @@ func (x gen_NSWindow) SetContentAspectRatio( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) ContentMinSize() ( - r0 core.NSSize, -) { +// ContentMinSize The minimum size of the window’s content view in the window’s base coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc +func (x gen_NSWindow) ContentMinSize() core.NSSize { ret := C.NSWindow_inst_contentMinSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetContentMinSize The minimum size of the window’s content view in the window’s base coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc func (x gen_NSWindow) SetContentMinSize( value core.NSSize, ) { @@ -18051,19 +19980,24 @@ func (x gen_NSWindow) SetContentMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) ContentMaxSize() ( - r0 core.NSSize, -) { +// ContentMaxSize The maximum size of the window’s content view in the window’s base coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc +func (x gen_NSWindow) ContentMaxSize() core.NSSize { ret := C.NSWindow_inst_contentMaxSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetContentMaxSize The maximum size of the window’s content view in the window’s base coordinate system. +// https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc func (x gen_NSWindow) SetContentMaxSize( value core.NSSize, ) { @@ -18071,19 +20005,24 @@ func (x gen_NSWindow) SetContentMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) ContentResizeIncrements() ( - r0 core.NSSize, -) { +// ContentResizeIncrements The window’s content-view resizing increments. +// https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc +func (x gen_NSWindow) ContentResizeIncrements() core.NSSize { ret := C.NSWindow_inst_contentResizeIncrements( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetContentResizeIncrements The window’s content-view resizing increments. +// https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc func (x gen_NSWindow) SetContentResizeIncrements( value core.NSSize, ) { @@ -18091,39 +20030,46 @@ func (x gen_NSWindow) SetContentResizeIncrements( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) ContentLayoutGuide() ( - r0 objc.Object, -) { +// ContentLayoutGuide A value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect. +// https://developer.apple.com/documentation/appkit/nswindow/1419094-contentlayoutguide?language=objc +func (x gen_NSWindow) ContentLayoutGuide() objc.Object { ret := C.NSWindow_inst_contentLayoutGuide( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func (x gen_NSWindow) ContentLayoutRect() ( - r0 core.NSRect, -) { +// ContentLayoutRect The area inside the window that is for non-obscured content, in window coordinates. +// https://developer.apple.com/documentation/appkit/nswindow/1419124-contentlayoutrect?language=objc +func (x gen_NSWindow) ContentLayoutRect() core.NSRect { ret := C.NSWindow_inst_contentLayoutRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSWindow) MaxFullScreenContentSize() ( - r0 core.NSSize, -) { +// MaxFullScreenContentSize A maximum size that is used to determine if a window can fit when it is in full screen in a tile. +// https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc +func (x gen_NSWindow) MaxFullScreenContentSize() core.NSSize { ret := C.NSWindow_inst_maxFullScreenContentSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetMaxFullScreenContentSize A maximum size that is used to determine if a window can fit when it is in full screen in a tile. +// https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc func (x gen_NSWindow) SetMaxFullScreenContentSize( value core.NSSize, ) { @@ -18131,19 +20077,24 @@ func (x gen_NSWindow) SetMaxFullScreenContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) MinFullScreenContentSize() ( - r0 core.NSSize, -) { +// MinFullScreenContentSize A minimum size that is used to determine if a window can fit when it is in full screen in a tile. +// https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc +func (x gen_NSWindow) MinFullScreenContentSize() core.NSSize { ret := C.NSWindow_inst_minFullScreenContentSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetMinFullScreenContentSize A minimum size that is used to determine if a window can fit when it is in full screen in a tile. +// https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc func (x gen_NSWindow) SetMinFullScreenContentSize( value core.NSSize, ) { @@ -18151,19 +20102,24 @@ func (x gen_NSWindow) SetMinFullScreenContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSWindow) Level() ( - r0 core.NSInteger, -) { +// Level The window level of the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc +func (x gen_NSWindow) Level() core.NSInteger { ret := C.NSWindow_inst_level( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetLevel The window level of the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc func (x gen_NSWindow) SetLevel( value core.NSInteger, ) { @@ -18171,79 +20127,90 @@ func (x gen_NSWindow) SetLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSWindow) IsVisible() ( - r0 bool, -) { +// IsVisible A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows). +// https://developer.apple.com/documentation/appkit/nswindow/1419132-visible?language=objc +func (x gen_NSWindow) IsVisible() bool { ret := C.NSWindow_inst_isVisible( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsKeyWindow() ( - r0 bool, -) { +// IsKeyWindow A Boolean value that indicates whether the window is the key window for the application. +// https://developer.apple.com/documentation/appkit/nswindow/1419735-keywindow?language=objc +func (x gen_NSWindow) IsKeyWindow() bool { ret := C.NSWindow_inst_isKeyWindow( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) CanBecomeKeyWindow() ( - r0 bool, -) { +// CanBecomeKeyWindow A Boolean value that indicates whether the window can become the key window. +// https://developer.apple.com/documentation/appkit/nswindow/1419543-canbecomekeywindow?language=objc +func (x gen_NSWindow) CanBecomeKeyWindow() bool { ret := C.NSWindow_inst_canBecomeKeyWindow( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsMainWindow() ( - r0 bool, -) { +// IsMainWindow A Boolean value that indicates whether the window is the application’s main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419130-mainwindow?language=objc +func (x gen_NSWindow) IsMainWindow() bool { ret := C.NSWindow_inst_isMainWindow( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) CanBecomeMainWindow() ( - r0 bool, -) { +// CanBecomeMainWindow A Boolean value that indicates whether the window can become the application’s main window. +// https://developer.apple.com/documentation/appkit/nswindow/1419162-canbecomemainwindow?language=objc +func (x gen_NSWindow) CanBecomeMainWindow() bool { ret := C.NSWindow_inst_canBecomeMainWindow( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) ChildWindows() ( - r0 core.NSArray, -) { +// ChildWindows An array of the window’s attached child windows. +// https://developer.apple.com/documentation/appkit/nswindow/1419236-childwindows?language=objc +func (x gen_NSWindow) ChildWindows() core.NSArray { ret := C.NSWindow_inst_childWindows( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSWindow) ParentWindow() ( - r0 NSWindow, -) { +// ParentWindow The parent window to which the window is attached as a child. +// https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc +func (x gen_NSWindow) ParentWindow() NSWindow { ret := C.NSWindow_inst_parentWindow( unsafe.Pointer(x.Pointer()), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } +// SetParentWindow The parent window to which the window is attached as a child. +// https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc func (x gen_NSWindow) SetParentWindow( value NSWindowRef, ) { @@ -18251,19 +20218,24 @@ func (x gen_NSWindow) SetParentWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) IsExcludedFromWindowsMenu() ( - r0 bool, -) { +// IsExcludedFromWindowsMenu A Boolean value that indicates whether the window is excluded from the application’s Windows menu. +// https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc +func (x gen_NSWindow) IsExcludedFromWindowsMenu() bool { ret := C.NSWindow_inst_isExcludedFromWindowsMenu( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetExcludedFromWindowsMenu A Boolean value that indicates whether the window is excluded from the application’s Windows menu. +// https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc func (x gen_NSWindow) SetExcludedFromWindowsMenu( value bool, ) { @@ -18271,29 +20243,35 @@ func (x gen_NSWindow) SetExcludedFromWindowsMenu( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) AreCursorRectsEnabled() ( - r0 bool, -) { +// AreCursorRectsEnabled A Boolean value that indicates whether the window’s cursor rectangles are enabled. +// https://developer.apple.com/documentation/appkit/nswindow/1419668-arecursorrectsenabled?language=objc +func (x gen_NSWindow) AreCursorRectsEnabled() bool { ret := C.NSWindow_inst_areCursorRectsEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) ShowsToolbarButton() ( - r0 bool, -) { +// ShowsToolbarButton A Boolean value that indicates whether the toolbar control button is currently displayed. +// https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc +func (x gen_NSWindow) ShowsToolbarButton() bool { ret := C.NSWindow_inst_showsToolbarButton( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetShowsToolbarButton A Boolean value that indicates whether the toolbar control button is currently displayed. +// https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc func (x gen_NSWindow) SetShowsToolbarButton( value bool, ) { @@ -18301,19 +20279,24 @@ func (x gen_NSWindow) SetShowsToolbarButton( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) TitlebarAppearsTransparent() ( - r0 bool, -) { +// TitlebarAppearsTransparent A Boolean value that indicates whether the title bar draws its background. +// https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc +func (x gen_NSWindow) TitlebarAppearsTransparent() bool { ret := C.NSWindow_inst_titlebarAppearsTransparent( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetTitlebarAppearsTransparent A Boolean value that indicates whether the title bar draws its background. +// https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc func (x gen_NSWindow) SetTitlebarAppearsTransparent( value bool, ) { @@ -18321,19 +20304,24 @@ func (x gen_NSWindow) SetTitlebarAppearsTransparent( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) TitlebarAccessoryViewControllers() ( - r0 core.NSArray, -) { +// TitlebarAccessoryViewControllers An array of title bar accessory view controllers that are currently added to the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc +func (x gen_NSWindow) TitlebarAccessoryViewControllers() core.NSArray { ret := C.NSWindow_inst_titlebarAccessoryViewControllers( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetTitlebarAccessoryViewControllers An array of title bar accessory view controllers that are currently added to the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( value core.NSArrayRef, ) { @@ -18341,29 +20329,35 @@ func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) TabbedWindows() ( - r0 core.NSArray, -) { +// TabbedWindows An array of windows that display as tabs. +// https://developer.apple.com/documentation/appkit/nswindow/1792044-tabbedwindows?language=objc +func (x gen_NSWindow) TabbedWindows() core.NSArray { ret := C.NSWindow_inst_tabbedWindows( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() ( - r0 bool, -) { +// AllowsToolTipsWhenApplicationIsInactive A Boolean value that indicates whether the window can display tooltips even when the application is in the background. +// https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc +func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() bool { ret := C.NSWindow_inst_allowsToolTipsWhenApplicationIsInactive( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsToolTipsWhenApplicationIsInactive A Boolean value that indicates whether the window can display tooltips even when the application is in the background. +// https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( value bool, ) { @@ -18371,29 +20365,35 @@ func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) CurrentEvent() ( - r0 NSEvent, -) { +// CurrentEvent The event currently being processed by the application. +// https://developer.apple.com/documentation/appkit/nswindow/1419298-currentevent?language=objc +func (x gen_NSWindow) CurrentEvent() NSEvent { ret := C.NSWindow_inst_currentEvent( unsafe.Pointer(x.Pointer()), ) - r0 = NSEvent_fromPointer(ret) - return + + return NSEvent_fromPointer(ret) + } -func (x gen_NSWindow) InitialFirstResponder() ( - r0 NSView, -) { +// InitialFirstResponder The view that’s made first responder (also called the key view) the first time the window is placed onscreen. +// https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc +func (x gen_NSWindow) InitialFirstResponder() NSView { ret := C.NSWindow_inst_initialFirstResponder( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// SetInitialFirstResponder The view that’s made first responder (also called the key view) the first time the window is placed onscreen. +// https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc func (x gen_NSWindow) SetInitialFirstResponder( value NSViewRef, ) { @@ -18401,19 +20401,24 @@ func (x gen_NSWindow) SetInitialFirstResponder( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) AutorecalculatesKeyViewLoop() ( - r0 bool, -) { +// AutorecalculatesKeyViewLoop A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added. +// https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc +func (x gen_NSWindow) AutorecalculatesKeyViewLoop() bool { ret := C.NSWindow_inst_autorecalculatesKeyViewLoop( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutorecalculatesKeyViewLoop A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added. +// https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( value bool, ) { @@ -18421,19 +20426,24 @@ func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) AcceptsMouseMovedEvents() ( - r0 bool, -) { +// AcceptsMouseMovedEvents A Boolean value that indicates whether the window accepts mouse-moved events. +// https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc +func (x gen_NSWindow) AcceptsMouseMovedEvents() bool { ret := C.NSWindow_inst_acceptsMouseMovedEvents( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAcceptsMouseMovedEvents A Boolean value that indicates whether the window accepts mouse-moved events. +// https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc func (x gen_NSWindow) SetAcceptsMouseMovedEvents( value bool, ) { @@ -18441,19 +20451,24 @@ func (x gen_NSWindow) SetAcceptsMouseMovedEvents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IgnoresMouseEvents() ( - r0 bool, -) { +// IgnoresMouseEvents A Boolean value that indicates whether the window is transparent to mouse events. +// https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc +func (x gen_NSWindow) IgnoresMouseEvents() bool { ret := C.NSWindow_inst_ignoresMouseEvents( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetIgnoresMouseEvents A Boolean value that indicates whether the window is transparent to mouse events. +// https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc func (x gen_NSWindow) SetIgnoresMouseEvents( value bool, ) { @@ -18461,29 +20476,35 @@ func (x gen_NSWindow) SetIgnoresMouseEvents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) MouseLocationOutsideOfEventStream() ( - r0 core.NSPoint, -) { +// MouseLocationOutsideOfEventStream The current location of the pointer reckoned in the window’s base coordinate system, regardless of the current event being handled or of any events pending. +// https://developer.apple.com/documentation/appkit/nswindow/1419280-mouselocationoutsideofeventstrea?language=objc +func (x gen_NSWindow) MouseLocationOutsideOfEventStream() core.NSPoint { ret := C.NSWindow_inst_mouseLocationOutsideOfEventStream( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } -func (x gen_NSWindow) IsRestorable() ( - r0 bool, -) { +// IsRestorable A Boolean value indicating whether the window configuration is preserved between application launches. +// https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc +func (x gen_NSWindow) IsRestorable() bool { ret := C.NSWindow_inst_isRestorable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetRestorable A Boolean value indicating whether the window configuration is preserved between application launches. +// https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc func (x gen_NSWindow) SetRestorable( value bool, ) { @@ -18491,19 +20512,24 @@ func (x gen_NSWindow) SetRestorable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) ViewsNeedDisplay() ( - r0 bool, -) { +// ViewsNeedDisplay A Boolean value that indicates whether any of the window’s views need to be displayed. +// https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc +func (x gen_NSWindow) ViewsNeedDisplay() bool { ret := C.NSWindow_inst_viewsNeedDisplay( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetViewsNeedDisplay A Boolean value that indicates whether any of the window’s views need to be displayed. +// https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc func (x gen_NSWindow) SetViewsNeedDisplay( value bool, ) { @@ -18511,19 +20537,24 @@ func (x gen_NSWindow) SetViewsNeedDisplay( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) AllowsConcurrentViewDrawing() ( - r0 bool, -) { +// AllowsConcurrentViewDrawing A Boolean value that indicates whether the window allows multithreaded view drawing. +// https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc +func (x gen_NSWindow) AllowsConcurrentViewDrawing() bool { ret := C.NSWindow_inst_allowsConcurrentViewDrawing( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsConcurrentViewDrawing A Boolean value that indicates whether the window allows multithreaded view drawing. +// https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( value bool, ) { @@ -18531,19 +20562,24 @@ func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IsDocumentEdited() ( - r0 bool, -) { +// IsDocumentEdited A Boolean value that indicates whether the window’s document has been edited. +// https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc +func (x gen_NSWindow) IsDocumentEdited() bool { ret := C.NSWindow_inst_isDocumentEdited( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDocumentEdited A Boolean value that indicates whether the window’s document has been edited. +// https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc func (x gen_NSWindow) SetDocumentEdited( value bool, ) { @@ -18551,29 +20587,35 @@ func (x gen_NSWindow) SetDocumentEdited( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) BackingScaleFactor() ( - r0 core.CGFloat, -) { +// BackingScaleFactor The backing scale factor. +// https://developer.apple.com/documentation/appkit/nswindow/1419459-backingscalefactor?language=objc +func (x gen_NSWindow) BackingScaleFactor() core.CGFloat { ret := C.NSWindow_inst_backingScaleFactor( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSWindow) Title() ( - r0 core.NSString, -) { +// Title The string that appears in the title bar of the window or the path to the represented file. +// https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc +func (x gen_NSWindow) Title() core.NSString { ret := C.NSWindow_inst_title( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetTitle The string that appears in the title bar of the window or the path to the represented file. +// https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc func (x gen_NSWindow) SetTitle( value core.NSStringRef, ) { @@ -18581,19 +20623,24 @@ func (x gen_NSWindow) SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) Subtitle() ( - r0 core.NSString, -) { +// Subtitle A secondary line of text that appears in the title bar of the window. +// https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc +func (x gen_NSWindow) Subtitle() core.NSString { ret := C.NSWindow_inst_subtitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetSubtitle A secondary line of text that appears in the title bar of the window. +// https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc func (x gen_NSWindow) SetSubtitle( value core.NSStringRef, ) { @@ -18601,19 +20648,24 @@ func (x gen_NSWindow) SetSubtitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) TitleVisibility() ( - r0 core.NSInteger, -) { +// TitleVisibility A value that indicates the visibility of the window’s title and title bar buttons. +// https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc +func (x gen_NSWindow) TitleVisibility() core.NSInteger { ret := C.NSWindow_inst_titleVisibility( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetTitleVisibility A value that indicates the visibility of the window’s title and title bar buttons. +// https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc func (x gen_NSWindow) SetTitleVisibility( value core.NSInteger, ) { @@ -18621,19 +20673,24 @@ func (x gen_NSWindow) SetTitleVisibility( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } -func (x gen_NSWindow) RepresentedFilename() ( - r0 core.NSString, -) { +// RepresentedFilename The path to the file of the window’s represented file. +// https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc +func (x gen_NSWindow) RepresentedFilename() core.NSString { ret := C.NSWindow_inst_representedFilename( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetRepresentedFilename The path to the file of the window’s represented file. +// https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc func (x gen_NSWindow) SetRepresentedFilename( value core.NSStringRef, ) { @@ -18641,19 +20698,24 @@ func (x gen_NSWindow) SetRepresentedFilename( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) RepresentedURL() ( - r0 core.NSURL, -) { +// RepresentedURL The URL of the file the window represents. +// https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc +func (x gen_NSWindow) RepresentedURL() core.NSURL { ret := C.NSWindow_inst_representedURL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// SetRepresentedURL The URL of the file the window represents. +// https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc func (x gen_NSWindow) SetRepresentedURL( value core.NSURLRef, ) { @@ -18661,39 +20723,46 @@ func (x gen_NSWindow) SetRepresentedURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) Screen() ( - r0 NSScreen, -) { +// Screen The screen the window is on. +// https://developer.apple.com/documentation/appkit/nswindow/1419232-screen?language=objc +func (x gen_NSWindow) Screen() NSScreen { ret := C.NSWindow_inst_screen( unsafe.Pointer(x.Pointer()), ) - r0 = NSScreen_fromPointer(ret) - return + + return NSScreen_fromPointer(ret) + } -func (x gen_NSWindow) DeepestScreen() ( - r0 NSScreen, -) { +// DeepestScreen The deepest screen the window is on (it may be split over several screens). +// https://developer.apple.com/documentation/appkit/nswindow/1419080-deepestscreen?language=objc +func (x gen_NSWindow) DeepestScreen() NSScreen { ret := C.NSWindow_inst_deepestScreen( unsafe.Pointer(x.Pointer()), ) - r0 = NSScreen_fromPointer(ret) - return + + return NSScreen_fromPointer(ret) + } -func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() ( - r0 bool, -) { +// DisplaysWhenScreenProfileChanges A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. +// https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc +func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() bool { ret := C.NSWindow_inst_displaysWhenScreenProfileChanges( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDisplaysWhenScreenProfileChanges A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. +// https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( value bool, ) { @@ -18701,19 +20770,24 @@ func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IsMovableByWindowBackground() ( - r0 bool, -) { +// IsMovableByWindowBackground A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. +// https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc +func (x gen_NSWindow) IsMovableByWindowBackground() bool { ret := C.NSWindow_inst_isMovableByWindowBackground( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetMovableByWindowBackground A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. +// https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc func (x gen_NSWindow) SetMovableByWindowBackground( value bool, ) { @@ -18721,19 +20795,24 @@ func (x gen_NSWindow) SetMovableByWindowBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IsMovable() ( - r0 bool, -) { +// IsMovable A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background. +// https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc +func (x gen_NSWindow) IsMovable() bool { ret := C.NSWindow_inst_isMovable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetMovable A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background. +// https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc func (x gen_NSWindow) SetMovable( value bool, ) { @@ -18741,19 +20820,24 @@ func (x gen_NSWindow) SetMovable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IsReleasedWhenClosed() ( - r0 bool, -) { +// IsReleasedWhenClosed A Boolean value that indicates whether the window is released when it receives the close message. +// https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc +func (x gen_NSWindow) IsReleasedWhenClosed() bool { ret := C.NSWindow_inst_isReleasedWhenClosed( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetReleasedWhenClosed A Boolean value that indicates whether the window is released when it receives the close message. +// https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc func (x gen_NSWindow) SetReleasedWhenClosed( value bool, ) { @@ -18761,29 +20845,35 @@ func (x gen_NSWindow) SetReleasedWhenClosed( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSWindow) IsMiniaturized() ( - r0 bool, -) { +// IsMiniaturized A Boolean value that indicates whether the window is minimized. +// https://developer.apple.com/documentation/appkit/nswindow/1419699-miniaturized?language=objc +func (x gen_NSWindow) IsMiniaturized() bool { ret := C.NSWindow_inst_isMiniaturized( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) MiniwindowImage() ( - r0 NSImage, -) { +// MiniwindowImage The custom miniaturized window image of the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc +func (x gen_NSWindow) MiniwindowImage() NSImage { ret := C.NSWindow_inst_miniwindowImage( unsafe.Pointer(x.Pointer()), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// SetMiniwindowImage The custom miniaturized window image of the window. +// https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc func (x gen_NSWindow) SetMiniwindowImage( value NSImageRef, ) { @@ -18791,19 +20881,24 @@ func (x gen_NSWindow) SetMiniwindowImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) MiniwindowTitle() ( - r0 core.NSString, -) { +// MiniwindowTitle The title displayed in the window’s minimized window. +// https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc +func (x gen_NSWindow) MiniwindowTitle() core.NSString { ret := C.NSWindow_inst_miniwindowTitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetMiniwindowTitle The title displayed in the window’s minimized window. +// https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc func (x gen_NSWindow) SetMiniwindowTitle( value core.NSStringRef, ) { @@ -18811,89 +20906,101 @@ func (x gen_NSWindow) SetMiniwindowTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSWindow) HasCloseBox() ( - r0 bool, -) { +// HasCloseBox A Boolean value that indicates if the window has a close box. +// https://developer.apple.com/documentation/appkit/nswindow/1449574-hasclosebox?language=objc +func (x gen_NSWindow) HasCloseBox() bool { ret := C.NSWindow_inst_hasCloseBox( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) HasTitleBar() ( - r0 bool, -) { +// HasTitleBar A Boolean value that indicates if the window has a title bar. +// https://developer.apple.com/documentation/appkit/nswindow/1449568-hastitlebar?language=objc +func (x gen_NSWindow) HasTitleBar() bool { ret := C.NSWindow_inst_hasTitleBar( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsModalPanel() ( - r0 bool, -) { +// IsModalPanel A Boolean value that indicates whether the window is a modal panel. +// https://developer.apple.com/documentation/appkit/nswindow/1449576-modalpanel?language=objc +func (x gen_NSWindow) IsModalPanel() bool { ret := C.NSWindow_inst_isModalPanel( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsFloatingPanel() ( - r0 bool, -) { +// IsFloatingPanel A Boolean value that indicates whether the window is a floating panel. +// https://developer.apple.com/documentation/appkit/nswindow/1449579-floatingpanel?language=objc +func (x gen_NSWindow) IsFloatingPanel() bool { ret := C.NSWindow_inst_isFloatingPanel( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsZoomable() ( - r0 bool, -) { +// IsZoomable A Boolean value that indicates whether the window allows zooming. +// https://developer.apple.com/documentation/appkit/nswindow/1449587-zoomable?language=objc +func (x gen_NSWindow) IsZoomable() bool { ret := C.NSWindow_inst_isZoomable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsResizable() ( - r0 bool, -) { +// IsResizable A Boolean value that indicates if the user can resize the window. +// https://developer.apple.com/documentation/appkit/nswindow/1449572-resizable?language=objc +func (x gen_NSWindow) IsResizable() bool { ret := C.NSWindow_inst_isResizable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) IsMiniaturizable() ( - r0 bool, -) { +// IsMiniaturizable A Boolean value that indicates whether the window can minimize. +// https://developer.apple.com/documentation/appkit/nswindow/1449583-miniaturizable?language=objc +func (x gen_NSWindow) IsMiniaturizable() bool { ret := C.NSWindow_inst_isMiniaturizable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWindow) OrderedIndex() ( - r0 core.NSInteger, -) { +// OrderedIndex The zero-based position of the window, based on its order from front to back among all visible application windows. +// https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc +func (x gen_NSWindow) OrderedIndex() core.NSInteger { ret := C.NSWindow_inst_orderedIndex( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// SetOrderedIndex The zero-based position of the window, based on its order from front to back among all visible application windows. +// https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc func (x gen_NSWindow) SetOrderedIndex( value core.NSInteger, ) { @@ -18901,7 +21008,9 @@ func (x gen_NSWindow) SetOrderedIndex( unsafe.Pointer(x.Pointer()), C.long(value), ) + return + } type NSWorkspaceRef interface { @@ -18923,58 +21032,64 @@ func NSWorkspace_fromRef(ref objc.Ref) NSWorkspace { return NSWorkspace_fromPointer(unsafe.Pointer(ref.Pointer())) } +// URLForApplicationToOpenURL Returns the URL to the default app that would be opened. +// https://developer.apple.com/documentation/appkit/nsworkspace/1533391-urlforapplicationtoopenurl?language=objc func (x gen_NSWorkspace) URLForApplicationToOpenURL( url core.NSURLRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSWorkspace_inst_URLForApplicationToOpenURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// URLForApplicationWithBundleIdentifier Returns the URL for the app with the specified identifier. +// https://developer.apple.com/documentation/appkit/nsworkspace/1534053-urlforapplicationwithbundleident?language=objc func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( bundleIdentifier core.NSStringRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSWorkspace_inst_URLForApplicationWithBundleIdentifier( unsafe.Pointer(x.Pointer()), objc.RefPointer(bundleIdentifier), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// URLsForApplicationsToOpenURL +// https://developer.apple.com/documentation/appkit/nsworkspace/3753000-urlsforapplicationstoopenurl?language=objc func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( url core.NSURLRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSWorkspace_inst_URLsForApplicationsToOpenURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// URLsForApplicationsWithBundleIdentifier +// https://developer.apple.com/documentation/appkit/nsworkspace/3753001-urlsforapplicationswithbundleide?language=objc func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( bundleIdentifier core.NSStringRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier( unsafe.Pointer(x.Pointer()), objc.RefPointer(bundleIdentifier), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// ActivateFileViewerSelectingURLs Activates the Finder, and opens one or more windows selecting the specified files. +// https://developer.apple.com/documentation/appkit/nsworkspace/1524549-activatefileviewerselectingurls?language=objc func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( fileURLs core.NSArrayRef, ) { @@ -18982,94 +21097,108 @@ func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileURLs), ) + return + } +// DesktopImageOptionsForScreen Returns the desktop image options for the given screen. +// https://developer.apple.com/documentation/appkit/nsworkspace/1530855-desktopimageoptionsforscreen?language=objc func (x gen_NSWorkspace) DesktopImageOptionsForScreen( screen NSScreenRef, -) ( - r0 core.NSDictionary, -) { +) core.NSDictionary { ret := C.NSWorkspace_inst_desktopImageOptionsForScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } +// DesktopImageURLForScreen Returns the URL for the desktop image for the given screen. +// https://developer.apple.com/documentation/appkit/nsworkspace/1530635-desktopimageurlforscreen?language=objc func (x gen_NSWorkspace) DesktopImageURLForScreen( screen NSScreenRef, -) ( - r0 core.NSURL, -) { +) core.NSURL { ret := C.NSWorkspace_inst_desktopImageURLForScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } +// ExtendPowerOffBy Requests the system wait for the specified amount of time before turning off the power or logging out the user. +// https://developer.apple.com/documentation/appkit/nsworkspace/1533106-extendpoweroffby?language=objc func (x gen_NSWorkspace) ExtendPowerOffBy( requested core.NSInteger, -) ( - r0 core.NSInteger, -) { +) core.NSInteger { ret := C.NSWorkspace_inst_extendPowerOffBy( unsafe.Pointer(x.Pointer()), C.long(requested), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } +// HideOtherApplications Hides all applications other than the sender. +// https://developer.apple.com/documentation/appkit/nsworkspace/1530417-hideotherapplications?language=objc func (x gen_NSWorkspace) HideOtherApplications() { C.NSWorkspace_inst_hideOtherApplications( unsafe.Pointer(x.Pointer()), ) + return + } +// IconForFile Returns an image containing the icon for the specified file. +// https://developer.apple.com/documentation/appkit/nsworkspace/1528158-iconforfile?language=objc func (x gen_NSWorkspace) IconForFile( fullPath core.NSStringRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSWorkspace_inst_iconForFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// IconForFiles Returns an image containing the icon for the specified files. +// https://developer.apple.com/documentation/appkit/nsworkspace/1525487-iconforfiles?language=objc func (x gen_NSWorkspace) IconForFiles( fullPaths core.NSArrayRef, -) ( - r0 NSImage, -) { +) NSImage { ret := C.NSWorkspace_inst_iconForFiles( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPaths), ) - r0 = NSImage_fromPointer(ret) - return + + return NSImage_fromPointer(ret) + } +// IsFilePackageAtPath Determines whether the specified path is a file package. +// https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc func (x gen_NSWorkspace) IsFilePackageAtPath( fullPath core.NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSWorkspace_inst_isFilePackageAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// NoteFileSystemChanged Informs the workspace object that the file system changed at the specified path. +// https://developer.apple.com/documentation/appkit/nsworkspace/1525376-notefilesystemchanged?language=objc func (x gen_NSWorkspace) NoteFileSystemChanged( path core.NSStringRef, ) { @@ -19077,191 +21206,209 @@ func (x gen_NSWorkspace) NoteFileSystemChanged( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) + return + } +// OpenURL Opens the location at the specified URL. +// https://developer.apple.com/documentation/appkit/nsworkspace/1533463-openurl?language=objc func (x gen_NSWorkspace) OpenURL( url core.NSURLRef, -) ( - r0 bool, -) { +) bool { ret := C.NSWorkspace_inst_openURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SelectFile_inFileViewerRootedAtPath Selects the file at the specified path. +// https://developer.apple.com/documentation/appkit/nsworkspace/1524399-selectfile?language=objc func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( fullPath core.NSStringRef, rootFullPath core.NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSWorkspace_inst_selectFile_inFileViewerRootedAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), objc.RefPointer(rootFullPath), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ShowSearchResultsForQueryString Displays a Spotlight search results window in Finder for the specified query string. +// https://developer.apple.com/documentation/appkit/nsworkspace/1532131-showsearchresultsforquerystring?language=objc func (x gen_NSWorkspace) ShowSearchResultsForQueryString( queryString core.NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSWorkspace_inst_showSearchResultsForQueryString( unsafe.Pointer(x.Pointer()), objc.RefPointer(queryString), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// UnmountAndEjectDeviceAtPath Unmounts and ejects the device at the specified path. +// https://developer.apple.com/documentation/appkit/nsworkspace/1527741-unmountandejectdeviceatpath?language=objc func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( path core.NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSWorkspace_inst_unmountAndEjectDeviceAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) Init_asNSWorkspace() ( - r0 NSWorkspace, -) { +// Init_asNSWorkspace +func (x gen_NSWorkspace) Init_asNSWorkspace() NSWorkspace { ret := C.NSWorkspace_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSWorkspace_fromPointer(ret) - return + + return NSWorkspace_fromPointer(ret) + } -func (x gen_NSWorkspace) FrontmostApplication() ( - r0 NSRunningApplication, -) { +// FrontmostApplication Returns the frontmost app, which is the app that receives key events. +// https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc +func (x gen_NSWorkspace) FrontmostApplication() NSRunningApplication { ret := C.NSWorkspace_inst_frontmostApplication( unsafe.Pointer(x.Pointer()), ) - r0 = NSRunningApplication_fromPointer(ret) - return + + return NSRunningApplication_fromPointer(ret) + } -func (x gen_NSWorkspace) RunningApplications() ( - r0 core.NSArray, -) { +// RunningApplications Returns an array of running apps. +// https://developer.apple.com/documentation/appkit/nsworkspace/1534059-runningapplications?language=objc +func (x gen_NSWorkspace) RunningApplications() core.NSArray { ret := C.NSWorkspace_inst_runningApplications( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSWorkspace) MenuBarOwningApplication() ( - r0 NSRunningApplication, -) { +// MenuBarOwningApplication Returns the app that owns the currently displayed menu bar. +// https://developer.apple.com/documentation/appkit/nsworkspace/1525848-menubarowningapplication?language=objc +func (x gen_NSWorkspace) MenuBarOwningApplication() NSRunningApplication { ret := C.NSWorkspace_inst_menuBarOwningApplication( unsafe.Pointer(x.Pointer()), ) - r0 = NSRunningApplication_fromPointer(ret) - return + + return NSRunningApplication_fromPointer(ret) + } -func (x gen_NSWorkspace) FileLabels() ( - r0 core.NSArray, -) { +// FileLabels The array of file labels, returned as strings. +// https://developer.apple.com/documentation/appkit/nsworkspace/1533953-filelabels?language=objc +func (x gen_NSWorkspace) FileLabels() core.NSArray { ret := C.NSWorkspace_inst_fileLabels( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSWorkspace) FileLabelColors() ( - r0 core.NSArray, -) { +// FileLabelColors The array of colors for the file labels. +// https://developer.apple.com/documentation/appkit/nsworkspace/1527553-filelabelcolors?language=objc +func (x gen_NSWorkspace) FileLabelColors() core.NSArray { ret := C.NSWorkspace_inst_fileLabelColors( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() ( - r0 bool, -) { +// AccessibilityDisplayShouldDifferentiateWithoutColor A Boolean value that indicates whether the app avoids conveying information through color alone. +// https://developer.apple.com/documentation/appkit/nsworkspace/1524656-accessibilitydisplayshoulddiffer?language=objc +func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldDifferentiateWithoutColor( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() ( - r0 bool, -) { +// AccessibilityDisplayShouldIncreaseContrast A Boolean value that indicates whether the app presents a high-contrast user interface. +// https://developer.apple.com/documentation/appkit/nsworkspace/1526290-accessibilitydisplayshouldincrea?language=objc +func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldIncreaseContrast( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() ( - r0 bool, -) { +// AccessibilityDisplayShouldReduceTransparency A Boolean value that indicates whether the app avoids using semitransparent backgrounds. +// https://developer.apple.com/documentation/appkit/nsworkspace/1533006-accessibilitydisplayshouldreduce?language=objc +func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldReduceTransparency( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() ( - r0 bool, -) { +// AccessibilityDisplayShouldInvertColors A Boolean value that indicates whether the accessibility option to invert colors is in an enabled state. +// https://developer.apple.com/documentation/appkit/nsworkspace/1644068-accessibilitydisplayshouldinvert?language=objc +func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldInvertColors( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() ( - r0 bool, -) { +// AccessibilityDisplayShouldReduceMotion A Boolean value that indicates whether the accessibility option to reduce motion is in an enabled state. +// https://developer.apple.com/documentation/appkit/nsworkspace/1644069-accessibilitydisplayshouldreduce?language=objc +func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldReduceMotion( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) IsSwitchControlEnabled() ( - r0 bool, -) { +// IsSwitchControlEnabled A Boolean value that indicates whether Switch Control is currently running. +// https://developer.apple.com/documentation/appkit/nsworkspace/2880322-switchcontrolenabled?language=objc +func (x gen_NSWorkspace) IsSwitchControlEnabled() bool { ret := C.NSWorkspace_inst_isSwitchControlEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSWorkspace) IsVoiceOverEnabled() ( - r0 bool, -) { +// IsVoiceOverEnabled A Boolean value that indicates whether VoiceOver is currently running. +// https://developer.apple.com/documentation/appkit/nsworkspace/2880317-voiceoverenabled?language=objc +func (x gen_NSWorkspace) IsVoiceOverEnabled() bool { ret := C.NSWorkspace_inst_isVoiceOverEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSColorRef interface { @@ -19283,34 +21430,38 @@ func NSColor_fromRef(ref objc.Ref) NSColor { return NSColor_fromPointer(unsafe.Pointer(ref.Pointer())) } +// BlendedColorWithFraction_ofColor Creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. +// https://developer.apple.com/documentation/appkit/nscolor/1524689-blendedcolorwithfraction?language=objc func (x gen_NSColor) BlendedColorWithFraction_ofColor( fraction core.CGFloat, color NSColorRef, -) ( - r0 NSColor, -) { +) NSColor { ret := C.NSColor_inst_blendedColorWithFraction_ofColor( unsafe.Pointer(x.Pointer()), C.double(fraction), objc.RefPointer(color), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// ColorWithAlphaComponent Creates a new color object that has the same color space and component values as the current color object, but the specified alpha component. +// https://developer.apple.com/documentation/appkit/nscolor/1526906-colorwithalphacomponent?language=objc func (x gen_NSColor) ColorWithAlphaComponent( alpha core.CGFloat, -) ( - r0 NSColor, -) { +) NSColor { ret := C.NSColor_inst_colorWithAlphaComponent( unsafe.Pointer(x.Pointer()), C.double(alpha), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// DrawSwatchInRect Draws the current color in the specified rectangle. +// https://developer.apple.com/documentation/appkit/nscolor/1531770-drawswatchinrect?language=objc func (x gen_NSColor) DrawSwatchInRect( rect core.NSRect, ) { @@ -19318,56 +21469,74 @@ func (x gen_NSColor) DrawSwatchInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// HighlightWithLevel Creates a new color object that represents a blend between the current color and the highlight color. +// https://developer.apple.com/documentation/appkit/nscolor/1533061-highlightwithlevel?language=objc func (x gen_NSColor) HighlightWithLevel( val core.CGFloat, -) ( - r0 NSColor, -) { +) NSColor { ret := C.NSColor_inst_highlightWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// Set Sets the color of subsequent drawing to the color that the color object represents. +// https://developer.apple.com/documentation/appkit/nscolor/1527089-set?language=objc func (x gen_NSColor) Set() { C.NSColor_inst_set( unsafe.Pointer(x.Pointer()), ) + return + } +// SetFill Sets the fill color of subsequent drawing to the color object’s color. +// https://developer.apple.com/documentation/appkit/nscolor/1524755-setfill?language=objc func (x gen_NSColor) SetFill() { C.NSColor_inst_setFill( unsafe.Pointer(x.Pointer()), ) + return + } +// SetStroke Sets the stroke color of subsequent drawing to the color object’s color. +// https://developer.apple.com/documentation/appkit/nscolor/1531019-setstroke?language=objc func (x gen_NSColor) SetStroke() { C.NSColor_inst_setStroke( unsafe.Pointer(x.Pointer()), ) + return + } +// ShadowWithLevel Creates a new color object that represents a blend between the current color and the shadow color. +// https://developer.apple.com/documentation/appkit/nscolor/1528523-shadowwithlevel?language=objc func (x gen_NSColor) ShadowWithLevel( val core.CGFloat, -) ( - r0 NSColor, -) { +) NSColor { ret := C.NSColor_inst_shadowWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// WriteToPasteboard Writes the color object’s data to the specified pasteboard. +// https://developer.apple.com/documentation/appkit/nscolor/1532199-writetopasteboard?language=objc func (x gen_NSColor) WriteToPasteboard( pasteBoard NSPasteboardRef, ) { @@ -19375,167 +21544,184 @@ func (x gen_NSColor) WriteToPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteBoard), ) + return + } -func (x gen_NSColor) Init_asNSColor() ( - r0 NSColor, -) { +// Init_asNSColor +func (x gen_NSColor) Init_asNSColor() NSColor { ret := C.NSColor_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } -func (x gen_NSColor) NumberOfComponents() ( - r0 core.NSInteger, -) { +// NumberOfComponents The number of components in the color. +// https://developer.apple.com/documentation/appkit/nscolor/1531308-numberofcomponents?language=objc +func (x gen_NSColor) NumberOfComponents() core.NSInteger { ret := C.NSColor_inst_numberOfComponents( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSColor) AlphaComponent() ( - r0 core.CGFloat, -) { +// AlphaComponent The alpha (opacity) component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1532504-alphacomponent?language=objc +func (x gen_NSColor) AlphaComponent() core.CGFloat { ret := C.NSColor_inst_alphaComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) WhiteComponent() ( - r0 core.CGFloat, -) { +// WhiteComponent The white component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1534051-whitecomponent?language=objc +func (x gen_NSColor) WhiteComponent() core.CGFloat { ret := C.NSColor_inst_whiteComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) RedComponent() ( - r0 core.CGFloat, -) { +// RedComponent The red component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1530483-redcomponent?language=objc +func (x gen_NSColor) RedComponent() core.CGFloat { ret := C.NSColor_inst_redComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) GreenComponent() ( - r0 core.CGFloat, -) { +// GreenComponent The green component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1525935-greencomponent?language=objc +func (x gen_NSColor) GreenComponent() core.CGFloat { ret := C.NSColor_inst_greenComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) BlueComponent() ( - r0 core.CGFloat, -) { +// BlueComponent The blue component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1534229-bluecomponent?language=objc +func (x gen_NSColor) BlueComponent() core.CGFloat { ret := C.NSColor_inst_blueComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) CyanComponent() ( - r0 core.CGFloat, -) { +// CyanComponent The cyan component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1528234-cyancomponent?language=objc +func (x gen_NSColor) CyanComponent() core.CGFloat { ret := C.NSColor_inst_cyanComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) MagentaComponent() ( - r0 core.CGFloat, -) { +// MagentaComponent The magenta component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1535560-magentacomponent?language=objc +func (x gen_NSColor) MagentaComponent() core.CGFloat { ret := C.NSColor_inst_magentaComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) YellowComponent() ( - r0 core.CGFloat, -) { +// YellowComponent The yellow component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1531965-yellowcomponent?language=objc +func (x gen_NSColor) YellowComponent() core.CGFloat { ret := C.NSColor_inst_yellowComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) BlackComponent() ( - r0 core.CGFloat, -) { +// BlackComponent The black component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1526883-blackcomponent?language=objc +func (x gen_NSColor) BlackComponent() core.CGFloat { ret := C.NSColor_inst_blackComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) HueComponent() ( - r0 core.CGFloat, -) { +// HueComponent The hue component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1531780-huecomponent?language=objc +func (x gen_NSColor) HueComponent() core.CGFloat { ret := C.NSColor_inst_hueComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) SaturationComponent() ( - r0 core.CGFloat, -) { +// SaturationComponent The saturation component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1526326-saturationcomponent?language=objc +func (x gen_NSColor) SaturationComponent() core.CGFloat { ret := C.NSColor_inst_saturationComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) BrightnessComponent() ( - r0 core.CGFloat, -) { +// BrightnessComponent The brightness component value of the color. +// https://developer.apple.com/documentation/appkit/nscolor/1529355-brightnesscomponent?language=objc +func (x gen_NSColor) BrightnessComponent() core.CGFloat { ret := C.NSColor_inst_brightnessComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSColor) LocalizedCatalogNameComponent() ( - r0 core.NSString, -) { +// LocalizedCatalogNameComponent The localized version of the catalog name containing the color. +// https://developer.apple.com/documentation/appkit/nscolor/1535351-localizedcatalognamecomponent?language=objc +func (x gen_NSColor) LocalizedCatalogNameComponent() core.NSString { ret := C.NSColor_inst_localizedCatalogNameComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSColor) LocalizedColorNameComponent() ( - r0 core.NSString, -) { +// LocalizedColorNameComponent The localized version of the color name. +// https://developer.apple.com/documentation/appkit/nscolor/1527286-localizedcolornamecomponent?language=objc +func (x gen_NSColor) LocalizedColorNameComponent() core.NSString { ret := C.NSColor_inst_localizedColorNameComponent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } type NSTextViewRef interface { @@ -19557,6 +21743,8 @@ func NSTextView_fromRef(ref objc.Ref) NSTextView { return NSTextView_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AlignJustified Applies full justification to selected paragraphs (or all text, if the receiver is a plain text object). +// https://developer.apple.com/documentation/appkit/nstextview/1449515-alignjustified?language=objc func (x gen_NSTextView) AlignJustified( sender objc.Ref, ) { @@ -19564,16 +21752,24 @@ func (x gen_NSTextView) AlignJustified( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// BreakUndoCoalescing Informs the receiver that it should begin coalescing successive typing operations in a new undo grouping. +// https://developer.apple.com/documentation/appkit/nstextview/1449384-breakundocoalescing?language=objc func (x gen_NSTextView) BreakUndoCoalescing() { C.NSTextView_inst_breakUndoCoalescing( unsafe.Pointer(x.Pointer()), ) + return + } +// ChangeAttributes Changes the attributes of the current selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449216-changeattributes?language=objc func (x gen_NSTextView) ChangeAttributes( sender objc.Ref, ) { @@ -19581,9 +21777,13 @@ func (x gen_NSTextView) ChangeAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ChangeColor Sets the color of the selected text. +// https://developer.apple.com/documentation/appkit/nstextview/1449282-changecolor?language=objc func (x gen_NSTextView) ChangeColor( sender objc.Ref, ) { @@ -19591,9 +21791,13 @@ func (x gen_NSTextView) ChangeColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ChangeDocumentBackgroundColor An action method used to set the background color. +// https://developer.apple.com/documentation/appkit/nstextview/1449475-changedocumentbackgroundcolor?language=objc func (x gen_NSTextView) ChangeDocumentBackgroundColor( sender objc.Ref, ) { @@ -19601,9 +21805,13 @@ func (x gen_NSTextView) ChangeDocumentBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ChangeLayoutOrientation An action method that sets the layout orientation of the text. +// https://developer.apple.com/documentation/appkit/nstextview/1449286-changelayoutorientation?language=objc func (x gen_NSTextView) ChangeLayoutOrientation( sender objc.Ref, ) { @@ -19611,22 +21819,27 @@ func (x gen_NSTextView) ChangeLayoutOrientation( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// CharacterIndexForInsertionAtPoint Returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point. +// https://developer.apple.com/documentation/appkit/nstextview/1449505-characterindexforinsertionatpoin?language=objc func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( point core.NSPoint, -) ( - r0 core.NSUInteger, -) { +) core.NSUInteger { ret := C.NSTextView_inst_characterIndexForInsertionAtPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = core.NSUInteger(ret) - return + + return core.NSUInteger(ret) + } +// CheckTextInDocument Performs the default text checking on the entire document. +// https://developer.apple.com/documentation/appkit/nstextview/1449440-checktextindocument?language=objc func (x gen_NSTextView) CheckTextInDocument( sender objc.Ref, ) { @@ -19634,9 +21847,13 @@ func (x gen_NSTextView) CheckTextInDocument( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// CheckTextInSelection Performs the default text checking on the current selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449382-checktextinselection?language=objc func (x gen_NSTextView) CheckTextInSelection( sender objc.Ref, ) { @@ -19644,16 +21861,24 @@ func (x gen_NSTextView) CheckTextInSelection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// CleanUpAfterDragOperation Releases the drag information still existing after the dragging session has completed. +// https://developer.apple.com/documentation/appkit/nstextview/1449202-cleanupafterdragoperation?language=objc func (x gen_NSTextView) CleanUpAfterDragOperation() { C.NSTextView_inst_cleanUpAfterDragOperation( unsafe.Pointer(x.Pointer()), ) + return + } +// ClickedOnLink_atIndex Causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. +// https://developer.apple.com/documentation/appkit/nstextview/1449497-clickedonlink?language=objc func (x gen_NSTextView) ClickedOnLink_atIndex( link objc.Ref, charIndex core.NSUInteger, @@ -19663,9 +21888,13 @@ func (x gen_NSTextView) ClickedOnLink_atIndex( objc.RefPointer(link), C.ulong(charIndex), ) + return + } +// Complete Invokes completion in a text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449359-complete?language=objc func (x gen_NSTextView) Complete( sender objc.Ref, ) { @@ -19673,33 +21902,42 @@ func (x gen_NSTextView) Complete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// DidChangeText Sends out necessary notifications when a text change completes. +// https://developer.apple.com/documentation/appkit/nstextview/1449296-didchangetext?language=objc func (x gen_NSTextView) DidChangeText() { C.NSTextView_inst_didChangeText( unsafe.Pointer(x.Pointer()), ) + return + } +// DragSelectionWithEvent_offset_slideBack Begins dragging the current selected text range. +// https://developer.apple.com/documentation/appkit/nstextview/1449413-dragselectionwithevent?language=objc func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( event NSEventRef, mouseOffset core.NSSize, slideBack bool, -) ( - r0 bool, -) { +) bool { ret := C.NSTextView_inst_dragSelectionWithEvent_offset_slideBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), *(*C.NSSize)(unsafe.Pointer(&mouseOffset)), convertToObjCBool(slideBack), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// DrawInsertionPointInRect_color_turnedOn Draws or erases the insertion point. +// https://developer.apple.com/documentation/appkit/nstextview/1449232-drawinsertionpointinrect?language=objc func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( rect core.NSRect, color NSColorRef, @@ -19711,9 +21949,13 @@ func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( objc.RefPointer(color), convertToObjCBool(flag), ) + return + } +// DrawViewBackgroundInRect Draws the background of the text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449135-drawviewbackgroundinrect?language=objc func (x gen_NSTextView) DrawViewBackgroundInRect( rect core.NSRect, ) { @@ -19721,44 +21963,54 @@ func (x gen_NSTextView) DrawViewBackgroundInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// InitWithFrame_asNSTextView Initializes a text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449262-initwithframe?language=objc func (x gen_NSTextView) InitWithFrame_asNSTextView( frameRect core.NSRect, -) ( - r0 NSTextView, -) { +) NSTextView { ret := C.NSTextView_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } +// InitWithFrame_textContainer_asNSTextView Initializes a text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449347-initwithframe?language=objc func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( frameRect core.NSRect, container NSTextContainerRef, -) ( - r0 NSTextView, -) { +) NSTextView { ret := C.NSTextView_inst_initWithFrame_textContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), objc.RefPointer(container), ) - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } +// InvalidateTextContainerOrigin Invalidates the calculated origin of the text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449546-invalidatetextcontainerorigin?language=objc func (x gen_NSTextView) InvalidateTextContainerOrigin() { C.NSTextView_inst_invalidateTextContainerOrigin( unsafe.Pointer(x.Pointer()), ) + return + } +// LoosenKerning Increases the space between glyphs in the receiver’s selection, or in all text if the receiver is a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449183-loosenkerning?language=objc func (x gen_NSTextView) LoosenKerning( sender objc.Ref, ) { @@ -19766,9 +22018,13 @@ func (x gen_NSTextView) LoosenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// LowerBaseline Lowers the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449289-lowerbaseline?language=objc func (x gen_NSTextView) LowerBaseline( sender objc.Ref, ) { @@ -19776,9 +22032,13 @@ func (x gen_NSTextView) LowerBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontLinkPanel Brings forward a panel allowing the user to manipulate links in the text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449238-orderfrontlinkpanel?language=objc func (x gen_NSTextView) OrderFrontLinkPanel( sender objc.Ref, ) { @@ -19786,9 +22046,13 @@ func (x gen_NSTextView) OrderFrontLinkPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontListPanel Brings forward a panel allowing the user to manipulate text lists in the text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449349-orderfrontlistpanel?language=objc func (x gen_NSTextView) OrderFrontListPanel( sender objc.Ref, ) { @@ -19796,9 +22060,13 @@ func (x gen_NSTextView) OrderFrontListPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontSharingServicePicker Creates and displays a new instance of the sharing service picker. +// https://developer.apple.com/documentation/appkit/nstextview/1449150-orderfrontsharingservicepicker?language=objc func (x gen_NSTextView) OrderFrontSharingServicePicker( sender objc.Ref, ) { @@ -19806,9 +22074,13 @@ func (x gen_NSTextView) OrderFrontSharingServicePicker( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontSpacingPanel Brings forward a panel allowing the user to manipulate text line heights, interline spacing, and paragraph spacing, in the text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449438-orderfrontspacingpanel?language=objc func (x gen_NSTextView) OrderFrontSpacingPanel( sender objc.Ref, ) { @@ -19816,9 +22088,13 @@ func (x gen_NSTextView) OrderFrontSpacingPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontSubstitutionsPanel Brings forward a panel allowing the user to specify string substitutions in the text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449327-orderfrontsubstitutionspanel?language=objc func (x gen_NSTextView) OrderFrontSubstitutionsPanel( sender objc.Ref, ) { @@ -19826,9 +22102,13 @@ func (x gen_NSTextView) OrderFrontSubstitutionsPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// OrderFrontTablePanel Brings forward a panel allowing the user to manipulate text tables in the text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449442-orderfronttablepanel?language=objc func (x gen_NSTextView) OrderFrontTablePanel( sender objc.Ref, ) { @@ -19836,9 +22116,13 @@ func (x gen_NSTextView) OrderFrontTablePanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// Outline Adds the outline attribute to the selected text attributes if absent; removes the attribute if present. +// https://developer.apple.com/documentation/appkit/nstextview/1449386-outline?language=objc func (x gen_NSTextView) Outline( sender objc.Ref, ) { @@ -19846,9 +22130,13 @@ func (x gen_NSTextView) Outline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PasteAsPlainText Inserts the contents of the pasteboard into the receiver’s text as plain text. +// https://developer.apple.com/documentation/appkit/nstextview/1449250-pasteasplaintext?language=objc func (x gen_NSTextView) PasteAsPlainText( sender objc.Ref, ) { @@ -19856,9 +22144,13 @@ func (x gen_NSTextView) PasteAsPlainText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PasteAsRichText This action method inserts the contents of the pasteboard into the receiver’s text as rich text, maintaining its attributes. +// https://developer.apple.com/documentation/appkit/nstextview/1449395-pasteasrichtext?language=objc func (x gen_NSTextView) PasteAsRichText( sender objc.Ref, ) { @@ -19866,9 +22158,13 @@ func (x gen_NSTextView) PasteAsRichText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// PerformFindPanelAction Performs a find panel action specified by the sender's tag. +// https://developer.apple.com/documentation/appkit/nstextview/1449525-performfindpanelaction?language=objc func (x gen_NSTextView) PerformFindPanelAction( sender objc.Ref, ) { @@ -19876,22 +22172,27 @@ func (x gen_NSTextView) PerformFindPanelAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// QuickLookPreviewableItemsInRanges Returns an array of URLs for items that can be displayed by QuickLook in the specified ranges. +// https://developer.apple.com/documentation/appkit/nstextview/1449426-quicklookpreviewableitemsinrange?language=objc func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( ranges core.NSArrayRef, -) ( - r0 core.NSArray, -) { +) core.NSArray { ret := C.NSTextView_inst_quickLookPreviewableItemsInRanges( unsafe.Pointer(x.Pointer()), objc.RefPointer(ranges), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// RaiseBaseline Raises the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449198-raisebaseline?language=objc func (x gen_NSTextView) RaiseBaseline( sender objc.Ref, ) { @@ -19899,22 +22200,27 @@ func (x gen_NSTextView) RaiseBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ReadSelectionFromPasteboard Reads the text view’s preferred type of data from the specified pasteboard. +// https://developer.apple.com/documentation/appkit/nstextview/1449469-readselectionfrompasteboard?language=objc func (x gen_NSTextView) ReadSelectionFromPasteboard( pboard NSPasteboardRef, -) ( - r0 bool, -) { +) bool { ret := C.NSTextView_inst_readSelectionFromPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pboard), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ReplaceTextContainer Replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact. +// https://developer.apple.com/documentation/appkit/nstextview/1449479-replacetextcontainer?language=objc func (x gen_NSTextView) ReplaceTextContainer( newContainer NSTextContainerRef, ) { @@ -19922,9 +22228,13 @@ func (x gen_NSTextView) ReplaceTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(newContainer), ) + return + } +// SetConstrainedFrameSize Attempts to set the frame size as if by user action. +// https://developer.apple.com/documentation/appkit/nstextview/1449230-setconstrainedframesize?language=objc func (x gen_NSTextView) SetConstrainedFrameSize( desiredSize core.NSSize, ) { @@ -19932,9 +22242,13 @@ func (x gen_NSTextView) SetConstrainedFrameSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&desiredSize)), ) + return + } +// SetNeedsDisplayInRect_avoidAdditionalLayout Marks the receiver as requiring display. +// https://developer.apple.com/documentation/appkit/nstextview/1449279-setneedsdisplayinrect?language=objc func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( rect core.NSRect, flag bool, @@ -19944,24 +22258,29 @@ func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( *(*C.NSRect)(unsafe.Pointer(&rect)), convertToObjCBool(flag), ) + return + } +// ShouldChangeTextInRanges_replacementStrings Initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. +// https://developer.apple.com/documentation/appkit/nstextview/1449311-shouldchangetextinranges?language=objc func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( affectedRanges core.NSArrayRef, replacementStrings core.NSArrayRef, -) ( - r0 bool, -) { +) bool { ret := C.NSTextView_inst_shouldChangeTextInRanges_replacementStrings( unsafe.Pointer(x.Pointer()), objc.RefPointer(affectedRanges), objc.RefPointer(replacementStrings), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// StartSpeaking Speaks the selected text, or all text if no selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449519-startspeaking?language=objc func (x gen_NSTextView) StartSpeaking( sender objc.Ref, ) { @@ -19969,9 +22288,13 @@ func (x gen_NSTextView) StartSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// StopSpeaking Stops the speaking of text. +// https://developer.apple.com/documentation/appkit/nstextview/1449172-stopspeaking?language=objc func (x gen_NSTextView) StopSpeaking( sender objc.Ref, ) { @@ -19979,9 +22302,13 @@ func (x gen_NSTextView) StopSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TightenKerning Decreases the space between glyphs in the receiver’s selection, or for all glyphs if the receiver is a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449137-tightenkerning?language=objc func (x gen_NSTextView) TightenKerning( sender objc.Ref, ) { @@ -19989,9 +22316,13 @@ func (x gen_NSTextView) TightenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticDashSubstitution Toggles the state of the automatic dash substitution. +// https://developer.apple.com/documentation/appkit/nstextview/1449305-toggleautomaticdashsubstitution?language=objc func (x gen_NSTextView) ToggleAutomaticDashSubstitution( sender objc.Ref, ) { @@ -19999,9 +22330,13 @@ func (x gen_NSTextView) ToggleAutomaticDashSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticDataDetection Toggles the state of the automatic data detection. +// https://developer.apple.com/documentation/appkit/nstextview/1449499-toggleautomaticdatadetection?language=objc func (x gen_NSTextView) ToggleAutomaticDataDetection( sender objc.Ref, ) { @@ -20009,9 +22344,13 @@ func (x gen_NSTextView) ToggleAutomaticDataDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticLinkDetection Changes the state of automatic link detection from enabled to disabled and vice versa. +// https://developer.apple.com/documentation/appkit/nstextview/1449353-toggleautomaticlinkdetection?language=objc func (x gen_NSTextView) ToggleAutomaticLinkDetection( sender objc.Ref, ) { @@ -20019,9 +22358,13 @@ func (x gen_NSTextView) ToggleAutomaticLinkDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticQuoteSubstitution Changes the state of automatic quotation mark substitution from enabled to disabled and vice versa. +// https://developer.apple.com/documentation/appkit/nstextview/1449444-toggleautomaticquotesubstitution?language=objc func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( sender objc.Ref, ) { @@ -20029,9 +22372,13 @@ func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticSpellingCorrection Toggles the state of the automatic spelling correction. +// https://developer.apple.com/documentation/appkit/nstextview/1449178-toggleautomaticspellingcorrectio?language=objc func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( sender objc.Ref, ) { @@ -20039,9 +22386,13 @@ func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticTextCompletion +// https://developer.apple.com/documentation/appkit/nstextview/2544841-toggleautomatictextcompletion?language=objc func (x gen_NSTextView) ToggleAutomaticTextCompletion( sender objc.Ref, ) { @@ -20049,9 +22400,13 @@ func (x gen_NSTextView) ToggleAutomaticTextCompletion( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleAutomaticTextReplacement Toggles the state of the automatic text replacement. +// https://developer.apple.com/documentation/appkit/nstextview/1449200-toggleautomatictextreplacement?language=objc func (x gen_NSTextView) ToggleAutomaticTextReplacement( sender objc.Ref, ) { @@ -20059,9 +22414,13 @@ func (x gen_NSTextView) ToggleAutomaticTextReplacement( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleContinuousSpellChecking Toggles whether continuous spell checking is enabled for the receiver. +// https://developer.apple.com/documentation/appkit/nstextview/1449471-togglecontinuousspellchecking?language=objc func (x gen_NSTextView) ToggleContinuousSpellChecking( sender objc.Ref, ) { @@ -20069,9 +22428,13 @@ func (x gen_NSTextView) ToggleContinuousSpellChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleGrammarChecking Changes the state of grammar checking from enabled to disabled and vice versa. +// https://developer.apple.com/documentation/appkit/nstextview/1449393-togglegrammarchecking?language=objc func (x gen_NSTextView) ToggleGrammarChecking( sender objc.Ref, ) { @@ -20079,9 +22442,13 @@ func (x gen_NSTextView) ToggleGrammarChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleQuickLookPreviewPanel An action message that toggles the visibility state of the Quick Look preview panel. +// https://developer.apple.com/documentation/appkit/nstextview/1449415-togglequicklookpreviewpanel?language=objc func (x gen_NSTextView) ToggleQuickLookPreviewPanel( sender objc.Ref, ) { @@ -20089,9 +22456,13 @@ func (x gen_NSTextView) ToggleQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// ToggleSmartInsertDelete Changes the state of smart insert and delete from enabled to disabled and vice versa. +// https://developer.apple.com/documentation/appkit/nstextview/1449273-togglesmartinsertdelete?language=objc func (x gen_NSTextView) ToggleSmartInsertDelete( sender objc.Ref, ) { @@ -20099,9 +22470,13 @@ func (x gen_NSTextView) ToggleSmartInsertDelete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TurnOffKerning Sets the receiver to use nominal glyph spacing for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449464-turnoffkerning?language=objc func (x gen_NSTextView) TurnOffKerning( sender objc.Ref, ) { @@ -20109,9 +22484,13 @@ func (x gen_NSTextView) TurnOffKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// TurnOffLigatures Sets the receiver to use only required ligatures when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449436-turnoffligatures?language=objc func (x gen_NSTextView) TurnOffLigatures( sender objc.Ref, ) { @@ -20119,30 +22498,46 @@ func (x gen_NSTextView) TurnOffLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// UpdateCandidates +// https://developer.apple.com/documentation/appkit/nstextview/2544833-updatecandidates?language=objc func (x gen_NSTextView) UpdateCandidates() { C.NSTextView_inst_updateCandidates( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateDragTypeRegistration Updates the acceptable drag types of all text views associated with the receiver's layout manager. +// https://developer.apple.com/documentation/appkit/nstextview/1449181-updatedragtyperegistration?language=objc func (x gen_NSTextView) UpdateDragTypeRegistration() { C.NSTextView_inst_updateDragTypeRegistration( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateFontPanel Updates the Font panel to contain the font attributes of the selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449401-updatefontpanel?language=objc func (x gen_NSTextView) UpdateFontPanel() { C.NSTextView_inst_updateFontPanel( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateInsertionPointStateAndRestartTimer Updates the insertion point’s location and optionally restarts the blinking cursor timer. +// https://developer.apple.com/documentation/appkit/nstextview/1449268-updateinsertionpointstateandrest?language=objc func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( restartFlag bool, ) { @@ -20150,37 +22545,57 @@ func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( unsafe.Pointer(x.Pointer()), convertToObjCBool(restartFlag), ) + return + } +// UpdateQuickLookPreviewPanel Notifies the QuickLook panel that an update may be required. +// https://developer.apple.com/documentation/appkit/nstextview/1449409-updatequicklookpreviewpanel?language=objc func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { C.NSTextView_inst_updateQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateRuler Updates the ruler view in the receiver’s enclosing scroll view to reflect the selection’s paragraph and marker attributes. +// https://developer.apple.com/documentation/appkit/nstextview/1449323-updateruler?language=objc func (x gen_NSTextView) UpdateRuler() { C.NSTextView_inst_updateRuler( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateTextTouchBarItems +// https://developer.apple.com/documentation/appkit/nstextview/2544676-updatetexttouchbaritems?language=objc func (x gen_NSTextView) UpdateTextTouchBarItems() { C.NSTextView_inst_updateTextTouchBarItems( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateTouchBarItemIdentifiers +// https://developer.apple.com/documentation/appkit/nstextview/2544834-updatetouchbaritemidentifiers?language=objc func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { C.NSTextView_inst_updateTouchBarItemIdentifiers( unsafe.Pointer(x.Pointer()), ) + return + } +// UseAllLigatures Sets the receiver to use all ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449213-useallligatures?language=objc func (x gen_NSTextView) UseAllLigatures( sender objc.Ref, ) { @@ -20188,9 +22603,13 @@ func (x gen_NSTextView) UseAllLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// UseStandardKerning Set the receiver to use pair kerning data for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449491-usestandardkerning?language=objc func (x gen_NSTextView) UseStandardKerning( sender objc.Ref, ) { @@ -20198,9 +22617,13 @@ func (x gen_NSTextView) UseStandardKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// UseStandardLigatures Sets the receiver to use the standard ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449144-usestandardligatures?language=objc func (x gen_NSTextView) UseStandardLigatures( sender objc.Ref, ) { @@ -20208,44 +22631,50 @@ func (x gen_NSTextView) UseStandardLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// WriteSelectionToPasteboard_types Writes the current selection to the specified pasteboard under each given type. +// https://developer.apple.com/documentation/appkit/nstextview/1449277-writeselectiontopasteboard?language=objc func (x gen_NSTextView) WriteSelectionToPasteboard_types( pboard NSPasteboardRef, types core.NSArrayRef, -) ( - r0 bool, -) { +) bool { ret := C.NSTextView_inst_writeSelectionToPasteboard_types( unsafe.Pointer(x.Pointer()), objc.RefPointer(pboard), objc.RefPointer(types), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSTextView) Init_asNSTextView() ( - r0 NSTextView, -) { +// Init_asNSTextView +func (x gen_NSTextView) Init_asNSTextView() NSTextView { ret := C.NSTextView_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextView_fromPointer(ret) - return + + return NSTextView_fromPointer(ret) + } -func (x gen_NSTextView) Delegate() ( - r0 objc.Object, -) { +// Delegate The delegate for all text views sharing the receiver’s layout manager. +// https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc +func (x gen_NSTextView) Delegate() objc.Object { ret := C.NSTextView_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The delegate for all text views sharing the receiver’s layout manager. +// https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc func (x gen_NSTextView) SetDelegate( value objc.Ref, ) { @@ -20253,19 +22682,24 @@ func (x gen_NSTextView) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) TextContainer() ( - r0 NSTextContainer, -) { +// TextContainer The receiver’s text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc +func (x gen_NSTextView) TextContainer() NSTextContainer { ret := C.NSTextView_inst_textContainer( unsafe.Pointer(x.Pointer()), ) - r0 = NSTextContainer_fromPointer(ret) - return + + return NSTextContainer_fromPointer(ret) + } +// SetTextContainer The receiver’s text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc func (x gen_NSTextView) SetTextContainer( value NSTextContainerRef, ) { @@ -20273,19 +22707,24 @@ func (x gen_NSTextView) SetTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) TextContainerInset() ( - r0 core.NSSize, -) { +// TextContainerInset The empty space the receiver leaves around its associated text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc +func (x gen_NSTextView) TextContainerInset() core.NSSize { ret := C.NSTextView_inst_textContainerInset( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// SetTextContainerInset The empty space the receiver leaves around its associated text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc func (x gen_NSTextView) SetTextContainerInset( value core.NSSize, ) { @@ -20293,39 +22732,46 @@ func (x gen_NSTextView) SetTextContainerInset( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSTextView) TextContainerOrigin() ( - r0 core.NSPoint, -) { +// TextContainerOrigin The origin of the receiver’s text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449477-textcontainerorigin?language=objc +func (x gen_NSTextView) TextContainerOrigin() core.NSPoint { ret := C.NSTextView_inst_textContainerOrigin( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } -func (x gen_NSTextView) LayoutManager() ( - r0 NSLayoutManager, -) { +// LayoutManager The layout manager that lays out text for the receiver’s text container. +// https://developer.apple.com/documentation/appkit/nstextview/1449148-layoutmanager?language=objc +func (x gen_NSTextView) LayoutManager() NSLayoutManager { ret := C.NSTextView_inst_layoutManager( unsafe.Pointer(x.Pointer()), ) - r0 = NSLayoutManager_fromPointer(ret) - return + + return NSLayoutManager_fromPointer(ret) + } -func (x gen_NSTextView) BackgroundColor() ( - r0 NSColor, -) { +// BackgroundColor The receiver’s background color. +// https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc +func (x gen_NSTextView) BackgroundColor() NSColor { ret := C.NSTextView_inst_backgroundColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBackgroundColor The receiver’s background color. +// https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc func (x gen_NSTextView) SetBackgroundColor( value NSColorRef, ) { @@ -20333,19 +22779,24 @@ func (x gen_NSTextView) SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) DrawsBackground() ( - r0 bool, -) { +// DrawsBackground A Boolean value that indicates whether the receiver draws its background. +// https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc +func (x gen_NSTextView) DrawsBackground() bool { ret := C.NSTextView_inst_drawsBackground( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDrawsBackground A Boolean value that indicates whether the receiver draws its background. +// https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc func (x gen_NSTextView) SetDrawsBackground( value bool, ) { @@ -20353,19 +22804,24 @@ func (x gen_NSTextView) SetDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() ( - r0 bool, -) { +// AllowsDocumentBackgroundColorChange A Boolean value that indicates whether the receiver allows its background color to change. +// https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc +func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() bool { ret := C.NSTextView_inst_allowsDocumentBackgroundColorChange( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsDocumentBackgroundColorChange A Boolean value that indicates whether the receiver allows its background color to change. +// https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( value bool, ) { @@ -20373,29 +22829,35 @@ func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) ShouldDrawInsertionPoint() ( - r0 bool, -) { +// ShouldDrawInsertionPoint A Boolean value that determines whether the receiver should draw its insertion point. +// https://developer.apple.com/documentation/appkit/nstextview/1449152-shoulddrawinsertionpoint?language=objc +func (x gen_NSTextView) ShouldDrawInsertionPoint() bool { ret := C.NSTextView_inst_shouldDrawInsertionPoint( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSTextView) AllowedInputSourceLocales() ( - r0 core.NSArray, -) { +// AllowedInputSourceLocales An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. +// https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc +func (x gen_NSTextView) AllowedInputSourceLocales() core.NSArray { ret := C.NSTextView_inst_allowedInputSourceLocales( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetAllowedInputSourceLocales An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. +// https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc func (x gen_NSTextView) SetAllowedInputSourceLocales( value core.NSArrayRef, ) { @@ -20403,19 +22865,24 @@ func (x gen_NSTextView) SetAllowedInputSourceLocales( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) AllowsUndo() ( - r0 bool, -) { +// AllowsUndo A Boolean value that indicates whether the receiver allows undo. +// https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc +func (x gen_NSTextView) AllowsUndo() bool { ret := C.NSTextView_inst_allowsUndo( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsUndo A Boolean value that indicates whether the receiver allows undo. +// https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc func (x gen_NSTextView) SetAllowsUndo( value bool, ) { @@ -20423,19 +22890,24 @@ func (x gen_NSTextView) SetAllowsUndo( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsEditable() ( - r0 bool, -) { +// IsEditable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. +// https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc +func (x gen_NSTextView) IsEditable() bool { ret := C.NSTextView_inst_isEditable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetEditable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. +// https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc func (x gen_NSTextView) SetEditable( value bool, ) { @@ -20443,19 +22915,24 @@ func (x gen_NSTextView) SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsSelectable() ( - r0 bool, -) { +// IsSelectable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. +// https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc +func (x gen_NSTextView) IsSelectable() bool { ret := C.NSTextView_inst_isSelectable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetSelectable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. +// https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc func (x gen_NSTextView) SetSelectable( value bool, ) { @@ -20463,19 +22940,24 @@ func (x gen_NSTextView) SetSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsFieldEditor() ( - r0 bool, -) { +// IsFieldEditor A Boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. +// https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc +func (x gen_NSTextView) IsFieldEditor() bool { ret := C.NSTextView_inst_isFieldEditor( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetFieldEditor A Boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. +// https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc func (x gen_NSTextView) SetFieldEditor( value bool, ) { @@ -20483,19 +22965,24 @@ func (x gen_NSTextView) SetFieldEditor( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsRichText() ( - r0 bool, -) { +// IsRichText A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. +// https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc +func (x gen_NSTextView) IsRichText() bool { ret := C.NSTextView_inst_isRichText( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetRichText A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. +// https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc func (x gen_NSTextView) SetRichText( value bool, ) { @@ -20503,19 +22990,24 @@ func (x gen_NSTextView) SetRichText( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) ImportsGraphics() ( - r0 bool, -) { +// ImportsGraphics A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. +// https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc +func (x gen_NSTextView) ImportsGraphics() bool { ret := C.NSTextView_inst_importsGraphics( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetImportsGraphics A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. +// https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc func (x gen_NSTextView) SetImportsGraphics( value bool, ) { @@ -20523,19 +23015,24 @@ func (x gen_NSTextView) SetImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) AllowsImageEditing() ( - r0 bool, -) { +// AllowsImageEditing Indicates whether image attachments should permit editing of their images. +// https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc +func (x gen_NSTextView) AllowsImageEditing() bool { ret := C.NSTextView_inst_allowsImageEditing( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsImageEditing Indicates whether image attachments should permit editing of their images. +// https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc func (x gen_NSTextView) SetAllowsImageEditing( value bool, ) { @@ -20543,19 +23040,24 @@ func (x gen_NSTextView) SetAllowsImageEditing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() ( - r0 bool, -) { +// IsAutomaticQuoteSubstitutionEnabled A Boolean value that enables and disables automatic quotation mark substitution. +// https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc +func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() bool { ret := C.NSTextView_inst_isAutomaticQuoteSubstitutionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticQuoteSubstitutionEnabled A Boolean value that enables and disables automatic quotation mark substitution. +// https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( value bool, ) { @@ -20563,19 +23065,24 @@ func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() ( - r0 bool, -) { +// IsAutomaticLinkDetectionEnabled A Boolean value that enables or disables automatic link detection. +// https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc +func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() bool { ret := C.NSTextView_inst_isAutomaticLinkDetectionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticLinkDetectionEnabled A Boolean value that enables or disables automatic link detection. +// https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( value bool, ) { @@ -20583,19 +23090,24 @@ func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) DisplaysLinkToolTips() ( - r0 bool, -) { +// DisplaysLinkToolTips A Boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. +// https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc +func (x gen_NSTextView) DisplaysLinkToolTips() bool { ret := C.NSTextView_inst_displaysLinkToolTips( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDisplaysLinkToolTips A Boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. +// https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc func (x gen_NSTextView) SetDisplaysLinkToolTips( value bool, ) { @@ -20603,19 +23115,24 @@ func (x gen_NSTextView) SetDisplaysLinkToolTips( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() ( - r0 bool, -) { +// IsAutomaticTextCompletionEnabled A Boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. +// https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc +func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() bool { ret := C.NSTextView_inst_isAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticTextCompletionEnabled A Boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. +// https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( value bool, ) { @@ -20623,19 +23140,24 @@ func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() ( - r0 bool, -) { +// UsesAdaptiveColorMappingForDarkAppearance A Boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. +// https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc +func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() bool { ret := C.NSTextView_inst_usesAdaptiveColorMappingForDarkAppearance( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesAdaptiveColorMappingForDarkAppearance A Boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. +// https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( value bool, ) { @@ -20643,19 +23165,24 @@ func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesRolloverButtonForSelection() ( - r0 bool, -) { +// UsesRolloverButtonForSelection +// https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc +func (x gen_NSTextView) UsesRolloverButtonForSelection() bool { ret := C.NSTextView_inst_usesRolloverButtonForSelection( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesRolloverButtonForSelection +// https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc func (x gen_NSTextView) SetUsesRolloverButtonForSelection( value bool, ) { @@ -20663,19 +23190,24 @@ func (x gen_NSTextView) SetUsesRolloverButtonForSelection( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesRuler() ( - r0 bool, -) { +// UsesRuler A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. +// https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc +func (x gen_NSTextView) UsesRuler() bool { ret := C.NSTextView_inst_usesRuler( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesRuler A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. +// https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc func (x gen_NSTextView) SetUsesRuler( value bool, ) { @@ -20683,19 +23215,24 @@ func (x gen_NSTextView) SetUsesRuler( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsRulerVisible() ( - r0 bool, -) { +// IsRulerVisible A Boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. +// https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc +func (x gen_NSTextView) IsRulerVisible() bool { ret := C.NSTextView_inst_isRulerVisible( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetRulerVisible A Boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. +// https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc func (x gen_NSTextView) SetRulerVisible( value bool, ) { @@ -20703,19 +23240,24 @@ func (x gen_NSTextView) SetRulerVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesInspectorBar() ( - r0 bool, -) { +// UsesInspectorBar A Boolean value that indicates whether this text view uses the inspector bar. +// https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc +func (x gen_NSTextView) UsesInspectorBar() bool { ret := C.NSTextView_inst_usesInspectorBar( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesInspectorBar A Boolean value that indicates whether this text view uses the inspector bar. +// https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc func (x gen_NSTextView) SetUsesInspectorBar( value bool, ) { @@ -20723,19 +23265,24 @@ func (x gen_NSTextView) SetUsesInspectorBar( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) SelectedRanges() ( - r0 core.NSArray, -) { +// SelectedRanges An array containing the ranges of characters selected in the receiver’s layout manager. +// https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc +func (x gen_NSTextView) SelectedRanges() core.NSArray { ret := C.NSTextView_inst_selectedRanges( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetSelectedRanges An array containing the ranges of characters selected in the receiver’s layout manager. +// https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc func (x gen_NSTextView) SetSelectedRanges( value core.NSArrayRef, ) { @@ -20743,19 +23290,24 @@ func (x gen_NSTextView) SetSelectedRanges( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) InsertionPointColor() ( - r0 NSColor, -) { +// InsertionPointColor The color of the insertion point. +// https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc +func (x gen_NSTextView) InsertionPointColor() NSColor { ret := C.NSTextView_inst_insertionPointColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetInsertionPointColor The color of the insertion point. +// https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc func (x gen_NSTextView) SetInsertionPointColor( value NSColorRef, ) { @@ -20763,19 +23315,24 @@ func (x gen_NSTextView) SetInsertionPointColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) SelectedTextAttributes() ( - r0 core.NSDictionary, -) { +// SelectedTextAttributes The attributes used to indicate the selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc +func (x gen_NSTextView) SelectedTextAttributes() core.NSDictionary { ret := C.NSTextView_inst_selectedTextAttributes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } +// SetSelectedTextAttributes The attributes used to indicate the selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc func (x gen_NSTextView) SetSelectedTextAttributes( value core.NSDictionaryRef, ) { @@ -20783,19 +23340,24 @@ func (x gen_NSTextView) SetSelectedTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) MarkedTextAttributes() ( - r0 core.NSDictionary, -) { +// MarkedTextAttributes The attributes used to draw marked text. +// https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc +func (x gen_NSTextView) MarkedTextAttributes() core.NSDictionary { ret := C.NSTextView_inst_markedTextAttributes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } +// SetMarkedTextAttributes The attributes used to draw marked text. +// https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc func (x gen_NSTextView) SetMarkedTextAttributes( value core.NSDictionaryRef, ) { @@ -20803,19 +23365,24 @@ func (x gen_NSTextView) SetMarkedTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) LinkTextAttributes() ( - r0 core.NSDictionary, -) { +// LinkTextAttributes The attributes used to draw the onscreen presentation of link text. +// https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc +func (x gen_NSTextView) LinkTextAttributes() core.NSDictionary { ret := C.NSTextView_inst_linkTextAttributes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } +// SetLinkTextAttributes The attributes used to draw the onscreen presentation of link text. +// https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc func (x gen_NSTextView) SetLinkTextAttributes( value core.NSDictionaryRef, ) { @@ -20823,39 +23390,46 @@ func (x gen_NSTextView) SetLinkTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) ReadablePasteboardTypes() ( - r0 core.NSArray, -) { +// ReadablePasteboardTypes The types this text view can read immediately from the pasteboard. +// https://developer.apple.com/documentation/appkit/nstextview/1449361-readablepasteboardtypes?language=objc +func (x gen_NSTextView) ReadablePasteboardTypes() core.NSArray { ret := C.NSTextView_inst_readablePasteboardTypes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSTextView) WritablePasteboardTypes() ( - r0 core.NSArray, -) { +// WritablePasteboardTypes The pasteboard types that can be provided from the current selection. +// https://developer.apple.com/documentation/appkit/nstextview/1449222-writablepasteboardtypes?language=objc +func (x gen_NSTextView) WritablePasteboardTypes() core.NSArray { ret := C.NSTextView_inst_writablePasteboardTypes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSTextView) TypingAttributes() ( - r0 core.NSDictionary, -) { +// TypingAttributes The receiver’s typing attributes. +// https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc +func (x gen_NSTextView) TypingAttributes() core.NSDictionary { ret := C.NSTextView_inst_typingAttributes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSDictionary_fromPointer(ret) - return + + return core.NSDictionary_fromPointer(ret) + } +// SetTypingAttributes The receiver’s typing attributes. +// https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc func (x gen_NSTextView) SetTypingAttributes( value core.NSDictionaryRef, ) { @@ -20863,69 +23437,79 @@ func (x gen_NSTextView) SetTypingAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSTextView) IsCoalescingUndo() ( - r0 bool, -) { +// IsCoalescingUndo A Boolean value that indicates whether undo coalescing is in progress. +// https://developer.apple.com/documentation/appkit/nstextview/1449368-coalescingundo?language=objc +func (x gen_NSTextView) IsCoalescingUndo() bool { ret := C.NSTextView_inst_isCoalescingUndo( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSTextView) AcceptableDragTypes() ( - r0 core.NSArray, -) { +// AcceptableDragTypes The data types that the receiver accepts as the destination view of a dragging operation. +// https://developer.apple.com/documentation/appkit/nstextview/1449234-acceptabledragtypes?language=objc +func (x gen_NSTextView) AcceptableDragTypes() core.NSArray { ret := C.NSTextView_inst_acceptableDragTypes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSTextView) RangesForUserCharacterAttributeChange() ( - r0 core.NSArray, -) { +// RangesForUserCharacterAttributeChange An array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes. +// https://developer.apple.com/documentation/appkit/nstextview/1449503-rangesforusercharacterattributec?language=objc +func (x gen_NSTextView) RangesForUserCharacterAttributeChange() core.NSArray { ret := C.NSTextView_inst_rangesForUserCharacterAttributeChange( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSTextView) RangesForUserParagraphAttributeChange() ( - r0 core.NSArray, -) { +// RangesForUserParagraphAttributeChange An array containing the ranges of characters affected by a method that changes paragraph (not character) attributes. +// https://developer.apple.com/documentation/appkit/nstextview/1449161-rangesforuserparagraphattributec?language=objc +func (x gen_NSTextView) RangesForUserParagraphAttributeChange() core.NSArray { ret := C.NSTextView_inst_rangesForUserParagraphAttributeChange( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSTextView) RangesForUserTextChange() ( - r0 core.NSArray, -) { +// RangesForUserTextChange An array containing the ranges of characters affected by a method that changes characters (as opposed to attributes). +// https://developer.apple.com/documentation/appkit/nstextview/1449434-rangesforusertextchange?language=objc +func (x gen_NSTextView) RangesForUserTextChange() core.NSArray { ret := C.NSTextView_inst_rangesForUserTextChange( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSTextView) SmartInsertDeleteEnabled() ( - r0 bool, -) { +// SmartInsertDeleteEnabled A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. +// https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc +func (x gen_NSTextView) SmartInsertDeleteEnabled() bool { ret := C.NSTextView_inst_smartInsertDeleteEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetSmartInsertDeleteEnabled A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. +// https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc func (x gen_NSTextView) SetSmartInsertDeleteEnabled( value bool, ) { @@ -20933,19 +23517,24 @@ func (x gen_NSTextView) SetSmartInsertDeleteEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() ( - r0 bool, -) { +// IsContinuousSpellCheckingEnabled A Boolean value that indicates whether the receiver has continuous spell checking enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc +func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() bool { ret := C.NSTextView_inst_isContinuousSpellCheckingEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetContinuousSpellCheckingEnabled A Boolean value that indicates whether the receiver has continuous spell checking enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( value bool, ) { @@ -20953,29 +23542,35 @@ func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) SpellCheckerDocumentTag() ( - r0 core.NSInteger, -) { +// SpellCheckerDocumentTag A tag identifying the text view's text as a document for the spell checker server. +// https://developer.apple.com/documentation/appkit/nstextview/1449513-spellcheckerdocumenttag?language=objc +func (x gen_NSTextView) SpellCheckerDocumentTag() core.NSInteger { ret := C.NSTextView_inst_spellCheckerDocumentTag( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSTextView) IsGrammarCheckingEnabled() ( - r0 bool, -) { +// IsGrammarCheckingEnabled Enables and disables grammar checking. +// https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc +func (x gen_NSTextView) IsGrammarCheckingEnabled() bool { ret := C.NSTextView_inst_isGrammarCheckingEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetGrammarCheckingEnabled Enables and disables grammar checking. +// https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc func (x gen_NSTextView) SetGrammarCheckingEnabled( value bool, ) { @@ -20983,19 +23578,24 @@ func (x gen_NSTextView) SetGrammarCheckingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) AcceptsGlyphInfo() ( - r0 bool, -) { +// AcceptsGlyphInfo A Boolean value that indicates whether the receiver accepts the glyph info attribute. +// https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc +func (x gen_NSTextView) AcceptsGlyphInfo() bool { ret := C.NSTextView_inst_acceptsGlyphInfo( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAcceptsGlyphInfo A Boolean value that indicates whether the receiver accepts the glyph info attribute. +// https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc func (x gen_NSTextView) SetAcceptsGlyphInfo( value bool, ) { @@ -21003,19 +23603,24 @@ func (x gen_NSTextView) SetAcceptsGlyphInfo( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesFontPanel() ( - r0 bool, -) { +// UsesFontPanel A Boolean value that controls whether the text views sharing the receiver’s layout manager use the Font panel and Font menu. +// https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc +func (x gen_NSTextView) UsesFontPanel() bool { ret := C.NSTextView_inst_usesFontPanel( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesFontPanel A Boolean value that controls whether the text views sharing the receiver’s layout manager use the Font panel and Font menu. +// https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc func (x gen_NSTextView) SetUsesFontPanel( value bool, ) { @@ -21023,19 +23628,24 @@ func (x gen_NSTextView) SetUsesFontPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesFindPanel() ( - r0 bool, -) { +// UsesFindPanel A Boolean value that indicates whether the receiver allows for a find panel. +// https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc +func (x gen_NSTextView) UsesFindPanel() bool { ret := C.NSTextView_inst_usesFindPanel( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesFindPanel A Boolean value that indicates whether the receiver allows for a find panel. +// https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc func (x gen_NSTextView) SetUsesFindPanel( value bool, ) { @@ -21043,19 +23653,24 @@ func (x gen_NSTextView) SetUsesFindPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() ( - r0 bool, -) { +// IsAutomaticDashSubstitutionEnabled A Boolean value that indicates whether automatic dash substitution is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc +func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() bool { ret := C.NSTextView_inst_isAutomaticDashSubstitutionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticDashSubstitutionEnabled A Boolean value that indicates whether automatic dash substitution is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( value bool, ) { @@ -21063,19 +23678,24 @@ func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() ( - r0 bool, -) { +// IsAutomaticDataDetectionEnabled A Boolean value that indicates whether automatic data detection is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc +func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() bool { ret := C.NSTextView_inst_isAutomaticDataDetectionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticDataDetectionEnabled A Boolean value that indicates whether automatic data detection is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( value bool, ) { @@ -21083,19 +23703,24 @@ func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() ( - r0 bool, -) { +// IsAutomaticSpellingCorrectionEnabled A Boolean value that indicates whether automatic spelling correction is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc +func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() bool { ret := C.NSTextView_inst_isAutomaticSpellingCorrectionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticSpellingCorrectionEnabled A Boolean value that indicates whether automatic spelling correction is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( value bool, ) { @@ -21103,19 +23728,24 @@ func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() ( - r0 bool, -) { +// IsAutomaticTextReplacementEnabled A Boolean value that indicates whether automatic text replacement is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc +func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() bool { ret := C.NSTextView_inst_isAutomaticTextReplacementEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutomaticTextReplacementEnabled A Boolean value that indicates whether automatic text replacement is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( value bool, ) { @@ -21123,19 +23753,24 @@ func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) UsesFindBar() ( - r0 bool, -) { +// UsesFindBar A Boolean value that indicates whether to use the find bar for this text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc +func (x gen_NSTextView) UsesFindBar() bool { ret := C.NSTextView_inst_usesFindBar( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUsesFindBar A Boolean value that indicates whether to use the find bar for this text view. +// https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc func (x gen_NSTextView) SetUsesFindBar( value bool, ) { @@ -21143,19 +23778,24 @@ func (x gen_NSTextView) SetUsesFindBar( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) IsIncrementalSearchingEnabled() ( - r0 bool, -) { +// IsIncrementalSearchingEnabled A Boolean value that indicates whether incremental searching is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc +func (x gen_NSTextView) IsIncrementalSearchingEnabled() bool { ret := C.NSTextView_inst_isIncrementalSearchingEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetIncrementalSearchingEnabled A Boolean value that indicates whether incremental searching is enabled. +// https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc func (x gen_NSTextView) SetIncrementalSearchingEnabled( value bool, ) { @@ -21163,19 +23803,24 @@ func (x gen_NSTextView) SetIncrementalSearchingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() ( - r0 bool, -) { +// AllowsCharacterPickerTouchBarItem +// https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc +func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() bool { ret := C.NSTextView_inst_allowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsCharacterPickerTouchBarItem +// https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( value bool, ) { @@ -21183,19 +23828,22 @@ func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSTextView) Font() ( - r0 NSFont, -) { +// Font +func (x gen_NSTextView) Font() NSFont { ret := C.NSTextView_inst_font( unsafe.Pointer(x.Pointer()), ) - r0 = NSFont_fromPointer(ret) - return + + return NSFont_fromPointer(ret) + } +// SetFont func (x gen_NSTextView) SetFont( value NSFontRef, ) { @@ -21203,7 +23851,9 @@ func (x gen_NSTextView) SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSViewRef interface { @@ -21225,19 +23875,22 @@ func NSView_fromRef(ref objc.Ref) NSView { return NSView_fromPointer(unsafe.Pointer(ref.Pointer())) } +// AcceptsFirstMouse Overridden by subclasses to return YES if the view should be sent a mouseDown: message for an initial mouse-down event, NO if not. +// https://developer.apple.com/documentation/appkit/nsview/1483410-acceptsfirstmouse?language=objc func (x gen_NSView) AcceptsFirstMouse( event NSEventRef, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_acceptsFirstMouse( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// AddConstraints Adds multiple constraints on the layout of the receiving view or its subviews. +// https://developer.apple.com/documentation/appkit/nsview/1526931-addconstraints?language=objc func (x gen_NSView) AddConstraints( constraints core.NSArrayRef, ) { @@ -21245,9 +23898,13 @@ func (x gen_NSView) AddConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) + return + } +// AddSubview Adds a view to the view’s subviews so it’s displayed above its siblings. +// https://developer.apple.com/documentation/appkit/nsview/1483783-addsubview?language=objc func (x gen_NSView) AddSubview( view NSViewRef, ) { @@ -21255,9 +23912,13 @@ func (x gen_NSView) AddSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) + return + } +// AddSubview_positioned_relativeTo Inserts a view among the view’s subviews so it’s displayed immediately above or below another view. +// https://developer.apple.com/documentation/appkit/nsview/1483640-addsubview?language=objc func (x gen_NSView) AddSubview_positioned_relativeTo( view NSViewRef, place core.NSUInteger, @@ -21269,68 +23930,80 @@ func (x gen_NSView) AddSubview_positioned_relativeTo( C.ulong(place), objc.RefPointer(otherView), ) + return + } +// AdjustScroll Overridden by subclasses to modify a given rectangle, returning the altered rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483616-adjustscroll?language=objc func (x gen_NSView) AdjustScroll( newVisible core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_adjustScroll( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&newVisible)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// AlignmentRectForFrame Returns the view’s alignment rectangle for a given frame. +// https://developer.apple.com/documentation/appkit/nsview/1526905-alignmentrectforframe?language=objc func (x gen_NSView) AlignmentRectForFrame( frame core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_alignmentRectForFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frame)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// AncestorSharedWithView Returns the closest ancestor shared by the view and another specified view. +// https://developer.apple.com/documentation/appkit/nsview/1483353-ancestorsharedwithview?language=objc func (x gen_NSView) AncestorSharedWithView( view NSViewRef, -) ( - r0 NSView, -) { +) NSView { ret := C.NSView_inst_ancestorSharedWithView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// Autoscroll Scrolls the view’s closest ancestor NSClipView object proportionally to the distance of an event that occurs outside of it. +// https://developer.apple.com/documentation/appkit/nsview/1483471-autoscroll?language=objc func (x gen_NSView) Autoscroll( event NSEventRef, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_autoscroll( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// BeginDocument Invoked at the beginning of the printing session, this method sets up the current graphics context. +// https://developer.apple.com/documentation/appkit/nsview/1483423-begindocument?language=objc func (x gen_NSView) BeginDocument() { C.NSView_inst_beginDocument( unsafe.Pointer(x.Pointer()), ) + return + } +// BeginPageInRect_atPlacement Called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. +// https://developer.apple.com/documentation/appkit/nsview/1483438-beginpageinrect?language=objc func (x gen_NSView) BeginPageInRect_atPlacement( rect core.NSRect, location core.NSPoint, @@ -21340,294 +24013,319 @@ func (x gen_NSView) BeginPageInRect_atPlacement( *(*C.NSRect)(unsafe.Pointer(&rect)), *(*C.NSPoint)(unsafe.Pointer(&location)), ) + return + } +// CenterScanRect Converts the corners of a specified rectangle to lie on the center of device pixels, which is useful in compensating for rendering overscanning when the coordinate system has been scaled. +// https://developer.apple.com/documentation/appkit/nsview/1483725-centerscanrect?language=objc func (x gen_NSView) CenterScanRect( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_centerScanRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertPoint_fromView Converts a point from the coordinate system of a given view to that of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483269-convertpoint?language=objc func (x gen_NSView) ConvertPoint_fromView( point core.NSPoint, view NSViewRef, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_convertPoint_fromView( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPoint_toView Converts a point from the view’s coordinate system to that of a given view. +// https://developer.apple.com/documentation/appkit/nsview/1483406-convertpoint?language=objc func (x gen_NSView) ConvertPoint_toView( point core.NSPoint, view NSViewRef, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_convertPoint_toView( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointFromBacking Converts a point from its pixel aligned backing store coordinate system to the view’s interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483456-convertpointfrombacking?language=objc func (x gen_NSView) ConvertPointFromBacking( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_convertPointFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointFromLayer Convert the point from the layer's interior coordinate system to the view’s interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483554-convertpointfromlayer?language=objc func (x gen_NSView) ConvertPointFromLayer( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_convertPointFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointToBacking Converts a point from the view’s interior coordinate system to its pixel aligned backing store coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483803-convertpointtobacking?language=objc func (x gen_NSView) ConvertPointToBacking( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_convertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertPointToLayer Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483315-convertpointtolayer?language=objc func (x gen_NSView) ConvertPointToLayer( point core.NSPoint, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_convertPointToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } +// ConvertRect_fromView Converts a rectangle from the coordinate system of another view to that of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483785-convertrect?language=objc func (x gen_NSView) ConvertRect_fromView( rect core.NSRect, view NSViewRef, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_convertRect_fromView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(view), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRect_toView Converts a rectangle from the view’s coordinate system to that of another view. +// https://developer.apple.com/documentation/appkit/nsview/1483217-convertrect?language=objc func (x gen_NSView) ConvertRect_toView( rect core.NSRect, view NSViewRef, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_convertRect_toView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(view), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectFromBacking Converts a rectangle from its pixel aligned backing store coordinate system to the view’s interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483819-convertrectfrombacking?language=objc func (x gen_NSView) ConvertRectFromBacking( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_convertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectFromLayer Convert the rectangle from the layer's interior coordinate system to the view’s interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483404-convertrectfromlayer?language=objc func (x gen_NSView) ConvertRectFromLayer( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_convertRectFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectToBacking Converts a rectangle from the view’s interior coordinate system to its pixel aligned backing store coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483648-convertrecttobacking?language=objc func (x gen_NSView) ConvertRectToBacking( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_convertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRectToLayer Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483776-convertrecttolayer?language=objc func (x gen_NSView) ConvertRectToLayer( rect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_convertRectToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// ConvertSize_fromView Converts a size from another view’s coordinate system to that of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483307-convertsize?language=objc func (x gen_NSView) ConvertSize_fromView( size core.NSSize, view NSViewRef, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSView_inst_convertSize_fromView( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), objc.RefPointer(view), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// ConvertSize_toView Converts a size from the view’s coordinate system to that of another view. +// https://developer.apple.com/documentation/appkit/nsview/1483744-convertsize?language=objc func (x gen_NSView) ConvertSize_toView( size core.NSSize, view NSViewRef, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSView_inst_convertSize_toView( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), objc.RefPointer(view), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// ConvertSizeFromBacking Converts a size from its pixel aligned backing store coordinate system to the view’s interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483319-convertsizefrombacking?language=objc func (x gen_NSView) ConvertSizeFromBacking( size core.NSSize, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSView_inst_convertSizeFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// ConvertSizeFromLayer Convert the size from the layer's interior coordinate system to the view’s interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483479-convertsizefromlayer?language=objc func (x gen_NSView) ConvertSizeFromLayer( size core.NSSize, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSView_inst_convertSizeFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// ConvertSizeToBacking Converts a size from the view’s interior coordinate system to its pixel aligned backing store coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483227-convertsizetobacking?language=objc func (x gen_NSView) ConvertSizeToBacking( size core.NSSize, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSView_inst_convertSizeToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// ConvertSizeToLayer Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483701-convertsizetolayer?language=objc func (x gen_NSView) ConvertSizeToLayer( size core.NSSize, -) ( - r0 core.NSSize, -) { +) core.NSSize { ret := C.NSView_inst_convertSizeToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } +// DataWithEPSInsideRect Returns EPS data that draws the region of the view within a specified rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483735-datawithepsinsiderect?language=objc func (x gen_NSView) DataWithEPSInsideRect( rect core.NSRect, -) ( - r0 core.NSData, -) { +) core.NSData { ret := C.NSView_inst_dataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.NSData_fromPointer(ret) - return + + return core.NSData_fromPointer(ret) + } +// DataWithPDFInsideRect Returns PDF data that draws the region of the view within a specified rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483797-datawithpdfinsiderect?language=objc func (x gen_NSView) DataWithPDFInsideRect( rect core.NSRect, -) ( - r0 core.NSData, -) { +) core.NSData { ret := C.NSView_inst_dataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = core.NSData_fromPointer(ret) - return + + return core.NSData_fromPointer(ret) + } +// DidAddSubview Overridden by subclasses to perform additional actions when subviews are added to the view. +// https://developer.apple.com/documentation/appkit/nsview/1483454-didaddsubview?language=objc func (x gen_NSView) DidAddSubview( subview NSViewRef, ) { @@ -21635,9 +24333,13 @@ func (x gen_NSView) DidAddSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(subview), ) + return + } +// DidCloseMenu_withEvent Called after a contextual menu that was displayed from the receiving view has been closed. +// https://developer.apple.com/documentation/appkit/nsview/1483770-didclosemenu?language=objc func (x gen_NSView) DidCloseMenu_withEvent( menu NSMenuRef, event NSEventRef, @@ -21647,37 +24349,57 @@ func (x gen_NSView) DidCloseMenu_withEvent( objc.RefPointer(menu), objc.RefPointer(event), ) + return + } +// DiscardCursorRects Invalidates all cursor rectangles set up using addCursorRect:cursor:. +// https://developer.apple.com/documentation/appkit/nsview/1483733-discardcursorrects?language=objc func (x gen_NSView) DiscardCursorRects() { C.NSView_inst_discardCursorRects( unsafe.Pointer(x.Pointer()), ) + return + } +// Display Displays the view and all its subviews if possible, invoking each of the NSView methods lockFocus, drawRect:, and unlockFocus as necessary. +// https://developer.apple.com/documentation/appkit/nsview/1483487-display?language=objc func (x gen_NSView) Display() { C.NSView_inst_display( unsafe.Pointer(x.Pointer()), ) + return + } +// DisplayIfNeeded Displays the view and all its subviews if any part of the view has been marked as needing display. +// https://developer.apple.com/documentation/appkit/nsview/1483566-displayifneeded?language=objc func (x gen_NSView) DisplayIfNeeded() { C.NSView_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// DisplayIfNeededIgnoringOpacity Acts as displayIfNeeded, except that this method doesn’t back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. +// https://developer.apple.com/documentation/appkit/nsview/1483526-displayifneededignoringopacity?language=objc func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { C.NSView_inst_displayIfNeededIgnoringOpacity( unsafe.Pointer(x.Pointer()), ) + return + } +// DisplayIfNeededInRect Acts as displayIfNeeded, confining drawing to a specified region of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483813-displayifneededinrect?language=objc func (x gen_NSView) DisplayIfNeededInRect( rect core.NSRect, ) { @@ -21685,9 +24407,13 @@ func (x gen_NSView) DisplayIfNeededInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// DisplayIfNeededInRectIgnoringOpacity Acts as displayIfNeeded, but confining drawing to aRect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. +// https://developer.apple.com/documentation/appkit/nsview/1483481-displayifneededinrectignoringopa?language=objc func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( rect core.NSRect, ) { @@ -21695,9 +24421,13 @@ func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// DisplayRect Acts as display, but confining drawing to a rectangular region of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483518-displayrect?language=objc func (x gen_NSView) DisplayRect( rect core.NSRect, ) { @@ -21705,9 +24435,13 @@ func (x gen_NSView) DisplayRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// DisplayRectIgnoringOpacity Displays the view but confines drawing to a specified region and does not back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. +// https://developer.apple.com/documentation/appkit/nsview/1483699-displayrectignoringopacity?language=objc func (x gen_NSView) DisplayRectIgnoringOpacity( rect core.NSRect, ) { @@ -21715,16 +24449,24 @@ func (x gen_NSView) DisplayRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// DrawFocusRingMask Draws the focus ring mask for the view. +// https://developer.apple.com/documentation/appkit/nsview/1483335-drawfocusringmask?language=objc func (x gen_NSView) DrawFocusRingMask() { C.NSView_inst_drawFocusRingMask( unsafe.Pointer(x.Pointer()), ) + return + } +// DrawPageBorderWithSize Allows applications that use the AppKit pagination facility to draw additional marks on each logical page. +// https://developer.apple.com/documentation/appkit/nsview/1483292-drawpageborderwithsize?language=objc func (x gen_NSView) DrawPageBorderWithSize( borderSize core.NSSize, ) { @@ -21732,9 +24474,13 @@ func (x gen_NSView) DrawPageBorderWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&borderSize)), ) + return + } +// DrawRect Overridden by subclasses to draw the view’s image within the specified rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483686-drawrect?language=objc func (x gen_NSView) DrawRect( dirtyRect core.NSRect, ) { @@ -21742,45 +24488,62 @@ func (x gen_NSView) DrawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&dirtyRect)), ) + return + } +// EndDocument This method is invoked at the end of the printing session. +// https://developer.apple.com/documentation/appkit/nsview/1483610-enddocument?language=objc func (x gen_NSView) EndDocument() { C.NSView_inst_endDocument( unsafe.Pointer(x.Pointer()), ) + return + } +// EndPage Writes the end of a conforming page. +// https://developer.apple.com/documentation/appkit/nsview/1483549-endpage?language=objc func (x gen_NSView) EndPage() { C.NSView_inst_endPage( unsafe.Pointer(x.Pointer()), ) + return + } +// EnterFullScreenMode_withOptions Sets the view to full screen mode. +// https://developer.apple.com/documentation/appkit/nsview/1483780-enterfullscreenmode?language=objc func (x gen_NSView) EnterFullScreenMode_withOptions( screen NSScreenRef, options core.NSDictionaryRef, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_enterFullScreenMode_withOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), objc.RefPointer(options), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ExerciseAmbiguityInLayout Randomly changes the frame of a view with an ambiguous layout between the different valid values. +// https://developer.apple.com/documentation/appkit/nsview/1526934-exerciseambiguityinlayout?language=objc func (x gen_NSView) ExerciseAmbiguityInLayout() { C.NSView_inst_exerciseAmbiguityInLayout( unsafe.Pointer(x.Pointer()), ) + return + } +// ExitFullScreenModeWithOptions Instructs the view to exit full screen mode. +// https://developer.apple.com/documentation/appkit/nsview/1483256-exitfullscreenmodewithoptions?language=objc func (x gen_NSView) ExitFullScreenModeWithOptions( options core.NSDictionaryRef, ) { @@ -21788,166 +24551,196 @@ func (x gen_NSView) ExitFullScreenModeWithOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(options), ) + return + } +// FrameForAlignmentRect Returns the view’s frame for a given alignment rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1525584-frameforalignmentrect?language=objc func (x gen_NSView) FrameForAlignmentRect( alignmentRect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_frameForAlignmentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&alignmentRect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// HitTest Returns the farthest descendant of the view in the view hierarchy (including itself) that contains a specified point, or nil if that point lies completely outside the view. +// https://developer.apple.com/documentation/appkit/nsview/1483364-hittest?language=objc func (x gen_NSView) HitTest( point core.NSPoint, -) ( - r0 NSView, -) { +) NSView { ret := C.NSView_inst_hitTest( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// InitWithFrame_asNSView Initializes and returns a newly allocated NSView object with a specified frame rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483458-initwithframe?language=objc func (x gen_NSView) InitWithFrame_asNSView( frameRect core.NSRect, -) ( - r0 NSView, -) { +) NSView { ret := C.NSView_inst_initWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// InvalidateIntrinsicContentSize Invalidates the view’s intrinsic content size. +// https://developer.apple.com/documentation/appkit/nsview/1526864-invalidateintrinsiccontentsize?language=objc func (x gen_NSView) InvalidateIntrinsicContentSize() { C.NSView_inst_invalidateIntrinsicContentSize( unsafe.Pointer(x.Pointer()), ) + return + } +// IsDescendantOf Returns YES if the view is a subview of a given view or if it’s identical to that view; otherwise, it returns NO. +// https://developer.apple.com/documentation/appkit/nsview/1483219-isdescendantof?language=objc func (x gen_NSView) IsDescendantOf( view NSViewRef, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_isDescendantOf( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// Layout Perform layout in concert with the constraint-based layout system. +// https://developer.apple.com/documentation/appkit/nsview/1526146-layout?language=objc func (x gen_NSView) Layout() { C.NSView_inst_layout( unsafe.Pointer(x.Pointer()), ) + return + } +// LayoutSubtreeIfNeeded Updates the layout of the receiving view and its subviews based on the current views and constraints. +// https://developer.apple.com/documentation/appkit/nsview/1526871-layoutsubtreeifneeded?language=objc func (x gen_NSView) LayoutSubtreeIfNeeded() { C.NSView_inst_layoutSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// LocationOfPrintRect Invoked by print: to determine the location of the region of the view being printed on the physical page. +// https://developer.apple.com/documentation/appkit/nsview/1483223-locationofprintrect?language=objc func (x gen_NSView) LocationOfPrintRect( rect core.NSRect, -) ( - r0 core.NSPoint, -) { +) core.NSPoint { ret := C.NSView_inst_locationOfPrintRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = *(*core.NSPoint)(unsafe.Pointer(&ret)) - return + + return *(*core.NSPoint)(unsafe.Pointer(&ret)) + } -func (x gen_NSView) MakeBackingLayer() ( - r0 core.CALayer, -) { +// MakeBackingLayer Creates the view’s backing layer. +// https://developer.apple.com/documentation/appkit/nsview/1483687-makebackinglayer?language=objc +func (x gen_NSView) MakeBackingLayer() core.CALayer { ret := C.NSView_inst_makeBackingLayer( unsafe.Pointer(x.Pointer()), ) - r0 = core.CALayer_fromPointer(ret) - return + + return core.CALayer_fromPointer(ret) + } +// MenuForEvent Overridden by subclasses to return a context-sensitive pop-up menu for a given mouse-down event. +// https://developer.apple.com/documentation/appkit/nsview/1483231-menuforevent?language=objc func (x gen_NSView) MenuForEvent( event NSEventRef, -) ( - r0 NSMenu, -) { +) NSMenu { ret := C.NSView_inst_menuForEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = NSMenu_fromPointer(ret) - return + + return NSMenu_fromPointer(ret) + } +// Mouse_inRect Returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. +// https://developer.apple.com/documentation/appkit/nsview/1483237-mouse?language=objc func (x gen_NSView) Mouse_inRect( point core.NSPoint, rect core.NSRect, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_mouse_inRect( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// NeedsToDrawRect Returns a Boolean value indicating whether the specified rectangle intersects any part of the area that the view is being asked to draw. +// https://developer.apple.com/documentation/appkit/nsview/1483570-needstodrawrect?language=objc func (x gen_NSView) NeedsToDrawRect( rect core.NSRect, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_needsToDrawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// NoteFocusRingMaskChanged Invoked to notify the view that the focus ring mask requires updating. +// https://developer.apple.com/documentation/appkit/nsview/1483809-notefocusringmaskchanged?language=objc func (x gen_NSView) NoteFocusRingMaskChanged() { C.NSView_inst_noteFocusRingMaskChanged( unsafe.Pointer(x.Pointer()), ) + return + } +// PerformKeyEquivalent Implemented by subclasses to respond to key equivalents (also known as keyboard shortcuts). +// https://developer.apple.com/documentation/appkit/nsview/1483664-performkeyequivalent?language=objc func (x gen_NSView) PerformKeyEquivalent( event NSEventRef, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_performKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// PrepareContentInRect Prepares the overdraw region for drawing. +// https://developer.apple.com/documentation/appkit/nsview/1483427-preparecontentinrect?language=objc func (x gen_NSView) PrepareContentInRect( rect core.NSRect, ) { @@ -21955,16 +24748,24 @@ func (x gen_NSView) PrepareContentInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// PrepareForReuse Restores the view to an initial state so that it can be reused. +// https://developer.apple.com/documentation/appkit/nsview/1483626-prepareforreuse?language=objc func (x gen_NSView) PrepareForReuse() { C.NSView_inst_prepareForReuse( unsafe.Pointer(x.Pointer()), ) + return + } +// Print This action method opens the Print panel, and if the user chooses an option other than canceling, prints the view and all its subviews to the device specified in the Print panel. +// https://developer.apple.com/documentation/appkit/nsview/1483705-print?language=objc func (x gen_NSView) Print( sender objc.Ref, ) { @@ -21972,37 +24773,43 @@ func (x gen_NSView) Print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// RectForPage Implemented by subclasses to determine the portion of the view to be printed for the specified page number. +// https://developer.apple.com/documentation/appkit/nsview/1483252-rectforpage?language=objc func (x gen_NSView) RectForPage( page core.NSInteger, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_rectForPage( unsafe.Pointer(x.Pointer()), C.long(page), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// RectForSmartMagnificationAtPoint_inRect Returns the appropriate rectangle to use when magnifying around the specified point. +// https://developer.apple.com/documentation/appkit/nsview/1483305-rectforsmartmagnificationatpoint?language=objc func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( location core.NSPoint, visibleRect core.NSRect, -) ( - r0 core.NSRect, -) { +) core.NSRect { ret := C.NSView_inst_rectForSmartMagnificationAtPoint_inRect( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&location)), *(*C.NSRect)(unsafe.Pointer(&visibleRect)), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// RegisterForDraggedTypes Registers the pasteboard types that the view will accept as the destination of an image-dragging session. +// https://developer.apple.com/documentation/appkit/nsview/1483578-registerfordraggedtypes?language=objc func (x gen_NSView) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { @@ -22010,16 +24817,24 @@ func (x gen_NSView) RegisterForDraggedTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), ) + return + } +// RemoveAllToolTips Removes all tooltips assigned to the view. +// https://developer.apple.com/documentation/appkit/nsview/1483801-removealltooltips?language=objc func (x gen_NSView) RemoveAllToolTips() { C.NSView_inst_removeAllToolTips( unsafe.Pointer(x.Pointer()), ) + return + } +// RemoveConstraints Removes the specified constraints from the view. +// https://developer.apple.com/documentation/appkit/nsview/1526932-removeconstraints?language=objc func (x gen_NSView) RemoveConstraints( constraints core.NSArrayRef, ) { @@ -22027,23 +24842,35 @@ func (x gen_NSView) RemoveConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) + return + } +// RemoveFromSuperview Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles. +// https://developer.apple.com/documentation/appkit/nsview/1483265-removefromsuperview?language=objc func (x gen_NSView) RemoveFromSuperview() { C.NSView_inst_removeFromSuperview( unsafe.Pointer(x.Pointer()), ) + return + } +// RemoveFromSuperviewWithoutNeedingDisplay Unlinks the view from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing. +// https://developer.apple.com/documentation/appkit/nsview/1483644-removefromsuperviewwithoutneedin?language=objc func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { C.NSView_inst_removeFromSuperviewWithoutNeedingDisplay( unsafe.Pointer(x.Pointer()), ) + return + } +// ReplaceSubview_with Replaces one of the view’s subviews with another view. +// https://developer.apple.com/documentation/appkit/nsview/1483632-replacesubview?language=objc func (x gen_NSView) ReplaceSubview_with( oldView NSViewRef, newView NSViewRef, @@ -22053,16 +24880,24 @@ func (x gen_NSView) ReplaceSubview_with( objc.RefPointer(oldView), objc.RefPointer(newView), ) + return + } +// ResetCursorRects Overridden by subclasses to define their default cursor rectangles. +// https://developer.apple.com/documentation/appkit/nsview/1483448-resetcursorrects?language=objc func (x gen_NSView) ResetCursorRects() { C.NSView_inst_resetCursorRects( unsafe.Pointer(x.Pointer()), ) + return + } +// ResizeSubviewsWithOldSize Informs the view’s subviews that the view’s bounds rectangle size has changed. +// https://developer.apple.com/documentation/appkit/nsview/1483495-resizesubviewswitholdsize?language=objc func (x gen_NSView) ResizeSubviewsWithOldSize( oldSize core.NSSize, ) { @@ -22070,9 +24905,13 @@ func (x gen_NSView) ResizeSubviewsWithOldSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) + return + } +// ResizeWithOldSuperviewSize Informs the view that the bounds size of its superview has changed. +// https://developer.apple.com/documentation/appkit/nsview/1483697-resizewitholdsuperviewsize?language=objc func (x gen_NSView) ResizeWithOldSuperviewSize( oldSize core.NSSize, ) { @@ -22080,9 +24919,13 @@ func (x gen_NSView) ResizeWithOldSuperviewSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) + return + } +// RotateByAngle Rotates the view’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0). +// https://developer.apple.com/documentation/appkit/nsview/1483444-rotatebyangle?language=objc func (x gen_NSView) RotateByAngle( angle core.CGFloat, ) { @@ -22090,9 +24933,13 @@ func (x gen_NSView) RotateByAngle( unsafe.Pointer(x.Pointer()), C.double(angle), ) + return + } +// ScaleUnitSquareToSize Scales the view’s coordinate system so that the unit square scales to the specified dimensions. +// https://developer.apple.com/documentation/appkit/nsview/1483721-scaleunitsquaretosize?language=objc func (x gen_NSView) ScaleUnitSquareToSize( newUnitSize core.NSSize, ) { @@ -22100,9 +24947,13 @@ func (x gen_NSView) ScaleUnitSquareToSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newUnitSize)), ) + return + } +// ScrollPoint Scrolls the view’s closest ancestor NSClipView object so a point in the view lies at the origin of the clip view's bounds rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483394-scrollpoint?language=objc func (x gen_NSView) ScrollPoint( point core.NSPoint, ) { @@ -22110,22 +24961,27 @@ func (x gen_NSView) ScrollPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) + return + } +// ScrollRectToVisible Scrolls the view’s closest ancestor NSClipView object the minimum distance needed so a specified region of the view becomes visible in the clip view. +// https://developer.apple.com/documentation/appkit/nsview/1483811-scrollrecttovisible?language=objc func (x gen_NSView) ScrollRectToVisible( rect core.NSRect, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_scrollRectToVisible( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetBoundsOrigin Sets the origin of the view’s bounds rectangle to a specified point. +// https://developer.apple.com/documentation/appkit/nsview/1483345-setboundsorigin?language=objc func (x gen_NSView) SetBoundsOrigin( newOrigin core.NSPoint, ) { @@ -22133,9 +24989,13 @@ func (x gen_NSView) SetBoundsOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) + return + } +// SetBoundsSize Sets the size of the view’s bounds rectangle to specified dimensions, inversely scaling its coordinate system relative to its frame rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483399-setboundssize?language=objc func (x gen_NSView) SetBoundsSize( newSize core.NSSize, ) { @@ -22143,9 +25003,13 @@ func (x gen_NSView) SetBoundsSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) + return + } +// SetFrameOrigin Sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview. +// https://developer.apple.com/documentation/appkit/nsview/1483283-setframeorigin?language=objc func (x gen_NSView) SetFrameOrigin( newOrigin core.NSPoint, ) { @@ -22153,9 +25017,13 @@ func (x gen_NSView) SetFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) + return + } +// SetFrameSize Sets the size of the view’s frame rectangle to the specified dimensions, resizing it within its superview without affecting its coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483530-setframesize?language=objc func (x gen_NSView) SetFrameSize( newSize core.NSSize, ) { @@ -22163,9 +25031,13 @@ func (x gen_NSView) SetFrameSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) + return + } +// SetKeyboardFocusRingNeedsDisplayInRect Invalidates the area around the focus ring. +// https://developer.apple.com/documentation/appkit/nsview/1483556-setkeyboardfocusringneedsdisplay?language=objc func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( rect core.NSRect, ) { @@ -22173,9 +25045,13 @@ func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// SetNeedsDisplayInRect Marks the region of the view within the specified rectangle as needing display, increasing the view’s existing invalid region to include it. +// https://developer.apple.com/documentation/appkit/nsview/1483475-setneedsdisplayinrect?language=objc func (x gen_NSView) SetNeedsDisplayInRect( invalidRect core.NSRect, ) { @@ -22183,22 +25059,27 @@ func (x gen_NSView) SetNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&invalidRect)), ) + return + } +// ShouldDelayWindowOrderingForEvent Allows the user to drag objects from the view without activating the app or moving the window of the view forward, possibly obscuring the destination. +// https://developer.apple.com/documentation/appkit/nsview/1483244-shoulddelaywindoworderingforeven?language=objc func (x gen_NSView) ShouldDelayWindowOrderingForEvent( event NSEventRef, -) ( - r0 bool, -) { +) bool { ret := C.NSView_inst_shouldDelayWindowOrderingForEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ShowDefinitionForAttributedString_atPoint Shows a window displaying the definition of the attributed string at the specified point. +// https://developer.apple.com/documentation/appkit/nsview/1483747-showdefinitionforattributedstrin?language=objc func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( attrString core.NSAttributedStringRef, textBaselineOrigin core.NSPoint, @@ -22208,9 +25089,13 @@ func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( objc.RefPointer(attrString), *(*C.NSPoint)(unsafe.Pointer(&textBaselineOrigin)), ) + return + } +// TranslateOriginToPoint Translates the view’s coordinate system so that its origin moves to a new location. +// https://developer.apple.com/documentation/appkit/nsview/1483385-translateorigintopoint?language=objc func (x gen_NSView) TranslateOriginToPoint( translation core.NSPoint, ) { @@ -22218,9 +25103,13 @@ func (x gen_NSView) TranslateOriginToPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&translation)), ) + return + } +// TranslateRectsNeedingDisplayInRect_by Translates the display rectangles by the specified delta. +// https://developer.apple.com/documentation/appkit/nsview/1483731-translaterectsneedingdisplayinre?language=objc func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( clipRect core.NSRect, delta core.NSSize, @@ -22230,100 +25119,156 @@ func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( *(*C.NSRect)(unsafe.Pointer(&clipRect)), *(*C.NSSize)(unsafe.Pointer(&delta)), ) + return + } +// UnregisterDraggedTypes Unregisters the view as a possible destination in a dragging session. +// https://developer.apple.com/documentation/appkit/nsview/1483602-unregisterdraggedtypes?language=objc func (x gen_NSView) UnregisterDraggedTypes() { C.NSView_inst_unregisterDraggedTypes( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateConstraints Update constraints for the view. +// https://developer.apple.com/documentation/appkit/nsview/1526891-updateconstraints?language=objc func (x gen_NSView) UpdateConstraints() { C.NSView_inst_updateConstraints( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateConstraintsForSubtreeIfNeeded Updates the constraints for the receiving view and its subviews. +// https://developer.apple.com/documentation/appkit/nsview/1526939-updateconstraintsforsubtreeifnee?language=objc func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { C.NSView_inst_updateConstraintsForSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateLayer Updates the view’s content by modifying its underlying layer. +// https://developer.apple.com/documentation/appkit/nsview/1483580-updatelayer?language=objc func (x gen_NSView) UpdateLayer() { C.NSView_inst_updateLayer( unsafe.Pointer(x.Pointer()), ) + return + } +// UpdateTrackingAreas Invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated. +// https://developer.apple.com/documentation/appkit/nsview/1483719-updatetrackingareas?language=objc func (x gen_NSView) UpdateTrackingAreas() { C.NSView_inst_updateTrackingAreas( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidChangeBackingProperties Responds when the view’s backing store properties change. +// https://developer.apple.com/documentation/appkit/nsview/1483742-viewdidchangebackingproperties?language=objc func (x gen_NSView) ViewDidChangeBackingProperties() { C.NSView_inst_viewDidChangeBackingProperties( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidChangeEffectiveAppearance +// https://developer.apple.com/documentation/appkit/nsview/2977088-viewdidchangeeffectiveappearance?language=objc func (x gen_NSView) ViewDidChangeEffectiveAppearance() { C.NSView_inst_viewDidChangeEffectiveAppearance( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidEndLiveResize Informs the view of the end of a live resize—the user has finished resizing the view. +// https://developer.apple.com/documentation/appkit/nsview/1483543-viewdidendliveresize?language=objc func (x gen_NSView) ViewDidEndLiveResize() { C.NSView_inst_viewDidEndLiveResize( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidHide Invoked when the view is hidden, either directly, or in response to an ancestor being hidden. +// https://developer.apple.com/documentation/appkit/nsview/1483596-viewdidhide?language=objc func (x gen_NSView) ViewDidHide() { C.NSView_inst_viewDidHide( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidMoveToSuperview Informs the view that its superview has changed (possibly to nil). +// https://developer.apple.com/documentation/appkit/nsview/1483568-viewdidmovetosuperview?language=objc func (x gen_NSView) ViewDidMoveToSuperview() { C.NSView_inst_viewDidMoveToSuperview( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidMoveToWindow Informs the view that it has been added to a new view hierarchy. +// https://developer.apple.com/documentation/appkit/nsview/1483329-viewdidmovetowindow?language=objc func (x gen_NSView) ViewDidMoveToWindow() { C.NSView_inst_viewDidMoveToWindow( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewDidUnhide Invoked when the view is unhidden, either directly, or in response to an ancestor being unhidden +// https://developer.apple.com/documentation/appkit/nsview/1483275-viewdidunhide?language=objc func (x gen_NSView) ViewDidUnhide() { C.NSView_inst_viewDidUnhide( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillDraw Informs the view that it’s required to draw content. +// https://developer.apple.com/documentation/appkit/nsview/1483351-viewwilldraw?language=objc func (x gen_NSView) ViewWillDraw() { C.NSView_inst_viewWillDraw( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWillMoveToSuperview Informs the view that its superview is about to change to the specified superview (which may be nil). +// https://developer.apple.com/documentation/appkit/nsview/1483545-viewwillmovetosuperview?language=objc func (x gen_NSView) ViewWillMoveToSuperview( newSuperview NSViewRef, ) { @@ -22331,9 +25276,13 @@ func (x gen_NSView) ViewWillMoveToSuperview( unsafe.Pointer(x.Pointer()), objc.RefPointer(newSuperview), ) + return + } +// ViewWillMoveToWindow Informs the view that it’s being added to the view hierarchy of the specified window object (which may be nil). +// https://developer.apple.com/documentation/appkit/nsview/1483415-viewwillmovetowindow?language=objc func (x gen_NSView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { @@ -22341,29 +25290,38 @@ func (x gen_NSView) ViewWillMoveToWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(newWindow), ) + return + } +// ViewWillStartLiveResize Informs the view of the start of a live resize—the user has started resizing the view. +// https://developer.apple.com/documentation/appkit/nsview/1483620-viewwillstartliveresize?language=objc func (x gen_NSView) ViewWillStartLiveResize() { C.NSView_inst_viewWillStartLiveResize( unsafe.Pointer(x.Pointer()), ) + return + } +// ViewWithTag Returns the view’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag. +// https://developer.apple.com/documentation/appkit/nsview/1483294-viewwithtag?language=objc func (x gen_NSView) ViewWithTag( tag core.NSInteger, -) ( - r0 NSView, -) { +) NSView { ret := C.NSView_inst_viewWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// WillOpenMenu_withEvent Called just before a contextual menu for a view is opened on screen. +// https://developer.apple.com/documentation/appkit/nsview/1483429-willopenmenu?language=objc func (x gen_NSView) WillOpenMenu_withEvent( menu NSMenuRef, event NSEventRef, @@ -22373,9 +25331,13 @@ func (x gen_NSView) WillOpenMenu_withEvent( objc.RefPointer(menu), objc.RefPointer(event), ) + return + } +// WillRemoveSubview Overridden by subclasses to perform additional actions before subviews are removed from the view. +// https://developer.apple.com/documentation/appkit/nsview/1483624-willremovesubview?language=objc func (x gen_NSView) WillRemoveSubview( subview NSViewRef, ) { @@ -22383,9 +25345,13 @@ func (x gen_NSView) WillRemoveSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(subview), ) + return + } +// WriteEPSInsideRect_toPasteboard Writes EPS data that draws the region of the view within a specified rectangle onto a pasteboard. +// https://developer.apple.com/documentation/appkit/nsview/1483235-writeepsinsiderect?language=objc func (x gen_NSView) WriteEPSInsideRect_toPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, @@ -22395,9 +25361,13 @@ func (x gen_NSView) WriteEPSInsideRect_toPasteboard( *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(pasteboard), ) + return + } +// WritePDFInsideRect_toPasteboard Writes PDF data that draws the region of the view within a specified rectangle onto a pasteboard. +// https://developer.apple.com/documentation/appkit/nsview/1483499-writepdfinsiderect?language=objc func (x gen_NSView) WritePDFInsideRect_toPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, @@ -22407,39 +25377,45 @@ func (x gen_NSView) WritePDFInsideRect_toPasteboard( *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(pasteboard), ) + return + } -func (x gen_NSView) Init_asNSView() ( - r0 NSView, -) { +// Init_asNSView +func (x gen_NSView) Init_asNSView() NSView { ret := C.NSView_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func (x gen_NSView) Superview() ( - r0 NSView, -) { +// Superview The view that is the parent of the current view. +// https://developer.apple.com/documentation/appkit/nsview/1483737-superview?language=objc +func (x gen_NSView) Superview() NSView { ret := C.NSView_inst_superview( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func (x gen_NSView) Subviews() ( - r0 core.NSArray, -) { +// Subviews The array of views embedded in the current view. +// https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc +func (x gen_NSView) Subviews() core.NSArray { ret := C.NSView_inst_subviews( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetSubviews The array of views embedded in the current view. +// https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc func (x gen_NSView) SetSubviews( value core.NSArrayRef, ) { @@ -22447,49 +25423,57 @@ func (x gen_NSView) SetSubviews( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) Window() ( - r0 NSWindow, -) { +// Window The view’s window object, if it is installed in a window. +// https://developer.apple.com/documentation/appkit/nsview/1483301-window?language=objc +func (x gen_NSView) Window() NSWindow { ret := C.NSView_inst_window( unsafe.Pointer(x.Pointer()), ) - r0 = NSWindow_fromPointer(ret) - return + + return NSWindow_fromPointer(ret) + } -func (x gen_NSView) OpaqueAncestor() ( - r0 NSView, -) { +// OpaqueAncestor The view’s closest opaque ancestor, which might be the view itself. +// https://developer.apple.com/documentation/appkit/nsview/1483383-opaqueancestor?language=objc +func (x gen_NSView) OpaqueAncestor() NSView { ret := C.NSView_inst_opaqueAncestor( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func (x gen_NSView) EnclosingMenuItem() ( - r0 NSMenuItem, -) { +// EnclosingMenuItem The menu item containing the view or any of its superviews in the view hierarchy. +// https://developer.apple.com/documentation/appkit/nsview/1514865-enclosingmenuitem?language=objc +func (x gen_NSView) EnclosingMenuItem() NSMenuItem { ret := C.NSView_inst_enclosingMenuItem( unsafe.Pointer(x.Pointer()), ) - r0 = NSMenuItem_fromPointer(ret) - return + + return NSMenuItem_fromPointer(ret) + } -func (x gen_NSView) Frame() ( - r0 core.NSRect, -) { +// Frame The view’s frame rectangle, which defines its position and size in its superview’s coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc +func (x gen_NSView) Frame() core.NSRect { ret := C.NSView_inst_frame( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// SetFrame The view’s frame rectangle, which defines its position and size in its superview’s coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc func (x gen_NSView) SetFrame( value core.NSRect, ) { @@ -22497,19 +25481,24 @@ func (x gen_NSView) SetFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSView) FrameRotation() ( - r0 core.CGFloat, -) { +// FrameRotation The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc +func (x gen_NSView) FrameRotation() core.CGFloat { ret := C.NSView_inst_frameRotation( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetFrameRotation The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc func (x gen_NSView) SetFrameRotation( value core.CGFloat, ) { @@ -22517,19 +25506,24 @@ func (x gen_NSView) SetFrameRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSView) Bounds() ( - r0 core.NSRect, -) { +// Bounds The view’s bounds rectangle, which expresses its location and size in its own coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc +func (x gen_NSView) Bounds() core.NSRect { ret := C.NSView_inst_bounds( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// SetBounds The view’s bounds rectangle, which expresses its location and size in its own coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc func (x gen_NSView) SetBounds( value core.NSRect, ) { @@ -22537,19 +25531,24 @@ func (x gen_NSView) SetBounds( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSView) BoundsRotation() ( - r0 core.CGFloat, -) { +// BoundsRotation The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc +func (x gen_NSView) BoundsRotation() core.CGFloat { ret := C.NSView_inst_boundsRotation( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetBoundsRotation The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. +// https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc func (x gen_NSView) SetBoundsRotation( value core.CGFloat, ) { @@ -22557,19 +25556,24 @@ func (x gen_NSView) SetBoundsRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSView) WantsLayer() ( - r0 bool, -) { +// WantsLayer A Boolean value indicating whether the view uses a layer as its backing store. +// https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc +func (x gen_NSView) WantsLayer() bool { ret := C.NSView_inst_wantsLayer( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetWantsLayer A Boolean value indicating whether the view uses a layer as its backing store. +// https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc func (x gen_NSView) SetWantsLayer( value bool, ) { @@ -22577,29 +25581,35 @@ func (x gen_NSView) SetWantsLayer( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) WantsUpdateLayer() ( - r0 bool, -) { +// WantsUpdateLayer A Boolean value indicating which drawing path the view takes when updating its contents. +// https://developer.apple.com/documentation/appkit/nsview/1483461-wantsupdatelayer?language=objc +func (x gen_NSView) WantsUpdateLayer() bool { ret := C.NSView_inst_wantsUpdateLayer( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) Layer() ( - r0 core.CALayer, -) { +// Layer The Core Animation layer that the view uses as its backing store. +// https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc +func (x gen_NSView) Layer() core.CALayer { ret := C.NSView_inst_layer( unsafe.Pointer(x.Pointer()), ) - r0 = core.CALayer_fromPointer(ret) - return + + return core.CALayer_fromPointer(ret) + } +// SetLayer The Core Animation layer that the view uses as its backing store. +// https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc func (x gen_NSView) SetLayer( value core.CALayerRef, ) { @@ -22607,19 +25617,24 @@ func (x gen_NSView) SetLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) CanDrawSubviewsIntoLayer() ( - r0 bool, -) { +// CanDrawSubviewsIntoLayer A Boolean value indicating whether the view incorporates content from its subviews into its own layer. +// https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc +func (x gen_NSView) CanDrawSubviewsIntoLayer() bool { ret := C.NSView_inst_canDrawSubviewsIntoLayer( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetCanDrawSubviewsIntoLayer A Boolean value indicating whether the view incorporates content from its subviews into its own layer. +// https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc func (x gen_NSView) SetCanDrawSubviewsIntoLayer( value bool, ) { @@ -22627,19 +25642,24 @@ func (x gen_NSView) SetCanDrawSubviewsIntoLayer( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) LayerUsesCoreImageFilters() ( - r0 bool, -) { +// LayerUsesCoreImageFilters A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering. +// https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc +func (x gen_NSView) LayerUsesCoreImageFilters() bool { ret := C.NSView_inst_layerUsesCoreImageFilters( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetLayerUsesCoreImageFilters A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering. +// https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc func (x gen_NSView) SetLayerUsesCoreImageFilters( value bool, ) { @@ -22647,19 +25667,24 @@ func (x gen_NSView) SetLayerUsesCoreImageFilters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) AlphaValue() ( - r0 core.CGFloat, -) { +// AlphaValue The opacity of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc +func (x gen_NSView) AlphaValue() core.CGFloat { ret := C.NSView_inst_alphaValue( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetAlphaValue The opacity of the view. +// https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc func (x gen_NSView) SetAlphaValue( value core.CGFloat, ) { @@ -22667,19 +25692,24 @@ func (x gen_NSView) SetAlphaValue( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSView) FrameCenterRotation() ( - r0 core.CGFloat, -) { +// FrameCenterRotation The rotation angle of the view around the center of its layer. +// https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc +func (x gen_NSView) FrameCenterRotation() core.CGFloat { ret := C.NSView_inst_frameCenterRotation( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetFrameCenterRotation The rotation angle of the view around the center of its layer. +// https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc func (x gen_NSView) SetFrameCenterRotation( value core.CGFloat, ) { @@ -22687,19 +25717,24 @@ func (x gen_NSView) SetFrameCenterRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_NSView) BackgroundFilters() ( - r0 core.NSArray, -) { +// BackgroundFilters An array of Core Image filters to apply to the view’s background. +// https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc +func (x gen_NSView) BackgroundFilters() core.NSArray { ret := C.NSView_inst_backgroundFilters( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetBackgroundFilters An array of Core Image filters to apply to the view’s background. +// https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc func (x gen_NSView) SetBackgroundFilters( value core.NSArrayRef, ) { @@ -22707,19 +25742,24 @@ func (x gen_NSView) SetBackgroundFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) ContentFilters() ( - r0 core.NSArray, -) { +// ContentFilters An array of Core Image filters to apply to the contents of the view and its sublayers. +// https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc +func (x gen_NSView) ContentFilters() core.NSArray { ret := C.NSView_inst_contentFilters( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetContentFilters An array of Core Image filters to apply to the contents of the view and its sublayers. +// https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc func (x gen_NSView) SetContentFilters( value core.NSArrayRef, ) { @@ -22727,19 +25767,24 @@ func (x gen_NSView) SetContentFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) CanDrawConcurrently() ( - r0 bool, -) { +// CanDrawConcurrently A Boolean value indicating whether the view can draw its contents on a background thread. +// https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc +func (x gen_NSView) CanDrawConcurrently() bool { ret := C.NSView_inst_canDrawConcurrently( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetCanDrawConcurrently A Boolean value indicating whether the view can draw its contents on a background thread. +// https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc func (x gen_NSView) SetCanDrawConcurrently( value bool, ) { @@ -22747,89 +25792,101 @@ func (x gen_NSView) SetCanDrawConcurrently( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) VisibleRect() ( - r0 core.NSRect, -) { +// VisibleRect The portion of the view that is not clipped by its superviews. +// https://developer.apple.com/documentation/appkit/nsview/1483446-visiblerect?language=objc +func (x gen_NSView) VisibleRect() core.NSRect { ret := C.NSView_inst_visibleRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSView) WantsDefaultClipping() ( - r0 bool, -) { +// WantsDefaultClipping A Boolean value indicating whether AppKit’s default clipping behavior is in effect. +// https://developer.apple.com/documentation/appkit/nsview/1483365-wantsdefaultclipping?language=objc +func (x gen_NSView) WantsDefaultClipping() bool { ret := C.NSView_inst_wantsDefaultClipping( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) PrintJobTitle() ( - r0 core.NSString, -) { +// PrintJobTitle The view’s print job title. +// https://developer.apple.com/documentation/appkit/nsview/1483753-printjobtitle?language=objc +func (x gen_NSView) PrintJobTitle() core.NSString { ret := C.NSView_inst_printJobTitle( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_NSView) PageHeader() ( - r0 core.NSAttributedString, -) { +// PageHeader A default header string that includes the print job title and date. +// https://developer.apple.com/documentation/appkit/nsview/1483674-pageheader?language=objc +func (x gen_NSView) PageHeader() core.NSAttributedString { ret := C.NSView_inst_pageHeader( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } -func (x gen_NSView) PageFooter() ( - r0 core.NSAttributedString, -) { +// PageFooter A default footer string that includes the current page number and page count. +// https://developer.apple.com/documentation/appkit/nsview/1483355-pagefooter?language=objc +func (x gen_NSView) PageFooter() core.NSAttributedString { ret := C.NSView_inst_pageFooter( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSAttributedString_fromPointer(ret) - return + + return core.NSAttributedString_fromPointer(ret) + } -func (x gen_NSView) HeightAdjustLimit() ( - r0 core.CGFloat, -) { +// HeightAdjustLimit The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as lines of text from being divided across pages. +// https://developer.apple.com/documentation/appkit/nsview/1483691-heightadjustlimit?language=objc +func (x gen_NSView) HeightAdjustLimit() core.CGFloat { ret := C.NSView_inst_heightAdjustLimit( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSView) WidthAdjustLimit() ( - r0 core.CGFloat, -) { +// WidthAdjustLimit The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as small images or text columns from being divided across pages. +// https://developer.apple.com/documentation/appkit/nsview/1483392-widthadjustlimit?language=objc +func (x gen_NSView) WidthAdjustLimit() core.CGFloat { ret := C.NSView_inst_widthAdjustLimit( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSView) NeedsDisplay() ( - r0 bool, -) { +// NeedsDisplay A Boolean value that determines whether the view needs to be redrawn before being displayed. +// https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc +func (x gen_NSView) NeedsDisplay() bool { ret := C.NSView_inst_needsDisplay( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetNeedsDisplay A Boolean value that determines whether the view needs to be redrawn before being displayed. +// https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc func (x gen_NSView) SetNeedsDisplay( value bool, ) { @@ -22837,59 +25894,68 @@ func (x gen_NSView) SetNeedsDisplay( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) IsOpaque() ( - r0 bool, -) { +// IsOpaque A Boolean value indicating whether the view fills its frame rectangle with opaque content. +// https://developer.apple.com/documentation/appkit/nsview/1483558-opaque?language=objc +func (x gen_NSView) IsOpaque() bool { ret := C.NSView_inst_isOpaque( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) IsFlipped() ( - r0 bool, -) { +// IsFlipped A Boolean value indicating whether the view uses a flipped coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483532-flipped?language=objc +func (x gen_NSView) IsFlipped() bool { ret := C.NSView_inst_isFlipped( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) IsRotatedFromBase() ( - r0 bool, -) { +// IsRotatedFromBase A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds. +// https://developer.apple.com/documentation/appkit/nsview/1483709-rotatedfrombase?language=objc +func (x gen_NSView) IsRotatedFromBase() bool { ret := C.NSView_inst_isRotatedFromBase( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) IsRotatedOrScaledFromBase() ( - r0 bool, -) { +// IsRotatedOrScaledFromBase A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds, or has been scaled from the window’s base coordinate system. +// https://developer.apple.com/documentation/appkit/nsview/1483390-rotatedorscaledfrombase?language=objc +func (x gen_NSView) IsRotatedOrScaledFromBase() bool { ret := C.NSView_inst_isRotatedOrScaledFromBase( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) AutoresizesSubviews() ( - r0 bool, -) { +// AutoresizesSubviews A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. +// https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc +func (x gen_NSView) AutoresizesSubviews() bool { ret := C.NSView_inst_autoresizesSubviews( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAutoresizesSubviews A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. +// https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc func (x gen_NSView) SetAutoresizesSubviews( value bool, ) { @@ -22897,89 +25963,101 @@ func (x gen_NSView) SetAutoresizesSubviews( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) Constraints() ( - r0 core.NSArray, -) { +// Constraints Returns the constraints held by the view. +// https://developer.apple.com/documentation/appkit/nsview/1526917-constraints?language=objc +func (x gen_NSView) Constraints() core.NSArray { ret := C.NSView_inst_constraints( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSView) LayoutGuides() ( - r0 core.NSArray, -) { +// LayoutGuides The array of layout guide objects owned by this view. +// https://developer.apple.com/documentation/appkit/nsview/1534395-layoutguides?language=objc +func (x gen_NSView) LayoutGuides() core.NSArray { ret := C.NSView_inst_layoutGuides( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSView) FittingSize() ( - r0 core.NSSize, -) { +// FittingSize The minimum size of the view that satisfies the constraints it holds. +// https://developer.apple.com/documentation/appkit/nsview/1526904-fittingsize?language=objc +func (x gen_NSView) FittingSize() core.NSSize { ret := C.NSView_inst_fittingSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_NSView) IntrinsicContentSize() ( - r0 core.NSSize, -) { +// IntrinsicContentSize The natural size for the receiving view, considering only properties of the view itself. +// https://developer.apple.com/documentation/appkit/nsview/1526996-intrinsiccontentsize?language=objc +func (x gen_NSView) IntrinsicContentSize() core.NSSize { ret := C.NSView_inst_intrinsicContentSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSSize)(unsafe.Pointer(&ret)) - return + + return *(*core.NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_NSView) BaselineOffsetFromBottom() ( - r0 core.CGFloat, -) { +// BaselineOffsetFromBottom The distance (in points) between the bottom of the view’s alignment rectangle and its baseline. +// https://developer.apple.com/documentation/appkit/nsview/1526949-baselineoffsetfrombottom?language=objc +func (x gen_NSView) BaselineOffsetFromBottom() core.CGFloat { ret := C.NSView_inst_baselineOffsetFromBottom( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSView) FirstBaselineOffsetFromTop() ( - r0 core.CGFloat, -) { +// FirstBaselineOffsetFromTop The distance (in points) between the top of the view’s alignment rectangle and its topmost baseline. +// https://developer.apple.com/documentation/appkit/nsview/1526963-firstbaselineoffsetfromtop?language=objc +func (x gen_NSView) FirstBaselineOffsetFromTop() core.CGFloat { ret := C.NSView_inst_firstBaselineOffsetFromTop( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSView) LastBaselineOffsetFromBottom() ( - r0 core.CGFloat, -) { +// LastBaselineOffsetFromBottom The distance (in points) between the bottom of the view’s alignment rectangle and its bottommost baseline. +// https://developer.apple.com/documentation/appkit/nsview/1525942-lastbaselineoffsetfrombottom?language=objc +func (x gen_NSView) LastBaselineOffsetFromBottom() core.CGFloat { ret := C.NSView_inst_lastBaselineOffsetFromBottom( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } -func (x gen_NSView) NeedsLayout() ( - r0 bool, -) { +// NeedsLayout A Boolean value indicating whether the view needs a layout pass before it can be drawn. +// https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc +func (x gen_NSView) NeedsLayout() bool { ret := C.NSView_inst_needsLayout( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetNeedsLayout A Boolean value indicating whether the view needs a layout pass before it can be drawn. +// https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc func (x gen_NSView) SetNeedsLayout( value bool, ) { @@ -22987,19 +26065,24 @@ func (x gen_NSView) SetNeedsLayout( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) NeedsUpdateConstraints() ( - r0 bool, -) { +// NeedsUpdateConstraints A Boolean value indicating whether the view’s constraints need to be updated. +// https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc +func (x gen_NSView) NeedsUpdateConstraints() bool { ret := C.NSView_inst_needsUpdateConstraints( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetNeedsUpdateConstraints A Boolean value indicating whether the view’s constraints need to be updated. +// https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc func (x gen_NSView) SetNeedsUpdateConstraints( value bool, ) { @@ -23007,19 +26090,24 @@ func (x gen_NSView) SetNeedsUpdateConstraints( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() ( - r0 bool, -) { +// TranslatesAutoresizingMaskIntoConstraints A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. +// https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc +func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() bool { ret := C.NSView_inst_translatesAutoresizingMaskIntoConstraints( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetTranslatesAutoresizingMaskIntoConstraints A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. +// https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( value bool, ) { @@ -23027,59 +26115,68 @@ func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) HasAmbiguousLayout() ( - r0 bool, -) { +// HasAmbiguousLayout A Boolean value indicating whether the constraints impacting the layout of the view incompletely specify the location of the view. +// https://developer.apple.com/documentation/appkit/nsview/1526907-hasambiguouslayout?language=objc +func (x gen_NSView) HasAmbiguousLayout() bool { ret := C.NSView_inst_hasAmbiguousLayout( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) FocusRingMaskBounds() ( - r0 core.NSRect, -) { +// FocusRingMaskBounds The focus ring mask bounds, specified in the view’s coordinate space. +// https://developer.apple.com/documentation/appkit/nsview/1483287-focusringmaskbounds?language=objc +func (x gen_NSView) FocusRingMaskBounds() core.NSRect { ret := C.NSView_inst_focusRingMaskBounds( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSView) AllowsVibrancy() ( - r0 bool, -) { +// AllowsVibrancy A Boolean value indicating whether the view ensures it is vibrant on top of other content. +// https://developer.apple.com/documentation/appkit/nsview/1483793-allowsvibrancy?language=objc +func (x gen_NSView) AllowsVibrancy() bool { ret := C.NSView_inst_allowsVibrancy( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) IsInFullScreenMode() ( - r0 bool, -) { +// IsInFullScreenMode A Boolean value indicating whether the view is in full screen mode. +// https://developer.apple.com/documentation/appkit/nsview/1483337-infullscreenmode?language=objc +func (x gen_NSView) IsInFullScreenMode() bool { ret := C.NSView_inst_isInFullScreenMode( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) IsHidden() ( - r0 bool, -) { +// IsHidden A Boolean value indicating whether the view is hidden. +// https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc +func (x gen_NSView) IsHidden() bool { ret := C.NSView_inst_isHidden( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHidden A Boolean value indicating whether the view is hidden. +// https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc func (x gen_NSView) SetHidden( value bool, ) { @@ -23087,59 +26184,68 @@ func (x gen_NSView) SetHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) IsHiddenOrHasHiddenAncestor() ( - r0 bool, -) { +// IsHiddenOrHasHiddenAncestor A Boolean value indicating whether the view is hidden from sight because it, or one of its ancestors, is marked as hidden. +// https://developer.apple.com/documentation/appkit/nsview/1483473-hiddenorhashiddenancestor?language=objc +func (x gen_NSView) IsHiddenOrHasHiddenAncestor() bool { ret := C.NSView_inst_isHiddenOrHasHiddenAncestor( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) InLiveResize() ( - r0 bool, -) { +// InLiveResize A Boolean value indicating whether the view is being rendered as part of a live resizing operation. +// https://developer.apple.com/documentation/appkit/nsview/1483267-inliveresize?language=objc +func (x gen_NSView) InLiveResize() bool { ret := C.NSView_inst_inLiveResize( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) PreservesContentDuringLiveResize() ( - r0 bool, -) { +// PreservesContentDuringLiveResize A Boolean value indicating whether the view optimizes live-resize operations by preserving content that has not moved. +// https://developer.apple.com/documentation/appkit/nsview/1483795-preservescontentduringliveresize?language=objc +func (x gen_NSView) PreservesContentDuringLiveResize() bool { ret := C.NSView_inst_preservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) RectPreservedDuringLiveResize() ( - r0 core.NSRect, -) { +// RectPreservedDuringLiveResize The rectangle identifying the portion of your view that did not change during a live resize operation. +// https://developer.apple.com/documentation/appkit/nsview/1483528-rectpreservedduringliveresize?language=objc +func (x gen_NSView) RectPreservedDuringLiveResize() core.NSRect { ret := C.NSView_inst_rectPreservedDuringLiveResize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_NSView) GestureRecognizers() ( - r0 core.NSArray, -) { +// GestureRecognizers The gesture recognize objects currently attached to the view. +// https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc +func (x gen_NSView) GestureRecognizers() core.NSArray { ret := C.NSView_inst_gestureRecognizers( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } +// SetGestureRecognizers The gesture recognize objects currently attached to the view. +// https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc func (x gen_NSView) SetGestureRecognizers( value core.NSArrayRef, ) { @@ -23147,29 +26253,35 @@ func (x gen_NSView) SetGestureRecognizers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) MouseDownCanMoveWindow() ( - r0 bool, -) { +// MouseDownCanMoveWindow A Boolean value indicating whether the view can pass mouse down events through to its superviews. +// https://developer.apple.com/documentation/appkit/nsview/1483666-mousedowncanmovewindow?language=objc +func (x gen_NSView) MouseDownCanMoveWindow() bool { ret := C.NSView_inst_mouseDownCanMoveWindow( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) WantsRestingTouches() ( - r0 bool, -) { +// WantsRestingTouches A Boolean value indicating whether the view wants resting touches. +// https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc +func (x gen_NSView) WantsRestingTouches() bool { ret := C.NSView_inst_wantsRestingTouches( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetWantsRestingTouches A Boolean value indicating whether the view wants resting touches. +// https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc func (x gen_NSView) SetWantsRestingTouches( value bool, ) { @@ -23177,39 +26289,46 @@ func (x gen_NSView) SetWantsRestingTouches( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) CanBecomeKeyView() ( - r0 bool, -) { +// CanBecomeKeyView A Boolean value indicating whether the view can become key view. +// https://developer.apple.com/documentation/appkit/nsview/1483759-canbecomekeyview?language=objc +func (x gen_NSView) CanBecomeKeyView() bool { ret := C.NSView_inst_canBecomeKeyView( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) NeedsPanelToBecomeKey() ( - r0 bool, -) { +// NeedsPanelToBecomeKey A Boolean value indicating whether the view needs its panel to become the key window before it can handle keyboard input and navigation. +// https://developer.apple.com/documentation/appkit/nsview/1483512-needspaneltobecomekey?language=objc +func (x gen_NSView) NeedsPanelToBecomeKey() bool { ret := C.NSView_inst_needsPanelToBecomeKey( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) NextKeyView() ( - r0 NSView, -) { +// NextKeyView The view object that follows the current view in the key view loop. +// https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc +func (x gen_NSView) NextKeyView() NSView { ret := C.NSView_inst_nextKeyView( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } +// SetNextKeyView The view object that follows the current view in the key view loop. +// https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc func (x gen_NSView) SetNextKeyView( value NSViewRef, ) { @@ -23217,49 +26336,57 @@ func (x gen_NSView) SetNextKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) NextValidKeyView() ( - r0 NSView, -) { +// NextValidKeyView The closest view object in the key view loop that follows the current view in the key view loop and accepts first responder status. +// https://developer.apple.com/documentation/appkit/nsview/1483572-nextvalidkeyview?language=objc +func (x gen_NSView) NextValidKeyView() NSView { ret := C.NSView_inst_nextValidKeyView( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func (x gen_NSView) PreviousKeyView() ( - r0 NSView, -) { +// PreviousKeyView The view object preceding the current view in the key view loop. +// https://developer.apple.com/documentation/appkit/nsview/1483646-previouskeyview?language=objc +func (x gen_NSView) PreviousKeyView() NSView { ret := C.NSView_inst_previousKeyView( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func (x gen_NSView) PreviousValidKeyView() ( - r0 NSView, -) { +// PreviousValidKeyView The closest view object in the key view loop that precedes the current view and accepts first responder status. +// https://developer.apple.com/documentation/appkit/nsview/1483371-previousvalidkeyview?language=objc +func (x gen_NSView) PreviousValidKeyView() NSView { ret := C.NSView_inst_previousValidKeyView( unsafe.Pointer(x.Pointer()), ) - r0 = NSView_fromPointer(ret) - return + + return NSView_fromPointer(ret) + } -func (x gen_NSView) PreparedContentRect() ( - r0 core.NSRect, -) { +// PreparedContentRect The portion of the view that has been rendered and is available for responsive scrolling. +// https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc +func (x gen_NSView) PreparedContentRect() core.NSRect { ret := C.NSView_inst_preparedContentRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*core.NSRect)(unsafe.Pointer(&ret)) - return + + return *(*core.NSRect)(unsafe.Pointer(&ret)) + } +// SetPreparedContentRect The portion of the view that has been rendered and is available for responsive scrolling. +// https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc func (x gen_NSView) SetPreparedContentRect( value core.NSRect, ) { @@ -23267,29 +26394,35 @@ func (x gen_NSView) SetPreparedContentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_NSView) RegisteredDraggedTypes() ( - r0 core.NSArray, -) { +// RegisteredDraggedTypes The array of pasteboard drag types that the view can accept. +// https://developer.apple.com/documentation/appkit/nsview/1483564-registereddraggedtypes?language=objc +func (x gen_NSView) RegisteredDraggedTypes() core.NSArray { ret := C.NSView_inst_registeredDraggedTypes( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSView) PostsFrameChangedNotifications() ( - r0 bool, -) { +// PostsFrameChangedNotifications A Boolean value indicating whether the view posts notifications when its frame rectangle changes. +// https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc +func (x gen_NSView) PostsFrameChangedNotifications() bool { ret := C.NSView_inst_postsFrameChangedNotifications( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetPostsFrameChangedNotifications A Boolean value indicating whether the view posts notifications when its frame rectangle changes. +// https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc func (x gen_NSView) SetPostsFrameChangedNotifications( value bool, ) { @@ -23297,19 +26430,24 @@ func (x gen_NSView) SetPostsFrameChangedNotifications( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) PostsBoundsChangedNotifications() ( - r0 bool, -) { +// PostsBoundsChangedNotifications A Boolean value indicating whether the view posts notifications when its bounds rectangle changes. +// https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc +func (x gen_NSView) PostsBoundsChangedNotifications() bool { ret := C.NSView_inst_postsBoundsChangedNotifications( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetPostsBoundsChangedNotifications A Boolean value indicating whether the view posts notifications when its bounds rectangle changes. +// https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc func (x gen_NSView) SetPostsBoundsChangedNotifications( value bool, ) { @@ -23317,29 +26455,35 @@ func (x gen_NSView) SetPostsBoundsChangedNotifications( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) Tag() ( - r0 core.NSInteger, -) { +// Tag The view’s tag, which is an integer that you use to identify the view within your app. +// https://developer.apple.com/documentation/appkit/nsview/1483248-tag?language=objc +func (x gen_NSView) Tag() core.NSInteger { ret := C.NSView_inst_tag( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSInteger(ret) - return + + return core.NSInteger(ret) + } -func (x gen_NSView) ToolTip() ( - r0 core.NSString, -) { +// ToolTip The text for the view’s tooltip. +// https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc +func (x gen_NSView) ToolTip() core.NSString { ret := C.NSView_inst_toolTip( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetToolTip The text for the view’s tooltip. +// https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc func (x gen_NSView) SetToolTip( value core.NSStringRef, ) { @@ -23347,39 +26491,46 @@ func (x gen_NSView) SetToolTip( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSView) TrackingAreas() ( - r0 core.NSArray, -) { +// TrackingAreas An array of the view’s tracking areas. +// https://developer.apple.com/documentation/appkit/nsview/1483333-trackingareas?language=objc +func (x gen_NSView) TrackingAreas() core.NSArray { ret := C.NSView_inst_trackingAreas( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSArray_fromPointer(ret) - return + + return core.NSArray_fromPointer(ret) + } -func (x gen_NSView) IsDrawingFindIndicator() ( - r0 bool, -) { +// IsDrawingFindIndicator A Boolean value indicating whether the view or one of its ancestors is being drawn for a find indicator. +// https://developer.apple.com/documentation/appkit/nsview/1483317-drawingfindindicator?language=objc +func (x gen_NSView) IsDrawingFindIndicator() bool { ret := C.NSView_inst_isDrawingFindIndicator( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSView) IsHorizontalContentSizeConstraintActive() ( - r0 bool, -) { +// IsHorizontalContentSizeConstraintActive +// https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc +func (x gen_NSView) IsHorizontalContentSizeConstraintActive() bool { ret := C.NSView_inst_isHorizontalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHorizontalContentSizeConstraintActive +// https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc func (x gen_NSView) SetHorizontalContentSizeConstraintActive( value bool, ) { @@ -23387,19 +26538,24 @@ func (x gen_NSView) SetHorizontalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) IsVerticalContentSizeConstraintActive() ( - r0 bool, -) { +// IsVerticalContentSizeConstraintActive +// https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc +func (x gen_NSView) IsVerticalContentSizeConstraintActive() bool { ret := C.NSView_inst_isVerticalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetVerticalContentSizeConstraintActive +// https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc func (x gen_NSView) SetVerticalContentSizeConstraintActive( value bool, ) { @@ -23407,19 +26563,22 @@ func (x gen_NSView) SetVerticalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_NSView) BackgroundColor() ( - r0 NSColor, -) { +// BackgroundColor +func (x gen_NSView) BackgroundColor() NSColor { ret := C.NSView_inst_backgroundColor( unsafe.Pointer(x.Pointer()), ) - r0 = NSColor_fromPointer(ret) - return + + return NSColor_fromPointer(ret) + } +// SetBackgroundColor func (x gen_NSView) SetBackgroundColor( value NSColorRef, ) { @@ -23427,5 +26586,7 @@ func (x gen_NSView) SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index b4bd54e5..c2fde982 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -2852,19 +2852,22 @@ func CALayer_fromRef(ref objc.Ref) CALayer { return CALayer_fromPointer(unsafe.Pointer(ref.Pointer())) } +// ActionForKey Returns the action object assigned to the specified key. +// https://developer.apple.com/documentation/quartzcore/calayer/1410844-actionforkey?language=objc func (x gen_CALayer) ActionForKey( event NSStringRef, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.CALayer_inst_actionForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// AddSublayer Appends the layer to the layer’s list of sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1410833-addsublayer?language=objc func (x gen_CALayer) AddSublayer( layer CALayerRef, ) { @@ -2872,96 +2875,114 @@ func (x gen_CALayer) AddSublayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) + return + } -func (x gen_CALayer) AnimationKeys() ( - r0 NSArray, -) { +// AnimationKeys Returns an array of strings that identify the animations currently attached to the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410937-animationkeys?language=objc +func (x gen_CALayer) AnimationKeys() NSArray { ret := C.CALayer_inst_animationKeys( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func (x gen_CALayer) ContentsAreFlipped() ( - r0 bool, -) { +// ContentsAreFlipped Returns a Boolean indicating whether the layer content is implicitly flipped when rendered. +// https://developer.apple.com/documentation/quartzcore/calayer/1410777-contentsareflipped?language=objc +func (x gen_CALayer) ContentsAreFlipped() bool { ret := C.CALayer_inst_contentsAreFlipped( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ConvertRect_fromLayer Converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. +// https://developer.apple.com/documentation/quartzcore/calayer/1410948-convertrect?language=objc func (x gen_CALayer) ConvertRect_fromLayer( r NSRect, l CALayerRef, -) ( - r0 NSRect, -) { +) NSRect { ret := C.CALayer_inst_convertRect_fromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), objc.RefPointer(l), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } +// ConvertRect_toLayer Converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. +// https://developer.apple.com/documentation/quartzcore/calayer/1410742-convertrect?language=objc func (x gen_CALayer) ConvertRect_toLayer( r NSRect, l CALayerRef, -) ( - r0 NSRect, -) { +) NSRect { ret := C.CALayer_inst_convertRect_toLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), objc.RefPointer(l), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } +// Display Reloads the content of this layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410926-display?language=objc func (x gen_CALayer) Display() { C.CALayer_inst_display( unsafe.Pointer(x.Pointer()), ) + return + } +// DisplayIfNeeded Initiates the update process for a layer if it is currently marked as needing an update. +// https://developer.apple.com/documentation/quartzcore/calayer/1410813-displayifneeded?language=objc func (x gen_CALayer) DisplayIfNeeded() { C.CALayer_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_CALayer) Init_asCALayer() ( - r0 CALayer, -) { +// Init_asCALayer Returns an initialized CALayer object. +// https://developer.apple.com/documentation/quartzcore/calayer/1410835-init?language=objc +func (x gen_CALayer) Init_asCALayer() CALayer { ret := C.CALayer_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } +// InitWithLayer_asCALayer Override to copy or initialize custom fields of the specified layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410842-initwithlayer?language=objc func (x gen_CALayer) InitWithLayer_asCALayer( layer objc.Ref, -) ( - r0 CALayer, -) { +) CALayer { ret := C.CALayer_inst_initWithLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } +// InsertSublayer_above Inserts the specified sublayer above a different sublayer that already belongs to the receiver. +// https://developer.apple.com/documentation/quartzcore/calayer/1410798-insertsublayer?language=objc func (x gen_CALayer) InsertSublayer_above( layer CALayerRef, sibling CALayerRef, @@ -2971,9 +2992,13 @@ func (x gen_CALayer) InsertSublayer_above( objc.RefPointer(layer), objc.RefPointer(sibling), ) + return + } +// InsertSublayer_atIndex Inserts the specified layer into the receiver’s list of sublayers at the specified index. +// https://developer.apple.com/documentation/quartzcore/calayer/1410944-insertsublayer?language=objc func (x gen_CALayer) InsertSublayer_atIndex( layer CALayerRef, idx int32, @@ -2983,9 +3008,13 @@ func (x gen_CALayer) InsertSublayer_atIndex( objc.RefPointer(layer), C.int(idx), ) + return + } +// InsertSublayer_below Inserts the specified sublayer below a different sublayer that already belongs to the receiver. +// https://developer.apple.com/documentation/quartzcore/calayer/1410840-insertsublayer?language=objc func (x gen_CALayer) InsertSublayer_below( layer CALayerRef, sibling CALayerRef, @@ -2995,80 +3024,101 @@ func (x gen_CALayer) InsertSublayer_below( objc.RefPointer(layer), objc.RefPointer(sibling), ) + return + } +// LayoutIfNeeded Recalculate the receiver’s layout, if required. +// https://developer.apple.com/documentation/quartzcore/calayer/1410873-layoutifneeded?language=objc func (x gen_CALayer) LayoutIfNeeded() { C.CALayer_inst_layoutIfNeeded( unsafe.Pointer(x.Pointer()), ) + return + } +// LayoutSublayers Tells the layer to update its layout. +// https://developer.apple.com/documentation/quartzcore/calayer/1410935-layoutsublayers?language=objc func (x gen_CALayer) LayoutSublayers() { C.CALayer_inst_layoutSublayers( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_CALayer) ModelLayer_asCALayer() ( - r0 CALayer, -) { +// ModelLayer_asCALayer Returns the model layer object associated with the receiver, if any. +// https://developer.apple.com/documentation/quartzcore/calayer/1410853-modellayer?language=objc +func (x gen_CALayer) ModelLayer_asCALayer() CALayer { ret := C.CALayer_inst_modelLayer( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } -func (x gen_CALayer) NeedsDisplay() ( - r0 bool, -) { +// NeedsDisplay Returns a Boolean indicating whether the layer has been marked as needing an update. +// https://developer.apple.com/documentation/quartzcore/calayer/1410958-needsdisplay?language=objc +func (x gen_CALayer) NeedsDisplay() bool { ret := C.CALayer_inst_needsDisplay( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_CALayer) NeedsLayout() ( - r0 bool, -) { +// NeedsLayout Returns a Boolean indicating whether the layer has been marked as needing a layout update. +// https://developer.apple.com/documentation/quartzcore/calayer/1410956-needslayout?language=objc +func (x gen_CALayer) NeedsLayout() bool { ret := C.CALayer_inst_needsLayout( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_CALayer) PreferredFrameSize() ( - r0 NSSize, -) { +// PreferredFrameSize Returns the preferred size of the layer in the coordinate space of its superlayer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410980-preferredframesize?language=objc +func (x gen_CALayer) PreferredFrameSize() NSSize { ret := C.CALayer_inst_preferredFrameSize( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSSize)(unsafe.Pointer(&ret)) - return + + return *(*NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_CALayer) PresentationLayer_asCALayer() ( - r0 CALayer, -) { +// PresentationLayer_asCALayer Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. +// https://developer.apple.com/documentation/quartzcore/calayer/1410744-presentationlayer?language=objc +func (x gen_CALayer) PresentationLayer_asCALayer() CALayer { ret := C.CALayer_inst_presentationLayer( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } +// RemoveAllAnimations Remove all animations attached to the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410810-removeallanimations?language=objc func (x gen_CALayer) RemoveAllAnimations() { C.CALayer_inst_removeAllAnimations( unsafe.Pointer(x.Pointer()), ) + return + } +// RemoveAnimationForKey Remove the animation object with the specified key. +// https://developer.apple.com/documentation/quartzcore/calayer/1410939-removeanimationforkey?language=objc func (x gen_CALayer) RemoveAnimationForKey( key NSStringRef, ) { @@ -3076,16 +3126,24 @@ func (x gen_CALayer) RemoveAnimationForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) + return + } +// RemoveFromSuperlayer Detaches the layer from its parent layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410767-removefromsuperlayer?language=objc func (x gen_CALayer) RemoveFromSuperlayer() { C.CALayer_inst_removeFromSuperlayer( unsafe.Pointer(x.Pointer()), ) + return + } +// ReplaceSublayer_with Replaces the specified sublayer with a different layer object. +// https://developer.apple.com/documentation/quartzcore/calayer/1410820-replacesublayer?language=objc func (x gen_CALayer) ReplaceSublayer_with( oldLayer CALayerRef, newLayer CALayerRef, @@ -3095,9 +3153,13 @@ func (x gen_CALayer) ReplaceSublayer_with( objc.RefPointer(oldLayer), objc.RefPointer(newLayer), ) + return + } +// ResizeSublayersWithOldSize Informs the receiver’s sublayers that the receiver’s size has changed. +// https://developer.apple.com/documentation/quartzcore/calayer/1410929-resizesublayerswitholdsize?language=objc func (x gen_CALayer) ResizeSublayersWithOldSize( size NSSize, ) { @@ -3105,9 +3167,13 @@ func (x gen_CALayer) ResizeSublayersWithOldSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) + return + } +// ResizeWithOldSuperlayerSize Informs the receiver that the size of its superlayer changed. +// https://developer.apple.com/documentation/quartzcore/calayer/1410894-resizewitholdsuperlayersize?language=objc func (x gen_CALayer) ResizeWithOldSuperlayerSize( size NSSize, ) { @@ -3115,9 +3181,13 @@ func (x gen_CALayer) ResizeWithOldSuperlayerSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) + return + } +// ScrollRectToVisible Initiates a scroll in the layer’s closest ancestor scroll layer so that the specified rectangle becomes visible. +// https://developer.apple.com/documentation/quartzcore/calayer/1522139-scrollrecttovisible?language=objc func (x gen_CALayer) ScrollRectToVisible( r NSRect, ) { @@ -3125,16 +3195,24 @@ func (x gen_CALayer) ScrollRectToVisible( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), ) + return + } +// SetNeedsDisplay Marks the layer’s contents as needing to be updated. +// https://developer.apple.com/documentation/quartzcore/calayer/1410855-setneedsdisplay?language=objc func (x gen_CALayer) SetNeedsDisplay() { C.CALayer_inst_setNeedsDisplay( unsafe.Pointer(x.Pointer()), ) + return + } +// SetNeedsDisplayInRect Marks the region within the specified rectangle as needing to be updated. +// https://developer.apple.com/documentation/quartzcore/calayer/1410800-setneedsdisplayinrect?language=objc func (x gen_CALayer) SetNeedsDisplayInRect( r NSRect, ) { @@ -3142,39 +3220,49 @@ func (x gen_CALayer) SetNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), ) + return + } +// SetNeedsLayout Invalidates the layer’s layout and marks it as needing an update. +// https://developer.apple.com/documentation/quartzcore/calayer/1410946-setneedslayout?language=objc func (x gen_CALayer) SetNeedsLayout() { C.CALayer_inst_setNeedsLayout( unsafe.Pointer(x.Pointer()), ) + return + } +// ShouldArchiveValueForKey Returns a Boolean indicating whether the value of the specified key should be archived. +// https://developer.apple.com/documentation/quartzcore/calayer/1410753-shouldarchivevalueforkey?language=objc func (x gen_CALayer) ShouldArchiveValueForKey( key NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.CALayer_inst_shouldArchiveValueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_CALayer) Delegate() ( - r0 objc.Object, -) { +// Delegate The layer’s delegate object. +// https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc +func (x gen_CALayer) Delegate() objc.Object { ret := C.CALayer_inst_delegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetDelegate The layer’s delegate object. +// https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc func (x gen_CALayer) SetDelegate( value objc.Ref, ) { @@ -3182,19 +3270,24 @@ func (x gen_CALayer) SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) Contents() ( - r0 objc.Object, -) { +// Contents An object that provides the contents of the layer. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc +func (x gen_CALayer) Contents() objc.Object { ret := C.CALayer_inst_contents( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetContents An object that provides the contents of the layer. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc func (x gen_CALayer) SetContents( value objc.Ref, ) { @@ -3202,19 +3295,24 @@ func (x gen_CALayer) SetContents( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) ContentsRect() ( - r0 NSRect, -) { +// ContentsRect The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc +func (x gen_CALayer) ContentsRect() NSRect { ret := C.CALayer_inst_contentsRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } +// SetContentsRect The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc func (x gen_CALayer) SetContentsRect( value NSRect, ) { @@ -3222,19 +3320,24 @@ func (x gen_CALayer) SetContentsRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_CALayer) ContentsCenter() ( - r0 NSRect, -) { +// ContentsCenter The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc +func (x gen_CALayer) ContentsCenter() NSRect { ret := C.CALayer_inst_contentsCenter( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } +// SetContentsCenter The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc func (x gen_CALayer) SetContentsCenter( value NSRect, ) { @@ -3242,19 +3345,24 @@ func (x gen_CALayer) SetContentsCenter( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_CALayer) IsHidden() ( - r0 bool, -) { +// IsHidden A Boolean indicating whether the layer is displayed. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc +func (x gen_CALayer) IsHidden() bool { ret := C.CALayer_inst_isHidden( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetHidden A Boolean indicating whether the layer is displayed. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc func (x gen_CALayer) SetHidden( value bool, ) { @@ -3262,19 +3370,24 @@ func (x gen_CALayer) SetHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) MasksToBounds() ( - r0 bool, -) { +// MasksToBounds A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc +func (x gen_CALayer) MasksToBounds() bool { ret := C.CALayer_inst_masksToBounds( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetMasksToBounds A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc func (x gen_CALayer) SetMasksToBounds( value bool, ) { @@ -3282,19 +3395,24 @@ func (x gen_CALayer) SetMasksToBounds( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) Mask() ( - r0 CALayer, -) { +// Mask An optional layer whose alpha channel is used to mask the layer’s content. +// https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc +func (x gen_CALayer) Mask() CALayer { ret := C.CALayer_inst_mask( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } +// SetMask An optional layer whose alpha channel is used to mask the layer’s content. +// https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc func (x gen_CALayer) SetMask( value CALayerRef, ) { @@ -3302,19 +3420,24 @@ func (x gen_CALayer) SetMask( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) IsDoubleSided() ( - r0 bool, -) { +// IsDoubleSided A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc +func (x gen_CALayer) IsDoubleSided() bool { ret := C.CALayer_inst_isDoubleSided( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDoubleSided A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc func (x gen_CALayer) SetDoubleSided( value bool, ) { @@ -3322,19 +3445,24 @@ func (x gen_CALayer) SetDoubleSided( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) CornerRadius() ( - r0 CGFloat, -) { +// CornerRadius The radius to use when drawing rounded corners for the layer’s background. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc +func (x gen_CALayer) CornerRadius() CGFloat { ret := C.CALayer_inst_cornerRadius( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetCornerRadius The radius to use when drawing rounded corners for the layer’s background. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc func (x gen_CALayer) SetCornerRadius( value CGFloat, ) { @@ -3342,19 +3470,24 @@ func (x gen_CALayer) SetCornerRadius( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) BorderWidth() ( - r0 CGFloat, -) { +// BorderWidth The width of the layer’s border. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc +func (x gen_CALayer) BorderWidth() CGFloat { ret := C.CALayer_inst_borderWidth( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetBorderWidth The width of the layer’s border. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc func (x gen_CALayer) SetBorderWidth( value CGFloat, ) { @@ -3362,19 +3495,24 @@ func (x gen_CALayer) SetBorderWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) ShadowRadius() ( - r0 CGFloat, -) { +// ShadowRadius The blur radius (in points) used to render the layer’s shadow. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc +func (x gen_CALayer) ShadowRadius() CGFloat { ret := C.CALayer_inst_shadowRadius( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetShadowRadius The blur radius (in points) used to render the layer’s shadow. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc func (x gen_CALayer) SetShadowRadius( value CGFloat, ) { @@ -3382,19 +3520,24 @@ func (x gen_CALayer) SetShadowRadius( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) ShadowOffset() ( - r0 NSSize, -) { +// ShadowOffset The offset (in points) of the layer’s shadow. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc +func (x gen_CALayer) ShadowOffset() NSSize { ret := C.CALayer_inst_shadowOffset( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSSize)(unsafe.Pointer(&ret)) - return + + return *(*NSSize)(unsafe.Pointer(&ret)) + } +// SetShadowOffset The offset (in points) of the layer’s shadow. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc func (x gen_CALayer) SetShadowOffset( value NSSize, ) { @@ -3402,19 +3545,24 @@ func (x gen_CALayer) SetShadowOffset( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) + return + } -func (x gen_CALayer) Style() ( - r0 NSDictionary, -) { +// Style An optional dictionary used to store property values that aren't explicitly defined by the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc +func (x gen_CALayer) Style() NSDictionary { ret := C.CALayer_inst_style( unsafe.Pointer(x.Pointer()), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// SetStyle An optional dictionary used to store property values that aren't explicitly defined by the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc func (x gen_CALayer) SetStyle( value NSDictionaryRef, ) { @@ -3422,19 +3570,24 @@ func (x gen_CALayer) SetStyle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) AllowsEdgeAntialiasing() ( - r0 bool, -) { +// AllowsEdgeAntialiasing A Boolean indicating whether the layer is allowed to perform edge antialiasing. +// https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc +func (x gen_CALayer) AllowsEdgeAntialiasing() bool { ret := C.CALayer_inst_allowsEdgeAntialiasing( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsEdgeAntialiasing A Boolean indicating whether the layer is allowed to perform edge antialiasing. +// https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc func (x gen_CALayer) SetAllowsEdgeAntialiasing( value bool, ) { @@ -3442,19 +3595,24 @@ func (x gen_CALayer) SetAllowsEdgeAntialiasing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) AllowsGroupOpacity() ( - r0 bool, -) { +// AllowsGroupOpacity A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. +// https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc +func (x gen_CALayer) AllowsGroupOpacity() bool { ret := C.CALayer_inst_allowsGroupOpacity( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsGroupOpacity A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. +// https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc func (x gen_CALayer) SetAllowsGroupOpacity( value bool, ) { @@ -3462,19 +3620,24 @@ func (x gen_CALayer) SetAllowsGroupOpacity( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) Filters() ( - r0 NSArray, -) { +// Filters An array of Core Image filters to apply to the contents of the layer and its sublayers. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc +func (x gen_CALayer) Filters() NSArray { ret := C.CALayer_inst_filters( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SetFilters An array of Core Image filters to apply to the contents of the layer and its sublayers. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc func (x gen_CALayer) SetFilters( value NSArrayRef, ) { @@ -3482,19 +3645,24 @@ func (x gen_CALayer) SetFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) CompositingFilter() ( - r0 objc.Object, -) { +// CompositingFilter A CoreImage filter used to composite the layer and the content behind it. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc +func (x gen_CALayer) CompositingFilter() objc.Object { ret := C.CALayer_inst_compositingFilter( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetCompositingFilter A CoreImage filter used to composite the layer and the content behind it. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc func (x gen_CALayer) SetCompositingFilter( value objc.Ref, ) { @@ -3502,19 +3670,24 @@ func (x gen_CALayer) SetCompositingFilter( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) BackgroundFilters() ( - r0 NSArray, -) { +// BackgroundFilters An array of Core Image filters to apply to the content immediately behind the layer. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc +func (x gen_CALayer) BackgroundFilters() NSArray { ret := C.CALayer_inst_backgroundFilters( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SetBackgroundFilters An array of Core Image filters to apply to the content immediately behind the layer. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc func (x gen_CALayer) SetBackgroundFilters( value NSArrayRef, ) { @@ -3522,19 +3695,24 @@ func (x gen_CALayer) SetBackgroundFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) IsOpaque() ( - r0 bool, -) { +// IsOpaque A Boolean value indicating whether the layer contains completely opaque content. +// https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc +func (x gen_CALayer) IsOpaque() bool { ret := C.CALayer_inst_isOpaque( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetOpaque A Boolean value indicating whether the layer contains completely opaque content. +// https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc func (x gen_CALayer) SetOpaque( value bool, ) { @@ -3542,19 +3720,24 @@ func (x gen_CALayer) SetOpaque( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) IsGeometryFlipped() ( - r0 bool, -) { +// IsGeometryFlipped A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. +// https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc +func (x gen_CALayer) IsGeometryFlipped() bool { ret := C.CALayer_inst_isGeometryFlipped( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetGeometryFlipped A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. +// https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc func (x gen_CALayer) SetGeometryFlipped( value bool, ) { @@ -3562,19 +3745,24 @@ func (x gen_CALayer) SetGeometryFlipped( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) DrawsAsynchronously() ( - r0 bool, -) { +// DrawsAsynchronously A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. +// https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc +func (x gen_CALayer) DrawsAsynchronously() bool { ret := C.CALayer_inst_drawsAsynchronously( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetDrawsAsynchronously A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. +// https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc func (x gen_CALayer) SetDrawsAsynchronously( value bool, ) { @@ -3582,19 +3770,24 @@ func (x gen_CALayer) SetDrawsAsynchronously( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) ShouldRasterize() ( - r0 bool, -) { +// ShouldRasterize A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable +// https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc +func (x gen_CALayer) ShouldRasterize() bool { ret := C.CALayer_inst_shouldRasterize( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetShouldRasterize A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable +// https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc func (x gen_CALayer) SetShouldRasterize( value bool, ) { @@ -3602,19 +3795,24 @@ func (x gen_CALayer) SetShouldRasterize( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) RasterizationScale() ( - r0 CGFloat, -) { +// RasterizationScale The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable +// https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc +func (x gen_CALayer) RasterizationScale() CGFloat { ret := C.CALayer_inst_rasterizationScale( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetRasterizationScale The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable +// https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc func (x gen_CALayer) SetRasterizationScale( value CGFloat, ) { @@ -3622,19 +3820,24 @@ func (x gen_CALayer) SetRasterizationScale( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) Frame() ( - r0 NSRect, -) { +// Frame The layer’s frame rectangle. +// https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc +func (x gen_CALayer) Frame() NSRect { ret := C.CALayer_inst_frame( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } +// SetFrame The layer’s frame rectangle. +// https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc func (x gen_CALayer) SetFrame( value NSRect, ) { @@ -3642,19 +3845,24 @@ func (x gen_CALayer) SetFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_CALayer) Bounds() ( - r0 NSRect, -) { +// Bounds The layer’s bounds rectangle. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc +func (x gen_CALayer) Bounds() NSRect { ret := C.CALayer_inst_bounds( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } +// SetBounds The layer’s bounds rectangle. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc func (x gen_CALayer) SetBounds( value NSRect, ) { @@ -3662,19 +3870,24 @@ func (x gen_CALayer) SetBounds( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) + return + } -func (x gen_CALayer) ZPosition() ( - r0 CGFloat, -) { +// ZPosition The layer’s position on the z axis. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc +func (x gen_CALayer) ZPosition() CGFloat { ret := C.CALayer_inst_zPosition( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetZPosition The layer’s position on the z axis. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc func (x gen_CALayer) SetZPosition( value CGFloat, ) { @@ -3682,19 +3895,24 @@ func (x gen_CALayer) SetZPosition( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) AnchorPointZ() ( - r0 CGFloat, -) { +// AnchorPointZ The anchor point for the layer’s position along the z axis. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc +func (x gen_CALayer) AnchorPointZ() CGFloat { ret := C.CALayer_inst_anchorPointZ( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetAnchorPointZ The anchor point for the layer’s position along the z axis. Animatable. +// https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc func (x gen_CALayer) SetAnchorPointZ( value CGFloat, ) { @@ -3702,19 +3920,24 @@ func (x gen_CALayer) SetAnchorPointZ( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) ContentsScale() ( - r0 CGFloat, -) { +// ContentsScale The scale factor applied to the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc +func (x gen_CALayer) ContentsScale() CGFloat { ret := C.CALayer_inst_contentsScale( unsafe.Pointer(x.Pointer()), ) - r0 = CGFloat(ret) - return + + return CGFloat(ret) + } +// SetContentsScale The scale factor applied to the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc func (x gen_CALayer) SetContentsScale( value CGFloat, ) { @@ -3722,19 +3945,24 @@ func (x gen_CALayer) SetContentsScale( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_CALayer) Sublayers() ( - r0 NSArray, -) { +// Sublayers An array containing the layer’s sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc +func (x gen_CALayer) Sublayers() NSArray { ret := C.CALayer_inst_sublayers( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SetSublayers An array containing the layer’s sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc func (x gen_CALayer) SetSublayers( value NSArrayRef, ) { @@ -3742,29 +3970,35 @@ func (x gen_CALayer) SetSublayers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) Superlayer() ( - r0 CALayer, -) { +// Superlayer The superlayer of the layer. +// https://developer.apple.com/documentation/quartzcore/calayer/1410761-superlayer?language=objc +func (x gen_CALayer) Superlayer() CALayer { ret := C.CALayer_inst_superlayer( unsafe.Pointer(x.Pointer()), ) - r0 = CALayer_fromPointer(ret) - return + + return CALayer_fromPointer(ret) + } -func (x gen_CALayer) NeedsDisplayOnBoundsChange() ( - r0 bool, -) { +// NeedsDisplayOnBoundsChange A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes. +// https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc +func (x gen_CALayer) NeedsDisplayOnBoundsChange() bool { ret := C.CALayer_inst_needsDisplayOnBoundsChange( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetNeedsDisplayOnBoundsChange A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes. +// https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( value bool, ) { @@ -3772,19 +4006,24 @@ func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_CALayer) LayoutManager() ( - r0 objc.Object, -) { +// LayoutManager The object responsible for laying out the layer’s sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc +func (x gen_CALayer) LayoutManager() objc.Object { ret := C.CALayer_inst_layoutManager( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetLayoutManager The object responsible for laying out the layer’s sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc func (x gen_CALayer) SetLayoutManager( value objc.Ref, ) { @@ -3792,19 +4031,24 @@ func (x gen_CALayer) SetLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) Constraints() ( - r0 NSArray, -) { +// Constraints The constraints used to position current layer’s sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc +func (x gen_CALayer) Constraints() NSArray { ret := C.CALayer_inst_constraints( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SetConstraints The constraints used to position current layer’s sublayers. +// https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc func (x gen_CALayer) SetConstraints( value NSArrayRef, ) { @@ -3812,19 +4056,24 @@ func (x gen_CALayer) SetConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) Actions() ( - r0 NSDictionary, -) { +// Actions A dictionary containing layer actions. +// https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc +func (x gen_CALayer) Actions() NSDictionary { ret := C.CALayer_inst_actions( unsafe.Pointer(x.Pointer()), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// SetActions A dictionary containing layer actions. +// https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc func (x gen_CALayer) SetActions( value NSDictionaryRef, ) { @@ -3832,29 +4081,35 @@ func (x gen_CALayer) SetActions( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_CALayer) VisibleRect() ( - r0 NSRect, -) { +// VisibleRect The visible region of the layer in its own coordinate space. +// https://developer.apple.com/documentation/quartzcore/calayer/1521892-visiblerect?language=objc +func (x gen_CALayer) VisibleRect() NSRect { ret := C.CALayer_inst_visibleRect( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSRect)(unsafe.Pointer(&ret)) - return + + return *(*NSRect)(unsafe.Pointer(&ret)) + } -func (x gen_CALayer) Name() ( - r0 NSString, -) { +// Name The name of the receiver. +// https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc +func (x gen_CALayer) Name() NSString { ret := C.CALayer_inst_name( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// SetName The name of the receiver. +// https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc func (x gen_CALayer) SetName( value NSStringRef, ) { @@ -3862,7 +4117,9 @@ func (x gen_CALayer) SetName( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type NSArrayRef interface { @@ -3884,111 +4141,121 @@ func NSArray_fromRef(ref objc.Ref) NSArray { return NSArray_fromPointer(unsafe.Pointer(ref.Pointer())) } +// ArrayByAddingObjectsFromArray Returns a new array that is a copy of the receiving array with the objects contained in another array added to the end. +// https://developer.apple.com/documentation/foundation/nsarray/1412087-arraybyaddingobjectsfromarray?language=objc func (x gen_NSArray) ArrayByAddingObjectsFromArray( otherArray NSArrayRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSArray_inst_arrayByAddingObjectsFromArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherArray), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// ComponentsJoinedByString Constructs and returns an NSString object that is the result of interposing a given separator between the elements of the array. +// https://developer.apple.com/documentation/foundation/nsarray/1412075-componentsjoinedbystring?language=objc func (x gen_NSArray) ComponentsJoinedByString( separator NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSArray_inst_componentsJoinedByString( unsafe.Pointer(x.Pointer()), objc.RefPointer(separator), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// DescriptionWithLocale Returns a string that represents the contents of the array, formatted as a property list. +// https://developer.apple.com/documentation/foundation/nsarray/1412374-descriptionwithlocale?language=objc func (x gen_NSArray) DescriptionWithLocale( locale objc.Ref, -) ( - r0 NSString, -) { +) NSString { ret := C.NSArray_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// DescriptionWithLocale_indent Returns a string that represents the contents of the array, formatted as a property list. +// https://developer.apple.com/documentation/foundation/nsarray/1416257-descriptionwithlocale?language=objc func (x gen_NSArray) DescriptionWithLocale_indent( locale objc.Ref, level NSUInteger, -) ( - r0 NSString, -) { +) NSString { ret := C.NSArray_inst_descriptionWithLocale_indent( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), C.ulong(level), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSArray) Init_asNSArray() ( - r0 NSArray, -) { +// Init_asNSArray Initializes a newly allocated array. +// https://developer.apple.com/documentation/foundation/nsarray/1414315-init?language=objc +func (x gen_NSArray) Init_asNSArray() NSArray { ret := C.NSArray_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// InitWithArray_asNSArray Initializes a newly allocated array by placing in it the objects contained in a given array. +// https://developer.apple.com/documentation/foundation/nsarray/1412169-initwitharray?language=objc func (x gen_NSArray) InitWithArray_asNSArray( array NSArrayRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSArray_inst_initWithArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(array), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// InitWithArray_copyItems_asNSArray Initializes a newly allocated array using anArray as the source of data objects for the array. +// https://developer.apple.com/documentation/foundation/nsarray/1408557-initwitharray?language=objc func (x gen_NSArray) InitWithArray_copyItems_asNSArray( array NSArrayRef, flag bool, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSArray_inst_initWithArray_copyItems( unsafe.Pointer(x.Pointer()), objc.RefPointer(array), convertToObjCBool(flag), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// IsEqualToArray Compares the receiving array to another array. +// https://developer.apple.com/documentation/foundation/nsarray/1411770-isequaltoarray?language=objc func (x gen_NSArray) IsEqualToArray( otherArray NSArrayRef, -) ( - r0 bool, -) { +) bool { ret := C.NSArray_inst_isEqualToArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherArray), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// MakeObjectsPerformSelector Sends to each object in the array the message identified by a given selector, starting with the first object and continuing through the array to the last object. +// https://developer.apple.com/documentation/foundation/nsarray/1460115-makeobjectsperformselector?language=objc func (x gen_NSArray) MakeObjectsPerformSelector( aSelector objc.Selector, ) { @@ -3996,9 +4263,13 @@ func (x gen_NSArray) MakeObjectsPerformSelector( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), ) + return + } +// MakeObjectsPerformSelector_withObject Sends the aSelector message to each object in the array, starting with the first object and continuing through the array to the last object. +// https://developer.apple.com/documentation/foundation/nsarray/1460107-makeobjectsperformselector?language=objc func (x gen_NSArray) MakeObjectsPerformSelector_withObject( aSelector objc.Selector, argument objc.Ref, @@ -4008,22 +4279,27 @@ func (x gen_NSArray) MakeObjectsPerformSelector_withObject( aSelector.SelectorAddress(), objc.RefPointer(argument), ) + return + } +// PathsMatchingExtensions Returns an array containing all the pathname elements in the receiving array that have filename extensions from a given array. +// https://developer.apple.com/documentation/foundation/nsarray/1418275-pathsmatchingextensions?language=objc func (x gen_NSArray) PathsMatchingExtensions( filterTypes NSArrayRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSArray_inst_pathsMatchingExtensions( unsafe.Pointer(x.Pointer()), objc.RefPointer(filterTypes), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SetValue_forKey Invokes setValue:forKey: on each of the array's items using the specified value and key. +// https://developer.apple.com/documentation/foundation/nsarray/1408301-setvalue?language=objc func (x gen_NSArray) SetValue_forKey( value objc.Ref, key NSStringRef, @@ -4033,86 +4309,95 @@ func (x gen_NSArray) SetValue_forKey( objc.RefPointer(value), objc.RefPointer(key), ) + return + } -func (x gen_NSArray) ShuffledArray() ( - r0 NSArray, -) { +// ShuffledArray Returns a new array that lists this array’s elements in a random order. +// https://developer.apple.com/documentation/foundation/nsarray/1640855-shuffledarray?language=objc +func (x gen_NSArray) ShuffledArray() NSArray { ret := C.NSArray_inst_shuffledArray( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SortedArrayUsingDescriptors Returns a copy of the receiving array sorted as specified by a given array of sort descriptors. +// https://developer.apple.com/documentation/foundation/nsarray/1415069-sortedarrayusingdescriptors?language=objc func (x gen_NSArray) SortedArrayUsingDescriptors( sortDescriptors NSArrayRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSArray_inst_sortedArrayUsingDescriptors( unsafe.Pointer(x.Pointer()), objc.RefPointer(sortDescriptors), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SortedArrayUsingSelector Returns an array that lists the receiving array’s elements in ascending order, as determined by the comparison method specified by a given selector. +// https://developer.apple.com/documentation/foundation/nsarray/1410025-sortedarrayusingselector?language=objc func (x gen_NSArray) SortedArrayUsingSelector( comparator objc.Selector, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSArray_inst_sortedArrayUsingSelector( unsafe.Pointer(x.Pointer()), comparator.SelectorAddress(), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// ValueForKey Returns an array containing the results of invoking valueForKey: using key on each of the array's objects. +// https://developer.apple.com/documentation/foundation/nsarray/1412219-valueforkey?language=objc func (x gen_NSArray) ValueForKey( key NSStringRef, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.NSArray_inst_valueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func (x gen_NSArray) Count() ( - r0 NSUInteger, -) { +// Count The number of objects in the array. +// https://developer.apple.com/documentation/foundation/nsarray/1409982-count?language=objc +func (x gen_NSArray) Count() NSUInteger { ret := C.NSArray_inst_count( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSArray) SortedArrayHint() ( - r0 NSData, -) { +// SortedArrayHint Analyzes the array and returns a “hint” that speeds the sorting of the array when the hint is supplied to sortedArrayUsingFunction:context:hint:. +// https://developer.apple.com/documentation/foundation/nsarray/1413063-sortedarrayhint?language=objc +func (x gen_NSArray) SortedArrayHint() NSData { ret := C.NSArray_inst_sortedArrayHint( unsafe.Pointer(x.Pointer()), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func (x gen_NSArray) Description() ( - r0 NSString, -) { +// Description A string that represents the contents of the array, formatted as a property list. +// https://developer.apple.com/documentation/foundation/nsarray/1413042-description?language=objc +func (x gen_NSArray) Description() NSString { ret := C.NSArray_inst_description( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } type NSAttributedStringRef interface { @@ -4134,16 +4419,19 @@ func NSAttributedString_fromRef(ref objc.Ref) NSAttributedString { return NSAttributedString_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_NSAttributedString) AttributedStringByInflectingString() ( - r0 NSAttributedString, -) { +// AttributedStringByInflectingString +// https://developer.apple.com/documentation/foundation/nsattributedstring/3746871-attributedstringbyinflectingstri?language=objc +func (x gen_NSAttributedString) AttributedStringByInflectingString() NSAttributedString { ret := C.NSAttributedString_inst_attributedStringByInflectingString( unsafe.Pointer(x.Pointer()), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// DrawInRect Draws the attributed string inside the specified bounding rectangle in the current graphics context. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1531631-drawinrect?language=objc func (x gen_NSAttributedString) DrawInRect( rect NSRect, ) { @@ -4151,210 +4439,226 @@ func (x gen_NSAttributedString) DrawInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) + return + } +// InitWithAttributedString_asNSAttributedString Creates an attributed string with the characters and attributes of the specified attributed string. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1415342-initwithattributedstring?language=objc func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( attrStr NSAttributedStringRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrStr), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithDocFormat_documentAttributes_asNSAttributedString Creates an attributed string from Microsoft Word format data in the specified data object. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1534329-initwithdocformat?language=objc func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithDocFormat_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithHTML_baseURL_documentAttributes_asNSAttributedString Creates an attributed string from the HTML in the specified data object and base URL. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1524624-initwithhtml?language=objc func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttributedString( data NSDataRef, base NSURLRef, dict NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithHTML_baseURL_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(base), objc.RefPointer(dict), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithHTML_documentAttributes_asNSAttributedString Creates an attributed string from the HTML in the specified data object. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1525953-initwithhtml?language=objc func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithHTML_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithHTML_options_documentAttributes_asNSAttributedString Creates an attributed string from the HTML in the specified data object. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1535412-initwithhtml?language=objc func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes_asNSAttributedString( data NSDataRef, options NSDictionaryRef, dict NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithHTML_options_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(options), objc.RefPointer(dict), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithRTF_documentAttributes_asNSAttributedString Creates an attributed string by decoding the stream of RTF commands and data in the specified data object. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1532912-initwithrtf?language=objc func (x gen_NSAttributedString) InitWithRTF_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithRTF_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithRTFD_documentAttributes_asNSAttributedString Creates an attributed string by decoding the stream of RTFD commands and data in the specified data object. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1530987-initwithrtfd?language=objc func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithRTFD_documentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithString_asNSAttributedString Creates an attributed string with the characters of the specified string and no attribute information. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1407481-initwithstring?language=objc func (x gen_NSAttributedString) InitWithString_asNSAttributedString( str NSStringRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// InitWithString_attributes_asNSAttributedString Creates an attributed string with the specified string and attributes. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1408136-initwithstring?language=objc func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( str NSStringRef, attrs NSDictionaryRef, -) ( - r0 NSAttributedString, -) { +) NSAttributedString { ret := C.NSAttributedString_inst_initWithString_attributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), objc.RefPointer(attrs), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } +// IsEqualToAttributedString Returns a Boolean value that indicates whether the attributed string is equal to another attributed string. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1414808-isequaltoattributedstring?language=objc func (x gen_NSAttributedString) IsEqualToAttributedString( other NSAttributedStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSAttributedString_inst_isEqualToAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(other), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// NextWordFromIndex_forward Returns the index of the first character of the word after or before the specified index. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1535305-nextwordfromindex?language=objc func (x gen_NSAttributedString) NextWordFromIndex_forward( location NSUInteger, isForward bool, -) ( - r0 NSUInteger, -) { +) NSUInteger { ret := C.NSAttributedString_inst_nextWordFromIndex_forward( unsafe.Pointer(x.Pointer()), C.ulong(location), convertToObjCBool(isForward), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSAttributedString) Size() ( - r0 NSSize, -) { +// Size Returns the size necessary to draw the string. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1528362-size?language=objc +func (x gen_NSAttributedString) Size() NSSize { ret := C.NSAttributedString_inst_size( unsafe.Pointer(x.Pointer()), ) - r0 = *(*NSSize)(unsafe.Pointer(&ret)) - return + + return *(*NSSize)(unsafe.Pointer(&ret)) + } -func (x gen_NSAttributedString) Init_asNSAttributedString() ( - r0 NSAttributedString, -) { +// Init_asNSAttributedString +func (x gen_NSAttributedString) Init_asNSAttributedString() NSAttributedString { ret := C.NSAttributedString_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSAttributedString_fromPointer(ret) - return + + return NSAttributedString_fromPointer(ret) + } -func (x gen_NSAttributedString) String() ( - r0 NSString, -) { +// String The character contents of the attributed string as a string. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1412616-string?language=objc +func (x gen_NSAttributedString) String() NSString { ret := C.NSAttributedString_inst_string( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSAttributedString) Length() ( - r0 NSUInteger, -) { +// Length The length of the attributed string. +// https://developer.apple.com/documentation/foundation/nsattributedstring/1418432-length?language=objc +func (x gen_NSAttributedString) Length() NSUInteger { ret := C.NSAttributedString_inst_length( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } type NSDataRef interface { @@ -4376,6 +4680,8 @@ func NSData_fromRef(ref objc.Ref) NSData { return NSData_fromPointer(unsafe.Pointer(ref.Pointer())) } +// GetBytes_length Copies a number of bytes from the start of the data object into a given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1411450-getbytes?language=objc func (x gen_NSData) GetBytes_length( buffer unsafe.Pointer, length NSUInteger, @@ -4385,176 +4691,190 @@ func (x gen_NSData) GetBytes_length( buffer, C.ulong(length), ) + return + } +// InitWithBytes_length_asNSData Initializes a data object filled with a given number of bytes copied from a given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1412793-initwithbytes?language=objc func (x gen_NSData) InitWithBytes_length_asNSData( bytes unsafe.Pointer, length NSUInteger, -) ( - r0 NSData, -) { +) NSData { ret := C.NSData_inst_initWithBytes_length( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// InitWithBytesNoCopy_length_asNSData Initializes a data object filled with a given number of bytes of data from a given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1409454-initwithbytesnocopy?language=objc func (x gen_NSData) InitWithBytesNoCopy_length_asNSData( bytes unsafe.Pointer, length NSUInteger, -) ( - r0 NSData, -) { +) NSData { ret := C.NSData_inst_initWithBytesNoCopy_length( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// InitWithBytesNoCopy_length_freeWhenDone_asNSData Initializes a newly allocated data object by adding the given number of bytes from the given buffer. +// https://developer.apple.com/documentation/foundation/nsdata/1416020-initwithbytesnocopy?language=objc func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( bytes unsafe.Pointer, length NSUInteger, b bool, -) ( - r0 NSData, -) { +) NSData { ret := C.NSData_inst_initWithBytesNoCopy_length_freeWhenDone( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), convertToObjCBool(b), ) - r0 = NSData_fromPointer(ret) - return -} + return NSData_fromPointer(ret) + +} + +// InitWithContentsOfFile_asNSData Initializes a data object with the content of the file at a given path. +// https://developer.apple.com/documentation/foundation/nsdata/1408672-initwithcontentsoffile?language=objc func (x gen_NSData) InitWithContentsOfFile_asNSData( path NSStringRef, -) ( - r0 NSData, -) { +) NSData { ret := C.NSData_inst_initWithContentsOfFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// InitWithContentsOfURL_asNSData Initializes a data object with the data from the location specified by a given URL. +// https://developer.apple.com/documentation/foundation/nsdata/1413892-initwithcontentsofurl?language=objc func (x gen_NSData) InitWithContentsOfURL_asNSData( url NSURLRef, -) ( - r0 NSData, -) { +) NSData { ret := C.NSData_inst_initWithContentsOfURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// InitWithData_asNSData Initializes a data object with the contents of another data object. +// https://developer.apple.com/documentation/foundation/nsdata/1417055-initwithdata?language=objc func (x gen_NSData) InitWithData_asNSData( data NSDataRef, -) ( - r0 NSData, -) { +) NSData { ret := C.NSData_inst_initWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// IsEqualToData Returns a Boolean value indicating whether this data object is the same as another. +// https://developer.apple.com/documentation/foundation/nsdata/1409330-isequaltodata?language=objc func (x gen_NSData) IsEqualToData( other NSDataRef, -) ( - r0 bool, -) { +) bool { ret := C.NSData_inst_isEqualToData( unsafe.Pointer(x.Pointer()), objc.RefPointer(other), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// WriteToFile_atomically Writes the data object's bytes to the file specified by a given path. +// https://developer.apple.com/documentation/foundation/nsdata/1408033-writetofile?language=objc func (x gen_NSData) WriteToFile_atomically( path NSStringRef, useAuxiliaryFile bool, -) ( - r0 bool, -) { +) bool { ret := C.NSData_inst_writeToFile_atomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(useAuxiliaryFile), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// WriteToURL_atomically Writes the data object's bytes to the location specified by a given URL. +// https://developer.apple.com/documentation/foundation/nsdata/1415134-writetourl?language=objc func (x gen_NSData) WriteToURL_atomically( url NSURLRef, atomically bool, -) ( - r0 bool, -) { +) bool { ret := C.NSData_inst_writeToURL_atomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), convertToObjCBool(atomically), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSData) Init_asNSData() ( - r0 NSData, -) { +// Init_asNSData +func (x gen_NSData) Init_asNSData() NSData { ret := C.NSData_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func (x gen_NSData) Bytes() ( - r0 unsafe.Pointer, -) { +// Bytes A pointer to the data object's contents. +// https://developer.apple.com/documentation/foundation/nsdata/1410616-bytes?language=objc +func (x gen_NSData) Bytes() unsafe.Pointer { ret := C.NSData_inst_bytes( unsafe.Pointer(x.Pointer()), ) - r0 = ret - return + + return ret + } -func (x gen_NSData) Length() ( - r0 NSUInteger, -) { +// Length The number of bytes contained by the data object. +// https://developer.apple.com/documentation/foundation/nsdata/1416769-length?language=objc +func (x gen_NSData) Length() NSUInteger { ret := C.NSData_inst_length( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSData) Description() ( - r0 NSString, -) { +// Description A string that contains a hexadecimal representation of the data object’s contents in a property list format. +// https://developer.apple.com/documentation/foundation/nsdata/1412579-description?language=objc +func (x gen_NSData) Description() NSString { ret := C.NSData_inst_description( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } type NSDictionaryRef interface { @@ -4576,271 +4896,295 @@ func NSDictionary_fromRef(ref objc.Ref) NSDictionary { return NSDictionary_fromPointer(unsafe.Pointer(ref.Pointer())) } +// DescriptionWithLocale Returns a string object that represents the contents of the dictionary, formatted as a property list. +// https://developer.apple.com/documentation/foundation/nsdictionary/1417665-descriptionwithlocale?language=objc func (x gen_NSDictionary) DescriptionWithLocale( locale objc.Ref, -) ( - r0 NSString, -) { +) NSString { ret := C.NSDictionary_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// DescriptionWithLocale_indent Returns a string object that represents the contents of the dictionary, formatted as a property list. +// https://developer.apple.com/documentation/foundation/nsdictionary/1412690-descriptionwithlocale?language=objc func (x gen_NSDictionary) DescriptionWithLocale_indent( locale objc.Ref, level NSUInteger, -) ( - r0 NSString, -) { +) NSString { ret := C.NSDictionary_inst_descriptionWithLocale_indent( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), C.ulong(level), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSDictionary) FileExtensionHidden() ( - r0 bool, -) { +// FileExtensionHidden Returns a Boolean value indicating whether the file hides its extension. +// https://developer.apple.com/documentation/foundation/nsdictionary/1413177-fileextensionhidden?language=objc +func (x gen_NSDictionary) FileExtensionHidden() bool { ret := C.NSDictionary_inst_fileExtensionHidden( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSDictionary) FileGroupOwnerAccountID() ( - r0 NSNumber, -) { +// FileGroupOwnerAccountID Returns file’s group owner account ID. +// https://developer.apple.com/documentation/foundation/nsdictionary/1413626-filegroupowneraccountid?language=objc +func (x gen_NSDictionary) FileGroupOwnerAccountID() NSNumber { ret := C.NSDictionary_inst_fileGroupOwnerAccountID( unsafe.Pointer(x.Pointer()), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func (x gen_NSDictionary) FileGroupOwnerAccountName() ( - r0 NSString, -) { +// FileGroupOwnerAccountName Returns the file’s group owner account name. +// https://developer.apple.com/documentation/foundation/nsdictionary/1416788-filegroupowneraccountname?language=objc +func (x gen_NSDictionary) FileGroupOwnerAccountName() NSString { ret := C.NSDictionary_inst_fileGroupOwnerAccountName( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSDictionary) FileIsAppendOnly() ( - r0 bool, -) { +// FileIsAppendOnly Returns a Boolean value indicating whether the file is append only. +// https://developer.apple.com/documentation/foundation/nsdictionary/1416083-fileisappendonly?language=objc +func (x gen_NSDictionary) FileIsAppendOnly() bool { ret := C.NSDictionary_inst_fileIsAppendOnly( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSDictionary) FileIsImmutable() ( - r0 bool, -) { +// FileIsImmutable Returns a Boolean value indicating whether the file is immutable. +// https://developer.apple.com/documentation/foundation/nsdictionary/1416500-fileisimmutable?language=objc +func (x gen_NSDictionary) FileIsImmutable() bool { ret := C.NSDictionary_inst_fileIsImmutable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSDictionary) FileOwnerAccountID() ( - r0 NSNumber, -) { +// FileOwnerAccountID Returns the file’s owner account ID. +// https://developer.apple.com/documentation/foundation/nsdictionary/1412281-fileowneraccountid?language=objc +func (x gen_NSDictionary) FileOwnerAccountID() NSNumber { ret := C.NSDictionary_inst_fileOwnerAccountID( unsafe.Pointer(x.Pointer()), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func (x gen_NSDictionary) FileOwnerAccountName() ( - r0 NSString, -) { +// FileOwnerAccountName Returns the file’s owner account name. +// https://developer.apple.com/documentation/foundation/nsdictionary/1417533-fileowneraccountname?language=objc +func (x gen_NSDictionary) FileOwnerAccountName() NSString { ret := C.NSDictionary_inst_fileOwnerAccountName( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSDictionary) FilePosixPermissions() ( - r0 NSUInteger, -) { +// FilePosixPermissions Returns the file’s POSIX permissions. +// https://developer.apple.com/documentation/foundation/nsdictionary/1409446-fileposixpermissions?language=objc +func (x gen_NSDictionary) FilePosixPermissions() NSUInteger { ret := C.NSDictionary_inst_filePosixPermissions( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSDictionary) FileSystemFileNumber() ( - r0 NSUInteger, -) { +// FileSystemFileNumber Returns the filesystem file number. +// https://developer.apple.com/documentation/foundation/nsdictionary/1408396-filesystemfilenumber?language=objc +func (x gen_NSDictionary) FileSystemFileNumber() NSUInteger { ret := C.NSDictionary_inst_fileSystemFileNumber( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSDictionary) FileSystemNumber() ( - r0 NSInteger, -) { +// FileSystemNumber Returns the filesystem number. +// https://developer.apple.com/documentation/foundation/nsdictionary/1415329-filesystemnumber?language=objc +func (x gen_NSDictionary) FileSystemNumber() NSInteger { ret := C.NSDictionary_inst_fileSystemNumber( unsafe.Pointer(x.Pointer()), ) - r0 = NSInteger(ret) - return + + return NSInteger(ret) + } -func (x gen_NSDictionary) FileType() ( - r0 NSString, -) { +// FileType Returns the file type. +// https://developer.apple.com/documentation/foundation/nsdictionary/1416809-filetype?language=objc +func (x gen_NSDictionary) FileType() NSString { ret := C.NSDictionary_inst_fileType( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSDictionary) Init_asNSDictionary() ( - r0 NSDictionary, -) { +// Init_asNSDictionary Initializes a newly allocated dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1418147-init?language=objc +func (x gen_NSDictionary) Init_asNSDictionary() NSDictionary { ret := C.NSDictionary_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// InitWithDictionary_asNSDictionary Initializes a newly allocated dictionary by placing in it the keys and values contained in another given dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1418434-initwithdictionary?language=objc func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( otherDictionary NSDictionaryRef, -) ( - r0 NSDictionary, -) { +) NSDictionary { ret := C.NSDictionary_inst_initWithDictionary( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// InitWithDictionary_copyItems_asNSDictionary Initializes a newly allocated dictionary using the objects contained in another given dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1410124-initwithdictionary?language=objc func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( otherDictionary NSDictionaryRef, flag bool, -) ( - r0 NSDictionary, -) { +) NSDictionary { ret := C.NSDictionary_inst_initWithDictionary_copyItems( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), convertToObjCBool(flag), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// InitWithObjects_forKeys_asNSDictionary Initializes a newly allocated dictionary with key-value pairs constructed from the provided arrays of keys and objects. +// https://developer.apple.com/documentation/foundation/nsdictionary/1410010-initwithobjects?language=objc func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( objects NSArrayRef, keys NSArrayRef, -) ( - r0 NSDictionary, -) { +) NSDictionary { ret := C.NSDictionary_inst_initWithObjects_forKeys( unsafe.Pointer(x.Pointer()), objc.RefPointer(objects), objc.RefPointer(keys), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// IsEqualToDictionary Returns a Boolean value that indicates whether the contents of the receiving dictionary are equal to the contents of another given dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1415445-isequaltodictionary?language=objc func (x gen_NSDictionary) IsEqualToDictionary( otherDictionary NSDictionaryRef, -) ( - r0 bool, -) { +) bool { ret := C.NSDictionary_inst_isEqualToDictionary( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// KeysSortedByValueUsingSelector Returns an array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values. +// https://developer.apple.com/documentation/foundation/nsdictionary/1412484-keyssortedbyvalueusingselector?language=objc func (x gen_NSDictionary) KeysSortedByValueUsingSelector( comparator objc.Selector, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSDictionary_inst_keysSortedByValueUsingSelector( unsafe.Pointer(x.Pointer()), comparator.SelectorAddress(), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func (x gen_NSDictionary) Count() ( - r0 NSUInteger, -) { +// Count The number of entries in the dictionary. +// https://developer.apple.com/documentation/foundation/nsdictionary/1409628-count?language=objc +func (x gen_NSDictionary) Count() NSUInteger { ret := C.NSDictionary_inst_count( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSDictionary) AllKeys() ( - r0 NSArray, -) { +// AllKeys A new array containing the dictionary’s keys, or an empty array if the dictionary has no entries. +// https://developer.apple.com/documentation/foundation/nsdictionary/1409150-allkeys?language=objc +func (x gen_NSDictionary) AllKeys() NSArray { ret := C.NSDictionary_inst_allKeys( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func (x gen_NSDictionary) AllValues() ( - r0 NSArray, -) { +// AllValues A new array containing the dictionary’s values, or an empty array if the dictionary has no entries. +// https://developer.apple.com/documentation/foundation/nsdictionary/1408915-allvalues?language=objc +func (x gen_NSDictionary) AllValues() NSArray { ret := C.NSDictionary_inst_allValues( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func (x gen_NSDictionary) Description() ( - r0 NSString, -) { +// Description A string that represents the contents of the dictionary, formatted as a property list. +// https://developer.apple.com/documentation/foundation/nsdictionary/1410799-description?language=objc +func (x gen_NSDictionary) Description() NSString { ret := C.NSDictionary_inst_description( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSDictionary) DescriptionInStringsFileFormat() ( - r0 NSString, -) { +// DescriptionInStringsFileFormat A string that represents the contents of the dictionary, formatted in .strings file format. +// https://developer.apple.com/documentation/foundation/nsdictionary/1413282-descriptioninstringsfileformat?language=objc +func (x gen_NSDictionary) DescriptionInStringsFileFormat() NSString { ret := C.NSDictionary_inst_descriptionInStringsFileFormat( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } type NSNumberRef interface { @@ -4862,165 +5206,178 @@ func NSNumber_fromRef(ref objc.Ref) NSNumber { return NSNumber_fromPointer(unsafe.Pointer(ref.Pointer())) } +// DescriptionWithLocale Returns a string that represents the contents of the number object for a given locale. +// https://developer.apple.com/documentation/foundation/nsnumber/1409984-descriptionwithlocale?language=objc func (x gen_NSNumber) DescriptionWithLocale( locale objc.Ref, -) ( - r0 NSString, -) { +) NSString { ret := C.NSNumber_inst_descriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// InitWithBool Returns an NSNumber object initialized to contain a given value, treated as a BOOL. +// https://developer.apple.com/documentation/foundation/nsnumber/1415728-initwithbool?language=objc func (x gen_NSNumber) InitWithBool( value bool, -) ( - r0 NSNumber, -) { +) NSNumber { ret := C.NSNumber_inst_initWithBool( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } +// InitWithInt Returns an NSNumber object initialized to contain a given value, treated as a signed int. +// https://developer.apple.com/documentation/foundation/nsnumber/1407580-initwithint?language=objc func (x gen_NSNumber) InitWithInt( value int32, -) ( - r0 NSNumber, -) { +) NSNumber { ret := C.NSNumber_inst_initWithInt( unsafe.Pointer(x.Pointer()), C.int(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } +// InitWithInteger Returns an NSNumber object initialized to contain a given value, treated as an NSInteger. +// https://developer.apple.com/documentation/foundation/nsnumber/1409397-initwithinteger?language=objc func (x gen_NSNumber) InitWithInteger( value NSInteger, -) ( - r0 NSNumber, -) { +) NSNumber { ret := C.NSNumber_inst_initWithInteger( unsafe.Pointer(x.Pointer()), C.long(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } +// InitWithUnsignedInt Returns an NSNumber object initialized to contain a given value, treated as an unsigned int. +// https://developer.apple.com/documentation/foundation/nsnumber/1414598-initwithunsignedint?language=objc func (x gen_NSNumber) InitWithUnsignedInt( value int32, -) ( - r0 NSNumber, -) { +) NSNumber { ret := C.NSNumber_inst_initWithUnsignedInt( unsafe.Pointer(x.Pointer()), C.int(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } +// InitWithUnsignedInteger Returns an NSNumber object initialized to contain a given value, treated as an NSUInteger. +// https://developer.apple.com/documentation/foundation/nsnumber/1412531-initwithunsignedinteger?language=objc func (x gen_NSNumber) InitWithUnsignedInteger( value NSUInteger, -) ( - r0 NSNumber, -) { +) NSNumber { ret := C.NSNumber_inst_initWithUnsignedInteger( unsafe.Pointer(x.Pointer()), C.ulong(value), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } +// IsEqualToNumber Returns a Boolean value that indicates whether the number object’s value and a given number are equal. +// https://developer.apple.com/documentation/foundation/nsnumber/1411315-isequaltonumber?language=objc func (x gen_NSNumber) IsEqualToNumber( number NSNumberRef, -) ( - r0 bool, -) { +) bool { ret := C.NSNumber_inst_isEqualToNumber( unsafe.Pointer(x.Pointer()), objc.RefPointer(number), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSNumber) Init_asNSNumber() ( - r0 NSNumber, -) { +// Init_asNSNumber +func (x gen_NSNumber) Init_asNSNumber() NSNumber { ret := C.NSNumber_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func (x gen_NSNumber) BoolValue() ( - r0 bool, -) { +// BoolValue The number object's value expressed as a Boolean value. +// https://developer.apple.com/documentation/foundation/nsnumber/1410865-boolvalue?language=objc +func (x gen_NSNumber) BoolValue() bool { ret := C.NSNumber_inst_boolValue( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSNumber) IntValue() ( - r0 int32, -) { +// IntValue The number object's value expressed as an int, converted as necessary. +// https://developer.apple.com/documentation/foundation/nsnumber/1407153-intvalue?language=objc +func (x gen_NSNumber) IntValue() int32 { ret := C.NSNumber_inst_intValue( unsafe.Pointer(x.Pointer()), ) - r0 = int32(ret) - return + + return int32(ret) + } -func (x gen_NSNumber) IntegerValue() ( - r0 NSInteger, -) { +// IntegerValue The number object's value expressed as an NSInteger object, converted as necessary. +// https://developer.apple.com/documentation/foundation/nsnumber/1412554-integervalue?language=objc +func (x gen_NSNumber) IntegerValue() NSInteger { ret := C.NSNumber_inst_integerValue( unsafe.Pointer(x.Pointer()), ) - r0 = NSInteger(ret) - return + + return NSInteger(ret) + } -func (x gen_NSNumber) UnsignedIntegerValue() ( - r0 NSUInteger, -) { +// UnsignedIntegerValue The number object's value expressed as an NSUInteger object, converted as necessary. +// https://developer.apple.com/documentation/foundation/nsnumber/1413324-unsignedintegervalue?language=objc +func (x gen_NSNumber) UnsignedIntegerValue() NSUInteger { ret := C.NSNumber_inst_unsignedIntegerValue( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSNumber) UnsignedIntValue() ( - r0 int32, -) { +// UnsignedIntValue The number object's value expressed as an unsigned int, converted as necessary. +// https://developer.apple.com/documentation/foundation/nsnumber/1417875-unsignedintvalue?language=objc +func (x gen_NSNumber) UnsignedIntValue() int32 { ret := C.NSNumber_inst_unsignedIntValue( unsafe.Pointer(x.Pointer()), ) - r0 = int32(ret) - return + + return int32(ret) + } -func (x gen_NSNumber) StringValue() ( - r0 NSString, -) { +// StringValue The number object's value expressed as a human-readable string. +// https://developer.apple.com/documentation/foundation/nsnumber/1415802-stringvalue?language=objc +func (x gen_NSNumber) StringValue() NSString { ret := C.NSNumber_inst_stringValue( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } type NSRunLoopRef interface { @@ -5042,6 +5399,8 @@ func NSRunLoop_fromRef(ref objc.Ref) NSRunLoop { return NSRunLoop_fromPointer(unsafe.Pointer(ref.Pointer())) } +// CancelPerformSelector_target_argument Cancels the sending of a previously scheduled message. +// https://developer.apple.com/documentation/foundation/nsrunloop/1418077-cancelperformselector?language=objc func (x gen_NSRunLoop) CancelPerformSelector_target_argument( aSelector objc.Selector, target objc.Ref, @@ -5053,9 +5412,13 @@ func (x gen_NSRunLoop) CancelPerformSelector_target_argument( objc.RefPointer(target), objc.RefPointer(arg), ) + return + } +// CancelPerformSelectorsWithTarget Cancels all outstanding ordered performs scheduled with a given target. +// https://developer.apple.com/documentation/foundation/nsrunloop/1414208-cancelperformselectorswithtarget?language=objc func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( target objc.Ref, ) { @@ -5063,9 +5426,13 @@ func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), ) + return + } +// PerformSelector_target_argument_order_modes Schedules the sending of a message on the receiver. +// https://developer.apple.com/documentation/foundation/nsrunloop/1409310-performselector?language=objc func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( aSelector objc.Selector, target objc.Ref, @@ -5081,24 +5448,30 @@ func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( C.ulong(order), objc.RefPointer(modes), ) + return + } +// Run Puts the receiver into a permanent loop, during which time it processes data from all attached input sources. +// https://developer.apple.com/documentation/foundation/nsrunloop/1412430-run?language=objc func (x gen_NSRunLoop) Run() { C.NSRunLoop_inst_run( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSRunLoop) Init_asNSRunLoop() ( - r0 NSRunLoop, -) { +// Init_asNSRunLoop +func (x gen_NSRunLoop) Init_asNSRunLoop() NSRunLoop { ret := C.NSRunLoop_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSRunLoop_fromPointer(ret) - return + + return NSRunLoop_fromPointer(ret) + } type NSStringRef interface { @@ -5120,40 +5493,42 @@ func NSString_fromRef(ref objc.Ref) NSString { return NSString_fromPointer(unsafe.Pointer(ref.Pointer())) } +// CanBeConvertedToEncoding Returns a Boolean value that indicates whether the receiver can be converted to a given encoding without loss of information. +// https://developer.apple.com/documentation/foundation/nsstring/1409496-canbeconvertedtoencoding?language=objc func (x gen_NSString) CanBeConvertedToEncoding( encoding NSStringEncoding, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_canBeConvertedToEncoding( unsafe.Pointer(x.Pointer()), C.ulong(encoding), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// CharacterAtIndex Returns the character at a given UTF-16 code unit index. +// https://developer.apple.com/documentation/foundation/nsstring/1414645-characteratindex?language=objc func (x gen_NSString) CharacterAtIndex( index NSUInteger, -) ( - r0 Unichar, -) { +) Unichar { ret := C.NSString_inst_characterAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(index), ) - r0 = Unichar(ret) - return + + return Unichar(ret) + } +// CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes Interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1411841-completepathintostring?language=objc func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes( outputName NSStringRef, flag bool, outputArray NSArrayRef, filterTypes NSArrayRef, -) ( - r0 NSUInteger, -) { +) NSUInteger { ret := C.NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(outputName), @@ -5161,64 +5536,71 @@ func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filt objc.RefPointer(outputArray), objc.RefPointer(filterTypes), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } +// ComponentsSeparatedByString Returns an array containing substrings from the receiver that have been divided by a given separator. +// https://developer.apple.com/documentation/foundation/nsstring/1413214-componentsseparatedbystring?language=objc func (x gen_NSString) ComponentsSeparatedByString( separator NSStringRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSString_inst_componentsSeparatedByString( unsafe.Pointer(x.Pointer()), objc.RefPointer(separator), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// ContainsString Returns a Boolean value indicating whether the string contains a given string by performing a case-sensitive, locale-unaware search. +// https://developer.apple.com/documentation/foundation/nsstring/1414563-containsstring?language=objc func (x gen_NSString) ContainsString( str NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_containsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// DataUsingEncoding Returns an NSData object containing a representation of the receiver encoded using a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1416696-datausingencoding?language=objc func (x gen_NSString) DataUsingEncoding( encoding NSStringEncoding, -) ( - r0 NSData, -) { +) NSData { ret := C.NSString_inst_dataUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(encoding), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// DataUsingEncoding_allowLossyConversion Returns an NSData object containing a representation of the receiver encoded using a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1413692-datausingencoding?language=objc func (x gen_NSString) DataUsingEncoding_allowLossyConversion( encoding NSStringEncoding, lossy bool, -) ( - r0 NSData, -) { +) NSData { ret := C.NSString_inst_dataUsingEncoding_allowLossyConversion( unsafe.Pointer(x.Pointer()), C.ulong(encoding), convertToObjCBool(lossy), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// DrawInRect_withAttributes Draws the attributed string inside the specified bounding rectangle. +// https://developer.apple.com/documentation/foundation/nsstring/1529855-drawinrect?language=objc func (x gen_NSString) DrawInRect_withAttributes( rect NSRect, attrs NSDictionaryRef, @@ -5228,70 +5610,76 @@ func (x gen_NSString) DrawInRect_withAttributes( *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(attrs), ) + return + } +// HasPrefix Returns a Boolean value that indicates whether a given string matches the beginning characters of the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1410309-hasprefix?language=objc func (x gen_NSString) HasPrefix( str NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_hasPrefix( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// HasSuffix Returns a Boolean value that indicates whether a given string matches the ending characters of the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1416529-hassuffix?language=objc func (x gen_NSString) HasSuffix( str NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_hasSuffix( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSString) Init_asNSString() ( - r0 NSString, -) { +// Init_asNSString Returns an initialized NSString object that contains no characters. +// https://developer.apple.com/documentation/foundation/nsstring/1409306-init?language=objc +func (x gen_NSString) Init_asNSString() NSString { ret := C.NSString_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// InitWithBytes_length_encoding_asNSString Returns an initialized NSString object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1407339-initwithbytes?language=objc func (x gen_NSString) InitWithBytes_length_encoding_asNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_initWithBytes_length_encoding( unsafe.Pointer(x.Pointer()), bytes, C.ulong(len), C.ulong(encoding), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString Returns an initialized NSString object that contains a given number of bytes from a given buffer of bytes interpreted in a given encoding, and optionally frees the buffer. +// https://developer.apple.com/documentation/foundation/nsstring/1413830-initwithbytesnocopy?language=objc func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, freeBuffer bool, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone( unsafe.Pointer(x.Pointer()), bytes, @@ -5299,547 +5687,596 @@ func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSStrin C.ulong(encoding), convertToObjCBool(freeBuffer), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// InitWithData_encoding_asNSString Returns an NSString object initialized by converting given data into UTF-16 code units using a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1416374-initwithdata?language=objc func (x gen_NSString) InitWithData_encoding_asNSString( data NSDataRef, encoding NSStringEncoding, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_initWithData_encoding( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), C.ulong(encoding), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// InitWithString_asNSString Returns an NSString object initialized by copying the characters from another given string. +// https://developer.apple.com/documentation/foundation/nsstring/1411293-initwithstring?language=objc func (x gen_NSString) InitWithString_asNSString( aString NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_initWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// IsEqualToString Returns a Boolean value that indicates whether a given string is equal to the receiver using a literal Unicode-based comparison. +// https://developer.apple.com/documentation/foundation/nsstring/1407803-isequaltostring?language=objc func (x gen_NSString) IsEqualToString( aString NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_isEqualToString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// LengthOfBytesUsingEncoding Returns the number of bytes required to store the receiver in a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1410710-lengthofbytesusingencoding?language=objc func (x gen_NSString) LengthOfBytesUsingEncoding( enc NSStringEncoding, -) ( - r0 NSUInteger, -) { +) NSUInteger { ret := C.NSString_inst_lengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(enc), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } +// LocalizedCaseInsensitiveContainsString Returns a Boolean value indicating whether the string contains a given string by performing a case-insensitive, locale-aware search. +// https://developer.apple.com/documentation/foundation/nsstring/1412098-localizedcaseinsensitivecontains?language=objc func (x gen_NSString) LocalizedCaseInsensitiveContainsString( str NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_localizedCaseInsensitiveContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// LocalizedStandardContainsString Returns a Boolean value indicating whether the string contains a given string by performing a case and diacritic insensitive, locale-aware search. +// https://developer.apple.com/documentation/foundation/nsstring/1416328-localizedstandardcontainsstring?language=objc func (x gen_NSString) LocalizedStandardContainsString( str NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSString_inst_localizedStandardContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// MaximumLengthOfBytesUsingEncoding Returns the maximum number of bytes needed to store the receiver in a given encoding. +// https://developer.apple.com/documentation/foundation/nsstring/1411611-maximumlengthofbytesusingencodin?language=objc func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( enc NSStringEncoding, -) ( - r0 NSUInteger, -) { +) NSUInteger { ret := C.NSString_inst_maximumLengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(enc), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSString) PropertyList() ( - r0 objc.Object, -) { +// PropertyList Parses the receiver as a text representation of a property list, returning an NSString, NSData, NSArray, or NSDictionary object, according to the topmost element. +// https://developer.apple.com/documentation/foundation/nsstring/1413115-propertylist?language=objc +func (x gen_NSString) PropertyList() objc.Object { ret := C.NSString_inst_propertyList( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func (x gen_NSString) PropertyListFromStringsFileFormat() ( - r0 NSDictionary, -) { +// PropertyListFromStringsFileFormat Returns a dictionary object initialized with the keys and values found in the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1407697-propertylistfromstringsfileforma?language=objc +func (x gen_NSString) PropertyListFromStringsFileFormat() NSDictionary { ret := C.NSString_inst_propertyListFromStringsFileFormat( unsafe.Pointer(x.Pointer()), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// SizeWithAttributes Returns the bounding box size the receiver occupies when drawn with the given attributes. +// https://developer.apple.com/documentation/foundation/nsstring/1531844-sizewithattributes?language=objc func (x gen_NSString) SizeWithAttributes( attrs NSDictionaryRef, -) ( - r0 NSSize, -) { +) NSSize { ret := C.NSString_inst_sizeWithAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrs), ) - r0 = *(*NSSize)(unsafe.Pointer(&ret)) - return + + return *(*NSSize)(unsafe.Pointer(&ret)) + } +// StringByAppendingPathComponent Returns a new string made by appending to the receiver a given string. +// https://developer.apple.com/documentation/foundation/nsstring/1417069-stringbyappendingpathcomponent?language=objc func (x gen_NSString) StringByAppendingPathComponent( str NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_stringByAppendingPathComponent( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// StringByAppendingPathExtension Returns a new string made by appending to the receiver an extension separator followed by a given extension. +// https://developer.apple.com/documentation/foundation/nsstring/1412501-stringbyappendingpathextension?language=objc func (x gen_NSString) StringByAppendingPathExtension( str NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_stringByAppendingPathExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// StringByAppendingString Returns a new string made by appending a given string to the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1412307-stringbyappendingstring?language=objc func (x gen_NSString) StringByAppendingString( aString NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_stringByAppendingString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// StringByPaddingToLength_withString_startingAtIndex Returns a new string formed from the receiver by either removing characters from the end, or by appending as many occurrences as necessary of a given pad string. +// https://developer.apple.com/documentation/foundation/nsstring/1416395-stringbypaddingtolength?language=objc func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( newLength NSUInteger, padString NSStringRef, padIndex NSUInteger, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_stringByPaddingToLength_withString_startingAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(newLength), objc.RefPointer(padString), C.ulong(padIndex), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// StringByReplacingOccurrencesOfString_withString Returns a new string in which all occurrences of a target string in the receiver are replaced by another given string. +// https://developer.apple.com/documentation/foundation/nsstring/1412937-stringbyreplacingoccurrencesofst?language=objc func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( target NSStringRef, replacement NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_stringByReplacingOccurrencesOfString_withString( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), objc.RefPointer(replacement), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// StringsByAppendingPaths Returns an array of strings made by separately appending to the receiver each string in a given array. +// https://developer.apple.com/documentation/foundation/nsstring/1415100-stringsbyappendingpaths?language=objc func (x gen_NSString) StringsByAppendingPaths( paths NSArrayRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSString_inst_stringsByAppendingPaths( unsafe.Pointer(x.Pointer()), objc.RefPointer(paths), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// SubstringFromIndex Returns a new string containing the characters of the receiver from the one at a given index to the end. +// https://developer.apple.com/documentation/foundation/nsstring/1414368-substringfromindex?language=objc func (x gen_NSString) SubstringFromIndex( from NSUInteger, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_substringFromIndex( unsafe.Pointer(x.Pointer()), C.ulong(from), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// SubstringToIndex Returns a new string containing the characters of the receiver up to, but not including, the one at a given index. +// https://developer.apple.com/documentation/foundation/nsstring/1408017-substringtoindex?language=objc func (x gen_NSString) SubstringToIndex( to NSUInteger, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_substringToIndex( unsafe.Pointer(x.Pointer()), C.ulong(to), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// VariantFittingPresentationWidth Returns a string variation suitable for the specified presentation width. +// https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth?language=objc func (x gen_NSString) VariantFittingPresentationWidth( width NSInteger, -) ( - r0 NSString, -) { +) NSString { ret := C.NSString_inst_variantFittingPresentationWidth( unsafe.Pointer(x.Pointer()), C.long(width), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) Length() ( - r0 NSUInteger, -) { +// Length The number of UTF-16 code units in the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1414212-length?language=objc +func (x gen_NSString) Length() NSUInteger { ret := C.NSString_inst_length( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSString) Hash() ( - r0 NSUInteger, -) { +// Hash An unsigned integer that can be used as a hash table address. +// https://developer.apple.com/documentation/foundation/nsstring/1417245-hash?language=objc +func (x gen_NSString) Hash() NSUInteger { ret := C.NSString_inst_hash( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } -func (x gen_NSString) LowercaseString() ( - r0 NSString, -) { +// LowercaseString A lowercase representation of the string. +// https://developer.apple.com/documentation/foundation/nsstring/1408467-lowercasestring?language=objc +func (x gen_NSString) LowercaseString() NSString { ret := C.NSString_inst_lowercaseString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) LocalizedLowercaseString() ( - r0 NSString, -) { +// LocalizedLowercaseString Returns a version of the string with all letters converted to lowercase, taking into account the current locale. +// https://developer.apple.com/documentation/foundation/nsstring/1414125-localizedlowercasestring?language=objc +func (x gen_NSString) LocalizedLowercaseString() NSString { ret := C.NSString_inst_localizedLowercaseString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) UppercaseString() ( - r0 NSString, -) { +// UppercaseString An uppercase representation of the string. +// https://developer.apple.com/documentation/foundation/nsstring/1409855-uppercasestring?language=objc +func (x gen_NSString) UppercaseString() NSString { ret := C.NSString_inst_uppercaseString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) LocalizedUppercaseString() ( - r0 NSString, -) { +// LocalizedUppercaseString Returns a version of the string with all letters converted to uppercase, taking into account the current locale. +// https://developer.apple.com/documentation/foundation/nsstring/1413331-localizeduppercasestring?language=objc +func (x gen_NSString) LocalizedUppercaseString() NSString { ret := C.NSString_inst_localizedUppercaseString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) CapitalizedString() ( - r0 NSString, -) { +// CapitalizedString A capitalized representation of the string. +// https://developer.apple.com/documentation/foundation/nsstring/1416784-capitalizedstring?language=objc +func (x gen_NSString) CapitalizedString() NSString { ret := C.NSString_inst_capitalizedString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) LocalizedCapitalizedString() ( - r0 NSString, -) { +// LocalizedCapitalizedString Returns a capitalized representation of the receiver using the current locale. +// https://developer.apple.com/documentation/foundation/nsstring/1414885-localizedcapitalizedstring?language=objc +func (x gen_NSString) LocalizedCapitalizedString() NSString { ret := C.NSString_inst_localizedCapitalizedString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) DecomposedStringWithCanonicalMapping() ( - r0 NSString, -) { +// DecomposedStringWithCanonicalMapping A string made by normalizing the string’s contents using the Unicode Normalization Form D. +// https://developer.apple.com/documentation/foundation/nsstring/1409474-decomposedstringwithcanonicalmap?language=objc +func (x gen_NSString) DecomposedStringWithCanonicalMapping() NSString { ret := C.NSString_inst_decomposedStringWithCanonicalMapping( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) DecomposedStringWithCompatibilityMapping() ( - r0 NSString, -) { +// DecomposedStringWithCompatibilityMapping A string made by normalizing the receiver’s contents using the Unicode Normalization Form KD. +// https://developer.apple.com/documentation/foundation/nsstring/1415417-decomposedstringwithcompatibilit?language=objc +func (x gen_NSString) DecomposedStringWithCompatibilityMapping() NSString { ret := C.NSString_inst_decomposedStringWithCompatibilityMapping( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) PrecomposedStringWithCanonicalMapping() ( - r0 NSString, -) { +// PrecomposedStringWithCanonicalMapping A string made by normalizing the string’s contents using the Unicode Normalization Form C. +// https://developer.apple.com/documentation/foundation/nsstring/1412645-precomposedstringwithcanonicalma?language=objc +func (x gen_NSString) PrecomposedStringWithCanonicalMapping() NSString { ret := C.NSString_inst_precomposedStringWithCanonicalMapping( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() ( - r0 NSString, -) { +// PrecomposedStringWithCompatibilityMapping A string made by normalizing the receiver’s contents using the Unicode Normalization Form KC. +// https://developer.apple.com/documentation/foundation/nsstring/1412625-precomposedstringwithcompatibili?language=objc +func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() NSString { ret := C.NSString_inst_precomposedStringWithCompatibilityMapping( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) IntValue() ( - r0 int32, -) { +// IntValue The integer value of the string. +// https://developer.apple.com/documentation/foundation/nsstring/1414988-intvalue?language=objc +func (x gen_NSString) IntValue() int32 { ret := C.NSString_inst_intValue( unsafe.Pointer(x.Pointer()), ) - r0 = int32(ret) - return + + return int32(ret) + } -func (x gen_NSString) IntegerValue() ( - r0 NSInteger, -) { +// IntegerValue The NSInteger value of the string. +// https://developer.apple.com/documentation/foundation/nsstring/1410267-integervalue?language=objc +func (x gen_NSString) IntegerValue() NSInteger { ret := C.NSString_inst_integerValue( unsafe.Pointer(x.Pointer()), ) - r0 = NSInteger(ret) - return + + return NSInteger(ret) + } -func (x gen_NSString) BoolValue() ( - r0 bool, -) { +// BoolValue The Boolean value of the string. +// https://developer.apple.com/documentation/foundation/nsstring/1409420-boolvalue?language=objc +func (x gen_NSString) BoolValue() bool { ret := C.NSString_inst_boolValue( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSString) Description() ( - r0 NSString, -) { +// Description This NSString object. +// https://developer.apple.com/documentation/foundation/nsstring/1410889-description?language=objc +func (x gen_NSString) Description() NSString { ret := C.NSString_inst_description( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) FastestEncoding() ( - r0 NSStringEncoding, -) { +// FastestEncoding The fastest encoding to which the receiver may be converted without loss of information. +// https://developer.apple.com/documentation/foundation/nsstring/1409567-fastestencoding?language=objc +func (x gen_NSString) FastestEncoding() NSStringEncoding { ret := C.NSString_inst_fastestEncoding( unsafe.Pointer(x.Pointer()), ) - r0 = NSStringEncoding(ret) - return + + return NSStringEncoding(ret) + } -func (x gen_NSString) SmallestEncoding() ( - r0 NSStringEncoding, -) { +// SmallestEncoding The smallest encoding to which the receiver can be converted without loss of information. +// https://developer.apple.com/documentation/foundation/nsstring/1418037-smallestencoding?language=objc +func (x gen_NSString) SmallestEncoding() NSStringEncoding { ret := C.NSString_inst_smallestEncoding( unsafe.Pointer(x.Pointer()), ) - r0 = NSStringEncoding(ret) - return + + return NSStringEncoding(ret) + } -func (x gen_NSString) PathComponents() ( - r0 NSArray, -) { +// PathComponents The file-system path components of the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1414489-pathcomponents?language=objc +func (x gen_NSString) PathComponents() NSArray { ret := C.NSString_inst_pathComponents( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func (x gen_NSString) IsAbsolutePath() ( - r0 bool, -) { +// IsAbsolutePath A Boolean value that indicates whether the receiver represents an absolute path. +// https://developer.apple.com/documentation/foundation/nsstring/1409068-absolutepath?language=objc +func (x gen_NSString) IsAbsolutePath() bool { ret := C.NSString_inst_isAbsolutePath( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSString) LastPathComponent() ( - r0 NSString, -) { +// LastPathComponent The last path component of the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1416528-lastpathcomponent?language=objc +func (x gen_NSString) LastPathComponent() NSString { ret := C.NSString_inst_lastPathComponent( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) PathExtension() ( - r0 NSString, -) { +// PathExtension The path extension, if any, of the string as interpreted as a path. +// https://developer.apple.com/documentation/foundation/nsstring/1407801-pathextension?language=objc +func (x gen_NSString) PathExtension() NSString { ret := C.NSString_inst_pathExtension( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByAbbreviatingWithTildeInPath() ( - r0 NSString, -) { +// StringByAbbreviatingWithTildeInPath A new string that replaces the current home directory portion of the current path with a tilde (~) character. +// https://developer.apple.com/documentation/foundation/nsstring/1407943-stringbyabbreviatingwithtildeinp?language=objc +func (x gen_NSString) StringByAbbreviatingWithTildeInPath() NSString { ret := C.NSString_inst_stringByAbbreviatingWithTildeInPath( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByDeletingLastPathComponent() ( - r0 NSString, -) { +// StringByDeletingLastPathComponent A new string made by deleting the last path component from the receiver, along with any final path separator. +// https://developer.apple.com/documentation/foundation/nsstring/1411141-stringbydeletinglastpathcomponen?language=objc +func (x gen_NSString) StringByDeletingLastPathComponent() NSString { ret := C.NSString_inst_stringByDeletingLastPathComponent( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByDeletingPathExtension() ( - r0 NSString, -) { +// StringByDeletingPathExtension A new string made by deleting the extension (if any, and only the last) from the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1418214-stringbydeletingpathextension?language=objc +func (x gen_NSString) StringByDeletingPathExtension() NSString { ret := C.NSString_inst_stringByDeletingPathExtension( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByExpandingTildeInPath() ( - r0 NSString, -) { +// StringByExpandingTildeInPath A new string made by expanding the initial component of the receiver to its full path value. +// https://developer.apple.com/documentation/foundation/nsstring/1407716-stringbyexpandingtildeinpath?language=objc +func (x gen_NSString) StringByExpandingTildeInPath() NSString { ret := C.NSString_inst_stringByExpandingTildeInPath( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByResolvingSymlinksInPath() ( - r0 NSString, -) { +// StringByResolvingSymlinksInPath A new string made from the receiver by resolving all symbolic links and standardizing path. +// https://developer.apple.com/documentation/foundation/nsstring/1417783-stringbyresolvingsymlinksinpath?language=objc +func (x gen_NSString) StringByResolvingSymlinksInPath() NSString { ret := C.NSString_inst_stringByResolvingSymlinksInPath( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByStandardizingPath() ( - r0 NSString, -) { +// StringByStandardizingPath A new string made by removing extraneous path components from the receiver. +// https://developer.apple.com/documentation/foundation/nsstring/1407194-stringbystandardizingpath?language=objc +func (x gen_NSString) StringByStandardizingPath() NSString { ret := C.NSString_inst_stringByStandardizingPath( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSString) StringByRemovingPercentEncoding() ( - r0 NSString, -) { +// StringByRemovingPercentEncoding Returns a new string made from the receiver by replacing all percent encoded sequences with the matching UTF-8 characters. +// https://developer.apple.com/documentation/foundation/nsstring/1409569-stringbyremovingpercentencoding?language=objc +func (x gen_NSString) StringByRemovingPercentEncoding() NSString { ret := C.NSString_inst_stringByRemovingPercentEncoding( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } type NSThreadRef interface { @@ -5861,104 +6298,125 @@ func NSThread_fromRef(ref objc.Ref) NSThread { return NSThread_fromPointer(unsafe.Pointer(ref.Pointer())) } +// Cancel Changes the cancelled state of the receiver to indicate that it should exit. +// https://developer.apple.com/documentation/foundation/nsthread/1411303-cancel?language=objc func (x gen_NSThread) Cancel() { C.NSThread_inst_cancel( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSThread) Init_asNSThread() ( - r0 NSThread, -) { +// Init_asNSThread Returns an initialized NSThread object. +// https://developer.apple.com/documentation/foundation/nsthread/1416464-init?language=objc +func (x gen_NSThread) Init_asNSThread() NSThread { ret := C.NSThread_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSThread_fromPointer(ret) - return + + return NSThread_fromPointer(ret) + } +// InitWithTarget_selector_object_asNSThread Returns an NSThread object initialized with the given arguments. +// https://developer.apple.com/documentation/foundation/nsthread/1414773-initwithtarget?language=objc func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( target objc.Ref, selector objc.Selector, argument objc.Ref, -) ( - r0 NSThread, -) { +) NSThread { ret := C.NSThread_inst_initWithTarget_selector_object( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), selector.SelectorAddress(), objc.RefPointer(argument), ) - r0 = NSThread_fromPointer(ret) - return + + return NSThread_fromPointer(ret) + } +// Main The main entry point routine for the thread. +// https://developer.apple.com/documentation/foundation/nsthread/1418421-main?language=objc func (x gen_NSThread) Main() { C.NSThread_inst_main( unsafe.Pointer(x.Pointer()), ) + return + } +// Start Starts the receiver. +// https://developer.apple.com/documentation/foundation/nsthread/1418166-start?language=objc func (x gen_NSThread) Start() { C.NSThread_inst_start( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSThread) IsExecuting() ( - r0 bool, -) { +// IsExecuting A Boolean value that indicates whether the receiver is executing. +// https://developer.apple.com/documentation/foundation/nsthread/1411240-executing?language=objc +func (x gen_NSThread) IsExecuting() bool { ret := C.NSThread_inst_isExecuting( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSThread) IsFinished() ( - r0 bool, -) { +// IsFinished A Boolean value that indicates whether the receiver has finished execution. +// https://developer.apple.com/documentation/foundation/nsthread/1409297-finished?language=objc +func (x gen_NSThread) IsFinished() bool { ret := C.NSThread_inst_isFinished( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSThread) IsCancelled() ( - r0 bool, -) { +// IsCancelled A Boolean value that indicates whether the receiver is cancelled. +// https://developer.apple.com/documentation/foundation/nsthread/1417366-cancelled?language=objc +func (x gen_NSThread) IsCancelled() bool { ret := C.NSThread_inst_isCancelled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSThread) IsMainThread() ( - r0 bool, -) { +// IsMainThread A Boolean value that indicates whether the receiver is the main thread. +// https://developer.apple.com/documentation/foundation/nsthread/1408455-ismainthread?language=objc +func (x gen_NSThread) IsMainThread() bool { ret := C.NSThread_inst_isMainThread( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSThread) Name() ( - r0 NSString, -) { +// Name The name of the receiver. +// https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc +func (x gen_NSThread) Name() NSString { ret := C.NSThread_inst_name( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } +// SetName The name of the receiver. +// https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc func (x gen_NSThread) SetName( value NSStringRef, ) { @@ -5966,19 +6424,24 @@ func (x gen_NSThread) SetName( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_NSThread) StackSize() ( - r0 NSUInteger, -) { +// StackSize The stack size of the receiver, in bytes. +// https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc +func (x gen_NSThread) StackSize() NSUInteger { ret := C.NSThread_inst_stackSize( unsafe.Pointer(x.Pointer()), ) - r0 = NSUInteger(ret) - return + + return NSUInteger(ret) + } +// SetStackSize The stack size of the receiver, in bytes. +// https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc func (x gen_NSThread) SetStackSize( value NSUInteger, ) { @@ -5986,7 +6449,9 @@ func (x gen_NSThread) SetStackSize( unsafe.Pointer(x.Pointer()), C.ulong(value), ) + return + } type NSURLRef interface { @@ -6008,477 +6473,525 @@ func NSURL_fromRef(ref objc.Ref) NSURL { return NSURL_fromPointer(unsafe.Pointer(ref.Pointer())) } +// URLByAppendingPathComponent Returns a new URL made by appending a path component to the original URL. +// https://developer.apple.com/documentation/foundation/nsurl/1410614-urlbyappendingpathcomponent?language=objc func (x gen_NSURL) URLByAppendingPathComponent( pathComponent NSStringRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_URLByAppendingPathComponent( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathComponent), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// URLByAppendingPathComponent_isDirectory Returns a new URL made by appending a path component to the original URL, along with a trailing slash if the component is designated a directory. +// https://developer.apple.com/documentation/foundation/nsurl/1413953-urlbyappendingpathcomponent?language=objc func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( pathComponent NSStringRef, isDirectory bool, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_URLByAppendingPathComponent_isDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathComponent), convertToObjCBool(isDirectory), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// URLByAppendingPathExtension Returns a new URL made by appending a path extension to the original URL. +// https://developer.apple.com/documentation/foundation/nsurl/1417082-urlbyappendingpathextension?language=objc func (x gen_NSURL) URLByAppendingPathExtension( pathExtension NSStringRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_URLByAppendingPathExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathExtension), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) FileReferenceURL() ( - r0 NSURL, -) { +// FileReferenceURL Returns a new file reference URL that points to the same resource as the receiver. +// https://developer.apple.com/documentation/foundation/nsurl/1408631-filereferenceurl?language=objc +func (x gen_NSURL) FileReferenceURL() NSURL { ret := C.NSURL_inst_fileReferenceURL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL +// https://developer.apple.com/documentation/foundation/nsurl/1410750-initabsoluteurlwithdatarepresent?language=objc func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitFileURLWithPath_asNSURL Initializes a newly created NSURL referencing the local file or directory at path. +// https://developer.apple.com/documentation/foundation/nsurl/1410301-initfileurlwithpath?language=objc func (x gen_NSURL) InitFileURLWithPath_asNSURL( path NSStringRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initFileURLWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitFileURLWithPath_isDirectory_asNSURL Initializes a newly created NSURL referencing the local file or directory at path. +// https://developer.apple.com/documentation/foundation/nsurl/1417505-initfileurlwithpath?language=objc func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( path NSStringRef, isDir bool, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initFileURLWithPath_isDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(isDir), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitFileURLWithPath_isDirectory_relativeToURL_asNSURL +// https://developer.apple.com/documentation/foundation/nsurl/1417932-initfileurlwithpath?language=objc func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( path NSStringRef, isDir bool, baseURL NSURLRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(isDir), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitFileURLWithPath_relativeToURL_asNSURL +// https://developer.apple.com/documentation/foundation/nsurl/1415077-initfileurlwithpath?language=objc func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( path NSStringRef, baseURL NSURLRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initFileURLWithPath_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitWithDataRepresentation_relativeToURL_asNSURL +// https://developer.apple.com/documentation/foundation/nsurl/1416851-initwithdatarepresentation?language=objc func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initWithDataRepresentation_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitWithString_asNSURL Initializes an NSURL object with a provided URL string. +// https://developer.apple.com/documentation/foundation/nsurl/1413146-initwithstring?language=objc func (x gen_NSURL) InitWithString_asNSURL( URLString NSStringRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(URLString), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// InitWithString_relativeToURL_asNSURL Initializes an NSURL object with a base URL and a relative string. +// https://developer.apple.com/documentation/foundation/nsurl/1417949-initwithstring?language=objc func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( URLString NSStringRef, baseURL NSURLRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSURL_inst_initWithString_relativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URLString), objc.RefPointer(baseURL), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) IsFileReferenceURL() ( - r0 bool, -) { +// IsFileReferenceURL Returns whether the URL is a file reference URL. +// https://developer.apple.com/documentation/foundation/nsurl/1408507-isfilereferenceurl?language=objc +func (x gen_NSURL) IsFileReferenceURL() bool { ret := C.NSURL_inst_isFileReferenceURL( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// RemoveAllCachedResourceValues Removes all cached resource values and temporary resource values from the URL object. +// https://developer.apple.com/documentation/foundation/nsurl/1417078-removeallcachedresourcevalues?language=objc func (x gen_NSURL) RemoveAllCachedResourceValues() { C.NSURL_inst_removeAllCachedResourceValues( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSURL) StartAccessingSecurityScopedResource() ( - r0 bool, -) { +// StartAccessingSecurityScopedResource In an app that has adopted App Sandbox, makes the resource pointed to by a security-scoped URL available to the app. +// https://developer.apple.com/documentation/foundation/nsurl/1417051-startaccessingsecurityscopedreso?language=objc +func (x gen_NSURL) StartAccessingSecurityScopedResource() bool { ret := C.NSURL_inst_startAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// StopAccessingSecurityScopedResource In an app that adopts App Sandbox, revokes access to the resource pointed to by a security-scoped URL. +// https://developer.apple.com/documentation/foundation/nsurl/1413736-stopaccessingsecurityscopedresou?language=objc func (x gen_NSURL) StopAccessingSecurityScopedResource() { C.NSURL_inst_stopAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), ) + return + } -func (x gen_NSURL) Init_asNSURL() ( - r0 NSURL, -) { +// Init_asNSURL +func (x gen_NSURL) Init_asNSURL() NSURL { ret := C.NSURL_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) DataRepresentation() ( - r0 NSData, -) { +// DataRepresentation +// https://developer.apple.com/documentation/foundation/nsurl/1407656-datarepresentation?language=objc +func (x gen_NSURL) DataRepresentation() NSData { ret := C.NSURL_inst_dataRepresentation( unsafe.Pointer(x.Pointer()), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func (x gen_NSURL) IsFileURL() ( - r0 bool, -) { +// IsFileURL A boolean value that determines whether the receiver is a file URL. +// https://developer.apple.com/documentation/foundation/nsurl/1408782-fileurl?language=objc +func (x gen_NSURL) IsFileURL() bool { ret := C.NSURL_inst_isFileURL( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSURL) AbsoluteString() ( - r0 NSString, -) { +// AbsoluteString The URL string for the receiver as an absolute URL. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1409868-absolutestring?language=objc +func (x gen_NSURL) AbsoluteString() NSString { ret := C.NSURL_inst_absoluteString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) AbsoluteURL() ( - r0 NSURL, -) { +// AbsoluteURL An absolute URL that refers to the same resource as the receiver. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1414266-absoluteurl?language=objc +func (x gen_NSURL) AbsoluteURL() NSURL { ret := C.NSURL_inst_absoluteURL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) BaseURL() ( - r0 NSURL, -) { +// BaseURL The base URL. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1412311-baseurl?language=objc +func (x gen_NSURL) BaseURL() NSURL { ret := C.NSURL_inst_baseURL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) Fragment() ( - r0 NSString, -) { +// Fragment The fragment identifier, conforming to RFC 1808. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1413775-fragment?language=objc +func (x gen_NSURL) Fragment() NSString { ret := C.NSURL_inst_fragment( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) Host() ( - r0 NSString, -) { +// Host The host, conforming to RFC 1808. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1413640-host?language=objc +func (x gen_NSURL) Host() NSString { ret := C.NSURL_inst_host( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) LastPathComponent() ( - r0 NSString, -) { +// LastPathComponent The last path component. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1417444-lastpathcomponent?language=objc +func (x gen_NSURL) LastPathComponent() NSString { ret := C.NSURL_inst_lastPathComponent( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) Password() ( - r0 NSString, -) { +// Password The password conforming to RFC 1808. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1412096-password?language=objc +func (x gen_NSURL) Password() NSString { ret := C.NSURL_inst_password( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) Path() ( - r0 NSString, -) { +// Path The path, conforming to RFC 1808. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1408809-path?language=objc +func (x gen_NSURL) Path() NSString { ret := C.NSURL_inst_path( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) PathComponents() ( - r0 NSArray, -) { +// PathComponents An array containing the path components. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1407365-pathcomponents?language=objc +func (x gen_NSURL) PathComponents() NSArray { ret := C.NSURL_inst_pathComponents( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } -func (x gen_NSURL) PathExtension() ( - r0 NSString, -) { +// PathExtension The path extension. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1410208-pathextension?language=objc +func (x gen_NSURL) PathExtension() NSString { ret := C.NSURL_inst_pathExtension( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) Port() ( - r0 NSNumber, -) { +// Port The port, conforming to RFC 1808. +// https://developer.apple.com/documentation/foundation/nsurl/1413455-port?language=objc +func (x gen_NSURL) Port() NSNumber { ret := C.NSURL_inst_port( unsafe.Pointer(x.Pointer()), ) - r0 = NSNumber_fromPointer(ret) - return + + return NSNumber_fromPointer(ret) + } -func (x gen_NSURL) Query() ( - r0 NSString, -) { +// Query The query string, conforming to RFC 1808. +// https://developer.apple.com/documentation/foundation/nsurl/1407543-query?language=objc +func (x gen_NSURL) Query() NSString { ret := C.NSURL_inst_query( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) RelativePath() ( - r0 NSString, -) { +// RelativePath The relative path, conforming to RFC 1808. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1410263-relativepath?language=objc +func (x gen_NSURL) RelativePath() NSString { ret := C.NSURL_inst_relativePath( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) RelativeString() ( - r0 NSString, -) { +// RelativeString A string representation of the relative portion of the URL. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1411417-relativestring?language=objc +func (x gen_NSURL) RelativeString() NSString { ret := C.NSURL_inst_relativeString( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) ResourceSpecifier() ( - r0 NSString, -) { +// ResourceSpecifier The resource specifier. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1415309-resourcespecifier?language=objc +func (x gen_NSURL) ResourceSpecifier() NSString { ret := C.NSURL_inst_resourceSpecifier( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) Scheme() ( - r0 NSString, -) { +// Scheme The scheme. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1413437-scheme?language=objc +func (x gen_NSURL) Scheme() NSString { ret := C.NSURL_inst_scheme( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) StandardizedURL() ( - r0 NSURL, -) { +// StandardizedURL A copy of the URL with any instances of ".." or "." removed from its path. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1411073-standardizedurl?language=objc +func (x gen_NSURL) StandardizedURL() NSURL { ret := C.NSURL_inst_standardizedURL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) User() ( - r0 NSString, -) { +// User The user name, conforming to RFC 1808. +// https://developer.apple.com/documentation/foundation/nsurl/1418335-user?language=objc +func (x gen_NSURL) User() NSString { ret := C.NSURL_inst_user( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURL) FilePathURL() ( - r0 NSURL, -) { +// FilePathURL A file path URL that points to the same resource as the URL object. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1408442-filepathurl?language=objc +func (x gen_NSURL) FilePathURL() NSURL { ret := C.NSURL_inst_filePathURL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) URLByDeletingLastPathComponent() ( - r0 NSURL, -) { +// URLByDeletingLastPathComponent A URL created by taking the receiver and removing the last path component. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1411592-urlbydeletinglastpathcomponent?language=objc +func (x gen_NSURL) URLByDeletingLastPathComponent() NSURL { ret := C.NSURL_inst_URLByDeletingLastPathComponent( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) URLByDeletingPathExtension() ( - r0 NSURL, -) { +// URLByDeletingPathExtension A URL created by taking the receiver and removing the path extension, if any. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1412357-urlbydeletingpathextension?language=objc +func (x gen_NSURL) URLByDeletingPathExtension() NSURL { ret := C.NSURL_inst_URLByDeletingPathExtension( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) URLByResolvingSymlinksInPath() ( - r0 NSURL, -) { +// URLByResolvingSymlinksInPath A URL that points to the same resource as the receiver and includes no symbolic links. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1415965-urlbyresolvingsymlinksinpath?language=objc +func (x gen_NSURL) URLByResolvingSymlinksInPath() NSURL { ret := C.NSURL_inst_URLByResolvingSymlinksInPath( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) URLByStandardizingPath() ( - r0 NSURL, -) { +// URLByStandardizingPath A URL that points to the same resource as the original URL using an absolute path. (read-only) +// https://developer.apple.com/documentation/foundation/nsurl/1414302-urlbystandardizingpath?language=objc +func (x gen_NSURL) URLByStandardizingPath() NSURL { ret := C.NSURL_inst_URLByStandardizingPath( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURL) HasDirectoryPath() ( - r0 bool, -) { +// HasDirectoryPath +// https://developer.apple.com/documentation/foundation/nsurl/1411475-hasdirectorypath?language=objc +func (x gen_NSURL) HasDirectoryPath() bool { ret := C.NSURL_inst_hasDirectoryPath( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSURLRequestRef interface { @@ -6500,150 +7013,163 @@ func NSURLRequest_fromRef(ref objc.Ref) NSURLRequest { return NSURLRequest_fromPointer(unsafe.Pointer(ref.Pointer())) } +// InitWithURL_asNSURLRequest Creates a URL request for a specified URL. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1410303-initwithurl?language=objc func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( URL NSURLRef, -) ( - r0 NSURLRequest, -) { +) NSURLRequest { ret := C.NSURLRequest_inst_initWithURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URL), ) - r0 = NSURLRequest_fromPointer(ret) - return + + return NSURLRequest_fromPointer(ret) + } +// ValueForHTTPHeaderField Returns the value of the specified HTTP header field. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1409376-valueforhttpheaderfield?language=objc func (x gen_NSURLRequest) ValueForHTTPHeaderField( field NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSURLRequest_inst_valueForHTTPHeaderField( unsafe.Pointer(x.Pointer()), objc.RefPointer(field), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURLRequest) Init_asNSURLRequest() ( - r0 NSURLRequest, -) { +// Init_asNSURLRequest +func (x gen_NSURLRequest) Init_asNSURLRequest() NSURLRequest { ret := C.NSURLRequest_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSURLRequest_fromPointer(ret) - return + + return NSURLRequest_fromPointer(ret) + } -func (x gen_NSURLRequest) HTTPMethod() ( - r0 NSString, -) { +// HTTPMethod The HTTP request method. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1413030-httpmethod?language=objc +func (x gen_NSURLRequest) HTTPMethod() NSString { ret := C.NSURLRequest_inst_HTTPMethod( unsafe.Pointer(x.Pointer()), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSURLRequest) URL() ( - r0 NSURL, -) { +// URL The URL being requested. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1408996-url?language=objc +func (x gen_NSURLRequest) URL() NSURL { ret := C.NSURLRequest_inst_URL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURLRequest) HTTPBody() ( - r0 NSData, -) { +// HTTPBody The request body. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1411317-httpbody?language=objc +func (x gen_NSURLRequest) HTTPBody() NSData { ret := C.NSURLRequest_inst_HTTPBody( unsafe.Pointer(x.Pointer()), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } -func (x gen_NSURLRequest) MainDocumentURL() ( - r0 NSURL, -) { +// MainDocumentURL The main document URL associated with the request. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1414134-maindocumenturl?language=objc +func (x gen_NSURLRequest) MainDocumentURL() NSURL { ret := C.NSURLRequest_inst_mainDocumentURL( unsafe.Pointer(x.Pointer()), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } -func (x gen_NSURLRequest) AllHTTPHeaderFields() ( - r0 NSDictionary, -) { +// AllHTTPHeaderFields A dictionary containing all of the HTTP header fields for a request. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1418477-allhttpheaderfields?language=objc +func (x gen_NSURLRequest) AllHTTPHeaderFields() NSDictionary { ret := C.NSURLRequest_inst_allHTTPHeaderFields( unsafe.Pointer(x.Pointer()), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func (x gen_NSURLRequest) HTTPShouldHandleCookies() ( - r0 bool, -) { +// HTTPShouldHandleCookies A Boolean value that indicates whether the default cookie handling will be used for this request. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1418369-httpshouldhandlecookies?language=objc +func (x gen_NSURLRequest) HTTPShouldHandleCookies() bool { ret := C.NSURLRequest_inst_HTTPShouldHandleCookies( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSURLRequest) HTTPShouldUsePipelining() ( - r0 bool, -) { +// HTTPShouldUsePipelining A Boolean value that indicates whether the request should continue transmitting data before receiving a response from an earlier transmission. +// https://developer.apple.com/documentation/foundation/nsurlrequest/1409170-httpshouldusepipelining?language=objc +func (x gen_NSURLRequest) HTTPShouldUsePipelining() bool { ret := C.NSURLRequest_inst_HTTPShouldUsePipelining( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSURLRequest) AllowsCellularAccess() ( - r0 bool, -) { +// AllowsCellularAccess A Boolean value that indicates whether the request is allowed to use the cellular radio (if present). +// https://developer.apple.com/documentation/foundation/nsurlrequest/1412032-allowscellularaccess?language=objc +func (x gen_NSURLRequest) AllowsCellularAccess() bool { ret := C.NSURLRequest_inst_allowsCellularAccess( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() ( - r0 bool, -) { +// AllowsConstrainedNetworkAccess A Boolean value that indicates whether connections may use the network when the user has specified Low Data Mode. +// https://developer.apple.com/documentation/foundation/nsurlrequest/3325678-allowsconstrainednetworkaccess?language=objc +func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() bool { ret := C.NSURLRequest_inst_allowsConstrainedNetworkAccess( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() ( - r0 bool, -) { +// AllowsExpensiveNetworkAccess A Boolean value that indicates whether connections may use a network interface that the system considers expensive. +// https://developer.apple.com/documentation/foundation/nsurlrequest/3325679-allowsexpensivenetworkaccess?language=objc +func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() bool { ret := C.NSURLRequest_inst_allowsExpensiveNetworkAccess( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_NSURLRequest) AssumesHTTP3Capable() ( - r0 bool, -) { +// AssumesHTTP3Capable +// https://developer.apple.com/documentation/foundation/nsurlrequest/3735880-assumeshttp3capable?language=objc +func (x gen_NSURLRequest) AssumesHTTP3Capable() bool { ret := C.NSURLRequest_inst_assumesHTTP3Capable( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type NSUserDefaultsRef interface { @@ -6665,19 +7191,22 @@ func NSUserDefaults_fromRef(ref objc.Ref) NSUserDefaults { return NSUserDefaults_fromPointer(unsafe.Pointer(ref.Pointer())) } +// URLForKey Returns the URL associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408648-urlforkey?language=objc func (x gen_NSUserDefaults) URLForKey( defaultName NSStringRef, -) ( - r0 NSURL, -) { +) NSURL { ret := C.NSUserDefaults_inst_URLForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSURL_fromPointer(ret) - return + + return NSURL_fromPointer(ret) + } +// AddSuiteNamed Inserts the specified domain name into the receiver’s search list. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1410294-addsuitenamed?language=objc func (x gen_NSUserDefaults) AddSuiteNamed( suiteName NSStringRef, ) { @@ -6685,161 +7214,177 @@ func (x gen_NSUserDefaults) AddSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) + return + } +// ArrayForKey Returns the array associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414792-arrayforkey?language=objc func (x gen_NSUserDefaults) ArrayForKey( defaultName NSStringRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSUserDefaults_inst_arrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// BoolForKey Returns the Boolean value associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416388-boolforkey?language=objc func (x gen_NSUserDefaults) BoolForKey( defaultName NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSUserDefaults_inst_boolForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// DataForKey Returns the data object associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1409590-dataforkey?language=objc func (x gen_NSUserDefaults) DataForKey( defaultName NSStringRef, -) ( - r0 NSData, -) { +) NSData { ret := C.NSUserDefaults_inst_dataForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSData_fromPointer(ret) - return + + return NSData_fromPointer(ret) + } +// DictionaryForKey Returns the dictionary object associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408563-dictionaryforkey?language=objc func (x gen_NSUserDefaults) DictionaryForKey( defaultName NSStringRef, -) ( - r0 NSDictionary, -) { +) NSDictionary { ret := C.NSUserDefaults_inst_dictionaryForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func (x gen_NSUserDefaults) DictionaryRepresentation() ( - r0 NSDictionary, -) { +// DictionaryRepresentation Returns a dictionary that contains a union of all key-value pairs in the domains in the search list. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1415919-dictionaryrepresentation?language=objc +func (x gen_NSUserDefaults) DictionaryRepresentation() NSDictionary { ret := C.NSUserDefaults_inst_dictionaryRepresentation( unsafe.Pointer(x.Pointer()), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func (x gen_NSUserDefaults) Init_asNSUserDefaults() ( - r0 NSUserDefaults, -) { +// Init_asNSUserDefaults Creates a user defaults object initialized with the defaults for the app and current user. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414356-init?language=objc +func (x gen_NSUserDefaults) Init_asNSUserDefaults() NSUserDefaults { ret := C.NSUserDefaults_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = NSUserDefaults_fromPointer(ret) - return + + return NSUserDefaults_fromPointer(ret) + } +// InitWithSuiteName_asNSUserDefaults Creates a user defaults object initialized with the defaults for the specified database name. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1409957-initwithsuitename?language=objc func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( suitename NSStringRef, -) ( - r0 NSUserDefaults, -) { +) NSUserDefaults { ret := C.NSUserDefaults_inst_initWithSuiteName( unsafe.Pointer(x.Pointer()), objc.RefPointer(suitename), ) - r0 = NSUserDefaults_fromPointer(ret) - return + + return NSUserDefaults_fromPointer(ret) + } +// IntegerForKey Returns the integer value associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1407405-integerforkey?language=objc func (x gen_NSUserDefaults) IntegerForKey( defaultName NSStringRef, -) ( - r0 NSInteger, -) { +) NSInteger { ret := C.NSUserDefaults_inst_integerForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSInteger(ret) - return + + return NSInteger(ret) + } +// ObjectForKey Returns the object associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1410095-objectforkey?language=objc func (x gen_NSUserDefaults) ObjectForKey( defaultName NSStringRef, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.NSUserDefaults_inst_objectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// ObjectIsForcedForKey Returns a Boolean value indicating whether the specified key is managed by an administrator. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408635-objectisforcedforkey?language=objc func (x gen_NSUserDefaults) ObjectIsForcedForKey( key NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSUserDefaults_inst_objectIsForcedForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// ObjectIsForcedForKey_inDomain Returns a Boolean value indicating whether the key in the specified domain is managed by an administrator. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416306-objectisforcedforkey?language=objc func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( key NSStringRef, domain NSStringRef, -) ( - r0 bool, -) { +) bool { ret := C.NSUserDefaults_inst_objectIsForcedForKey_inDomain( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(domain), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// PersistentDomainForName Returns a dictionary representation of the defaults for the specified domain. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1412197-persistentdomainforname?language=objc func (x gen_NSUserDefaults) PersistentDomainForName( domainName NSStringRef, -) ( - r0 NSDictionary, -) { +) NSDictionary { ret := C.NSUserDefaults_inst_persistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } +// RegisterDefaults Adds the contents of the specified dictionary to the registration domain. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1417065-registerdefaults?language=objc func (x gen_NSUserDefaults) RegisterDefaults( registrationDictionary NSDictionaryRef, ) { @@ -6847,9 +7392,13 @@ func (x gen_NSUserDefaults) RegisterDefaults( unsafe.Pointer(x.Pointer()), objc.RefPointer(registrationDictionary), ) + return + } +// RemoveObjectForKey Removes the value of the specified default key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1411182-removeobjectforkey?language=objc func (x gen_NSUserDefaults) RemoveObjectForKey( defaultName NSStringRef, ) { @@ -6857,9 +7406,13 @@ func (x gen_NSUserDefaults) RemoveObjectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) + return + } +// RemovePersistentDomainForName Removes the contents of the specified persistent domain from the user’s defaults. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1417339-removepersistentdomainforname?language=objc func (x gen_NSUserDefaults) RemovePersistentDomainForName( domainName NSStringRef, ) { @@ -6867,9 +7420,13 @@ func (x gen_NSUserDefaults) RemovePersistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) + return + } +// RemoveSuiteNamed Removes the specified domain name from the receiver’s search list. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408047-removesuitenamed?language=objc func (x gen_NSUserDefaults) RemoveSuiteNamed( suiteName NSStringRef, ) { @@ -6877,9 +7434,13 @@ func (x gen_NSUserDefaults) RemoveSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) + return + } +// RemoveVolatileDomainForName Removes the specified volatile domain from the user’s defaults. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1415955-removevolatiledomainforname?language=objc func (x gen_NSUserDefaults) RemoveVolatileDomainForName( domainName NSStringRef, ) { @@ -6887,9 +7448,13 @@ func (x gen_NSUserDefaults) RemoveVolatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) + return + } +// SetBool_forKey Sets the value of the specified default key to the specified Boolean value. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408905-setbool?language=objc func (x gen_NSUserDefaults) SetBool_forKey( value bool, defaultName NSStringRef, @@ -6899,9 +7464,13 @@ func (x gen_NSUserDefaults) SetBool_forKey( convertToObjCBool(value), objc.RefPointer(defaultName), ) + return + } +// SetInteger_forKey Sets the value of the specified default key to the specified integer value. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1413614-setinteger?language=objc func (x gen_NSUserDefaults) SetInteger_forKey( value NSInteger, defaultName NSStringRef, @@ -6911,9 +7480,13 @@ func (x gen_NSUserDefaults) SetInteger_forKey( C.long(value), objc.RefPointer(defaultName), ) + return + } +// SetObject_forKey Sets the value of the specified default key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414067-setobject?language=objc func (x gen_NSUserDefaults) SetObject_forKey( value objc.Ref, defaultName NSStringRef, @@ -6923,9 +7496,13 @@ func (x gen_NSUserDefaults) SetObject_forKey( objc.RefPointer(value), objc.RefPointer(defaultName), ) + return + } +// SetPersistentDomain_forName Sets a dictionary for the specified persistent domain. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408187-setpersistentdomain?language=objc func (x gen_NSUserDefaults) SetPersistentDomain_forName( domain NSDictionaryRef, domainName NSStringRef, @@ -6935,9 +7512,13 @@ func (x gen_NSUserDefaults) SetPersistentDomain_forName( objc.RefPointer(domain), objc.RefPointer(domainName), ) + return + } +// SetURL_forKey Sets the value of the specified default key to the specified URL. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414194-seturl?language=objc func (x gen_NSUserDefaults) SetURL_forKey( url NSURLRef, defaultName NSStringRef, @@ -6947,9 +7528,13 @@ func (x gen_NSUserDefaults) SetURL_forKey( objc.RefPointer(url), objc.RefPointer(defaultName), ) + return + } +// SetVolatileDomain_forName Sets the dictionary for the specified volatile domain. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1413720-setvolatiledomain?language=objc func (x gen_NSUserDefaults) SetVolatileDomain_forName( domain NSDictionaryRef, domainName NSStringRef, @@ -6959,64 +7544,71 @@ func (x gen_NSUserDefaults) SetVolatileDomain_forName( objc.RefPointer(domain), objc.RefPointer(domainName), ) + return + } +// StringArrayForKey Returns the array of strings associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416414-stringarrayforkey?language=objc func (x gen_NSUserDefaults) StringArrayForKey( defaultName NSStringRef, -) ( - r0 NSArray, -) { +) NSArray { ret := C.NSUserDefaults_inst_stringArrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } +// StringForKey Returns the string associated with the specified key. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416700-stringforkey?language=objc func (x gen_NSUserDefaults) StringForKey( defaultName NSStringRef, -) ( - r0 NSString, -) { +) NSString { ret := C.NSUserDefaults_inst_stringForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) - r0 = NSString_fromPointer(ret) - return + + return NSString_fromPointer(ret) + } -func (x gen_NSUserDefaults) Synchronize() ( - r0 bool, -) { +// Synchronize Waits for any pending asynchronous updates to the defaults database and returns; this method is unnecessary and shouldn't be used. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414005-synchronize?language=objc +func (x gen_NSUserDefaults) Synchronize() bool { ret := C.NSUserDefaults_inst_synchronize( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// VolatileDomainForName Returns the dictionary for the specified volatile domain. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1409592-volatiledomainforname?language=objc func (x gen_NSUserDefaults) VolatileDomainForName( domainName NSStringRef, -) ( - r0 NSDictionary, -) { +) NSDictionary { ret := C.NSUserDefaults_inst_volatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) - r0 = NSDictionary_fromPointer(ret) - return + + return NSDictionary_fromPointer(ret) + } -func (x gen_NSUserDefaults) VolatileDomainNames() ( - r0 NSArray, -) { +// VolatileDomainNames The current volatile domain names. +// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414231-volatiledomainnames?language=objc +func (x gen_NSUserDefaults) VolatileDomainNames() NSArray { ret := C.NSUserDefaults_inst_volatileDomainNames( unsafe.Pointer(x.Pointer()), ) - r0 = NSArray_fromPointer(ret) - return + + return NSArray_fromPointer(ret) + } diff --git a/gen/gen_class_builder.go b/gen/gen_class_builder.go index da7187ec..7446468e 100644 --- a/gen/gen_class_builder.go +++ b/gen/gen_class_builder.go @@ -63,6 +63,7 @@ func (cb *classBuilder) EachInstanceMethod(f func(schema.Method)) { func (cb *classBuilder) instanceMethod(method schema.Method) MethodDef { r := MethodDef{ + Description: method.Description + fmt.Sprintf("\n// %s", method.TopicURL), Name: toExportedName(selectorNameToGoIdent(cb.generatedNames, method.Name)), WrappedFunc: cb.cgoWrapperFunc(method, false), } diff --git a/gen/template/package.tmpl b/gen/template/package.tmpl index a8c0ec4d..5b2e12e1 100644 --- a/gen/template/package.tmpl +++ b/gen/template/package.tmpl @@ -105,12 +105,12 @@ func {{.Name}}( ) {{ if eq (len .WrappedFunc.Returns) 1}} return {{printf (index .WrappedFunc.Returns 0).FromCGoFmt "ret"}} - {{ else }} + {{ else }} {{- range $i, $_ := .WrappedFunc.Returns}} r{{$i}} = {{printf .FromCGoFmt "ret"}} {{- end}} return - {{ end }} + {{ end }} } {{end}} @@ -139,14 +139,19 @@ func {{.Name}}_fromRef(ref objc.Ref) {{.Name}} { } {{range .InstanceMethods}} +// {{.Name}} {{.Description}} func (x gen_{{$cls.Name}}) {{.Name}}( {{- range .WrappedFunc.Args}} {{.Name}} {{.Type}}, {{- end}} ) {{if .WrappedFunc.HasReturn}}( - {{- range $i, $_ := .WrappedFunc.Returns}} - r{{$i}} {{.Type}}, - {{- end}} + {{- if eq (len .WrappedFunc.Returns) 1}} + {{(index .WrappedFunc.Returns 0).Type}} + {{- else -}} + {{- range $i, $_ := .WrappedFunc.Returns -}} + {{if $i}}, {{end}}r{{$i}} {{.Type}} + {{- end -}} + {{- end -}} ){{end}} { {{if .WrappedFunc.HasReturn}}ret := {{end}}C.{{.WrappedFunc.Name}}( unsafe.Pointer(x.Pointer()), @@ -154,10 +159,14 @@ func (x gen_{{$cls.Name}}) {{.Name}}( {{printf .ToCGoFmt .Name}}, {{- end}} ) + {{ if eq (len .WrappedFunc.Returns) 1}} + return {{printf (index .WrappedFunc.Returns 0).FromCGoFmt "ret"}} + {{ else }} {{- range $i, $_ := .WrappedFunc.Returns}} r{{$i}} = {{printf .FromCGoFmt "ret"}} {{- end}} return + {{ end }} } {{end}} diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index bfe9431a..be728b1e 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -549,14 +549,14 @@ func WKNavigation_fromRef(ref objc.Ref) WKNavigation { return WKNavigation_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKNavigation) Init_asWKNavigation() ( - r0 WKNavigation, -) { +// Init_asWKNavigation +func (x gen_WKNavigation) Init_asWKNavigation() WKNavigation { ret := C.WKNavigation_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } type WKUserScriptRef interface { @@ -578,34 +578,36 @@ func WKUserScript_fromRef(ref objc.Ref) WKUserScript { return WKUserScript_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKUserScript) Init_asWKUserScript() ( - r0 WKUserScript, -) { +// Init_asWKUserScript +func (x gen_WKUserScript) Init_asWKUserScript() WKUserScript { ret := C.WKUserScript_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = WKUserScript_fromPointer(ret) - return + + return WKUserScript_fromPointer(ret) + } -func (x gen_WKUserScript) Source() ( - r0 core.NSString, -) { +// Source The script’s source code. +// https://developer.apple.com/documentation/webkit/wkuserscript/1537787-source?language=objc +func (x gen_WKUserScript) Source() core.NSString { ret := C.WKUserScript_inst_source( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_WKUserScript) IsForMainFrameOnly() ( - r0 bool, -) { +// IsForMainFrameOnly A Boolean value that indicates whether to inject the script into the main frame or all frames. +// https://developer.apple.com/documentation/webkit/wkuserscript/1537856-formainframeonly?language=objc +func (x gen_WKUserScript) IsForMainFrameOnly() bool { ret := C.WKUserScript_inst_isForMainFrameOnly( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } type WKWebViewRef interface { @@ -627,16 +629,19 @@ func WKWebView_fromRef(ref objc.Ref) WKWebView { return WKWebView_fromPointer(unsafe.Pointer(ref.Pointer())) } -func (x gen_WKWebView) GoBack() ( - r0 WKNavigation, -) { +// GoBack Navigates to the back item in the back-forward list. +// https://developer.apple.com/documentation/webkit/wkwebview/1414952-goback?language=objc +func (x gen_WKWebView) GoBack() WKNavigation { ret := C.WKWebView_inst_goBack( unsafe.Pointer(x.Pointer()), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// GoBack_ Navigates to the back item in the back-forward list. +// https://developer.apple.com/documentation/webkit/wkwebview/1414975-goback?language=objc func (x gen_WKWebView) GoBack_( sender objc.Ref, ) { @@ -644,19 +649,24 @@ func (x gen_WKWebView) GoBack_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } -func (x gen_WKWebView) GoForward() ( - r0 WKNavigation, -) { +// GoForward Navigates to the forward item in the back-forward list. +// https://developer.apple.com/documentation/webkit/wkwebview/1414993-goforward?language=objc +func (x gen_WKWebView) GoForward() WKNavigation { ret := C.WKWebView_inst_goForward( unsafe.Pointer(x.Pointer()), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// GoForward_ Navigates to the forward item in the back-forward list. +// https://developer.apple.com/documentation/webkit/wkwebview/1414960-goforward?language=objc func (x gen_WKWebView) GoForward_( sender objc.Ref, ) { @@ -664,32 +674,35 @@ func (x gen_WKWebView) GoForward_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// InitWithFrame_configuration_asWKWebView Creates a web view and initializes it with the specified frame and configuration data. +// https://developer.apple.com/documentation/webkit/wkwebview/1414998-initwithframe?language=objc func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( frame core.NSRect, configuration WKWebViewConfigurationRef, -) ( - r0 WKWebView, -) { +) WKWebView { ret := C.WKWebView_inst_initWithFrame_configuration( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frame)), objc.RefPointer(configuration), ) - r0 = WKWebView_fromPointer(ret) - return + + return WKWebView_fromPointer(ret) + } +// LoadData_MIMEType_characterEncodingName_baseURL Loads the content of the specified data object and navigates to it. +// https://developer.apple.com/documentation/webkit/wkwebview/1415011-loaddata?language=objc func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( data core.NSDataRef, MIMEType core.NSStringRef, characterEncodingName core.NSStringRef, baseURL core.NSURLRef, -) ( - r0 WKNavigation, -) { +) WKNavigation { ret := C.WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), @@ -697,93 +710,102 @@ func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( objc.RefPointer(characterEncodingName), objc.RefPointer(baseURL), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// LoadFileRequest_allowingReadAccessToURL +// https://developer.apple.com/documentation/webkit/wkwebview/3752237-loadfilerequest?language=objc func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( request core.NSURLRequestRef, readAccessURL core.NSURLRef, -) ( - r0 WKNavigation, -) { +) WKNavigation { ret := C.WKWebView_inst_loadFileRequest_allowingReadAccessToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), objc.RefPointer(readAccessURL), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// LoadFileURL_allowingReadAccessToURL Loads the web content from the specified file and navigates to it. +// https://developer.apple.com/documentation/webkit/wkwebview/1414973-loadfileurl?language=objc func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( URL core.NSURLRef, readAccessURL core.NSURLRef, -) ( - r0 WKNavigation, -) { +) WKNavigation { ret := C.WKWebView_inst_loadFileURL_allowingReadAccessToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URL), objc.RefPointer(readAccessURL), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// LoadHTMLString_baseURL Loads the contents of the specified HTML string and navigates to it. +// https://developer.apple.com/documentation/webkit/wkwebview/1415004-loadhtmlstring?language=objc func (x gen_WKWebView) LoadHTMLString_baseURL( string core.NSStringRef, baseURL core.NSURLRef, -) ( - r0 WKNavigation, -) { +) WKNavigation { ret := C.WKWebView_inst_loadHTMLString_baseURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), objc.RefPointer(baseURL), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// LoadRequest Loads the web content referenced by the specified URL request object and navigates to it. +// https://developer.apple.com/documentation/webkit/wkwebview/1414954-loadrequest?language=objc func (x gen_WKWebView) LoadRequest( request core.NSURLRequestRef, -) ( - r0 WKNavigation, -) { +) WKNavigation { ret := C.WKWebView_inst_loadRequest( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// LoadSimulatedRequest_responseHTMLString +// https://developer.apple.com/documentation/webkit/wkwebview/3763095-loadsimulatedrequest?language=objc func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( request core.NSURLRequestRef, string core.NSStringRef, -) ( - r0 WKNavigation, -) { +) WKNavigation { ret := C.WKWebView_inst_loadSimulatedRequest_responseHTMLString( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), objc.RefPointer(string), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } -func (x gen_WKWebView) Reload() ( - r0 WKNavigation, -) { +// Reload Reloads the current webpage. +// https://developer.apple.com/documentation/webkit/wkwebview/1414969-reload?language=objc +func (x gen_WKWebView) Reload() WKNavigation { ret := C.WKWebView_inst_reload( unsafe.Pointer(x.Pointer()), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// Reload_ Reloads the current webpage. +// https://developer.apple.com/documentation/webkit/wkwebview/1414987-reload?language=objc func (x gen_WKWebView) Reload_( sender objc.Ref, ) { @@ -791,19 +813,24 @@ func (x gen_WKWebView) Reload_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } -func (x gen_WKWebView) ReloadFromOrigin() ( - r0 WKNavigation, -) { +// ReloadFromOrigin Reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. +// https://developer.apple.com/documentation/webkit/wkwebview/1414956-reloadfromorigin?language=objc +func (x gen_WKWebView) ReloadFromOrigin() WKNavigation { ret := C.WKWebView_inst_reloadFromOrigin( unsafe.Pointer(x.Pointer()), ) - r0 = WKNavigation_fromPointer(ret) - return + + return WKNavigation_fromPointer(ret) + } +// ReloadFromOrigin_ Reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. +// https://developer.apple.com/documentation/webkit/wkwebview/1414989-reloadfromorigin?language=objc func (x gen_WKWebView) ReloadFromOrigin_( sender objc.Ref, ) { @@ -811,16 +838,24 @@ func (x gen_WKWebView) ReloadFromOrigin_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } +// StopLoading Stops loading all resources on the current page. +// https://developer.apple.com/documentation/webkit/wkwebview/1414981-stoploading?language=objc func (x gen_WKWebView) StopLoading() { C.WKWebView_inst_stopLoading( unsafe.Pointer(x.Pointer()), ) + return + } +// StopLoading_ Stops loading all resources on the current page. +// https://developer.apple.com/documentation/webkit/wkwebview/1415013-stoploading?language=objc func (x gen_WKWebView) StopLoading_( sender objc.Ref, ) { @@ -828,39 +863,45 @@ func (x gen_WKWebView) StopLoading_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) + return + } -func (x gen_WKWebView) Init_asWKWebView() ( - r0 WKWebView, -) { +// Init_asWKWebView +func (x gen_WKWebView) Init_asWKWebView() WKWebView { ret := C.WKWebView_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = WKWebView_fromPointer(ret) - return + + return WKWebView_fromPointer(ret) + } -func (x gen_WKWebView) Configuration() ( - r0 WKWebViewConfiguration, -) { +// Configuration The object that contains the configuration details for the web view. +// https://developer.apple.com/documentation/webkit/wkwebview/1414979-configuration?language=objc +func (x gen_WKWebView) Configuration() WKWebViewConfiguration { ret := C.WKWebView_inst_configuration( unsafe.Pointer(x.Pointer()), ) - r0 = WKWebViewConfiguration_fromPointer(ret) - return + + return WKWebViewConfiguration_fromPointer(ret) + } -func (x gen_WKWebView) UIDelegate() ( - r0 objc.Object, -) { +// UIDelegate The object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. +// https://developer.apple.com/documentation/webkit/wkwebview/1415009-uidelegate?language=objc +func (x gen_WKWebView) UIDelegate() objc.Object { ret := C.WKWebView_inst_UIDelegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetUIDelegate The object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. +// https://developer.apple.com/documentation/webkit/wkwebview/1415009-uidelegate?language=objc func (x gen_WKWebView) SetUIDelegate( value objc.Ref, ) { @@ -868,19 +909,24 @@ func (x gen_WKWebView) SetUIDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_WKWebView) NavigationDelegate() ( - r0 objc.Object, -) { +// NavigationDelegate The object you use to manage navigation behavior for the web view. +// https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc +func (x gen_WKWebView) NavigationDelegate() objc.Object { ret := C.WKWebView_inst_navigationDelegate( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetNavigationDelegate The object you use to manage navigation behavior for the web view. +// https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc func (x gen_WKWebView) SetNavigationDelegate( value objc.Ref, ) { @@ -888,49 +934,57 @@ func (x gen_WKWebView) SetNavigationDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_WKWebView) IsLoading() ( - r0 bool, -) { +// IsLoading A Boolean value that indicates whether the view is currently loading content. +// https://developer.apple.com/documentation/webkit/wkwebview/1414964-loading?language=objc +func (x gen_WKWebView) IsLoading() bool { ret := C.WKWebView_inst_isLoading( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_WKWebView) Title() ( - r0 core.NSString, -) { +// Title The page title. +// https://developer.apple.com/documentation/webkit/wkwebview/1415015-title?language=objc +func (x gen_WKWebView) Title() core.NSString { ret := C.WKWebView_inst_title( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } -func (x gen_WKWebView) URL() ( - r0 core.NSURL, -) { +// URL The URL for the current webpage. +// https://developer.apple.com/documentation/webkit/wkwebview/1415005-url?language=objc +func (x gen_WKWebView) URL() core.NSURL { ret := C.WKWebView_inst_URL( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSURL_fromPointer(ret) - return + + return core.NSURL_fromPointer(ret) + } -func (x gen_WKWebView) MediaType() ( - r0 core.NSString, -) { +// MediaType The media type for the contents of the web view. +// https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc +func (x gen_WKWebView) MediaType() core.NSString { ret := C.WKWebView_inst_mediaType( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetMediaType The media type for the contents of the web view. +// https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc func (x gen_WKWebView) SetMediaType( value core.NSStringRef, ) { @@ -938,19 +992,24 @@ func (x gen_WKWebView) SetMediaType( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_WKWebView) CustomUserAgent() ( - r0 core.NSString, -) { +// CustomUserAgent The custom user agent string. +// https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc +func (x gen_WKWebView) CustomUserAgent() core.NSString { ret := C.WKWebView_inst_customUserAgent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetCustomUserAgent The custom user agent string. +// https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc func (x gen_WKWebView) SetCustomUserAgent( value core.NSStringRef, ) { @@ -958,29 +1017,35 @@ func (x gen_WKWebView) SetCustomUserAgent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_WKWebView) HasOnlySecureContent() ( - r0 bool, -) { +// HasOnlySecureContent A Boolean value that indicates whether the web view loaded all resources on the page through securely encrypted connections. +// https://developer.apple.com/documentation/webkit/wkwebview/1415002-hasonlysecurecontent?language=objc +func (x gen_WKWebView) HasOnlySecureContent() bool { ret := C.WKWebView_inst_hasOnlySecureContent( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_WKWebView) AllowsMagnification() ( - r0 bool, -) { +// AllowsMagnification A Boolean value that indicates whether magnify gestures change the web view’s magnification. +// https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc +func (x gen_WKWebView) AllowsMagnification() bool { ret := C.WKWebView_inst_allowsMagnification( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsMagnification A Boolean value that indicates whether magnify gestures change the web view’s magnification. +// https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc func (x gen_WKWebView) SetAllowsMagnification( value bool, ) { @@ -988,19 +1053,24 @@ func (x gen_WKWebView) SetAllowsMagnification( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebView) Magnification() ( - r0 core.CGFloat, -) { +// Magnification The factor by which the page content is currently scaled. +// https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc +func (x gen_WKWebView) Magnification() core.CGFloat { ret := C.WKWebView_inst_magnification( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetMagnification The factor by which the page content is currently scaled. +// https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc func (x gen_WKWebView) SetMagnification( value core.CGFloat, ) { @@ -1008,19 +1078,24 @@ func (x gen_WKWebView) SetMagnification( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_WKWebView) AllowsBackForwardNavigationGestures() ( - r0 bool, -) { +// AllowsBackForwardNavigationGestures A Boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. +// https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc +func (x gen_WKWebView) AllowsBackForwardNavigationGestures() bool { ret := C.WKWebView_inst_allowsBackForwardNavigationGestures( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsBackForwardNavigationGestures A Boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. +// https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( value bool, ) { @@ -1028,39 +1103,46 @@ func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebView) CanGoBack() ( - r0 bool, -) { +// CanGoBack A Boolean value that indicates whether there is a valid back item in the back-forward list. +// https://developer.apple.com/documentation/webkit/wkwebview/1414966-cangoback?language=objc +func (x gen_WKWebView) CanGoBack() bool { ret := C.WKWebView_inst_canGoBack( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_WKWebView) CanGoForward() ( - r0 bool, -) { +// CanGoForward A Boolean value that indicates whether there is a valid forward item in the back-forward list. +// https://developer.apple.com/documentation/webkit/wkwebview/1414962-cangoforward?language=objc +func (x gen_WKWebView) CanGoForward() bool { ret := C.WKWebView_inst_canGoForward( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } -func (x gen_WKWebView) AllowsLinkPreview() ( - r0 bool, -) { +// AllowsLinkPreview A Boolean value that determines whether pressing a link displays a preview of the destination for the link. +// https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc +func (x gen_WKWebView) AllowsLinkPreview() bool { ret := C.WKWebView_inst_allowsLinkPreview( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsLinkPreview A Boolean value that determines whether pressing a link displays a preview of the destination for the link. +// https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc func (x gen_WKWebView) SetAllowsLinkPreview( value bool, ) { @@ -1068,19 +1150,24 @@ func (x gen_WKWebView) SetAllowsLinkPreview( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebView) InteractionState() ( - r0 objc.Object, -) { +// InteractionState +// https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc +func (x gen_WKWebView) InteractionState() objc.Object { ret := C.WKWebView_inst_interactionState( unsafe.Pointer(x.Pointer()), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } +// SetInteractionState +// https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc func (x gen_WKWebView) SetInteractionState( value objc.Ref, ) { @@ -1088,7 +1175,9 @@ func (x gen_WKWebView) SetInteractionState( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } type WKWebViewConfigurationRef interface { @@ -1110,6 +1199,8 @@ func WKWebViewConfiguration_fromRef(ref objc.Ref) WKWebViewConfiguration { return WKWebViewConfiguration_fromPointer(unsafe.Pointer(ref.Pointer())) } +// SetURLSchemeHandler_forURLScheme Registers an object to load resources associated with the specified URL scheme. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875766-seturlschemehandler?language=objc func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( urlSchemeHandler objc.Ref, urlScheme core.NSStringRef, @@ -1119,42 +1210,48 @@ func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( objc.RefPointer(urlSchemeHandler), objc.RefPointer(urlScheme), ) + return + } +// UrlSchemeHandlerForURLScheme Returns the currently registered handler object for the specified URL scheme. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875767-urlschemehandlerforurlscheme?language=objc func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( urlScheme core.NSStringRef, -) ( - r0 objc.Object, -) { +) objc.Object { ret := C.WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme( unsafe.Pointer(x.Pointer()), objc.RefPointer(urlScheme), ) - r0 = objc.Object_fromPointer(ret) - return + + return objc.Object_fromPointer(ret) + } -func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() ( - r0 WKWebViewConfiguration, -) { +// Init_asWKWebViewConfiguration +func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() WKWebViewConfiguration { ret := C.WKWebViewConfiguration_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = WKWebViewConfiguration_fromPointer(ret) - return + + return WKWebViewConfiguration_fromPointer(ret) + } -func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() ( - r0 core.NSString, -) { +// ApplicationNameForUserAgent The app name that appears in the user agent string. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc +func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() core.NSString { ret := C.WKWebViewConfiguration_inst_applicationNameForUserAgent( unsafe.Pointer(x.Pointer()), ) - r0 = core.NSString_fromPointer(ret) - return + + return core.NSString_fromPointer(ret) + } +// SetApplicationNameForUserAgent The app name that appears in the user agent string. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( value core.NSStringRef, ) { @@ -1162,19 +1259,24 @@ func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() ( - r0 bool, -) { +// LimitsNavigationsToAppBoundDomains A Boolean value that indicates whether the web view limits navigation to pages within the app’s domain. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc +func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool { ret := C.WKWebViewConfiguration_inst_limitsNavigationsToAppBoundDomains( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetLimitsNavigationsToAppBoundDomains A Boolean value that indicates whether the web view limits navigation to pages within the app’s domain. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( value bool, ) { @@ -1182,19 +1284,24 @@ func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebViewConfiguration) Preferences() ( - r0 WKPreferences, -) { +// Preferences The object that manages the preference-related settings for the web view. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc +func (x gen_WKWebViewConfiguration) Preferences() WKPreferences { ret := C.WKWebViewConfiguration_inst_preferences( unsafe.Pointer(x.Pointer()), ) - r0 = WKPreferences_fromPointer(ret) - return + + return WKPreferences_fromPointer(ret) + } +// SetPreferences The object that manages the preference-related settings for the web view. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc func (x gen_WKWebViewConfiguration) SetPreferences( value WKPreferencesRef, ) { @@ -1202,19 +1309,24 @@ func (x gen_WKWebViewConfiguration) SetPreferences( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) + return + } -func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() ( - r0 bool, -) { +// IgnoresViewportScaleLimits A Boolean value that determines whether a web view allows scaling of the webpage. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc +func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() bool { ret := C.WKWebViewConfiguration_inst_ignoresViewportScaleLimits( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetIgnoresViewportScaleLimits A Boolean value that determines whether a web view allows scaling of the webpage. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( value bool, ) { @@ -1222,19 +1334,24 @@ func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() ( - r0 bool, -) { +// SuppressesIncrementalRendering A Boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc +func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() bool { ret := C.WKWebViewConfiguration_inst_suppressesIncrementalRendering( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetSuppressesIncrementalRendering A Boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( value bool, ) { @@ -1242,19 +1359,24 @@ func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() ( - r0 bool, -) { +// AllowsInlineMediaPlayback A Boolean value that indicates whether HTML5 videos play inline or use the native full-screen controller. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc +func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() bool { ret := C.WKWebViewConfiguration_inst_allowsInlineMediaPlayback( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsInlineMediaPlayback A Boolean value that indicates whether HTML5 videos play inline or use the native full-screen controller. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( value bool, ) { @@ -1262,19 +1384,24 @@ func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() ( - r0 bool, -) { +// AllowsAirPlayForMediaPlayback A Boolean value that indicates whether the web view allows media playback over AirPlay. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc +func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool { ret := C.WKWebViewConfiguration_inst_allowsAirPlayForMediaPlayback( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsAirPlayForMediaPlayback A Boolean value that indicates whether the web view allows media playback over AirPlay. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( value bool, ) { @@ -1282,19 +1409,24 @@ func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() ( - r0 bool, -) { +// AllowsPictureInPictureMediaPlayback A Boolean value that indicates whether HTML5 videos can play Picture in Picture. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc +func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() bool { ret := C.WKWebViewConfiguration_inst_allowsPictureInPictureMediaPlayback( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetAllowsPictureInPictureMediaPlayback A Boolean value that indicates whether HTML5 videos can play Picture in Picture. +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( value bool, ) { @@ -1302,19 +1434,24 @@ func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() ( - r0 bool, -) { +// UpgradeKnownHostsToHTTPS +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc +func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool { ret := C.WKWebViewConfiguration_inst_upgradeKnownHostsToHTTPS( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetUpgradeKnownHostsToHTTPS +// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS( value bool, ) { @@ -1322,7 +1459,9 @@ func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } type WKPreferencesRef interface { @@ -1344,6 +1483,7 @@ func WKPreferences_fromRef(ref objc.Ref) WKPreferences { return WKPreferences_fromPointer(unsafe.Pointer(ref.Pointer())) } +// SetValue_forKey func (x gen_WKPreferences) SetValue_forKey( value objc.Ref, key core.NSStringRef, @@ -1353,29 +1493,34 @@ func (x gen_WKPreferences) SetValue_forKey( objc.RefPointer(value), objc.RefPointer(key), ) + return + } -func (x gen_WKPreferences) Init_asWKPreferences() ( - r0 WKPreferences, -) { +// Init_asWKPreferences +func (x gen_WKPreferences) Init_asWKPreferences() WKPreferences { ret := C.WKPreferences_inst_init( unsafe.Pointer(x.Pointer()), ) - r0 = WKPreferences_fromPointer(ret) - return + + return WKPreferences_fromPointer(ret) + } -func (x gen_WKPreferences) MinimumFontSize() ( - r0 core.CGFloat, -) { +// MinimumFontSize The minimum font size, in points. +// https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc +func (x gen_WKPreferences) MinimumFontSize() core.CGFloat { ret := C.WKPreferences_inst_minimumFontSize( unsafe.Pointer(x.Pointer()), ) - r0 = core.CGFloat(ret) - return + + return core.CGFloat(ret) + } +// SetMinimumFontSize The minimum font size, in points. +// https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc func (x gen_WKPreferences) SetMinimumFontSize( value core.CGFloat, ) { @@ -1383,19 +1528,24 @@ func (x gen_WKPreferences) SetMinimumFontSize( unsafe.Pointer(x.Pointer()), C.double(value), ) + return + } -func (x gen_WKPreferences) TabFocusesLinks() ( - r0 bool, -) { +// TabFocusesLinks A Boolean value that indicates whether pressing the tab key changes the focus to links and form controls. +// https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc +func (x gen_WKPreferences) TabFocusesLinks() bool { ret := C.WKPreferences_inst_tabFocusesLinks( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetTabFocusesLinks A Boolean value that indicates whether pressing the tab key changes the focus to links and form controls. +// https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc func (x gen_WKPreferences) SetTabFocusesLinks( value bool, ) { @@ -1403,19 +1553,24 @@ func (x gen_WKPreferences) SetTabFocusesLinks( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() ( - r0 bool, -) { +// JavaScriptCanOpenWindowsAutomatically A Boolean value that indicates whether JavaScript can open windows without user interaction. +// https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc +func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool { ret := C.WKPreferences_inst_javaScriptCanOpenWindowsAutomatically( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetJavaScriptCanOpenWindowsAutomatically A Boolean value that indicates whether JavaScript can open windows without user interaction. +// https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( value bool, ) { @@ -1423,19 +1578,24 @@ func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() ( - r0 bool, -) { +// IsFraudulentWebsiteWarningEnabled A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. +// https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc +func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() bool { ret := C.WKPreferences_inst_isFraudulentWebsiteWarningEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetFraudulentWebsiteWarningEnabled A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. +// https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( value bool, ) { @@ -1443,19 +1603,24 @@ func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } -func (x gen_WKPreferences) IsTextInteractionEnabled() ( - r0 bool, -) { +// IsTextInteractionEnabled +// https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc +func (x gen_WKPreferences) IsTextInteractionEnabled() bool { ret := C.WKPreferences_inst_isTextInteractionEnabled( unsafe.Pointer(x.Pointer()), ) - r0 = convertObjCBoolToGo(ret) - return + + return convertObjCBoolToGo(ret) + } +// SetTextInteractionEnabled +// https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc func (x gen_WKPreferences) SetTextInteractionEnabled( value bool, ) { @@ -1463,5 +1628,7 @@ func (x gen_WKPreferences) SetTextInteractionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) + return + } From 0f28c55c11feb1eeb96aaeba96d776ee93ce09b5 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 14:21:27 -0700 Subject: [PATCH 08/13] webkit: address wrapper cleanups --- webkit/WKPreferences.go | 9 --------- webkit/WKWebView.go | 8 ++------ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/webkit/WKPreferences.go b/webkit/WKPreferences.go index 2e280637..4d44e15f 100644 --- a/webkit/WKPreferences.go +++ b/webkit/WKPreferences.go @@ -1,14 +1,5 @@ package webkit -import ( - "github.com/progrium/macdriver/core" - "github.com/progrium/macdriver/objc" -) - type WKPreferences struct { gen_WKPreferences } - -func (p WKPreferences) SetValueForKey(value objc.Object, key core.NSStringRef) { - p.SetValue_forKey_(value, key) -} diff --git a/webkit/WKWebView.go b/webkit/WKWebView.go index 6f9efeae..dd1bd979 100644 --- a/webkit/WKWebView.go +++ b/webkit/WKWebView.go @@ -10,11 +10,7 @@ type WKWebView struct { } func WKWebView_Init(frame core.NSRect, config WKWebViewConfiguration) WKWebView { - return WKWebView_alloc().InitWithFrame_configuration__asWKWebView(frame, config) -} - -func (wv WKWebView) LoadRequest(req core.NSURLRequest) { - wv.LoadRequest_(req) + return WKWebView_alloc().InitWithFrame_configuration_asWKWebView(frame, config) } // FIXME this would conflict with the `reload` selector that doesn't take a @@ -25,5 +21,5 @@ func (wv WKWebView) Reload(sender objc.Object) { } func (wv WKWebView) LoadHTMLString(html core.NSString, url core.NSURL) { - wv.LoadHTMLString_baseURL_(html, url) + wv.LoadHTMLString_baseURL(html, url) } From 5badaec2077b46f6d92f8572147ff0abe47080f1 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 14:33:43 -0700 Subject: [PATCH 09/13] cocoa: Fix test --- cocoa/NSImage_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/NSImage_test.go b/cocoa/NSImage_test.go index 7770af50..56e1488b 100644 --- a/cocoa/NSImage_test.go +++ b/cocoa/NSImage_test.go @@ -8,7 +8,7 @@ import ( ) func TestNSImageSize(t *testing.T) { - img := NSImage_alloc().InitWithSize__asNSImage(core.Size(100, 200)) + img := NSImage_alloc().InitWithSize_asNSImage(core.Size(100, 200)) size := img.Size() assert.EqualValues(t, 100, size.Width) assert.EqualValues(t, 200, size.Height) From d2e8dc5a9f675b18cb1884b79006553ace506c01 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 14:56:52 -0700 Subject: [PATCH 10/13] gen: Improve docstring rendering --- cocoa/cocoa_objc.gen.go | 7235 ++++++++++++++++++++++--------------- core/core_objc.gen.go | 2047 ++++++----- gen/convert.go | 17 +- gen/gen_class_builder.go | 5 +- gen/template/package.tmpl | 4 +- webkit/webkit_objc.gen.go | 391 +- 6 files changed, 5901 insertions(+), 3798 deletions(-) diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index 075769ac..d766ef65 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -7528,6 +7528,8 @@ func convertToObjCBool(b bool) C.BOOL { } // NSBundle_alloc +// +// See for details. func NSBundle_alloc() NSBundle { ret := C.NSBundle_type_alloc() @@ -7535,8 +7537,9 @@ func NSBundle_alloc() NSBundle { } -// NSBundle_bundleWithURL Returns an NSBundle object that corresponds to the specified file URL. -// https://developer.apple.com/documentation/foundation/nsbundle/1494992-bundlewithurl?language=objc +// NSBundle_bundleWithURL returns an nsbundle object that corresponds to the specified file url. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1494992-bundlewithurl?language=objc for details. func NSBundle_bundleWithURL(url core.NSURLRef) NSBundle { ret := C.NSBundle_type_bundleWithURL( objc.RefPointer(url), @@ -7546,8 +7549,9 @@ func NSBundle_bundleWithURL(url core.NSURLRef) NSBundle { } -// NSBundle_bundleWithPath Returns an NSBundle object that corresponds to the specified directory. -// https://developer.apple.com/documentation/foundation/nsbundle/1495012-bundlewithpath?language=objc +// NSBundle_bundleWithPath returns an nsbundle object that corresponds to the specified directory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1495012-bundlewithpath?language=objc for details. func NSBundle_bundleWithPath(path core.NSStringRef) NSBundle { ret := C.NSBundle_type_bundleWithPath( objc.RefPointer(path), @@ -7557,8 +7561,9 @@ func NSBundle_bundleWithPath(path core.NSStringRef) NSBundle { } -// NSBundle_bundleWithIdentifier Returns the NSBundle instance that has the specified bundle identifier. -// https://developer.apple.com/documentation/foundation/nsbundle/1411929-bundlewithidentifier?language=objc +// NSBundle_bundleWithIdentifier returns the nsbundle instance that has the specified bundle identifier. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1411929-bundlewithidentifier?language=objc for details. func NSBundle_bundleWithIdentifier(identifier core.NSStringRef) NSBundle { ret := C.NSBundle_type_bundleWithIdentifier( objc.RefPointer(identifier), @@ -7568,8 +7573,9 @@ func NSBundle_bundleWithIdentifier(identifier core.NSStringRef) NSBundle { } -// NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL Creates and returns a file URL for the resource with the specified name and extension in the specified bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1416361-urlforresource?language=objc +// NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL creates and returns a file url for the resource with the specified name and extension in the specified bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1416361-urlforresource?language=objc for details. func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSURL { ret := C.NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL( objc.RefPointer(name), @@ -7582,8 +7588,9 @@ func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL(name cor } -// NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL Returns an array containing the file URLs for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1409807-urlsforresourceswithextension?language=objc +// NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409807-urlsforresourceswithextension?language=objc for details. func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSArray { ret := C.NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL( objc.RefPointer(ext), @@ -7595,8 +7602,9 @@ func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(ext cor } -// NSBundle_pathForResource_ofType_inDirectory Returns the full pathname for the resource file identified by the specified name and extension and residing in a given bundle directory. -// https://developer.apple.com/documentation/foundation/nsbundle/1409523-pathforresource?language=objc +// NSBundle_pathForResource_ofType_inDirectory returns the full pathname for the resource file identified by the specified name and extension and residing in a given bundle directory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409523-pathforresource?language=objc for details. func NSBundle_pathForResource_ofType_inDirectory(name core.NSStringRef, ext core.NSStringRef, bundlePath core.NSStringRef) core.NSString { ret := C.NSBundle_type_pathForResource_ofType_inDirectory( objc.RefPointer(name), @@ -7608,8 +7616,9 @@ func NSBundle_pathForResource_ofType_inDirectory(name core.NSStringRef, ext core } -// NSBundle_pathsForResourcesOfType_inDirectory Returns an array containing the pathnames for all bundle resources having the specified extension and residing in the bundle directory at the specified path. -// https://developer.apple.com/documentation/foundation/nsbundle/1415876-pathsforresourcesoftype?language=objc +// NSBundle_pathsForResourcesOfType_inDirectory returns an array containing the pathnames for all bundle resources having the specified extension and residing in the bundle directory at the specified path. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1415876-pathsforresourcesoftype?language=objc for details. func NSBundle_pathsForResourcesOfType_inDirectory(ext core.NSStringRef, bundlePath core.NSStringRef) core.NSArray { ret := C.NSBundle_type_pathsForResourcesOfType_inDirectory( objc.RefPointer(ext), @@ -7620,8 +7629,9 @@ func NSBundle_pathsForResourcesOfType_inDirectory(ext core.NSStringRef, bundlePa } -// NSBundle_preferredLocalizationsFromArray Returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user. -// https://developer.apple.com/documentation/foundation/nsbundle/1417249-preferredlocalizationsfromarray?language=objc +// NSBundle_preferredLocalizationsFromArray returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417249-preferredlocalizationsfromarray?language=objc for details. func NSBundle_preferredLocalizationsFromArray(localizationsArray core.NSArrayRef) core.NSArray { ret := C.NSBundle_type_preferredLocalizationsFromArray( objc.RefPointer(localizationsArray), @@ -7631,8 +7641,9 @@ func NSBundle_preferredLocalizationsFromArray(localizationsArray core.NSArrayRef } -// NSBundle_preferredLocalizationsFromArray_forPreferences Returns locale identifiers for which a bundle would provide localized content, given a specified list of candidates for a user's language preferences. -// https://developer.apple.com/documentation/foundation/nsbundle/1409418-preferredlocalizationsfromarray?language=objc +// NSBundle_preferredLocalizationsFromArray_forPreferences returns locale identifiers for which a bundle would provide localized content, given a specified list of candidates for a user's language preferences. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409418-preferredlocalizationsfromarray?language=objc for details. func NSBundle_preferredLocalizationsFromArray_forPreferences(localizationsArray core.NSArrayRef, preferencesArray core.NSArrayRef) core.NSArray { ret := C.NSBundle_type_preferredLocalizationsFromArray_forPreferences( objc.RefPointer(localizationsArray), @@ -7643,8 +7654,9 @@ func NSBundle_preferredLocalizationsFromArray_forPreferences(localizationsArray } -// NSBundle_mainBundle Returns the bundle object that contains the current executable. -// https://developer.apple.com/documentation/foundation/nsbundle/1410786-mainbundle?language=objc +// NSBundle_mainBundle returns the bundle object that contains the current executable. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1410786-mainbundle?language=objc for details. func NSBundle_mainBundle() NSBundle { ret := C.NSBundle_type_mainBundle() @@ -7652,8 +7664,9 @@ func NSBundle_mainBundle() NSBundle { } -// NSBundle_allFrameworks Returns an array of all of the application’s bundles that represent frameworks. -// https://developer.apple.com/documentation/foundation/nsbundle/1408056-allframeworks?language=objc +// NSBundle_allFrameworks returns an array of all of the application’s bundles that represent frameworks. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1408056-allframeworks?language=objc for details. func NSBundle_allFrameworks() core.NSArray { ret := C.NSBundle_type_allFrameworks() @@ -7661,8 +7674,9 @@ func NSBundle_allFrameworks() core.NSArray { } -// NSBundle_allBundles Returns an array of all the application’s non-framework bundles. -// https://developer.apple.com/documentation/foundation/nsbundle/1413705-allbundles?language=objc +// NSBundle_allBundles returns an array of all the application’s non-framework bundles. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1413705-allbundles?language=objc for details. func NSBundle_allBundles() core.NSArray { ret := C.NSBundle_type_allBundles() @@ -7671,6 +7685,8 @@ func NSBundle_allBundles() core.NSArray { } // NSSound_alloc +// +// See for details. func NSSound_alloc() NSSound { ret := C.NSSound_type_alloc() @@ -7678,8 +7694,9 @@ func NSSound_alloc() NSSound { } -// NSSound_canInitWithPasteboard Indicates whether the receiver can create an instance of itself from the data in a pasteboard. -// https://developer.apple.com/documentation/appkit/nssound/1477276-caninitwithpasteboard?language=objc +// NSSound_canInitWithPasteboard indicates whether the receiver can create an instance of itself from the data in a pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477276-caninitwithpasteboard?language=objc for details. func NSSound_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { ret := C.NSSound_type_canInitWithPasteboard( objc.RefPointer(pasteboard), @@ -7689,8 +7706,9 @@ func NSSound_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { } -// NSSound_soundUnfilteredTypes Provides the file types the NSSound class understands. -// https://developer.apple.com/documentation/appkit/nssound/1477290-soundunfilteredtypes?language=objc +// NSSound_soundUnfilteredTypes provides the file types the nssound class understands. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477290-soundunfilteredtypes?language=objc for details. func NSSound_soundUnfilteredTypes() core.NSArray { ret := C.NSSound_type_soundUnfilteredTypes() @@ -7699,6 +7717,8 @@ func NSSound_soundUnfilteredTypes() core.NSArray { } // NSApplication_alloc +// +// See for details. func NSApplication_alloc() NSApplication { ret := C.NSApplication_type_alloc() @@ -7706,8 +7726,9 @@ func NSApplication_alloc() NSApplication { } -// NSApplication_detachDrawingThread_toTarget_withObject Creates and executes a new thread based on the specified target and selector. -// https://developer.apple.com/documentation/appkit/nsapplication/1428374-detachdrawingthread?language=objc +// NSApplication_detachDrawingThread_toTarget_withObject creates and executes a new thread based on the specified target and selector. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428374-detachdrawingthread?language=objc for details. func NSApplication_detachDrawingThread_toTarget_withObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { C.NSApplication_type_detachDrawingThread_toTarget_withObject( selector.SelectorAddress(), @@ -7719,8 +7740,9 @@ func NSApplication_detachDrawingThread_toTarget_withObject(selector objc.Selecto } -// NSApplication_sharedApplication Returns the application instance, creating it if it doesn’t exist yet. -// https://developer.apple.com/documentation/appkit/nsapplication/1428360-sharedapplication?language=objc +// NSApplication_sharedApplication returns the application instance, creating it if it doesn’t exist yet. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428360-sharedapplication?language=objc for details. func NSApplication_sharedApplication() NSApplication { ret := C.NSApplication_type_sharedApplication() @@ -7729,6 +7751,8 @@ func NSApplication_sharedApplication() NSApplication { } // NSControl_alloc +// +// See for details. func NSControl_alloc() NSControl { ret := C.NSControl_type_alloc() @@ -7737,6 +7761,8 @@ func NSControl_alloc() NSControl { } // NSButton_alloc +// +// See for details. func NSButton_alloc() NSButton { ret := C.NSButton_type_alloc() @@ -7744,8 +7770,9 @@ func NSButton_alloc() NSButton { } -// NSButton_checkboxWithTitle_target_action Creates a standard checkbox with the title you specify. -// https://developer.apple.com/documentation/appkit/nsbutton/1644525-checkboxwithtitle?language=objc +// NSButton_checkboxWithTitle_target_action creates a standard checkbox with the title you specify. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1644525-checkboxwithtitle?language=objc for details. func NSButton_checkboxWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_checkboxWithTitle_target_action( objc.RefPointer(title), @@ -7757,8 +7784,9 @@ func NSButton_checkboxWithTitle_target_action(title core.NSStringRef, target obj } -// NSButton_buttonWithImage_target_action Creates a standard push button with the image you specify. -// https://developer.apple.com/documentation/appkit/nsbutton/1644659-buttonwithimage?language=objc +// NSButton_buttonWithImage_target_action creates a standard push button with the image you specify. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1644659-buttonwithimage?language=objc for details. func NSButton_buttonWithImage_target_action(image NSImageRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_buttonWithImage_target_action( objc.RefPointer(image), @@ -7770,8 +7798,9 @@ func NSButton_buttonWithImage_target_action(image NSImageRef, target objc.Ref, a } -// NSButton_radioButtonWithTitle_target_action Creates a standard radio button with the title you specify. -// https://developer.apple.com/documentation/appkit/nsbutton/1644340-radiobuttonwithtitle?language=objc +// NSButton_radioButtonWithTitle_target_action creates a standard radio button with the title you specify. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1644340-radiobuttonwithtitle?language=objc for details. func NSButton_radioButtonWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_radioButtonWithTitle_target_action( objc.RefPointer(title), @@ -7783,8 +7812,9 @@ func NSButton_radioButtonWithTitle_target_action(title core.NSStringRef, target } -// NSButton_buttonWithTitle_image_target_action Creates a standard push button with a title and image. -// https://developer.apple.com/documentation/appkit/nsbutton/1644719-buttonwithtitle?language=objc +// NSButton_buttonWithTitle_image_target_action creates a standard push button with a title and image. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1644719-buttonwithtitle?language=objc for details. func NSButton_buttonWithTitle_image_target_action(title core.NSStringRef, image NSImageRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_buttonWithTitle_image_target_action( objc.RefPointer(title), @@ -7797,8 +7827,9 @@ func NSButton_buttonWithTitle_image_target_action(title core.NSStringRef, image } -// NSButton_buttonWithTitle_target_action Creates a standard push button with the title you specify. -// https://developer.apple.com/documentation/appkit/nsbutton/1644256-buttonwithtitle?language=objc +// NSButton_buttonWithTitle_target_action creates a standard push button with the title you specify. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1644256-buttonwithtitle?language=objc for details. func NSButton_buttonWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { ret := C.NSButton_type_buttonWithTitle_target_action( objc.RefPointer(title), @@ -7811,6 +7842,8 @@ func NSButton_buttonWithTitle_target_action(title core.NSStringRef, target objc. } // NSEvent_alloc +// +// See for details. func NSEvent_alloc() NSEvent { ret := C.NSEvent_type_alloc() @@ -7818,8 +7851,9 @@ func NSEvent_alloc() NSEvent { } -// NSEvent_eventWithEventRef Creates an event object that is based on a Carbon type of event. -// https://developer.apple.com/documentation/appkit/nsevent/1528021-eventwitheventref?language=objc +// NSEvent_eventWithEventRef creates an event object that is based on a carbon type of event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528021-eventwitheventref?language=objc for details. func NSEvent_eventWithEventRef(eventRef unsafe.Pointer) NSEvent { ret := C.NSEvent_type_eventWithEventRef( eventRef, @@ -7829,8 +7863,9 @@ func NSEvent_eventWithEventRef(eventRef unsafe.Pointer) NSEvent { } -// NSEvent_stopPeriodicEvents Stops generating periodic events for the current thread and discards any periodic events remaining in the queue. -// https://developer.apple.com/documentation/appkit/nsevent/1533746-stopperiodicevents?language=objc +// NSEvent_stopPeriodicEvents stops generating periodic events for the current thread and discards any periodic events remaining in the queue. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1533746-stopperiodicevents?language=objc for details. func NSEvent_stopPeriodicEvents() { C.NSEvent_type_stopPeriodicEvents() @@ -7838,8 +7873,9 @@ func NSEvent_stopPeriodicEvents() { } -// NSEvent_removeMonitor Remove the specified event monitor. -// https://developer.apple.com/documentation/appkit/nsevent/1533709-removemonitor?language=objc +// NSEvent_removeMonitor remove the specified event monitor. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1533709-removemonitor?language=objc for details. func NSEvent_removeMonitor(eventMonitor objc.Ref) { C.NSEvent_type_removeMonitor( objc.RefPointer(eventMonitor), @@ -7849,8 +7885,9 @@ func NSEvent_removeMonitor(eventMonitor objc.Ref) { } -// NSEvent_pressedMouseButtons Returns the indices of the currently depressed mouse buttons. -// https://developer.apple.com/documentation/appkit/nsevent/1527943-pressedmousebuttons?language=objc +// NSEvent_pressedMouseButtons returns the indices of the currently depressed mouse buttons. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1527943-pressedmousebuttons?language=objc for details. func NSEvent_pressedMouseButtons() core.NSUInteger { ret := C.NSEvent_type_pressedMouseButtons() @@ -7858,8 +7895,9 @@ func NSEvent_pressedMouseButtons() core.NSUInteger { } -// NSEvent_mouseLocation Reports the current mouse position in screen coordinates. -// https://developer.apple.com/documentation/appkit/nsevent/1533380-mouselocation?language=objc +// NSEvent_mouseLocation reports the current mouse position in screen coordinates. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1533380-mouselocation?language=objc for details. func NSEvent_mouseLocation() core.NSPoint { ret := C.NSEvent_type_mouseLocation() @@ -7868,7 +7906,8 @@ func NSEvent_mouseLocation() core.NSPoint { } // NSEvent_mouseCoalescingEnabled -// https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc for details. func NSEvent_mouseCoalescingEnabled() bool { ret := C.NSEvent_type_mouseCoalescingEnabled() @@ -7877,7 +7916,8 @@ func NSEvent_mouseCoalescingEnabled() bool { } // NSEvent_setMouseCoalescingEnabled -// https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc for details. func NSEvent_setMouseCoalescingEnabled(value bool) { C.NSEvent_type_setMouseCoalescingEnabled( convertToObjCBool(value), @@ -7888,7 +7928,8 @@ func NSEvent_setMouseCoalescingEnabled(value bool) { } // NSEvent_swipeTrackingFromScrollEventsEnabled -// https://developer.apple.com/documentation/appkit/nsevent/2870067-swipetrackingfromscrolleventsena?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsevent/2870067-swipetrackingfromscrolleventsena?language=objc for details. func NSEvent_swipeTrackingFromScrollEventsEnabled() bool { ret := C.NSEvent_type_swipeTrackingFromScrollEventsEnabled() @@ -7897,6 +7938,8 @@ func NSEvent_swipeTrackingFromScrollEventsEnabled() bool { } // NSFont_alloc +// +// See for details. func NSFont_alloc() NSFont { ret := C.NSFont_type_alloc() @@ -7904,8 +7947,9 @@ func NSFont_alloc() NSFont { } -// NSFont_fontWithName_size Creates a font object for the specified font name and font size. -// https://developer.apple.com/documentation/appkit/nsfont/1525977-fontwithname?language=objc +// NSFont_fontWithName_size creates a font object for the specified font name and font size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1525977-fontwithname?language=objc for details. func NSFont_fontWithName_size(fontName core.NSStringRef, fontSize core.CGFloat) NSFont { ret := C.NSFont_type_fontWithName_size( objc.RefPointer(fontName), @@ -7916,8 +7960,9 @@ func NSFont_fontWithName_size(fontName core.NSStringRef, fontSize core.CGFloat) } -// NSFont_userFontOfSize Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1524559-userfontofsize?language=objc +// NSFont_userFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1524559-userfontofsize?language=objc for details. func NSFont_userFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_userFontOfSize( C.double(fontSize), @@ -7927,8 +7972,9 @@ func NSFont_userFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_userFixedPitchFontOfSize Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1531381-userfixedpitchfontofsize?language=objc +// NSFont_userFixedPitchFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1531381-userfixedpitchfontofsize?language=objc for details. func NSFont_userFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_userFixedPitchFontOfSize( C.double(fontSize), @@ -7938,8 +7984,9 @@ func NSFont_userFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_systemFontOfSize Returns the standard system font with the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1530094-systemfontofsize?language=objc +// NSFont_systemFontOfSize returns the standard system font with the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1530094-systemfontofsize?language=objc for details. func NSFont_systemFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_systemFontOfSize( C.double(fontSize), @@ -7949,8 +7996,9 @@ func NSFont_systemFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_boldSystemFontOfSize Returns the standard system font in boldface type with the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1533549-boldsystemfontofsize?language=objc +// NSFont_boldSystemFontOfSize returns the standard system font in boldface type with the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1533549-boldsystemfontofsize?language=objc for details. func NSFont_boldSystemFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_boldSystemFontOfSize( C.double(fontSize), @@ -7960,8 +8008,9 @@ func NSFont_boldSystemFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_labelFontOfSize Returns the font used for standard interface labels in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1528213-labelfontofsize?language=objc +// NSFont_labelFontOfSize returns the font used for standard interface labels in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1528213-labelfontofsize?language=objc for details. func NSFont_labelFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_labelFontOfSize( C.double(fontSize), @@ -7971,8 +8020,9 @@ func NSFont_labelFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_messageFontOfSize Returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1525777-messagefontofsize?language=objc +// NSFont_messageFontOfSize returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1525777-messagefontofsize?language=objc for details. func NSFont_messageFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_messageFontOfSize( C.double(fontSize), @@ -7982,8 +8032,9 @@ func NSFont_messageFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_menuBarFontOfSize Returns the font used for menu bar items, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1534194-menubarfontofsize?language=objc +// NSFont_menuBarFontOfSize returns the font used for menu bar items, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1534194-menubarfontofsize?language=objc for details. func NSFont_menuBarFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_menuBarFontOfSize( C.double(fontSize), @@ -7993,8 +8044,9 @@ func NSFont_menuBarFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_menuFontOfSize Returns the font used for menu items, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1533068-menufontofsize?language=objc +// NSFont_menuFontOfSize returns the font used for menu items, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1533068-menufontofsize?language=objc for details. func NSFont_menuFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_menuFontOfSize( C.double(fontSize), @@ -8004,8 +8056,9 @@ func NSFont_menuFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_controlContentFontOfSize Returns the font used for the content of controls in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1527070-controlcontentfontofsize?language=objc +// NSFont_controlContentFontOfSize returns the font used for the content of controls in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1527070-controlcontentfontofsize?language=objc for details. func NSFont_controlContentFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_controlContentFontOfSize( C.double(fontSize), @@ -8015,8 +8068,9 @@ func NSFont_controlContentFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_titleBarFontOfSize Returns the font used for window title bars, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1530200-titlebarfontofsize?language=objc +// NSFont_titleBarFontOfSize returns the font used for window title bars, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1530200-titlebarfontofsize?language=objc for details. func NSFont_titleBarFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_titleBarFontOfSize( C.double(fontSize), @@ -8026,8 +8080,9 @@ func NSFont_titleBarFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_paletteFontOfSize Returns the font used for palette window title bars, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1535462-palettefontofsize?language=objc +// NSFont_paletteFontOfSize returns the font used for palette window title bars, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1535462-palettefontofsize?language=objc for details. func NSFont_paletteFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_paletteFontOfSize( C.double(fontSize), @@ -8037,8 +8092,9 @@ func NSFont_paletteFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_toolTipsFontOfSize Returns the font used for tool tips labels, in the specified size. -// https://developer.apple.com/documentation/appkit/nsfont/1527704-tooltipsfontofsize?language=objc +// NSFont_toolTipsFontOfSize returns the font used for tool tips labels, in the specified size. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1527704-tooltipsfontofsize?language=objc for details. func NSFont_toolTipsFontOfSize(fontSize core.CGFloat) NSFont { ret := C.NSFont_type_toolTipsFontOfSize( C.double(fontSize), @@ -8048,8 +8104,9 @@ func NSFont_toolTipsFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_setUserFont Sets the font used by default for documents and other text under the user’s control to the specified font. -// https://developer.apple.com/documentation/appkit/nsfont/1526068-setuserfont?language=objc +// NSFont_setUserFont sets the font used by default for documents and other text under the user’s control to the specified font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1526068-setuserfont?language=objc for details. func NSFont_setUserFont(font NSFontRef) { C.NSFont_type_setUserFont( objc.RefPointer(font), @@ -8059,8 +8116,9 @@ func NSFont_setUserFont(font NSFontRef) { } -// NSFont_setUserFixedPitchFont Sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. -// https://developer.apple.com/documentation/appkit/nsfont/1529050-setuserfixedpitchfont?language=objc +// NSFont_setUserFixedPitchFont sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1529050-setuserfixedpitchfont?language=objc for details. func NSFont_setUserFixedPitchFont(font NSFontRef) { C.NSFont_type_setUserFixedPitchFont( objc.RefPointer(font), @@ -8070,8 +8128,9 @@ func NSFont_setUserFixedPitchFont(font NSFontRef) { } -// NSFont_systemFontSize Returns the size of the standard system font. -// https://developer.apple.com/documentation/appkit/nsfont/1531931-systemfontsize?language=objc +// NSFont_systemFontSize returns the size of the standard system font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1531931-systemfontsize?language=objc for details. func NSFont_systemFontSize() core.CGFloat { ret := C.NSFont_type_systemFontSize() @@ -8079,8 +8138,9 @@ func NSFont_systemFontSize() core.CGFloat { } -// NSFont_smallSystemFontSize Returns the size of the standard small system font. -// https://developer.apple.com/documentation/appkit/nsfont/1535612-smallsystemfontsize?language=objc +// NSFont_smallSystemFontSize returns the size of the standard small system font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1535612-smallsystemfontsize?language=objc for details. func NSFont_smallSystemFontSize() core.CGFloat { ret := C.NSFont_type_smallSystemFontSize() @@ -8088,8 +8148,9 @@ func NSFont_smallSystemFontSize() core.CGFloat { } -// NSFont_labelFontSize Returns the size of the standard label font. -// https://developer.apple.com/documentation/appkit/nsfont/1534629-labelfontsize?language=objc +// NSFont_labelFontSize returns the size of the standard label font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1534629-labelfontsize?language=objc for details. func NSFont_labelFontSize() core.CGFloat { ret := C.NSFont_type_labelFontSize() @@ -8098,6 +8159,8 @@ func NSFont_labelFontSize() core.CGFloat { } // NSImage_alloc +// +// See for details. func NSImage_alloc() NSImage { ret := C.NSImage_type_alloc() @@ -8105,8 +8168,9 @@ func NSImage_alloc() NSImage { } -// NSImage_imageWithSystemSymbolName_accessibilityDescription Creates a symbol image with the system symbol name and accessibility description that you specify. -// https://developer.apple.com/documentation/appkit/nsimage/3622472-imagewithsystemsymbolname?language=objc +// NSImage_imageWithSystemSymbolName_accessibilityDescription creates a symbol image with the system symbol name and accessibility description that you specify. +// +// See https://developer.apple.com/documentation/appkit/nsimage/3622472-imagewithsystemsymbolname?language=objc for details. func NSImage_imageWithSystemSymbolName_accessibilityDescription(symbolName core.NSStringRef, description core.NSStringRef) NSImage { ret := C.NSImage_type_imageWithSystemSymbolName_accessibilityDescription( objc.RefPointer(symbolName), @@ -8117,8 +8181,9 @@ func NSImage_imageWithSystemSymbolName_accessibilityDescription(symbolName core. } -// NSImage_canInitWithPasteboard Tests whether the image can create an instance of itself using pasteboard data. -// https://developer.apple.com/documentation/appkit/nsimage/1520039-caninitwithpasteboard?language=objc +// NSImage_canInitWithPasteboard tests whether the image can create an instance of itself using pasteboard data. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520039-caninitwithpasteboard?language=objc for details. func NSImage_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { ret := C.NSImage_type_canInitWithPasteboard( objc.RefPointer(pasteboard), @@ -8128,8 +8193,9 @@ func NSImage_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { } -// NSImage_imageTypes Returns an array of UTI strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. -// https://developer.apple.com/documentation/appkit/nsimage/1519988-imagetypes?language=objc +// NSImage_imageTypes returns an array of uti strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519988-imagetypes?language=objc for details. func NSImage_imageTypes() core.NSArray { ret := C.NSImage_type_imageTypes() @@ -8137,8 +8203,9 @@ func NSImage_imageTypes() core.NSArray { } -// NSImage_imageUnfilteredTypes Returns an array of UTI strings identifying the image types supported directly by the registered image representation objects. -// https://developer.apple.com/documentation/appkit/nsimage/1519899-imageunfilteredtypes?language=objc +// NSImage_imageUnfilteredTypes returns an array of uti strings identifying the image types supported directly by the registered image representation objects. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519899-imageunfilteredtypes?language=objc for details. func NSImage_imageUnfilteredTypes() core.NSArray { ret := C.NSImage_type_imageUnfilteredTypes() @@ -8147,6 +8214,8 @@ func NSImage_imageUnfilteredTypes() core.NSArray { } // NSImageView_alloc +// +// See for details. func NSImageView_alloc() NSImageView { ret := C.NSImageView_type_alloc() @@ -8155,7 +8224,8 @@ func NSImageView_alloc() NSImageView { } // NSImageView_imageViewWithImage -// https://developer.apple.com/documentation/appkit/nsimageview/1644708-imageviewwithimage?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1644708-imageviewwithimage?language=objc for details. func NSImageView_imageViewWithImage(image NSImageRef) NSImageView { ret := C.NSImageView_type_imageViewWithImage( objc.RefPointer(image), @@ -8166,6 +8236,8 @@ func NSImageView_imageViewWithImage(image NSImageRef) NSImageView { } // NSNib_alloc +// +// See for details. func NSNib_alloc() NSNib { ret := C.NSNib_type_alloc() @@ -8174,6 +8246,8 @@ func NSNib_alloc() NSNib { } // NSPasteboard_alloc +// +// See for details. func NSPasteboard_alloc() NSPasteboard { ret := C.NSPasteboard_type_alloc() @@ -8181,8 +8255,9 @@ func NSPasteboard_alloc() NSPasteboard { } -// NSPasteboard_pasteboardByFilteringFile Creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. -// https://developer.apple.com/documentation/appkit/nspasteboard/1532744-pasteboardbyfilteringfile?language=objc +// NSPasteboard_pasteboardByFilteringFile creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1532744-pasteboardbyfilteringfile?language=objc for details. func NSPasteboard_pasteboardByFilteringFile(filename core.NSStringRef) NSPasteboard { ret := C.NSPasteboard_type_pasteboardByFilteringFile( objc.RefPointer(filename), @@ -8192,8 +8267,9 @@ func NSPasteboard_pasteboardByFilteringFile(filename core.NSStringRef) NSPastebo } -// NSPasteboard_pasteboardByFilteringTypesInPasteboard Creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. -// https://developer.apple.com/documentation/appkit/nspasteboard/1530088-pasteboardbyfilteringtypesinpast?language=objc +// NSPasteboard_pasteboardByFilteringTypesInPasteboard creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1530088-pasteboardbyfilteringtypesinpast?language=objc for details. func NSPasteboard_pasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) NSPasteboard { ret := C.NSPasteboard_type_pasteboardByFilteringTypesInPasteboard( objc.RefPointer(pboard), @@ -8203,8 +8279,9 @@ func NSPasteboard_pasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) } -// NSPasteboard_pasteboardWithUniqueName Creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. -// https://developer.apple.com/documentation/appkit/nspasteboard/1528936-pasteboardwithuniquename?language=objc +// NSPasteboard_pasteboardWithUniqueName creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1528936-pasteboardwithuniquename?language=objc for details. func NSPasteboard_pasteboardWithUniqueName() NSPasteboard { ret := C.NSPasteboard_type_pasteboardWithUniqueName() @@ -8212,8 +8289,9 @@ func NSPasteboard_pasteboardWithUniqueName() NSPasteboard { } -// NSPasteboard_generalPasteboard The shared pasteboard object to use for general content. -// https://developer.apple.com/documentation/appkit/nspasteboard/1530091-generalpasteboard?language=objc +// NSPasteboard_generalPasteboard returns the shared pasteboard object to use for general content. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1530091-generalpasteboard?language=objc for details. func NSPasteboard_generalPasteboard() NSPasteboard { ret := C.NSPasteboard_type_generalPasteboard() @@ -8222,6 +8300,8 @@ func NSPasteboard_generalPasteboard() NSPasteboard { } // NSLayoutManager_alloc +// +// See for details. func NSLayoutManager_alloc() NSLayoutManager { ret := C.NSLayoutManager_type_alloc() @@ -8230,6 +8310,8 @@ func NSLayoutManager_alloc() NSLayoutManager { } // NSMenu_alloc +// +// See for details. func NSMenu_alloc() NSMenu { ret := C.NSMenu_type_alloc() @@ -8237,8 +8319,9 @@ func NSMenu_alloc() NSMenu { } -// NSMenu_menuBarVisible Returns a Boolean value that indicates whether the menu bar is visible. -// https://developer.apple.com/documentation/appkit/nsmenu/1518236-menubarvisible?language=objc +// NSMenu_menuBarVisible returns a boolean value that indicates whether the menu bar is visible. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518236-menubarvisible?language=objc for details. func NSMenu_menuBarVisible() bool { ret := C.NSMenu_type_menuBarVisible() @@ -8246,8 +8329,9 @@ func NSMenu_menuBarVisible() bool { } -// NSMenu_setMenuBarVisible Sets whether the menu bar is visible and selectable by the user. -// https://developer.apple.com/documentation/appkit/nsmenu/1518200-setmenubarvisible?language=objc +// NSMenu_setMenuBarVisible sets whether the menu bar is visible and selectable by the user. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518200-setmenubarvisible?language=objc for details. func NSMenu_setMenuBarVisible(visible bool) { C.NSMenu_type_setMenuBarVisible( convertToObjCBool(visible), @@ -8257,8 +8341,9 @@ func NSMenu_setMenuBarVisible(visible bool) { } -// NSMenu_popUpContextMenu_withEvent_forView Displays a contextual menu over a view for an event. -// https://developer.apple.com/documentation/appkit/nsmenu/1518170-popupcontextmenu?language=objc +// NSMenu_popUpContextMenu_withEvent_forView displays a contextual menu over a view for an event. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518170-popupcontextmenu?language=objc for details. func NSMenu_popUpContextMenu_withEvent_forView(menu NSMenuRef, event NSEventRef, view NSViewRef) { C.NSMenu_type_popUpContextMenu_withEvent_forView( objc.RefPointer(menu), @@ -8270,8 +8355,9 @@ func NSMenu_popUpContextMenu_withEvent_forView(menu NSMenuRef, event NSEventRef, } -// NSMenu_popUpContextMenu_withEvent_forView_withFont Displays a contextual menu over a view for an event using a specified font. -// https://developer.apple.com/documentation/appkit/nsmenu/1518165-popupcontextmenu?language=objc +// NSMenu_popUpContextMenu_withEvent_forView_withFont displays a contextual menu over a view for an event using a specified font. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518165-popupcontextmenu?language=objc for details. func NSMenu_popUpContextMenu_withEvent_forView_withFont(menu NSMenuRef, event NSEventRef, view NSViewRef, font NSFontRef) { C.NSMenu_type_popUpContextMenu_withEvent_forView_withFont( objc.RefPointer(menu), @@ -8285,6 +8371,8 @@ func NSMenu_popUpContextMenu_withEvent_forView_withFont(menu NSMenuRef, event NS } // NSPopover_alloc +// +// See for details. func NSPopover_alloc() NSPopover { ret := C.NSPopover_type_alloc() @@ -8293,6 +8381,8 @@ func NSPopover_alloc() NSPopover { } // NSMenuItem_alloc +// +// See for details. func NSMenuItem_alloc() NSMenuItem { ret := C.NSMenuItem_type_alloc() @@ -8300,8 +8390,9 @@ func NSMenuItem_alloc() NSMenuItem { } -// NSMenuItem_separatorItem Returns a menu item that is used to separate logical groups of menu commands. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514838-separatoritem?language=objc +// NSMenuItem_separatorItem returns a menu item that is used to separate logical groups of menu commands. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514838-separatoritem?language=objc for details. func NSMenuItem_separatorItem() NSMenuItem { ret := C.NSMenuItem_type_separatorItem() @@ -8309,8 +8400,9 @@ func NSMenuItem_separatorItem() NSMenuItem { } -// NSMenuItem_usesUserKeyEquivalents Returns a Boolean value that indicates whether menu items conform to user preferences for key equivalents. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc +// NSMenuItem_usesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc for details. func NSMenuItem_usesUserKeyEquivalents() bool { ret := C.NSMenuItem_type_usesUserKeyEquivalents() @@ -8318,8 +8410,9 @@ func NSMenuItem_usesUserKeyEquivalents() bool { } -// NSMenuItem_setUsesUserKeyEquivalents Returns a Boolean value that indicates whether menu items conform to user preferences for key equivalents. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc +// NSMenuItem_setUsesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc for details. func NSMenuItem_setUsesUserKeyEquivalents(value bool) { C.NSMenuItem_type_setUsesUserKeyEquivalents( convertToObjCBool(value), @@ -8330,6 +8423,8 @@ func NSMenuItem_setUsesUserKeyEquivalents(value bool) { } // NSRunningApplication_alloc +// +// See for details. func NSRunningApplication_alloc() NSRunningApplication { ret := C.NSRunningApplication_type_alloc() @@ -8337,8 +8432,9 @@ func NSRunningApplication_alloc() NSRunningApplication { } -// NSRunningApplication_runningApplicationsWithBundleIdentifier Returns an array of currently running applications with the specified bundle identifier. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1530798-runningapplicationswithbundleide?language=objc +// NSRunningApplication_runningApplicationsWithBundleIdentifier returns an array of currently running applications with the specified bundle identifier. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1530798-runningapplicationswithbundleide?language=objc for details. func NSRunningApplication_runningApplicationsWithBundleIdentifier(bundleIdentifier core.NSStringRef) core.NSArray { ret := C.NSRunningApplication_type_runningApplicationsWithBundleIdentifier( objc.RefPointer(bundleIdentifier), @@ -8348,8 +8444,9 @@ func NSRunningApplication_runningApplicationsWithBundleIdentifier(bundleIdentifi } -// NSRunningApplication_terminateAutomaticallyTerminableApplications Terminates invisibly running applications as if triggered by system memory pressure. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1529538-terminateautomaticallyterminable?language=objc +// NSRunningApplication_terminateAutomaticallyTerminableApplications terminates invisibly running applications as if triggered by system memory pressure. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1529538-terminateautomaticallyterminable?language=objc for details. func NSRunningApplication_terminateAutomaticallyTerminableApplications() { C.NSRunningApplication_type_terminateAutomaticallyTerminableApplications() @@ -8357,8 +8454,9 @@ func NSRunningApplication_terminateAutomaticallyTerminableApplications() { } -// NSRunningApplication_currentApplication Returns an NSRunningApplication representing this application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1533604-currentapplication?language=objc +// NSRunningApplication_currentApplication returns an nsrunningapplication representing this application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1533604-currentapplication?language=objc for details. func NSRunningApplication_currentApplication() NSRunningApplication { ret := C.NSRunningApplication_type_currentApplication() @@ -8367,6 +8465,8 @@ func NSRunningApplication_currentApplication() NSRunningApplication { } // NSScreen_alloc +// +// See for details. func NSScreen_alloc() NSScreen { ret := C.NSScreen_type_alloc() @@ -8374,8 +8474,9 @@ func NSScreen_alloc() NSScreen { } -// NSScreen_mainScreen Returns the screen object containing the window with the keyboard focus. -// https://developer.apple.com/documentation/appkit/nsscreen/1388371-mainscreen?language=objc +// NSScreen_mainScreen returns the screen object containing the window with the keyboard focus. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388371-mainscreen?language=objc for details. func NSScreen_mainScreen() NSScreen { ret := C.NSScreen_type_mainScreen() @@ -8383,8 +8484,9 @@ func NSScreen_mainScreen() NSScreen { } -// NSScreen_deepestScreen Returns a screen object representing the screen that can best represent color. -// https://developer.apple.com/documentation/appkit/nsscreen/1388374-deepestscreen?language=objc +// NSScreen_deepestScreen returns a screen object representing the screen that can best represent color. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388374-deepestscreen?language=objc for details. func NSScreen_deepestScreen() NSScreen { ret := C.NSScreen_type_deepestScreen() @@ -8392,8 +8494,9 @@ func NSScreen_deepestScreen() NSScreen { } -// NSScreen_screens Returns an array of screen objects representing all of the screens available on the system. -// https://developer.apple.com/documentation/appkit/nsscreen/1388393-screens?language=objc +// NSScreen_screens returns an array of screen objects representing all of the screens available on the system. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388393-screens?language=objc for details. func NSScreen_screens() core.NSArray { ret := C.NSScreen_type_screens() @@ -8401,8 +8504,9 @@ func NSScreen_screens() core.NSArray { } -// NSScreen_screensHaveSeparateSpaces Returns a Boolean value indicating whether each screen can have its own set of spaces. -// https://developer.apple.com/documentation/appkit/nsscreen/1388365-screenshaveseparatespaces?language=objc +// NSScreen_screensHaveSeparateSpaces returns a boolean value indicating whether each screen can have its own set of spaces. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388365-screenshaveseparatespaces?language=objc for details. func NSScreen_screensHaveSeparateSpaces() bool { ret := C.NSScreen_type_screensHaveSeparateSpaces() @@ -8411,6 +8515,8 @@ func NSScreen_screensHaveSeparateSpaces() bool { } // NSStatusBar_alloc +// +// See for details. func NSStatusBar_alloc() NSStatusBar { ret := C.NSStatusBar_type_alloc() @@ -8418,8 +8524,9 @@ func NSStatusBar_alloc() NSStatusBar { } -// NSStatusBar_systemStatusBar Returns the system-wide status bar located in the menu bar. -// https://developer.apple.com/documentation/appkit/nsstatusbar/1530619-systemstatusbar?language=objc +// NSStatusBar_systemStatusBar returns the system-wide status bar located in the menu bar. +// +// See https://developer.apple.com/documentation/appkit/nsstatusbar/1530619-systemstatusbar?language=objc for details. func NSStatusBar_systemStatusBar() NSStatusBar { ret := C.NSStatusBar_type_systemStatusBar() @@ -8428,6 +8535,8 @@ func NSStatusBar_systemStatusBar() NSStatusBar { } // NSStatusBarButton_alloc +// +// See for details. func NSStatusBarButton_alloc() NSStatusBarButton { ret := C.NSStatusBarButton_type_alloc() @@ -8436,6 +8545,8 @@ func NSStatusBarButton_alloc() NSStatusBarButton { } // NSStatusItem_alloc +// +// See for details. func NSStatusItem_alloc() NSStatusItem { ret := C.NSStatusItem_type_alloc() @@ -8444,6 +8555,8 @@ func NSStatusItem_alloc() NSStatusItem { } // NSText_alloc +// +// See for details. func NSText_alloc() NSText { ret := C.NSText_type_alloc() @@ -8452,6 +8565,8 @@ func NSText_alloc() NSText { } // NSTextField_alloc +// +// See for details. func NSTextField_alloc() NSTextField { ret := C.NSTextField_type_alloc() @@ -8459,8 +8574,9 @@ func NSTextField_alloc() NSTextField { } -// NSTextField_labelWithAttributedString Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. -// https://developer.apple.com/documentation/appkit/nstextfield/1644658-labelwithattributedstring?language=objc +// NSTextField_labelWithAttributedString creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1644658-labelwithattributedstring?language=objc for details. func NSTextField_labelWithAttributedString(attributedStringValue core.NSAttributedStringRef) NSTextField { ret := C.NSTextField_type_labelWithAttributedString( objc.RefPointer(attributedStringValue), @@ -8470,8 +8586,9 @@ func NSTextField_labelWithAttributedString(attributedStringValue core.NSAttribut } -// NSTextField_labelWithString Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. -// https://developer.apple.com/documentation/appkit/nstextfield/1644377-labelwithstring?language=objc +// NSTextField_labelWithString initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1644377-labelwithstring?language=objc for details. func NSTextField_labelWithString(stringValue core.NSStringRef) NSTextField { ret := C.NSTextField_type_labelWithString( objc.RefPointer(stringValue), @@ -8481,8 +8598,9 @@ func NSTextField_labelWithString(stringValue core.NSStringRef) NSTextField { } -// NSTextField_textFieldWithString Initializes a single-line editable text field for user input using the system default font and standard visual appearance. -// https://developer.apple.com/documentation/appkit/nstextfield/1644706-textfieldwithstring?language=objc +// NSTextField_textFieldWithString initializes a single-line editable text field for user input using the system default font and standard visual appearance. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1644706-textfieldwithstring?language=objc for details. func NSTextField_textFieldWithString(stringValue core.NSStringRef) NSTextField { ret := C.NSTextField_type_textFieldWithString( objc.RefPointer(stringValue), @@ -8492,8 +8610,9 @@ func NSTextField_textFieldWithString(stringValue core.NSStringRef) NSTextField { } -// NSTextField_wrappingLabelWithString Initializes a text field for use as a multiline static label with selectable text that uses the system default font. -// https://developer.apple.com/documentation/appkit/nstextfield/1644543-wrappinglabelwithstring?language=objc +// NSTextField_wrappingLabelWithString initializes a text field for use as a multiline static label with selectable text that uses the system default font. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1644543-wrappinglabelwithstring?language=objc for details. func NSTextField_wrappingLabelWithString(stringValue core.NSStringRef) NSTextField { ret := C.NSTextField_type_wrappingLabelWithString( objc.RefPointer(stringValue), @@ -8504,6 +8623,8 @@ func NSTextField_wrappingLabelWithString(stringValue core.NSStringRef) NSTextFie } // NSTextContainer_alloc +// +// See for details. func NSTextContainer_alloc() NSTextContainer { ret := C.NSTextContainer_type_alloc() @@ -8512,6 +8633,8 @@ func NSTextContainer_alloc() NSTextContainer { } // NSViewController_alloc +// +// See for details. func NSViewController_alloc() NSViewController { ret := C.NSViewController_type_alloc() @@ -8520,6 +8643,8 @@ func NSViewController_alloc() NSViewController { } // NSVisualEffectView_alloc +// +// See for details. func NSVisualEffectView_alloc() NSVisualEffectView { ret := C.NSVisualEffectView_type_alloc() @@ -8528,6 +8653,8 @@ func NSVisualEffectView_alloc() NSVisualEffectView { } // NSWindow_alloc +// +// See for details. func NSWindow_alloc() NSWindow { ret := C.NSWindow_type_alloc() @@ -8535,8 +8662,9 @@ func NSWindow_alloc() NSWindow { } -// NSWindow_windowWithContentViewController Creates a titled window that contains the specified content view controller. -// https://developer.apple.com/documentation/appkit/nswindow/1419551-windowwithcontentviewcontroller?language=objc +// NSWindow_windowWithContentViewController creates a titled window that contains the specified content view controller. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419551-windowwithcontentviewcontroller?language=objc for details. func NSWindow_windowWithContentViewController(contentViewController NSViewControllerRef) NSWindow { ret := C.NSWindow_type_windowWithContentViewController( objc.RefPointer(contentViewController), @@ -8546,8 +8674,9 @@ func NSWindow_windowWithContentViewController(contentViewController NSViewContro } -// NSWindow_contentRectForFrameRect_styleMask Returns the content rectangle used by a window with a given frame rectangle and window style. -// https://developer.apple.com/documentation/appkit/nswindow/1419586-contentrectforframerect?language=objc +// NSWindow_contentRectForFrameRect_styleMask returns the content rectangle used by a window with a given frame rectangle and window style. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419586-contentrectforframerect?language=objc for details. func NSWindow_contentRectForFrameRect_styleMask(fRect core.NSRect, style core.NSUInteger) core.NSRect { ret := C.NSWindow_type_contentRectForFrameRect_styleMask( *(*C.NSRect)(unsafe.Pointer(&fRect)), @@ -8558,8 +8687,9 @@ func NSWindow_contentRectForFrameRect_styleMask(fRect core.NSRect, style core.NS } -// NSWindow_frameRectForContentRect_styleMask Returns the frame rectangle used by a window with a given content rectangle and window style. -// https://developer.apple.com/documentation/appkit/nswindow/1419372-framerectforcontentrect?language=objc +// NSWindow_frameRectForContentRect_styleMask returns the frame rectangle used by a window with a given content rectangle and window style. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419372-framerectforcontentrect?language=objc for details. func NSWindow_frameRectForContentRect_styleMask(cRect core.NSRect, style core.NSUInteger) core.NSRect { ret := C.NSWindow_type_frameRectForContentRect_styleMask( *(*C.NSRect)(unsafe.Pointer(&cRect)), @@ -8570,8 +8700,9 @@ func NSWindow_frameRectForContentRect_styleMask(cRect core.NSRect, style core.NS } -// NSWindow_minFrameWidthWithTitle_styleMask Returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. -// https://developer.apple.com/documentation/appkit/nswindow/1419294-minframewidthwithtitle?language=objc +// NSWindow_minFrameWidthWithTitle_styleMask returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419294-minframewidthwithtitle?language=objc for details. func NSWindow_minFrameWidthWithTitle_styleMask(title core.NSStringRef, style core.NSUInteger) core.CGFloat { ret := C.NSWindow_type_minFrameWidthWithTitle_styleMask( objc.RefPointer(title), @@ -8582,8 +8713,9 @@ func NSWindow_minFrameWidthWithTitle_styleMask(title core.NSStringRef, style cor } -// NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber Returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. -// https://developer.apple.com/documentation/appkit/nswindow/1419210-windownumberatpoint?language=objc +// NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419210-windownumberatpoint?language=objc for details. func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber(point core.NSPoint, windowNumber core.NSInteger) core.NSInteger { ret := C.NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber( *(*C.NSPoint)(unsafe.Pointer(&point)), @@ -8594,8 +8726,9 @@ func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber(point core.NSPoint } -// NSWindow_allowsAutomaticWindowTabbing A Boolean value that indicates whether the app can automatically organize windows into tabs. -// https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc +// NSWindow_allowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc for details. func NSWindow_allowsAutomaticWindowTabbing() bool { ret := C.NSWindow_type_allowsAutomaticWindowTabbing() @@ -8603,8 +8736,9 @@ func NSWindow_allowsAutomaticWindowTabbing() bool { } -// NSWindow_setAllowsAutomaticWindowTabbing A Boolean value that indicates whether the app can automatically organize windows into tabs. -// https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc +// NSWindow_setAllowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc for details. func NSWindow_setAllowsAutomaticWindowTabbing(value bool) { C.NSWindow_type_setAllowsAutomaticWindowTabbing( convertToObjCBool(value), @@ -8615,6 +8749,8 @@ func NSWindow_setAllowsAutomaticWindowTabbing(value bool) { } // NSWorkspace_alloc +// +// See for details. func NSWorkspace_alloc() NSWorkspace { ret := C.NSWorkspace_type_alloc() @@ -8622,8 +8758,9 @@ func NSWorkspace_alloc() NSWorkspace { } -// NSWorkspace_sharedWorkspace The shared workspace object. -// https://developer.apple.com/documentation/appkit/nsworkspace/1530344-sharedworkspace?language=objc +// NSWorkspace_sharedWorkspace returns the shared workspace object. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1530344-sharedworkspace?language=objc for details. func NSWorkspace_sharedWorkspace() NSWorkspace { ret := C.NSWorkspace_type_sharedWorkspace() @@ -8632,6 +8769,8 @@ func NSWorkspace_sharedWorkspace() NSWorkspace { } // NSColor_alloc +// +// See for details. func NSColor_alloc() NSColor { ret := C.NSColor_type_alloc() @@ -8639,8 +8778,9 @@ func NSColor_alloc() NSColor { } -// NSColor_colorFromPasteboard Creates a color object from color data currently on the pasteboard. -// https://developer.apple.com/documentation/appkit/nscolor/1535057-colorfrompasteboard?language=objc +// NSColor_colorFromPasteboard creates a color object from color data currently on the pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1535057-colorfrompasteboard?language=objc for details. func NSColor_colorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { ret := C.NSColor_type_colorFromPasteboard( objc.RefPointer(pasteBoard), @@ -8651,6 +8791,8 @@ func NSColor_colorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { } // NSColor_colorWithRed_green_blue_alpha +// +// See for details. func NSColor_colorWithRed_green_blue_alpha(red core.CGFloat, green core.CGFloat, blue core.CGFloat, alpha core.CGFloat) NSColor { ret := C.NSColor_type_colorWithRed_green_blue_alpha( C.double(red), @@ -8663,8 +8805,9 @@ func NSColor_colorWithRed_green_blue_alpha(red core.CGFloat, green core.CGFloat, } -// NSColor_ignoresAlpha A Boolean value that indicates whether the app supports alpha. -// https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc +// NSColor_ignoresAlpha returns a boolean value that indicates whether the app supports alpha. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc for details. func NSColor_ignoresAlpha() bool { ret := C.NSColor_type_ignoresAlpha() @@ -8672,8 +8815,9 @@ func NSColor_ignoresAlpha() bool { } -// NSColor_setIgnoresAlpha A Boolean value that indicates whether the app supports alpha. -// https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc +// NSColor_setIgnoresAlpha returns a boolean value that indicates whether the app supports alpha. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc for details. func NSColor_setIgnoresAlpha(value bool) { C.NSColor_type_setIgnoresAlpha( convertToObjCBool(value), @@ -8684,7 +8828,8 @@ func NSColor_setIgnoresAlpha(value bool) { } // NSColor_systemCyanColor -// https://developer.apple.com/documentation/appkit/nscolor/3816005-systemcyancolor?language=objc +// +// See https://developer.apple.com/documentation/appkit/nscolor/3816005-systemcyancolor?language=objc for details. func NSColor_systemCyanColor() NSColor { ret := C.NSColor_type_systemCyanColor() @@ -8693,7 +8838,8 @@ func NSColor_systemCyanColor() NSColor { } // NSColor_systemMintColor -// https://developer.apple.com/documentation/appkit/nscolor/3816006-systemmintcolor?language=objc +// +// See https://developer.apple.com/documentation/appkit/nscolor/3816006-systemmintcolor?language=objc for details. func NSColor_systemMintColor() NSColor { ret := C.NSColor_type_systemMintColor() @@ -8701,8 +8847,9 @@ func NSColor_systemMintColor() NSColor { } -// NSColor_clearColor Returns a color object whose grayscale and alpha values are both 0.0. -// https://developer.apple.com/documentation/appkit/nscolor/1527217-clearcolor?language=objc +// NSColor_clearColor returns a color object whose grayscale and alpha values are both 0.0. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1527217-clearcolor?language=objc for details. func NSColor_clearColor() NSColor { ret := C.NSColor_type_clearColor() @@ -8711,6 +8858,8 @@ func NSColor_clearColor() NSColor { } // NSTextView_alloc +// +// See for details. func NSTextView_alloc() NSTextView { ret := C.NSTextView_type_alloc() @@ -8718,8 +8867,9 @@ func NSTextView_alloc() NSTextView { } -// NSTextView_registerForServices Registers send and return types for the Services facility. -// https://developer.apple.com/documentation/appkit/nstextview/1449507-registerforservices?language=objc +// NSTextView_registerForServices registers send and return types for the services facility. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449507-registerforservices?language=objc for details. func NSTextView_registerForServices() { C.NSTextView_type_registerForServices() @@ -8728,7 +8878,8 @@ func NSTextView_registerForServices() { } // NSTextView_fieldEditor -// https://developer.apple.com/documentation/appkit/nstextview/2990525-fieldeditor?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2990525-fieldeditor?language=objc for details. func NSTextView_fieldEditor() NSTextView { ret := C.NSTextView_type_fieldEditor() @@ -8737,7 +8888,8 @@ func NSTextView_fieldEditor() NSTextView { } // NSTextView_stronglyReferencesTextStorage -// https://developer.apple.com/documentation/appkit/nstextview/2269433-stronglyreferencestextstorage?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2269433-stronglyreferencestextstorage?language=objc for details. func NSTextView_stronglyReferencesTextStorage() bool { ret := C.NSTextView_type_stronglyReferencesTextStorage() @@ -8746,6 +8898,8 @@ func NSTextView_stronglyReferencesTextStorage() bool { } // NSView_alloc +// +// See for details. func NSView_alloc() NSView { ret := C.NSView_type_alloc() @@ -8753,8 +8907,9 @@ func NSView_alloc() NSView { } -// NSView_requiresConstraintBasedLayout Returns a Boolean value indicating whether the view depends on the constraint-based layout system. -// https://developer.apple.com/documentation/appkit/nsview/1526926-requiresconstraintbasedlayout?language=objc +// NSView_requiresConstraintBasedLayout returns a boolean value indicating whether the view depends on the constraint-based layout system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526926-requiresconstraintbasedlayout?language=objc for details. func NSView_requiresConstraintBasedLayout() bool { ret := C.NSView_type_requiresConstraintBasedLayout() @@ -8762,8 +8917,9 @@ func NSView_requiresConstraintBasedLayout() bool { } -// NSView_focusView Returns the currently focused NSView object, or nil if there is none. -// https://developer.apple.com/documentation/appkit/nsview/1483662-focusview?language=objc +// NSView_focusView returns the currently focused nsview object, or nil if there is none. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483662-focusview?language=objc for details. func NSView_focusView() NSView { ret := C.NSView_type_focusView() @@ -8771,8 +8927,9 @@ func NSView_focusView() NSView { } -// NSView_defaultMenu Overridden by subclasses to return the default pop-up menu for instances of the receiving class. -// https://developer.apple.com/documentation/appkit/nsview/1483417-defaultmenu?language=objc +// NSView_defaultMenu overridden by subclasses to return the default pop-up menu for instances of the receiving class. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483417-defaultmenu?language=objc for details. func NSView_defaultMenu() NSMenu { ret := C.NSView_type_defaultMenu() @@ -8781,7 +8938,8 @@ func NSView_defaultMenu() NSMenu { } // NSView_compatibleWithResponsiveScrolling -// https://developer.apple.com/documentation/appkit/nsview/2870005-compatiblewithresponsivescrollin?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsview/2870005-compatiblewithresponsivescrollin?language=objc for details. func NSView_compatibleWithResponsiveScrolling() bool { ret := C.NSView_type_compatibleWithResponsiveScrolling() @@ -8808,8 +8966,9 @@ func NSBundle_fromRef(ref objc.Ref) NSBundle { return NSBundle_fromPointer(unsafe.Pointer(ref.Pointer())) } -// URLForAuxiliaryExecutable Returns the file URL of the executable with the specified name in the receiver’s bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1411412-urlforauxiliaryexecutable?language=objc +// URLForAuxiliaryExecutable returns the file url of the executable with the specified name in the receiver’s bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1411412-urlforauxiliaryexecutable?language=objc for details. func (x gen_NSBundle) URLForAuxiliaryExecutable( executableName core.NSStringRef, ) core.NSURL { @@ -8822,8 +8981,9 @@ func (x gen_NSBundle) URLForAuxiliaryExecutable( } -// URLForResource_withExtension Returns the file URL for the resource identified by the specified name and file extension. -// https://developer.apple.com/documentation/foundation/nsbundle/1411540-urlforresource?language=objc +// URLForResource_withExtension returns the file url for the resource identified by the specified name and file extension. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1411540-urlforresource?language=objc for details. func (x gen_NSBundle) URLForResource_withExtension( name core.NSStringRef, ext core.NSStringRef, @@ -8838,8 +8998,9 @@ func (x gen_NSBundle) URLForResource_withExtension( } -// URLForResource_withExtension_subdirectory Returns the file URL for the resource file identified by the specified name and extension and residing in a given bundle directory. -// https://developer.apple.com/documentation/foundation/nsbundle/1416712-urlforresource?language=objc +// URLForResource_withExtension_subdirectory returns the file url for the resource file identified by the specified name and extension and residing in a given bundle directory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1416712-urlforresource?language=objc for details. func (x gen_NSBundle) URLForResource_withExtension_subdirectory( name core.NSStringRef, ext core.NSStringRef, @@ -8856,8 +9017,9 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory( } -// URLForResource_withExtension_subdirectory_localization Returns the file URL for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. -// https://developer.apple.com/documentation/foundation/nsbundle/1417378-urlforresource?language=objc +// URLForResource_withExtension_subdirectory_localization returns the file url for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417378-urlforresource?language=objc for details. func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( name core.NSStringRef, ext core.NSStringRef, @@ -8876,8 +9038,9 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( } -// URLsForResourcesWithExtension_subdirectory Returns an array of file URLs for all resources identified by the specified file extension and located in the specified bundle subdirectory. -// https://developer.apple.com/documentation/foundation/nsbundle/1407424-urlsforresourceswithextension?language=objc +// URLsForResourcesWithExtension_subdirectory returns an array of file urls for all resources identified by the specified file extension and located in the specified bundle subdirectory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1407424-urlsforresourceswithextension?language=objc for details. func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( ext core.NSStringRef, subpath core.NSStringRef, @@ -8892,8 +9055,9 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( } -// URLsForResourcesWithExtension_subdirectory_localization Returns an array containing the file URLs for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. -// https://developer.apple.com/documentation/foundation/nsbundle/1414688-urlsforresourceswithextension?language=objc +// URLsForResourcesWithExtension_subdirectory_localization returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1414688-urlsforresourceswithextension?language=objc for details. func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( ext core.NSStringRef, subpath core.NSStringRef, @@ -8910,8 +9074,9 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( } -// InitWithPath_asNSBundle Returns an NSBundle object initialized to correspond to the specified directory. -// https://developer.apple.com/documentation/foundation/nsbundle/1412741-initwithpath?language=objc +// InitWithPath returns an nsbundle object initialized to correspond to the specified directory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1412741-initwithpath?language=objc for details. func (x gen_NSBundle) InitWithPath_asNSBundle( path core.NSStringRef, ) NSBundle { @@ -8924,8 +9089,9 @@ func (x gen_NSBundle) InitWithPath_asNSBundle( } -// InitWithURL_asNSBundle Returns an NSBundle object initialized to correspond to the specified file URL. -// https://developer.apple.com/documentation/foundation/nsbundle/1409352-initwithurl?language=objc +// InitWithURL returns an nsbundle object initialized to correspond to the specified file url. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409352-initwithurl?language=objc for details. func (x gen_NSBundle) InitWithURL_asNSBundle( url core.NSURLRef, ) NSBundle { @@ -8938,8 +9104,9 @@ func (x gen_NSBundle) InitWithURL_asNSBundle( } -// Load Dynamically loads the bundle’s executable code into a running program, if the code has not already been loaded. -// https://developer.apple.com/documentation/foundation/nsbundle/1415927-load?language=objc +// Load dynamically loads the bundle’s executable code into a running program, if the code has not already been loaded. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1415927-load?language=objc for details. func (x gen_NSBundle) Load() bool { ret := C.NSBundle_inst_load( unsafe.Pointer(x.Pointer()), @@ -8949,8 +9116,9 @@ func (x gen_NSBundle) Load() bool { } -// LoadNibNamed_owner_options Unarchives the contents of a nib file located in the receiver's bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1618147-loadnibnamed?language=objc +// LoadNibNamed_owner_options unarchives the contents of a nib file located in the receiver's bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1618147-loadnibnamed?language=objc for details. func (x gen_NSBundle) LoadNibNamed_owner_options( name core.NSStringRef, owner objc.Ref, @@ -8968,7 +9136,8 @@ func (x gen_NSBundle) LoadNibNamed_owner_options( } // LocalizedAttributedStringForKey_value_table -// https://developer.apple.com/documentation/foundation/nsbundle/3746904-localizedattributedstringforkey?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsbundle/3746904-localizedattributedstringforkey?language=objc for details. func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( key core.NSStringRef, value core.NSStringRef, @@ -8985,8 +9154,9 @@ func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( } -// LocalizedStringForKey_value_table Returns a localized version of the string designated by the specified key and residing in the specified table. -// https://developer.apple.com/documentation/foundation/nsbundle/1417694-localizedstringforkey?language=objc +// LocalizedStringForKey_value_table returns a localized version of the string designated by the specified key and residing in the specified table. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417694-localizedstringforkey?language=objc for details. func (x gen_NSBundle) LocalizedStringForKey_value_table( key core.NSStringRef, value core.NSStringRef, @@ -9003,8 +9173,9 @@ func (x gen_NSBundle) LocalizedStringForKey_value_table( } -// ObjectForInfoDictionaryKey Returns the value associated with the specified key in the receiver's information property list. -// https://developer.apple.com/documentation/foundation/nsbundle/1408696-objectforinfodictionarykey?language=objc +// ObjectForInfoDictionaryKey returns the value associated with the specified key in the receiver's information property list. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1408696-objectforinfodictionarykey?language=objc for details. func (x gen_NSBundle) ObjectForInfoDictionaryKey( key core.NSStringRef, ) objc.Object { @@ -9017,8 +9188,9 @@ func (x gen_NSBundle) ObjectForInfoDictionaryKey( } -// PathForAuxiliaryExecutable Returns the full pathname of the executable with the specified name in the receiver’s bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1415214-pathforauxiliaryexecutable?language=objc +// PathForAuxiliaryExecutable returns the full pathname of the executable with the specified name in the receiver’s bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1415214-pathforauxiliaryexecutable?language=objc for details. func (x gen_NSBundle) PathForAuxiliaryExecutable( executableName core.NSStringRef, ) core.NSString { @@ -9031,8 +9203,9 @@ func (x gen_NSBundle) PathForAuxiliaryExecutable( } -// PathForResource_ofType Returns the full pathname for the resource identified by the specified name and file extension. -// https://developer.apple.com/documentation/foundation/nsbundle/1410989-pathforresource?language=objc +// PathForResource_ofType returns the full pathname for the resource identified by the specified name and file extension. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1410989-pathforresource?language=objc for details. func (x gen_NSBundle) PathForResource_ofType( name core.NSStringRef, ext core.NSStringRef, @@ -9047,8 +9220,9 @@ func (x gen_NSBundle) PathForResource_ofType( } -// PathForResource_ofType_inDirectory Returns the full pathname for the resource identified by the specified name and file extension and located in the specified bundle subdirectory. -// https://developer.apple.com/documentation/foundation/nsbundle/1409670-pathforresource?language=objc +// PathForResource_ofType_inDirectory returns the full pathname for the resource identified by the specified name and file extension and located in the specified bundle subdirectory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409670-pathforresource?language=objc for details. func (x gen_NSBundle) PathForResource_ofType_inDirectory( name core.NSStringRef, ext core.NSStringRef, @@ -9065,8 +9239,9 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory( } -// PathForResource_ofType_inDirectory_forLocalization Returns the full pathname for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. -// https://developer.apple.com/documentation/foundation/nsbundle/1413471-pathforresource?language=objc +// PathForResource_ofType_inDirectory_forLocalization returns the full pathname for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1413471-pathforresource?language=objc for details. func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( name core.NSStringRef, ext core.NSStringRef, @@ -9085,8 +9260,9 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( } -// PathsForResourcesOfType_inDirectory Returns an array containing the pathnames for all bundle resources having the specified filename extension and residing in the resource subdirectory. -// https://developer.apple.com/documentation/foundation/nsbundle/1413058-pathsforresourcesoftype?language=objc +// PathsForResourcesOfType_inDirectory returns an array containing the pathnames for all bundle resources having the specified filename extension and residing in the resource subdirectory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1413058-pathsforresourcesoftype?language=objc for details. func (x gen_NSBundle) PathsForResourcesOfType_inDirectory( ext core.NSStringRef, subpath core.NSStringRef, @@ -9101,8 +9277,9 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory( } -// PathsForResourcesOfType_inDirectory_forLocalization Returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. -// https://developer.apple.com/documentation/foundation/nsbundle/1416940-pathsforresourcesoftype?language=objc +// PathsForResourcesOfType_inDirectory_forLocalization returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1416940-pathsforresourcesoftype?language=objc for details. func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( ext core.NSStringRef, subpath core.NSStringRef, @@ -9119,8 +9296,9 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( } -// Unload Unloads the code associated with the receiver. -// https://developer.apple.com/documentation/foundation/nsbundle/1412388-unload?language=objc +// Unload unloads the code associated with the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1412388-unload?language=objc for details. func (x gen_NSBundle) Unload() bool { ret := C.NSBundle_inst_unload( unsafe.Pointer(x.Pointer()), @@ -9130,7 +9308,9 @@ func (x gen_NSBundle) Unload() bool { } -// Init_asNSBundle +// Init +// +// See for details. func (x gen_NSBundle) Init_asNSBundle() NSBundle { ret := C.NSBundle_inst_init( unsafe.Pointer(x.Pointer()), @@ -9140,8 +9320,9 @@ func (x gen_NSBundle) Init_asNSBundle() NSBundle { } -// ResourceURL The file URL of the bundle’s subdirectory containing resource files. -// https://developer.apple.com/documentation/foundation/nsbundle/1414821-resourceurl?language=objc +// ResourceURL returns the file url of the bundle’s subdirectory containing resource files. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1414821-resourceurl?language=objc for details. func (x gen_NSBundle) ResourceURL() core.NSURL { ret := C.NSBundle_inst_resourceURL( unsafe.Pointer(x.Pointer()), @@ -9151,8 +9332,9 @@ func (x gen_NSBundle) ResourceURL() core.NSURL { } -// ExecutableURL The file URL of the receiver's executable file. -// https://developer.apple.com/documentation/foundation/nsbundle/1410470-executableurl?language=objc +// ExecutableURL returns the file url of the receiver's executable file. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1410470-executableurl?language=objc for details. func (x gen_NSBundle) ExecutableURL() core.NSURL { ret := C.NSBundle_inst_executableURL( unsafe.Pointer(x.Pointer()), @@ -9162,8 +9344,9 @@ func (x gen_NSBundle) ExecutableURL() core.NSURL { } -// PrivateFrameworksURL The file URL of the bundle’s subdirectory containing private frameworks. -// https://developer.apple.com/documentation/foundation/nsbundle/1417617-privateframeworksurl?language=objc +// PrivateFrameworksURL returns the file url of the bundle’s subdirectory containing private frameworks. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417617-privateframeworksurl?language=objc for details. func (x gen_NSBundle) PrivateFrameworksURL() core.NSURL { ret := C.NSBundle_inst_privateFrameworksURL( unsafe.Pointer(x.Pointer()), @@ -9173,8 +9356,9 @@ func (x gen_NSBundle) PrivateFrameworksURL() core.NSURL { } -// SharedFrameworksURL The file URL of the receiver's subdirectory containing shared frameworks. -// https://developer.apple.com/documentation/foundation/nsbundle/1411774-sharedframeworksurl?language=objc +// SharedFrameworksURL returns the file url of the receiver's subdirectory containing shared frameworks. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1411774-sharedframeworksurl?language=objc for details. func (x gen_NSBundle) SharedFrameworksURL() core.NSURL { ret := C.NSBundle_inst_sharedFrameworksURL( unsafe.Pointer(x.Pointer()), @@ -9184,8 +9368,9 @@ func (x gen_NSBundle) SharedFrameworksURL() core.NSURL { } -// BuiltInPlugInsURL The file URL of the receiver's subdirectory containing plug-ins. -// https://developer.apple.com/documentation/foundation/nsbundle/1409603-builtinpluginsurl?language=objc +// BuiltInPlugInsURL returns the file url of the receiver's subdirectory containing plug-ins. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409603-builtinpluginsurl?language=objc for details. func (x gen_NSBundle) BuiltInPlugInsURL() core.NSURL { ret := C.NSBundle_inst_builtInPlugInsURL( unsafe.Pointer(x.Pointer()), @@ -9195,8 +9380,9 @@ func (x gen_NSBundle) BuiltInPlugInsURL() core.NSURL { } -// SharedSupportURL The file URL of the bundle’s subdirectory containing shared support files. -// https://developer.apple.com/documentation/foundation/nsbundle/1416823-sharedsupporturl?language=objc +// SharedSupportURL returns the file url of the bundle’s subdirectory containing shared support files. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1416823-sharedsupporturl?language=objc for details. func (x gen_NSBundle) SharedSupportURL() core.NSURL { ret := C.NSBundle_inst_sharedSupportURL( unsafe.Pointer(x.Pointer()), @@ -9206,8 +9392,9 @@ func (x gen_NSBundle) SharedSupportURL() core.NSURL { } -// AppStoreReceiptURL The file URL for the bundle’s App Store receipt. -// https://developer.apple.com/documentation/foundation/nsbundle/1407276-appstorereceipturl?language=objc +// AppStoreReceiptURL returns the file url for the bundle’s app store receipt. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1407276-appstorereceipturl?language=objc for details. func (x gen_NSBundle) AppStoreReceiptURL() core.NSURL { ret := C.NSBundle_inst_appStoreReceiptURL( unsafe.Pointer(x.Pointer()), @@ -9217,8 +9404,9 @@ func (x gen_NSBundle) AppStoreReceiptURL() core.NSURL { } -// ResourcePath The full pathname of the bundle’s subdirectory containing resources. -// https://developer.apple.com/documentation/foundation/nsbundle/1417723-resourcepath?language=objc +// ResourcePath returns the full pathname of the bundle’s subdirectory containing resources. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417723-resourcepath?language=objc for details. func (x gen_NSBundle) ResourcePath() core.NSString { ret := C.NSBundle_inst_resourcePath( unsafe.Pointer(x.Pointer()), @@ -9228,8 +9416,9 @@ func (x gen_NSBundle) ResourcePath() core.NSString { } -// ExecutablePath The full pathname of the receiver's executable file. -// https://developer.apple.com/documentation/foundation/nsbundle/1409078-executablepath?language=objc +// ExecutablePath returns the full pathname of the receiver's executable file. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1409078-executablepath?language=objc for details. func (x gen_NSBundle) ExecutablePath() core.NSString { ret := C.NSBundle_inst_executablePath( unsafe.Pointer(x.Pointer()), @@ -9239,8 +9428,9 @@ func (x gen_NSBundle) ExecutablePath() core.NSString { } -// PrivateFrameworksPath The full pathname of the bundle’s subdirectory containing private frameworks. -// https://developer.apple.com/documentation/foundation/nsbundle/1415562-privateframeworkspath?language=objc +// PrivateFrameworksPath returns the full pathname of the bundle’s subdirectory containing private frameworks. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1415562-privateframeworkspath?language=objc for details. func (x gen_NSBundle) PrivateFrameworksPath() core.NSString { ret := C.NSBundle_inst_privateFrameworksPath( unsafe.Pointer(x.Pointer()), @@ -9250,8 +9440,9 @@ func (x gen_NSBundle) PrivateFrameworksPath() core.NSString { } -// SharedFrameworksPath The full pathname of the bundle’s subdirectory containing shared frameworks. -// https://developer.apple.com/documentation/foundation/nsbundle/1417226-sharedframeworkspath?language=objc +// SharedFrameworksPath returns the full pathname of the bundle’s subdirectory containing shared frameworks. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417226-sharedframeworkspath?language=objc for details. func (x gen_NSBundle) SharedFrameworksPath() core.NSString { ret := C.NSBundle_inst_sharedFrameworksPath( unsafe.Pointer(x.Pointer()), @@ -9261,8 +9452,9 @@ func (x gen_NSBundle) SharedFrameworksPath() core.NSString { } -// BuiltInPlugInsPath The full pathname of the receiver's subdirectory containing plug-ins. -// https://developer.apple.com/documentation/foundation/nsbundle/1408900-builtinpluginspath?language=objc +// BuiltInPlugInsPath returns the full pathname of the receiver's subdirectory containing plug-ins. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1408900-builtinpluginspath?language=objc for details. func (x gen_NSBundle) BuiltInPlugInsPath() core.NSString { ret := C.NSBundle_inst_builtInPlugInsPath( unsafe.Pointer(x.Pointer()), @@ -9272,8 +9464,9 @@ func (x gen_NSBundle) BuiltInPlugInsPath() core.NSString { } -// SharedSupportPath The full pathname of the bundle’s subdirectory containing shared support files. -// https://developer.apple.com/documentation/foundation/nsbundle/1411609-sharedsupportpath?language=objc +// SharedSupportPath returns the full pathname of the bundle’s subdirectory containing shared support files. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1411609-sharedsupportpath?language=objc for details. func (x gen_NSBundle) SharedSupportPath() core.NSString { ret := C.NSBundle_inst_sharedSupportPath( unsafe.Pointer(x.Pointer()), @@ -9283,8 +9476,9 @@ func (x gen_NSBundle) SharedSupportPath() core.NSString { } -// BundleURL The full URL of the receiver’s bundle directory. -// https://developer.apple.com/documentation/foundation/nsbundle/1415654-bundleurl?language=objc +// BundleURL returns the full url of the receiver’s bundle directory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1415654-bundleurl?language=objc for details. func (x gen_NSBundle) BundleURL() core.NSURL { ret := C.NSBundle_inst_bundleURL( unsafe.Pointer(x.Pointer()), @@ -9294,8 +9488,9 @@ func (x gen_NSBundle) BundleURL() core.NSURL { } -// BundlePath The full pathname of the receiver’s bundle directory. -// https://developer.apple.com/documentation/foundation/nsbundle/1407973-bundlepath?language=objc +// BundlePath returns the full pathname of the receiver’s bundle directory. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1407973-bundlepath?language=objc for details. func (x gen_NSBundle) BundlePath() core.NSString { ret := C.NSBundle_inst_bundlePath( unsafe.Pointer(x.Pointer()), @@ -9305,8 +9500,9 @@ func (x gen_NSBundle) BundlePath() core.NSString { } -// BundleIdentifier The receiver’s bundle identifier. -// https://developer.apple.com/documentation/foundation/nsbundle/1418023-bundleidentifier?language=objc +// BundleIdentifier returns the receiver’s bundle identifier. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1418023-bundleidentifier?language=objc for details. func (x gen_NSBundle) BundleIdentifier() core.NSString { ret := C.NSBundle_inst_bundleIdentifier( unsafe.Pointer(x.Pointer()), @@ -9316,8 +9512,9 @@ func (x gen_NSBundle) BundleIdentifier() core.NSString { } -// InfoDictionary A dictionary, constructed from the bundle’s Info.plist file, that contains information about the receiver. -// https://developer.apple.com/documentation/foundation/nsbundle/1413477-infodictionary?language=objc +// InfoDictionary returns a dictionary, constructed from the bundle’s info.plist file, that contains information about the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1413477-infodictionary?language=objc for details. func (x gen_NSBundle) InfoDictionary() core.NSDictionary { ret := C.NSBundle_inst_infoDictionary( unsafe.Pointer(x.Pointer()), @@ -9327,8 +9524,9 @@ func (x gen_NSBundle) InfoDictionary() core.NSDictionary { } -// Localizations A list of all the localizations contained in the bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1417415-localizations?language=objc +// Localizations returns a list of all the localizations contained in the bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417415-localizations?language=objc for details. func (x gen_NSBundle) Localizations() core.NSArray { ret := C.NSBundle_inst_localizations( unsafe.Pointer(x.Pointer()), @@ -9338,8 +9536,9 @@ func (x gen_NSBundle) Localizations() core.NSArray { } -// PreferredLocalizations An ordered list of preferred localizations contained in the bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1413220-preferredlocalizations?language=objc +// PreferredLocalizations an ordered list of preferred localizations contained in the bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1413220-preferredlocalizations?language=objc for details. func (x gen_NSBundle) PreferredLocalizations() core.NSArray { ret := C.NSBundle_inst_preferredLocalizations( unsafe.Pointer(x.Pointer()), @@ -9349,8 +9548,9 @@ func (x gen_NSBundle) PreferredLocalizations() core.NSArray { } -// DevelopmentLocalization The localization for the development language. -// https://developer.apple.com/documentation/foundation/nsbundle/1417526-developmentlocalization?language=objc +// DevelopmentLocalization returns the localization for the development language. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1417526-developmentlocalization?language=objc for details. func (x gen_NSBundle) DevelopmentLocalization() core.NSString { ret := C.NSBundle_inst_developmentLocalization( unsafe.Pointer(x.Pointer()), @@ -9360,8 +9560,9 @@ func (x gen_NSBundle) DevelopmentLocalization() core.NSString { } -// LocalizedInfoDictionary A dictionary with the keys from the bundle’s localized property list. -// https://developer.apple.com/documentation/foundation/nsbundle/1407645-localizedinfodictionary?language=objc +// LocalizedInfoDictionary returns a dictionary with the keys from the bundle’s localized property list. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1407645-localizedinfodictionary?language=objc for details. func (x gen_NSBundle) LocalizedInfoDictionary() core.NSDictionary { ret := C.NSBundle_inst_localizedInfoDictionary( unsafe.Pointer(x.Pointer()), @@ -9371,8 +9572,9 @@ func (x gen_NSBundle) LocalizedInfoDictionary() core.NSDictionary { } -// ExecutableArchitectures An array of numbers indicating the architecture types supported by the bundle’s executable. -// https://developer.apple.com/documentation/foundation/nsbundle/1415499-executablearchitectures?language=objc +// ExecutableArchitectures an array of numbers indicating the architecture types supported by the bundle’s executable. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1415499-executablearchitectures?language=objc for details. func (x gen_NSBundle) ExecutableArchitectures() core.NSArray { ret := C.NSBundle_inst_executableArchitectures( unsafe.Pointer(x.Pointer()), @@ -9382,8 +9584,9 @@ func (x gen_NSBundle) ExecutableArchitectures() core.NSArray { } -// IsLoaded The load status of a bundle. -// https://developer.apple.com/documentation/foundation/nsbundle/1413594-loaded?language=objc +// IsLoaded returns the load status of a bundle. +// +// See https://developer.apple.com/documentation/foundation/nsbundle/1413594-loaded?language=objc for details. func (x gen_NSBundle) IsLoaded() bool { ret := C.NSBundle_inst_isLoaded( unsafe.Pointer(x.Pointer()), @@ -9412,8 +9615,9 @@ func NSSound_fromRef(ref objc.Ref) NSSound { return NSSound_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithContentsOfFile_byReference_asNSSound Initializes the receiver with the audio data located at a given filepath. -// https://developer.apple.com/documentation/appkit/nssound/1477274-initwithcontentsoffile?language=objc +// InitWithContentsOfFile_byReference initializes the receiver with the audio data located at a given filepath. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477274-initwithcontentsoffile?language=objc for details. func (x gen_NSSound) InitWithContentsOfFile_byReference_asNSSound( path core.NSStringRef, byRef bool, @@ -9428,8 +9632,9 @@ func (x gen_NSSound) InitWithContentsOfFile_byReference_asNSSound( } -// InitWithContentsOfURL_byReference_asNSSound Initializes the receiver with the audio data located at a given URL. -// https://developer.apple.com/documentation/appkit/nssound/1477288-initwithcontentsofurl?language=objc +// InitWithContentsOfURL_byReference initializes the receiver with the audio data located at a given url. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477288-initwithcontentsofurl?language=objc for details. func (x gen_NSSound) InitWithContentsOfURL_byReference_asNSSound( url core.NSURLRef, byRef bool, @@ -9444,8 +9649,9 @@ func (x gen_NSSound) InitWithContentsOfURL_byReference_asNSSound( } -// InitWithData_asNSSound Initializes the receiver with a given audio data. -// https://developer.apple.com/documentation/appkit/nssound/1477292-initwithdata?language=objc +// InitWithData initializes the receiver with a given audio data. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477292-initwithdata?language=objc for details. func (x gen_NSSound) InitWithData_asNSSound( data core.NSDataRef, ) NSSound { @@ -9458,8 +9664,9 @@ func (x gen_NSSound) InitWithData_asNSSound( } -// InitWithPasteboard_asNSSound Initializes the receiver with data from a pasteboard. The pasteboard should contain a type returned by NSSound. NSSound expects the data to have a proper magic number, sound header, and data for the formats it supports. -// https://developer.apple.com/documentation/appkit/nssound/1477294-initwithpasteboard?language=objc +// InitWithPasteboard initializes the receiver with data from a pasteboard. the pasteboard should contain a type returned by nssound. nssound expects the data to have a proper magic number, sound header, and data for the formats it supports. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477294-initwithpasteboard?language=objc for details. func (x gen_NSSound) InitWithPasteboard_asNSSound( pasteboard NSPasteboardRef, ) NSSound { @@ -9472,8 +9679,9 @@ func (x gen_NSSound) InitWithPasteboard_asNSSound( } -// Pause Pauses audio playback. -// https://developer.apple.com/documentation/appkit/nssound/1477307-pause?language=objc +// Pause pauses audio playback. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477307-pause?language=objc for details. func (x gen_NSSound) Pause() bool { ret := C.NSSound_inst_pause( unsafe.Pointer(x.Pointer()), @@ -9483,8 +9691,9 @@ func (x gen_NSSound) Pause() bool { } -// Play Initiates audio playback. -// https://developer.apple.com/documentation/appkit/nssound/1477322-play?language=objc +// Play initiates audio playback. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477322-play?language=objc for details. func (x gen_NSSound) Play() bool { ret := C.NSSound_inst_play( unsafe.Pointer(x.Pointer()), @@ -9494,8 +9703,9 @@ func (x gen_NSSound) Play() bool { } -// Resume Resumes audio playback. -// https://developer.apple.com/documentation/appkit/nssound/1477336-resume?language=objc +// Resume resumes audio playback. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477336-resume?language=objc for details. func (x gen_NSSound) Resume() bool { ret := C.NSSound_inst_resume( unsafe.Pointer(x.Pointer()), @@ -9505,8 +9715,9 @@ func (x gen_NSSound) Resume() bool { } -// Stop Concludes audio playback. -// https://developer.apple.com/documentation/appkit/nssound/1477282-stop?language=objc +// Stop concludes audio playback. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477282-stop?language=objc for details. func (x gen_NSSound) Stop() bool { ret := C.NSSound_inst_stop( unsafe.Pointer(x.Pointer()), @@ -9516,8 +9727,9 @@ func (x gen_NSSound) Stop() bool { } -// WriteToPasteboard Writes the receiver’s data to a pasteboard. -// https://developer.apple.com/documentation/appkit/nssound/1477338-writetopasteboard?language=objc +// WriteToPasteboard writes the receiver’s data to a pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477338-writetopasteboard?language=objc for details. func (x gen_NSSound) WriteToPasteboard( pasteboard NSPasteboardRef, ) { @@ -9530,7 +9742,9 @@ func (x gen_NSSound) WriteToPasteboard( } -// Init_asNSSound +// Init +// +// See for details. func (x gen_NSSound) Init_asNSSound() NSSound { ret := C.NSSound_inst_init( unsafe.Pointer(x.Pointer()), @@ -9540,8 +9754,9 @@ func (x gen_NSSound) Init_asNSSound() NSSound { } -// Delegate The sound’s delegate. -// https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc +// Delegate returns the sound’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc for details. func (x gen_NSSound) Delegate() objc.Object { ret := C.NSSound_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -9551,8 +9766,9 @@ func (x gen_NSSound) Delegate() objc.Object { } -// SetDelegate The sound’s delegate. -// https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc +// SetDelegate returns the sound’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc for details. func (x gen_NSSound) SetDelegate( value objc.Ref, ) { @@ -9565,8 +9781,9 @@ func (x gen_NSSound) SetDelegate( } -// Loops A Boolean that indicates whether the sound restarts playback when it reaches the end of its content. -// https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc +// Loops returns a boolean that indicates whether the sound restarts playback when it reaches the end of its content. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc for details. func (x gen_NSSound) Loops() bool { ret := C.NSSound_inst_loops( unsafe.Pointer(x.Pointer()), @@ -9576,8 +9793,9 @@ func (x gen_NSSound) Loops() bool { } -// SetLoops A Boolean that indicates whether the sound restarts playback when it reaches the end of its content. -// https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc +// SetLoops returns a boolean that indicates whether the sound restarts playback when it reaches the end of its content. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc for details. func (x gen_NSSound) SetLoops( value bool, ) { @@ -9590,8 +9808,9 @@ func (x gen_NSSound) SetLoops( } -// IsPlaying A Boolean that indicates whether the sound is playing its audio data. -// https://developer.apple.com/documentation/appkit/nssound/1477302-playing?language=objc +// IsPlaying returns a boolean that indicates whether the sound is playing its audio data. +// +// See https://developer.apple.com/documentation/appkit/nssound/1477302-playing?language=objc for details. func (x gen_NSSound) IsPlaying() bool { ret := C.NSSound_inst_isPlaying( unsafe.Pointer(x.Pointer()), @@ -9620,8 +9839,9 @@ func NSApplication_fromRef(ref objc.Ref) NSApplication { return NSApplication_fromPointer(unsafe.Pointer(ref.Pointer())) } -// ActivateContextHelpMode Places the receiver in context-sensitive help mode. -// https://developer.apple.com/documentation/appkit/nsapplication/1500925-activatecontexthelpmode?language=objc +// ActivateContextHelpMode places the receiver in context-sensitive help mode. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1500925-activatecontexthelpmode?language=objc for details. func (x gen_NSApplication) ActivateContextHelpMode( sender objc.Ref, ) { @@ -9634,8 +9854,9 @@ func (x gen_NSApplication) ActivateContextHelpMode( } -// ActivateIgnoringOtherApps Makes the receiver the active app. -// https://developer.apple.com/documentation/appkit/nsapplication/1428468-activateignoringotherapps?language=objc +// ActivateIgnoringOtherApps makes the receiver the active app. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428468-activateignoringotherapps?language=objc for details. func (x gen_NSApplication) ActivateIgnoringOtherApps( flag bool, ) { @@ -9648,8 +9869,9 @@ func (x gen_NSApplication) ActivateIgnoringOtherApps( } -// ActivationPolicy Returns the app’s activation policy. -// https://developer.apple.com/documentation/appkit/nsapplication/1428703-activationpolicy?language=objc +// ActivationPolicy returns the app’s activation policy. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428703-activationpolicy?language=objc for details. func (x gen_NSApplication) ActivationPolicy() core.NSInteger { ret := C.NSApplication_inst_activationPolicy( unsafe.Pointer(x.Pointer()), @@ -9659,8 +9881,9 @@ func (x gen_NSApplication) ActivationPolicy() core.NSInteger { } -// CancelUserAttentionRequest Cancels a previous user attention request. -// https://developer.apple.com/documentation/appkit/nsapplication/1428683-canceluserattentionrequest?language=objc +// CancelUserAttentionRequest cancels a previous user attention request. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428683-canceluserattentionrequest?language=objc for details. func (x gen_NSApplication) CancelUserAttentionRequest( request core.NSInteger, ) { @@ -9673,8 +9896,9 @@ func (x gen_NSApplication) CancelUserAttentionRequest( } -// Deactivate Deactivates the receiver. -// https://developer.apple.com/documentation/appkit/nsapplication/1428428-deactivate?language=objc +// Deactivate deactivates the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428428-deactivate?language=objc for details. func (x gen_NSApplication) Deactivate() { C.NSApplication_inst_deactivate( unsafe.Pointer(x.Pointer()), @@ -9684,8 +9908,9 @@ func (x gen_NSApplication) Deactivate() { } -// DisableRelaunchOnLogin Disables relaunching the app on login. -// https://developer.apple.com/documentation/appkit/nsapplication/1428376-disablerelaunchonlogin?language=objc +// DisableRelaunchOnLogin disables relaunching the app on login. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428376-disablerelaunchonlogin?language=objc for details. func (x gen_NSApplication) DisableRelaunchOnLogin() { C.NSApplication_inst_disableRelaunchOnLogin( unsafe.Pointer(x.Pointer()), @@ -9695,8 +9920,9 @@ func (x gen_NSApplication) DisableRelaunchOnLogin() { } -// EnableRelaunchOnLogin Enables relaunching the app on login. -// https://developer.apple.com/documentation/appkit/nsapplication/1428453-enablerelaunchonlogin?language=objc +// EnableRelaunchOnLogin enables relaunching the app on login. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428453-enablerelaunchonlogin?language=objc for details. func (x gen_NSApplication) EnableRelaunchOnLogin() { C.NSApplication_inst_enableRelaunchOnLogin( unsafe.Pointer(x.Pointer()), @@ -9706,8 +9932,9 @@ func (x gen_NSApplication) EnableRelaunchOnLogin() { } -// FinishLaunching Activates the app, opens any files specified by the NSOpen user default, and unhighlights the app’s icon. -// https://developer.apple.com/documentation/appkit/nsapplication/1428771-finishlaunching?language=objc +// FinishLaunching activates the app, opens any files specified by the nsopen user default, and unhighlights the app’s icon. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428771-finishlaunching?language=objc for details. func (x gen_NSApplication) FinishLaunching() { C.NSApplication_inst_finishLaunching( unsafe.Pointer(x.Pointer()), @@ -9717,8 +9944,9 @@ func (x gen_NSApplication) FinishLaunching() { } -// HideOtherApplications Hides all apps, except the receiver. -// https://developer.apple.com/documentation/appkit/nsapplication/1428746-hideotherapplications?language=objc +// HideOtherApplications hides all apps, except the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428746-hideotherapplications?language=objc for details. func (x gen_NSApplication) HideOtherApplications( sender objc.Ref, ) { @@ -9731,8 +9959,9 @@ func (x gen_NSApplication) HideOtherApplications( } -// PostEvent_atStart Adds a given event to the receiver’s event queue. -// https://developer.apple.com/documentation/appkit/nsapplication/1428710-postevent?language=objc +// PostEvent_atStart adds a given event to the receiver’s event queue. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428710-postevent?language=objc for details. func (x gen_NSApplication) PostEvent_atStart( event NSEventRef, flag bool, @@ -9747,8 +9976,9 @@ func (x gen_NSApplication) PostEvent_atStart( } -// RegisterForRemoteNotifications Register for notifications sent by Apple Push Notification service (APNs). -// https://developer.apple.com/documentation/appkit/nsapplication/2967172-registerforremotenotifications?language=objc +// RegisterForRemoteNotifications register for notifications sent by apple push notification service (apns). +// +// See https://developer.apple.com/documentation/appkit/nsapplication/2967172-registerforremotenotifications?language=objc for details. func (x gen_NSApplication) RegisterForRemoteNotifications() { C.NSApplication_inst_registerForRemoteNotifications( unsafe.Pointer(x.Pointer()), @@ -9758,8 +9988,9 @@ func (x gen_NSApplication) RegisterForRemoteNotifications() { } -// RegisterUserInterfaceItemSearchHandler Register an object that provides help data to your app. -// https://developer.apple.com/documentation/appkit/nsapplication/1420818-registeruserinterfaceitemsearchh?language=objc +// RegisterUserInterfaceItemSearchHandler register an object that provides help data to your app. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1420818-registeruserinterfaceitemsearchh?language=objc for details. func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { @@ -9772,8 +10003,9 @@ func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( } -// ReplyToApplicationShouldTerminate Responds to NSTerminateLater once the app knows whether it can terminate. -// https://developer.apple.com/documentation/appkit/nsapplication/1428594-replytoapplicationshouldterminat?language=objc +// ReplyToApplicationShouldTerminate responds to nsterminatelater once the app knows whether it can terminate. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428594-replytoapplicationshouldterminat?language=objc for details. func (x gen_NSApplication) ReplyToApplicationShouldTerminate( shouldTerminate bool, ) { @@ -9786,8 +10018,9 @@ func (x gen_NSApplication) ReplyToApplicationShouldTerminate( } -// Run Starts the main event loop. -// https://developer.apple.com/documentation/appkit/nsapplication/1428631-run?language=objc +// Run starts the main event loop. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428631-run?language=objc for details. func (x gen_NSApplication) Run() { C.NSApplication_inst_run( unsafe.Pointer(x.Pointer()), @@ -9797,8 +10030,9 @@ func (x gen_NSApplication) Run() { } -// SendAction_to_from Sends the given action message to the given target. -// https://developer.apple.com/documentation/appkit/nsapplication/1428509-sendaction?language=objc +// SendAction_to_from sends the given action message to the given target. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428509-sendaction?language=objc for details. func (x gen_NSApplication) SendAction_to_from( action objc.Selector, target objc.Ref, @@ -9815,8 +10049,9 @@ func (x gen_NSApplication) SendAction_to_from( } -// SendEvent Dispatches an event to other objects. -// https://developer.apple.com/documentation/appkit/nsapplication/1428359-sendevent?language=objc +// SendEvent dispatches an event to other objects. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428359-sendevent?language=objc for details. func (x gen_NSApplication) SendEvent( event NSEventRef, ) { @@ -9829,8 +10064,9 @@ func (x gen_NSApplication) SendEvent( } -// SetActivationPolicy Attempts to modify the app’s activation policy. -// https://developer.apple.com/documentation/appkit/nsapplication/1428621-setactivationpolicy?language=objc +// SetActivationPolicy attempts to modify the app’s activation policy. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428621-setactivationpolicy?language=objc for details. func (x gen_NSApplication) SetActivationPolicy( activationPolicy core.NSInteger, ) bool { @@ -9843,8 +10079,9 @@ func (x gen_NSApplication) SetActivationPolicy( } -// ShowHelp If your project is properly registered, and the necessary keys have been set in the property list, this method launches Help Viewer and displays the first page of your app’s help book. -// https://developer.apple.com/documentation/appkit/nsapplication/1500910-showhelp?language=objc +// ShowHelp if your project is properly registered, and the necessary keys have been set in the property list, this method launches help viewer and displays the first page of your app’s help book. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1500910-showhelp?language=objc for details. func (x gen_NSApplication) ShowHelp( sender objc.Ref, ) { @@ -9857,8 +10094,9 @@ func (x gen_NSApplication) ShowHelp( } -// Stop Stops the main event loop. -// https://developer.apple.com/documentation/appkit/nsapplication/1428473-stop?language=objc +// Stop stops the main event loop. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428473-stop?language=objc for details. func (x gen_NSApplication) Stop( sender objc.Ref, ) { @@ -9871,8 +10109,9 @@ func (x gen_NSApplication) Stop( } -// TargetForAction Returns the object that receives the action message specified by the given selector. -// https://developer.apple.com/documentation/appkit/nsapplication/1428449-targetforaction?language=objc +// TargetForAction returns the object that receives the action message specified by the given selector. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428449-targetforaction?language=objc for details. func (x gen_NSApplication) TargetForAction( action objc.Selector, ) objc.Object { @@ -9885,8 +10124,9 @@ func (x gen_NSApplication) TargetForAction( } -// TargetForAction_to_from Searches for an object that can receive the message specified by the given selector. -// https://developer.apple.com/documentation/appkit/nsapplication/1428658-targetforaction?language=objc +// TargetForAction_to_from searches for an object that can receive the message specified by the given selector. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428658-targetforaction?language=objc for details. func (x gen_NSApplication) TargetForAction_to_from( action objc.Selector, target objc.Ref, @@ -9903,8 +10143,9 @@ func (x gen_NSApplication) TargetForAction_to_from( } -// Terminate Terminates the receiver. -// https://developer.apple.com/documentation/appkit/nsapplication/1428417-terminate?language=objc +// Terminate terminates the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428417-terminate?language=objc for details. func (x gen_NSApplication) Terminate( sender objc.Ref, ) { @@ -9917,8 +10158,9 @@ func (x gen_NSApplication) Terminate( } -// ToggleTouchBarCustomizationPalette Show or hides the interface for customizing the Touch Bar. -// https://developer.apple.com/documentation/appkit/nsapplication/2646920-toggletouchbarcustomizationpalet?language=objc +// ToggleTouchBarCustomizationPalette show or hides the interface for customizing the touch bar. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/2646920-toggletouchbarcustomizationpalet?language=objc for details. func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( sender objc.Ref, ) { @@ -9931,8 +10173,9 @@ func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( } -// TryToPerform_with Dispatches an action message to the specified target. -// https://developer.apple.com/documentation/appkit/nsapplication/1428366-trytoperform?language=objc +// TryToPerform_with dispatches an action message to the specified target. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428366-trytoperform?language=objc for details. func (x gen_NSApplication) TryToPerform_with( action objc.Selector, object objc.Ref, @@ -9947,8 +10190,9 @@ func (x gen_NSApplication) TryToPerform_with( } -// UnhideAllApplications Unhides all apps, including the receiver. -// https://developer.apple.com/documentation/appkit/nsapplication/1428737-unhideallapplications?language=objc +// UnhideAllApplications unhides all apps, including the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428737-unhideallapplications?language=objc for details. func (x gen_NSApplication) UnhideAllApplications( sender objc.Ref, ) { @@ -9961,8 +10205,9 @@ func (x gen_NSApplication) UnhideAllApplications( } -// UnregisterForRemoteNotifications Unregister for notifications received from Apple Push Notification service. -// https://developer.apple.com/documentation/appkit/nsapplication/1428747-unregisterforremotenotifications?language=objc +// UnregisterForRemoteNotifications unregister for notifications received from apple push notification service. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428747-unregisterforremotenotifications?language=objc for details. func (x gen_NSApplication) UnregisterForRemoteNotifications() { C.NSApplication_inst_unregisterForRemoteNotifications( unsafe.Pointer(x.Pointer()), @@ -9972,8 +10217,9 @@ func (x gen_NSApplication) UnregisterForRemoteNotifications() { } -// UnregisterUserInterfaceItemSearchHandler Unregister an object that provides help data to your app. -// https://developer.apple.com/documentation/appkit/nsapplication/1420820-unregisteruserinterfaceitemsearc?language=objc +// UnregisterUserInterfaceItemSearchHandler unregister an object that provides help data to your app. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1420820-unregisteruserinterfaceitemsearc?language=objc for details. func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { @@ -9986,7 +10232,9 @@ func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( } -// Init_asNSApplication +// Init +// +// See for details. func (x gen_NSApplication) Init_asNSApplication() NSApplication { ret := C.NSApplication_inst_init( unsafe.Pointer(x.Pointer()), @@ -9996,8 +10244,9 @@ func (x gen_NSApplication) Init_asNSApplication() NSApplication { } -// Delegate The app delegate object. -// https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc +// Delegate returns the app delegate object. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc for details. func (x gen_NSApplication) Delegate() objc.Object { ret := C.NSApplication_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -10007,8 +10256,9 @@ func (x gen_NSApplication) Delegate() objc.Object { } -// SetDelegate The app delegate object. -// https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc +// SetDelegate returns the app delegate object. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc for details. func (x gen_NSApplication) SetDelegate( value objc.Ref, ) { @@ -10021,8 +10271,9 @@ func (x gen_NSApplication) SetDelegate( } -// CurrentEvent The last event object that the app retrieved from the event queue. -// https://developer.apple.com/documentation/appkit/nsapplication/1428668-currentevent?language=objc +// CurrentEvent returns the last event object that the app retrieved from the event queue. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428668-currentevent?language=objc for details. func (x gen_NSApplication) CurrentEvent() NSEvent { ret := C.NSApplication_inst_currentEvent( unsafe.Pointer(x.Pointer()), @@ -10032,8 +10283,9 @@ func (x gen_NSApplication) CurrentEvent() NSEvent { } -// IsRunning A Boolean value indicating whether the main event loop is running. -// https://developer.apple.com/documentation/appkit/nsapplication/1428759-running?language=objc +// IsRunning returns a boolean value indicating whether the main event loop is running. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428759-running?language=objc for details. func (x gen_NSApplication) IsRunning() bool { ret := C.NSApplication_inst_isRunning( unsafe.Pointer(x.Pointer()), @@ -10043,8 +10295,9 @@ func (x gen_NSApplication) IsRunning() bool { } -// IsActive A Boolean value indicating whether this is the active app. -// https://developer.apple.com/documentation/appkit/nsapplication/1428493-active?language=objc +// IsActive returns a boolean value indicating whether this is the active app. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428493-active?language=objc for details. func (x gen_NSApplication) IsActive() bool { ret := C.NSApplication_inst_isActive( unsafe.Pointer(x.Pointer()), @@ -10054,8 +10307,9 @@ func (x gen_NSApplication) IsActive() bool { } -// IsRegisteredForRemoteNotifications A Boolean value indicating whether the app is registered with Apple Push Notification service (APNs). -// https://developer.apple.com/documentation/appkit/nsapplication/2967173-registeredforremotenotifications?language=objc +// IsRegisteredForRemoteNotifications returns a boolean value indicating whether the app is registered with apple push notification service (apns). +// +// See https://developer.apple.com/documentation/appkit/nsapplication/2967173-registeredforremotenotifications?language=objc for details. func (x gen_NSApplication) IsRegisteredForRemoteNotifications() bool { ret := C.NSApplication_inst_isRegisteredForRemoteNotifications( unsafe.Pointer(x.Pointer()), @@ -10065,8 +10319,9 @@ func (x gen_NSApplication) IsRegisteredForRemoteNotifications() bool { } -// ApplicationIconImage The image used for the app’s icon. -// https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc +// ApplicationIconImage returns the image used for the app’s icon. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc for details. func (x gen_NSApplication) ApplicationIconImage() NSImage { ret := C.NSApplication_inst_applicationIconImage( unsafe.Pointer(x.Pointer()), @@ -10076,8 +10331,9 @@ func (x gen_NSApplication) ApplicationIconImage() NSImage { } -// SetApplicationIconImage The image used for the app’s icon. -// https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc +// SetApplicationIconImage returns the image used for the app’s icon. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc for details. func (x gen_NSApplication) SetApplicationIconImage( value NSImageRef, ) { @@ -10090,8 +10346,9 @@ func (x gen_NSApplication) SetApplicationIconImage( } -// HelpMenu The help menu used by the app. -// https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc +// HelpMenu returns the help menu used by the app. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc for details. func (x gen_NSApplication) HelpMenu() NSMenu { ret := C.NSApplication_inst_helpMenu( unsafe.Pointer(x.Pointer()), @@ -10101,8 +10358,9 @@ func (x gen_NSApplication) HelpMenu() NSMenu { } -// SetHelpMenu The help menu used by the app. -// https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc +// SetHelpMenu returns the help menu used by the app. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc for details. func (x gen_NSApplication) SetHelpMenu( value NSMenuRef, ) { @@ -10115,8 +10373,9 @@ func (x gen_NSApplication) SetHelpMenu( } -// ServicesProvider The object that provides the services the current app advertises in the Services menu of other apps. -// https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc +// ServicesProvider returns the object that provides the services the current app advertises in the services menu of other apps. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc for details. func (x gen_NSApplication) ServicesProvider() objc.Object { ret := C.NSApplication_inst_servicesProvider( unsafe.Pointer(x.Pointer()), @@ -10126,8 +10385,9 @@ func (x gen_NSApplication) ServicesProvider() objc.Object { } -// SetServicesProvider The object that provides the services the current app advertises in the Services menu of other apps. -// https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc +// SetServicesProvider returns the object that provides the services the current app advertises in the services menu of other apps. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc for details. func (x gen_NSApplication) SetServicesProvider( value objc.Ref, ) { @@ -10140,8 +10400,9 @@ func (x gen_NSApplication) SetServicesProvider( } -// IsFullKeyboardAccessEnabled A Boolean value indicating whether Full Keyboard Access is enabled in the Keyboard preference pane. -// https://developer.apple.com/documentation/appkit/nsapplication/1428469-fullkeyboardaccessenabled?language=objc +// IsFullKeyboardAccessEnabled returns a boolean value indicating whether full keyboard access is enabled in the keyboard preference pane. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428469-fullkeyboardaccessenabled?language=objc for details. func (x gen_NSApplication) IsFullKeyboardAccessEnabled() bool { ret := C.NSApplication_inst_isFullKeyboardAccessEnabled( unsafe.Pointer(x.Pointer()), @@ -10151,8 +10412,9 @@ func (x gen_NSApplication) IsFullKeyboardAccessEnabled() bool { } -// OrderedDocuments An array of document objects arranged according to the front-to-back ordering of their associated windows. -// https://developer.apple.com/documentation/appkit/nsapplication/1494283-ordereddocuments?language=objc +// OrderedDocuments an array of document objects arranged according to the front-to-back ordering of their associated windows. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1494283-ordereddocuments?language=objc for details. func (x gen_NSApplication) OrderedDocuments() core.NSArray { ret := C.NSApplication_inst_orderedDocuments( unsafe.Pointer(x.Pointer()), @@ -10162,8 +10424,9 @@ func (x gen_NSApplication) OrderedDocuments() core.NSArray { } -// OrderedWindows An array of window objects arranged according to their front-to-back ordering on the screen. -// https://developer.apple.com/documentation/appkit/nsapplication/1494287-orderedwindows?language=objc +// OrderedWindows an array of window objects arranged according to their front-to-back ordering on the screen. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1494287-orderedwindows?language=objc for details. func (x gen_NSApplication) OrderedWindows() core.NSArray { ret := C.NSApplication_inst_orderedWindows( unsafe.Pointer(x.Pointer()), @@ -10173,8 +10436,9 @@ func (x gen_NSApplication) OrderedWindows() core.NSArray { } -// MainMenu The app’s main menu bar. -// https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc +// MainMenu returns the app’s main menu bar. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc for details. func (x gen_NSApplication) MainMenu() NSMenu { ret := C.NSApplication_inst_mainMenu( unsafe.Pointer(x.Pointer()), @@ -10184,8 +10448,9 @@ func (x gen_NSApplication) MainMenu() NSMenu { } -// SetMainMenu The app’s main menu bar. -// https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc +// SetMainMenu returns the app’s main menu bar. +// +// See https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc for details. func (x gen_NSApplication) SetMainMenu( value NSMenuRef, ) { @@ -10217,8 +10482,9 @@ func NSControl_fromRef(ref objc.Ref) NSControl { return NSControl_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AbortEditing Terminates the current editing operation and discards any edited text. -// https://developer.apple.com/documentation/appkit/nscontrol/1428867-abortediting?language=objc +// AbortEditing terminates the current editing operation and discards any edited text. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428867-abortediting?language=objc for details. func (x gen_NSControl) AbortEditing() bool { ret := C.NSControl_inst_abortEditing( unsafe.Pointer(x.Pointer()), @@ -10228,8 +10494,9 @@ func (x gen_NSControl) AbortEditing() bool { } -// CurrentEditor Returns the current field editor for the control. -// https://developer.apple.com/documentation/appkit/nscontrol/1428980-currenteditor?language=objc +// CurrentEditor returns the current field editor for the control. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428980-currenteditor?language=objc for details. func (x gen_NSControl) CurrentEditor() NSText { ret := C.NSControl_inst_currentEditor( unsafe.Pointer(x.Pointer()), @@ -10239,8 +10506,9 @@ func (x gen_NSControl) CurrentEditor() NSText { } -// DrawWithExpansionFrame_inView Performs custom expansion tool tip drawing. -// https://developer.apple.com/documentation/appkit/nscontrol/1428895-drawwithexpansionframe?language=objc +// DrawWithExpansionFrame_inView performs custom expansion tool tip drawing. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428895-drawwithexpansionframe?language=objc for details. func (x gen_NSControl) DrawWithExpansionFrame_inView( contentFrame core.NSRect, view NSViewRef, @@ -10255,8 +10523,9 @@ func (x gen_NSControl) DrawWithExpansionFrame_inView( } -// EditWithFrame_editor_delegate_event Begins editing of the receiver’s text using the specified field editor. -// https://developer.apple.com/documentation/appkit/nscontrol/1428919-editwithframe?language=objc +// EditWithFrame_editor_delegate_event begins editing of the receiver’s text using the specified field editor. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428919-editwithframe?language=objc for details. func (x gen_NSControl) EditWithFrame_editor_delegate_event( rect core.NSRect, textObj NSTextRef, @@ -10275,8 +10544,9 @@ func (x gen_NSControl) EditWithFrame_editor_delegate_event( } -// EndEditing Ends the editing of text in the receiver using the specified field editor. -// https://developer.apple.com/documentation/appkit/nscontrol/1428936-endediting?language=objc +// EndEditing ends the editing of text in the receiver using the specified field editor. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428936-endediting?language=objc for details. func (x gen_NSControl) EndEditing( textObj NSTextRef, ) { @@ -10289,8 +10559,9 @@ func (x gen_NSControl) EndEditing( } -// ExpansionFrameWithFrame The frame in which a tool tip can be displayed, if needed. -// https://developer.apple.com/documentation/appkit/nscontrol/1428932-expansionframewithframe?language=objc +// ExpansionFrameWithFrame returns the frame in which a tool tip can be displayed, if needed. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428932-expansionframewithframe?language=objc for details. func (x gen_NSControl) ExpansionFrameWithFrame( contentFrame core.NSRect, ) core.NSRect { @@ -10303,8 +10574,9 @@ func (x gen_NSControl) ExpansionFrameWithFrame( } -// InitWithFrame_asNSControl Initializes a control with the specified frame rectangle. -// https://developer.apple.com/documentation/appkit/nscontrol/1428900-initwithframe?language=objc +// InitWithFrame initializes a control with the specified frame rectangle. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428900-initwithframe?language=objc for details. func (x gen_NSControl) InitWithFrame_asNSControl( frameRect core.NSRect, ) NSControl { @@ -10317,8 +10589,9 @@ func (x gen_NSControl) InitWithFrame_asNSControl( } -// MouseDown Informs the receiver that the user has pressed the left mouse button. -// https://developer.apple.com/documentation/appkit/nscontrol/1428918-mousedown?language=objc +// MouseDown informs the receiver that the user has pressed the left mouse button. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428918-mousedown?language=objc for details. func (x gen_NSControl) MouseDown( event NSEventRef, ) { @@ -10331,8 +10604,9 @@ func (x gen_NSControl) MouseDown( } -// PerformClick Simulates a single mouse click on the receiver. -// https://developer.apple.com/documentation/appkit/nscontrol/1428974-performclick?language=objc +// PerformClick simulates a single mouse click on the receiver. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428974-performclick?language=objc for details. func (x gen_NSControl) PerformClick( sender objc.Ref, ) { @@ -10345,8 +10619,9 @@ func (x gen_NSControl) PerformClick( } -// SelectWithFrame_editor_delegate_start_length Selects the specified text range in the receiver's field editor. -// https://developer.apple.com/documentation/appkit/nscontrol/1428968-selectwithframe?language=objc +// SelectWithFrame_editor_delegate_start_length selects the specified text range in the receiver's field editor. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428968-selectwithframe?language=objc for details. func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( rect core.NSRect, textObj NSTextRef, @@ -10367,8 +10642,9 @@ func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( } -// SendAction_to Causes the specified action to be sent to the target. -// https://developer.apple.com/documentation/appkit/nscontrol/1428851-sendaction?language=objc +// SendAction_to causes the specified action to be sent to the target. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428851-sendaction?language=objc for details. func (x gen_NSControl) SendAction_to( action objc.Selector, target objc.Ref, @@ -10383,8 +10659,9 @@ func (x gen_NSControl) SendAction_to( } -// SizeThatFits Asks the control to calculate and return the size that best fits the specified size. -// https://developer.apple.com/documentation/appkit/nscontrol/1428902-sizethatfits?language=objc +// SizeThatFits asks the control to calculate and return the size that best fits the specified size. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428902-sizethatfits?language=objc for details. func (x gen_NSControl) SizeThatFits( size core.NSSize, ) core.NSSize { @@ -10397,8 +10674,9 @@ func (x gen_NSControl) SizeThatFits( } -// SizeToFit Resizes the receiver’s frame so that it’s the minimum size needed to contain its cell. -// https://developer.apple.com/documentation/appkit/nscontrol/1428877-sizetofit?language=objc +// SizeToFit resizes the receiver’s frame so that it’s the minimum size needed to contain its cell. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428877-sizetofit?language=objc for details. func (x gen_NSControl) SizeToFit() { C.NSControl_inst_sizeToFit( unsafe.Pointer(x.Pointer()), @@ -10408,8 +10686,9 @@ func (x gen_NSControl) SizeToFit() { } -// TakeDoubleValueFrom Sets the value of the receiver’s cell to a double-precision floating-point value obtained from the specified object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428958-takedoublevaluefrom?language=objc +// TakeDoubleValueFrom sets the value of the receiver’s cell to a double-precision floating-point value obtained from the specified object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428958-takedoublevaluefrom?language=objc for details. func (x gen_NSControl) TakeDoubleValueFrom( sender objc.Ref, ) { @@ -10422,8 +10701,9 @@ func (x gen_NSControl) TakeDoubleValueFrom( } -// TakeFloatValueFrom Sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428938-takefloatvaluefrom?language=objc +// TakeFloatValueFrom sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428938-takefloatvaluefrom?language=objc for details. func (x gen_NSControl) TakeFloatValueFrom( sender objc.Ref, ) { @@ -10436,8 +10716,9 @@ func (x gen_NSControl) TakeFloatValueFrom( } -// TakeIntValueFrom Sets the value of the receiver’s cell to an integer value obtained from the specified object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428859-takeintvaluefrom?language=objc +// TakeIntValueFrom sets the value of the receiver’s cell to an integer value obtained from the specified object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428859-takeintvaluefrom?language=objc for details. func (x gen_NSControl) TakeIntValueFrom( sender objc.Ref, ) { @@ -10450,8 +10731,9 @@ func (x gen_NSControl) TakeIntValueFrom( } -// TakeIntegerValueFrom Sets the value of the receiver’s cell to an NSInteger value obtained from the specified object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428875-takeintegervaluefrom?language=objc +// TakeIntegerValueFrom sets the value of the receiver’s cell to an nsinteger value obtained from the specified object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428875-takeintegervaluefrom?language=objc for details. func (x gen_NSControl) TakeIntegerValueFrom( sender objc.Ref, ) { @@ -10464,8 +10746,9 @@ func (x gen_NSControl) TakeIntegerValueFrom( } -// TakeObjectValueFrom Sets the value of the receiver’s cell to the object value obtained from the specified object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428853-takeobjectvaluefrom?language=objc +// TakeObjectValueFrom sets the value of the receiver’s cell to the object value obtained from the specified object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428853-takeobjectvaluefrom?language=objc for details. func (x gen_NSControl) TakeObjectValueFrom( sender objc.Ref, ) { @@ -10478,8 +10761,9 @@ func (x gen_NSControl) TakeObjectValueFrom( } -// TakeStringValueFrom Sets the value of the receiver’s cell to the string value obtained from the specified object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428912-takestringvaluefrom?language=objc +// TakeStringValueFrom sets the value of the receiver’s cell to the string value obtained from the specified object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428912-takestringvaluefrom?language=objc for details. func (x gen_NSControl) TakeStringValueFrom( sender objc.Ref, ) { @@ -10492,8 +10776,9 @@ func (x gen_NSControl) TakeStringValueFrom( } -// ValidateEditing Validates changes to any user-typed text. -// https://developer.apple.com/documentation/appkit/nscontrol/1428855-validateediting?language=objc +// ValidateEditing validates changes to any user-typed text. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428855-validateediting?language=objc for details. func (x gen_NSControl) ValidateEditing() { C.NSControl_inst_validateEditing( unsafe.Pointer(x.Pointer()), @@ -10503,7 +10788,9 @@ func (x gen_NSControl) ValidateEditing() { } -// Init_asNSControl +// Init +// +// See for details. func (x gen_NSControl) Init_asNSControl() NSControl { ret := C.NSControl_inst_init( unsafe.Pointer(x.Pointer()), @@ -10513,8 +10800,9 @@ func (x gen_NSControl) Init_asNSControl() NSControl { } -// IsEnabled A Boolean value that indicates whether the receiver reacts to mouse events. -// https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc +// IsEnabled returns a boolean value that indicates whether the receiver reacts to mouse events. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc for details. func (x gen_NSControl) IsEnabled() bool { ret := C.NSControl_inst_isEnabled( unsafe.Pointer(x.Pointer()), @@ -10524,8 +10812,9 @@ func (x gen_NSControl) IsEnabled() bool { } -// SetEnabled A Boolean value that indicates whether the receiver reacts to mouse events. -// https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc +// SetEnabled returns a boolean value that indicates whether the receiver reacts to mouse events. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc for details. func (x gen_NSControl) SetEnabled( value bool, ) { @@ -10538,8 +10827,9 @@ func (x gen_NSControl) SetEnabled( } -// IntValue The value of the receiver’s cell as an integer. -// https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc +// IntValue returns the value of the receiver’s cell as an integer. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc for details. func (x gen_NSControl) IntValue() int32 { ret := C.NSControl_inst_intValue( unsafe.Pointer(x.Pointer()), @@ -10549,8 +10839,9 @@ func (x gen_NSControl) IntValue() int32 { } -// SetIntValue The value of the receiver’s cell as an integer. -// https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc +// SetIntValue returns the value of the receiver’s cell as an integer. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc for details. func (x gen_NSControl) SetIntValue( value int32, ) { @@ -10563,8 +10854,9 @@ func (x gen_NSControl) SetIntValue( } -// IntegerValue The value of the receiver’s cell as an NSInteger value. -// https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc +// IntegerValue returns the value of the receiver’s cell as an nsinteger value. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc for details. func (x gen_NSControl) IntegerValue() core.NSInteger { ret := C.NSControl_inst_integerValue( unsafe.Pointer(x.Pointer()), @@ -10574,8 +10866,9 @@ func (x gen_NSControl) IntegerValue() core.NSInteger { } -// SetIntegerValue The value of the receiver’s cell as an NSInteger value. -// https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc +// SetIntegerValue returns the value of the receiver’s cell as an nsinteger value. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc for details. func (x gen_NSControl) SetIntegerValue( value core.NSInteger, ) { @@ -10588,8 +10881,9 @@ func (x gen_NSControl) SetIntegerValue( } -// ObjectValue The value of the receiver’s cell as an Objective-C object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc +// ObjectValue returns the value of the receiver’s cell as an objective-c object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc for details. func (x gen_NSControl) ObjectValue() objc.Object { ret := C.NSControl_inst_objectValue( unsafe.Pointer(x.Pointer()), @@ -10599,8 +10893,9 @@ func (x gen_NSControl) ObjectValue() objc.Object { } -// SetObjectValue The value of the receiver’s cell as an Objective-C object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc +// SetObjectValue returns the value of the receiver’s cell as an objective-c object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc for details. func (x gen_NSControl) SetObjectValue( value objc.Ref, ) { @@ -10613,8 +10908,9 @@ func (x gen_NSControl) SetObjectValue( } -// StringValue The value of the receiver’s cell as an NSString object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc +// StringValue returns the value of the receiver’s cell as an nsstring object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc for details. func (x gen_NSControl) StringValue() core.NSString { ret := C.NSControl_inst_stringValue( unsafe.Pointer(x.Pointer()), @@ -10624,8 +10920,9 @@ func (x gen_NSControl) StringValue() core.NSString { } -// SetStringValue The value of the receiver’s cell as an NSString object. -// https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc +// SetStringValue returns the value of the receiver’s cell as an nsstring object. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc for details. func (x gen_NSControl) SetStringValue( value core.NSStringRef, ) { @@ -10638,8 +10935,9 @@ func (x gen_NSControl) SetStringValue( } -// AttributedStringValue The value of the receiver’s cell as an attributed string. -// https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc +// AttributedStringValue returns the value of the receiver’s cell as an attributed string. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc for details. func (x gen_NSControl) AttributedStringValue() core.NSAttributedString { ret := C.NSControl_inst_attributedStringValue( unsafe.Pointer(x.Pointer()), @@ -10649,8 +10947,9 @@ func (x gen_NSControl) AttributedStringValue() core.NSAttributedString { } -// SetAttributedStringValue The value of the receiver’s cell as an attributed string. -// https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc +// SetAttributedStringValue returns the value of the receiver’s cell as an attributed string. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc for details. func (x gen_NSControl) SetAttributedStringValue( value core.NSAttributedStringRef, ) { @@ -10663,8 +10962,9 @@ func (x gen_NSControl) SetAttributedStringValue( } -// Font The font used to draw text in the receiver’s cell. -// https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc +// Font returns the font used to draw text in the receiver’s cell. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc for details. func (x gen_NSControl) Font() NSFont { ret := C.NSControl_inst_font( unsafe.Pointer(x.Pointer()), @@ -10674,8 +10974,9 @@ func (x gen_NSControl) Font() NSFont { } -// SetFont The font used to draw text in the receiver’s cell. -// https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc +// SetFont returns the font used to draw text in the receiver’s cell. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc for details. func (x gen_NSControl) SetFont( value NSFontRef, ) { @@ -10688,8 +10989,9 @@ func (x gen_NSControl) SetFont( } -// UsesSingleLineMode A Boolean value that indicates whether the text in the control’s cell uses single line mode. -// https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc +// UsesSingleLineMode returns a boolean value that indicates whether the text in the control’s cell uses single line mode. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc for details. func (x gen_NSControl) UsesSingleLineMode() bool { ret := C.NSControl_inst_usesSingleLineMode( unsafe.Pointer(x.Pointer()), @@ -10699,8 +11001,9 @@ func (x gen_NSControl) UsesSingleLineMode() bool { } -// SetUsesSingleLineMode A Boolean value that indicates whether the text in the control’s cell uses single line mode. -// https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc +// SetUsesSingleLineMode returns a boolean value that indicates whether the text in the control’s cell uses single line mode. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc for details. func (x gen_NSControl) SetUsesSingleLineMode( value bool, ) { @@ -10713,8 +11016,9 @@ func (x gen_NSControl) SetUsesSingleLineMode( } -// AllowsExpansionToolTips A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over. -// https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc +// AllowsExpansionToolTips returns a boolean value that indicates whether expansion tool tips are shown when the control is hovered over. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc for details. func (x gen_NSControl) AllowsExpansionToolTips() bool { ret := C.NSControl_inst_allowsExpansionToolTips( unsafe.Pointer(x.Pointer()), @@ -10724,8 +11028,9 @@ func (x gen_NSControl) AllowsExpansionToolTips() bool { } -// SetAllowsExpansionToolTips A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over. -// https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc +// SetAllowsExpansionToolTips returns a boolean value that indicates whether expansion tool tips are shown when the control is hovered over. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc for details. func (x gen_NSControl) SetAllowsExpansionToolTips( value bool, ) { @@ -10738,8 +11043,9 @@ func (x gen_NSControl) SetAllowsExpansionToolTips( } -// IsHighlighted A Boolean value that indicates whether the cell is highlighted. -// https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc +// IsHighlighted returns a boolean value that indicates whether the cell is highlighted. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc for details. func (x gen_NSControl) IsHighlighted() bool { ret := C.NSControl_inst_isHighlighted( unsafe.Pointer(x.Pointer()), @@ -10749,8 +11055,9 @@ func (x gen_NSControl) IsHighlighted() bool { } -// SetHighlighted A Boolean value that indicates whether the cell is highlighted. -// https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc +// SetHighlighted returns a boolean value that indicates whether the cell is highlighted. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc for details. func (x gen_NSControl) SetHighlighted( value bool, ) { @@ -10763,8 +11070,9 @@ func (x gen_NSControl) SetHighlighted( } -// Action The default action-message selector associated with the control. -// https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc +// Action returns the default action-message selector associated with the control. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc for details. func (x gen_NSControl) Action() objc.Selector { ret := C.NSControl_inst_action( unsafe.Pointer(x.Pointer()), @@ -10774,8 +11082,9 @@ func (x gen_NSControl) Action() objc.Selector { } -// SetAction The default action-message selector associated with the control. -// https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc +// SetAction returns the default action-message selector associated with the control. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc for details. func (x gen_NSControl) SetAction( value objc.Selector, ) { @@ -10788,8 +11097,9 @@ func (x gen_NSControl) SetAction( } -// Target The target object that receives action messages from the cell. -// https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc +// Target returns the target object that receives action messages from the cell. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc for details. func (x gen_NSControl) Target() objc.Object { ret := C.NSControl_inst_target( unsafe.Pointer(x.Pointer()), @@ -10799,8 +11109,9 @@ func (x gen_NSControl) Target() objc.Object { } -// SetTarget The target object that receives action messages from the cell. -// https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc +// SetTarget returns the target object that receives action messages from the cell. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc for details. func (x gen_NSControl) SetTarget( value objc.Ref, ) { @@ -10813,8 +11124,9 @@ func (x gen_NSControl) SetTarget( } -// IsContinuous A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. -// https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc +// IsContinuous returns a boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc for details. func (x gen_NSControl) IsContinuous() bool { ret := C.NSControl_inst_isContinuous( unsafe.Pointer(x.Pointer()), @@ -10824,8 +11136,9 @@ func (x gen_NSControl) IsContinuous() bool { } -// SetContinuous A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. -// https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc +// SetContinuous returns a boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc for details. func (x gen_NSControl) SetContinuous( value bool, ) { @@ -10838,8 +11151,9 @@ func (x gen_NSControl) SetContinuous( } -// Tag The tag identifying the receiver (not the tag of the receiver’s cell). -// https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc +// Tag returns the tag identifying the receiver (not the tag of the receiver’s cell). +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc for details. func (x gen_NSControl) Tag() core.NSInteger { ret := C.NSControl_inst_tag( unsafe.Pointer(x.Pointer()), @@ -10849,8 +11163,9 @@ func (x gen_NSControl) Tag() core.NSInteger { } -// SetTag The tag identifying the receiver (not the tag of the receiver’s cell). -// https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc +// SetTag returns the tag identifying the receiver (not the tag of the receiver’s cell). +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc for details. func (x gen_NSControl) SetTag( value core.NSInteger, ) { @@ -10863,8 +11178,9 @@ func (x gen_NSControl) SetTag( } -// RefusesFirstResponder A Boolean value indicating whether the receiver refuses the first responder role. -// https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc +// RefusesFirstResponder returns a boolean value indicating whether the receiver refuses the first responder role. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc for details. func (x gen_NSControl) RefusesFirstResponder() bool { ret := C.NSControl_inst_refusesFirstResponder( unsafe.Pointer(x.Pointer()), @@ -10874,8 +11190,9 @@ func (x gen_NSControl) RefusesFirstResponder() bool { } -// SetRefusesFirstResponder A Boolean value indicating whether the receiver refuses the first responder role. -// https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc +// SetRefusesFirstResponder returns a boolean value indicating whether the receiver refuses the first responder role. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc for details. func (x gen_NSControl) SetRefusesFirstResponder( value bool, ) { @@ -10888,8 +11205,9 @@ func (x gen_NSControl) SetRefusesFirstResponder( } -// IgnoresMultiClick A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. -// https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc +// IgnoresMultiClick returns a boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc for details. func (x gen_NSControl) IgnoresMultiClick() bool { ret := C.NSControl_inst_ignoresMultiClick( unsafe.Pointer(x.Pointer()), @@ -10899,8 +11217,9 @@ func (x gen_NSControl) IgnoresMultiClick() bool { } -// SetIgnoresMultiClick A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. -// https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc +// SetIgnoresMultiClick returns a boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. +// +// See https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc for details. func (x gen_NSControl) SetIgnoresMultiClick( value bool, ) { @@ -10932,8 +11251,9 @@ func NSButton_fromRef(ref objc.Ref) NSButton { return NSButton_fromPointer(unsafe.Pointer(ref.Pointer())) } -// CompressWithPrioritizedCompressionOptions Sets the priority compression options for this button. -// https://developer.apple.com/documentation/appkit/nsbutton/2952060-compresswithprioritizedcompressi?language=objc +// CompressWithPrioritizedCompressionOptions sets the priority compression options for this button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/2952060-compresswithprioritizedcompressi?language=objc for details. func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) { @@ -10946,8 +11266,9 @@ func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( } -// Highlight Highlights (or unhighlights) the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1534156-highlight?language=objc +// Highlight highlights (or unhighlights) the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1534156-highlight?language=objc for details. func (x gen_NSButton) Highlight( flag bool, ) { @@ -10960,8 +11281,9 @@ func (x gen_NSButton) Highlight( } -// MinimumSizeWithPrioritizedCompressionOptions Returns the minimum size of the button by using the compression options. -// https://developer.apple.com/documentation/appkit/nsbutton/2952059-minimumsizewithprioritizedcompre?language=objc +// MinimumSizeWithPrioritizedCompressionOptions returns the minimum size of the button by using the compression options. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/2952059-minimumsizewithprioritizedcompre?language=objc for details. func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) core.NSSize { @@ -10974,8 +11296,9 @@ func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( } -// PerformKeyEquivalent Checks the button's key equivalent against the specified event and, if they match, simulates the button being clicked. -// https://developer.apple.com/documentation/appkit/nsbutton/1524423-performkeyequivalent?language=objc +// PerformKeyEquivalent checks the button's key equivalent against the specified event and, if they match, simulates the button being clicked. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1524423-performkeyequivalent?language=objc for details. func (x gen_NSButton) PerformKeyEquivalent( key NSEventRef, ) bool { @@ -10988,8 +11311,9 @@ func (x gen_NSButton) PerformKeyEquivalent( } -// SetNextState Sets the button to its next state. -// https://developer.apple.com/documentation/appkit/nsbutton/1530594-setnextstate?language=objc +// SetNextState sets the button to its next state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1530594-setnextstate?language=objc for details. func (x gen_NSButton) SetNextState() { C.NSButton_inst_setNextState( unsafe.Pointer(x.Pointer()), @@ -10999,7 +11323,9 @@ func (x gen_NSButton) SetNextState() { } -// Init_asNSButton +// Init +// +// See for details. func (x gen_NSButton) Init_asNSButton() NSButton { ret := C.NSButton_inst_init( unsafe.Pointer(x.Pointer()), @@ -11009,8 +11335,9 @@ func (x gen_NSButton) Init_asNSButton() NSButton { } -// ContentTintColor A tint color to use for the template image and text content. -// https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc +// ContentTintColor returns a tint color to use for the template image and text content. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc for details. func (x gen_NSButton) ContentTintColor() NSColor { ret := C.NSButton_inst_contentTintColor( unsafe.Pointer(x.Pointer()), @@ -11020,8 +11347,9 @@ func (x gen_NSButton) ContentTintColor() NSColor { } -// SetContentTintColor A tint color to use for the template image and text content. -// https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc +// SetContentTintColor returns a tint color to use for the template image and text content. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc for details. func (x gen_NSButton) SetContentTintColor( value NSColorRef, ) { @@ -11034,8 +11362,9 @@ func (x gen_NSButton) SetContentTintColor( } -// HasDestructiveAction A Boolean value that defines whether a button’s action has a destructive effect. -// https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc +// HasDestructiveAction returns a boolean value that defines whether a button’s action has a destructive effect. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc for details. func (x gen_NSButton) HasDestructiveAction() bool { ret := C.NSButton_inst_hasDestructiveAction( unsafe.Pointer(x.Pointer()), @@ -11045,8 +11374,9 @@ func (x gen_NSButton) HasDestructiveAction() bool { } -// SetHasDestructiveAction A Boolean value that defines whether a button’s action has a destructive effect. -// https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc +// SetHasDestructiveAction returns a boolean value that defines whether a button’s action has a destructive effect. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc for details. func (x gen_NSButton) SetHasDestructiveAction( value bool, ) { @@ -11059,8 +11389,9 @@ func (x gen_NSButton) SetHasDestructiveAction( } -// AlternateTitle The title that the button displays when the button is in an on state. -// https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc +// AlternateTitle returns the title that the button displays when the button is in an on state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc for details. func (x gen_NSButton) AlternateTitle() core.NSString { ret := C.NSButton_inst_alternateTitle( unsafe.Pointer(x.Pointer()), @@ -11070,8 +11401,9 @@ func (x gen_NSButton) AlternateTitle() core.NSString { } -// SetAlternateTitle The title that the button displays when the button is in an on state. -// https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc +// SetAlternateTitle returns the title that the button displays when the button is in an on state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc for details. func (x gen_NSButton) SetAlternateTitle( value core.NSStringRef, ) { @@ -11084,8 +11416,9 @@ func (x gen_NSButton) SetAlternateTitle( } -// AttributedTitle The title that the button displays in an off state, as an attributed string. -// https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc +// AttributedTitle returns the title that the button displays in an off state, as an attributed string. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc for details. func (x gen_NSButton) AttributedTitle() core.NSAttributedString { ret := C.NSButton_inst_attributedTitle( unsafe.Pointer(x.Pointer()), @@ -11095,8 +11428,9 @@ func (x gen_NSButton) AttributedTitle() core.NSAttributedString { } -// SetAttributedTitle The title that the button displays in an off state, as an attributed string. -// https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc +// SetAttributedTitle returns the title that the button displays in an off state, as an attributed string. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc for details. func (x gen_NSButton) SetAttributedTitle( value core.NSAttributedStringRef, ) { @@ -11109,8 +11443,9 @@ func (x gen_NSButton) SetAttributedTitle( } -// AttributedAlternateTitle The title that the button displays as an attributed string when the button is in an on state. -// https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc +// AttributedAlternateTitle returns the title that the button displays as an attributed string when the button is in an on state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc for details. func (x gen_NSButton) AttributedAlternateTitle() core.NSAttributedString { ret := C.NSButton_inst_attributedAlternateTitle( unsafe.Pointer(x.Pointer()), @@ -11120,8 +11455,9 @@ func (x gen_NSButton) AttributedAlternateTitle() core.NSAttributedString { } -// SetAttributedAlternateTitle The title that the button displays as an attributed string when the button is in an on state. -// https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc +// SetAttributedAlternateTitle returns the title that the button displays as an attributed string when the button is in an on state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc for details. func (x gen_NSButton) SetAttributedAlternateTitle( value core.NSAttributedStringRef, ) { @@ -11134,8 +11470,9 @@ func (x gen_NSButton) SetAttributedAlternateTitle( } -// Title The title displayed on the button when it’s in an off state. -// https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc +// Title returns the title displayed on the button when it’s in an off state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc for details. func (x gen_NSButton) Title() core.NSString { ret := C.NSButton_inst_title( unsafe.Pointer(x.Pointer()), @@ -11145,8 +11482,9 @@ func (x gen_NSButton) Title() core.NSString { } -// SetTitle The title displayed on the button when it’s in an off state. -// https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc +// SetTitle returns the title displayed on the button when it’s in an off state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc for details. func (x gen_NSButton) SetTitle( value core.NSStringRef, ) { @@ -11159,8 +11497,9 @@ func (x gen_NSButton) SetTitle( } -// Sound The sound that plays when the user clicks the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc +// Sound returns the sound that plays when the user clicks the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc for details. func (x gen_NSButton) Sound() NSSound { ret := C.NSButton_inst_sound( unsafe.Pointer(x.Pointer()), @@ -11170,8 +11509,9 @@ func (x gen_NSButton) Sound() NSSound { } -// SetSound The sound that plays when the user clicks the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc +// SetSound returns the sound that plays when the user clicks the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc for details. func (x gen_NSButton) SetSound( value NSSoundRef, ) { @@ -11184,8 +11524,9 @@ func (x gen_NSButton) SetSound( } -// IsSpringLoaded A Boolean value that indicates whether spring loading is enabled for the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc +// IsSpringLoaded returns a boolean value that indicates whether spring loading is enabled for the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc for details. func (x gen_NSButton) IsSpringLoaded() bool { ret := C.NSButton_inst_isSpringLoaded( unsafe.Pointer(x.Pointer()), @@ -11195,8 +11536,9 @@ func (x gen_NSButton) IsSpringLoaded() bool { } -// SetSpringLoaded A Boolean value that indicates whether spring loading is enabled for the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc +// SetSpringLoaded returns a boolean value that indicates whether spring loading is enabled for the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc for details. func (x gen_NSButton) SetSpringLoaded( value bool, ) { @@ -11209,8 +11551,9 @@ func (x gen_NSButton) SetSpringLoaded( } -// MaxAcceleratorLevel An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton. -// https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc +// MaxAcceleratorLevel an integer value indicating the maximum pressure level for a button of type nsmultilevelacceleratorbutton. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc for details. func (x gen_NSButton) MaxAcceleratorLevel() core.NSInteger { ret := C.NSButton_inst_maxAcceleratorLevel( unsafe.Pointer(x.Pointer()), @@ -11220,8 +11563,9 @@ func (x gen_NSButton) MaxAcceleratorLevel() core.NSInteger { } -// SetMaxAcceleratorLevel An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton. -// https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc +// SetMaxAcceleratorLevel an integer value indicating the maximum pressure level for a button of type nsmultilevelacceleratorbutton. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc for details. func (x gen_NSButton) SetMaxAcceleratorLevel( value core.NSInteger, ) { @@ -11234,8 +11578,9 @@ func (x gen_NSButton) SetMaxAcceleratorLevel( } -// Image The image that appears on the button when it’s in an off state, or nil if there is no such image. -// https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc +// Image returns the image that appears on the button when it’s in an off state, or nil if there is no such image. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc for details. func (x gen_NSButton) Image() NSImage { ret := C.NSButton_inst_image( unsafe.Pointer(x.Pointer()), @@ -11245,8 +11590,9 @@ func (x gen_NSButton) Image() NSImage { } -// SetImage The image that appears on the button when it’s in an off state, or nil if there is no such image. -// https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc +// SetImage returns the image that appears on the button when it’s in an off state, or nil if there is no such image. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc for details. func (x gen_NSButton) SetImage( value NSImageRef, ) { @@ -11259,8 +11605,9 @@ func (x gen_NSButton) SetImage( } -// AlternateImage An alternate image that appears on the button when the button is in an on state. -// https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc +// AlternateImage an alternate image that appears on the button when the button is in an on state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc for details. func (x gen_NSButton) AlternateImage() NSImage { ret := C.NSButton_inst_alternateImage( unsafe.Pointer(x.Pointer()), @@ -11270,8 +11617,9 @@ func (x gen_NSButton) AlternateImage() NSImage { } -// SetAlternateImage An alternate image that appears on the button when the button is in an on state. -// https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc +// SetAlternateImage an alternate image that appears on the button when the button is in an on state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc for details. func (x gen_NSButton) SetAlternateImage( value NSImageRef, ) { @@ -11284,8 +11632,9 @@ func (x gen_NSButton) SetAlternateImage( } -// IsBordered A Boolean value that determines whether the button has a border. -// https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc +// IsBordered returns a boolean value that determines whether the button has a border. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc for details. func (x gen_NSButton) IsBordered() bool { ret := C.NSButton_inst_isBordered( unsafe.Pointer(x.Pointer()), @@ -11295,8 +11644,9 @@ func (x gen_NSButton) IsBordered() bool { } -// SetBordered A Boolean value that determines whether the button has a border. -// https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc +// SetBordered returns a boolean value that determines whether the button has a border. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc for details. func (x gen_NSButton) SetBordered( value bool, ) { @@ -11309,8 +11659,9 @@ func (x gen_NSButton) SetBordered( } -// IsTransparent A Boolean value that indicates whether the button is transparent. -// https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc +// IsTransparent returns a boolean value that indicates whether the button is transparent. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc for details. func (x gen_NSButton) IsTransparent() bool { ret := C.NSButton_inst_isTransparent( unsafe.Pointer(x.Pointer()), @@ -11320,8 +11671,9 @@ func (x gen_NSButton) IsTransparent() bool { } -// SetTransparent A Boolean value that indicates whether the button is transparent. -// https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc +// SetTransparent returns a boolean value that indicates whether the button is transparent. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc for details. func (x gen_NSButton) SetTransparent( value bool, ) { @@ -11334,8 +11686,9 @@ func (x gen_NSButton) SetTransparent( } -// BezelColor The color of the button's bezel, in appearances that support it. -// https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc +// BezelColor returns the color of the button's bezel, in appearances that support it. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc for details. func (x gen_NSButton) BezelColor() NSColor { ret := C.NSButton_inst_bezelColor( unsafe.Pointer(x.Pointer()), @@ -11345,8 +11698,9 @@ func (x gen_NSButton) BezelColor() NSColor { } -// SetBezelColor The color of the button's bezel, in appearances that support it. -// https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc +// SetBezelColor returns the color of the button's bezel, in appearances that support it. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc for details. func (x gen_NSButton) SetBezelColor( value NSColorRef, ) { @@ -11359,8 +11713,9 @@ func (x gen_NSButton) SetBezelColor( } -// ShowsBorderOnlyWhileMouseInside A Boolean value that determines whether the button displays its border only when the pointer is over it. -// https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc +// ShowsBorderOnlyWhileMouseInside returns a boolean value that determines whether the button displays its border only when the pointer is over it. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc for details. func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() bool { ret := C.NSButton_inst_showsBorderOnlyWhileMouseInside( unsafe.Pointer(x.Pointer()), @@ -11370,8 +11725,9 @@ func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() bool { } -// SetShowsBorderOnlyWhileMouseInside A Boolean value that determines whether the button displays its border only when the pointer is over it. -// https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc +// SetShowsBorderOnlyWhileMouseInside returns a boolean value that determines whether the button displays its border only when the pointer is over it. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc for details. func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( value bool, ) { @@ -11384,8 +11740,9 @@ func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( } -// ImageHugsTitle A Boolean value that determines how the button’s image and title are positioned together within the button bezel. -// https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc +// ImageHugsTitle returns a boolean value that determines how the button’s image and title are positioned together within the button bezel. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc for details. func (x gen_NSButton) ImageHugsTitle() bool { ret := C.NSButton_inst_imageHugsTitle( unsafe.Pointer(x.Pointer()), @@ -11395,8 +11752,9 @@ func (x gen_NSButton) ImageHugsTitle() bool { } -// SetImageHugsTitle A Boolean value that determines how the button’s image and title are positioned together within the button bezel. -// https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc +// SetImageHugsTitle returns a boolean value that determines how the button’s image and title are positioned together within the button bezel. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc for details. func (x gen_NSButton) SetImageHugsTitle( value bool, ) { @@ -11409,8 +11767,9 @@ func (x gen_NSButton) SetImageHugsTitle( } -// AllowsMixedState A Boolean value that indicates whether the button allows a mixed state. -// https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc +// AllowsMixedState returns a boolean value that indicates whether the button allows a mixed state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc for details. func (x gen_NSButton) AllowsMixedState() bool { ret := C.NSButton_inst_allowsMixedState( unsafe.Pointer(x.Pointer()), @@ -11420,8 +11779,9 @@ func (x gen_NSButton) AllowsMixedState() bool { } -// SetAllowsMixedState A Boolean value that indicates whether the button allows a mixed state. -// https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc +// SetAllowsMixedState returns a boolean value that indicates whether the button allows a mixed state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc for details. func (x gen_NSButton) SetAllowsMixedState( value bool, ) { @@ -11434,8 +11794,9 @@ func (x gen_NSButton) SetAllowsMixedState( } -// State The button’s state. -// https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc +// State returns the button’s state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc for details. func (x gen_NSButton) State() core.NSInteger { ret := C.NSButton_inst_state( unsafe.Pointer(x.Pointer()), @@ -11445,8 +11806,9 @@ func (x gen_NSButton) State() core.NSInteger { } -// SetState The button’s state. -// https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc +// SetState returns the button’s state. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc for details. func (x gen_NSButton) SetState( value core.NSInteger, ) { @@ -11459,8 +11821,9 @@ func (x gen_NSButton) SetState( } -// KeyEquivalent The key-equivalent character of the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc +// KeyEquivalent returns the key-equivalent character of the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc for details. func (x gen_NSButton) KeyEquivalent() core.NSString { ret := C.NSButton_inst_keyEquivalent( unsafe.Pointer(x.Pointer()), @@ -11470,8 +11833,9 @@ func (x gen_NSButton) KeyEquivalent() core.NSString { } -// SetKeyEquivalent The key-equivalent character of the button. -// https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc +// SetKeyEquivalent returns the key-equivalent character of the button. +// +// See https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc for details. func (x gen_NSButton) SetKeyEquivalent( value core.NSStringRef, ) { @@ -11503,7 +11867,9 @@ func NSEvent_fromRef(ref objc.Ref) NSEvent { return NSEvent_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Init_asNSEvent +// Init +// +// See for details. func (x gen_NSEvent) Init_asNSEvent() NSEvent { ret := C.NSEvent_inst_init( unsafe.Pointer(x.Pointer()), @@ -11513,8 +11879,9 @@ func (x gen_NSEvent) Init_asNSEvent() NSEvent { } -// LocationInWindow The receiver’s location in the base coordinate system of the associated window. -// https://developer.apple.com/documentation/appkit/nsevent/1529068-locationinwindow?language=objc +// LocationInWindow returns the receiver’s location in the base coordinate system of the associated window. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1529068-locationinwindow?language=objc for details. func (x gen_NSEvent) LocationInWindow() core.NSPoint { ret := C.NSEvent_inst_locationInWindow( unsafe.Pointer(x.Pointer()), @@ -11524,8 +11891,9 @@ func (x gen_NSEvent) LocationInWindow() core.NSPoint { } -// Window The window object associated with the event. -// https://developer.apple.com/documentation/appkit/nsevent/1530808-window?language=objc +// Window returns the window object associated with the event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1530808-window?language=objc for details. func (x gen_NSEvent) Window() NSWindow { ret := C.NSEvent_inst_window( unsafe.Pointer(x.Pointer()), @@ -11535,8 +11903,9 @@ func (x gen_NSEvent) Window() NSWindow { } -// WindowNumber The identifier for the window device associated with the event. -// https://developer.apple.com/documentation/appkit/nsevent/1531361-windownumber?language=objc +// WindowNumber returns the identifier for the window device associated with the event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1531361-windownumber?language=objc for details. func (x gen_NSEvent) WindowNumber() core.NSInteger { ret := C.NSEvent_inst_windowNumber( unsafe.Pointer(x.Pointer()), @@ -11546,8 +11915,9 @@ func (x gen_NSEvent) WindowNumber() core.NSInteger { } -// EventRef An opaque Carbon type associated with this event. -// https://developer.apple.com/documentation/appkit/nsevent/1525143-eventref?language=objc +// EventRef an opaque carbon type associated with this event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1525143-eventref?language=objc for details. func (x gen_NSEvent) EventRef() unsafe.Pointer { ret := C.NSEvent_inst_eventRef( unsafe.Pointer(x.Pointer()), @@ -11557,8 +11927,9 @@ func (x gen_NSEvent) EventRef() unsafe.Pointer { } -// Characters The characters associated with a key-up or key-down event. -// https://developer.apple.com/documentation/appkit/nsevent/1534183-characters?language=objc +// Characters returns the characters associated with a key-up or key-down event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1534183-characters?language=objc for details. func (x gen_NSEvent) Characters() core.NSString { ret := C.NSEvent_inst_characters( unsafe.Pointer(x.Pointer()), @@ -11568,8 +11939,9 @@ func (x gen_NSEvent) Characters() core.NSString { } -// CharactersIgnoringModifiers The characters generated by a key event as if no modifier key (except for Shift) applies. -// https://developer.apple.com/documentation/appkit/nsevent/1524605-charactersignoringmodifiers?language=objc +// CharactersIgnoringModifiers returns the characters generated by a key event as if no modifier key (except for shift) applies. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1524605-charactersignoringmodifiers?language=objc for details. func (x gen_NSEvent) CharactersIgnoringModifiers() core.NSString { ret := C.NSEvent_inst_charactersIgnoringModifiers( unsafe.Pointer(x.Pointer()), @@ -11579,8 +11951,9 @@ func (x gen_NSEvent) CharactersIgnoringModifiers() core.NSString { } -// IsARepeat A Boolean value that indicates whether the key event is a repeat. -// https://developer.apple.com/documentation/appkit/nsevent/1528049-arepeat?language=objc +// IsARepeat returns a boolean value that indicates whether the key event is a repeat. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528049-arepeat?language=objc for details. func (x gen_NSEvent) IsARepeat() bool { ret := C.NSEvent_inst_isARepeat( unsafe.Pointer(x.Pointer()), @@ -11590,8 +11963,9 @@ func (x gen_NSEvent) IsARepeat() bool { } -// ButtonNumber The button number for a mouse event. -// https://developer.apple.com/documentation/appkit/nsevent/1527828-buttonnumber?language=objc +// ButtonNumber returns the button number for a mouse event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1527828-buttonnumber?language=objc for details. func (x gen_NSEvent) ButtonNumber() core.NSInteger { ret := C.NSEvent_inst_buttonNumber( unsafe.Pointer(x.Pointer()), @@ -11601,8 +11975,9 @@ func (x gen_NSEvent) ButtonNumber() core.NSInteger { } -// ClickCount The number of mouse clicks associated with a mouse-down or mouse-up event. -// https://developer.apple.com/documentation/appkit/nsevent/1528200-clickcount?language=objc +// ClickCount returns the number of mouse clicks associated with a mouse-down or mouse-up event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528200-clickcount?language=objc for details. func (x gen_NSEvent) ClickCount() core.NSInteger { ret := C.NSEvent_inst_clickCount( unsafe.Pointer(x.Pointer()), @@ -11612,8 +11987,9 @@ func (x gen_NSEvent) ClickCount() core.NSInteger { } -// EventNumber The counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter. -// https://developer.apple.com/documentation/appkit/nsevent/1535220-eventnumber?language=objc +// EventNumber returns the counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1535220-eventnumber?language=objc for details. func (x gen_NSEvent) EventNumber() core.NSInteger { ret := C.NSEvent_inst_eventNumber( unsafe.Pointer(x.Pointer()), @@ -11623,8 +11999,9 @@ func (x gen_NSEvent) EventNumber() core.NSInteger { } -// TrackingNumber The identifier of a mouse-tracking event. -// https://developer.apple.com/documentation/appkit/nsevent/1533974-trackingnumber?language=objc +// TrackingNumber returns the identifier of a mouse-tracking event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1533974-trackingnumber?language=objc for details. func (x gen_NSEvent) TrackingNumber() core.NSInteger { ret := C.NSEvent_inst_trackingNumber( unsafe.Pointer(x.Pointer()), @@ -11634,8 +12011,9 @@ func (x gen_NSEvent) TrackingNumber() core.NSInteger { } -// UserData The data associated with a mouse-tracking event. -// https://developer.apple.com/documentation/appkit/nsevent/1526810-userdata?language=objc +// UserData returns the data associated with a mouse-tracking event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1526810-userdata?language=objc for details. func (x gen_NSEvent) UserData() unsafe.Pointer { ret := C.NSEvent_inst_userData( unsafe.Pointer(x.Pointer()), @@ -11645,8 +12023,9 @@ func (x gen_NSEvent) UserData() unsafe.Pointer { } -// Data1 Additional data associated with this event. -// https://developer.apple.com/documentation/appkit/nsevent/1528289-data1?language=objc +// Data1 additional data associated with this event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528289-data1?language=objc for details. func (x gen_NSEvent) Data1() core.NSInteger { ret := C.NSEvent_inst_data1( unsafe.Pointer(x.Pointer()), @@ -11656,8 +12035,9 @@ func (x gen_NSEvent) Data1() core.NSInteger { } -// Data2 Additional data associated with this event. -// https://developer.apple.com/documentation/appkit/nsevent/1528647-data2?language=objc +// Data2 additional data associated with this event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528647-data2?language=objc for details. func (x gen_NSEvent) Data2() core.NSInteger { ret := C.NSEvent_inst_data2( unsafe.Pointer(x.Pointer()), @@ -11667,8 +12047,9 @@ func (x gen_NSEvent) Data2() core.NSInteger { } -// DeltaX The x-coordinate change for mouse-move, mouse-drag, and swipe events. -// https://developer.apple.com/documentation/appkit/nsevent/1534871-deltax?language=objc +// DeltaX returns the x-coordinate change for mouse-move, mouse-drag, and swipe events. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1534871-deltax?language=objc for details. func (x gen_NSEvent) DeltaX() core.CGFloat { ret := C.NSEvent_inst_deltaX( unsafe.Pointer(x.Pointer()), @@ -11678,8 +12059,9 @@ func (x gen_NSEvent) DeltaX() core.CGFloat { } -// DeltaY The y-coordinate change for mouse-move, mouse-drag, and swipe events. -// https://developer.apple.com/documentation/appkit/nsevent/1534158-deltay?language=objc +// DeltaY returns the y-coordinate change for mouse-move, mouse-drag, and swipe events. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1534158-deltay?language=objc for details. func (x gen_NSEvent) DeltaY() core.CGFloat { ret := C.NSEvent_inst_deltaY( unsafe.Pointer(x.Pointer()), @@ -11689,8 +12071,9 @@ func (x gen_NSEvent) DeltaY() core.CGFloat { } -// DeltaZ The z-coordinate change for a scroll wheel, mouse-move, or mouse-drag event. -// https://developer.apple.com/documentation/appkit/nsevent/1531528-deltaz?language=objc +// DeltaZ returns the z-coordinate change for a scroll wheel, mouse-move, or mouse-drag event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1531528-deltaz?language=objc for details. func (x gen_NSEvent) DeltaZ() core.CGFloat { ret := C.NSEvent_inst_deltaZ( unsafe.Pointer(x.Pointer()), @@ -11700,8 +12083,9 @@ func (x gen_NSEvent) DeltaZ() core.CGFloat { } -// Stage A value of 0, 1, or 2, indicating the stage of a gesture event of type NSEventTypePressure. -// https://developer.apple.com/documentation/appkit/nsevent/1527242-stage?language=objc +// Stage returns a value of 0, 1, or 2, indicating the stage of a gesture event of type nseventtypepressure. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1527242-stage?language=objc for details. func (x gen_NSEvent) Stage() core.NSInteger { ret := C.NSEvent_inst_stage( unsafe.Pointer(x.Pointer()), @@ -11711,8 +12095,9 @@ func (x gen_NSEvent) Stage() core.NSInteger { } -// StageTransition The transition value for the stage of a pressure gesture event of type NSEventTypePressure. -// https://developer.apple.com/documentation/appkit/nsevent/1526739-stagetransition?language=objc +// StageTransition returns the transition value for the stage of a pressure gesture event of type nseventtypepressure. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1526739-stagetransition?language=objc for details. func (x gen_NSEvent) StageTransition() core.CGFloat { ret := C.NSEvent_inst_stageTransition( unsafe.Pointer(x.Pointer()), @@ -11722,8 +12107,9 @@ func (x gen_NSEvent) StageTransition() core.CGFloat { } -// CapabilityMask A mask whose set bits indicate the capabilities of the tablet device that generated this event. -// https://developer.apple.com/documentation/appkit/nsevent/1534648-capabilitymask?language=objc +// CapabilityMask returns a mask whose set bits indicate the capabilities of the tablet device that generated this event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1534648-capabilitymask?language=objc for details. func (x gen_NSEvent) CapabilityMask() core.NSUInteger { ret := C.NSEvent_inst_capabilityMask( unsafe.Pointer(x.Pointer()), @@ -11733,8 +12119,9 @@ func (x gen_NSEvent) CapabilityMask() core.NSUInteger { } -// DeviceID A special identifier that is used to match tablet-pointer and tablet-proximity events. -// https://developer.apple.com/documentation/appkit/nsevent/1530014-deviceid?language=objc +// DeviceID returns a special identifier that is used to match tablet-pointer and tablet-proximity events. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1530014-deviceid?language=objc for details. func (x gen_NSEvent) DeviceID() core.NSUInteger { ret := C.NSEvent_inst_deviceID( unsafe.Pointer(x.Pointer()), @@ -11744,8 +12131,9 @@ func (x gen_NSEvent) DeviceID() core.NSUInteger { } -// IsEnteringProximity A Boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet. -// https://developer.apple.com/documentation/appkit/nsevent/1531702-enteringproximity?language=objc +// IsEnteringProximity returns a boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1531702-enteringproximity?language=objc for details. func (x gen_NSEvent) IsEnteringProximity() bool { ret := C.NSEvent_inst_isEnteringProximity( unsafe.Pointer(x.Pointer()), @@ -11755,8 +12143,9 @@ func (x gen_NSEvent) IsEnteringProximity() bool { } -// PointingDeviceID The index of the pointing device currently in proximity with the tablet. -// https://developer.apple.com/documentation/appkit/nsevent/1528818-pointingdeviceid?language=objc +// PointingDeviceID returns the index of the pointing device currently in proximity with the tablet. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528818-pointingdeviceid?language=objc for details. func (x gen_NSEvent) PointingDeviceID() core.NSUInteger { ret := C.NSEvent_inst_pointingDeviceID( unsafe.Pointer(x.Pointer()), @@ -11766,8 +12155,9 @@ func (x gen_NSEvent) PointingDeviceID() core.NSUInteger { } -// PointingDeviceSerialNumber The vendor-assigned serial number of a pointing device. -// https://developer.apple.com/documentation/appkit/nsevent/1533420-pointingdeviceserialnumber?language=objc +// PointingDeviceSerialNumber returns the vendor-assigned serial number of a pointing device. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1533420-pointingdeviceserialnumber?language=objc for details. func (x gen_NSEvent) PointingDeviceSerialNumber() core.NSUInteger { ret := C.NSEvent_inst_pointingDeviceSerialNumber( unsafe.Pointer(x.Pointer()), @@ -11777,8 +12167,9 @@ func (x gen_NSEvent) PointingDeviceSerialNumber() core.NSUInteger { } -// SystemTabletID The index of the tablet device connected to the system. -// https://developer.apple.com/documentation/appkit/nsevent/1528299-systemtabletid?language=objc +// SystemTabletID returns the index of the tablet device connected to the system. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528299-systemtabletid?language=objc for details. func (x gen_NSEvent) SystemTabletID() core.NSUInteger { ret := C.NSEvent_inst_systemTabletID( unsafe.Pointer(x.Pointer()), @@ -11788,8 +12179,9 @@ func (x gen_NSEvent) SystemTabletID() core.NSUInteger { } -// TabletID The USB model identifier of the tablet device associated with this event. -// https://developer.apple.com/documentation/appkit/nsevent/1527003-tabletid?language=objc +// TabletID returns the usb model identifier of the tablet device associated with this event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1527003-tabletid?language=objc for details. func (x gen_NSEvent) TabletID() core.NSUInteger { ret := C.NSEvent_inst_tabletID( unsafe.Pointer(x.Pointer()), @@ -11799,8 +12191,9 @@ func (x gen_NSEvent) TabletID() core.NSUInteger { } -// VendorID The vendor identifier of the tablet associated with the event. -// https://developer.apple.com/documentation/appkit/nsevent/1525177-vendorid?language=objc +// VendorID returns the vendor identifier of the tablet associated with the event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1525177-vendorid?language=objc for details. func (x gen_NSEvent) VendorID() core.NSUInteger { ret := C.NSEvent_inst_vendorID( unsafe.Pointer(x.Pointer()), @@ -11810,8 +12203,9 @@ func (x gen_NSEvent) VendorID() core.NSUInteger { } -// VendorPointingDeviceType A coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the event. -// https://developer.apple.com/documentation/appkit/nsevent/1527736-vendorpointingdevicetype?language=objc +// VendorPointingDeviceType returns a coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1527736-vendorpointingdevicetype?language=objc for details. func (x gen_NSEvent) VendorPointingDeviceType() core.NSUInteger { ret := C.NSEvent_inst_vendorPointingDeviceType( unsafe.Pointer(x.Pointer()), @@ -11821,8 +12215,9 @@ func (x gen_NSEvent) VendorPointingDeviceType() core.NSUInteger { } -// AbsoluteX The absolute x coordinate of a pointing device on its tablet at full tablet resolution. -// https://developer.apple.com/documentation/appkit/nsevent/1530617-absolutex?language=objc +// AbsoluteX returns the absolute x coordinate of a pointing device on its tablet at full tablet resolution. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1530617-absolutex?language=objc for details. func (x gen_NSEvent) AbsoluteX() core.NSInteger { ret := C.NSEvent_inst_absoluteX( unsafe.Pointer(x.Pointer()), @@ -11832,8 +12227,9 @@ func (x gen_NSEvent) AbsoluteX() core.NSInteger { } -// AbsoluteY The absolute y coordinate of a pointing device on its tablet at full tablet resolution. -// https://developer.apple.com/documentation/appkit/nsevent/1528904-absolutey?language=objc +// AbsoluteY returns the absolute y coordinate of a pointing device on its tablet at full tablet resolution. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1528904-absolutey?language=objc for details. func (x gen_NSEvent) AbsoluteY() core.NSInteger { ret := C.NSEvent_inst_absoluteY( unsafe.Pointer(x.Pointer()), @@ -11843,8 +12239,9 @@ func (x gen_NSEvent) AbsoluteY() core.NSInteger { } -// AbsoluteZ The absolute z coordinate of pointing device on its tablet at full tablet resolution. -// https://developer.apple.com/documentation/appkit/nsevent/1532154-absolutez?language=objc +// AbsoluteZ returns the absolute z coordinate of pointing device on its tablet at full tablet resolution. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1532154-absolutez?language=objc for details. func (x gen_NSEvent) AbsoluteZ() core.NSInteger { ret := C.NSEvent_inst_absoluteZ( unsafe.Pointer(x.Pointer()), @@ -11854,8 +12251,9 @@ func (x gen_NSEvent) AbsoluteZ() core.NSInteger { } -// Tilt The scaled tilt values of the pointing device that generated this event. -// https://developer.apple.com/documentation/appkit/nsevent/1534226-tilt?language=objc +// Tilt returns the scaled tilt values of the pointing device that generated this event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1534226-tilt?language=objc for details. func (x gen_NSEvent) Tilt() core.NSPoint { ret := C.NSEvent_inst_tilt( unsafe.Pointer(x.Pointer()), @@ -11865,8 +12263,9 @@ func (x gen_NSEvent) Tilt() core.NSPoint { } -// VendorDefined An array of three vendor-defined NSNumber objects associated with a pointing-type event. -// https://developer.apple.com/documentation/appkit/nsevent/1530551-vendordefined?language=objc +// VendorDefined an array of three vendor-defined nsnumber objects associated with a pointing-type event. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1530551-vendordefined?language=objc for details. func (x gen_NSEvent) VendorDefined() objc.Object { ret := C.NSEvent_inst_vendorDefined( unsafe.Pointer(x.Pointer()), @@ -11876,8 +12275,9 @@ func (x gen_NSEvent) VendorDefined() objc.Object { } -// Magnification The change in magnification. -// https://developer.apple.com/documentation/appkit/nsevent/1531642-magnification?language=objc +// Magnification returns the change in magnification. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1531642-magnification?language=objc for details. func (x gen_NSEvent) Magnification() core.CGFloat { ret := C.NSEvent_inst_magnification( unsafe.Pointer(x.Pointer()), @@ -11887,8 +12287,9 @@ func (x gen_NSEvent) Magnification() core.CGFloat { } -// HasPreciseScrollingDeltas A Boolean value that indicates whether precise scrolling deltas are available. -// https://developer.apple.com/documentation/appkit/nsevent/1525758-hasprecisescrollingdeltas?language=objc +// HasPreciseScrollingDeltas returns a boolean value that indicates whether precise scrolling deltas are available. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1525758-hasprecisescrollingdeltas?language=objc for details. func (x gen_NSEvent) HasPreciseScrollingDeltas() bool { ret := C.NSEvent_inst_hasPreciseScrollingDeltas( unsafe.Pointer(x.Pointer()), @@ -11898,8 +12299,9 @@ func (x gen_NSEvent) HasPreciseScrollingDeltas() bool { } -// ScrollingDeltaX The scroll wheel’s horizontal delta. -// https://developer.apple.com/documentation/appkit/nsevent/1524505-scrollingdeltax?language=objc +// ScrollingDeltaX returns the scroll wheel’s horizontal delta. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1524505-scrollingdeltax?language=objc for details. func (x gen_NSEvent) ScrollingDeltaX() core.CGFloat { ret := C.NSEvent_inst_scrollingDeltaX( unsafe.Pointer(x.Pointer()), @@ -11909,8 +12311,9 @@ func (x gen_NSEvent) ScrollingDeltaX() core.CGFloat { } -// ScrollingDeltaY The scroll wheel’s vertical delta. -// https://developer.apple.com/documentation/appkit/nsevent/1535387-scrollingdeltay?language=objc +// ScrollingDeltaY returns the scroll wheel’s vertical delta. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1535387-scrollingdeltay?language=objc for details. func (x gen_NSEvent) ScrollingDeltaY() core.CGFloat { ret := C.NSEvent_inst_scrollingDeltaY( unsafe.Pointer(x.Pointer()), @@ -11920,8 +12323,9 @@ func (x gen_NSEvent) ScrollingDeltaY() core.CGFloat { } -// IsDirectionInvertedFromDevice A Boolean value that indicates whether the user has changed the device inversion. -// https://developer.apple.com/documentation/appkit/nsevent/1525151-directioninvertedfromdevice?language=objc +// IsDirectionInvertedFromDevice returns a boolean value that indicates whether the user has changed the device inversion. +// +// See https://developer.apple.com/documentation/appkit/nsevent/1525151-directioninvertedfromdevice?language=objc for details. func (x gen_NSEvent) IsDirectionInvertedFromDevice() bool { ret := C.NSEvent_inst_isDirectionInvertedFromDevice( unsafe.Pointer(x.Pointer()), @@ -11951,7 +12355,8 @@ func NSFont_fromRef(ref objc.Ref) NSFont { } // FontWithSize -// https://developer.apple.com/documentation/appkit/nsfont/3667454-fontwithsize?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsfont/3667454-fontwithsize?language=objc for details. func (x gen_NSFont) FontWithSize( fontSize core.CGFloat, ) NSFont { @@ -11964,8 +12369,9 @@ func (x gen_NSFont) FontWithSize( } -// Set Sets this font as the font for the current graphics context. -// https://developer.apple.com/documentation/appkit/nsfont/1531373-set?language=objc +// Set sets this font as the font for the current graphics context. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1531373-set?language=objc for details. func (x gen_NSFont) Set() { C.NSFont_inst_set( unsafe.Pointer(x.Pointer()), @@ -11975,7 +12381,9 @@ func (x gen_NSFont) Set() { } -// Init_asNSFont +// Init +// +// See for details. func (x gen_NSFont) Init_asNSFont() NSFont { ret := C.NSFont_inst_init( unsafe.Pointer(x.Pointer()), @@ -11985,8 +12393,9 @@ func (x gen_NSFont) Init_asNSFont() NSFont { } -// PointSize The point size of the font. -// https://developer.apple.com/documentation/appkit/nsfont/1524511-pointsize?language=objc +// PointSize returns the point size of the font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1524511-pointsize?language=objc for details. func (x gen_NSFont) PointSize() core.CGFloat { ret := C.NSFont_inst_pointSize( unsafe.Pointer(x.Pointer()), @@ -11996,8 +12405,9 @@ func (x gen_NSFont) PointSize() core.CGFloat { } -// IsFixedPitch A Boolean value indicating whether all glyphs in the font have the same advancement. -// https://developer.apple.com/documentation/appkit/nsfont/1529210-fixedpitch?language=objc +// IsFixedPitch returns a boolean value indicating whether all glyphs in the font have the same advancement. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1529210-fixedpitch?language=objc for details. func (x gen_NSFont) IsFixedPitch() bool { ret := C.NSFont_inst_isFixedPitch( unsafe.Pointer(x.Pointer()), @@ -12007,8 +12417,9 @@ func (x gen_NSFont) IsFixedPitch() bool { } -// MostCompatibleStringEncoding The string encoding that works best with the font. -// https://developer.apple.com/documentation/appkit/nsfont/1527635-mostcompatiblestringencoding?language=objc +// MostCompatibleStringEncoding returns the string encoding that works best with the font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1527635-mostcompatiblestringencoding?language=objc for details. func (x gen_NSFont) MostCompatibleStringEncoding() core.NSStringEncoding { ret := C.NSFont_inst_mostCompatibleStringEncoding( unsafe.Pointer(x.Pointer()), @@ -12018,8 +12429,9 @@ func (x gen_NSFont) MostCompatibleStringEncoding() core.NSStringEncoding { } -// NumberOfGlyphs The number of glyphs in the font. -// https://developer.apple.com/documentation/appkit/nsfont/1533968-numberofglyphs?language=objc +// NumberOfGlyphs returns the number of glyphs in the font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1533968-numberofglyphs?language=objc for details. func (x gen_NSFont) NumberOfGlyphs() core.NSUInteger { ret := C.NSFont_inst_numberOfGlyphs( unsafe.Pointer(x.Pointer()), @@ -12029,8 +12441,9 @@ func (x gen_NSFont) NumberOfGlyphs() core.NSUInteger { } -// DisplayName The name of the font, including family and face names, to use when displaying the font information to the user. -// https://developer.apple.com/documentation/appkit/nsfont/1531660-displayname?language=objc +// DisplayName returns the name of the font, including family and face names, to use when displaying the font information to the user. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1531660-displayname?language=objc for details. func (x gen_NSFont) DisplayName() core.NSString { ret := C.NSFont_inst_displayName( unsafe.Pointer(x.Pointer()), @@ -12040,8 +12453,9 @@ func (x gen_NSFont) DisplayName() core.NSString { } -// FamilyName The family name of the font—for example, “Times” or “Helvetica.” -// https://developer.apple.com/documentation/appkit/nsfont/1529585-familyname?language=objc +// FamilyName returns the family name of the font—for example, “times” or “helvetica.” +// +// See https://developer.apple.com/documentation/appkit/nsfont/1529585-familyname?language=objc for details. func (x gen_NSFont) FamilyName() core.NSString { ret := C.NSFont_inst_familyName( unsafe.Pointer(x.Pointer()), @@ -12051,8 +12465,9 @@ func (x gen_NSFont) FamilyName() core.NSString { } -// FontName The full name of the font, as used in PostScript language code—for example, “Times-Roman” or “Helvetica-Oblique.” -// https://developer.apple.com/documentation/appkit/nsfont/1526183-fontname?language=objc +// FontName returns the full name of the font, as used in postscript language code—for example, “times-roman” or “helvetica-oblique.” +// +// See https://developer.apple.com/documentation/appkit/nsfont/1526183-fontname?language=objc for details. func (x gen_NSFont) FontName() core.NSString { ret := C.NSFont_inst_fontName( unsafe.Pointer(x.Pointer()), @@ -12062,8 +12477,9 @@ func (x gen_NSFont) FontName() core.NSString { } -// IsVertical A Boolean value indicating whether the font is a vertical font. -// https://developer.apple.com/documentation/appkit/nsfont/1534644-vertical?language=objc +// IsVertical returns a boolean value indicating whether the font is a vertical font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1534644-vertical?language=objc for details. func (x gen_NSFont) IsVertical() bool { ret := C.NSFont_inst_isVertical( unsafe.Pointer(x.Pointer()), @@ -12073,8 +12489,9 @@ func (x gen_NSFont) IsVertical() bool { } -// VerticalFont A vertical version of the font. -// https://developer.apple.com/documentation/appkit/nsfont/1535152-verticalfont?language=objc +// VerticalFont returns a vertical version of the font. +// +// See https://developer.apple.com/documentation/appkit/nsfont/1535152-verticalfont?language=objc for details. func (x gen_NSFont) VerticalFont() NSFont { ret := C.NSFont_inst_verticalFont( unsafe.Pointer(x.Pointer()), @@ -12103,8 +12520,9 @@ func NSImage_fromRef(ref objc.Ref) NSImage { return NSImage_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddRepresentations Adds an array of image representation objects to the image. -// https://developer.apple.com/documentation/appkit/nsimage/1519964-addrepresentations?language=objc +// AddRepresentations adds an array of image representation objects to the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519964-addrepresentations?language=objc for details. func (x gen_NSImage) AddRepresentations( imageReps core.NSArrayRef, ) { @@ -12117,8 +12535,9 @@ func (x gen_NSImage) AddRepresentations( } -// CancelIncrementalLoad Cancels the current download operation, if any, for an incrementally loaded image. -// https://developer.apple.com/documentation/appkit/nsimage/1520041-cancelincrementalload?language=objc +// CancelIncrementalLoad cancels the current download operation, if any, for an incrementally loaded image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520041-cancelincrementalload?language=objc for details. func (x gen_NSImage) CancelIncrementalLoad() { C.NSImage_inst_cancelIncrementalLoad( unsafe.Pointer(x.Pointer()), @@ -12128,8 +12547,9 @@ func (x gen_NSImage) CancelIncrementalLoad() { } -// DrawInRect Draws the image in the specified rectangle. -// https://developer.apple.com/documentation/appkit/nsimage/1519863-drawinrect?language=objc +// DrawInRect draws the image in the specified rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519863-drawinrect?language=objc for details. func (x gen_NSImage) DrawInRect( rect core.NSRect, ) { @@ -12142,8 +12562,9 @@ func (x gen_NSImage) DrawInRect( } -// InitByReferencingFile_asNSImage Initializes and returns an image object using the specified file. -// https://developer.apple.com/documentation/appkit/nsimage/1519955-initbyreferencingfile?language=objc +// InitByReferencingFile initializes and returns an image object using the specified file. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519955-initbyreferencingfile?language=objc for details. func (x gen_NSImage) InitByReferencingFile_asNSImage( fileName core.NSStringRef, ) NSImage { @@ -12156,8 +12577,9 @@ func (x gen_NSImage) InitByReferencingFile_asNSImage( } -// InitByReferencingURL_asNSImage Initializes and returns an image object using the specified URL. -// https://developer.apple.com/documentation/appkit/nsimage/1519990-initbyreferencingurl?language=objc +// InitByReferencingURL initializes and returns an image object using the specified url. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519990-initbyreferencingurl?language=objc for details. func (x gen_NSImage) InitByReferencingURL_asNSImage( url core.NSURLRef, ) NSImage { @@ -12170,8 +12592,9 @@ func (x gen_NSImage) InitByReferencingURL_asNSImage( } -// InitWithContentsOfFile_asNSImage Initializes and returns an image object with the contents of the specified file. -// https://developer.apple.com/documentation/appkit/nsimage/1519918-initwithcontentsoffile?language=objc +// InitWithContentsOfFile initializes and returns an image object with the contents of the specified file. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519918-initwithcontentsoffile?language=objc for details. func (x gen_NSImage) InitWithContentsOfFile_asNSImage( fileName core.NSStringRef, ) NSImage { @@ -12184,8 +12607,9 @@ func (x gen_NSImage) InitWithContentsOfFile_asNSImage( } -// InitWithContentsOfURL_asNSImage Initializes and returns an image object with the contents of the specified URL. -// https://developer.apple.com/documentation/appkit/nsimage/1519907-initwithcontentsofurl?language=objc +// InitWithContentsOfURL initializes and returns an image object with the contents of the specified url. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519907-initwithcontentsofurl?language=objc for details. func (x gen_NSImage) InitWithContentsOfURL_asNSImage( url core.NSURLRef, ) NSImage { @@ -12198,8 +12622,9 @@ func (x gen_NSImage) InitWithContentsOfURL_asNSImage( } -// InitWithData_asNSImage Initializes and returns an image object using the provided image data. -// https://developer.apple.com/documentation/appkit/nsimage/1519941-initwithdata?language=objc +// InitWithData initializes and returns an image object using the provided image data. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519941-initwithdata?language=objc for details. func (x gen_NSImage) InitWithData_asNSImage( data core.NSDataRef, ) NSImage { @@ -12212,8 +12637,9 @@ func (x gen_NSImage) InitWithData_asNSImage( } -// InitWithDataIgnoringOrientation_asNSImage Initializes and returns an image object using the provided image data and ignoring the EXIF orientation tags. -// https://developer.apple.com/documentation/appkit/nsimage/1519915-initwithdataignoringorientation?language=objc +// InitWithDataIgnoringOrientation initializes and returns an image object using the provided image data and ignoring the exif orientation tags. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519915-initwithdataignoringorientation?language=objc for details. func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( data core.NSDataRef, ) NSImage { @@ -12226,8 +12652,9 @@ func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( } -// InitWithPasteboard_asNSImage Initializes and returns an image object with data from the specified pasteboard. -// https://developer.apple.com/documentation/appkit/nsimage/1519952-initwithpasteboard?language=objc +// InitWithPasteboard initializes and returns an image object with data from the specified pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519952-initwithpasteboard?language=objc for details. func (x gen_NSImage) InitWithPasteboard_asNSImage( pasteboard NSPasteboardRef, ) NSImage { @@ -12240,8 +12667,9 @@ func (x gen_NSImage) InitWithPasteboard_asNSImage( } -// InitWithSize_asNSImage Initializes and returns an image object with the specified dimensions. -// https://developer.apple.com/documentation/appkit/nsimage/1520033-initwithsize?language=objc +// InitWithSize initializes and returns an image object with the specified dimensions. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520033-initwithsize?language=objc for details. func (x gen_NSImage) InitWithSize_asNSImage( size core.NSSize, ) NSImage { @@ -12254,8 +12682,9 @@ func (x gen_NSImage) InitWithSize_asNSImage( } -// IsTemplate Returns a Boolean value that indicates whether the image is a template image. -// https://developer.apple.com/documentation/appkit/nsimage/1807274-istemplate?language=objc +// IsTemplate returns a boolean value that indicates whether the image is a template image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1807274-istemplate?language=objc for details. func (x gen_NSImage) IsTemplate() bool { ret := C.NSImage_inst_isTemplate( unsafe.Pointer(x.Pointer()), @@ -12265,8 +12694,9 @@ func (x gen_NSImage) IsTemplate() bool { } -// LayerContentsForContentsScale Returns an object that may be used as the contents of a layer. -// https://developer.apple.com/documentation/appkit/nsimage/1519851-layercontentsforcontentsscale?language=objc +// LayerContentsForContentsScale returns an object that may be used as the contents of a layer. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519851-layercontentsforcontentsscale?language=objc for details. func (x gen_NSImage) LayerContentsForContentsScale( layerContentsScale core.CGFloat, ) objc.Object { @@ -12279,8 +12709,9 @@ func (x gen_NSImage) LayerContentsForContentsScale( } -// LockFocus Prepares the image to receive drawing commands. -// https://developer.apple.com/documentation/appkit/nsimage/1519891-lockfocus?language=objc +// LockFocus prepares the image to receive drawing commands. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519891-lockfocus?language=objc for details. func (x gen_NSImage) LockFocus() { C.NSImage_inst_lockFocus( unsafe.Pointer(x.Pointer()), @@ -12290,8 +12721,9 @@ func (x gen_NSImage) LockFocus() { } -// LockFocusFlipped Prepares the image to receive drawing commands using the specified flipped state. -// https://developer.apple.com/documentation/appkit/nsimage/1519914-lockfocusflipped?language=objc +// LockFocusFlipped prepares the image to receive drawing commands using the specified flipped state. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519914-lockfocusflipped?language=objc for details. func (x gen_NSImage) LockFocusFlipped( flipped bool, ) { @@ -12304,8 +12736,9 @@ func (x gen_NSImage) LockFocusFlipped( } -// Recache Invalidates and frees offscreen caches of all image representations. -// https://developer.apple.com/documentation/appkit/nsimage/1519890-recache?language=objc +// Recache invalidates and frees offscreen caches of all image representations. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519890-recache?language=objc for details. func (x gen_NSImage) Recache() { C.NSImage_inst_recache( unsafe.Pointer(x.Pointer()), @@ -12315,8 +12748,9 @@ func (x gen_NSImage) Recache() { } -// RecommendedLayerContentsScale Returns the recommended layer contents scale for this image. -// https://developer.apple.com/documentation/appkit/nsimage/1519878-recommendedlayercontentsscale?language=objc +// RecommendedLayerContentsScale returns the recommended layer contents scale for this image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519878-recommendedlayercontentsscale?language=objc for details. func (x gen_NSImage) RecommendedLayerContentsScale( preferredContentsScale core.CGFloat, ) core.CGFloat { @@ -12329,8 +12763,9 @@ func (x gen_NSImage) RecommendedLayerContentsScale( } -// UnlockFocus Removes the focus from the image. -// https://developer.apple.com/documentation/appkit/nsimage/1519853-unlockfocus?language=objc +// UnlockFocus removes the focus from the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519853-unlockfocus?language=objc for details. func (x gen_NSImage) UnlockFocus() { C.NSImage_inst_unlockFocus( unsafe.Pointer(x.Pointer()), @@ -12340,7 +12775,9 @@ func (x gen_NSImage) UnlockFocus() { } -// Init_asNSImage +// Init +// +// See for details. func (x gen_NSImage) Init_asNSImage() NSImage { ret := C.NSImage_inst_init( unsafe.Pointer(x.Pointer()), @@ -12350,8 +12787,9 @@ func (x gen_NSImage) Init_asNSImage() NSImage { } -// Delegate The image’s delegate object. -// https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc +// Delegate returns the image’s delegate object. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc for details. func (x gen_NSImage) Delegate() objc.Object { ret := C.NSImage_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -12361,8 +12799,9 @@ func (x gen_NSImage) Delegate() objc.Object { } -// SetDelegate The image’s delegate object. -// https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc +// SetDelegate returns the image’s delegate object. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc for details. func (x gen_NSImage) SetDelegate( value objc.Ref, ) { @@ -12375,8 +12814,9 @@ func (x gen_NSImage) SetDelegate( } -// Size The size of the image. -// https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc +// Size returns the size of the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc for details. func (x gen_NSImage) Size() core.NSSize { ret := C.NSImage_inst_size( unsafe.Pointer(x.Pointer()), @@ -12386,8 +12826,9 @@ func (x gen_NSImage) Size() core.NSSize { } -// SetSize The size of the image. -// https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc +// SetSize returns the size of the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc for details. func (x gen_NSImage) SetSize( value core.NSSize, ) { @@ -12400,8 +12841,9 @@ func (x gen_NSImage) SetSize( } -// SetTemplate A Boolean value that determines whether the image represents a template image. -// https://developer.apple.com/documentation/appkit/nsimage/1520017-template?language=objc +// SetTemplate returns a boolean value that determines whether the image represents a template image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520017-template?language=objc for details. func (x gen_NSImage) SetTemplate( value bool, ) { @@ -12414,8 +12856,9 @@ func (x gen_NSImage) SetTemplate( } -// Representations An array containing all of the image object’s image representations. -// https://developer.apple.com/documentation/appkit/nsimage/1519858-representations?language=objc +// Representations an array containing all of the image object’s image representations. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519858-representations?language=objc for details. func (x gen_NSImage) Representations() core.NSArray { ret := C.NSImage_inst_representations( unsafe.Pointer(x.Pointer()), @@ -12425,8 +12868,9 @@ func (x gen_NSImage) Representations() core.NSArray { } -// PrefersColorMatch A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. -// https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc +// PrefersColorMatch returns a boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc for details. func (x gen_NSImage) PrefersColorMatch() bool { ret := C.NSImage_inst_prefersColorMatch( unsafe.Pointer(x.Pointer()), @@ -12436,8 +12880,9 @@ func (x gen_NSImage) PrefersColorMatch() bool { } -// SetPrefersColorMatch A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. -// https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc +// SetPrefersColorMatch returns a boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc for details. func (x gen_NSImage) SetPrefersColorMatch( value bool, ) { @@ -12450,8 +12895,9 @@ func (x gen_NSImage) SetPrefersColorMatch( } -// UsesEPSOnResolutionMismatch A Boolean value that indicates whether EPS representations are preferred when no other representations match the resolution of the device. -// https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc +// UsesEPSOnResolutionMismatch returns a boolean value that indicates whether eps representations are preferred when no other representations match the resolution of the device. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc for details. func (x gen_NSImage) UsesEPSOnResolutionMismatch() bool { ret := C.NSImage_inst_usesEPSOnResolutionMismatch( unsafe.Pointer(x.Pointer()), @@ -12461,8 +12907,9 @@ func (x gen_NSImage) UsesEPSOnResolutionMismatch() bool { } -// SetUsesEPSOnResolutionMismatch A Boolean value that indicates whether EPS representations are preferred when no other representations match the resolution of the device. -// https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc +// SetUsesEPSOnResolutionMismatch returns a boolean value that indicates whether eps representations are preferred when no other representations match the resolution of the device. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc for details. func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( value bool, ) { @@ -12475,8 +12922,9 @@ func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( } -// MatchesOnMultipleResolution A Boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. -// https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc +// MatchesOnMultipleResolution returns a boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc for details. func (x gen_NSImage) MatchesOnMultipleResolution() bool { ret := C.NSImage_inst_matchesOnMultipleResolution( unsafe.Pointer(x.Pointer()), @@ -12486,8 +12934,9 @@ func (x gen_NSImage) MatchesOnMultipleResolution() bool { } -// SetMatchesOnMultipleResolution A Boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. -// https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc +// SetMatchesOnMultipleResolution returns a boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc for details. func (x gen_NSImage) SetMatchesOnMultipleResolution( value bool, ) { @@ -12500,8 +12949,9 @@ func (x gen_NSImage) SetMatchesOnMultipleResolution( } -// IsValid A Boolean value that indicates whether it is possible to draw an image representation. -// https://developer.apple.com/documentation/appkit/nsimage/1519991-valid?language=objc +// IsValid returns a boolean value that indicates whether it is possible to draw an image representation. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519991-valid?language=objc for details. func (x gen_NSImage) IsValid() bool { ret := C.NSImage_inst_isValid( unsafe.Pointer(x.Pointer()), @@ -12511,8 +12961,9 @@ func (x gen_NSImage) IsValid() bool { } -// BackgroundColor The background color for the image. -// https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc +// BackgroundColor returns the background color for the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc for details. func (x gen_NSImage) BackgroundColor() NSColor { ret := C.NSImage_inst_backgroundColor( unsafe.Pointer(x.Pointer()), @@ -12522,8 +12973,9 @@ func (x gen_NSImage) BackgroundColor() NSColor { } -// SetBackgroundColor The background color for the image. -// https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc +// SetBackgroundColor returns the background color for the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc for details. func (x gen_NSImage) SetBackgroundColor( value NSColorRef, ) { @@ -12536,8 +12988,9 @@ func (x gen_NSImage) SetBackgroundColor( } -// AlignmentRect A rectangle that you can use to position the image during layout. -// https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc +// AlignmentRect returns a rectangle that you can use to position the image during layout. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc for details. func (x gen_NSImage) AlignmentRect() core.NSRect { ret := C.NSImage_inst_alignmentRect( unsafe.Pointer(x.Pointer()), @@ -12547,8 +13000,9 @@ func (x gen_NSImage) AlignmentRect() core.NSRect { } -// SetAlignmentRect A rectangle that you can use to position the image during layout. -// https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc +// SetAlignmentRect returns a rectangle that you can use to position the image during layout. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc for details. func (x gen_NSImage) SetAlignmentRect( value core.NSRect, ) { @@ -12561,8 +13015,9 @@ func (x gen_NSImage) SetAlignmentRect( } -// TIFFRepresentation A data object containing TIFF data for all of the image representations in the image. -// https://developer.apple.com/documentation/appkit/nsimage/1519841-tiffrepresentation?language=objc +// TIFFRepresentation returns a data object containing tiff data for all of the image representations in the image. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519841-tiffrepresentation?language=objc for details. func (x gen_NSImage) TIFFRepresentation() core.NSData { ret := C.NSImage_inst_TIFFRepresentation( unsafe.Pointer(x.Pointer()), @@ -12572,8 +13027,9 @@ func (x gen_NSImage) TIFFRepresentation() core.NSData { } -// AccessibilityDescription The image’s accessibility description. -// https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc +// AccessibilityDescription returns the image’s accessibility description. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc for details. func (x gen_NSImage) AccessibilityDescription() core.NSString { ret := C.NSImage_inst_accessibilityDescription( unsafe.Pointer(x.Pointer()), @@ -12583,8 +13039,9 @@ func (x gen_NSImage) AccessibilityDescription() core.NSString { } -// SetAccessibilityDescription The image’s accessibility description. -// https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc +// SetAccessibilityDescription returns the image’s accessibility description. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc for details. func (x gen_NSImage) SetAccessibilityDescription( value core.NSStringRef, ) { @@ -12597,8 +13054,9 @@ func (x gen_NSImage) SetAccessibilityDescription( } -// MatchesOnlyOnBestFittingAxis A Boolean value that indicates whether the image matches only on the best fitting axis. -// https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc +// MatchesOnlyOnBestFittingAxis returns a boolean value that indicates whether the image matches only on the best fitting axis. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc for details. func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() bool { ret := C.NSImage_inst_matchesOnlyOnBestFittingAxis( unsafe.Pointer(x.Pointer()), @@ -12608,8 +13066,9 @@ func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() bool { } -// SetMatchesOnlyOnBestFittingAxis A Boolean value that indicates whether the image matches only on the best fitting axis. -// https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc +// SetMatchesOnlyOnBestFittingAxis returns a boolean value that indicates whether the image matches only on the best fitting axis. +// +// See https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc for details. func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis( value bool, ) { @@ -12641,7 +13100,9 @@ func NSImageView_fromRef(ref objc.Ref) NSImageView { return NSImageView_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Init_asNSImageView +// Init +// +// See for details. func (x gen_NSImageView) Init_asNSImageView() NSImageView { ret := C.NSImageView_inst_init( unsafe.Pointer(x.Pointer()), @@ -12651,8 +13112,9 @@ func (x gen_NSImageView) Init_asNSImageView() NSImageView { } -// Image The image displayed by the image view. -// https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc +// Image returns the image displayed by the image view. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc for details. func (x gen_NSImageView) Image() NSImage { ret := C.NSImageView_inst_image( unsafe.Pointer(x.Pointer()), @@ -12662,8 +13124,9 @@ func (x gen_NSImageView) Image() NSImage { } -// SetImage The image displayed by the image view. -// https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc +// SetImage returns the image displayed by the image view. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc for details. func (x gen_NSImageView) SetImage( value NSImageRef, ) { @@ -12676,8 +13139,9 @@ func (x gen_NSImageView) SetImage( } -// Animates A Boolean value indicating whether the image view automatically plays animated images. -// https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc +// Animates returns a boolean value indicating whether the image view automatically plays animated images. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc for details. func (x gen_NSImageView) Animates() bool { ret := C.NSImageView_inst_animates( unsafe.Pointer(x.Pointer()), @@ -12687,8 +13151,9 @@ func (x gen_NSImageView) Animates() bool { } -// SetAnimates A Boolean value indicating whether the image view automatically plays animated images. -// https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc +// SetAnimates returns a boolean value indicating whether the image view automatically plays animated images. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc for details. func (x gen_NSImageView) SetAnimates( value bool, ) { @@ -12701,8 +13166,9 @@ func (x gen_NSImageView) SetAnimates( } -// IsEditable A Boolean value indicating whether the user can drag a new image into the image view. -// https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc +// IsEditable returns a boolean value indicating whether the user can drag a new image into the image view. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc for details. func (x gen_NSImageView) IsEditable() bool { ret := C.NSImageView_inst_isEditable( unsafe.Pointer(x.Pointer()), @@ -12712,8 +13178,9 @@ func (x gen_NSImageView) IsEditable() bool { } -// SetEditable A Boolean value indicating whether the user can drag a new image into the image view. -// https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc +// SetEditable returns a boolean value indicating whether the user can drag a new image into the image view. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc for details. func (x gen_NSImageView) SetEditable( value bool, ) { @@ -12726,8 +13193,9 @@ func (x gen_NSImageView) SetEditable( } -// AllowsCutCopyPaste A Boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. -// https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc +// AllowsCutCopyPaste returns a boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc for details. func (x gen_NSImageView) AllowsCutCopyPaste() bool { ret := C.NSImageView_inst_allowsCutCopyPaste( unsafe.Pointer(x.Pointer()), @@ -12737,8 +13205,9 @@ func (x gen_NSImageView) AllowsCutCopyPaste() bool { } -// SetAllowsCutCopyPaste A Boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. -// https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc +// SetAllowsCutCopyPaste returns a boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. +// +// See https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc for details. func (x gen_NSImageView) SetAllowsCutCopyPaste( value bool, ) { @@ -12752,7 +13221,8 @@ func (x gen_NSImageView) SetAllowsCutCopyPaste( } // ContentTintColor -// https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc for details. func (x gen_NSImageView) ContentTintColor() NSColor { ret := C.NSImageView_inst_contentTintColor( unsafe.Pointer(x.Pointer()), @@ -12763,7 +13233,8 @@ func (x gen_NSImageView) ContentTintColor() NSColor { } // SetContentTintColor -// https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc for details. func (x gen_NSImageView) SetContentTintColor( value NSColorRef, ) { @@ -12795,8 +13266,9 @@ func NSNib_fromRef(ref objc.Ref) NSNib { return NSNib_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithNibData_bundle_asNSNib Initializes an instance with nib data and specified bundle for locating resources. -// https://developer.apple.com/documentation/appkit/nsnib/1535865-initwithnibdata?language=objc +// InitWithNibData_bundle initializes an instance with nib data and specified bundle for locating resources. +// +// See https://developer.apple.com/documentation/appkit/nsnib/1535865-initwithnibdata?language=objc for details. func (x gen_NSNib) InitWithNibData_bundle_asNSNib( nibData core.NSDataRef, bundle NSBundleRef, @@ -12811,8 +13283,9 @@ func (x gen_NSNib) InitWithNibData_bundle_asNSNib( } -// InstantiateWithOwner_topLevelObjects Instantiates objects in the nib file with the specified owner. -// https://developer.apple.com/documentation/appkit/nsnib/1527173-instantiatewithowner?language=objc +// InstantiateWithOwner_topLevelObjects instantiates objects in the nib file with the specified owner. +// +// See https://developer.apple.com/documentation/appkit/nsnib/1527173-instantiatewithowner?language=objc for details. func (x gen_NSNib) InstantiateWithOwner_topLevelObjects( owner objc.Ref, topLevelObjects core.NSArrayRef, @@ -12827,7 +13300,9 @@ func (x gen_NSNib) InstantiateWithOwner_topLevelObjects( } -// Init_asNSNib +// Init +// +// See for details. func (x gen_NSNib) Init_asNSNib() NSNib { ret := C.NSNib_inst_init( unsafe.Pointer(x.Pointer()), @@ -12856,8 +13331,9 @@ func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard { return NSPasteboard_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddTypes_owner Adds promises for the specified types to the first pasteboard item. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533580-addtypes?language=objc +// AddTypes_owner adds promises for the specified types to the first pasteboard item. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1533580-addtypes?language=objc for details. func (x gen_NSPasteboard) AddTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, @@ -12872,8 +13348,9 @@ func (x gen_NSPasteboard) AddTypes_owner( } -// CanReadItemWithDataConformingToTypes Returns a Boolean value that indicates whether the receiver contains any items that conform to the specified UTIs. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533576-canreaditemwithdataconformingtot?language=objc +// CanReadItemWithDataConformingToTypes returns a boolean value that indicates whether the receiver contains any items that conform to the specified utis. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1533576-canreaditemwithdataconformingtot?language=objc for details. func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( types core.NSArrayRef, ) bool { @@ -12886,8 +13363,9 @@ func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( } -// CanReadObjectForClasses_options Returns a Boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533360-canreadobjectforclasses?language=objc +// CanReadObjectForClasses_options returns a boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1533360-canreadobjectforclasses?language=objc for details. func (x gen_NSPasteboard) CanReadObjectForClasses_options( classArray core.NSArrayRef, options core.NSDictionaryRef, @@ -12902,8 +13380,9 @@ func (x gen_NSPasteboard) CanReadObjectForClasses_options( } -// ClearContents Clears the existing contents of the pasteboard. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533599-clearcontents?language=objc +// ClearContents clears the existing contents of the pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1533599-clearcontents?language=objc for details. func (x gen_NSPasteboard) ClearContents() core.NSInteger { ret := C.NSPasteboard_inst_clearContents( unsafe.Pointer(x.Pointer()), @@ -12913,8 +13392,9 @@ func (x gen_NSPasteboard) ClearContents() core.NSInteger { } -// DeclareTypes_owner Prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533561-declaretypes?language=objc +// DeclareTypes_owner prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1533561-declaretypes?language=objc for details. func (x gen_NSPasteboard) DeclareTypes_owner( newTypes core.NSArrayRef, newOwner objc.Ref, @@ -12929,8 +13409,9 @@ func (x gen_NSPasteboard) DeclareTypes_owner( } -// ReadObjectsForClasses_options Reads from the receiver objects that best match the specified array of classes. -// https://developer.apple.com/documentation/appkit/nspasteboard/1524454-readobjectsforclasses?language=objc +// ReadObjectsForClasses_options reads from the receiver objects that best match the specified array of classes. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1524454-readobjectsforclasses?language=objc for details. func (x gen_NSPasteboard) ReadObjectsForClasses_options( classArray core.NSArrayRef, options core.NSDictionaryRef, @@ -12945,8 +13426,9 @@ func (x gen_NSPasteboard) ReadObjectsForClasses_options( } -// ReleaseGlobally Releases the receiver’s resources in the pasteboard server. -// https://developer.apple.com/documentation/appkit/nspasteboard/1527044-releaseglobally?language=objc +// ReleaseGlobally releases the receiver’s resources in the pasteboard server. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1527044-releaseglobally?language=objc for details. func (x gen_NSPasteboard) ReleaseGlobally() { C.NSPasteboard_inst_releaseGlobally( unsafe.Pointer(x.Pointer()), @@ -12956,8 +13438,9 @@ func (x gen_NSPasteboard) ReleaseGlobally() { } -// WriteFileContents Writes the contents of the specified file to the pasteboard. -// https://developer.apple.com/documentation/appkit/nspasteboard/1531224-writefilecontents?language=objc +// WriteFileContents writes the contents of the specified file to the pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1531224-writefilecontents?language=objc for details. func (x gen_NSPasteboard) WriteFileContents( filename core.NSStringRef, ) bool { @@ -12970,8 +13453,9 @@ func (x gen_NSPasteboard) WriteFileContents( } -// WriteObjects Writes an array of objects to the receiver. -// https://developer.apple.com/documentation/appkit/nspasteboard/1525945-writeobjects?language=objc +// WriteObjects writes an array of objects to the receiver. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1525945-writeobjects?language=objc for details. func (x gen_NSPasteboard) WriteObjects( objects core.NSArrayRef, ) bool { @@ -12984,7 +13468,9 @@ func (x gen_NSPasteboard) WriteObjects( } -// Init_asNSPasteboard +// Init +// +// See for details. func (x gen_NSPasteboard) Init_asNSPasteboard() NSPasteboard { ret := C.NSPasteboard_inst_init( unsafe.Pointer(x.Pointer()), @@ -12994,8 +13480,9 @@ func (x gen_NSPasteboard) Init_asNSPasteboard() NSPasteboard { } -// PasteboardItems An array that contains all the items held by the pasteboard. -// https://developer.apple.com/documentation/appkit/nspasteboard/1529995-pasteboarditems?language=objc +// PasteboardItems an array that contains all the items held by the pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1529995-pasteboarditems?language=objc for details. func (x gen_NSPasteboard) PasteboardItems() core.NSArray { ret := C.NSPasteboard_inst_pasteboardItems( unsafe.Pointer(x.Pointer()), @@ -13005,8 +13492,9 @@ func (x gen_NSPasteboard) PasteboardItems() core.NSArray { } -// Types An array of the receiver’s supported data types. -// https://developer.apple.com/documentation/appkit/nspasteboard/1529599-types?language=objc +// Types an array of the receiver’s supported data types. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1529599-types?language=objc for details. func (x gen_NSPasteboard) Types() core.NSArray { ret := C.NSPasteboard_inst_types( unsafe.Pointer(x.Pointer()), @@ -13016,8 +13504,9 @@ func (x gen_NSPasteboard) Types() core.NSArray { } -// ChangeCount The receiver’s change count. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533544-changecount?language=objc +// ChangeCount returns the receiver’s change count. +// +// See https://developer.apple.com/documentation/appkit/nspasteboard/1533544-changecount?language=objc for details. func (x gen_NSPasteboard) ChangeCount() core.NSInteger { ret := C.NSPasteboard_inst_changeCount( unsafe.Pointer(x.Pointer()), @@ -13046,8 +13535,9 @@ func NSLayoutManager_fromRef(ref objc.Ref) NSLayoutManager { return NSLayoutManager_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddTextContainer Appends the specified text container to the series of text containers where the layout manager arranges text. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402946-addtextcontainer?language=objc +// AddTextContainer appends the specified text container to the series of text containers where the layout manager arranges text. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402946-addtextcontainer?language=objc for details. func (x gen_NSLayoutManager) AddTextContainer( container NSTextContainerRef, ) { @@ -13060,8 +13550,9 @@ func (x gen_NSLayoutManager) AddTextContainer( } -// AttachmentSizeForGlyphAtIndex Returns the size of the attachment glyph at the specified index. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403099-attachmentsizeforglyphatindex?language=objc +// AttachmentSizeForGlyphAtIndex returns the size of the attachment glyph at the specified index. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403099-attachmentsizeforglyphatindex?language=objc for details. func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( glyphIndex core.NSUInteger, ) core.NSSize { @@ -13074,8 +13565,9 @@ func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( } -// CharacterIndexForGlyphAtIndex Returns the index in the text storage for the first character of the specified glyph. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402944-characterindexforglyphatindex?language=objc +// CharacterIndexForGlyphAtIndex returns the index in the text storage for the first character of the specified glyph. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402944-characterindexforglyphatindex?language=objc for details. func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( glyphIndex core.NSUInteger, ) core.NSUInteger { @@ -13088,8 +13580,9 @@ func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( } -// DefaultBaselineOffsetForFont Returns the default baseline offset that the layout manager's typesetter uses for the specified font. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403058-defaultbaselineoffsetforfont?language=objc +// DefaultBaselineOffsetForFont returns the default baseline offset that the layout manager's typesetter uses for the specified font. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1403058-defaultbaselineoffsetforfont?language=objc for details. func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( theFont NSFontRef, ) core.CGFloat { @@ -13102,8 +13595,9 @@ func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( } -// DefaultLineHeightForFont Returns the default line height for a line of text that uses a specified font. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403007-defaultlineheightforfont?language=objc +// DefaultLineHeightForFont returns the default line height for a line of text that uses a specified font. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1403007-defaultlineheightforfont?language=objc for details. func (x gen_NSLayoutManager) DefaultLineHeightForFont( theFont NSFontRef, ) core.CGFloat { @@ -13116,8 +13610,9 @@ func (x gen_NSLayoutManager) DefaultLineHeightForFont( } -// DrawsOutsideLineFragmentForGlyphAtIndex Indicates whether the glyph draws outside its line fragment rectangle. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403003-drawsoutsidelinefragmentforglyph?language=objc +// DrawsOutsideLineFragmentForGlyphAtIndex indicates whether the glyph draws outside its line fragment rectangle. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403003-drawsoutsidelinefragmentforglyph?language=objc for details. func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( glyphIndex core.NSUInteger, ) bool { @@ -13130,8 +13625,9 @@ func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( } -// EnsureLayoutForBoundingRect_inTextContainer Forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402962-ensurelayoutforboundingrect?language=objc +// EnsureLayoutForBoundingRect_inTextContainer forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402962-ensurelayoutforboundingrect?language=objc for details. func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( bounds core.NSRect, container NSTextContainerRef, @@ -13146,8 +13642,9 @@ func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( } -// EnsureLayoutForTextContainer Forces the layout manager to perform layout for the specified text container if it hasn’t already. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402967-ensurelayoutfortextcontainer?language=objc +// EnsureLayoutForTextContainer forces the layout manager to perform layout for the specified text container if it hasn’t already. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402967-ensurelayoutfortextcontainer?language=objc for details. func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( container NSTextContainerRef, ) { @@ -13160,8 +13657,9 @@ func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( } -// FirstUnlaidCharacterIndex Returns the index for the first character in the layout manager that isn’t in the layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403067-firstunlaidcharacterindex?language=objc +// FirstUnlaidCharacterIndex returns the index for the first character in the layout manager that isn’t in the layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403067-firstunlaidcharacterindex?language=objc for details. func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() core.NSUInteger { ret := C.NSLayoutManager_inst_firstUnlaidCharacterIndex( unsafe.Pointer(x.Pointer()), @@ -13171,8 +13669,9 @@ func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() core.NSUInteger { } -// FirstUnlaidGlyphIndex Returns the index for the first glyph in the layout manager that isn’t in the layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403245-firstunlaidglyphindex?language=objc +// FirstUnlaidGlyphIndex returns the index for the first glyph in the layout manager that isn’t in the layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403245-firstunlaidglyphindex?language=objc for details. func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() core.NSUInteger { ret := C.NSLayoutManager_inst_firstUnlaidGlyphIndex( unsafe.Pointer(x.Pointer()), @@ -13182,8 +13681,9 @@ func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() core.NSUInteger { } -// GlyphIndexForCharacterAtIndex Returns the index of the first glyph of the character at the specified index. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403001-glyphindexforcharacteratindex?language=objc +// GlyphIndexForCharacterAtIndex returns the index of the first glyph of the character at the specified index. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403001-glyphindexforcharacteratindex?language=objc for details. func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( charIndex core.NSUInteger, ) core.NSUInteger { @@ -13196,8 +13696,9 @@ func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( } -// Init_asNSLayoutManager Initializes a newly created layout manager object. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402975-init?language=objc +// Init initializes a newly created layout manager object. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402975-init?language=objc for details. func (x gen_NSLayoutManager) Init_asNSLayoutManager() NSLayoutManager { ret := C.NSLayoutManager_inst_init( unsafe.Pointer(x.Pointer()), @@ -13207,8 +13708,9 @@ func (x gen_NSLayoutManager) Init_asNSLayoutManager() NSLayoutManager { } -// InsertTextContainer_atIndex Inserts a text container at the specified index in the list of text containers. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403010-inserttextcontainer?language=objc +// InsertTextContainer_atIndex inserts a text container at the specified index in the list of text containers. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403010-inserttextcontainer?language=objc for details. func (x gen_NSLayoutManager) InsertTextContainer_atIndex( container NSTextContainerRef, index core.NSUInteger, @@ -13223,8 +13725,9 @@ func (x gen_NSLayoutManager) InsertTextContainer_atIndex( } -// IsValidGlyphIndex Indicates whether the specified index refers to a valid glyph. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402950-isvalidglyphindex?language=objc +// IsValidGlyphIndex indicates whether the specified index refers to a valid glyph. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402950-isvalidglyphindex?language=objc for details. func (x gen_NSLayoutManager) IsValidGlyphIndex( glyphIndex core.NSUInteger, ) bool { @@ -13237,8 +13740,9 @@ func (x gen_NSLayoutManager) IsValidGlyphIndex( } -// LayoutManagerOwnsFirstResponderInWindow Indicates whether the first responder in the specified window is a text view for the layout manager. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403026-layoutmanagerownsfirstresponderi?language=objc +// LayoutManagerOwnsFirstResponderInWindow indicates whether the first responder in the specified window is a text view for the layout manager. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1403026-layoutmanagerownsfirstresponderi?language=objc for details. func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( window NSWindowRef, ) bool { @@ -13251,8 +13755,9 @@ func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( } -// NotShownAttributeForGlyphAtIndex Indicates whether the glyph at the specified index has a visible representation. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402931-notshownattributeforglyphatindex?language=objc +// NotShownAttributeForGlyphAtIndex indicates whether the glyph at the specified index has a visible representation. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402931-notshownattributeforglyphatindex?language=objc for details. func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( glyphIndex core.NSUInteger, ) bool { @@ -13265,8 +13770,9 @@ func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( } -// RemoveTextContainerAtIndex Removes the text container at the specified index and invalidates the layout as necessary. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403017-removetextcontaineratindex?language=objc +// RemoveTextContainerAtIndex removes the text container at the specified index and invalidates the layout as necessary. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403017-removetextcontaineratindex?language=objc for details. func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( index core.NSUInteger, ) { @@ -13279,8 +13785,9 @@ func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( } -// SetDrawsOutsideLineFragment_forGlyphAtIndex Indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402964-setdrawsoutsidelinefragment?language=objc +// SetDrawsOutsideLineFragment_forGlyphAtIndex indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402964-setdrawsoutsidelinefragment?language=objc for details. func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, @@ -13295,8 +13802,9 @@ func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( } -// SetExtraLineFragmentRect_usedRect_textContainer Sets the bounds and container for the extra line fragment. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403071-setextralinefragmentrect?language=objc +// SetExtraLineFragmentRect_usedRect_textContainer sets the bounds and container for the extra line fragment. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403071-setextralinefragmentrect?language=objc for details. func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( fragmentRect core.NSRect, usedRect core.NSRect, @@ -13313,8 +13821,9 @@ func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( } -// SetNotShownAttribute_forGlyphAtIndex Sets the visibility of the glyph at the specified index. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403078-setnotshownattribute?language=objc +// SetNotShownAttribute_forGlyphAtIndex sets the visibility of the glyph at the specified index. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403078-setnotshownattribute?language=objc for details. func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, @@ -13329,8 +13838,9 @@ func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( } -// TextContainerChangedGeometry Invalidates the layout information, and possibly glyphs, for the specified text container and all subsequent text container objects. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403091-textcontainerchangedgeometry?language=objc +// TextContainerChangedGeometry invalidates the layout information, and possibly glyphs, for the specified text container and all subsequent text container objects. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403091-textcontainerchangedgeometry?language=objc for details. func (x gen_NSLayoutManager) TextContainerChangedGeometry( container NSTextContainerRef, ) { @@ -13343,8 +13853,9 @@ func (x gen_NSLayoutManager) TextContainerChangedGeometry( } -// TextContainerChangedTextView Updates the information necessary to manage text view objects for the specified text container. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403229-textcontainerchangedtextview?language=objc +// TextContainerChangedTextView updates the information necessary to manage text view objects for the specified text container. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1403229-textcontainerchangedtextview?language=objc for details. func (x gen_NSLayoutManager) TextContainerChangedTextView( container NSTextContainerRef, ) { @@ -13357,8 +13868,9 @@ func (x gen_NSLayoutManager) TextContainerChangedTextView( } -// UsedRectForTextContainer Returns the bounding rectangle for the glyphs in the specified text container. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402980-usedrectfortextcontainer?language=objc +// UsedRectForTextContainer returns the bounding rectangle for the glyphs in the specified text container. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402980-usedrectfortextcontainer?language=objc for details. func (x gen_NSLayoutManager) UsedRectForTextContainer( container NSTextContainerRef, ) core.NSRect { @@ -13371,8 +13883,9 @@ func (x gen_NSLayoutManager) UsedRectForTextContainer( } -// Delegate The layout manager’s delegate. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc +// Delegate returns the layout manager’s delegate. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc for details. func (x gen_NSLayoutManager) Delegate() objc.Object { ret := C.NSLayoutManager_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -13382,8 +13895,9 @@ func (x gen_NSLayoutManager) Delegate() objc.Object { } -// SetDelegate The layout manager’s delegate. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc +// SetDelegate returns the layout manager’s delegate. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc for details. func (x gen_NSLayoutManager) SetDelegate( value objc.Ref, ) { @@ -13396,8 +13910,9 @@ func (x gen_NSLayoutManager) SetDelegate( } -// AllowsNonContiguousLayout A Boolean value that indicates whether the layout manager allows noncontiguous layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc +// AllowsNonContiguousLayout returns a boolean value that indicates whether the layout manager allows noncontiguous layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc for details. func (x gen_NSLayoutManager) AllowsNonContiguousLayout() bool { ret := C.NSLayoutManager_inst_allowsNonContiguousLayout( unsafe.Pointer(x.Pointer()), @@ -13407,8 +13922,9 @@ func (x gen_NSLayoutManager) AllowsNonContiguousLayout() bool { } -// SetAllowsNonContiguousLayout A Boolean value that indicates whether the layout manager allows noncontiguous layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc +// SetAllowsNonContiguousLayout returns a boolean value that indicates whether the layout manager allows noncontiguous layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc for details. func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( value bool, ) { @@ -13421,8 +13937,9 @@ func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( } -// HasNonContiguousLayout A Boolean value that indicates whether the layout manager currently has any areas of noncontiguous layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403207-hasnoncontiguouslayout?language=objc +// HasNonContiguousLayout returns a boolean value that indicates whether the layout manager currently has any areas of noncontiguous layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403207-hasnoncontiguouslayout?language=objc for details. func (x gen_NSLayoutManager) HasNonContiguousLayout() bool { ret := C.NSLayoutManager_inst_hasNonContiguousLayout( unsafe.Pointer(x.Pointer()), @@ -13432,8 +13949,9 @@ func (x gen_NSLayoutManager) HasNonContiguousLayout() bool { } -// ShowsInvisibleCharacters A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc +// ShowsInvisibleCharacters returns a boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc for details. func (x gen_NSLayoutManager) ShowsInvisibleCharacters() bool { ret := C.NSLayoutManager_inst_showsInvisibleCharacters( unsafe.Pointer(x.Pointer()), @@ -13443,8 +13961,9 @@ func (x gen_NSLayoutManager) ShowsInvisibleCharacters() bool { } -// SetShowsInvisibleCharacters A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc +// SetShowsInvisibleCharacters returns a boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc for details. func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( value bool, ) { @@ -13457,8 +13976,9 @@ func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( } -// ShowsControlCharacters A Boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc +// ShowsControlCharacters returns a boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc for details. func (x gen_NSLayoutManager) ShowsControlCharacters() bool { ret := C.NSLayoutManager_inst_showsControlCharacters( unsafe.Pointer(x.Pointer()), @@ -13468,8 +13988,9 @@ func (x gen_NSLayoutManager) ShowsControlCharacters() bool { } -// SetShowsControlCharacters A Boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc +// SetShowsControlCharacters returns a boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc for details. func (x gen_NSLayoutManager) SetShowsControlCharacters( value bool, ) { @@ -13482,8 +14003,9 @@ func (x gen_NSLayoutManager) SetShowsControlCharacters( } -// UsesFontLeading A Boolean value that indicates whether the layout manager uses the leading of the font. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc +// UsesFontLeading returns a boolean value that indicates whether the layout manager uses the leading of the font. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc for details. func (x gen_NSLayoutManager) UsesFontLeading() bool { ret := C.NSLayoutManager_inst_usesFontLeading( unsafe.Pointer(x.Pointer()), @@ -13493,8 +14015,9 @@ func (x gen_NSLayoutManager) UsesFontLeading() bool { } -// SetUsesFontLeading A Boolean value that indicates whether the layout manager uses the leading of the font. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc +// SetUsesFontLeading returns a boolean value that indicates whether the layout manager uses the leading of the font. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc for details. func (x gen_NSLayoutManager) SetUsesFontLeading( value bool, ) { @@ -13507,8 +14030,9 @@ func (x gen_NSLayoutManager) SetUsesFontLeading( } -// BackgroundLayoutEnabled A Boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc +// BackgroundLayoutEnabled returns a boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc for details. func (x gen_NSLayoutManager) BackgroundLayoutEnabled() bool { ret := C.NSLayoutManager_inst_backgroundLayoutEnabled( unsafe.Pointer(x.Pointer()), @@ -13518,8 +14042,9 @@ func (x gen_NSLayoutManager) BackgroundLayoutEnabled() bool { } -// SetBackgroundLayoutEnabled A Boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc +// SetBackgroundLayoutEnabled returns a boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc for details. func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( value bool, ) { @@ -13532,8 +14057,9 @@ func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( } -// LimitsLayoutForSuspiciousContents A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc +// LimitsLayoutForSuspiciousContents returns a boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc for details. func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() bool { ret := C.NSLayoutManager_inst_limitsLayoutForSuspiciousContents( unsafe.Pointer(x.Pointer()), @@ -13543,8 +14069,9 @@ func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() bool { } -// SetLimitsLayoutForSuspiciousContents A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc +// SetLimitsLayoutForSuspiciousContents returns a boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc for details. func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( value bool, ) { @@ -13557,8 +14084,9 @@ func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( } -// UsesDefaultHyphenation A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc +// UsesDefaultHyphenation returns a boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc for details. func (x gen_NSLayoutManager) UsesDefaultHyphenation() bool { ret := C.NSLayoutManager_inst_usesDefaultHyphenation( unsafe.Pointer(x.Pointer()), @@ -13568,8 +14096,9 @@ func (x gen_NSLayoutManager) UsesDefaultHyphenation() bool { } -// SetUsesDefaultHyphenation A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc +// SetUsesDefaultHyphenation returns a boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc for details. func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( value bool, ) { @@ -13582,8 +14111,9 @@ func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( } -// TextContainers The current text containers of the layout manager. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403144-textcontainers?language=objc +// TextContainers returns the current text containers of the layout manager. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403144-textcontainers?language=objc for details. func (x gen_NSLayoutManager) TextContainers() core.NSArray { ret := C.NSLayoutManager_inst_textContainers( unsafe.Pointer(x.Pointer()), @@ -13593,8 +14123,9 @@ func (x gen_NSLayoutManager) TextContainers() core.NSArray { } -// NumberOfGlyphs The number of glyphs in the layout manager. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402937-numberofglyphs?language=objc +// NumberOfGlyphs returns the number of glyphs in the layout manager. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402937-numberofglyphs?language=objc for details. func (x gen_NSLayoutManager) NumberOfGlyphs() core.NSUInteger { ret := C.NSLayoutManager_inst_numberOfGlyphs( unsafe.Pointer(x.Pointer()), @@ -13604,8 +14135,9 @@ func (x gen_NSLayoutManager) NumberOfGlyphs() core.NSUInteger { } -// ExtraLineFragmentRect The rectangle for the extra line fragment at the end of a document. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403175-extralinefragmentrect?language=objc +// ExtraLineFragmentRect returns the rectangle for the extra line fragment at the end of a document. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403175-extralinefragmentrect?language=objc for details. func (x gen_NSLayoutManager) ExtraLineFragmentRect() core.NSRect { ret := C.NSLayoutManager_inst_extraLineFragmentRect( unsafe.Pointer(x.Pointer()), @@ -13615,8 +14147,9 @@ func (x gen_NSLayoutManager) ExtraLineFragmentRect() core.NSRect { } -// ExtraLineFragmentTextContainer The text container for the extra line fragment rectangle. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1403165-extralinefragmenttextcontainer?language=objc +// ExtraLineFragmentTextContainer returns the text container for the extra line fragment rectangle. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403165-extralinefragmenttextcontainer?language=objc for details. func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() NSTextContainer { ret := C.NSLayoutManager_inst_extraLineFragmentTextContainer( unsafe.Pointer(x.Pointer()), @@ -13626,8 +14159,9 @@ func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() NSTextContainer { } -// ExtraLineFragmentUsedRect The rectangle that encloses the insertion point in the extra line fragment rectangle. -// https://developer.apple.com/documentation/uikit/nslayoutmanager/1402988-extralinefragmentusedrect?language=objc +// ExtraLineFragmentUsedRect returns the rectangle that encloses the insertion point in the extra line fragment rectangle. +// +// See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402988-extralinefragmentusedrect?language=objc for details. func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() core.NSRect { ret := C.NSLayoutManager_inst_extraLineFragmentUsedRect( unsafe.Pointer(x.Pointer()), @@ -13637,8 +14171,9 @@ func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() core.NSRect { } -// FirstTextView The first text view in the layout manager’s series of text views. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1402995-firsttextview?language=objc +// FirstTextView returns the first text view in the layout manager’s series of text views. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1402995-firsttextview?language=objc for details. func (x gen_NSLayoutManager) FirstTextView() NSTextView { ret := C.NSLayoutManager_inst_firstTextView( unsafe.Pointer(x.Pointer()), @@ -13648,8 +14183,9 @@ func (x gen_NSLayoutManager) FirstTextView() NSTextView { } -// TextViewForBeginningOfSelection The text view that contains the first glyph in the selection. -// https://developer.apple.com/documentation/appkit/nslayoutmanager/1403089-textviewforbeginningofselection?language=objc +// TextViewForBeginningOfSelection returns the text view that contains the first glyph in the selection. +// +// See https://developer.apple.com/documentation/appkit/nslayoutmanager/1403089-textviewforbeginningofselection?language=objc for details. func (x gen_NSLayoutManager) TextViewForBeginningOfSelection() NSTextView { ret := C.NSLayoutManager_inst_textViewForBeginningOfSelection( unsafe.Pointer(x.Pointer()), @@ -13678,8 +14214,9 @@ func NSMenu_fromRef(ref objc.Ref) NSMenu { return NSMenu_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddItem Adds a menu item to the end of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518176-additem?language=objc +// AddItem adds a menu item to the end of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518176-additem?language=objc for details. func (x gen_NSMenu) AddItem( newItem NSMenuItemRef, ) { @@ -13692,8 +14229,9 @@ func (x gen_NSMenu) AddItem( } -// AddItemWithTitle_action_keyEquivalent Creates a new menu item and adds it to the end of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518181-additemwithtitle?language=objc +// AddItemWithTitle_action_keyEquivalent creates a new menu item and adds it to the end of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518181-additemwithtitle?language=objc for details. func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( string core.NSStringRef, selector objc.Selector, @@ -13710,8 +14248,9 @@ func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( } -// CancelTracking Dismisses the menu and ends all menu tracking. -// https://developer.apple.com/documentation/appkit/nsmenu/1518150-canceltracking?language=objc +// CancelTracking dismisses the menu and ends all menu tracking. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518150-canceltracking?language=objc for details. func (x gen_NSMenu) CancelTracking() { C.NSMenu_inst_cancelTracking( unsafe.Pointer(x.Pointer()), @@ -13721,8 +14260,9 @@ func (x gen_NSMenu) CancelTracking() { } -// CancelTrackingWithoutAnimation Dismisses the menu and ends all menu tracking without displaying the associated animation. -// https://developer.apple.com/documentation/appkit/nsmenu/1518244-canceltrackingwithoutanimation?language=objc +// CancelTrackingWithoutAnimation dismisses the menu and ends all menu tracking without displaying the associated animation. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518244-canceltrackingwithoutanimation?language=objc for details. func (x gen_NSMenu) CancelTrackingWithoutAnimation() { C.NSMenu_inst_cancelTrackingWithoutAnimation( unsafe.Pointer(x.Pointer()), @@ -13732,8 +14272,9 @@ func (x gen_NSMenu) CancelTrackingWithoutAnimation() { } -// IndexOfItem Returns the index identifying the location of a specified menu item in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518178-indexofitem?language=objc +// IndexOfItem returns the index identifying the location of a specified menu item in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518178-indexofitem?language=objc for details. func (x gen_NSMenu) IndexOfItem( item NSMenuItemRef, ) core.NSInteger { @@ -13746,8 +14287,9 @@ func (x gen_NSMenu) IndexOfItem( } -// IndexOfItemWithRepresentedObject Returns the index of the first menu item in the menu that has a given represented object. -// https://developer.apple.com/documentation/appkit/nsmenu/1518175-indexofitemwithrepresentedobject?language=objc +// IndexOfItemWithRepresentedObject returns the index of the first menu item in the menu that has a given represented object. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518175-indexofitemwithrepresentedobject?language=objc for details. func (x gen_NSMenu) IndexOfItemWithRepresentedObject( object objc.Ref, ) core.NSInteger { @@ -13760,8 +14302,9 @@ func (x gen_NSMenu) IndexOfItemWithRepresentedObject( } -// IndexOfItemWithSubmenu Returns the index of the menu item in the menu with the given submenu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518216-indexofitemwithsubmenu?language=objc +// IndexOfItemWithSubmenu returns the index of the menu item in the menu with the given submenu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518216-indexofitemwithsubmenu?language=objc for details. func (x gen_NSMenu) IndexOfItemWithSubmenu( submenu NSMenuRef, ) core.NSInteger { @@ -13774,8 +14317,9 @@ func (x gen_NSMenu) IndexOfItemWithSubmenu( } -// IndexOfItemWithTag Returns the index of the first menu item in the menu identified by a tag. -// https://developer.apple.com/documentation/appkit/nsmenu/1518164-indexofitemwithtag?language=objc +// IndexOfItemWithTag returns the index of the first menu item in the menu identified by a tag. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518164-indexofitemwithtag?language=objc for details. func (x gen_NSMenu) IndexOfItemWithTag( tag core.NSInteger, ) core.NSInteger { @@ -13788,8 +14332,9 @@ func (x gen_NSMenu) IndexOfItemWithTag( } -// IndexOfItemWithTarget_andAction Returns the index of the first menu item in the menu that has a specified action and target. -// https://developer.apple.com/documentation/appkit/nsmenu/1518153-indexofitemwithtarget?language=objc +// IndexOfItemWithTarget_andAction returns the index of the first menu item in the menu that has a specified action and target. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518153-indexofitemwithtarget?language=objc for details. func (x gen_NSMenu) IndexOfItemWithTarget_andAction( target objc.Ref, actionSelector objc.Selector, @@ -13804,8 +14349,9 @@ func (x gen_NSMenu) IndexOfItemWithTarget_andAction( } -// IndexOfItemWithTitle Returns the index of the first menu item in the menu that has a specified title. -// https://developer.apple.com/documentation/appkit/nsmenu/1518237-indexofitemwithtitle?language=objc +// IndexOfItemWithTitle returns the index of the first menu item in the menu that has a specified title. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518237-indexofitemwithtitle?language=objc for details. func (x gen_NSMenu) IndexOfItemWithTitle( title core.NSStringRef, ) core.NSInteger { @@ -13818,8 +14364,9 @@ func (x gen_NSMenu) IndexOfItemWithTitle( } -// InitWithTitle_asNSMenu Initializes and returns a menu having the specified title and with autoenabling of menu items turned on. -// https://developer.apple.com/documentation/appkit/nsmenu/1518144-initwithtitle?language=objc +// InitWithTitle initializes and returns a menu having the specified title and with autoenabling of menu items turned on. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518144-initwithtitle?language=objc for details. func (x gen_NSMenu) InitWithTitle_asNSMenu( title core.NSStringRef, ) NSMenu { @@ -13832,8 +14379,9 @@ func (x gen_NSMenu) InitWithTitle_asNSMenu( } -// InsertItem_atIndex Inserts a menu item into the menu at a specific location. -// https://developer.apple.com/documentation/appkit/nsmenu/1518201-insertitem?language=objc +// InsertItem_atIndex inserts a menu item into the menu at a specific location. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518201-insertitem?language=objc for details. func (x gen_NSMenu) InsertItem_atIndex( newItem NSMenuItemRef, index core.NSInteger, @@ -13848,8 +14396,9 @@ func (x gen_NSMenu) InsertItem_atIndex( } -// InsertItemWithTitle_action_keyEquivalent_atIndex Creates and adds a menu item at a specified location in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518146-insertitemwithtitle?language=objc +// InsertItemWithTitle_action_keyEquivalent_atIndex creates and adds a menu item at a specified location in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518146-insertitemwithtitle?language=objc for details. func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( string core.NSStringRef, selector objc.Selector, @@ -13868,8 +14417,9 @@ func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( } -// ItemAtIndex Returns the menu item at a specific location of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518218-itematindex?language=objc +// ItemAtIndex returns the menu item at a specific location of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518218-itematindex?language=objc for details. func (x gen_NSMenu) ItemAtIndex( index core.NSInteger, ) NSMenuItem { @@ -13882,8 +14432,9 @@ func (x gen_NSMenu) ItemAtIndex( } -// ItemChanged Invoked when a menu item is modified visually (for example, its title changes). -// https://developer.apple.com/documentation/appkit/nsmenu/1518154-itemchanged?language=objc +// ItemChanged invoked when a menu item is modified visually (for example, its title changes). +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518154-itemchanged?language=objc for details. func (x gen_NSMenu) ItemChanged( item NSMenuItemRef, ) { @@ -13896,8 +14447,9 @@ func (x gen_NSMenu) ItemChanged( } -// ItemWithTag Returns the first menu item in the menu with the specified tag. -// https://developer.apple.com/documentation/appkit/nsmenu/1518223-itemwithtag?language=objc +// ItemWithTag returns the first menu item in the menu with the specified tag. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518223-itemwithtag?language=objc for details. func (x gen_NSMenu) ItemWithTag( tag core.NSInteger, ) NSMenuItem { @@ -13910,8 +14462,9 @@ func (x gen_NSMenu) ItemWithTag( } -// ItemWithTitle Returns the first menu item in the menu with a specified title. -// https://developer.apple.com/documentation/appkit/nsmenu/1518248-itemwithtitle?language=objc +// ItemWithTitle returns the first menu item in the menu with a specified title. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518248-itemwithtitle?language=objc for details. func (x gen_NSMenu) ItemWithTitle( title core.NSStringRef, ) NSMenuItem { @@ -13924,8 +14477,9 @@ func (x gen_NSMenu) ItemWithTitle( } -// PerformActionForItemAtIndex Causes the application to send the action message of a specified menu item to its target. -// https://developer.apple.com/documentation/appkit/nsmenu/1518210-performactionforitematindex?language=objc +// PerformActionForItemAtIndex causes the application to send the action message of a specified menu item to its target. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518210-performactionforitematindex?language=objc for details. func (x gen_NSMenu) PerformActionForItemAtIndex( index core.NSInteger, ) { @@ -13938,8 +14492,9 @@ func (x gen_NSMenu) PerformActionForItemAtIndex( } -// PerformKeyEquivalent Performs the action for the menu item that corresponds to the given key equivalent. -// https://developer.apple.com/documentation/appkit/nsmenu/1518198-performkeyequivalent?language=objc +// PerformKeyEquivalent performs the action for the menu item that corresponds to the given key equivalent. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518198-performkeyequivalent?language=objc for details. func (x gen_NSMenu) PerformKeyEquivalent( event NSEventRef, ) bool { @@ -13952,8 +14507,9 @@ func (x gen_NSMenu) PerformKeyEquivalent( } -// PopUpMenuPositioningItem_atLocation_inView Pops up the menu at the specified location. -// https://developer.apple.com/documentation/appkit/nsmenu/1518212-popupmenupositioningitem?language=objc +// PopUpMenuPositioningItem_atLocation_inView pops up the menu at the specified location. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518212-popupmenupositioningitem?language=objc for details. func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( item NSMenuItemRef, location core.NSPoint, @@ -13970,8 +14526,9 @@ func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( } -// RemoveAllItems Removes all the menu items in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518234-removeallitems?language=objc +// RemoveAllItems removes all the menu items in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518234-removeallitems?language=objc for details. func (x gen_NSMenu) RemoveAllItems() { C.NSMenu_inst_removeAllItems( unsafe.Pointer(x.Pointer()), @@ -13981,8 +14538,9 @@ func (x gen_NSMenu) RemoveAllItems() { } -// RemoveItem Removes a menu item from the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518257-removeitem?language=objc +// RemoveItem removes a menu item from the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518257-removeitem?language=objc for details. func (x gen_NSMenu) RemoveItem( item NSMenuItemRef, ) { @@ -13995,8 +14553,9 @@ func (x gen_NSMenu) RemoveItem( } -// RemoveItemAtIndex Removes the menu item at a specified location in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518207-removeitematindex?language=objc +// RemoveItemAtIndex removes the menu item at a specified location in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518207-removeitematindex?language=objc for details. func (x gen_NSMenu) RemoveItemAtIndex( index core.NSInteger, ) { @@ -14009,8 +14568,9 @@ func (x gen_NSMenu) RemoveItemAtIndex( } -// SetSubmenu_forItem Assigns a menu to be a submenu of the menu controlled by a given menu item. -// https://developer.apple.com/documentation/appkit/nsmenu/1518194-setsubmenu?language=objc +// SetSubmenu_forItem assigns a menu to be a submenu of the menu controlled by a given menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518194-setsubmenu?language=objc for details. func (x gen_NSMenu) SetSubmenu_forItem( menu NSMenuRef, item NSMenuItemRef, @@ -14025,8 +14585,9 @@ func (x gen_NSMenu) SetSubmenu_forItem( } -// SubmenuAction The action method assigned to menu items that open submenus. -// https://developer.apple.com/documentation/appkit/nsmenu/1518179-submenuaction?language=objc +// SubmenuAction returns the action method assigned to menu items that open submenus. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518179-submenuaction?language=objc for details. func (x gen_NSMenu) SubmenuAction( sender objc.Ref, ) { @@ -14039,8 +14600,9 @@ func (x gen_NSMenu) SubmenuAction( } -// Update Enables or disables the menu items of the menu based on the NSMenuValidation informal protocol and sizes the menu to fit its current menu items if necessary. -// https://developer.apple.com/documentation/appkit/nsmenu/1518249-update?language=objc +// Update enables or disables the menu items of the menu based on the nsmenuvalidation informal protocol and sizes the menu to fit its current menu items if necessary. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518249-update?language=objc for details. func (x gen_NSMenu) Update() { C.NSMenu_inst_update( unsafe.Pointer(x.Pointer()), @@ -14050,7 +14612,9 @@ func (x gen_NSMenu) Update() { } -// Init_asNSMenu +// Init +// +// See for details. func (x gen_NSMenu) Init_asNSMenu() NSMenu { ret := C.NSMenu_inst_init( unsafe.Pointer(x.Pointer()), @@ -14060,8 +14624,9 @@ func (x gen_NSMenu) Init_asNSMenu() NSMenu { } -// MenuBarHeight The menu bar height for the main menu in pixels. -// https://developer.apple.com/documentation/appkit/nsmenu/1518141-menubarheight?language=objc +// MenuBarHeight returns the menu bar height for the main menu in pixels. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518141-menubarheight?language=objc for details. func (x gen_NSMenu) MenuBarHeight() core.CGFloat { ret := C.NSMenu_inst_menuBarHeight( unsafe.Pointer(x.Pointer()), @@ -14071,8 +14636,9 @@ func (x gen_NSMenu) MenuBarHeight() core.CGFloat { } -// NumberOfItems The number of menu items in the menu, including separator items. -// https://developer.apple.com/documentation/appkit/nsmenu/1518202-numberofitems?language=objc +// NumberOfItems returns the number of menu items in the menu, including separator items. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518202-numberofitems?language=objc for details. func (x gen_NSMenu) NumberOfItems() core.NSInteger { ret := C.NSMenu_inst_numberOfItems( unsafe.Pointer(x.Pointer()), @@ -14082,8 +14648,9 @@ func (x gen_NSMenu) NumberOfItems() core.NSInteger { } -// ItemArray An array containing the menu items in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc +// ItemArray an array containing the menu items in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc for details. func (x gen_NSMenu) ItemArray() core.NSArray { ret := C.NSMenu_inst_itemArray( unsafe.Pointer(x.Pointer()), @@ -14093,8 +14660,9 @@ func (x gen_NSMenu) ItemArray() core.NSArray { } -// SetItemArray An array containing the menu items in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc +// SetItemArray an array containing the menu items in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc for details. func (x gen_NSMenu) SetItemArray( value core.NSArrayRef, ) { @@ -14107,8 +14675,9 @@ func (x gen_NSMenu) SetItemArray( } -// Supermenu The parent menu that contains the menu as a submenu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc +// Supermenu returns the parent menu that contains the menu as a submenu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc for details. func (x gen_NSMenu) Supermenu() NSMenu { ret := C.NSMenu_inst_supermenu( unsafe.Pointer(x.Pointer()), @@ -14118,8 +14687,9 @@ func (x gen_NSMenu) Supermenu() NSMenu { } -// SetSupermenu The parent menu that contains the menu as a submenu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc +// SetSupermenu returns the parent menu that contains the menu as a submenu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc for details. func (x gen_NSMenu) SetSupermenu( value NSMenuRef, ) { @@ -14132,8 +14702,9 @@ func (x gen_NSMenu) SetSupermenu( } -// AutoenablesItems Indicates whether the menu automatically enables and disables its menu items. -// https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc +// AutoenablesItems indicates whether the menu automatically enables and disables its menu items. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc for details. func (x gen_NSMenu) AutoenablesItems() bool { ret := C.NSMenu_inst_autoenablesItems( unsafe.Pointer(x.Pointer()), @@ -14143,8 +14714,9 @@ func (x gen_NSMenu) AutoenablesItems() bool { } -// SetAutoenablesItems Indicates whether the menu automatically enables and disables its menu items. -// https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc +// SetAutoenablesItems indicates whether the menu automatically enables and disables its menu items. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc for details. func (x gen_NSMenu) SetAutoenablesItems( value bool, ) { @@ -14157,8 +14729,9 @@ func (x gen_NSMenu) SetAutoenablesItems( } -// Font The font of the menu and its submenus. -// https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc +// Font returns the font of the menu and its submenus. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc for details. func (x gen_NSMenu) Font() NSFont { ret := C.NSMenu_inst_font( unsafe.Pointer(x.Pointer()), @@ -14168,8 +14741,9 @@ func (x gen_NSMenu) Font() NSFont { } -// SetFont The font of the menu and its submenus. -// https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc +// SetFont returns the font of the menu and its submenus. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc for details. func (x gen_NSMenu) SetFont( value NSFontRef, ) { @@ -14182,8 +14756,9 @@ func (x gen_NSMenu) SetFont( } -// Title The title of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc +// Title returns the title of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc for details. func (x gen_NSMenu) Title() core.NSString { ret := C.NSMenu_inst_title( unsafe.Pointer(x.Pointer()), @@ -14193,8 +14768,9 @@ func (x gen_NSMenu) Title() core.NSString { } -// SetTitle The title of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc +// SetTitle returns the title of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc for details. func (x gen_NSMenu) SetTitle( value core.NSStringRef, ) { @@ -14207,8 +14783,9 @@ func (x gen_NSMenu) SetTitle( } -// MinimumWidth The minimum width of the menu in screen coordinates. -// https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc +// MinimumWidth returns the minimum width of the menu in screen coordinates. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc for details. func (x gen_NSMenu) MinimumWidth() core.CGFloat { ret := C.NSMenu_inst_minimumWidth( unsafe.Pointer(x.Pointer()), @@ -14218,8 +14795,9 @@ func (x gen_NSMenu) MinimumWidth() core.CGFloat { } -// SetMinimumWidth The minimum width of the menu in screen coordinates. -// https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc +// SetMinimumWidth returns the minimum width of the menu in screen coordinates. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc for details. func (x gen_NSMenu) SetMinimumWidth( value core.CGFloat, ) { @@ -14232,8 +14810,9 @@ func (x gen_NSMenu) SetMinimumWidth( } -// Size The size of the menu in screen coordinates -// https://developer.apple.com/documentation/appkit/nsmenu/1518185-size?language=objc +// Size returns the size of the menu in screen coordinates +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518185-size?language=objc for details. func (x gen_NSMenu) Size() core.NSSize { ret := C.NSMenu_inst_size( unsafe.Pointer(x.Pointer()), @@ -14243,8 +14822,9 @@ func (x gen_NSMenu) Size() core.NSSize { } -// AllowsContextMenuPlugIns Indicates whether the pop-up menu allows appending of contextual menu plug-in items. -// https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc +// AllowsContextMenuPlugIns indicates whether the pop-up menu allows appending of contextual menu plug-in items. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc for details. func (x gen_NSMenu) AllowsContextMenuPlugIns() bool { ret := C.NSMenu_inst_allowsContextMenuPlugIns( unsafe.Pointer(x.Pointer()), @@ -14254,8 +14834,9 @@ func (x gen_NSMenu) AllowsContextMenuPlugIns() bool { } -// SetAllowsContextMenuPlugIns Indicates whether the pop-up menu allows appending of contextual menu plug-in items. -// https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc +// SetAllowsContextMenuPlugIns indicates whether the pop-up menu allows appending of contextual menu plug-in items. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc for details. func (x gen_NSMenu) SetAllowsContextMenuPlugIns( value bool, ) { @@ -14268,8 +14849,9 @@ func (x gen_NSMenu) SetAllowsContextMenuPlugIns( } -// ShowsStateColumn Indicates whether the menu displays the state column. -// https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc +// ShowsStateColumn indicates whether the menu displays the state column. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc for details. func (x gen_NSMenu) ShowsStateColumn() bool { ret := C.NSMenu_inst_showsStateColumn( unsafe.Pointer(x.Pointer()), @@ -14279,8 +14861,9 @@ func (x gen_NSMenu) ShowsStateColumn() bool { } -// SetShowsStateColumn Indicates whether the menu displays the state column. -// https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc +// SetShowsStateColumn indicates whether the menu displays the state column. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc for details. func (x gen_NSMenu) SetShowsStateColumn( value bool, ) { @@ -14293,8 +14876,9 @@ func (x gen_NSMenu) SetShowsStateColumn( } -// HighlightedItem Indicates the currently highlighted item in the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518222-highlighteditem?language=objc +// HighlightedItem indicates the currently highlighted item in the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518222-highlighteditem?language=objc for details. func (x gen_NSMenu) HighlightedItem() NSMenuItem { ret := C.NSMenu_inst_highlightedItem( unsafe.Pointer(x.Pointer()), @@ -14304,8 +14888,9 @@ func (x gen_NSMenu) HighlightedItem() NSMenuItem { } -// Delegate The delegate of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc +// Delegate returns the delegate of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc for details. func (x gen_NSMenu) Delegate() objc.Object { ret := C.NSMenu_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -14315,8 +14900,9 @@ func (x gen_NSMenu) Delegate() objc.Object { } -// SetDelegate The delegate of the menu. -// https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc +// SetDelegate returns the delegate of the menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc for details. func (x gen_NSMenu) SetDelegate( value objc.Ref, ) { @@ -14348,8 +14934,9 @@ func NSPopover_fromRef(ref objc.Ref) NSPopover { return NSPopover_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Close Forces the popover to close without consulting its delegate. -// https://developer.apple.com/documentation/appkit/nspopover/1526823-close?language=objc +// Close forces the popover to close without consulting its delegate. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1526823-close?language=objc for details. func (x gen_NSPopover) Close() { C.NSPopover_inst_close( unsafe.Pointer(x.Pointer()), @@ -14359,8 +14946,9 @@ func (x gen_NSPopover) Close() { } -// Init_asNSPopover -// https://developer.apple.com/documentation/appkit/nspopover/1526851-init?language=objc +// Init +// +// See https://developer.apple.com/documentation/appkit/nspopover/1526851-init?language=objc for details. func (x gen_NSPopover) Init_asNSPopover() NSPopover { ret := C.NSPopover_inst_init( unsafe.Pointer(x.Pointer()), @@ -14370,8 +14958,9 @@ func (x gen_NSPopover) Init_asNSPopover() NSPopover { } -// PerformClose Attempts to close the popover. -// https://developer.apple.com/documentation/appkit/nspopover/1534290-performclose?language=objc +// PerformClose attempts to close the popover. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1534290-performclose?language=objc for details. func (x gen_NSPopover) PerformClose( sender objc.Ref, ) { @@ -14384,8 +14973,9 @@ func (x gen_NSPopover) PerformClose( } -// Behavior Specifies the behavior of the popover. -// https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc +// Behavior specifies the behavior of the popover. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc for details. func (x gen_NSPopover) Behavior() core.NSInteger { ret := C.NSPopover_inst_behavior( unsafe.Pointer(x.Pointer()), @@ -14395,8 +14985,9 @@ func (x gen_NSPopover) Behavior() core.NSInteger { } -// SetBehavior Specifies the behavior of the popover. -// https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc +// SetBehavior specifies the behavior of the popover. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc for details. func (x gen_NSPopover) SetBehavior( value core.NSInteger, ) { @@ -14409,8 +15000,9 @@ func (x gen_NSPopover) SetBehavior( } -// PositioningRect The rectangle within the positioning view relative to which the popover should be positioned. -// https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc +// PositioningRect returns the rectangle within the positioning view relative to which the popover should be positioned. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc for details. func (x gen_NSPopover) PositioningRect() core.NSRect { ret := C.NSPopover_inst_positioningRect( unsafe.Pointer(x.Pointer()), @@ -14420,8 +15012,9 @@ func (x gen_NSPopover) PositioningRect() core.NSRect { } -// SetPositioningRect The rectangle within the positioning view relative to which the popover should be positioned. -// https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc +// SetPositioningRect returns the rectangle within the positioning view relative to which the popover should be positioned. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc for details. func (x gen_NSPopover) SetPositioningRect( value core.NSRect, ) { @@ -14434,8 +15027,9 @@ func (x gen_NSPopover) SetPositioningRect( } -// Animates Specifies if the popover is to be animated. -// https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc +// Animates specifies if the popover is to be animated. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc for details. func (x gen_NSPopover) Animates() bool { ret := C.NSPopover_inst_animates( unsafe.Pointer(x.Pointer()), @@ -14445,8 +15039,9 @@ func (x gen_NSPopover) Animates() bool { } -// SetAnimates Specifies if the popover is to be animated. -// https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc +// SetAnimates specifies if the popover is to be animated. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc for details. func (x gen_NSPopover) SetAnimates( value bool, ) { @@ -14459,8 +15054,9 @@ func (x gen_NSPopover) SetAnimates( } -// ContentSize The content size of the popover. -// https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc +// ContentSize returns the content size of the popover. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc for details. func (x gen_NSPopover) ContentSize() core.NSSize { ret := C.NSPopover_inst_contentSize( unsafe.Pointer(x.Pointer()), @@ -14470,8 +15066,9 @@ func (x gen_NSPopover) ContentSize() core.NSSize { } -// SetContentSize The content size of the popover. -// https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc +// SetContentSize returns the content size of the popover. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc for details. func (x gen_NSPopover) SetContentSize( value core.NSSize, ) { @@ -14484,8 +15081,9 @@ func (x gen_NSPopover) SetContentSize( } -// IsShown The display state of the popover. -// https://developer.apple.com/documentation/appkit/nspopover/1535120-shown?language=objc +// IsShown returns the display state of the popover. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1535120-shown?language=objc for details. func (x gen_NSPopover) IsShown() bool { ret := C.NSPopover_inst_isShown( unsafe.Pointer(x.Pointer()), @@ -14495,8 +15093,9 @@ func (x gen_NSPopover) IsShown() bool { } -// IsDetached A Boolean value that indicates whether the window created by a popover's detachment is automatically created. -// https://developer.apple.com/documentation/appkit/nspopover/1534278-detached?language=objc +// IsDetached returns a boolean value that indicates whether the window created by a popover's detachment is automatically created. +// +// See https://developer.apple.com/documentation/appkit/nspopover/1534278-detached?language=objc for details. func (x gen_NSPopover) IsDetached() bool { ret := C.NSPopover_inst_isDetached( unsafe.Pointer(x.Pointer()), @@ -14525,8 +15124,9 @@ func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem { return NSMenuItem_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithTitle_action_keyEquivalent_asNSMenuItem Returns an initialized instance of NSMenuItem. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc +// InitWithTitle_action_keyEquivalent returns an initialized instance of nsmenuitem. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc for details. func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent_asNSMenuItem( string core.NSStringRef, selector objc.Selector, @@ -14543,7 +15143,9 @@ func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent_asNSMenuItem( } -// Init_asNSMenuItem +// Init +// +// See for details. func (x gen_NSMenuItem) Init_asNSMenuItem() NSMenuItem { ret := C.NSMenuItem_inst_init( unsafe.Pointer(x.Pointer()), @@ -14553,8 +15155,9 @@ func (x gen_NSMenuItem) Init_asNSMenuItem() NSMenuItem { } -// IsEnabled A Boolean value that indicates whether the menu item is enabled. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc +// IsEnabled returns a boolean value that indicates whether the menu item is enabled. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc for details. func (x gen_NSMenuItem) IsEnabled() bool { ret := C.NSMenuItem_inst_isEnabled( unsafe.Pointer(x.Pointer()), @@ -14564,8 +15167,9 @@ func (x gen_NSMenuItem) IsEnabled() bool { } -// SetEnabled A Boolean value that indicates whether the menu item is enabled. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc +// SetEnabled returns a boolean value that indicates whether the menu item is enabled. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc for details. func (x gen_NSMenuItem) SetEnabled( value bool, ) { @@ -14578,8 +15182,9 @@ func (x gen_NSMenuItem) SetEnabled( } -// IsHidden A Boolean value that indicates whether the menu item is hidden. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc +// IsHidden returns a boolean value that indicates whether the menu item is hidden. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc for details. func (x gen_NSMenuItem) IsHidden() bool { ret := C.NSMenuItem_inst_isHidden( unsafe.Pointer(x.Pointer()), @@ -14589,8 +15194,9 @@ func (x gen_NSMenuItem) IsHidden() bool { } -// SetHidden A Boolean value that indicates whether the menu item is hidden. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc +// SetHidden returns a boolean value that indicates whether the menu item is hidden. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc for details. func (x gen_NSMenuItem) SetHidden( value bool, ) { @@ -14603,8 +15209,9 @@ func (x gen_NSMenuItem) SetHidden( } -// IsHiddenOrHasHiddenAncestor A Boolean value that indicates whether the menu item or any of its superitems is hidden. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514832-hiddenorhashiddenancestor?language=objc +// IsHiddenOrHasHiddenAncestor returns a boolean value that indicates whether the menu item or any of its superitems is hidden. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514832-hiddenorhashiddenancestor?language=objc for details. func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() bool { ret := C.NSMenuItem_inst_isHiddenOrHasHiddenAncestor( unsafe.Pointer(x.Pointer()), @@ -14614,8 +15221,9 @@ func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() bool { } -// Target The menu item's target. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc +// Target returns the menu item's target. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc for details. func (x gen_NSMenuItem) Target() objc.Object { ret := C.NSMenuItem_inst_target( unsafe.Pointer(x.Pointer()), @@ -14625,8 +15233,9 @@ func (x gen_NSMenuItem) Target() objc.Object { } -// SetTarget The menu item's target. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc +// SetTarget returns the menu item's target. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc for details. func (x gen_NSMenuItem) SetTarget( value objc.Ref, ) { @@ -14639,8 +15248,9 @@ func (x gen_NSMenuItem) SetTarget( } -// Action The menu item's action-method selector. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc +// Action returns the menu item's action-method selector. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc for details. func (x gen_NSMenuItem) Action() objc.Selector { ret := C.NSMenuItem_inst_action( unsafe.Pointer(x.Pointer()), @@ -14650,8 +15260,9 @@ func (x gen_NSMenuItem) Action() objc.Selector { } -// SetAction The menu item's action-method selector. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc +// SetAction returns the menu item's action-method selector. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc for details. func (x gen_NSMenuItem) SetAction( value objc.Selector, ) { @@ -14664,8 +15275,9 @@ func (x gen_NSMenuItem) SetAction( } -// Title The menu item's title. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc +// Title returns the menu item's title. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc for details. func (x gen_NSMenuItem) Title() core.NSString { ret := C.NSMenuItem_inst_title( unsafe.Pointer(x.Pointer()), @@ -14675,8 +15287,9 @@ func (x gen_NSMenuItem) Title() core.NSString { } -// SetTitle The menu item's title. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc +// SetTitle returns the menu item's title. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc for details. func (x gen_NSMenuItem) SetTitle( value core.NSStringRef, ) { @@ -14689,8 +15302,9 @@ func (x gen_NSMenuItem) SetTitle( } -// AttributedTitle A custom string for a menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc +// AttributedTitle returns a custom string for a menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc for details. func (x gen_NSMenuItem) AttributedTitle() core.NSAttributedString { ret := C.NSMenuItem_inst_attributedTitle( unsafe.Pointer(x.Pointer()), @@ -14700,8 +15314,9 @@ func (x gen_NSMenuItem) AttributedTitle() core.NSAttributedString { } -// SetAttributedTitle A custom string for a menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc +// SetAttributedTitle returns a custom string for a menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc for details. func (x gen_NSMenuItem) SetAttributedTitle( value core.NSAttributedStringRef, ) { @@ -14714,8 +15329,9 @@ func (x gen_NSMenuItem) SetAttributedTitle( } -// Tag The menu item's tag. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc +// Tag returns the menu item's tag. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc for details. func (x gen_NSMenuItem) Tag() core.NSInteger { ret := C.NSMenuItem_inst_tag( unsafe.Pointer(x.Pointer()), @@ -14725,8 +15341,9 @@ func (x gen_NSMenuItem) Tag() core.NSInteger { } -// SetTag The menu item's tag. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc +// SetTag returns the menu item's tag. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc for details. func (x gen_NSMenuItem) SetTag( value core.NSInteger, ) { @@ -14739,8 +15356,9 @@ func (x gen_NSMenuItem) SetTag( } -// State The state of the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc +// State returns the state of the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc for details. func (x gen_NSMenuItem) State() core.NSInteger { ret := C.NSMenuItem_inst_state( unsafe.Pointer(x.Pointer()), @@ -14750,8 +15368,9 @@ func (x gen_NSMenuItem) State() core.NSInteger { } -// SetState The state of the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc +// SetState returns the state of the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc for details. func (x gen_NSMenuItem) SetState( value core.NSInteger, ) { @@ -14764,8 +15383,9 @@ func (x gen_NSMenuItem) SetState( } -// Image The menu item’s image. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc +// Image returns the menu item’s image. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc for details. func (x gen_NSMenuItem) Image() NSImage { ret := C.NSMenuItem_inst_image( unsafe.Pointer(x.Pointer()), @@ -14775,8 +15395,9 @@ func (x gen_NSMenuItem) Image() NSImage { } -// SetImage The menu item’s image. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc +// SetImage returns the menu item’s image. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc for details. func (x gen_NSMenuItem) SetImage( value NSImageRef, ) { @@ -14789,8 +15410,9 @@ func (x gen_NSMenuItem) SetImage( } -// OnStateImage The image of the menu item that indicates an “on” state. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc +// OnStateImage returns the image of the menu item that indicates an “on” state. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc for details. func (x gen_NSMenuItem) OnStateImage() NSImage { ret := C.NSMenuItem_inst_onStateImage( unsafe.Pointer(x.Pointer()), @@ -14800,8 +15422,9 @@ func (x gen_NSMenuItem) OnStateImage() NSImage { } -// SetOnStateImage The image of the menu item that indicates an “on” state. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc +// SetOnStateImage returns the image of the menu item that indicates an “on” state. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc for details. func (x gen_NSMenuItem) SetOnStateImage( value NSImageRef, ) { @@ -14814,8 +15437,9 @@ func (x gen_NSMenuItem) SetOnStateImage( } -// OffStateImage The image of the menu item that indicates an “off” state. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc +// OffStateImage returns the image of the menu item that indicates an “off” state. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc for details. func (x gen_NSMenuItem) OffStateImage() NSImage { ret := C.NSMenuItem_inst_offStateImage( unsafe.Pointer(x.Pointer()), @@ -14825,8 +15449,9 @@ func (x gen_NSMenuItem) OffStateImage() NSImage { } -// SetOffStateImage The image of the menu item that indicates an “off” state. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc +// SetOffStateImage returns the image of the menu item that indicates an “off” state. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc for details. func (x gen_NSMenuItem) SetOffStateImage( value NSImageRef, ) { @@ -14839,8 +15464,9 @@ func (x gen_NSMenuItem) SetOffStateImage( } -// MixedStateImage The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc +// MixedStateImage returns the image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc for details. func (x gen_NSMenuItem) MixedStateImage() NSImage { ret := C.NSMenuItem_inst_mixedStateImage( unsafe.Pointer(x.Pointer()), @@ -14850,8 +15476,9 @@ func (x gen_NSMenuItem) MixedStateImage() NSImage { } -// SetMixedStateImage The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc +// SetMixedStateImage returns the image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc for details. func (x gen_NSMenuItem) SetMixedStateImage( value NSImageRef, ) { @@ -14864,8 +15491,9 @@ func (x gen_NSMenuItem) SetMixedStateImage( } -// Submenu The submenu of the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc +// Submenu returns the submenu of the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc for details. func (x gen_NSMenuItem) Submenu() NSMenu { ret := C.NSMenuItem_inst_submenu( unsafe.Pointer(x.Pointer()), @@ -14875,8 +15503,9 @@ func (x gen_NSMenuItem) Submenu() NSMenu { } -// SetSubmenu The submenu of the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc +// SetSubmenu returns the submenu of the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc for details. func (x gen_NSMenuItem) SetSubmenu( value NSMenuRef, ) { @@ -14889,8 +15518,9 @@ func (x gen_NSMenuItem) SetSubmenu( } -// HasSubmenu A Boolean value that indicates whether the menu item has a submenu. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514817-hassubmenu?language=objc +// HasSubmenu returns a boolean value that indicates whether the menu item has a submenu. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514817-hassubmenu?language=objc for details. func (x gen_NSMenuItem) HasSubmenu() bool { ret := C.NSMenuItem_inst_hasSubmenu( unsafe.Pointer(x.Pointer()), @@ -14900,8 +15530,9 @@ func (x gen_NSMenuItem) HasSubmenu() bool { } -// ParentItem The menu item whose submenu contains the receiver. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514813-parentitem?language=objc +// ParentItem returns the menu item whose submenu contains the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514813-parentitem?language=objc for details. func (x gen_NSMenuItem) ParentItem() NSMenuItem { ret := C.NSMenuItem_inst_parentItem( unsafe.Pointer(x.Pointer()), @@ -14911,8 +15542,9 @@ func (x gen_NSMenuItem) ParentItem() NSMenuItem { } -// IsSeparatorItem A menu item that is used to separate logical groups of menu commands. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514837-separatoritem?language=objc +// IsSeparatorItem returns a menu item that is used to separate logical groups of menu commands. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514837-separatoritem?language=objc for details. func (x gen_NSMenuItem) IsSeparatorItem() bool { ret := C.NSMenuItem_inst_isSeparatorItem( unsafe.Pointer(x.Pointer()), @@ -14922,8 +15554,9 @@ func (x gen_NSMenuItem) IsSeparatorItem() bool { } -// Menu The menu item’s menu. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc +// Menu returns the menu item’s menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc for details. func (x gen_NSMenuItem) Menu() NSMenu { ret := C.NSMenuItem_inst_menu( unsafe.Pointer(x.Pointer()), @@ -14933,8 +15566,9 @@ func (x gen_NSMenuItem) Menu() NSMenu { } -// SetMenu The menu item’s menu. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc +// SetMenu returns the menu item’s menu. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc for details. func (x gen_NSMenuItem) SetMenu( value NSMenuRef, ) { @@ -14947,8 +15581,9 @@ func (x gen_NSMenuItem) SetMenu( } -// KeyEquivalent The menu item’s unmodified key equivalent. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc +// KeyEquivalent returns the menu item’s unmodified key equivalent. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc for details. func (x gen_NSMenuItem) KeyEquivalent() core.NSString { ret := C.NSMenuItem_inst_keyEquivalent( unsafe.Pointer(x.Pointer()), @@ -14958,8 +15593,9 @@ func (x gen_NSMenuItem) KeyEquivalent() core.NSString { } -// SetKeyEquivalent The menu item’s unmodified key equivalent. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc +// SetKeyEquivalent returns the menu item’s unmodified key equivalent. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc for details. func (x gen_NSMenuItem) SetKeyEquivalent( value core.NSStringRef, ) { @@ -14972,8 +15608,9 @@ func (x gen_NSMenuItem) SetKeyEquivalent( } -// UserKeyEquivalent The user-assigned key equivalent for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514850-userkeyequivalent?language=objc +// UserKeyEquivalent returns the user-assigned key equivalent for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514850-userkeyequivalent?language=objc for details. func (x gen_NSMenuItem) UserKeyEquivalent() core.NSString { ret := C.NSMenuItem_inst_userKeyEquivalent( unsafe.Pointer(x.Pointer()), @@ -14983,8 +15620,9 @@ func (x gen_NSMenuItem) UserKeyEquivalent() core.NSString { } -// IsAlternate A Boolean value that marks the menu item as an alternate to the previous menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc +// IsAlternate returns a boolean value that marks the menu item as an alternate to the previous menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc for details. func (x gen_NSMenuItem) IsAlternate() bool { ret := C.NSMenuItem_inst_isAlternate( unsafe.Pointer(x.Pointer()), @@ -14994,8 +15632,9 @@ func (x gen_NSMenuItem) IsAlternate() bool { } -// SetAlternate A Boolean value that marks the menu item as an alternate to the previous menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc +// SetAlternate returns a boolean value that marks the menu item as an alternate to the previous menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc for details. func (x gen_NSMenuItem) SetAlternate( value bool, ) { @@ -15008,8 +15647,9 @@ func (x gen_NSMenuItem) SetAlternate( } -// IndentationLevel The menu item indentation level for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc +// IndentationLevel returns the menu item indentation level for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc for details. func (x gen_NSMenuItem) IndentationLevel() core.NSInteger { ret := C.NSMenuItem_inst_indentationLevel( unsafe.Pointer(x.Pointer()), @@ -15019,8 +15659,9 @@ func (x gen_NSMenuItem) IndentationLevel() core.NSInteger { } -// SetIndentationLevel The menu item indentation level for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc +// SetIndentationLevel returns the menu item indentation level for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc for details. func (x gen_NSMenuItem) SetIndentationLevel( value core.NSInteger, ) { @@ -15033,8 +15674,9 @@ func (x gen_NSMenuItem) SetIndentationLevel( } -// ToolTip A help tag for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc +// ToolTip returns a help tag for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc for details. func (x gen_NSMenuItem) ToolTip() core.NSString { ret := C.NSMenuItem_inst_toolTip( unsafe.Pointer(x.Pointer()), @@ -15044,8 +15686,9 @@ func (x gen_NSMenuItem) ToolTip() core.NSString { } -// SetToolTip A help tag for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc +// SetToolTip returns a help tag for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc for details. func (x gen_NSMenuItem) SetToolTip( value core.NSStringRef, ) { @@ -15058,8 +15701,9 @@ func (x gen_NSMenuItem) SetToolTip( } -// RepresentedObject The object represented by the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc +// RepresentedObject returns the object represented by the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc for details. func (x gen_NSMenuItem) RepresentedObject() objc.Object { ret := C.NSMenuItem_inst_representedObject( unsafe.Pointer(x.Pointer()), @@ -15069,8 +15713,9 @@ func (x gen_NSMenuItem) RepresentedObject() objc.Object { } -// SetRepresentedObject The object represented by the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc +// SetRepresentedObject returns the object represented by the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc for details. func (x gen_NSMenuItem) SetRepresentedObject( value objc.Ref, ) { @@ -15083,8 +15728,9 @@ func (x gen_NSMenuItem) SetRepresentedObject( } -// View The content view for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc +// View returns the content view for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc for details. func (x gen_NSMenuItem) View() NSView { ret := C.NSMenuItem_inst_view( unsafe.Pointer(x.Pointer()), @@ -15094,8 +15740,9 @@ func (x gen_NSMenuItem) View() NSView { } -// SetView The content view for the menu item. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc +// SetView returns the content view for the menu item. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc for details. func (x gen_NSMenuItem) SetView( value NSViewRef, ) { @@ -15108,8 +15755,9 @@ func (x gen_NSMenuItem) SetView( } -// IsHighlighted A Boolean value that indicates whether the menu item should be drawn highlighted. -// https://developer.apple.com/documentation/appkit/nsmenuitem/1514856-highlighted?language=objc +// IsHighlighted returns a boolean value that indicates whether the menu item should be drawn highlighted. +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/1514856-highlighted?language=objc for details. func (x gen_NSMenuItem) IsHighlighted() bool { ret := C.NSMenuItem_inst_isHighlighted( unsafe.Pointer(x.Pointer()), @@ -15120,7 +15768,8 @@ func (x gen_NSMenuItem) IsHighlighted() bool { } // AllowsAutomaticKeyEquivalentLocalization -// https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc for details. func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() bool { ret := C.NSMenuItem_inst_allowsAutomaticKeyEquivalentLocalization( unsafe.Pointer(x.Pointer()), @@ -15131,7 +15780,8 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() bool { } // SetAllowsAutomaticKeyEquivalentLocalization -// https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc for details. func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( value bool, ) { @@ -15145,7 +15795,8 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( } // AllowsAutomaticKeyEquivalentMirroring -// https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc for details. func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() bool { ret := C.NSMenuItem_inst_allowsAutomaticKeyEquivalentMirroring( unsafe.Pointer(x.Pointer()), @@ -15156,7 +15807,8 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() bool { } // SetAllowsAutomaticKeyEquivalentMirroring -// https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc for details. func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( value bool, ) { @@ -15170,7 +15822,8 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( } // AllowsKeyEquivalentWhenHidden -// https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc for details. func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() bool { ret := C.NSMenuItem_inst_allowsKeyEquivalentWhenHidden( unsafe.Pointer(x.Pointer()), @@ -15181,7 +15834,8 @@ func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() bool { } // SetAllowsKeyEquivalentWhenHidden -// https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc for details. func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden( value bool, ) { @@ -15213,8 +15867,9 @@ func NSRunningApplication_fromRef(ref objc.Ref) NSRunningApplication { return NSRunningApplication_fromPointer(unsafe.Pointer(ref.Pointer())) } -// ForceTerminate Attempts to force the receiver to quit. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1530370-forceterminate?language=objc +// ForceTerminate attempts to force the receiver to quit. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1530370-forceterminate?language=objc for details. func (x gen_NSRunningApplication) ForceTerminate() bool { ret := C.NSRunningApplication_inst_forceTerminate( unsafe.Pointer(x.Pointer()), @@ -15224,8 +15879,9 @@ func (x gen_NSRunningApplication) ForceTerminate() bool { } -// Hide Attempts to hide or the application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1526608-hide?language=objc +// Hide attempts to hide or the application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1526608-hide?language=objc for details. func (x gen_NSRunningApplication) Hide() bool { ret := C.NSRunningApplication_inst_hide( unsafe.Pointer(x.Pointer()), @@ -15235,8 +15891,9 @@ func (x gen_NSRunningApplication) Hide() bool { } -// Terminate Attempts to quit the receiver normally. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1528922-terminate?language=objc +// Terminate attempts to quit the receiver normally. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1528922-terminate?language=objc for details. func (x gen_NSRunningApplication) Terminate() bool { ret := C.NSRunningApplication_inst_terminate( unsafe.Pointer(x.Pointer()), @@ -15246,8 +15903,9 @@ func (x gen_NSRunningApplication) Terminate() bool { } -// Unhide Attempts to unhide or the application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1534676-unhide?language=objc +// Unhide attempts to unhide or the application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1534676-unhide?language=objc for details. func (x gen_NSRunningApplication) Unhide() bool { ret := C.NSRunningApplication_inst_unhide( unsafe.Pointer(x.Pointer()), @@ -15257,7 +15915,9 @@ func (x gen_NSRunningApplication) Unhide() bool { } -// Init_asNSRunningApplication +// Init +// +// See for details. func (x gen_NSRunningApplication) Init_asNSRunningApplication() NSRunningApplication { ret := C.NSRunningApplication_inst_init( unsafe.Pointer(x.Pointer()), @@ -15267,8 +15927,9 @@ func (x gen_NSRunningApplication) Init_asNSRunningApplication() NSRunningApplica } -// IsActive Indicates whether the application is currently frontmost. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1528778-active?language=objc +// IsActive indicates whether the application is currently frontmost. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1528778-active?language=objc for details. func (x gen_NSRunningApplication) IsActive() bool { ret := C.NSRunningApplication_inst_isActive( unsafe.Pointer(x.Pointer()), @@ -15278,8 +15939,9 @@ func (x gen_NSRunningApplication) IsActive() bool { } -// ActivationPolicy Indicates the activation policy of the application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1533103-activationpolicy?language=objc +// ActivationPolicy indicates the activation policy of the application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1533103-activationpolicy?language=objc for details. func (x gen_NSRunningApplication) ActivationPolicy() core.NSInteger { ret := C.NSRunningApplication_inst_activationPolicy( unsafe.Pointer(x.Pointer()), @@ -15289,8 +15951,9 @@ func (x gen_NSRunningApplication) ActivationPolicy() core.NSInteger { } -// IsHidden Indicates whether the application is currently hidden. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1525949-hidden?language=objc +// IsHidden indicates whether the application is currently hidden. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1525949-hidden?language=objc for details. func (x gen_NSRunningApplication) IsHidden() bool { ret := C.NSRunningApplication_inst_isHidden( unsafe.Pointer(x.Pointer()), @@ -15300,8 +15963,9 @@ func (x gen_NSRunningApplication) IsHidden() bool { } -// LocalizedName Indicates the localized name of the application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1526751-localizedname?language=objc +// LocalizedName indicates the localized name of the application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1526751-localizedname?language=objc for details. func (x gen_NSRunningApplication) LocalizedName() core.NSString { ret := C.NSRunningApplication_inst_localizedName( unsafe.Pointer(x.Pointer()), @@ -15311,8 +15975,9 @@ func (x gen_NSRunningApplication) LocalizedName() core.NSString { } -// Icon Returns the icon for the receiver’s application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1529885-icon?language=objc +// Icon returns the icon for the receiver’s application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1529885-icon?language=objc for details. func (x gen_NSRunningApplication) Icon() NSImage { ret := C.NSRunningApplication_inst_icon( unsafe.Pointer(x.Pointer()), @@ -15322,8 +15987,9 @@ func (x gen_NSRunningApplication) Icon() NSImage { } -// BundleIdentifier Indicates the CFBundleIdentifier of the application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc +// BundleIdentifier indicates the cfbundleidentifier of the application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc for details. func (x gen_NSRunningApplication) BundleIdentifier() core.NSString { ret := C.NSRunningApplication_inst_bundleIdentifier( unsafe.Pointer(x.Pointer()), @@ -15333,8 +15999,9 @@ func (x gen_NSRunningApplication) BundleIdentifier() core.NSString { } -// BundleURL Indicates the URL to the application's bundle. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1535500-bundleurl?language=objc +// BundleURL indicates the url to the application's bundle. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1535500-bundleurl?language=objc for details. func (x gen_NSRunningApplication) BundleURL() core.NSURL { ret := C.NSRunningApplication_inst_bundleURL( unsafe.Pointer(x.Pointer()), @@ -15344,8 +16011,9 @@ func (x gen_NSRunningApplication) BundleURL() core.NSURL { } -// ExecutableArchitecture Indicates the executing processor architecture for the application. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1524287-executablearchitecture?language=objc +// ExecutableArchitecture indicates the executing processor architecture for the application. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1524287-executablearchitecture?language=objc for details. func (x gen_NSRunningApplication) ExecutableArchitecture() core.NSInteger { ret := C.NSRunningApplication_inst_executableArchitecture( unsafe.Pointer(x.Pointer()), @@ -15355,8 +16023,9 @@ func (x gen_NSRunningApplication) ExecutableArchitecture() core.NSInteger { } -// ExecutableURL Indicates the URL to the application's executable. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1531062-executableurl?language=objc +// ExecutableURL indicates the url to the application's executable. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1531062-executableurl?language=objc for details. func (x gen_NSRunningApplication) ExecutableURL() core.NSURL { ret := C.NSRunningApplication_inst_executableURL( unsafe.Pointer(x.Pointer()), @@ -15366,8 +16035,9 @@ func (x gen_NSRunningApplication) ExecutableURL() core.NSURL { } -// IsFinishedLaunching Indicates whether the receiver’s process has finished launching, -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1532002-finishedlaunching?language=objc +// IsFinishedLaunching indicates whether the receiver’s process has finished launching, +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1532002-finishedlaunching?language=objc for details. func (x gen_NSRunningApplication) IsFinishedLaunching() bool { ret := C.NSRunningApplication_inst_isFinishedLaunching( unsafe.Pointer(x.Pointer()), @@ -15377,8 +16047,9 @@ func (x gen_NSRunningApplication) IsFinishedLaunching() bool { } -// OwnsMenuBar Returns whether the application owns the current menu bar. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1525915-ownsmenubar?language=objc +// OwnsMenuBar returns whether the application owns the current menu bar. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1525915-ownsmenubar?language=objc for details. func (x gen_NSRunningApplication) OwnsMenuBar() bool { ret := C.NSRunningApplication_inst_ownsMenuBar( unsafe.Pointer(x.Pointer()), @@ -15388,8 +16059,9 @@ func (x gen_NSRunningApplication) OwnsMenuBar() bool { } -// IsTerminated Indicates that the receiver’s application has terminated. -// https://developer.apple.com/documentation/appkit/nsrunningapplication/1532239-terminated?language=objc +// IsTerminated indicates that the receiver’s application has terminated. +// +// See https://developer.apple.com/documentation/appkit/nsrunningapplication/1532239-terminated?language=objc for details. func (x gen_NSRunningApplication) IsTerminated() bool { ret := C.NSRunningApplication_inst_isTerminated( unsafe.Pointer(x.Pointer()), @@ -15418,8 +16090,9 @@ func NSScreen_fromRef(ref objc.Ref) NSScreen { return NSScreen_fromPointer(unsafe.Pointer(ref.Pointer())) } -// ConvertRectFromBacking Converts the rectangle from the device pixel aligned coordinates system of a screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388364-convertrectfrombacking?language=objc +// ConvertRectFromBacking converts the rectangle from the device pixel aligned coordinates system of a screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388364-convertrectfrombacking?language=objc for details. func (x gen_NSScreen) ConvertRectFromBacking( rect core.NSRect, ) core.NSRect { @@ -15432,8 +16105,9 @@ func (x gen_NSScreen) ConvertRectFromBacking( } -// ConvertRectToBacking Converts the rectangle to the device pixel aligned coordinates system of a screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388389-convertrecttobacking?language=objc +// ConvertRectToBacking converts the rectangle to the device pixel aligned coordinates system of a screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388389-convertrecttobacking?language=objc for details. func (x gen_NSScreen) ConvertRectToBacking( rect core.NSRect, ) core.NSRect { @@ -15446,7 +16120,9 @@ func (x gen_NSScreen) ConvertRectToBacking( } -// Init_asNSScreen +// Init +// +// See for details. func (x gen_NSScreen) Init_asNSScreen() NSScreen { ret := C.NSScreen_inst_init( unsafe.Pointer(x.Pointer()), @@ -15456,8 +16132,9 @@ func (x gen_NSScreen) Init_asNSScreen() NSScreen { } -// Frame The dimensions and location of the screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388387-frame?language=objc +// Frame returns the dimensions and location of the screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388387-frame?language=objc for details. func (x gen_NSScreen) Frame() core.NSRect { ret := C.NSScreen_inst_frame( unsafe.Pointer(x.Pointer()), @@ -15467,8 +16144,9 @@ func (x gen_NSScreen) Frame() core.NSRect { } -// DeviceDescription The device dictionary for the screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388360-devicedescription?language=objc +// DeviceDescription returns the device dictionary for the screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388360-devicedescription?language=objc for details. func (x gen_NSScreen) DeviceDescription() core.NSDictionary { ret := C.NSScreen_inst_deviceDescription( unsafe.Pointer(x.Pointer()), @@ -15478,8 +16156,9 @@ func (x gen_NSScreen) DeviceDescription() core.NSDictionary { } -// VisibleFrame The current location and dimensions of the visible screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388369-visibleframe?language=objc +// VisibleFrame returns the current location and dimensions of the visible screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388369-visibleframe?language=objc for details. func (x gen_NSScreen) VisibleFrame() core.NSRect { ret := C.NSScreen_inst_visibleFrame( unsafe.Pointer(x.Pointer()), @@ -15489,8 +16168,9 @@ func (x gen_NSScreen) VisibleFrame() core.NSRect { } -// BackingScaleFactor The backing store pixel scale factor for the screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388385-backingscalefactor?language=objc +// BackingScaleFactor returns the backing store pixel scale factor for the screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388385-backingscalefactor?language=objc for details. func (x gen_NSScreen) BackingScaleFactor() core.CGFloat { ret := C.NSScreen_inst_backingScaleFactor( unsafe.Pointer(x.Pointer()), @@ -15500,8 +16180,9 @@ func (x gen_NSScreen) BackingScaleFactor() core.CGFloat { } -// MaximumPotentialExtendedDynamicRangeColorComponentValue The maximum possible color component value for the screen when it's in extended dynamic range (EDR) mode. -// https://developer.apple.com/documentation/appkit/nsscreen/3180381-maximumpotentialextendeddynamicr?language=objc +// MaximumPotentialExtendedDynamicRangeColorComponentValue returns the maximum possible color component value for the screen when it's in extended dynamic range (edr) mode. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/3180381-maximumpotentialextendeddynamicr?language=objc for details. func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() core.CGFloat { ret := C.NSScreen_inst_maximumPotentialExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), @@ -15511,8 +16192,9 @@ func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() } -// MaximumExtendedDynamicRangeColorComponentValue The current maximum color component value for the screen. -// https://developer.apple.com/documentation/appkit/nsscreen/1388362-maximumextendeddynamicrangecolor?language=objc +// MaximumExtendedDynamicRangeColorComponentValue returns the current maximum color component value for the screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/1388362-maximumextendeddynamicrangecolor?language=objc for details. func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() core.CGFloat { ret := C.NSScreen_inst_maximumExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), @@ -15522,8 +16204,9 @@ func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() core.CGFl } -// MaximumReferenceExtendedDynamicRangeColorComponentValue The current maximum color component value for reference rendering to the screen. -// https://developer.apple.com/documentation/appkit/nsscreen/3180382-maximumreferenceextendeddynamicr?language=objc +// MaximumReferenceExtendedDynamicRangeColorComponentValue returns the current maximum color component value for reference rendering to the screen. +// +// See https://developer.apple.com/documentation/appkit/nsscreen/3180382-maximumreferenceextendeddynamicr?language=objc for details. func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() core.CGFloat { ret := C.NSScreen_inst_maximumReferenceExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), @@ -15534,7 +16217,8 @@ func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() } // LocalizedName -// https://developer.apple.com/documentation/appkit/nsscreen/3228043-localizedname?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsscreen/3228043-localizedname?language=objc for details. func (x gen_NSScreen) LocalizedName() core.NSString { ret := C.NSScreen_inst_localizedName( unsafe.Pointer(x.Pointer()), @@ -15545,7 +16229,8 @@ func (x gen_NSScreen) LocalizedName() core.NSString { } // MaximumFramesPerSecond -// https://developer.apple.com/documentation/appkit/nsscreen/3824745-maximumframespersecond?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsscreen/3824745-maximumframespersecond?language=objc for details. func (x gen_NSScreen) MaximumFramesPerSecond() core.NSInteger { ret := C.NSScreen_inst_maximumFramesPerSecond( unsafe.Pointer(x.Pointer()), @@ -15574,8 +16259,9 @@ func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar { return NSStatusBar_fromPointer(unsafe.Pointer(ref.Pointer())) } -// RemoveStatusItem Removes the specified status item from the receiver. -// https://developer.apple.com/documentation/appkit/nsstatusbar/1530377-removestatusitem?language=objc +// RemoveStatusItem removes the specified status item from the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsstatusbar/1530377-removestatusitem?language=objc for details. func (x gen_NSStatusBar) RemoveStatusItem( item NSStatusItemRef, ) { @@ -15588,8 +16274,9 @@ func (x gen_NSStatusBar) RemoveStatusItem( } -// StatusItemWithLength Returns a newly created status item that has been allotted a specified space within the status bar. -// https://developer.apple.com/documentation/appkit/nsstatusbar/1532895-statusitemwithlength?language=objc +// StatusItemWithLength returns a newly created status item that has been allotted a specified space within the status bar. +// +// See https://developer.apple.com/documentation/appkit/nsstatusbar/1532895-statusitemwithlength?language=objc for details. func (x gen_NSStatusBar) StatusItemWithLength( length core.CGFloat, ) NSStatusItem { @@ -15602,7 +16289,9 @@ func (x gen_NSStatusBar) StatusItemWithLength( } -// Init_asNSStatusBar +// Init +// +// See for details. func (x gen_NSStatusBar) Init_asNSStatusBar() NSStatusBar { ret := C.NSStatusBar_inst_init( unsafe.Pointer(x.Pointer()), @@ -15612,8 +16301,9 @@ func (x gen_NSStatusBar) Init_asNSStatusBar() NSStatusBar { } -// IsVertical A Boolean value indicating whether the status bar has a vertical orientation. -// https://developer.apple.com/documentation/appkit/nsstatusbar/1530580-vertical?language=objc +// IsVertical returns a boolean value indicating whether the status bar has a vertical orientation. +// +// See https://developer.apple.com/documentation/appkit/nsstatusbar/1530580-vertical?language=objc for details. func (x gen_NSStatusBar) IsVertical() bool { ret := C.NSStatusBar_inst_isVertical( unsafe.Pointer(x.Pointer()), @@ -15623,8 +16313,9 @@ func (x gen_NSStatusBar) IsVertical() bool { } -// Thickness The thickness of the status bar, in pixels. -// https://developer.apple.com/documentation/appkit/nsstatusbar/1534591-thickness?language=objc +// Thickness returns the thickness of the status bar, in pixels. +// +// See https://developer.apple.com/documentation/appkit/nsstatusbar/1534591-thickness?language=objc for details. func (x gen_NSStatusBar) Thickness() core.CGFloat { ret := C.NSStatusBar_inst_thickness( unsafe.Pointer(x.Pointer()), @@ -15653,7 +16344,9 @@ func NSStatusBarButton_fromRef(ref objc.Ref) NSStatusBarButton { return NSStatusBarButton_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Init_asNSStatusBarButton +// Init +// +// See for details. func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() NSStatusBarButton { ret := C.NSStatusBarButton_inst_init( unsafe.Pointer(x.Pointer()), @@ -15664,7 +16357,8 @@ func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() NSStatusBarButton { } // AppearsDisabled -// https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc for details. func (x gen_NSStatusBarButton) AppearsDisabled() bool { ret := C.NSStatusBarButton_inst_appearsDisabled( unsafe.Pointer(x.Pointer()), @@ -15675,7 +16369,8 @@ func (x gen_NSStatusBarButton) AppearsDisabled() bool { } // SetAppearsDisabled -// https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc for details. func (x gen_NSStatusBarButton) SetAppearsDisabled( value bool, ) { @@ -15707,7 +16402,9 @@ func NSStatusItem_fromRef(ref objc.Ref) NSStatusItem { return NSStatusItem_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Init_asNSStatusItem +// Init +// +// See for details. func (x gen_NSStatusItem) Init_asNSStatusItem() NSStatusItem { ret := C.NSStatusItem_inst_init( unsafe.Pointer(x.Pointer()), @@ -15717,8 +16414,9 @@ func (x gen_NSStatusItem) Init_asNSStatusItem() NSStatusItem { } -// StatusBar The status bar that displays the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1525951-statusbar?language=objc +// StatusBar returns the status bar that displays the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1525951-statusbar?language=objc for details. func (x gen_NSStatusItem) StatusBar() NSStatusBar { ret := C.NSStatusItem_inst_statusBar( unsafe.Pointer(x.Pointer()), @@ -15728,8 +16426,9 @@ func (x gen_NSStatusItem) StatusBar() NSStatusBar { } -// Button The button displayed in the status bar. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1535056-button?language=objc +// Button returns the button displayed in the status bar. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1535056-button?language=objc for details. func (x gen_NSStatusItem) Button() NSStatusBarButton { ret := C.NSStatusItem_inst_button( unsafe.Pointer(x.Pointer()), @@ -15739,8 +16438,9 @@ func (x gen_NSStatusItem) Button() NSStatusBarButton { } -// Menu The pull-down menu displayed when the user clicks the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc +// Menu returns the pull-down menu displayed when the user clicks the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc for details. func (x gen_NSStatusItem) Menu() NSMenu { ret := C.NSStatusItem_inst_menu( unsafe.Pointer(x.Pointer()), @@ -15750,8 +16450,9 @@ func (x gen_NSStatusItem) Menu() NSMenu { } -// SetMenu The pull-down menu displayed when the user clicks the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc +// SetMenu returns the pull-down menu displayed when the user clicks the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc for details. func (x gen_NSStatusItem) SetMenu( value NSMenuRef, ) { @@ -15764,8 +16465,9 @@ func (x gen_NSStatusItem) SetMenu( } -// IsVisible A Boolean value indicating if the menu bar currently displays the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc +// IsVisible returns a boolean value indicating if the menu bar currently displays the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc for details. func (x gen_NSStatusItem) IsVisible() bool { ret := C.NSStatusItem_inst_isVisible( unsafe.Pointer(x.Pointer()), @@ -15775,8 +16477,9 @@ func (x gen_NSStatusItem) IsVisible() bool { } -// SetVisible A Boolean value indicating if the menu bar currently displays the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc +// SetVisible returns a boolean value indicating if the menu bar currently displays the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc for details. func (x gen_NSStatusItem) SetVisible( value bool, ) { @@ -15789,8 +16492,9 @@ func (x gen_NSStatusItem) SetVisible( } -// Length The amount of space in the status bar that should be allocated to the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc +// Length returns the amount of space in the status bar that should be allocated to the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc for details. func (x gen_NSStatusItem) Length() core.CGFloat { ret := C.NSStatusItem_inst_length( unsafe.Pointer(x.Pointer()), @@ -15800,8 +16504,9 @@ func (x gen_NSStatusItem) Length() core.CGFloat { } -// SetLength The amount of space in the status bar that should be allocated to the status item. -// https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc +// SetLength returns the amount of space in the status bar that should be allocated to the status item. +// +// See https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc for details. func (x gen_NSStatusItem) SetLength( value core.CGFloat, ) { @@ -15833,8 +16538,9 @@ func NSText_fromRef(ref objc.Ref) NSText { return NSText_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AlignCenter This action method applies center alignment to selected paragraphs (or all text if the receiver is a plain text object). -// https://developer.apple.com/documentation/appkit/nstext/1535569-aligncenter?language=objc +// AlignCenter this action method applies center alignment to selected paragraphs (or all text if the receiver is a plain text object). +// +// See https://developer.apple.com/documentation/appkit/nstext/1535569-aligncenter?language=objc for details. func (x gen_NSText) AlignCenter( sender objc.Ref, ) { @@ -15847,8 +16553,9 @@ func (x gen_NSText) AlignCenter( } -// AlignLeft This action method applies left alignment to selected paragraphs (or all text if the receiver is a plain text object). -// https://developer.apple.com/documentation/appkit/nstext/1535705-alignleft?language=objc +// AlignLeft this action method applies left alignment to selected paragraphs (or all text if the receiver is a plain text object). +// +// See https://developer.apple.com/documentation/appkit/nstext/1535705-alignleft?language=objc for details. func (x gen_NSText) AlignLeft( sender objc.Ref, ) { @@ -15861,8 +16568,9 @@ func (x gen_NSText) AlignLeft( } -// AlignRight This action method applies right alignment to selected paragraphs (or all text if the receiver is a plain text object). -// https://developer.apple.com/documentation/appkit/nstext/1526477-alignright?language=objc +// AlignRight this action method applies right alignment to selected paragraphs (or all text if the receiver is a plain text object). +// +// See https://developer.apple.com/documentation/appkit/nstext/1526477-alignright?language=objc for details. func (x gen_NSText) AlignRight( sender objc.Ref, ) { @@ -15875,8 +16583,9 @@ func (x gen_NSText) AlignRight( } -// ChangeFont This action method changes the font of the selection for a rich text object, or of all text for a plain text object. -// https://developer.apple.com/documentation/appkit/nstext/1531459-changefont?language=objc +// ChangeFont this action method changes the font of the selection for a rich text object, or of all text for a plain text object. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531459-changefont?language=objc for details. func (x gen_NSText) ChangeFont( sender objc.Ref, ) { @@ -15889,8 +16598,9 @@ func (x gen_NSText) ChangeFont( } -// CheckSpelling This action method searches for a misspelled word in the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstext/1534926-checkspelling?language=objc +// CheckSpelling this action method searches for a misspelled word in the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1534926-checkspelling?language=objc for details. func (x gen_NSText) CheckSpelling( sender objc.Ref, ) { @@ -15903,8 +16613,9 @@ func (x gen_NSText) CheckSpelling( } -// Copy This action method copies the selected text onto the general pasteboard, in as many formats as the receiver supports. -// https://developer.apple.com/documentation/appkit/nstext/1525497-copy?language=objc +// Copy this action method copies the selected text onto the general pasteboard, in as many formats as the receiver supports. +// +// See https://developer.apple.com/documentation/appkit/nstext/1525497-copy?language=objc for details. func (x gen_NSText) Copy( sender objc.Ref, ) { @@ -15917,8 +16628,9 @@ func (x gen_NSText) Copy( } -// CopyFont This action method copies the font information for the first character of the selection (or for the insertion point) onto the font pasteboard, as NSFontPboardType. -// https://developer.apple.com/documentation/appkit/nstext/1531255-copyfont?language=objc +// CopyFont this action method copies the font information for the first character of the selection (or for the insertion point) onto the font pasteboard, as nsfontpboardtype. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531255-copyfont?language=objc for details. func (x gen_NSText) CopyFont( sender objc.Ref, ) { @@ -15931,8 +16643,9 @@ func (x gen_NSText) CopyFont( } -// CopyRuler This action method copies the paragraph style information for first selected paragraph onto the ruler pasteboard, as NSRulerPboardType, and expands the selection to paragraph boundaries. -// https://developer.apple.com/documentation/appkit/nstext/1533303-copyruler?language=objc +// CopyRuler this action method copies the paragraph style information for first selected paragraph onto the ruler pasteboard, as nsrulerpboardtype, and expands the selection to paragraph boundaries. +// +// See https://developer.apple.com/documentation/appkit/nstext/1533303-copyruler?language=objc for details. func (x gen_NSText) CopyRuler( sender objc.Ref, ) { @@ -15945,8 +16658,9 @@ func (x gen_NSText) CopyRuler( } -// Cut This action method deletes the selected text and places it onto the general pasteboard, in as many formats as the receiver supports. -// https://developer.apple.com/documentation/appkit/nstext/1524858-cut?language=objc +// Cut this action method deletes the selected text and places it onto the general pasteboard, in as many formats as the receiver supports. +// +// See https://developer.apple.com/documentation/appkit/nstext/1524858-cut?language=objc for details. func (x gen_NSText) Cut( sender objc.Ref, ) { @@ -15959,8 +16673,9 @@ func (x gen_NSText) Cut( } -// Delete This action method deletes the selected text. -// https://developer.apple.com/documentation/appkit/nstext/1524660-delete?language=objc +// Delete this action method deletes the selected text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1524660-delete?language=objc for details. func (x gen_NSText) Delete( sender objc.Ref, ) { @@ -15973,8 +16688,9 @@ func (x gen_NSText) Delete( } -// InitWithFrame_asNSText -// https://developer.apple.com/documentation/appkit/nstext/1525191-initwithframe?language=objc +// InitWithFrame +// +// See https://developer.apple.com/documentation/appkit/nstext/1525191-initwithframe?language=objc for details. func (x gen_NSText) InitWithFrame_asNSText( frameRect core.NSRect, ) NSText { @@ -15987,8 +16703,9 @@ func (x gen_NSText) InitWithFrame_asNSText( } -// Paste This action method pastes text from the general pasteboard at the insertion point or over the selection. -// https://developer.apple.com/documentation/appkit/nstext/1527209-paste?language=objc +// Paste this action method pastes text from the general pasteboard at the insertion point or over the selection. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527209-paste?language=objc for details. func (x gen_NSText) Paste( sender objc.Ref, ) { @@ -16001,8 +16718,9 @@ func (x gen_NSText) Paste( } -// PasteFont This action method pastes font information from the font pasteboard onto the selected text or insertion point of a rich text object, or over all text of a plain text object. -// https://developer.apple.com/documentation/appkit/nstext/1531099-pastefont?language=objc +// PasteFont this action method pastes font information from the font pasteboard onto the selected text or insertion point of a rich text object, or over all text of a plain text object. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531099-pastefont?language=objc for details. func (x gen_NSText) PasteFont( sender objc.Ref, ) { @@ -16015,8 +16733,9 @@ func (x gen_NSText) PasteFont( } -// PasteRuler This action method pastes paragraph style information from the ruler pasteboard onto the selected paragraphs of a rich text object. -// https://developer.apple.com/documentation/appkit/nstext/1530420-pasteruler?language=objc +// PasteRuler this action method pastes paragraph style information from the ruler pasteboard onto the selected paragraphs of a rich text object. +// +// See https://developer.apple.com/documentation/appkit/nstext/1530420-pasteruler?language=objc for details. func (x gen_NSText) PasteRuler( sender objc.Ref, ) { @@ -16029,8 +16748,9 @@ func (x gen_NSText) PasteRuler( } -// ReadRTFDFromFile Attempts to read the RTFD file at path, returning YES if successful and NO if not. -// https://developer.apple.com/documentation/appkit/nstext/1532564-readrtfdfromfile?language=objc +// ReadRTFDFromFile attempts to read the rtfd file at path, returning yes if successful and no if not. +// +// See https://developer.apple.com/documentation/appkit/nstext/1532564-readrtfdfromfile?language=objc for details. func (x gen_NSText) ReadRTFDFromFile( path core.NSStringRef, ) bool { @@ -16043,8 +16763,9 @@ func (x gen_NSText) ReadRTFDFromFile( } -// SelectAll This action method selects all of the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstext/1527642-selectall?language=objc +// SelectAll this action method selects all of the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527642-selectall?language=objc for details. func (x gen_NSText) SelectAll( sender objc.Ref, ) { @@ -16057,8 +16778,9 @@ func (x gen_NSText) SelectAll( } -// ShowGuessPanel This action method opens the Spelling panel, allowing the user to make a correction during spell checking. -// https://developer.apple.com/documentation/appkit/nstext/1533456-showguesspanel?language=objc +// ShowGuessPanel this action method opens the spelling panel, allowing the user to make a correction during spell checking. +// +// See https://developer.apple.com/documentation/appkit/nstext/1533456-showguesspanel?language=objc for details. func (x gen_NSText) ShowGuessPanel( sender objc.Ref, ) { @@ -16071,8 +16793,9 @@ func (x gen_NSText) ShowGuessPanel( } -// SizeToFit Resizes the receiver to fit its text. -// https://developer.apple.com/documentation/appkit/nstext/1533991-sizetofit?language=objc +// SizeToFit resizes the receiver to fit its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1533991-sizetofit?language=objc for details. func (x gen_NSText) SizeToFit() { C.NSText_inst_sizeToFit( unsafe.Pointer(x.Pointer()), @@ -16082,8 +16805,9 @@ func (x gen_NSText) SizeToFit() { } -// Subscript This action method applies a subscript attribute to selected text (or all text if the receiver is a plain text object), lowering its baseline offset by a predefined amount. -// https://developer.apple.com/documentation/appkit/nstext/1535373-subscript?language=objc +// Subscript this action method applies a subscript attribute to selected text (or all text if the receiver is a plain text object), lowering its baseline offset by a predefined amount. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535373-subscript?language=objc for details. func (x gen_NSText) Subscript( sender objc.Ref, ) { @@ -16096,8 +16820,9 @@ func (x gen_NSText) Subscript( } -// Superscript This action method applies a superscript attribute to selected text (or all text if the receiver is a plain text object), raising its baseline offset by a predefined amount. -// https://developer.apple.com/documentation/appkit/nstext/1525743-superscript?language=objc +// Superscript this action method applies a superscript attribute to selected text (or all text if the receiver is a plain text object), raising its baseline offset by a predefined amount. +// +// See https://developer.apple.com/documentation/appkit/nstext/1525743-superscript?language=objc for details. func (x gen_NSText) Superscript( sender objc.Ref, ) { @@ -16110,8 +16835,9 @@ func (x gen_NSText) Superscript( } -// ToggleRuler This action method shows or hides the ruler, if the receiver is enclosed in a scroll view. -// https://developer.apple.com/documentation/appkit/nstext/1535773-toggleruler?language=objc +// ToggleRuler this action method shows or hides the ruler, if the receiver is enclosed in a scroll view. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535773-toggleruler?language=objc for details. func (x gen_NSText) ToggleRuler( sender objc.Ref, ) { @@ -16124,8 +16850,9 @@ func (x gen_NSText) ToggleRuler( } -// Underline Adds the underline attribute to the selected text attributes if absent; removes the attribute if present. -// https://developer.apple.com/documentation/appkit/nstext/1534203-underline?language=objc +// Underline adds the underline attribute to the selected text attributes if absent; removes the attribute if present. +// +// See https://developer.apple.com/documentation/appkit/nstext/1534203-underline?language=objc for details. func (x gen_NSText) Underline( sender objc.Ref, ) { @@ -16138,8 +16865,9 @@ func (x gen_NSText) Underline( } -// Unscript This action method removes any superscripting or subscripting from selected text (or all text if the receiver is a plain text object). -// https://developer.apple.com/documentation/appkit/nstext/1527542-unscript?language=objc +// Unscript this action method removes any superscripting or subscripting from selected text (or all text if the receiver is a plain text object). +// +// See https://developer.apple.com/documentation/appkit/nstext/1527542-unscript?language=objc for details. func (x gen_NSText) Unscript( sender objc.Ref, ) { @@ -16152,8 +16880,9 @@ func (x gen_NSText) Unscript( } -// WriteRTFDToFile_atomically Writes the receiver’s text as RTF with attachments to a file or directory at path. -// https://developer.apple.com/documentation/appkit/nstext/1527085-writertfdtofile?language=objc +// WriteRTFDToFile_atomically writes the receiver’s text as rtf with attachments to a file or directory at path. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527085-writertfdtofile?language=objc for details. func (x gen_NSText) WriteRTFDToFile_atomically( path core.NSStringRef, flag bool, @@ -16168,7 +16897,9 @@ func (x gen_NSText) WriteRTFDToFile_atomically( } -// Init_asNSText +// Init +// +// See for details. func (x gen_NSText) Init_asNSText() NSText { ret := C.NSText_inst_init( unsafe.Pointer(x.Pointer()), @@ -16178,8 +16909,9 @@ func (x gen_NSText) Init_asNSText() NSText { } -// String The characters of the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc +// String returns the characters of the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc for details. func (x gen_NSText) String() core.NSString { ret := C.NSText_inst_string( unsafe.Pointer(x.Pointer()), @@ -16189,8 +16921,9 @@ func (x gen_NSText) String() core.NSString { } -// SetString The characters of the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc +// SetString returns the characters of the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc for details. func (x gen_NSText) SetString( value core.NSStringRef, ) { @@ -16203,8 +16936,9 @@ func (x gen_NSText) SetString( } -// BackgroundColor The receiver’s background color to a given color. -// https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc +// BackgroundColor returns the receiver’s background color to a given color. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc for details. func (x gen_NSText) BackgroundColor() NSColor { ret := C.NSText_inst_backgroundColor( unsafe.Pointer(x.Pointer()), @@ -16214,8 +16948,9 @@ func (x gen_NSText) BackgroundColor() NSColor { } -// SetBackgroundColor The receiver’s background color to a given color. -// https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc +// SetBackgroundColor returns the receiver’s background color to a given color. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc for details. func (x gen_NSText) SetBackgroundColor( value NSColorRef, ) { @@ -16228,8 +16963,9 @@ func (x gen_NSText) SetBackgroundColor( } -// DrawsBackground A Boolean that controls whether the receiver draws its background. -// https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc +// DrawsBackground returns a boolean that controls whether the receiver draws its background. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc for details. func (x gen_NSText) DrawsBackground() bool { ret := C.NSText_inst_drawsBackground( unsafe.Pointer(x.Pointer()), @@ -16239,8 +16975,9 @@ func (x gen_NSText) DrawsBackground() bool { } -// SetDrawsBackground A Boolean that controls whether the receiver draws its background. -// https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc +// SetDrawsBackground returns a boolean that controls whether the receiver draws its background. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc for details. func (x gen_NSText) SetDrawsBackground( value bool, ) { @@ -16253,8 +16990,9 @@ func (x gen_NSText) SetDrawsBackground( } -// IsEditable A Boolean that controls whether the receiver allows the user to edit its text. -// https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc +// IsEditable returns a boolean that controls whether the receiver allows the user to edit its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc for details. func (x gen_NSText) IsEditable() bool { ret := C.NSText_inst_isEditable( unsafe.Pointer(x.Pointer()), @@ -16264,8 +17002,9 @@ func (x gen_NSText) IsEditable() bool { } -// SetEditable A Boolean that controls whether the receiver allows the user to edit its text. -// https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc +// SetEditable returns a boolean that controls whether the receiver allows the user to edit its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc for details. func (x gen_NSText) SetEditable( value bool, ) { @@ -16278,8 +17017,9 @@ func (x gen_NSText) SetEditable( } -// IsSelectable A Boolean that controls whether the receiver allows the user to select its text. -// https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc +// IsSelectable returns a boolean that controls whether the receiver allows the user to select its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc for details. func (x gen_NSText) IsSelectable() bool { ret := C.NSText_inst_isSelectable( unsafe.Pointer(x.Pointer()), @@ -16289,8 +17029,9 @@ func (x gen_NSText) IsSelectable() bool { } -// SetSelectable A Boolean that controls whether the receiver allows the user to select its text. -// https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc +// SetSelectable returns a boolean that controls whether the receiver allows the user to select its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc for details. func (x gen_NSText) SetSelectable( value bool, ) { @@ -16303,8 +17044,9 @@ func (x gen_NSText) SetSelectable( } -// IsFieldEditor A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder. -// https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc +// IsFieldEditor returns a boolean that controls whether the receiver interprets tab, shift-tab, and return (enter) as cues to end editing and possibly to change the first responder. +// +// See https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc for details. func (x gen_NSText) IsFieldEditor() bool { ret := C.NSText_inst_isFieldEditor( unsafe.Pointer(x.Pointer()), @@ -16314,8 +17056,9 @@ func (x gen_NSText) IsFieldEditor() bool { } -// SetFieldEditor A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder. -// https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc +// SetFieldEditor returns a boolean that controls whether the receiver interprets tab, shift-tab, and return (enter) as cues to end editing and possibly to change the first responder. +// +// See https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc for details. func (x gen_NSText) SetFieldEditor( value bool, ) { @@ -16328,8 +17071,9 @@ func (x gen_NSText) SetFieldEditor( } -// IsRichText A Boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. -// https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc +// IsRichText returns a boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc for details. func (x gen_NSText) IsRichText() bool { ret := C.NSText_inst_isRichText( unsafe.Pointer(x.Pointer()), @@ -16339,8 +17083,9 @@ func (x gen_NSText) IsRichText() bool { } -// SetRichText A Boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. -// https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc +// SetRichText returns a boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc for details. func (x gen_NSText) SetRichText( value bool, ) { @@ -16353,8 +17098,9 @@ func (x gen_NSText) SetRichText( } -// ImportsGraphics A Boolean that controls whether the receiver allows the user to import files by dragging. -// https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc +// ImportsGraphics returns a boolean that controls whether the receiver allows the user to import files by dragging. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc for details. func (x gen_NSText) ImportsGraphics() bool { ret := C.NSText_inst_importsGraphics( unsafe.Pointer(x.Pointer()), @@ -16364,8 +17110,9 @@ func (x gen_NSText) ImportsGraphics() bool { } -// SetImportsGraphics A Boolean that controls whether the receiver allows the user to import files by dragging. -// https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc +// SetImportsGraphics returns a boolean that controls whether the receiver allows the user to import files by dragging. +// +// See https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc for details. func (x gen_NSText) SetImportsGraphics( value bool, ) { @@ -16378,8 +17125,9 @@ func (x gen_NSText) SetImportsGraphics( } -// UsesFontPanel A Boolean that controls whether the receiver uses the Font panel and Font menu. -// https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc +// UsesFontPanel returns a boolean that controls whether the receiver uses the font panel and font menu. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc for details. func (x gen_NSText) UsesFontPanel() bool { ret := C.NSText_inst_usesFontPanel( unsafe.Pointer(x.Pointer()), @@ -16389,8 +17137,9 @@ func (x gen_NSText) UsesFontPanel() bool { } -// SetUsesFontPanel A Boolean that controls whether the receiver uses the Font panel and Font menu. -// https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc +// SetUsesFontPanel returns a boolean that controls whether the receiver uses the font panel and font menu. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc for details. func (x gen_NSText) SetUsesFontPanel( value bool, ) { @@ -16403,8 +17152,9 @@ func (x gen_NSText) SetUsesFontPanel( } -// IsRulerVisible A Boolean value that indicates whether the receiver’s enclosing scroll view shows its ruler. -// https://developer.apple.com/documentation/appkit/nstext/1533732-rulervisible?language=objc +// IsRulerVisible returns a boolean value that indicates whether the receiver’s enclosing scroll view shows its ruler. +// +// See https://developer.apple.com/documentation/appkit/nstext/1533732-rulervisible?language=objc for details. func (x gen_NSText) IsRulerVisible() bool { ret := C.NSText_inst_isRulerVisible( unsafe.Pointer(x.Pointer()), @@ -16414,8 +17164,9 @@ func (x gen_NSText) IsRulerVisible() bool { } -// Font The font of all the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc +// Font returns the font of all the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc for details. func (x gen_NSText) Font() NSFont { ret := C.NSText_inst_font( unsafe.Pointer(x.Pointer()), @@ -16425,8 +17176,9 @@ func (x gen_NSText) Font() NSFont { } -// SetFont The font of all the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc +// SetFont returns the font of all the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc for details. func (x gen_NSText) SetFont( value NSFontRef, ) { @@ -16439,8 +17191,9 @@ func (x gen_NSText) SetFont( } -// TextColor The text color of all characters in the receiver. -// https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc +// TextColor returns the text color of all characters in the receiver. +// +// See https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc for details. func (x gen_NSText) TextColor() NSColor { ret := C.NSText_inst_textColor( unsafe.Pointer(x.Pointer()), @@ -16450,8 +17203,9 @@ func (x gen_NSText) TextColor() NSColor { } -// SetTextColor The text color of all characters in the receiver. -// https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc +// SetTextColor returns the text color of all characters in the receiver. +// +// See https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc for details. func (x gen_NSText) SetTextColor( value NSColorRef, ) { @@ -16464,8 +17218,9 @@ func (x gen_NSText) SetTextColor( } -// MaxSize The receiver’s maximum size. -// https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc +// MaxSize returns the receiver’s maximum size. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc for details. func (x gen_NSText) MaxSize() core.NSSize { ret := C.NSText_inst_maxSize( unsafe.Pointer(x.Pointer()), @@ -16475,8 +17230,9 @@ func (x gen_NSText) MaxSize() core.NSSize { } -// SetMaxSize The receiver’s maximum size. -// https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc +// SetMaxSize returns the receiver’s maximum size. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc for details. func (x gen_NSText) SetMaxSize( value core.NSSize, ) { @@ -16489,8 +17245,9 @@ func (x gen_NSText) SetMaxSize( } -// MinSize The receiver’s minimum size. -// https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc +// MinSize returns the receiver’s minimum size. +// +// See https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc for details. func (x gen_NSText) MinSize() core.NSSize { ret := C.NSText_inst_minSize( unsafe.Pointer(x.Pointer()), @@ -16500,8 +17257,9 @@ func (x gen_NSText) MinSize() core.NSSize { } -// SetMinSize The receiver’s minimum size. -// https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc +// SetMinSize returns the receiver’s minimum size. +// +// See https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc for details. func (x gen_NSText) SetMinSize( value core.NSSize, ) { @@ -16514,8 +17272,9 @@ func (x gen_NSText) SetMinSize( } -// IsVerticallyResizable A Boolean that controls whether the receiver changes its height to fit the height of its text. -// https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc +// IsVerticallyResizable returns a boolean that controls whether the receiver changes its height to fit the height of its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc for details. func (x gen_NSText) IsVerticallyResizable() bool { ret := C.NSText_inst_isVerticallyResizable( unsafe.Pointer(x.Pointer()), @@ -16525,8 +17284,9 @@ func (x gen_NSText) IsVerticallyResizable() bool { } -// SetVerticallyResizable A Boolean that controls whether the receiver changes its height to fit the height of its text. -// https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc +// SetVerticallyResizable returns a boolean that controls whether the receiver changes its height to fit the height of its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc for details. func (x gen_NSText) SetVerticallyResizable( value bool, ) { @@ -16539,8 +17299,9 @@ func (x gen_NSText) SetVerticallyResizable( } -// IsHorizontallyResizable A Boolean that controls whether the receiver changes its width to fit the width of its text. -// https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc +// IsHorizontallyResizable returns a boolean that controls whether the receiver changes its width to fit the width of its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc for details. func (x gen_NSText) IsHorizontallyResizable() bool { ret := C.NSText_inst_isHorizontallyResizable( unsafe.Pointer(x.Pointer()), @@ -16550,8 +17311,9 @@ func (x gen_NSText) IsHorizontallyResizable() bool { } -// SetHorizontallyResizable A Boolean that controls whether the receiver changes its width to fit the width of its text. -// https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc +// SetHorizontallyResizable returns a boolean that controls whether the receiver changes its width to fit the width of its text. +// +// See https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc for details. func (x gen_NSText) SetHorizontallyResizable( value bool, ) { @@ -16564,8 +17326,9 @@ func (x gen_NSText) SetHorizontallyResizable( } -// Delegate The receiver’s delegate. -// https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc +// Delegate returns the receiver’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc for details. func (x gen_NSText) Delegate() objc.Object { ret := C.NSText_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -16575,8 +17338,9 @@ func (x gen_NSText) Delegate() objc.Object { } -// SetDelegate The receiver’s delegate. -// https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc +// SetDelegate returns the receiver’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc for details. func (x gen_NSText) SetDelegate( value objc.Ref, ) { @@ -16608,8 +17372,9 @@ func NSTextField_fromRef(ref objc.Ref) NSTextField { return NSTextField_fromPointer(unsafe.Pointer(ref.Pointer())) } -// SelectText Ends editing in the text field and, if it’s selectable, selects the entire text content. -// https://developer.apple.com/documentation/appkit/nstextfield/1399430-selecttext?language=objc +// SelectText ends editing in the text field and, if it’s selectable, selects the entire text content. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399430-selecttext?language=objc for details. func (x gen_NSTextField) SelectText( sender objc.Ref, ) { @@ -16622,8 +17387,9 @@ func (x gen_NSTextField) SelectText( } -// TextShouldBeginEditing Requests permission to begin editing a text object. -// https://developer.apple.com/documentation/appkit/nstextfield/1399399-textshouldbeginediting?language=objc +// TextShouldBeginEditing requests permission to begin editing a text object. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399399-textshouldbeginediting?language=objc for details. func (x gen_NSTextField) TextShouldBeginEditing( textObject NSTextRef, ) bool { @@ -16636,8 +17402,9 @@ func (x gen_NSTextField) TextShouldBeginEditing( } -// TextShouldEndEditing Performs validation on the text field’s new value. -// https://developer.apple.com/documentation/appkit/nstextfield/1399434-textshouldendediting?language=objc +// TextShouldEndEditing performs validation on the text field’s new value. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399434-textshouldendediting?language=objc for details. func (x gen_NSTextField) TextShouldEndEditing( textObject NSTextRef, ) bool { @@ -16650,7 +17417,9 @@ func (x gen_NSTextField) TextShouldEndEditing( } -// Init_asNSTextField +// Init +// +// See for details. func (x gen_NSTextField) Init_asNSTextField() NSTextField { ret := C.NSTextField_inst_init( unsafe.Pointer(x.Pointer()), @@ -16660,8 +17429,9 @@ func (x gen_NSTextField) Init_asNSTextField() NSTextField { } -// IsSelectable A Boolean value that determines whether the user can select the content of the text field. -// https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc +// IsSelectable returns a boolean value that determines whether the user can select the content of the text field. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc for details. func (x gen_NSTextField) IsSelectable() bool { ret := C.NSTextField_inst_isSelectable( unsafe.Pointer(x.Pointer()), @@ -16671,8 +17441,9 @@ func (x gen_NSTextField) IsSelectable() bool { } -// SetSelectable A Boolean value that determines whether the user can select the content of the text field. -// https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc +// SetSelectable returns a boolean value that determines whether the user can select the content of the text field. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc for details. func (x gen_NSTextField) SetSelectable( value bool, ) { @@ -16685,8 +17456,9 @@ func (x gen_NSTextField) SetSelectable( } -// IsEditable A Boolean value that controls whether the user can edit the value in the text field. -// https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc +// IsEditable returns a boolean value that controls whether the user can edit the value in the text field. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc for details. func (x gen_NSTextField) IsEditable() bool { ret := C.NSTextField_inst_isEditable( unsafe.Pointer(x.Pointer()), @@ -16696,8 +17468,9 @@ func (x gen_NSTextField) IsEditable() bool { } -// SetEditable A Boolean value that controls whether the user can edit the value in the text field. -// https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc +// SetEditable returns a boolean value that controls whether the user can edit the value in the text field. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc for details. func (x gen_NSTextField) SetEditable( value bool, ) { @@ -16710,8 +17483,9 @@ func (x gen_NSTextField) SetEditable( } -// AllowsEditingTextAttributes A Boolean value that controls whether the user can change font attributes of the text field’s string. -// https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc +// AllowsEditingTextAttributes returns a boolean value that controls whether the user can change font attributes of the text field’s string. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc for details. func (x gen_NSTextField) AllowsEditingTextAttributes() bool { ret := C.NSTextField_inst_allowsEditingTextAttributes( unsafe.Pointer(x.Pointer()), @@ -16721,8 +17495,9 @@ func (x gen_NSTextField) AllowsEditingTextAttributes() bool { } -// SetAllowsEditingTextAttributes A Boolean value that controls whether the user can change font attributes of the text field’s string. -// https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc +// SetAllowsEditingTextAttributes returns a boolean value that controls whether the user can change font attributes of the text field’s string. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc for details. func (x gen_NSTextField) SetAllowsEditingTextAttributes( value bool, ) { @@ -16735,8 +17510,9 @@ func (x gen_NSTextField) SetAllowsEditingTextAttributes( } -// ImportsGraphics A Boolean value that controls whether the user can drag image files into the text field. -// https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc +// ImportsGraphics returns a boolean value that controls whether the user can drag image files into the text field. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc for details. func (x gen_NSTextField) ImportsGraphics() bool { ret := C.NSTextField_inst_importsGraphics( unsafe.Pointer(x.Pointer()), @@ -16746,8 +17522,9 @@ func (x gen_NSTextField) ImportsGraphics() bool { } -// SetImportsGraphics A Boolean value that controls whether the user can drag image files into the text field. -// https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc +// SetImportsGraphics returns a boolean value that controls whether the user can drag image files into the text field. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc for details. func (x gen_NSTextField) SetImportsGraphics( value bool, ) { @@ -16760,8 +17537,9 @@ func (x gen_NSTextField) SetImportsGraphics( } -// PlaceholderString The string the text field displays when empty to help the user understand the text field’s purpose. -// https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc +// PlaceholderString returns the string the text field displays when empty to help the user understand the text field’s purpose. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc for details. func (x gen_NSTextField) PlaceholderString() core.NSString { ret := C.NSTextField_inst_placeholderString( unsafe.Pointer(x.Pointer()), @@ -16771,8 +17549,9 @@ func (x gen_NSTextField) PlaceholderString() core.NSString { } -// SetPlaceholderString The string the text field displays when empty to help the user understand the text field’s purpose. -// https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc +// SetPlaceholderString returns the string the text field displays when empty to help the user understand the text field’s purpose. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc for details. func (x gen_NSTextField) SetPlaceholderString( value core.NSStringRef, ) { @@ -16785,8 +17564,9 @@ func (x gen_NSTextField) SetPlaceholderString( } -// PlaceholderAttributedString The attributed string the text field displays when empty to help the user understand the text field’s purpose. -// https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc +// PlaceholderAttributedString returns the attributed string the text field displays when empty to help the user understand the text field’s purpose. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc for details. func (x gen_NSTextField) PlaceholderAttributedString() core.NSAttributedString { ret := C.NSTextField_inst_placeholderAttributedString( unsafe.Pointer(x.Pointer()), @@ -16796,8 +17576,9 @@ func (x gen_NSTextField) PlaceholderAttributedString() core.NSAttributedString { } -// SetPlaceholderAttributedString The attributed string the text field displays when empty to help the user understand the text field’s purpose. -// https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc +// SetPlaceholderAttributedString returns the attributed string the text field displays when empty to help the user understand the text field’s purpose. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc for details. func (x gen_NSTextField) SetPlaceholderAttributedString( value core.NSAttributedStringRef, ) { @@ -16810,8 +17591,9 @@ func (x gen_NSTextField) SetPlaceholderAttributedString( } -// AllowsDefaultTighteningForTruncation A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc +// AllowsDefaultTighteningForTruncation returns a boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc for details. func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() bool { ret := C.NSTextField_inst_allowsDefaultTighteningForTruncation( unsafe.Pointer(x.Pointer()), @@ -16821,8 +17603,9 @@ func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() bool { } -// SetAllowsDefaultTighteningForTruncation A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc +// SetAllowsDefaultTighteningForTruncation returns a boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc for details. func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( value bool, ) { @@ -16835,8 +17618,9 @@ func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( } -// MaximumNumberOfLines The maximum number of lines a wrapping text field displays before clipping or truncating the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc +// MaximumNumberOfLines returns the maximum number of lines a wrapping text field displays before clipping or truncating the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc for details. func (x gen_NSTextField) MaximumNumberOfLines() core.NSInteger { ret := C.NSTextField_inst_maximumNumberOfLines( unsafe.Pointer(x.Pointer()), @@ -16846,8 +17630,9 @@ func (x gen_NSTextField) MaximumNumberOfLines() core.NSInteger { } -// SetMaximumNumberOfLines The maximum number of lines a wrapping text field displays before clipping or truncating the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc +// SetMaximumNumberOfLines returns the maximum number of lines a wrapping text field displays before clipping or truncating the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc for details. func (x gen_NSTextField) SetMaximumNumberOfLines( value core.NSInteger, ) { @@ -16860,8 +17645,9 @@ func (x gen_NSTextField) SetMaximumNumberOfLines( } -// PreferredMaxLayoutWidth The maximum width of the text field’s intrinsic content size. -// https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc +// PreferredMaxLayoutWidth returns the maximum width of the text field’s intrinsic content size. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc for details. func (x gen_NSTextField) PreferredMaxLayoutWidth() core.CGFloat { ret := C.NSTextField_inst_preferredMaxLayoutWidth( unsafe.Pointer(x.Pointer()), @@ -16871,8 +17657,9 @@ func (x gen_NSTextField) PreferredMaxLayoutWidth() core.CGFloat { } -// SetPreferredMaxLayoutWidth The maximum width of the text field’s intrinsic content size. -// https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc +// SetPreferredMaxLayoutWidth returns the maximum width of the text field’s intrinsic content size. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc for details. func (x gen_NSTextField) SetPreferredMaxLayoutWidth( value core.CGFloat, ) { @@ -16885,8 +17672,9 @@ func (x gen_NSTextField) SetPreferredMaxLayoutWidth( } -// TextColor The color of the text field’s content. -// https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc +// TextColor returns the color of the text field’s content. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc for details. func (x gen_NSTextField) TextColor() NSColor { ret := C.NSTextField_inst_textColor( unsafe.Pointer(x.Pointer()), @@ -16896,8 +17684,9 @@ func (x gen_NSTextField) TextColor() NSColor { } -// SetTextColor The color of the text field’s content. -// https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc +// SetTextColor returns the color of the text field’s content. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc for details. func (x gen_NSTextField) SetTextColor( value NSColorRef, ) { @@ -16910,8 +17699,9 @@ func (x gen_NSTextField) SetTextColor( } -// BackgroundColor The color of the background the text field’s cell draws behind the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc +// BackgroundColor returns the color of the background the text field’s cell draws behind the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc for details. func (x gen_NSTextField) BackgroundColor() NSColor { ret := C.NSTextField_inst_backgroundColor( unsafe.Pointer(x.Pointer()), @@ -16921,8 +17711,9 @@ func (x gen_NSTextField) BackgroundColor() NSColor { } -// SetBackgroundColor The color of the background the text field’s cell draws behind the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc +// SetBackgroundColor returns the color of the background the text field’s cell draws behind the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc for details. func (x gen_NSTextField) SetBackgroundColor( value NSColorRef, ) { @@ -16935,8 +17726,9 @@ func (x gen_NSTextField) SetBackgroundColor( } -// DrawsBackground A Boolean value that controls whether the text field’s cell draws a background color behind the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc +// DrawsBackground returns a boolean value that controls whether the text field’s cell draws a background color behind the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc for details. func (x gen_NSTextField) DrawsBackground() bool { ret := C.NSTextField_inst_drawsBackground( unsafe.Pointer(x.Pointer()), @@ -16946,8 +17738,9 @@ func (x gen_NSTextField) DrawsBackground() bool { } -// SetDrawsBackground A Boolean value that controls whether the text field’s cell draws a background color behind the text. -// https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc +// SetDrawsBackground returns a boolean value that controls whether the text field’s cell draws a background color behind the text. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc for details. func (x gen_NSTextField) SetDrawsBackground( value bool, ) { @@ -16960,8 +17753,9 @@ func (x gen_NSTextField) SetDrawsBackground( } -// IsBezeled A Boolean value that controls whether the text field draws a bezeled background around its contents. -// https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc +// IsBezeled returns a boolean value that controls whether the text field draws a bezeled background around its contents. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc for details. func (x gen_NSTextField) IsBezeled() bool { ret := C.NSTextField_inst_isBezeled( unsafe.Pointer(x.Pointer()), @@ -16971,8 +17765,9 @@ func (x gen_NSTextField) IsBezeled() bool { } -// SetBezeled A Boolean value that controls whether the text field draws a bezeled background around its contents. -// https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc +// SetBezeled returns a boolean value that controls whether the text field draws a bezeled background around its contents. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc for details. func (x gen_NSTextField) SetBezeled( value bool, ) { @@ -16985,8 +17780,9 @@ func (x gen_NSTextField) SetBezeled( } -// IsBordered A Boolean value that controls whether the text field draws a solid black border around its contents. -// https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc +// IsBordered returns a boolean value that controls whether the text field draws a solid black border around its contents. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc for details. func (x gen_NSTextField) IsBordered() bool { ret := C.NSTextField_inst_isBordered( unsafe.Pointer(x.Pointer()), @@ -16996,8 +17792,9 @@ func (x gen_NSTextField) IsBordered() bool { } -// SetBordered A Boolean value that controls whether the text field draws a solid black border around its contents. -// https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc +// SetBordered returns a boolean value that controls whether the text field draws a solid black border around its contents. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc for details. func (x gen_NSTextField) SetBordered( value bool, ) { @@ -17010,8 +17807,9 @@ func (x gen_NSTextField) SetBordered( } -// AcceptsFirstResponder A Boolean value that indicates whether the text field is editable and accepts first responder status. -// https://developer.apple.com/documentation/appkit/nstextfield/1399393-acceptsfirstresponder?language=objc +// AcceptsFirstResponder returns a boolean value that indicates whether the text field is editable and accepts first responder status. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399393-acceptsfirstresponder?language=objc for details. func (x gen_NSTextField) AcceptsFirstResponder() bool { ret := C.NSTextField_inst_acceptsFirstResponder( unsafe.Pointer(x.Pointer()), @@ -17021,8 +17819,9 @@ func (x gen_NSTextField) AcceptsFirstResponder() bool { } -// AllowsCharacterPickerTouchBarItem A Boolean value that controls whether the Touch Bar displays the character picker item for rich text fields. -// https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc +// AllowsCharacterPickerTouchBarItem returns a boolean value that controls whether the touch bar displays the character picker item for rich text fields. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc for details. func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() bool { ret := C.NSTextField_inst_allowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), @@ -17032,8 +17831,9 @@ func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() bool { } -// SetAllowsCharacterPickerTouchBarItem A Boolean value that controls whether the Touch Bar displays the character picker item for rich text fields. -// https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc +// SetAllowsCharacterPickerTouchBarItem returns a boolean value that controls whether the touch bar displays the character picker item for rich text fields. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc for details. func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( value bool, ) { @@ -17046,8 +17846,9 @@ func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( } -// IsAutomaticTextCompletionEnabled A Boolean value that indicates whether the text field automatically completes text as the user types. -// https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc +// IsAutomaticTextCompletionEnabled returns a boolean value that indicates whether the text field automatically completes text as the user types. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc for details. func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() bool { ret := C.NSTextField_inst_isAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), @@ -17057,8 +17858,9 @@ func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() bool { } -// SetAutomaticTextCompletionEnabled A Boolean value that indicates whether the text field automatically completes text as the user types. -// https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc +// SetAutomaticTextCompletionEnabled returns a boolean value that indicates whether the text field automatically completes text as the user types. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc for details. func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( value bool, ) { @@ -17071,8 +17873,9 @@ func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( } -// Delegate The text field’s delegate. -// https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc +// Delegate returns the text field’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc for details. func (x gen_NSTextField) Delegate() objc.Object { ret := C.NSTextField_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -17082,8 +17885,9 @@ func (x gen_NSTextField) Delegate() objc.Object { } -// SetDelegate The text field’s delegate. -// https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc +// SetDelegate returns the text field’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc for details. func (x gen_NSTextField) SetDelegate( value objc.Ref, ) { @@ -17115,8 +17919,9 @@ func NSTextContainer_fromRef(ref objc.Ref) NSTextContainer { return NSTextContainer_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithSize_asNSTextContainer Initializes a text container with a specified bounding rectangle. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444529-initwithsize?language=objc +// InitWithSize initializes a text container with a specified bounding rectangle. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444529-initwithsize?language=objc for details. func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( size core.NSSize, ) NSTextContainer { @@ -17129,8 +17934,9 @@ func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( } -// ReplaceLayoutManager Replaces the layout manager for the group of text system objects that contains the text container. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444545-replacelayoutmanager?language=objc +// ReplaceLayoutManager replaces the layout manager for the group of text system objects that contains the text container. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444545-replacelayoutmanager?language=objc for details. func (x gen_NSTextContainer) ReplaceLayoutManager( newLayoutManager NSLayoutManagerRef, ) { @@ -17143,7 +17949,9 @@ func (x gen_NSTextContainer) ReplaceLayoutManager( } -// Init_asNSTextContainer +// Init +// +// See for details. func (x gen_NSTextContainer) Init_asNSTextContainer() NSTextContainer { ret := C.NSTextContainer_inst_init( unsafe.Pointer(x.Pointer()), @@ -17153,8 +17961,9 @@ func (x gen_NSTextContainer) Init_asNSTextContainer() NSTextContainer { } -// LayoutManager The text container’s layout manager. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc +// LayoutManager returns the text container’s layout manager. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc for details. func (x gen_NSTextContainer) LayoutManager() NSLayoutManager { ret := C.NSTextContainer_inst_layoutManager( unsafe.Pointer(x.Pointer()), @@ -17164,8 +17973,9 @@ func (x gen_NSTextContainer) LayoutManager() NSLayoutManager { } -// SetLayoutManager The text container’s layout manager. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc +// SetLayoutManager returns the text container’s layout manager. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc for details. func (x gen_NSTextContainer) SetLayoutManager( value NSLayoutManagerRef, ) { @@ -17178,8 +17988,9 @@ func (x gen_NSTextContainer) SetLayoutManager( } -// TextView The text container’s text view. -// https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc +// TextView returns the text container’s text view. +// +// See https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc for details. func (x gen_NSTextContainer) TextView() NSTextView { ret := C.NSTextContainer_inst_textView( unsafe.Pointer(x.Pointer()), @@ -17189,8 +18000,9 @@ func (x gen_NSTextContainer) TextView() NSTextView { } -// SetTextView The text container’s text view. -// https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc +// SetTextView returns the text container’s text view. +// +// See https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc for details. func (x gen_NSTextContainer) SetTextView( value NSTextViewRef, ) { @@ -17203,8 +18015,9 @@ func (x gen_NSTextContainer) SetTextView( } -// Size The size of the text container’s bounding rectangle. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc +// Size returns the size of the text container’s bounding rectangle. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc for details. func (x gen_NSTextContainer) Size() core.NSSize { ret := C.NSTextContainer_inst_size( unsafe.Pointer(x.Pointer()), @@ -17214,8 +18027,9 @@ func (x gen_NSTextContainer) Size() core.NSSize { } -// SetSize The size of the text container’s bounding rectangle. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc +// SetSize returns the size of the text container’s bounding rectangle. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc for details. func (x gen_NSTextContainer) SetSize( value core.NSSize, ) { @@ -17228,8 +18042,9 @@ func (x gen_NSTextContainer) SetSize( } -// ExclusionPaths An array of path objects that represents the regions where text doesn’t display in the text container. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc +// ExclusionPaths an array of path objects that represents the regions where text doesn’t display in the text container. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc for details. func (x gen_NSTextContainer) ExclusionPaths() core.NSArray { ret := C.NSTextContainer_inst_exclusionPaths( unsafe.Pointer(x.Pointer()), @@ -17239,8 +18054,9 @@ func (x gen_NSTextContainer) ExclusionPaths() core.NSArray { } -// SetExclusionPaths An array of path objects that represents the regions where text doesn’t display in the text container. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc +// SetExclusionPaths an array of path objects that represents the regions where text doesn’t display in the text container. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc for details. func (x gen_NSTextContainer) SetExclusionPaths( value core.NSArrayRef, ) { @@ -17253,8 +18069,9 @@ func (x gen_NSTextContainer) SetExclusionPaths( } -// WidthTracksTextView A Boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc +// WidthTracksTextView returns a boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc for details. func (x gen_NSTextContainer) WidthTracksTextView() bool { ret := C.NSTextContainer_inst_widthTracksTextView( unsafe.Pointer(x.Pointer()), @@ -17264,8 +18081,9 @@ func (x gen_NSTextContainer) WidthTracksTextView() bool { } -// SetWidthTracksTextView A Boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc +// SetWidthTracksTextView returns a boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc for details. func (x gen_NSTextContainer) SetWidthTracksTextView( value bool, ) { @@ -17278,8 +18096,9 @@ func (x gen_NSTextContainer) SetWidthTracksTextView( } -// HeightTracksTextView A Boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc +// HeightTracksTextView returns a boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc for details. func (x gen_NSTextContainer) HeightTracksTextView() bool { ret := C.NSTextContainer_inst_heightTracksTextView( unsafe.Pointer(x.Pointer()), @@ -17289,8 +18108,9 @@ func (x gen_NSTextContainer) HeightTracksTextView() bool { } -// SetHeightTracksTextView A Boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc +// SetHeightTracksTextView returns a boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc for details. func (x gen_NSTextContainer) SetHeightTracksTextView( value bool, ) { @@ -17303,8 +18123,9 @@ func (x gen_NSTextContainer) SetHeightTracksTextView( } -// MaximumNumberOfLines The maximum number of lines that the text container can store. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc +// MaximumNumberOfLines returns the maximum number of lines that the text container can store. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc for details. func (x gen_NSTextContainer) MaximumNumberOfLines() core.NSUInteger { ret := C.NSTextContainer_inst_maximumNumberOfLines( unsafe.Pointer(x.Pointer()), @@ -17314,8 +18135,9 @@ func (x gen_NSTextContainer) MaximumNumberOfLines() core.NSUInteger { } -// SetMaximumNumberOfLines The maximum number of lines that the text container can store. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc +// SetMaximumNumberOfLines returns the maximum number of lines that the text container can store. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc for details. func (x gen_NSTextContainer) SetMaximumNumberOfLines( value core.NSUInteger, ) { @@ -17328,8 +18150,9 @@ func (x gen_NSTextContainer) SetMaximumNumberOfLines( } -// LineFragmentPadding The value for the text inset within line fragment rectangles. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc +// LineFragmentPadding returns the value for the text inset within line fragment rectangles. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc for details. func (x gen_NSTextContainer) LineFragmentPadding() core.CGFloat { ret := C.NSTextContainer_inst_lineFragmentPadding( unsafe.Pointer(x.Pointer()), @@ -17339,8 +18162,9 @@ func (x gen_NSTextContainer) LineFragmentPadding() core.CGFloat { } -// SetLineFragmentPadding The value for the text inset within line fragment rectangles. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc +// SetLineFragmentPadding returns the value for the text inset within line fragment rectangles. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc for details. func (x gen_NSTextContainer) SetLineFragmentPadding( value core.CGFloat, ) { @@ -17353,8 +18177,9 @@ func (x gen_NSTextContainer) SetLineFragmentPadding( } -// IsSimpleRectangularTextContainer A Boolean that indicates whether the text container’s region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes. -// https://developer.apple.com/documentation/uikit/nstextcontainer/1444525-simplerectangulartextcontainer?language=objc +// IsSimpleRectangularTextContainer returns a boolean that indicates whether the text container’s region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes. +// +// See https://developer.apple.com/documentation/uikit/nstextcontainer/1444525-simplerectangulartextcontainer?language=objc for details. func (x gen_NSTextContainer) IsSimpleRectangularTextContainer() bool { ret := C.NSTextContainer_inst_isSimpleRectangularTextContainer( unsafe.Pointer(x.Pointer()), @@ -17383,8 +18208,9 @@ func NSViewController_fromRef(ref objc.Ref) NSViewController { return NSViewController_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddChildViewController A convenience method for adding a child view controller at the end of the childViewControllers array. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434501-addchildviewcontroller?language=objc +// AddChildViewController returns a convenience method for adding a child view controller at the end of the childviewcontrollers array. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434501-addchildviewcontroller?language=objc for details. func (x gen_NSViewController) AddChildViewController( childViewController NSViewControllerRef, ) { @@ -17397,8 +18223,9 @@ func (x gen_NSViewController) AddChildViewController( } -// CommitEditing Returns whether the receiver was able to commit any pending edits. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434485-commitediting?language=objc +// CommitEditing returns whether the receiver was able to commit any pending edits. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434485-commitediting?language=objc for details. func (x gen_NSViewController) CommitEditing() bool { ret := C.NSViewController_inst_commitEditing( unsafe.Pointer(x.Pointer()), @@ -17408,8 +18235,9 @@ func (x gen_NSViewController) CommitEditing() bool { } -// CommitEditingWithDelegate_didCommitSelector_contextInfo Attempt to commit any currently edited results of the receiver. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434464-commiteditingwithdelegate?language=objc +// CommitEditingWithDelegate_didCommitSelector_contextInfo attempt to commit any currently edited results of the receiver. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434464-commiteditingwithdelegate?language=objc for details. func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo( delegate objc.Ref, didCommitSelector objc.Selector, @@ -17426,8 +18254,9 @@ func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contex } -// DiscardEditing Causes the receiver to discard any changes, restoring the previous values. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434487-discardediting?language=objc +// DiscardEditing causes the receiver to discard any changes, restoring the previous values. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434487-discardediting?language=objc for details. func (x gen_NSViewController) DiscardEditing() { C.NSViewController_inst_discardEditing( unsafe.Pointer(x.Pointer()), @@ -17438,7 +18267,8 @@ func (x gen_NSViewController) DiscardEditing() { } // DismissController -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434447-dismisscontroller?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434447-dismisscontroller?language=objc for details. func (x gen_NSViewController) DismissController( sender objc.Ref, ) { @@ -17451,8 +18281,9 @@ func (x gen_NSViewController) DismissController( } -// DismissViewController Dismisses a presented view controller, using the same animator that presented it. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434413-dismissviewcontroller?language=objc +// DismissViewController dismisses a presented view controller, using the same animator that presented it. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434413-dismissviewcontroller?language=objc for details. func (x gen_NSViewController) DismissViewController( viewController NSViewControllerRef, ) { @@ -17465,8 +18296,9 @@ func (x gen_NSViewController) DismissViewController( } -// InsertChildViewController_atIndex Inserts a specified child view controller into the childViewControllers array at a specified position. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434437-insertchildviewcontroller?language=objc +// InsertChildViewController_atIndex inserts a specified child view controller into the childviewcontrollers array at a specified position. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434437-insertchildviewcontroller?language=objc for details. func (x gen_NSViewController) InsertChildViewController_atIndex( childViewController NSViewControllerRef, index core.NSInteger, @@ -17481,8 +18313,9 @@ func (x gen_NSViewController) InsertChildViewController_atIndex( } -// LoadView Instantiates a view from a nib file and sets the value of the view property. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434405-loadview?language=objc +// LoadView instantiates a view from a nib file and sets the value of the view property. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434405-loadview?language=objc for details. func (x gen_NSViewController) LoadView() { C.NSViewController_inst_loadView( unsafe.Pointer(x.Pointer()), @@ -17492,8 +18325,9 @@ func (x gen_NSViewController) LoadView() { } -// PreferredContentSizeDidChangeForViewController Called when there is a change in value of the preferredContentSize property of a child view controller or a presented view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434434-preferredcontentsizedidchangefor?language=objc +// PreferredContentSizeDidChangeForViewController called when there is a change in value of the preferredcontentsize property of a child view controller or a presented view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434434-preferredcontentsizedidchangefor?language=objc for details. func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( viewController NSViewControllerRef, ) { @@ -17506,8 +18340,9 @@ func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( } -// PresentViewController_animator Presents another view controller using a specified, custom animator for presentation and dismissal. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434431-presentviewcontroller?language=objc +// PresentViewController_animator presents another view controller using a specified, custom animator for presentation and dismissal. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434431-presentviewcontroller?language=objc for details. func (x gen_NSViewController) PresentViewController_animator( viewController NSViewControllerRef, animator objc.Ref, @@ -17522,8 +18357,9 @@ func (x gen_NSViewController) PresentViewController_animator( } -// PresentViewControllerAsModalWindow Presents another view controller as a modal window, also known as an alert. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434462-presentviewcontrollerasmodalwind?language=objc +// PresentViewControllerAsModalWindow presents another view controller as a modal window, also known as an alert. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434462-presentviewcontrollerasmodalwind?language=objc for details. func (x gen_NSViewController) PresentViewControllerAsModalWindow( viewController NSViewControllerRef, ) { @@ -17536,8 +18372,9 @@ func (x gen_NSViewController) PresentViewControllerAsModalWindow( } -// PresentViewControllerAsSheet Presents another view controller as a sheet. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434489-presentviewcontrollerassheet?language=objc +// PresentViewControllerAsSheet presents another view controller as a sheet. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434489-presentviewcontrollerassheet?language=objc for details. func (x gen_NSViewController) PresentViewControllerAsSheet( viewController NSViewControllerRef, ) { @@ -17550,8 +18387,9 @@ func (x gen_NSViewController) PresentViewControllerAsSheet( } -// RemoveChildViewControllerAtIndex Removes a specified child controller from the view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434404-removechildviewcontrolleratindex?language=objc +// RemoveChildViewControllerAtIndex removes a specified child controller from the view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434404-removechildviewcontrolleratindex?language=objc for details. func (x gen_NSViewController) RemoveChildViewControllerAtIndex( index core.NSInteger, ) { @@ -17564,8 +18402,9 @@ func (x gen_NSViewController) RemoveChildViewControllerAtIndex( } -// RemoveFromParentViewController Removes the called view controller from its parent view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434466-removefromparentviewcontroller?language=objc +// RemoveFromParentViewController removes the called view controller from its parent view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434466-removefromparentviewcontroller?language=objc for details. func (x gen_NSViewController) RemoveFromParentViewController() { C.NSViewController_inst_removeFromParentViewController( unsafe.Pointer(x.Pointer()), @@ -17575,8 +18414,9 @@ func (x gen_NSViewController) RemoveFromParentViewController() { } -// UpdateViewConstraints Called during Auto Layout constraint updating to enable the view controller to mediate the process. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434400-updateviewconstraints?language=objc +// UpdateViewConstraints called during auto layout constraint updating to enable the view controller to mediate the process. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434400-updateviewconstraints?language=objc for details. func (x gen_NSViewController) UpdateViewConstraints() { C.NSViewController_inst_updateViewConstraints( unsafe.Pointer(x.Pointer()), @@ -17586,8 +18426,9 @@ func (x gen_NSViewController) UpdateViewConstraints() { } -// ViewDidAppear Called when the view controller’s view is fully transitioned onto the screen. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434455-viewdidappear?language=objc +// ViewDidAppear called when the view controller’s view is fully transitioned onto the screen. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434455-viewdidappear?language=objc for details. func (x gen_NSViewController) ViewDidAppear() { C.NSViewController_inst_viewDidAppear( unsafe.Pointer(x.Pointer()), @@ -17597,8 +18438,9 @@ func (x gen_NSViewController) ViewDidAppear() { } -// ViewDidDisappear Called after the view controller’s view is removed from the view hierarchy in a window. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434416-viewdiddisappear?language=objc +// ViewDidDisappear called after the view controller’s view is removed from the view hierarchy in a window. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434416-viewdiddisappear?language=objc for details. func (x gen_NSViewController) ViewDidDisappear() { C.NSViewController_inst_viewDidDisappear( unsafe.Pointer(x.Pointer()), @@ -17608,8 +18450,9 @@ func (x gen_NSViewController) ViewDidDisappear() { } -// ViewDidLayout Called immediately after the layout method of the view controller's view is called. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434451-viewdidlayout?language=objc +// ViewDidLayout called immediately after the layout method of the view controller's view is called. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434451-viewdidlayout?language=objc for details. func (x gen_NSViewController) ViewDidLayout() { C.NSViewController_inst_viewDidLayout( unsafe.Pointer(x.Pointer()), @@ -17619,8 +18462,9 @@ func (x gen_NSViewController) ViewDidLayout() { } -// ViewDidLoad Called after the view controller’s view has been loaded into memory. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434476-viewdidload?language=objc +// ViewDidLoad called after the view controller’s view has been loaded into memory. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434476-viewdidload?language=objc for details. func (x gen_NSViewController) ViewDidLoad() { C.NSViewController_inst_viewDidLoad( unsafe.Pointer(x.Pointer()), @@ -17630,8 +18474,9 @@ func (x gen_NSViewController) ViewDidLoad() { } -// ViewWillAppear Called after the view controller’s view has been loaded into memory is about to be added to the view hierarchy in the window. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434415-viewwillappear?language=objc +// ViewWillAppear called after the view controller’s view has been loaded into memory is about to be added to the view hierarchy in the window. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434415-viewwillappear?language=objc for details. func (x gen_NSViewController) ViewWillAppear() { C.NSViewController_inst_viewWillAppear( unsafe.Pointer(x.Pointer()), @@ -17641,8 +18486,9 @@ func (x gen_NSViewController) ViewWillAppear() { } -// ViewWillDisappear Called when the view controller’s view is about to be removed from the view hierarchy in the window. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434483-viewwilldisappear?language=objc +// ViewWillDisappear called when the view controller’s view is about to be removed from the view hierarchy in the window. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434483-viewwilldisappear?language=objc for details. func (x gen_NSViewController) ViewWillDisappear() { C.NSViewController_inst_viewWillDisappear( unsafe.Pointer(x.Pointer()), @@ -17652,8 +18498,9 @@ func (x gen_NSViewController) ViewWillDisappear() { } -// ViewWillLayout Called just before the layout method of the view controller's view is called. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434495-viewwilllayout?language=objc +// ViewWillLayout called just before the layout method of the view controller's view is called. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434495-viewwilllayout?language=objc for details. func (x gen_NSViewController) ViewWillLayout() { C.NSViewController_inst_viewWillLayout( unsafe.Pointer(x.Pointer()), @@ -17663,8 +18510,9 @@ func (x gen_NSViewController) ViewWillLayout() { } -// ViewWillTransitionToSize For a view controller that is part of an app extension, called when its view is about to be resized. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434443-viewwilltransitiontosize?language=objc +// ViewWillTransitionToSize for a view controller that is part of an app extension, called when its view is about to be resized. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434443-viewwilltransitiontosize?language=objc for details. func (x gen_NSViewController) ViewWillTransitionToSize( newSize core.NSSize, ) { @@ -17677,7 +18525,9 @@ func (x gen_NSViewController) ViewWillTransitionToSize( } -// Init_asNSViewController +// Init +// +// See for details. func (x gen_NSViewController) Init_asNSViewController() NSViewController { ret := C.NSViewController_inst_init( unsafe.Pointer(x.Pointer()), @@ -17687,8 +18537,9 @@ func (x gen_NSViewController) Init_asNSViewController() NSViewController { } -// RepresentedObject The object whose value is presented in the receiver’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc +// RepresentedObject returns the object whose value is presented in the receiver’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc for details. func (x gen_NSViewController) RepresentedObject() objc.Object { ret := C.NSViewController_inst_representedObject( unsafe.Pointer(x.Pointer()), @@ -17698,8 +18549,9 @@ func (x gen_NSViewController) RepresentedObject() objc.Object { } -// SetRepresentedObject The object whose value is presented in the receiver’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc +// SetRepresentedObject returns the object whose value is presented in the receiver’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc for details. func (x gen_NSViewController) SetRepresentedObject( value objc.Ref, ) { @@ -17712,8 +18564,9 @@ func (x gen_NSViewController) SetRepresentedObject( } -// NibBundle The nib bundle to be loaded to instantiate the receiver’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434433-nibbundle?language=objc +// NibBundle returns the nib bundle to be loaded to instantiate the receiver’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434433-nibbundle?language=objc for details. func (x gen_NSViewController) NibBundle() NSBundle { ret := C.NSViewController_inst_nibBundle( unsafe.Pointer(x.Pointer()), @@ -17723,8 +18576,9 @@ func (x gen_NSViewController) NibBundle() NSBundle { } -// View The view controller’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc +// View returns the view controller’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc for details. func (x gen_NSViewController) View() NSView { ret := C.NSViewController_inst_view( unsafe.Pointer(x.Pointer()), @@ -17734,8 +18588,9 @@ func (x gen_NSViewController) View() NSView { } -// SetView The view controller’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc +// SetView returns the view controller’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc for details. func (x gen_NSViewController) SetView( value NSViewRef, ) { @@ -17748,8 +18603,9 @@ func (x gen_NSViewController) SetView( } -// Title The localized title of the receiver’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc +// Title returns the localized title of the receiver’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc for details. func (x gen_NSViewController) Title() core.NSString { ret := C.NSViewController_inst_title( unsafe.Pointer(x.Pointer()), @@ -17759,8 +18615,9 @@ func (x gen_NSViewController) Title() core.NSString { } -// SetTitle The localized title of the receiver’s primary view. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc +// SetTitle returns the localized title of the receiver’s primary view. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc for details. func (x gen_NSViewController) SetTitle( value core.NSStringRef, ) { @@ -17773,8 +18630,9 @@ func (x gen_NSViewController) SetTitle( } -// IsViewLoaded A Boolean value indicating whether the view controller’s view is loaded into memory. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434435-viewloaded?language=objc +// IsViewLoaded returns a boolean value indicating whether the view controller’s view is loaded into memory. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434435-viewloaded?language=objc for details. func (x gen_NSViewController) IsViewLoaded() bool { ret := C.NSViewController_inst_isViewLoaded( unsafe.Pointer(x.Pointer()), @@ -17784,8 +18642,9 @@ func (x gen_NSViewController) IsViewLoaded() bool { } -// PreferredContentSize The desired size of the view controller’s view, in screen units. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc +// PreferredContentSize returns the desired size of the view controller’s view, in screen units. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc for details. func (x gen_NSViewController) PreferredContentSize() core.NSSize { ret := C.NSViewController_inst_preferredContentSize( unsafe.Pointer(x.Pointer()), @@ -17795,8 +18654,9 @@ func (x gen_NSViewController) PreferredContentSize() core.NSSize { } -// SetPreferredContentSize The desired size of the view controller’s view, in screen units. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc +// SetPreferredContentSize returns the desired size of the view controller’s view, in screen units. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc for details. func (x gen_NSViewController) SetPreferredContentSize( value core.NSSize, ) { @@ -17809,8 +18669,9 @@ func (x gen_NSViewController) SetPreferredContentSize( } -// ChildViewControllers An array of view controllers that are hierarchical children of the view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc +// ChildViewControllers an array of view controllers that are hierarchical children of the view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc for details. func (x gen_NSViewController) ChildViewControllers() core.NSArray { ret := C.NSViewController_inst_childViewControllers( unsafe.Pointer(x.Pointer()), @@ -17820,8 +18681,9 @@ func (x gen_NSViewController) ChildViewControllers() core.NSArray { } -// SetChildViewControllers An array of view controllers that are hierarchical children of the view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc +// SetChildViewControllers an array of view controllers that are hierarchical children of the view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc for details. func (x gen_NSViewController) SetChildViewControllers( value core.NSArrayRef, ) { @@ -17834,8 +18696,9 @@ func (x gen_NSViewController) SetChildViewControllers( } -// ParentViewController The immediate ancestor view controller of the view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434491-parentviewcontroller?language=objc +// ParentViewController returns the immediate ancestor view controller of the view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434491-parentviewcontroller?language=objc for details. func (x gen_NSViewController) ParentViewController() NSViewController { ret := C.NSViewController_inst_parentViewController( unsafe.Pointer(x.Pointer()), @@ -17845,8 +18708,9 @@ func (x gen_NSViewController) ParentViewController() NSViewController { } -// PresentedViewControllers The view controllers, if any, that are currently presented by the view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434497-presentedviewcontrollers?language=objc +// PresentedViewControllers returns the view controllers, if any, that are currently presented by the view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434497-presentedviewcontrollers?language=objc for details. func (x gen_NSViewController) PresentedViewControllers() core.NSArray { ret := C.NSViewController_inst_presentedViewControllers( unsafe.Pointer(x.Pointer()), @@ -17856,8 +18720,9 @@ func (x gen_NSViewController) PresentedViewControllers() core.NSArray { } -// PresentingViewController The view controller that presented the view controller or that presented its farthest ancestor view controller. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434439-presentingviewcontroller?language=objc +// PresentingViewController returns the view controller that presented the view controller or that presented its farthest ancestor view controller. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434439-presentingviewcontroller?language=objc for details. func (x gen_NSViewController) PresentingViewController() NSViewController { ret := C.NSViewController_inst_presentingViewController( unsafe.Pointer(x.Pointer()), @@ -17867,8 +18732,9 @@ func (x gen_NSViewController) PresentingViewController() NSViewController { } -// PreferredScreenOrigin For a view controller that is part of an app extension, the preferred screen origin. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc +// PreferredScreenOrigin for a view controller that is part of an app extension, the preferred screen origin. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc for details. func (x gen_NSViewController) PreferredScreenOrigin() core.NSPoint { ret := C.NSViewController_inst_preferredScreenOrigin( unsafe.Pointer(x.Pointer()), @@ -17878,8 +18744,9 @@ func (x gen_NSViewController) PreferredScreenOrigin() core.NSPoint { } -// SetPreferredScreenOrigin For a view controller that is part of an app extension, the preferred screen origin. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc +// SetPreferredScreenOrigin for a view controller that is part of an app extension, the preferred screen origin. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc for details. func (x gen_NSViewController) SetPreferredScreenOrigin( value core.NSPoint, ) { @@ -17892,8 +18759,9 @@ func (x gen_NSViewController) SetPreferredScreenOrigin( } -// PreferredMaximumSize For a view controller that is part of an app extension, the largest allowable size for the app extension’s primary view, in screen units. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434403-preferredmaximumsize?language=objc +// PreferredMaximumSize for a view controller that is part of an app extension, the largest allowable size for the app extension’s primary view, in screen units. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434403-preferredmaximumsize?language=objc for details. func (x gen_NSViewController) PreferredMaximumSize() core.NSSize { ret := C.NSViewController_inst_preferredMaximumSize( unsafe.Pointer(x.Pointer()), @@ -17903,8 +18771,9 @@ func (x gen_NSViewController) PreferredMaximumSize() core.NSSize { } -// PreferredMinimumSize For a view controller that is part of an app extension, the smallest allowable size for the app extension’s primary view, in screen units. -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434418-preferredminimumsize?language=objc +// PreferredMinimumSize for a view controller that is part of an app extension, the smallest allowable size for the app extension’s primary view, in screen units. +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434418-preferredminimumsize?language=objc for details. func (x gen_NSViewController) PreferredMinimumSize() core.NSSize { ret := C.NSViewController_inst_preferredMinimumSize( unsafe.Pointer(x.Pointer()), @@ -17915,7 +18784,8 @@ func (x gen_NSViewController) PreferredMinimumSize() core.NSSize { } // SourceItemView -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc for details. func (x gen_NSViewController) SourceItemView() NSView { ret := C.NSViewController_inst_sourceItemView( unsafe.Pointer(x.Pointer()), @@ -17926,7 +18796,8 @@ func (x gen_NSViewController) SourceItemView() NSView { } // SetSourceItemView -// https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc for details. func (x gen_NSViewController) SetSourceItemView( value NSViewRef, ) { @@ -17958,8 +18829,9 @@ func NSVisualEffectView_fromRef(ref objc.Ref) NSVisualEffectView { return NSVisualEffectView_fromPointer(unsafe.Pointer(ref.Pointer())) } -// ViewDidMoveToWindow Notifies the view that it moved to a new window. -// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534300-viewdidmovetowindow?language=objc +// ViewDidMoveToWindow notifies the view that it moved to a new window. +// +// See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534300-viewdidmovetowindow?language=objc for details. func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { C.NSVisualEffectView_inst_viewDidMoveToWindow( unsafe.Pointer(x.Pointer()), @@ -17969,8 +18841,9 @@ func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { } -// ViewWillMoveToWindow Notifies the view immediately before it moves to a new window (which may be nil). -// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534276-viewwillmovetowindow?language=objc +// ViewWillMoveToWindow notifies the view immediately before it moves to a new window (which may be nil). +// +// See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534276-viewwillmovetowindow?language=objc for details. func (x gen_NSVisualEffectView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { @@ -17983,7 +18856,9 @@ func (x gen_NSVisualEffectView) ViewWillMoveToWindow( } -// Init_asNSVisualEffectView +// Init +// +// See for details. func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() NSVisualEffectView { ret := C.NSVisualEffectView_inst_init( unsafe.Pointer(x.Pointer()), @@ -17993,8 +18868,9 @@ func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() NSVisualEffectView { } -// IsEmphasized A Boolean value indicating whether to emphasize the look of the material. -// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc +// IsEmphasized returns a boolean value indicating whether to emphasize the look of the material. +// +// See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc for details. func (x gen_NSVisualEffectView) IsEmphasized() bool { ret := C.NSVisualEffectView_inst_isEmphasized( unsafe.Pointer(x.Pointer()), @@ -18004,8 +18880,9 @@ func (x gen_NSVisualEffectView) IsEmphasized() bool { } -// SetEmphasized A Boolean value indicating whether to emphasize the look of the material. -// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc +// SetEmphasized returns a boolean value indicating whether to emphasize the look of the material. +// +// See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc for details. func (x gen_NSVisualEffectView) SetEmphasized( value bool, ) { @@ -18018,8 +18895,9 @@ func (x gen_NSVisualEffectView) SetEmphasized( } -// MaskImage An image whose alpha channel masks the visual effect view's material. -// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc +// MaskImage an image whose alpha channel masks the visual effect view's material. +// +// See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc for details. func (x gen_NSVisualEffectView) MaskImage() NSImage { ret := C.NSVisualEffectView_inst_maskImage( unsafe.Pointer(x.Pointer()), @@ -18029,8 +18907,9 @@ func (x gen_NSVisualEffectView) MaskImage() NSImage { } -// SetMaskImage An image whose alpha channel masks the visual effect view's material. -// https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc +// SetMaskImage an image whose alpha channel masks the visual effect view's material. +// +// See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc for details. func (x gen_NSVisualEffectView) SetMaskImage( value NSImageRef, ) { @@ -18062,8 +18941,9 @@ func NSWindow_fromRef(ref objc.Ref) NSWindow { return NSWindow_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddChildWindow_ordered Adds a given window as a child window of the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419152-addchildwindow?language=objc +// AddChildWindow_ordered adds a given window as a child window of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419152-addchildwindow?language=objc for details. func (x gen_NSWindow) AddChildWindow_ordered( childWin NSWindowRef, place core.NSUInteger, @@ -18078,8 +18958,9 @@ func (x gen_NSWindow) AddChildWindow_ordered( } -// AddTabbedWindow_ordered Adds the provided window as a new tab in a tabbed window using the specified ordering instruction. -// https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow?language=objc +// AddTabbedWindow_ordered adds the provided window as a new tab in a tabbed window using the specified ordering instruction. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow?language=objc for details. func (x gen_NSWindow) AddTabbedWindow_ordered( window NSWindowRef, ordered core.NSUInteger, @@ -18094,8 +18975,9 @@ func (x gen_NSWindow) AddTabbedWindow_ordered( } -// BecomeKeyWindow Informs the window that it has become the key window. -// https://developer.apple.com/documentation/appkit/nswindow/1419338-becomekeywindow?language=objc +// BecomeKeyWindow informs the window that it has become the key window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419338-becomekeywindow?language=objc for details. func (x gen_NSWindow) BecomeKeyWindow() { C.NSWindow_inst_becomeKeyWindow( unsafe.Pointer(x.Pointer()), @@ -18105,8 +18987,9 @@ func (x gen_NSWindow) BecomeKeyWindow() { } -// BecomeMainWindow Informs the window that it has become the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419084-becomemainwindow?language=objc +// BecomeMainWindow informs the window that it has become the main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419084-becomemainwindow?language=objc for details. func (x gen_NSWindow) BecomeMainWindow() { C.NSWindow_inst_becomeMainWindow( unsafe.Pointer(x.Pointer()), @@ -18116,8 +18999,9 @@ func (x gen_NSWindow) BecomeMainWindow() { } -// CascadeTopLeftFromPoint Positions the window’s top-left to a given point. -// https://developer.apple.com/documentation/appkit/nswindow/1419392-cascadetopleftfrompoint?language=objc +// CascadeTopLeftFromPoint positions the window’s top-left to a given point. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419392-cascadetopleftfrompoint?language=objc for details. func (x gen_NSWindow) CascadeTopLeftFromPoint( topLeftPoint core.NSPoint, ) core.NSPoint { @@ -18130,8 +19014,9 @@ func (x gen_NSWindow) CascadeTopLeftFromPoint( } -// Center Sets the window’s location to the center of the screen. -// https://developer.apple.com/documentation/appkit/nswindow/1419090-center?language=objc +// Center sets the window’s location to the center of the screen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419090-center?language=objc for details. func (x gen_NSWindow) Center() { C.NSWindow_inst_center( unsafe.Pointer(x.Pointer()), @@ -18141,8 +19026,9 @@ func (x gen_NSWindow) Center() { } -// Close Removes the window from the screen. -// https://developer.apple.com/documentation/appkit/nswindow/1419662-close?language=objc +// Close removes the window from the screen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419662-close?language=objc for details. func (x gen_NSWindow) Close() { C.NSWindow_inst_close( unsafe.Pointer(x.Pointer()), @@ -18152,8 +19038,9 @@ func (x gen_NSWindow) Close() { } -// ConstrainFrameRect_toScreen Modifies and returns a frame rectangle so that its top edge lies on a specific screen. -// https://developer.apple.com/documentation/appkit/nswindow/1419779-constrainframerect?language=objc +// ConstrainFrameRect_toScreen modifies and returns a frame rectangle so that its top edge lies on a specific screen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419779-constrainframerect?language=objc for details. func (x gen_NSWindow) ConstrainFrameRect_toScreen( frameRect core.NSRect, screen NSScreenRef, @@ -18168,8 +19055,9 @@ func (x gen_NSWindow) ConstrainFrameRect_toScreen( } -// ContentRectForFrameRect Returns the window’s content rectangle with a given frame rectangle. -// https://developer.apple.com/documentation/appkit/nswindow/1419108-contentrectforframerect?language=objc +// ContentRectForFrameRect returns the window’s content rectangle with a given frame rectangle. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419108-contentrectforframerect?language=objc for details. func (x gen_NSWindow) ContentRectForFrameRect( frameRect core.NSRect, ) core.NSRect { @@ -18182,8 +19070,9 @@ func (x gen_NSWindow) ContentRectForFrameRect( } -// ConvertPointFromBacking Converts a point from its pixel-aligned backing store coordinate system to the window’s coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/2967179-convertpointfrombacking?language=objc +// ConvertPointFromBacking converts a point from its pixel-aligned backing store coordinate system to the window’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/2967179-convertpointfrombacking?language=objc for details. func (x gen_NSWindow) ConvertPointFromBacking( point core.NSPoint, ) core.NSPoint { @@ -18196,8 +19085,9 @@ func (x gen_NSWindow) ConvertPointFromBacking( } -// ConvertPointFromScreen Converts a point from the screen coordinate system to the window’s coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/2967180-convertpointfromscreen?language=objc +// ConvertPointFromScreen converts a point from the screen coordinate system to the window’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/2967180-convertpointfromscreen?language=objc for details. func (x gen_NSWindow) ConvertPointFromScreen( point core.NSPoint, ) core.NSPoint { @@ -18210,8 +19100,9 @@ func (x gen_NSWindow) ConvertPointFromScreen( } -// ConvertPointToBacking Converts a point from the window’s coordinate system to its pixel-aligned backing store coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/2967181-convertpointtobacking?language=objc +// ConvertPointToBacking converts a point from the window’s coordinate system to its pixel-aligned backing store coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/2967181-convertpointtobacking?language=objc for details. func (x gen_NSWindow) ConvertPointToBacking( point core.NSPoint, ) core.NSPoint { @@ -18224,8 +19115,9 @@ func (x gen_NSWindow) ConvertPointToBacking( } -// ConvertPointToScreen Converts a point to the screen coordinate system from the window’s coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/2967182-convertpointtoscreen?language=objc +// ConvertPointToScreen converts a point to the screen coordinate system from the window’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/2967182-convertpointtoscreen?language=objc for details. func (x gen_NSWindow) ConvertPointToScreen( point core.NSPoint, ) core.NSPoint { @@ -18238,8 +19130,9 @@ func (x gen_NSWindow) ConvertPointToScreen( } -// ConvertRectFromBacking Converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419273-convertrectfrombacking?language=objc +// ConvertRectFromBacking converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419273-convertrectfrombacking?language=objc for details. func (x gen_NSWindow) ConvertRectFromBacking( rect core.NSRect, ) core.NSRect { @@ -18252,8 +19145,9 @@ func (x gen_NSWindow) ConvertRectFromBacking( } -// ConvertRectFromScreen Converts a rectangle from the screen coordinate system to the window’s coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419603-convertrectfromscreen?language=objc +// ConvertRectFromScreen converts a rectangle from the screen coordinate system to the window’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419603-convertrectfromscreen?language=objc for details. func (x gen_NSWindow) ConvertRectFromScreen( rect core.NSRect, ) core.NSRect { @@ -18266,8 +19160,9 @@ func (x gen_NSWindow) ConvertRectFromScreen( } -// ConvertRectToBacking Converts a rectangle from the window’s coordinate system to its pixel-aligned backing store coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419260-convertrecttobacking?language=objc +// ConvertRectToBacking converts a rectangle from the window’s coordinate system to its pixel-aligned backing store coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419260-convertrecttobacking?language=objc for details. func (x gen_NSWindow) ConvertRectToBacking( rect core.NSRect, ) core.NSRect { @@ -18280,8 +19175,9 @@ func (x gen_NSWindow) ConvertRectToBacking( } -// ConvertRectToScreen Converts a rectangle to the screen coordinate system from the window’s coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419286-convertrecttoscreen?language=objc +// ConvertRectToScreen converts a rectangle to the screen coordinate system from the window’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419286-convertrecttoscreen?language=objc for details. func (x gen_NSWindow) ConvertRectToScreen( rect core.NSRect, ) core.NSRect { @@ -18294,8 +19190,9 @@ func (x gen_NSWindow) ConvertRectToScreen( } -// DataWithEPSInsideRect Returns EPS data that draws the region of the window within a given rectangle. -// https://developer.apple.com/documentation/appkit/nswindow/1419128-datawithepsinsiderect?language=objc +// DataWithEPSInsideRect returns eps data that draws the region of the window within a given rectangle. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419128-datawithepsinsiderect?language=objc for details. func (x gen_NSWindow) DataWithEPSInsideRect( rect core.NSRect, ) core.NSData { @@ -18308,8 +19205,9 @@ func (x gen_NSWindow) DataWithEPSInsideRect( } -// DataWithPDFInsideRect Returns PDF data that draws the region of the window within a given rectangle. -// https://developer.apple.com/documentation/appkit/nswindow/1419418-datawithpdfinsiderect?language=objc +// DataWithPDFInsideRect returns pdf data that draws the region of the window within a given rectangle. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419418-datawithpdfinsiderect?language=objc for details. func (x gen_NSWindow) DataWithPDFInsideRect( rect core.NSRect, ) core.NSData { @@ -18322,8 +19220,9 @@ func (x gen_NSWindow) DataWithPDFInsideRect( } -// Deminiaturize De-minimizes the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419334-deminiaturize?language=objc +// Deminiaturize de-minimizes the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419334-deminiaturize?language=objc for details. func (x gen_NSWindow) Deminiaturize( sender objc.Ref, ) { @@ -18336,8 +19235,9 @@ func (x gen_NSWindow) Deminiaturize( } -// DisableCursorRects Disables all cursor rectangle management within the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419639-disablecursorrects?language=objc +// DisableCursorRects disables all cursor rectangle management within the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419639-disablecursorrects?language=objc for details. func (x gen_NSWindow) DisableCursorRects() { C.NSWindow_inst_disableCursorRects( unsafe.Pointer(x.Pointer()), @@ -18347,8 +19247,9 @@ func (x gen_NSWindow) DisableCursorRects() { } -// DisableKeyEquivalentForDefaultButtonCell Disables the default button cell’s key equivalent, so it doesn’t perform a click when the user presses Return (or Enter). -// https://developer.apple.com/documentation/appkit/nswindow/1419242-disablekeyequivalentfordefaultbu?language=objc +// DisableKeyEquivalentForDefaultButtonCell disables the default button cell’s key equivalent, so it doesn’t perform a click when the user presses return (or enter). +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419242-disablekeyequivalentfordefaultbu?language=objc for details. func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { C.NSWindow_inst_disableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), @@ -18358,8 +19259,9 @@ func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { } -// DisableScreenUpdatesUntilFlush Disables the window’s screen updates until the window is flushed. -// https://developer.apple.com/documentation/appkit/nswindow/1419483-disablescreenupdatesuntilflush?language=objc +// DisableScreenUpdatesUntilFlush disables the window’s screen updates until the window is flushed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419483-disablescreenupdatesuntilflush?language=objc for details. func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { C.NSWindow_inst_disableScreenUpdatesUntilFlush( unsafe.Pointer(x.Pointer()), @@ -18369,8 +19271,9 @@ func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { } -// DisableSnapshotRestoration Disables snapshot restoration. -// https://developer.apple.com/documentation/appkit/nswindow/1526239-disablesnapshotrestoration?language=objc +// DisableSnapshotRestoration disables snapshot restoration. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1526239-disablesnapshotrestoration?language=objc for details. func (x gen_NSWindow) DisableSnapshotRestoration() { C.NSWindow_inst_disableSnapshotRestoration( unsafe.Pointer(x.Pointer()), @@ -18380,8 +19283,9 @@ func (x gen_NSWindow) DisableSnapshotRestoration() { } -// DiscardCursorRects Invalidates all cursor rectangles in the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419269-discardcursorrects?language=objc +// DiscardCursorRects invalidates all cursor rectangles in the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419269-discardcursorrects?language=objc for details. func (x gen_NSWindow) DiscardCursorRects() { C.NSWindow_inst_discardCursorRects( unsafe.Pointer(x.Pointer()), @@ -18391,8 +19295,9 @@ func (x gen_NSWindow) DiscardCursorRects() { } -// Display Passes a display message down the window’s view hierarchy, thus redrawing all views within the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419358-display?language=objc +// Display passes a display message down the window’s view hierarchy, thus redrawing all views within the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419358-display?language=objc for details. func (x gen_NSWindow) Display() { C.NSWindow_inst_display( unsafe.Pointer(x.Pointer()), @@ -18402,8 +19307,9 @@ func (x gen_NSWindow) Display() { } -// DisplayIfNeeded Passes a display message down the window’s view hierarchy, thus redrawing all views that need displaying. -// https://developer.apple.com/documentation/appkit/nswindow/1419096-displayifneeded?language=objc +// DisplayIfNeeded passes a display message down the window’s view hierarchy, thus redrawing all views that need displaying. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419096-displayifneeded?language=objc for details. func (x gen_NSWindow) DisplayIfNeeded() { C.NSWindow_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), @@ -18413,8 +19319,9 @@ func (x gen_NSWindow) DisplayIfNeeded() { } -// DragImage_at_offset_event_pasteboard_source_slideBack Begins a dragging session. -// https://developer.apple.com/documentation/appkit/nswindow/1419224-dragimage?language=objc +// DragImage_at_offset_event_pasteboard_source_slideBack begins a dragging session. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419224-dragimage?language=objc for details. func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( image NSImageRef, baseLocation core.NSPoint, @@ -18439,8 +19346,9 @@ func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( } -// EnableCursorRects Reenables cursor rectangle management within the window after a disableCursorRects message. -// https://developer.apple.com/documentation/appkit/nswindow/1419202-enablecursorrects?language=objc +// EnableCursorRects reenables cursor rectangle management within the window after a disablecursorrects message. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419202-enablecursorrects?language=objc for details. func (x gen_NSWindow) EnableCursorRects() { C.NSWindow_inst_enableCursorRects( unsafe.Pointer(x.Pointer()), @@ -18450,8 +19358,9 @@ func (x gen_NSWindow) EnableCursorRects() { } -// EnableKeyEquivalentForDefaultButtonCell Reenables the default button cell’s key equivalent, so it performs a click when the user presses Return (or Enter). -// https://developer.apple.com/documentation/appkit/nswindow/1419276-enablekeyequivalentfordefaultbut?language=objc +// EnableKeyEquivalentForDefaultButtonCell reenables the default button cell’s key equivalent, so it performs a click when the user presses return (or enter). +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419276-enablekeyequivalentfordefaultbut?language=objc for details. func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { C.NSWindow_inst_enableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), @@ -18461,8 +19370,9 @@ func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { } -// EnableSnapshotRestoration Enables snapshot restoration. -// https://developer.apple.com/documentation/appkit/nswindow/1525288-enablesnapshotrestoration?language=objc +// EnableSnapshotRestoration enables snapshot restoration. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1525288-enablesnapshotrestoration?language=objc for details. func (x gen_NSWindow) EnableSnapshotRestoration() { C.NSWindow_inst_enableSnapshotRestoration( unsafe.Pointer(x.Pointer()), @@ -18472,8 +19382,9 @@ func (x gen_NSWindow) EnableSnapshotRestoration() { } -// EndEditingFor Forces the field editor to give up its first responder status and prepares it for its next assignment. -// https://developer.apple.com/documentation/appkit/nswindow/1419469-endeditingfor?language=objc +// EndEditingFor forces the field editor to give up its first responder status and prepares it for its next assignment. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419469-endeditingfor?language=objc for details. func (x gen_NSWindow) EndEditingFor( object objc.Ref, ) { @@ -18486,8 +19397,9 @@ func (x gen_NSWindow) EndEditingFor( } -// EndSheet Ends a document-modal session and dismisses the specified sheet. -// https://developer.apple.com/documentation/appkit/nswindow/1419318-endsheet?language=objc +// EndSheet ends a document-modal session and dismisses the specified sheet. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419318-endsheet?language=objc for details. func (x gen_NSWindow) EndSheet( sheetWindow NSWindowRef, ) { @@ -18500,8 +19412,9 @@ func (x gen_NSWindow) EndSheet( } -// FieldEditor_forObject Returns the window’s field editor, creating it if requested. -// https://developer.apple.com/documentation/appkit/nswindow/1419647-fieldeditor?language=objc +// FieldEditor_forObject returns the window’s field editor, creating it if requested. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419647-fieldeditor?language=objc for details. func (x gen_NSWindow) FieldEditor_forObject( createFlag bool, object objc.Ref, @@ -18516,8 +19429,9 @@ func (x gen_NSWindow) FieldEditor_forObject( } -// FrameRectForContentRect Returns the window’s frame rectangle with a given content rectangle. -// https://developer.apple.com/documentation/appkit/nswindow/1419134-framerectforcontentrect?language=objc +// FrameRectForContentRect returns the window’s frame rectangle with a given content rectangle. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419134-framerectforcontentrect?language=objc for details. func (x gen_NSWindow) FrameRectForContentRect( contentRect core.NSRect, ) core.NSRect { @@ -18530,8 +19444,9 @@ func (x gen_NSWindow) FrameRectForContentRect( } -// InitWithContentRect_styleMask_backing_defer_asNSWindow Initializes the window with the specified values. -// https://developer.apple.com/documentation/appkit/nswindow/1419477-initwithcontentrect?language=objc +// InitWithContentRect_styleMask_backing_defer initializes the window with the specified values. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419477-initwithcontentrect?language=objc for details. func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( contentRect core.NSRect, style core.NSUInteger, @@ -18550,8 +19465,9 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( } -// InitWithContentRect_styleMask_backing_defer_screen_asNSWindow Initializes an allocated window with the specified values. -// https://developer.apple.com/documentation/appkit/nswindow/1419755-initwithcontentrect?language=objc +// InitWithContentRect_styleMask_backing_defer_screen initializes an allocated window with the specified values. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419755-initwithcontentrect?language=objc for details. func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWindow( contentRect core.NSRect, style core.NSUInteger, @@ -18572,8 +19488,9 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWin } -// InvalidateCursorRectsForView Marks as invalid the cursor rectangles of a given view object in the window, so they’ll be set up again when the window becomes key. -// https://developer.apple.com/documentation/appkit/nswindow/1419601-invalidatecursorrectsforview?language=objc +// InvalidateCursorRectsForView marks as invalid the cursor rectangles of a given view object in the window, so they’ll be set up again when the window becomes key. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419601-invalidatecursorrectsforview?language=objc for details. func (x gen_NSWindow) InvalidateCursorRectsForView( view NSViewRef, ) { @@ -18586,8 +19503,9 @@ func (x gen_NSWindow) InvalidateCursorRectsForView( } -// InvalidateShadow Invalidates the window shadow so that it is recomputed based on the current window shape. -// https://developer.apple.com/documentation/appkit/nswindow/1419529-invalidateshadow?language=objc +// InvalidateShadow invalidates the window shadow so that it is recomputed based on the current window shape. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419529-invalidateshadow?language=objc for details. func (x gen_NSWindow) InvalidateShadow() { C.NSWindow_inst_invalidateShadow( unsafe.Pointer(x.Pointer()), @@ -18597,8 +19515,9 @@ func (x gen_NSWindow) InvalidateShadow() { } -// LayoutIfNeeded Updates the layout of views in the window based on the current views and constraints. -// https://developer.apple.com/documentation/appkit/nswindow/1526910-layoutifneeded?language=objc +// LayoutIfNeeded updates the layout of views in the window based on the current views and constraints. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1526910-layoutifneeded?language=objc for details. func (x gen_NSWindow) LayoutIfNeeded() { C.NSWindow_inst_layoutIfNeeded( unsafe.Pointer(x.Pointer()), @@ -18608,8 +19527,9 @@ func (x gen_NSWindow) LayoutIfNeeded() { } -// MakeKeyAndOrderFront Moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419208-makekeyandorderfront?language=objc +// MakeKeyAndOrderFront moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419208-makekeyandorderfront?language=objc for details. func (x gen_NSWindow) MakeKeyAndOrderFront( sender objc.Ref, ) { @@ -18622,8 +19542,9 @@ func (x gen_NSWindow) MakeKeyAndOrderFront( } -// MakeKeyWindow Makes the window the key window. -// https://developer.apple.com/documentation/appkit/nswindow/1419368-makekeywindow?language=objc +// MakeKeyWindow makes the window the key window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419368-makekeywindow?language=objc for details. func (x gen_NSWindow) MakeKeyWindow() { C.NSWindow_inst_makeKeyWindow( unsafe.Pointer(x.Pointer()), @@ -18633,8 +19554,9 @@ func (x gen_NSWindow) MakeKeyWindow() { } -// MakeMainWindow Makes the window the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419271-makemainwindow?language=objc +// MakeMainWindow makes the window the main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419271-makemainwindow?language=objc for details. func (x gen_NSWindow) MakeMainWindow() { C.NSWindow_inst_makeMainWindow( unsafe.Pointer(x.Pointer()), @@ -18644,8 +19566,9 @@ func (x gen_NSWindow) MakeMainWindow() { } -// MergeAllWindows Merges all open windows into a single tabbed window. -// https://developer.apple.com/documentation/appkit/nswindow/1644639-mergeallwindows?language=objc +// MergeAllWindows merges all open windows into a single tabbed window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1644639-mergeallwindows?language=objc for details. func (x gen_NSWindow) MergeAllWindows( sender objc.Ref, ) { @@ -18658,8 +19581,9 @@ func (x gen_NSWindow) MergeAllWindows( } -// Miniaturize Removes the window from the screen list and displays the minimized window in the Dock. -// https://developer.apple.com/documentation/appkit/nswindow/1419426-miniaturize?language=objc +// Miniaturize removes the window from the screen list and displays the minimized window in the dock. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419426-miniaturize?language=objc for details. func (x gen_NSWindow) Miniaturize( sender objc.Ref, ) { @@ -18672,8 +19596,9 @@ func (x gen_NSWindow) Miniaturize( } -// MoveTabToNewWindow Moves the tab to a new containing window. -// https://developer.apple.com/documentation/appkit/nswindow/1644410-movetabtonewwindow?language=objc +// MoveTabToNewWindow moves the tab to a new containing window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1644410-movetabtonewwindow?language=objc for details. func (x gen_NSWindow) MoveTabToNewWindow( sender objc.Ref, ) { @@ -18686,8 +19611,9 @@ func (x gen_NSWindow) MoveTabToNewWindow( } -// OrderBack Moves the window to the back of its level in the screen list, without changing either the key window or the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419204-orderback?language=objc +// OrderBack moves the window to the back of its level in the screen list, without changing either the key window or the main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419204-orderback?language=objc for details. func (x gen_NSWindow) OrderBack( sender objc.Ref, ) { @@ -18700,8 +19626,9 @@ func (x gen_NSWindow) OrderBack( } -// OrderFront Moves the window to the front of its level in the screen list, without changing either the key window or the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419495-orderfront?language=objc +// OrderFront moves the window to the front of its level in the screen list, without changing either the key window or the main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419495-orderfront?language=objc for details. func (x gen_NSWindow) OrderFront( sender objc.Ref, ) { @@ -18714,8 +19641,9 @@ func (x gen_NSWindow) OrderFront( } -// OrderFrontRegardless Moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419444-orderfrontregardless?language=objc +// OrderFrontRegardless moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419444-orderfrontregardless?language=objc for details. func (x gen_NSWindow) OrderFrontRegardless() { C.NSWindow_inst_orderFrontRegardless( unsafe.Pointer(x.Pointer()), @@ -18725,8 +19653,9 @@ func (x gen_NSWindow) OrderFrontRegardless() { } -// OrderOut Removes the window from the screen list, which hides the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419660-orderout?language=objc +// OrderOut removes the window from the screen list, which hides the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419660-orderout?language=objc for details. func (x gen_NSWindow) OrderOut( sender objc.Ref, ) { @@ -18739,8 +19668,9 @@ func (x gen_NSWindow) OrderOut( } -// OrderWindow_relativeTo Repositions the window’s window device in the window server’s screen list. -// https://developer.apple.com/documentation/appkit/nswindow/1419672-orderwindow?language=objc +// OrderWindow_relativeTo repositions the window’s window device in the window server’s screen list. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419672-orderwindow?language=objc for details. func (x gen_NSWindow) OrderWindow_relativeTo( place core.NSUInteger, otherWin core.NSInteger, @@ -18755,8 +19685,9 @@ func (x gen_NSWindow) OrderWindow_relativeTo( } -// PerformClose Simulates the user clicking the close button by momentarily highlighting the button and then closing the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419288-performclose?language=objc +// PerformClose simulates the user clicking the close button by momentarily highlighting the button and then closing the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419288-performclose?language=objc for details. func (x gen_NSWindow) PerformClose( sender objc.Ref, ) { @@ -18769,8 +19700,9 @@ func (x gen_NSWindow) PerformClose( } -// PerformMiniaturize Simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419749-performminiaturize?language=objc +// PerformMiniaturize simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419749-performminiaturize?language=objc for details. func (x gen_NSWindow) PerformMiniaturize( sender objc.Ref, ) { @@ -18783,8 +19715,9 @@ func (x gen_NSWindow) PerformMiniaturize( } -// PerformWindowDragWithEvent Starts a window drag based on the specified mouse-down event. -// https://developer.apple.com/documentation/appkit/nswindow/1419386-performwindowdragwithevent?language=objc +// PerformWindowDragWithEvent starts a window drag based on the specified mouse-down event. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419386-performwindowdragwithevent?language=objc for details. func (x gen_NSWindow) PerformWindowDragWithEvent( event NSEventRef, ) { @@ -18797,8 +19730,9 @@ func (x gen_NSWindow) PerformWindowDragWithEvent( } -// PerformZoom This action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419450-performzoom?language=objc +// PerformZoom this action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419450-performzoom?language=objc for details. func (x gen_NSWindow) PerformZoom( sender objc.Ref, ) { @@ -18811,8 +19745,9 @@ func (x gen_NSWindow) PerformZoom( } -// PostEvent_atStart Forwards the message to the global application object. -// https://developer.apple.com/documentation/appkit/nswindow/1419376-postevent?language=objc +// PostEvent_atStart forwards the message to the global application object. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419376-postevent?language=objc for details. func (x gen_NSWindow) PostEvent_atStart( event NSEventRef, flag bool, @@ -18827,8 +19762,9 @@ func (x gen_NSWindow) PostEvent_atStart( } -// Print Runs the Print panel, and if the user chooses an option other than canceling, prints the window (its frame view and all subviews). -// https://developer.apple.com/documentation/appkit/nswindow/1419767-print?language=objc +// Print runs the print panel, and if the user chooses an option other than canceling, prints the window (its frame view and all subviews). +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419767-print?language=objc for details. func (x gen_NSWindow) Print( sender objc.Ref, ) { @@ -18841,8 +19777,9 @@ func (x gen_NSWindow) Print( } -// RecalculateKeyViewLoop Marks the key view loop as “dirty” and in need of recalculation. -// https://developer.apple.com/documentation/appkit/nswindow/1419350-recalculatekeyviewloop?language=objc +// RecalculateKeyViewLoop marks the key view loop as “dirty” and in need of recalculation. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419350-recalculatekeyviewloop?language=objc for details. func (x gen_NSWindow) RecalculateKeyViewLoop() { C.NSWindow_inst_recalculateKeyViewLoop( unsafe.Pointer(x.Pointer()), @@ -18852,8 +19789,9 @@ func (x gen_NSWindow) RecalculateKeyViewLoop() { } -// RegisterForDraggedTypes Registers a set of pasteboard types that the window accepts as the destination of an image-dragging session. -// https://developer.apple.com/documentation/appkit/nswindow/1419140-registerfordraggedtypes?language=objc +// RegisterForDraggedTypes registers a set of pasteboard types that the window accepts as the destination of an image-dragging session. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419140-registerfordraggedtypes?language=objc for details. func (x gen_NSWindow) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { @@ -18866,8 +19804,9 @@ func (x gen_NSWindow) RegisterForDraggedTypes( } -// RemoveChildWindow Detaches a given child window from the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419063-removechildwindow?language=objc +// RemoveChildWindow detaches a given child window from the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419063-removechildwindow?language=objc for details. func (x gen_NSWindow) RemoveChildWindow( childWin NSWindowRef, ) { @@ -18880,8 +19819,9 @@ func (x gen_NSWindow) RemoveChildWindow( } -// RemoveTitlebarAccessoryViewControllerAtIndex Removes the view controller at the specified index from the window’s array of title bar accessory view controllers. -// https://developer.apple.com/documentation/appkit/nswindow/1419643-removetitlebaraccessoryviewcontr?language=objc +// RemoveTitlebarAccessoryViewControllerAtIndex removes the view controller at the specified index from the window’s array of title bar accessory view controllers. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419643-removetitlebaraccessoryviewcontr?language=objc for details. func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( index core.NSInteger, ) { @@ -18894,8 +19834,9 @@ func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( } -// ResetCursorRects Clears the window’s cursor rectangles and the cursor rectangles of the NSView objects in its view hierarchy. -// https://developer.apple.com/documentation/appkit/nswindow/1419464-resetcursorrects?language=objc +// ResetCursorRects clears the window’s cursor rectangles and the cursor rectangles of the nsview objects in its view hierarchy. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419464-resetcursorrects?language=objc for details. func (x gen_NSWindow) ResetCursorRects() { C.NSWindow_inst_resetCursorRects( unsafe.Pointer(x.Pointer()), @@ -18905,8 +19846,9 @@ func (x gen_NSWindow) ResetCursorRects() { } -// ResignKeyWindow Resigns the window’s key window status. -// https://developer.apple.com/documentation/appkit/nswindow/1419047-resignkeywindow?language=objc +// ResignKeyWindow resigns the window’s key window status. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419047-resignkeywindow?language=objc for details. func (x gen_NSWindow) ResignKeyWindow() { C.NSWindow_inst_resignKeyWindow( unsafe.Pointer(x.Pointer()), @@ -18916,8 +19858,9 @@ func (x gen_NSWindow) ResignKeyWindow() { } -// ResignMainWindow Resigns the window’s main window status. -// https://developer.apple.com/documentation/appkit/nswindow/1419212-resignmainwindow?language=objc +// ResignMainWindow resigns the window’s main window status. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419212-resignmainwindow?language=objc for details. func (x gen_NSWindow) ResignMainWindow() { C.NSWindow_inst_resignMainWindow( unsafe.Pointer(x.Pointer()), @@ -18927,8 +19870,9 @@ func (x gen_NSWindow) ResignMainWindow() { } -// RunToolbarCustomizationPalette Presents the toolbar customization user interface. -// https://developer.apple.com/documentation/appkit/nswindow/1419284-runtoolbarcustomizationpalette?language=objc +// RunToolbarCustomizationPalette presents the toolbar customization user interface. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419284-runtoolbarcustomizationpalette?language=objc for details. func (x gen_NSWindow) RunToolbarCustomizationPalette( sender objc.Ref, ) { @@ -18941,8 +19885,9 @@ func (x gen_NSWindow) RunToolbarCustomizationPalette( } -// SelectKeyViewFollowingView Gives key view status to the view that follows the given view. -// https://developer.apple.com/documentation/appkit/nswindow/1419633-selectkeyviewfollowingview?language=objc +// SelectKeyViewFollowingView gives key view status to the view that follows the given view. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419633-selectkeyviewfollowingview?language=objc for details. func (x gen_NSWindow) SelectKeyViewFollowingView( view NSViewRef, ) { @@ -18955,8 +19900,9 @@ func (x gen_NSWindow) SelectKeyViewFollowingView( } -// SelectKeyViewPrecedingView Gives key view status to the view that precedes the given view. -// https://developer.apple.com/documentation/appkit/nswindow/1419757-selectkeyviewprecedingview?language=objc +// SelectKeyViewPrecedingView gives key view status to the view that precedes the given view. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419757-selectkeyviewprecedingview?language=objc for details. func (x gen_NSWindow) SelectKeyViewPrecedingView( view NSViewRef, ) { @@ -18969,8 +19915,9 @@ func (x gen_NSWindow) SelectKeyViewPrecedingView( } -// SelectNextKeyView Searches for a candidate next key view and, if it finds one, tries to make it the first responder. -// https://developer.apple.com/documentation/appkit/nswindow/1419715-selectnextkeyview?language=objc +// SelectNextKeyView searches for a candidate next key view and, if it finds one, tries to make it the first responder. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419715-selectnextkeyview?language=objc for details. func (x gen_NSWindow) SelectNextKeyView( sender objc.Ref, ) { @@ -18983,8 +19930,9 @@ func (x gen_NSWindow) SelectNextKeyView( } -// SelectNextTab Selects the next tab in the tab group in the trailing direction. -// https://developer.apple.com/documentation/appkit/nswindow/1644693-selectnexttab?language=objc +// SelectNextTab selects the next tab in the tab group in the trailing direction. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1644693-selectnexttab?language=objc for details. func (x gen_NSWindow) SelectNextTab( sender objc.Ref, ) { @@ -18997,8 +19945,9 @@ func (x gen_NSWindow) SelectNextTab( } -// SelectPreviousKeyView Searches for a candidate previous key view and, if it finds one, tries to make it the first responder. -// https://developer.apple.com/documentation/appkit/nswindow/1419110-selectpreviouskeyview?language=objc +// SelectPreviousKeyView searches for a candidate previous key view and, if it finds one, tries to make it the first responder. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419110-selectpreviouskeyview?language=objc for details. func (x gen_NSWindow) SelectPreviousKeyView( sender objc.Ref, ) { @@ -19011,8 +19960,9 @@ func (x gen_NSWindow) SelectPreviousKeyView( } -// SelectPreviousTab Selects the previous tab in the tab group in the leading direction. -// https://developer.apple.com/documentation/appkit/nswindow/1644555-selectprevioustab?language=objc +// SelectPreviousTab selects the previous tab in the tab group in the leading direction. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1644555-selectprevioustab?language=objc for details. func (x gen_NSWindow) SelectPreviousTab( sender objc.Ref, ) { @@ -19025,8 +19975,9 @@ func (x gen_NSWindow) SelectPreviousTab( } -// SendEvent This action method dispatches mouse and keyboard events the global application object sends to the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419228-sendevent?language=objc +// SendEvent this action method dispatches mouse and keyboard events the global application object sends to the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419228-sendevent?language=objc for details. func (x gen_NSWindow) SendEvent( event NSEventRef, ) { @@ -19039,8 +19990,9 @@ func (x gen_NSWindow) SendEvent( } -// SetContentSize Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419100-setcontentsize?language=objc +// SetContentSize sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419100-setcontentsize?language=objc for details. func (x gen_NSWindow) SetContentSize( size core.NSSize, ) { @@ -19053,8 +20005,9 @@ func (x gen_NSWindow) SetContentSize( } -// SetDynamicDepthLimit Sets a Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. -// https://developer.apple.com/documentation/appkit/nswindow/1419473-setdynamicdepthlimit?language=objc +// SetDynamicDepthLimit sets a boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419473-setdynamicdepthlimit?language=objc for details. func (x gen_NSWindow) SetDynamicDepthLimit( flag bool, ) { @@ -19067,8 +20020,9 @@ func (x gen_NSWindow) SetDynamicDepthLimit( } -// SetFrame_display Sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. -// https://developer.apple.com/documentation/appkit/nswindow/1419753-setframe?language=objc +// SetFrame_display sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419753-setframe?language=objc for details. func (x gen_NSWindow) SetFrame_display( frameRect core.NSRect, flag bool, @@ -19083,8 +20037,9 @@ func (x gen_NSWindow) SetFrame_display( } -// SetFrame_display_animate Sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen. -// https://developer.apple.com/documentation/appkit/nswindow/1419519-setframe?language=objc +// SetFrame_display_animate sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419519-setframe?language=objc for details. func (x gen_NSWindow) SetFrame_display_animate( frameRect core.NSRect, displayFlag bool, @@ -19101,8 +20056,9 @@ func (x gen_NSWindow) SetFrame_display_animate( } -// SetFrameOrigin Positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates. -// https://developer.apple.com/documentation/appkit/nswindow/1419690-setframeorigin?language=objc +// SetFrameOrigin positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419690-setframeorigin?language=objc for details. func (x gen_NSWindow) SetFrameOrigin( point core.NSPoint, ) { @@ -19115,8 +20071,9 @@ func (x gen_NSWindow) SetFrameOrigin( } -// SetFrameTopLeftPoint Positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates. -// https://developer.apple.com/documentation/appkit/nswindow/1419658-setframetopleftpoint?language=objc +// SetFrameTopLeftPoint positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419658-setframetopleftpoint?language=objc for details. func (x gen_NSWindow) SetFrameTopLeftPoint( point core.NSPoint, ) { @@ -19129,8 +20086,9 @@ func (x gen_NSWindow) SetFrameTopLeftPoint( } -// SetIsMiniaturized Sets the window’s miniaturized state to the value you specify. -// https://developer.apple.com/documentation/appkit/nswindow/1449566-setisminiaturized?language=objc +// SetIsMiniaturized sets the window’s miniaturized state to the value you specify. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449566-setisminiaturized?language=objc for details. func (x gen_NSWindow) SetIsMiniaturized( flag bool, ) { @@ -19143,8 +20101,9 @@ func (x gen_NSWindow) SetIsMiniaturized( } -// SetIsVisible Sets the window’s visible state to the value you specify. -// https://developer.apple.com/documentation/appkit/nswindow/1449570-setisvisible?language=objc +// SetIsVisible sets the window’s visible state to the value you specify. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449570-setisvisible?language=objc for details. func (x gen_NSWindow) SetIsVisible( flag bool, ) { @@ -19157,8 +20116,9 @@ func (x gen_NSWindow) SetIsVisible( } -// SetIsZoomed Sets the window’s zoomed state to the value you specify. -// https://developer.apple.com/documentation/appkit/nswindow/1449589-setiszoomed?language=objc +// SetIsZoomed sets the window’s zoomed state to the value you specify. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449589-setiszoomed?language=objc for details. func (x gen_NSWindow) SetIsZoomed( flag bool, ) { @@ -19171,8 +20131,9 @@ func (x gen_NSWindow) SetIsZoomed( } -// SetTitleWithRepresentedFilename Sets a given path as the window’s title, formatting it as a file-system path, and records this path as the window’s associated file. -// https://developer.apple.com/documentation/appkit/nswindow/1419192-settitlewithrepresentedfilename?language=objc +// SetTitleWithRepresentedFilename sets a given path as the window’s title, formatting it as a file-system path, and records this path as the window’s associated file. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419192-settitlewithrepresentedfilename?language=objc for details. func (x gen_NSWindow) SetTitleWithRepresentedFilename( filename core.NSStringRef, ) { @@ -19185,8 +20146,9 @@ func (x gen_NSWindow) SetTitleWithRepresentedFilename( } -// ToggleFullScreen Takes the window into or out of fullscreen mode, -// https://developer.apple.com/documentation/appkit/nswindow/1419527-togglefullscreen?language=objc +// ToggleFullScreen takes the window into or out of fullscreen mode, +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419527-togglefullscreen?language=objc for details. func (x gen_NSWindow) ToggleFullScreen( sender objc.Ref, ) { @@ -19199,8 +20161,9 @@ func (x gen_NSWindow) ToggleFullScreen( } -// ToggleTabBar Shows or hides the tab bar. -// https://developer.apple.com/documentation/appkit/nswindow/1644517-toggletabbar?language=objc +// ToggleTabBar shows or hides the tab bar. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1644517-toggletabbar?language=objc for details. func (x gen_NSWindow) ToggleTabBar( sender objc.Ref, ) { @@ -19213,8 +20176,9 @@ func (x gen_NSWindow) ToggleTabBar( } -// ToggleTabOverview Shows or hides the tab overview. -// https://developer.apple.com/documentation/appkit/nswindow/2870175-toggletaboverview?language=objc +// ToggleTabOverview shows or hides the tab overview. +// +// See https://developer.apple.com/documentation/appkit/nswindow/2870175-toggletaboverview?language=objc for details. func (x gen_NSWindow) ToggleTabOverview( sender objc.Ref, ) { @@ -19227,8 +20191,9 @@ func (x gen_NSWindow) ToggleTabOverview( } -// ToggleToolbarShown Toggles the visibility of the window’s toolbar. -// https://developer.apple.com/documentation/appkit/nswindow/1419554-toggletoolbarshown?language=objc +// ToggleToolbarShown toggles the visibility of the window’s toolbar. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419554-toggletoolbarshown?language=objc for details. func (x gen_NSWindow) ToggleToolbarShown( sender objc.Ref, ) { @@ -19241,8 +20206,9 @@ func (x gen_NSWindow) ToggleToolbarShown( } -// TryToPerform_with Dispatches action messages with a given argument. -// https://developer.apple.com/documentation/appkit/nswindow/1419428-trytoperform?language=objc +// TryToPerform_with dispatches action messages with a given argument. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419428-trytoperform?language=objc for details. func (x gen_NSWindow) TryToPerform_with( action objc.Selector, object objc.Ref, @@ -19257,8 +20223,9 @@ func (x gen_NSWindow) TryToPerform_with( } -// UnregisterDraggedTypes Unregisters the window as a possible destination for dragging operations. -// https://developer.apple.com/documentation/appkit/nswindow/1419456-unregisterdraggedtypes?language=objc +// UnregisterDraggedTypes unregisters the window as a possible destination for dragging operations. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419456-unregisterdraggedtypes?language=objc for details. func (x gen_NSWindow) UnregisterDraggedTypes() { C.NSWindow_inst_unregisterDraggedTypes( unsafe.Pointer(x.Pointer()), @@ -19268,8 +20235,9 @@ func (x gen_NSWindow) UnregisterDraggedTypes() { } -// Update Updates the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419577-update?language=objc +// Update updates the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419577-update?language=objc for details. func (x gen_NSWindow) Update() { C.NSWindow_inst_update( unsafe.Pointer(x.Pointer()), @@ -19279,8 +20247,9 @@ func (x gen_NSWindow) Update() { } -// UpdateConstraintsIfNeeded Updates the constraints based on changes to views in the window since the last layout. -// https://developer.apple.com/documentation/appkit/nswindow/1526915-updateconstraintsifneeded?language=objc +// UpdateConstraintsIfNeeded updates the constraints based on changes to views in the window since the last layout. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1526915-updateconstraintsifneeded?language=objc for details. func (x gen_NSWindow) UpdateConstraintsIfNeeded() { C.NSWindow_inst_updateConstraintsIfNeeded( unsafe.Pointer(x.Pointer()), @@ -19290,8 +20259,9 @@ func (x gen_NSWindow) UpdateConstraintsIfNeeded() { } -// VisualizeConstraints Displays a visual representation of the supplied constraints in the window. -// https://developer.apple.com/documentation/appkit/nswindow/1526997-visualizeconstraints?language=objc +// VisualizeConstraints displays a visual representation of the supplied constraints in the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1526997-visualizeconstraints?language=objc for details. func (x gen_NSWindow) VisualizeConstraints( constraints core.NSArrayRef, ) { @@ -19304,8 +20274,9 @@ func (x gen_NSWindow) VisualizeConstraints( } -// Zoom Toggles the size and location of the window between its standard state (which the application provides as the best size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window). -// https://developer.apple.com/documentation/appkit/nswindow/1419513-zoom?language=objc +// Zoom toggles the size and location of the window between its standard state (which the application provides as the best size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window). +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419513-zoom?language=objc for details. func (x gen_NSWindow) Zoom( sender objc.Ref, ) { @@ -19318,7 +20289,9 @@ func (x gen_NSWindow) Zoom( } -// Init_asNSWindow +// Init +// +// See for details. func (x gen_NSWindow) Init_asNSWindow() NSWindow { ret := C.NSWindow_inst_init( unsafe.Pointer(x.Pointer()), @@ -19328,8 +20301,9 @@ func (x gen_NSWindow) Init_asNSWindow() NSWindow { } -// Delegate The window’s delegate. -// https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc +// Delegate returns the window’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc for details. func (x gen_NSWindow) Delegate() objc.Object { ret := C.NSWindow_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -19339,8 +20313,9 @@ func (x gen_NSWindow) Delegate() objc.Object { } -// SetDelegate The window’s delegate. -// https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc +// SetDelegate returns the window’s delegate. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc for details. func (x gen_NSWindow) SetDelegate( value objc.Ref, ) { @@ -19353,8 +20328,9 @@ func (x gen_NSWindow) SetDelegate( } -// ContentViewController The main content view controller for the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc +// ContentViewController returns the main content view controller for the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc for details. func (x gen_NSWindow) ContentViewController() NSViewController { ret := C.NSWindow_inst_contentViewController( unsafe.Pointer(x.Pointer()), @@ -19364,8 +20340,9 @@ func (x gen_NSWindow) ContentViewController() NSViewController { } -// SetContentViewController The main content view controller for the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc +// SetContentViewController returns the main content view controller for the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc for details. func (x gen_NSWindow) SetContentViewController( value NSViewControllerRef, ) { @@ -19378,8 +20355,9 @@ func (x gen_NSWindow) SetContentViewController( } -// ContentView The window’s content view, the highest accessible view object in the window’s view hierarchy. -// https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc +// ContentView returns the window’s content view, the highest accessible view object in the window’s view hierarchy. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc for details. func (x gen_NSWindow) ContentView() NSView { ret := C.NSWindow_inst_contentView( unsafe.Pointer(x.Pointer()), @@ -19389,8 +20367,9 @@ func (x gen_NSWindow) ContentView() NSView { } -// SetContentView The window’s content view, the highest accessible view object in the window’s view hierarchy. -// https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc +// SetContentView returns the window’s content view, the highest accessible view object in the window’s view hierarchy. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc for details. func (x gen_NSWindow) SetContentView( value NSViewRef, ) { @@ -19403,8 +20382,9 @@ func (x gen_NSWindow) SetContentView( } -// StyleMask Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. -// https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc +// StyleMask flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc for details. func (x gen_NSWindow) StyleMask() core.NSUInteger { ret := C.NSWindow_inst_styleMask( unsafe.Pointer(x.Pointer()), @@ -19414,8 +20394,9 @@ func (x gen_NSWindow) StyleMask() core.NSUInteger { } -// SetStyleMask Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. -// https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc +// SetStyleMask flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc for details. func (x gen_NSWindow) SetStyleMask( value core.NSUInteger, ) { @@ -19428,8 +20409,9 @@ func (x gen_NSWindow) SetStyleMask( } -// WorksWhenModal A Boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally. -// https://developer.apple.com/documentation/appkit/nswindow/1419220-workswhenmodal?language=objc +// WorksWhenModal returns a boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419220-workswhenmodal?language=objc for details. func (x gen_NSWindow) WorksWhenModal() bool { ret := C.NSWindow_inst_worksWhenModal( unsafe.Pointer(x.Pointer()), @@ -19439,8 +20421,9 @@ func (x gen_NSWindow) WorksWhenModal() bool { } -// AlphaValue The window’s alpha value. -// https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc +// AlphaValue returns the window’s alpha value. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc for details. func (x gen_NSWindow) AlphaValue() core.CGFloat { ret := C.NSWindow_inst_alphaValue( unsafe.Pointer(x.Pointer()), @@ -19450,8 +20433,9 @@ func (x gen_NSWindow) AlphaValue() core.CGFloat { } -// SetAlphaValue The window’s alpha value. -// https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc +// SetAlphaValue returns the window’s alpha value. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc for details. func (x gen_NSWindow) SetAlphaValue( value core.CGFloat, ) { @@ -19464,8 +20448,9 @@ func (x gen_NSWindow) SetAlphaValue( } -// BackgroundColor The color of the window’s background. -// https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc +// BackgroundColor returns the color of the window’s background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc for details. func (x gen_NSWindow) BackgroundColor() NSColor { ret := C.NSWindow_inst_backgroundColor( unsafe.Pointer(x.Pointer()), @@ -19475,8 +20460,9 @@ func (x gen_NSWindow) BackgroundColor() NSColor { } -// SetBackgroundColor The color of the window’s background. -// https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc +// SetBackgroundColor returns the color of the window’s background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc for details. func (x gen_NSWindow) SetBackgroundColor( value NSColorRef, ) { @@ -19489,8 +20475,9 @@ func (x gen_NSWindow) SetBackgroundColor( } -// CanHide A Boolean value that indicates whether the window can hide when its application becomes hidden. -// https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc +// CanHide returns a boolean value that indicates whether the window can hide when its application becomes hidden. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc for details. func (x gen_NSWindow) CanHide() bool { ret := C.NSWindow_inst_canHide( unsafe.Pointer(x.Pointer()), @@ -19500,8 +20487,9 @@ func (x gen_NSWindow) CanHide() bool { } -// SetCanHide A Boolean value that indicates whether the window can hide when its application becomes hidden. -// https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc +// SetCanHide returns a boolean value that indicates whether the window can hide when its application becomes hidden. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc for details. func (x gen_NSWindow) SetCanHide( value bool, ) { @@ -19514,8 +20502,9 @@ func (x gen_NSWindow) SetCanHide( } -// IsOnActiveSpace A Boolean value that indicates whether the window is on the currently active space. -// https://developer.apple.com/documentation/appkit/nswindow/1419707-onactivespace?language=objc +// IsOnActiveSpace returns a boolean value that indicates whether the window is on the currently active space. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419707-onactivespace?language=objc for details. func (x gen_NSWindow) IsOnActiveSpace() bool { ret := C.NSWindow_inst_isOnActiveSpace( unsafe.Pointer(x.Pointer()), @@ -19525,8 +20514,9 @@ func (x gen_NSWindow) IsOnActiveSpace() bool { } -// HidesOnDeactivate A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive. -// https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc +// HidesOnDeactivate returns a boolean value that indicates whether the window is removed from the screen when its application becomes inactive. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc for details. func (x gen_NSWindow) HidesOnDeactivate() bool { ret := C.NSWindow_inst_hidesOnDeactivate( unsafe.Pointer(x.Pointer()), @@ -19536,8 +20526,9 @@ func (x gen_NSWindow) HidesOnDeactivate() bool { } -// SetHidesOnDeactivate A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive. -// https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc +// SetHidesOnDeactivate returns a boolean value that indicates whether the window is removed from the screen when its application becomes inactive. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc for details. func (x gen_NSWindow) SetHidesOnDeactivate( value bool, ) { @@ -19550,8 +20541,9 @@ func (x gen_NSWindow) SetHidesOnDeactivate( } -// CollectionBehavior A value that identifies the window’s behavior in window collections. -// https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc +// CollectionBehavior returns a value that identifies the window’s behavior in window collections. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc for details. func (x gen_NSWindow) CollectionBehavior() core.NSUInteger { ret := C.NSWindow_inst_collectionBehavior( unsafe.Pointer(x.Pointer()), @@ -19561,8 +20553,9 @@ func (x gen_NSWindow) CollectionBehavior() core.NSUInteger { } -// SetCollectionBehavior A value that identifies the window’s behavior in window collections. -// https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc +// SetCollectionBehavior returns a value that identifies the window’s behavior in window collections. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc for details. func (x gen_NSWindow) SetCollectionBehavior( value core.NSUInteger, ) { @@ -19575,8 +20568,9 @@ func (x gen_NSWindow) SetCollectionBehavior( } -// IsOpaque A Boolean value that indicates whether the window is opaque. -// https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc +// IsOpaque returns a boolean value that indicates whether the window is opaque. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc for details. func (x gen_NSWindow) IsOpaque() bool { ret := C.NSWindow_inst_isOpaque( unsafe.Pointer(x.Pointer()), @@ -19586,8 +20580,9 @@ func (x gen_NSWindow) IsOpaque() bool { } -// SetOpaque A Boolean value that indicates whether the window is opaque. -// https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc +// SetOpaque returns a boolean value that indicates whether the window is opaque. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc for details. func (x gen_NSWindow) SetOpaque( value bool, ) { @@ -19600,8 +20595,9 @@ func (x gen_NSWindow) SetOpaque( } -// HasShadow A Boolean value that indicates whether the window has a shadow. -// https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc +// HasShadow returns a boolean value that indicates whether the window has a shadow. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc for details. func (x gen_NSWindow) HasShadow() bool { ret := C.NSWindow_inst_hasShadow( unsafe.Pointer(x.Pointer()), @@ -19611,8 +20607,9 @@ func (x gen_NSWindow) HasShadow() bool { } -// SetHasShadow A Boolean value that indicates whether the window has a shadow. -// https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc +// SetHasShadow returns a boolean value that indicates whether the window has a shadow. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc for details. func (x gen_NSWindow) SetHasShadow( value bool, ) { @@ -19625,8 +20622,9 @@ func (x gen_NSWindow) SetHasShadow( } -// PreventsApplicationTerminationWhenModal A Boolean value that indicates whether the window prevents application termination when modal. -// https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc +// PreventsApplicationTerminationWhenModal returns a boolean value that indicates whether the window prevents application termination when modal. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc for details. func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() bool { ret := C.NSWindow_inst_preventsApplicationTerminationWhenModal( unsafe.Pointer(x.Pointer()), @@ -19636,8 +20634,9 @@ func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() bool { } -// SetPreventsApplicationTerminationWhenModal A Boolean value that indicates whether the window prevents application termination when modal. -// https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc +// SetPreventsApplicationTerminationWhenModal returns a boolean value that indicates whether the window prevents application termination when modal. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc for details. func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( value bool, ) { @@ -19650,8 +20649,9 @@ func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( } -// HasDynamicDepthLimit A Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. -// https://developer.apple.com/documentation/appkit/nswindow/1419330-hasdynamicdepthlimit?language=objc +// HasDynamicDepthLimit returns a boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419330-hasdynamicdepthlimit?language=objc for details. func (x gen_NSWindow) HasDynamicDepthLimit() bool { ret := C.NSWindow_inst_hasDynamicDepthLimit( unsafe.Pointer(x.Pointer()), @@ -19661,8 +20661,9 @@ func (x gen_NSWindow) HasDynamicDepthLimit() bool { } -// WindowNumber The window number of the window’s window device. -// https://developer.apple.com/documentation/appkit/nswindow/1419068-windownumber?language=objc +// WindowNumber returns the window number of the window’s window device. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419068-windownumber?language=objc for details. func (x gen_NSWindow) WindowNumber() core.NSInteger { ret := C.NSWindow_inst_windowNumber( unsafe.Pointer(x.Pointer()), @@ -19672,8 +20673,9 @@ func (x gen_NSWindow) WindowNumber() core.NSInteger { } -// DeviceDescription A dictionary containing information about the window’s resolution, such as color, depth, and so on. -// https://developer.apple.com/documentation/appkit/nswindow/1419741-devicedescription?language=objc +// DeviceDescription returns a dictionary containing information about the window’s resolution, such as color, depth, and so on. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419741-devicedescription?language=objc for details. func (x gen_NSWindow) DeviceDescription() core.NSDictionary { ret := C.NSWindow_inst_deviceDescription( unsafe.Pointer(x.Pointer()), @@ -19683,8 +20685,9 @@ func (x gen_NSWindow) DeviceDescription() core.NSDictionary { } -// CanBecomeVisibleWithoutLogin A Boolean value that indicates whether the window can be displayed at the login window. -// https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc +// CanBecomeVisibleWithoutLogin returns a boolean value that indicates whether the window can be displayed at the login window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc for details. func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() bool { ret := C.NSWindow_inst_canBecomeVisibleWithoutLogin( unsafe.Pointer(x.Pointer()), @@ -19694,8 +20697,9 @@ func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() bool { } -// SetCanBecomeVisibleWithoutLogin A Boolean value that indicates whether the window can be displayed at the login window. -// https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc +// SetCanBecomeVisibleWithoutLogin returns a boolean value that indicates whether the window can be displayed at the login window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc for details. func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( value bool, ) { @@ -19708,8 +20712,9 @@ func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( } -// BackingType The window’s backing store type. -// https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc +// BackingType returns the window’s backing store type. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc for details. func (x gen_NSWindow) BackingType() core.NSUInteger { ret := C.NSWindow_inst_backingType( unsafe.Pointer(x.Pointer()), @@ -19719,8 +20724,9 @@ func (x gen_NSWindow) BackingType() core.NSUInteger { } -// SetBackingType The window’s backing store type. -// https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc +// SetBackingType returns the window’s backing store type. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc for details. func (x gen_NSWindow) SetBackingType( value core.NSUInteger, ) { @@ -19733,8 +20739,9 @@ func (x gen_NSWindow) SetBackingType( } -// AttachedSheet The sheet attached to the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419467-attachedsheet?language=objc +// AttachedSheet returns the sheet attached to the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419467-attachedsheet?language=objc for details. func (x gen_NSWindow) AttachedSheet() NSWindow { ret := C.NSWindow_inst_attachedSheet( unsafe.Pointer(x.Pointer()), @@ -19744,8 +20751,9 @@ func (x gen_NSWindow) AttachedSheet() NSWindow { } -// IsSheet A Boolean value that indicates whether the window has ever run as a modal sheet. -// https://developer.apple.com/documentation/appkit/nswindow/1419364-sheet?language=objc +// IsSheet returns a boolean value that indicates whether the window has ever run as a modal sheet. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419364-sheet?language=objc for details. func (x gen_NSWindow) IsSheet() bool { ret := C.NSWindow_inst_isSheet( unsafe.Pointer(x.Pointer()), @@ -19755,8 +20763,9 @@ func (x gen_NSWindow) IsSheet() bool { } -// SheetParent The window to which the sheet is attached. -// https://developer.apple.com/documentation/appkit/nswindow/1419052-sheetparent?language=objc +// SheetParent returns the window to which the sheet is attached. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419052-sheetparent?language=objc for details. func (x gen_NSWindow) SheetParent() NSWindow { ret := C.NSWindow_inst_sheetParent( unsafe.Pointer(x.Pointer()), @@ -19766,8 +20775,9 @@ func (x gen_NSWindow) SheetParent() NSWindow { } -// Sheets An array of the sheets currently attached to the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419765-sheets?language=objc +// Sheets an array of the sheets currently attached to the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419765-sheets?language=objc for details. func (x gen_NSWindow) Sheets() core.NSArray { ret := C.NSWindow_inst_sheets( unsafe.Pointer(x.Pointer()), @@ -19777,8 +20787,9 @@ func (x gen_NSWindow) Sheets() core.NSArray { } -// Frame The window’s frame rectangle in screen coordinates, including the title bar. -// https://developer.apple.com/documentation/appkit/nswindow/1419697-frame?language=objc +// Frame returns the window’s frame rectangle in screen coordinates, including the title bar. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419697-frame?language=objc for details. func (x gen_NSWindow) Frame() core.NSRect { ret := C.NSWindow_inst_frame( unsafe.Pointer(x.Pointer()), @@ -19788,8 +20799,9 @@ func (x gen_NSWindow) Frame() core.NSRect { } -// AspectRatio The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. -// https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc +// AspectRatio returns the window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc for details. func (x gen_NSWindow) AspectRatio() core.NSSize { ret := C.NSWindow_inst_aspectRatio( unsafe.Pointer(x.Pointer()), @@ -19799,8 +20811,9 @@ func (x gen_NSWindow) AspectRatio() core.NSSize { } -// SetAspectRatio The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. -// https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc +// SetAspectRatio returns the window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc for details. func (x gen_NSWindow) SetAspectRatio( value core.NSSize, ) { @@ -19813,8 +20826,9 @@ func (x gen_NSWindow) SetAspectRatio( } -// MinSize The minimum size to which the window’s frame (including its title bar) can be sized. -// https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc +// MinSize returns the minimum size to which the window’s frame (including its title bar) can be sized. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc for details. func (x gen_NSWindow) MinSize() core.NSSize { ret := C.NSWindow_inst_minSize( unsafe.Pointer(x.Pointer()), @@ -19824,8 +20838,9 @@ func (x gen_NSWindow) MinSize() core.NSSize { } -// SetMinSize The minimum size to which the window’s frame (including its title bar) can be sized. -// https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc +// SetMinSize returns the minimum size to which the window’s frame (including its title bar) can be sized. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc for details. func (x gen_NSWindow) SetMinSize( value core.NSSize, ) { @@ -19838,8 +20853,9 @@ func (x gen_NSWindow) SetMinSize( } -// MaxSize The maximum size to which the window’s frame (including its title bar) can be sized. -// https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc +// MaxSize returns the maximum size to which the window’s frame (including its title bar) can be sized. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc for details. func (x gen_NSWindow) MaxSize() core.NSSize { ret := C.NSWindow_inst_maxSize( unsafe.Pointer(x.Pointer()), @@ -19849,8 +20865,9 @@ func (x gen_NSWindow) MaxSize() core.NSSize { } -// SetMaxSize The maximum size to which the window’s frame (including its title bar) can be sized. -// https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc +// SetMaxSize returns the maximum size to which the window’s frame (including its title bar) can be sized. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc for details. func (x gen_NSWindow) SetMaxSize( value core.NSSize, ) { @@ -19863,8 +20880,9 @@ func (x gen_NSWindow) SetMaxSize( } -// IsZoomed A Boolean value that indicates whether the window is in a zoomed state. -// https://developer.apple.com/documentation/appkit/nswindow/1419398-zoomed?language=objc +// IsZoomed returns a boolean value that indicates whether the window is in a zoomed state. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419398-zoomed?language=objc for details. func (x gen_NSWindow) IsZoomed() bool { ret := C.NSWindow_inst_isZoomed( unsafe.Pointer(x.Pointer()), @@ -19874,8 +20892,9 @@ func (x gen_NSWindow) IsZoomed() bool { } -// ResizeIncrements The window’s resizing increments. -// https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc +// ResizeIncrements returns the window’s resizing increments. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc for details. func (x gen_NSWindow) ResizeIncrements() core.NSSize { ret := C.NSWindow_inst_resizeIncrements( unsafe.Pointer(x.Pointer()), @@ -19885,8 +20904,9 @@ func (x gen_NSWindow) ResizeIncrements() core.NSSize { } -// SetResizeIncrements The window’s resizing increments. -// https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc +// SetResizeIncrements returns the window’s resizing increments. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc for details. func (x gen_NSWindow) SetResizeIncrements( value core.NSSize, ) { @@ -19899,8 +20919,9 @@ func (x gen_NSWindow) SetResizeIncrements( } -// PreservesContentDuringLiveResize A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. -// https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc +// PreservesContentDuringLiveResize returns a boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc for details. func (x gen_NSWindow) PreservesContentDuringLiveResize() bool { ret := C.NSWindow_inst_preservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), @@ -19910,8 +20931,9 @@ func (x gen_NSWindow) PreservesContentDuringLiveResize() bool { } -// SetPreservesContentDuringLiveResize A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. -// https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc +// SetPreservesContentDuringLiveResize returns a boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc for details. func (x gen_NSWindow) SetPreservesContentDuringLiveResize( value bool, ) { @@ -19924,8 +20946,9 @@ func (x gen_NSWindow) SetPreservesContentDuringLiveResize( } -// InLiveResize A Boolean value that indicates whether the window is being resized by the user. -// https://developer.apple.com/documentation/appkit/nswindow/1419378-inliveresize?language=objc +// InLiveResize returns a boolean value that indicates whether the window is being resized by the user. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419378-inliveresize?language=objc for details. func (x gen_NSWindow) InLiveResize() bool { ret := C.NSWindow_inst_inLiveResize( unsafe.Pointer(x.Pointer()), @@ -19935,8 +20958,9 @@ func (x gen_NSWindow) InLiveResize() bool { } -// ContentAspectRatio The window’s content aspect ratio. -// https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc +// ContentAspectRatio returns the window’s content aspect ratio. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc for details. func (x gen_NSWindow) ContentAspectRatio() core.NSSize { ret := C.NSWindow_inst_contentAspectRatio( unsafe.Pointer(x.Pointer()), @@ -19946,8 +20970,9 @@ func (x gen_NSWindow) ContentAspectRatio() core.NSSize { } -// SetContentAspectRatio The window’s content aspect ratio. -// https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc +// SetContentAspectRatio returns the window’s content aspect ratio. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc for details. func (x gen_NSWindow) SetContentAspectRatio( value core.NSSize, ) { @@ -19960,8 +20985,9 @@ func (x gen_NSWindow) SetContentAspectRatio( } -// ContentMinSize The minimum size of the window’s content view in the window’s base coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc +// ContentMinSize returns the minimum size of the window’s content view in the window’s base coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc for details. func (x gen_NSWindow) ContentMinSize() core.NSSize { ret := C.NSWindow_inst_contentMinSize( unsafe.Pointer(x.Pointer()), @@ -19971,8 +20997,9 @@ func (x gen_NSWindow) ContentMinSize() core.NSSize { } -// SetContentMinSize The minimum size of the window’s content view in the window’s base coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc +// SetContentMinSize returns the minimum size of the window’s content view in the window’s base coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc for details. func (x gen_NSWindow) SetContentMinSize( value core.NSSize, ) { @@ -19985,8 +21012,9 @@ func (x gen_NSWindow) SetContentMinSize( } -// ContentMaxSize The maximum size of the window’s content view in the window’s base coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc +// ContentMaxSize returns the maximum size of the window’s content view in the window’s base coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc for details. func (x gen_NSWindow) ContentMaxSize() core.NSSize { ret := C.NSWindow_inst_contentMaxSize( unsafe.Pointer(x.Pointer()), @@ -19996,8 +21024,9 @@ func (x gen_NSWindow) ContentMaxSize() core.NSSize { } -// SetContentMaxSize The maximum size of the window’s content view in the window’s base coordinate system. -// https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc +// SetContentMaxSize returns the maximum size of the window’s content view in the window’s base coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc for details. func (x gen_NSWindow) SetContentMaxSize( value core.NSSize, ) { @@ -20010,8 +21039,9 @@ func (x gen_NSWindow) SetContentMaxSize( } -// ContentResizeIncrements The window’s content-view resizing increments. -// https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc +// ContentResizeIncrements returns the window’s content-view resizing increments. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc for details. func (x gen_NSWindow) ContentResizeIncrements() core.NSSize { ret := C.NSWindow_inst_contentResizeIncrements( unsafe.Pointer(x.Pointer()), @@ -20021,8 +21051,9 @@ func (x gen_NSWindow) ContentResizeIncrements() core.NSSize { } -// SetContentResizeIncrements The window’s content-view resizing increments. -// https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc +// SetContentResizeIncrements returns the window’s content-view resizing increments. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc for details. func (x gen_NSWindow) SetContentResizeIncrements( value core.NSSize, ) { @@ -20035,8 +21066,9 @@ func (x gen_NSWindow) SetContentResizeIncrements( } -// ContentLayoutGuide A value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect. -// https://developer.apple.com/documentation/appkit/nswindow/1419094-contentlayoutguide?language=objc +// ContentLayoutGuide returns a value used by auto layout constraints to automatically bind to the value of contentlayoutrect. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419094-contentlayoutguide?language=objc for details. func (x gen_NSWindow) ContentLayoutGuide() objc.Object { ret := C.NSWindow_inst_contentLayoutGuide( unsafe.Pointer(x.Pointer()), @@ -20046,8 +21078,9 @@ func (x gen_NSWindow) ContentLayoutGuide() objc.Object { } -// ContentLayoutRect The area inside the window that is for non-obscured content, in window coordinates. -// https://developer.apple.com/documentation/appkit/nswindow/1419124-contentlayoutrect?language=objc +// ContentLayoutRect returns the area inside the window that is for non-obscured content, in window coordinates. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419124-contentlayoutrect?language=objc for details. func (x gen_NSWindow) ContentLayoutRect() core.NSRect { ret := C.NSWindow_inst_contentLayoutRect( unsafe.Pointer(x.Pointer()), @@ -20057,8 +21090,9 @@ func (x gen_NSWindow) ContentLayoutRect() core.NSRect { } -// MaxFullScreenContentSize A maximum size that is used to determine if a window can fit when it is in full screen in a tile. -// https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc +// MaxFullScreenContentSize returns a maximum size that is used to determine if a window can fit when it is in full screen in a tile. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc for details. func (x gen_NSWindow) MaxFullScreenContentSize() core.NSSize { ret := C.NSWindow_inst_maxFullScreenContentSize( unsafe.Pointer(x.Pointer()), @@ -20068,8 +21102,9 @@ func (x gen_NSWindow) MaxFullScreenContentSize() core.NSSize { } -// SetMaxFullScreenContentSize A maximum size that is used to determine if a window can fit when it is in full screen in a tile. -// https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc +// SetMaxFullScreenContentSize returns a maximum size that is used to determine if a window can fit when it is in full screen in a tile. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc for details. func (x gen_NSWindow) SetMaxFullScreenContentSize( value core.NSSize, ) { @@ -20082,8 +21117,9 @@ func (x gen_NSWindow) SetMaxFullScreenContentSize( } -// MinFullScreenContentSize A minimum size that is used to determine if a window can fit when it is in full screen in a tile. -// https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc +// MinFullScreenContentSize returns a minimum size that is used to determine if a window can fit when it is in full screen in a tile. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc for details. func (x gen_NSWindow) MinFullScreenContentSize() core.NSSize { ret := C.NSWindow_inst_minFullScreenContentSize( unsafe.Pointer(x.Pointer()), @@ -20093,8 +21129,9 @@ func (x gen_NSWindow) MinFullScreenContentSize() core.NSSize { } -// SetMinFullScreenContentSize A minimum size that is used to determine if a window can fit when it is in full screen in a tile. -// https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc +// SetMinFullScreenContentSize returns a minimum size that is used to determine if a window can fit when it is in full screen in a tile. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc for details. func (x gen_NSWindow) SetMinFullScreenContentSize( value core.NSSize, ) { @@ -20107,8 +21144,9 @@ func (x gen_NSWindow) SetMinFullScreenContentSize( } -// Level The window level of the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc +// Level returns the window level of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc for details. func (x gen_NSWindow) Level() core.NSInteger { ret := C.NSWindow_inst_level( unsafe.Pointer(x.Pointer()), @@ -20118,8 +21156,9 @@ func (x gen_NSWindow) Level() core.NSInteger { } -// SetLevel The window level of the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc +// SetLevel returns the window level of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc for details. func (x gen_NSWindow) SetLevel( value core.NSInteger, ) { @@ -20132,8 +21171,9 @@ func (x gen_NSWindow) SetLevel( } -// IsVisible A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows). -// https://developer.apple.com/documentation/appkit/nswindow/1419132-visible?language=objc +// IsVisible returns a boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows). +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419132-visible?language=objc for details. func (x gen_NSWindow) IsVisible() bool { ret := C.NSWindow_inst_isVisible( unsafe.Pointer(x.Pointer()), @@ -20143,8 +21183,9 @@ func (x gen_NSWindow) IsVisible() bool { } -// IsKeyWindow A Boolean value that indicates whether the window is the key window for the application. -// https://developer.apple.com/documentation/appkit/nswindow/1419735-keywindow?language=objc +// IsKeyWindow returns a boolean value that indicates whether the window is the key window for the application. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419735-keywindow?language=objc for details. func (x gen_NSWindow) IsKeyWindow() bool { ret := C.NSWindow_inst_isKeyWindow( unsafe.Pointer(x.Pointer()), @@ -20154,8 +21195,9 @@ func (x gen_NSWindow) IsKeyWindow() bool { } -// CanBecomeKeyWindow A Boolean value that indicates whether the window can become the key window. -// https://developer.apple.com/documentation/appkit/nswindow/1419543-canbecomekeywindow?language=objc +// CanBecomeKeyWindow returns a boolean value that indicates whether the window can become the key window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419543-canbecomekeywindow?language=objc for details. func (x gen_NSWindow) CanBecomeKeyWindow() bool { ret := C.NSWindow_inst_canBecomeKeyWindow( unsafe.Pointer(x.Pointer()), @@ -20165,8 +21207,9 @@ func (x gen_NSWindow) CanBecomeKeyWindow() bool { } -// IsMainWindow A Boolean value that indicates whether the window is the application’s main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419130-mainwindow?language=objc +// IsMainWindow returns a boolean value that indicates whether the window is the application’s main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419130-mainwindow?language=objc for details. func (x gen_NSWindow) IsMainWindow() bool { ret := C.NSWindow_inst_isMainWindow( unsafe.Pointer(x.Pointer()), @@ -20176,8 +21219,9 @@ func (x gen_NSWindow) IsMainWindow() bool { } -// CanBecomeMainWindow A Boolean value that indicates whether the window can become the application’s main window. -// https://developer.apple.com/documentation/appkit/nswindow/1419162-canbecomemainwindow?language=objc +// CanBecomeMainWindow returns a boolean value that indicates whether the window can become the application’s main window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419162-canbecomemainwindow?language=objc for details. func (x gen_NSWindow) CanBecomeMainWindow() bool { ret := C.NSWindow_inst_canBecomeMainWindow( unsafe.Pointer(x.Pointer()), @@ -20187,8 +21231,9 @@ func (x gen_NSWindow) CanBecomeMainWindow() bool { } -// ChildWindows An array of the window’s attached child windows. -// https://developer.apple.com/documentation/appkit/nswindow/1419236-childwindows?language=objc +// ChildWindows an array of the window’s attached child windows. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419236-childwindows?language=objc for details. func (x gen_NSWindow) ChildWindows() core.NSArray { ret := C.NSWindow_inst_childWindows( unsafe.Pointer(x.Pointer()), @@ -20198,8 +21243,9 @@ func (x gen_NSWindow) ChildWindows() core.NSArray { } -// ParentWindow The parent window to which the window is attached as a child. -// https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc +// ParentWindow returns the parent window to which the window is attached as a child. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc for details. func (x gen_NSWindow) ParentWindow() NSWindow { ret := C.NSWindow_inst_parentWindow( unsafe.Pointer(x.Pointer()), @@ -20209,8 +21255,9 @@ func (x gen_NSWindow) ParentWindow() NSWindow { } -// SetParentWindow The parent window to which the window is attached as a child. -// https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc +// SetParentWindow returns the parent window to which the window is attached as a child. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc for details. func (x gen_NSWindow) SetParentWindow( value NSWindowRef, ) { @@ -20223,8 +21270,9 @@ func (x gen_NSWindow) SetParentWindow( } -// IsExcludedFromWindowsMenu A Boolean value that indicates whether the window is excluded from the application’s Windows menu. -// https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc +// IsExcludedFromWindowsMenu returns a boolean value that indicates whether the window is excluded from the application’s windows menu. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc for details. func (x gen_NSWindow) IsExcludedFromWindowsMenu() bool { ret := C.NSWindow_inst_isExcludedFromWindowsMenu( unsafe.Pointer(x.Pointer()), @@ -20234,8 +21282,9 @@ func (x gen_NSWindow) IsExcludedFromWindowsMenu() bool { } -// SetExcludedFromWindowsMenu A Boolean value that indicates whether the window is excluded from the application’s Windows menu. -// https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc +// SetExcludedFromWindowsMenu returns a boolean value that indicates whether the window is excluded from the application’s windows menu. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc for details. func (x gen_NSWindow) SetExcludedFromWindowsMenu( value bool, ) { @@ -20248,8 +21297,9 @@ func (x gen_NSWindow) SetExcludedFromWindowsMenu( } -// AreCursorRectsEnabled A Boolean value that indicates whether the window’s cursor rectangles are enabled. -// https://developer.apple.com/documentation/appkit/nswindow/1419668-arecursorrectsenabled?language=objc +// AreCursorRectsEnabled returns a boolean value that indicates whether the window’s cursor rectangles are enabled. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419668-arecursorrectsenabled?language=objc for details. func (x gen_NSWindow) AreCursorRectsEnabled() bool { ret := C.NSWindow_inst_areCursorRectsEnabled( unsafe.Pointer(x.Pointer()), @@ -20259,8 +21309,9 @@ func (x gen_NSWindow) AreCursorRectsEnabled() bool { } -// ShowsToolbarButton A Boolean value that indicates whether the toolbar control button is currently displayed. -// https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc +// ShowsToolbarButton returns a boolean value that indicates whether the toolbar control button is currently displayed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc for details. func (x gen_NSWindow) ShowsToolbarButton() bool { ret := C.NSWindow_inst_showsToolbarButton( unsafe.Pointer(x.Pointer()), @@ -20270,8 +21321,9 @@ func (x gen_NSWindow) ShowsToolbarButton() bool { } -// SetShowsToolbarButton A Boolean value that indicates whether the toolbar control button is currently displayed. -// https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc +// SetShowsToolbarButton returns a boolean value that indicates whether the toolbar control button is currently displayed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc for details. func (x gen_NSWindow) SetShowsToolbarButton( value bool, ) { @@ -20284,8 +21336,9 @@ func (x gen_NSWindow) SetShowsToolbarButton( } -// TitlebarAppearsTransparent A Boolean value that indicates whether the title bar draws its background. -// https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc +// TitlebarAppearsTransparent returns a boolean value that indicates whether the title bar draws its background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc for details. func (x gen_NSWindow) TitlebarAppearsTransparent() bool { ret := C.NSWindow_inst_titlebarAppearsTransparent( unsafe.Pointer(x.Pointer()), @@ -20295,8 +21348,9 @@ func (x gen_NSWindow) TitlebarAppearsTransparent() bool { } -// SetTitlebarAppearsTransparent A Boolean value that indicates whether the title bar draws its background. -// https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc +// SetTitlebarAppearsTransparent returns a boolean value that indicates whether the title bar draws its background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc for details. func (x gen_NSWindow) SetTitlebarAppearsTransparent( value bool, ) { @@ -20309,8 +21363,9 @@ func (x gen_NSWindow) SetTitlebarAppearsTransparent( } -// TitlebarAccessoryViewControllers An array of title bar accessory view controllers that are currently added to the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc +// TitlebarAccessoryViewControllers an array of title bar accessory view controllers that are currently added to the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc for details. func (x gen_NSWindow) TitlebarAccessoryViewControllers() core.NSArray { ret := C.NSWindow_inst_titlebarAccessoryViewControllers( unsafe.Pointer(x.Pointer()), @@ -20320,8 +21375,9 @@ func (x gen_NSWindow) TitlebarAccessoryViewControllers() core.NSArray { } -// SetTitlebarAccessoryViewControllers An array of title bar accessory view controllers that are currently added to the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc +// SetTitlebarAccessoryViewControllers an array of title bar accessory view controllers that are currently added to the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc for details. func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( value core.NSArrayRef, ) { @@ -20334,8 +21390,9 @@ func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( } -// TabbedWindows An array of windows that display as tabs. -// https://developer.apple.com/documentation/appkit/nswindow/1792044-tabbedwindows?language=objc +// TabbedWindows an array of windows that display as tabs. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1792044-tabbedwindows?language=objc for details. func (x gen_NSWindow) TabbedWindows() core.NSArray { ret := C.NSWindow_inst_tabbedWindows( unsafe.Pointer(x.Pointer()), @@ -20345,8 +21402,9 @@ func (x gen_NSWindow) TabbedWindows() core.NSArray { } -// AllowsToolTipsWhenApplicationIsInactive A Boolean value that indicates whether the window can display tooltips even when the application is in the background. -// https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc +// AllowsToolTipsWhenApplicationIsInactive returns a boolean value that indicates whether the window can display tooltips even when the application is in the background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc for details. func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() bool { ret := C.NSWindow_inst_allowsToolTipsWhenApplicationIsInactive( unsafe.Pointer(x.Pointer()), @@ -20356,8 +21414,9 @@ func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() bool { } -// SetAllowsToolTipsWhenApplicationIsInactive A Boolean value that indicates whether the window can display tooltips even when the application is in the background. -// https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc +// SetAllowsToolTipsWhenApplicationIsInactive returns a boolean value that indicates whether the window can display tooltips even when the application is in the background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc for details. func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( value bool, ) { @@ -20370,8 +21429,9 @@ func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( } -// CurrentEvent The event currently being processed by the application. -// https://developer.apple.com/documentation/appkit/nswindow/1419298-currentevent?language=objc +// CurrentEvent returns the event currently being processed by the application. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419298-currentevent?language=objc for details. func (x gen_NSWindow) CurrentEvent() NSEvent { ret := C.NSWindow_inst_currentEvent( unsafe.Pointer(x.Pointer()), @@ -20381,8 +21441,9 @@ func (x gen_NSWindow) CurrentEvent() NSEvent { } -// InitialFirstResponder The view that’s made first responder (also called the key view) the first time the window is placed onscreen. -// https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc +// InitialFirstResponder returns the view that’s made first responder (also called the key view) the first time the window is placed onscreen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc for details. func (x gen_NSWindow) InitialFirstResponder() NSView { ret := C.NSWindow_inst_initialFirstResponder( unsafe.Pointer(x.Pointer()), @@ -20392,8 +21453,9 @@ func (x gen_NSWindow) InitialFirstResponder() NSView { } -// SetInitialFirstResponder The view that’s made first responder (also called the key view) the first time the window is placed onscreen. -// https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc +// SetInitialFirstResponder returns the view that’s made first responder (also called the key view) the first time the window is placed onscreen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc for details. func (x gen_NSWindow) SetInitialFirstResponder( value NSViewRef, ) { @@ -20406,8 +21468,9 @@ func (x gen_NSWindow) SetInitialFirstResponder( } -// AutorecalculatesKeyViewLoop A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added. -// https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc +// AutorecalculatesKeyViewLoop returns a boolean value that indicates whether the window automatically recalculates the key view loop when views are added. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc for details. func (x gen_NSWindow) AutorecalculatesKeyViewLoop() bool { ret := C.NSWindow_inst_autorecalculatesKeyViewLoop( unsafe.Pointer(x.Pointer()), @@ -20417,8 +21480,9 @@ func (x gen_NSWindow) AutorecalculatesKeyViewLoop() bool { } -// SetAutorecalculatesKeyViewLoop A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added. -// https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc +// SetAutorecalculatesKeyViewLoop returns a boolean value that indicates whether the window automatically recalculates the key view loop when views are added. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc for details. func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( value bool, ) { @@ -20431,8 +21495,9 @@ func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( } -// AcceptsMouseMovedEvents A Boolean value that indicates whether the window accepts mouse-moved events. -// https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc +// AcceptsMouseMovedEvents returns a boolean value that indicates whether the window accepts mouse-moved events. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc for details. func (x gen_NSWindow) AcceptsMouseMovedEvents() bool { ret := C.NSWindow_inst_acceptsMouseMovedEvents( unsafe.Pointer(x.Pointer()), @@ -20442,8 +21507,9 @@ func (x gen_NSWindow) AcceptsMouseMovedEvents() bool { } -// SetAcceptsMouseMovedEvents A Boolean value that indicates whether the window accepts mouse-moved events. -// https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc +// SetAcceptsMouseMovedEvents returns a boolean value that indicates whether the window accepts mouse-moved events. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc for details. func (x gen_NSWindow) SetAcceptsMouseMovedEvents( value bool, ) { @@ -20456,8 +21522,9 @@ func (x gen_NSWindow) SetAcceptsMouseMovedEvents( } -// IgnoresMouseEvents A Boolean value that indicates whether the window is transparent to mouse events. -// https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc +// IgnoresMouseEvents returns a boolean value that indicates whether the window is transparent to mouse events. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc for details. func (x gen_NSWindow) IgnoresMouseEvents() bool { ret := C.NSWindow_inst_ignoresMouseEvents( unsafe.Pointer(x.Pointer()), @@ -20467,8 +21534,9 @@ func (x gen_NSWindow) IgnoresMouseEvents() bool { } -// SetIgnoresMouseEvents A Boolean value that indicates whether the window is transparent to mouse events. -// https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc +// SetIgnoresMouseEvents returns a boolean value that indicates whether the window is transparent to mouse events. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc for details. func (x gen_NSWindow) SetIgnoresMouseEvents( value bool, ) { @@ -20481,8 +21549,9 @@ func (x gen_NSWindow) SetIgnoresMouseEvents( } -// MouseLocationOutsideOfEventStream The current location of the pointer reckoned in the window’s base coordinate system, regardless of the current event being handled or of any events pending. -// https://developer.apple.com/documentation/appkit/nswindow/1419280-mouselocationoutsideofeventstrea?language=objc +// MouseLocationOutsideOfEventStream returns the current location of the pointer reckoned in the window’s base coordinate system, regardless of the current event being handled or of any events pending. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419280-mouselocationoutsideofeventstrea?language=objc for details. func (x gen_NSWindow) MouseLocationOutsideOfEventStream() core.NSPoint { ret := C.NSWindow_inst_mouseLocationOutsideOfEventStream( unsafe.Pointer(x.Pointer()), @@ -20492,8 +21561,9 @@ func (x gen_NSWindow) MouseLocationOutsideOfEventStream() core.NSPoint { } -// IsRestorable A Boolean value indicating whether the window configuration is preserved between application launches. -// https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc +// IsRestorable returns a boolean value indicating whether the window configuration is preserved between application launches. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc for details. func (x gen_NSWindow) IsRestorable() bool { ret := C.NSWindow_inst_isRestorable( unsafe.Pointer(x.Pointer()), @@ -20503,8 +21573,9 @@ func (x gen_NSWindow) IsRestorable() bool { } -// SetRestorable A Boolean value indicating whether the window configuration is preserved between application launches. -// https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc +// SetRestorable returns a boolean value indicating whether the window configuration is preserved between application launches. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc for details. func (x gen_NSWindow) SetRestorable( value bool, ) { @@ -20517,8 +21588,9 @@ func (x gen_NSWindow) SetRestorable( } -// ViewsNeedDisplay A Boolean value that indicates whether any of the window’s views need to be displayed. -// https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc +// ViewsNeedDisplay returns a boolean value that indicates whether any of the window’s views need to be displayed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc for details. func (x gen_NSWindow) ViewsNeedDisplay() bool { ret := C.NSWindow_inst_viewsNeedDisplay( unsafe.Pointer(x.Pointer()), @@ -20528,8 +21600,9 @@ func (x gen_NSWindow) ViewsNeedDisplay() bool { } -// SetViewsNeedDisplay A Boolean value that indicates whether any of the window’s views need to be displayed. -// https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc +// SetViewsNeedDisplay returns a boolean value that indicates whether any of the window’s views need to be displayed. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc for details. func (x gen_NSWindow) SetViewsNeedDisplay( value bool, ) { @@ -20542,8 +21615,9 @@ func (x gen_NSWindow) SetViewsNeedDisplay( } -// AllowsConcurrentViewDrawing A Boolean value that indicates whether the window allows multithreaded view drawing. -// https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc +// AllowsConcurrentViewDrawing returns a boolean value that indicates whether the window allows multithreaded view drawing. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc for details. func (x gen_NSWindow) AllowsConcurrentViewDrawing() bool { ret := C.NSWindow_inst_allowsConcurrentViewDrawing( unsafe.Pointer(x.Pointer()), @@ -20553,8 +21627,9 @@ func (x gen_NSWindow) AllowsConcurrentViewDrawing() bool { } -// SetAllowsConcurrentViewDrawing A Boolean value that indicates whether the window allows multithreaded view drawing. -// https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc +// SetAllowsConcurrentViewDrawing returns a boolean value that indicates whether the window allows multithreaded view drawing. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc for details. func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( value bool, ) { @@ -20567,8 +21642,9 @@ func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( } -// IsDocumentEdited A Boolean value that indicates whether the window’s document has been edited. -// https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc +// IsDocumentEdited returns a boolean value that indicates whether the window’s document has been edited. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc for details. func (x gen_NSWindow) IsDocumentEdited() bool { ret := C.NSWindow_inst_isDocumentEdited( unsafe.Pointer(x.Pointer()), @@ -20578,8 +21654,9 @@ func (x gen_NSWindow) IsDocumentEdited() bool { } -// SetDocumentEdited A Boolean value that indicates whether the window’s document has been edited. -// https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc +// SetDocumentEdited returns a boolean value that indicates whether the window’s document has been edited. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc for details. func (x gen_NSWindow) SetDocumentEdited( value bool, ) { @@ -20592,8 +21669,9 @@ func (x gen_NSWindow) SetDocumentEdited( } -// BackingScaleFactor The backing scale factor. -// https://developer.apple.com/documentation/appkit/nswindow/1419459-backingscalefactor?language=objc +// BackingScaleFactor returns the backing scale factor. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419459-backingscalefactor?language=objc for details. func (x gen_NSWindow) BackingScaleFactor() core.CGFloat { ret := C.NSWindow_inst_backingScaleFactor( unsafe.Pointer(x.Pointer()), @@ -20603,8 +21681,9 @@ func (x gen_NSWindow) BackingScaleFactor() core.CGFloat { } -// Title The string that appears in the title bar of the window or the path to the represented file. -// https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc +// Title returns the string that appears in the title bar of the window or the path to the represented file. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc for details. func (x gen_NSWindow) Title() core.NSString { ret := C.NSWindow_inst_title( unsafe.Pointer(x.Pointer()), @@ -20614,8 +21693,9 @@ func (x gen_NSWindow) Title() core.NSString { } -// SetTitle The string that appears in the title bar of the window or the path to the represented file. -// https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc +// SetTitle returns the string that appears in the title bar of the window or the path to the represented file. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc for details. func (x gen_NSWindow) SetTitle( value core.NSStringRef, ) { @@ -20628,8 +21708,9 @@ func (x gen_NSWindow) SetTitle( } -// Subtitle A secondary line of text that appears in the title bar of the window. -// https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc +// Subtitle returns a secondary line of text that appears in the title bar of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc for details. func (x gen_NSWindow) Subtitle() core.NSString { ret := C.NSWindow_inst_subtitle( unsafe.Pointer(x.Pointer()), @@ -20639,8 +21720,9 @@ func (x gen_NSWindow) Subtitle() core.NSString { } -// SetSubtitle A secondary line of text that appears in the title bar of the window. -// https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc +// SetSubtitle returns a secondary line of text that appears in the title bar of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc for details. func (x gen_NSWindow) SetSubtitle( value core.NSStringRef, ) { @@ -20653,8 +21735,9 @@ func (x gen_NSWindow) SetSubtitle( } -// TitleVisibility A value that indicates the visibility of the window’s title and title bar buttons. -// https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc +// TitleVisibility returns a value that indicates the visibility of the window’s title and title bar buttons. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc for details. func (x gen_NSWindow) TitleVisibility() core.NSInteger { ret := C.NSWindow_inst_titleVisibility( unsafe.Pointer(x.Pointer()), @@ -20664,8 +21747,9 @@ func (x gen_NSWindow) TitleVisibility() core.NSInteger { } -// SetTitleVisibility A value that indicates the visibility of the window’s title and title bar buttons. -// https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc +// SetTitleVisibility returns a value that indicates the visibility of the window’s title and title bar buttons. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc for details. func (x gen_NSWindow) SetTitleVisibility( value core.NSInteger, ) { @@ -20678,8 +21762,9 @@ func (x gen_NSWindow) SetTitleVisibility( } -// RepresentedFilename The path to the file of the window’s represented file. -// https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc +// RepresentedFilename returns the path to the file of the window’s represented file. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc for details. func (x gen_NSWindow) RepresentedFilename() core.NSString { ret := C.NSWindow_inst_representedFilename( unsafe.Pointer(x.Pointer()), @@ -20689,8 +21774,9 @@ func (x gen_NSWindow) RepresentedFilename() core.NSString { } -// SetRepresentedFilename The path to the file of the window’s represented file. -// https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc +// SetRepresentedFilename returns the path to the file of the window’s represented file. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc for details. func (x gen_NSWindow) SetRepresentedFilename( value core.NSStringRef, ) { @@ -20703,8 +21789,9 @@ func (x gen_NSWindow) SetRepresentedFilename( } -// RepresentedURL The URL of the file the window represents. -// https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc +// RepresentedURL returns the url of the file the window represents. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc for details. func (x gen_NSWindow) RepresentedURL() core.NSURL { ret := C.NSWindow_inst_representedURL( unsafe.Pointer(x.Pointer()), @@ -20714,8 +21801,9 @@ func (x gen_NSWindow) RepresentedURL() core.NSURL { } -// SetRepresentedURL The URL of the file the window represents. -// https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc +// SetRepresentedURL returns the url of the file the window represents. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc for details. func (x gen_NSWindow) SetRepresentedURL( value core.NSURLRef, ) { @@ -20728,8 +21816,9 @@ func (x gen_NSWindow) SetRepresentedURL( } -// Screen The screen the window is on. -// https://developer.apple.com/documentation/appkit/nswindow/1419232-screen?language=objc +// Screen returns the screen the window is on. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419232-screen?language=objc for details. func (x gen_NSWindow) Screen() NSScreen { ret := C.NSWindow_inst_screen( unsafe.Pointer(x.Pointer()), @@ -20739,8 +21828,9 @@ func (x gen_NSWindow) Screen() NSScreen { } -// DeepestScreen The deepest screen the window is on (it may be split over several screens). -// https://developer.apple.com/documentation/appkit/nswindow/1419080-deepestscreen?language=objc +// DeepestScreen returns the deepest screen the window is on (it may be split over several screens). +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419080-deepestscreen?language=objc for details. func (x gen_NSWindow) DeepestScreen() NSScreen { ret := C.NSWindow_inst_deepestScreen( unsafe.Pointer(x.Pointer()), @@ -20750,8 +21840,9 @@ func (x gen_NSWindow) DeepestScreen() NSScreen { } -// DisplaysWhenScreenProfileChanges A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. -// https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc +// DisplaysWhenScreenProfileChanges returns a boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc for details. func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() bool { ret := C.NSWindow_inst_displaysWhenScreenProfileChanges( unsafe.Pointer(x.Pointer()), @@ -20761,8 +21852,9 @@ func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() bool { } -// SetDisplaysWhenScreenProfileChanges A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. -// https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc +// SetDisplaysWhenScreenProfileChanges returns a boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc for details. func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( value bool, ) { @@ -20775,8 +21867,9 @@ func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( } -// IsMovableByWindowBackground A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. -// https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc +// IsMovableByWindowBackground returns a boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc for details. func (x gen_NSWindow) IsMovableByWindowBackground() bool { ret := C.NSWindow_inst_isMovableByWindowBackground( unsafe.Pointer(x.Pointer()), @@ -20786,8 +21879,9 @@ func (x gen_NSWindow) IsMovableByWindowBackground() bool { } -// SetMovableByWindowBackground A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. -// https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc +// SetMovableByWindowBackground returns a boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc for details. func (x gen_NSWindow) SetMovableByWindowBackground( value bool, ) { @@ -20800,8 +21894,9 @@ func (x gen_NSWindow) SetMovableByWindowBackground( } -// IsMovable A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background. -// https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc +// IsMovable returns a boolean value that indicates whether the window can be dragged by clicking in its title bar or background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc for details. func (x gen_NSWindow) IsMovable() bool { ret := C.NSWindow_inst_isMovable( unsafe.Pointer(x.Pointer()), @@ -20811,8 +21906,9 @@ func (x gen_NSWindow) IsMovable() bool { } -// SetMovable A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background. -// https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc +// SetMovable returns a boolean value that indicates whether the window can be dragged by clicking in its title bar or background. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc for details. func (x gen_NSWindow) SetMovable( value bool, ) { @@ -20825,8 +21921,9 @@ func (x gen_NSWindow) SetMovable( } -// IsReleasedWhenClosed A Boolean value that indicates whether the window is released when it receives the close message. -// https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc +// IsReleasedWhenClosed returns a boolean value that indicates whether the window is released when it receives the close message. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc for details. func (x gen_NSWindow) IsReleasedWhenClosed() bool { ret := C.NSWindow_inst_isReleasedWhenClosed( unsafe.Pointer(x.Pointer()), @@ -20836,8 +21933,9 @@ func (x gen_NSWindow) IsReleasedWhenClosed() bool { } -// SetReleasedWhenClosed A Boolean value that indicates whether the window is released when it receives the close message. -// https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc +// SetReleasedWhenClosed returns a boolean value that indicates whether the window is released when it receives the close message. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc for details. func (x gen_NSWindow) SetReleasedWhenClosed( value bool, ) { @@ -20850,8 +21948,9 @@ func (x gen_NSWindow) SetReleasedWhenClosed( } -// IsMiniaturized A Boolean value that indicates whether the window is minimized. -// https://developer.apple.com/documentation/appkit/nswindow/1419699-miniaturized?language=objc +// IsMiniaturized returns a boolean value that indicates whether the window is minimized. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419699-miniaturized?language=objc for details. func (x gen_NSWindow) IsMiniaturized() bool { ret := C.NSWindow_inst_isMiniaturized( unsafe.Pointer(x.Pointer()), @@ -20861,8 +21960,9 @@ func (x gen_NSWindow) IsMiniaturized() bool { } -// MiniwindowImage The custom miniaturized window image of the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc +// MiniwindowImage returns the custom miniaturized window image of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc for details. func (x gen_NSWindow) MiniwindowImage() NSImage { ret := C.NSWindow_inst_miniwindowImage( unsafe.Pointer(x.Pointer()), @@ -20872,8 +21972,9 @@ func (x gen_NSWindow) MiniwindowImage() NSImage { } -// SetMiniwindowImage The custom miniaturized window image of the window. -// https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc +// SetMiniwindowImage returns the custom miniaturized window image of the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc for details. func (x gen_NSWindow) SetMiniwindowImage( value NSImageRef, ) { @@ -20886,8 +21987,9 @@ func (x gen_NSWindow) SetMiniwindowImage( } -// MiniwindowTitle The title displayed in the window’s minimized window. -// https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc +// MiniwindowTitle returns the title displayed in the window’s minimized window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc for details. func (x gen_NSWindow) MiniwindowTitle() core.NSString { ret := C.NSWindow_inst_miniwindowTitle( unsafe.Pointer(x.Pointer()), @@ -20897,8 +21999,9 @@ func (x gen_NSWindow) MiniwindowTitle() core.NSString { } -// SetMiniwindowTitle The title displayed in the window’s minimized window. -// https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc +// SetMiniwindowTitle returns the title displayed in the window’s minimized window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc for details. func (x gen_NSWindow) SetMiniwindowTitle( value core.NSStringRef, ) { @@ -20911,8 +22014,9 @@ func (x gen_NSWindow) SetMiniwindowTitle( } -// HasCloseBox A Boolean value that indicates if the window has a close box. -// https://developer.apple.com/documentation/appkit/nswindow/1449574-hasclosebox?language=objc +// HasCloseBox returns a boolean value that indicates if the window has a close box. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449574-hasclosebox?language=objc for details. func (x gen_NSWindow) HasCloseBox() bool { ret := C.NSWindow_inst_hasCloseBox( unsafe.Pointer(x.Pointer()), @@ -20922,8 +22026,9 @@ func (x gen_NSWindow) HasCloseBox() bool { } -// HasTitleBar A Boolean value that indicates if the window has a title bar. -// https://developer.apple.com/documentation/appkit/nswindow/1449568-hastitlebar?language=objc +// HasTitleBar returns a boolean value that indicates if the window has a title bar. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449568-hastitlebar?language=objc for details. func (x gen_NSWindow) HasTitleBar() bool { ret := C.NSWindow_inst_hasTitleBar( unsafe.Pointer(x.Pointer()), @@ -20933,8 +22038,9 @@ func (x gen_NSWindow) HasTitleBar() bool { } -// IsModalPanel A Boolean value that indicates whether the window is a modal panel. -// https://developer.apple.com/documentation/appkit/nswindow/1449576-modalpanel?language=objc +// IsModalPanel returns a boolean value that indicates whether the window is a modal panel. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449576-modalpanel?language=objc for details. func (x gen_NSWindow) IsModalPanel() bool { ret := C.NSWindow_inst_isModalPanel( unsafe.Pointer(x.Pointer()), @@ -20944,8 +22050,9 @@ func (x gen_NSWindow) IsModalPanel() bool { } -// IsFloatingPanel A Boolean value that indicates whether the window is a floating panel. -// https://developer.apple.com/documentation/appkit/nswindow/1449579-floatingpanel?language=objc +// IsFloatingPanel returns a boolean value that indicates whether the window is a floating panel. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449579-floatingpanel?language=objc for details. func (x gen_NSWindow) IsFloatingPanel() bool { ret := C.NSWindow_inst_isFloatingPanel( unsafe.Pointer(x.Pointer()), @@ -20955,8 +22062,9 @@ func (x gen_NSWindow) IsFloatingPanel() bool { } -// IsZoomable A Boolean value that indicates whether the window allows zooming. -// https://developer.apple.com/documentation/appkit/nswindow/1449587-zoomable?language=objc +// IsZoomable returns a boolean value that indicates whether the window allows zooming. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449587-zoomable?language=objc for details. func (x gen_NSWindow) IsZoomable() bool { ret := C.NSWindow_inst_isZoomable( unsafe.Pointer(x.Pointer()), @@ -20966,8 +22074,9 @@ func (x gen_NSWindow) IsZoomable() bool { } -// IsResizable A Boolean value that indicates if the user can resize the window. -// https://developer.apple.com/documentation/appkit/nswindow/1449572-resizable?language=objc +// IsResizable returns a boolean value that indicates if the user can resize the window. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449572-resizable?language=objc for details. func (x gen_NSWindow) IsResizable() bool { ret := C.NSWindow_inst_isResizable( unsafe.Pointer(x.Pointer()), @@ -20977,8 +22086,9 @@ func (x gen_NSWindow) IsResizable() bool { } -// IsMiniaturizable A Boolean value that indicates whether the window can minimize. -// https://developer.apple.com/documentation/appkit/nswindow/1449583-miniaturizable?language=objc +// IsMiniaturizable returns a boolean value that indicates whether the window can minimize. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449583-miniaturizable?language=objc for details. func (x gen_NSWindow) IsMiniaturizable() bool { ret := C.NSWindow_inst_isMiniaturizable( unsafe.Pointer(x.Pointer()), @@ -20988,8 +22098,9 @@ func (x gen_NSWindow) IsMiniaturizable() bool { } -// OrderedIndex The zero-based position of the window, based on its order from front to back among all visible application windows. -// https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc +// OrderedIndex returns the zero-based position of the window, based on its order from front to back among all visible application windows. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc for details. func (x gen_NSWindow) OrderedIndex() core.NSInteger { ret := C.NSWindow_inst_orderedIndex( unsafe.Pointer(x.Pointer()), @@ -20999,8 +22110,9 @@ func (x gen_NSWindow) OrderedIndex() core.NSInteger { } -// SetOrderedIndex The zero-based position of the window, based on its order from front to back among all visible application windows. -// https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc +// SetOrderedIndex returns the zero-based position of the window, based on its order from front to back among all visible application windows. +// +// See https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc for details. func (x gen_NSWindow) SetOrderedIndex( value core.NSInteger, ) { @@ -21032,8 +22144,9 @@ func NSWorkspace_fromRef(ref objc.Ref) NSWorkspace { return NSWorkspace_fromPointer(unsafe.Pointer(ref.Pointer())) } -// URLForApplicationToOpenURL Returns the URL to the default app that would be opened. -// https://developer.apple.com/documentation/appkit/nsworkspace/1533391-urlforapplicationtoopenurl?language=objc +// URLForApplicationToOpenURL returns the url to the default app that would be opened. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1533391-urlforapplicationtoopenurl?language=objc for details. func (x gen_NSWorkspace) URLForApplicationToOpenURL( url core.NSURLRef, ) core.NSURL { @@ -21046,8 +22159,9 @@ func (x gen_NSWorkspace) URLForApplicationToOpenURL( } -// URLForApplicationWithBundleIdentifier Returns the URL for the app with the specified identifier. -// https://developer.apple.com/documentation/appkit/nsworkspace/1534053-urlforapplicationwithbundleident?language=objc +// URLForApplicationWithBundleIdentifier returns the url for the app with the specified identifier. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1534053-urlforapplicationwithbundleident?language=objc for details. func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( bundleIdentifier core.NSStringRef, ) core.NSURL { @@ -21061,7 +22175,8 @@ func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( } // URLsForApplicationsToOpenURL -// https://developer.apple.com/documentation/appkit/nsworkspace/3753000-urlsforapplicationstoopenurl?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/3753000-urlsforapplicationstoopenurl?language=objc for details. func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( url core.NSURLRef, ) core.NSArray { @@ -21075,7 +22190,8 @@ func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( } // URLsForApplicationsWithBundleIdentifier -// https://developer.apple.com/documentation/appkit/nsworkspace/3753001-urlsforapplicationswithbundleide?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/3753001-urlsforapplicationswithbundleide?language=objc for details. func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( bundleIdentifier core.NSStringRef, ) core.NSArray { @@ -21088,8 +22204,9 @@ func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( } -// ActivateFileViewerSelectingURLs Activates the Finder, and opens one or more windows selecting the specified files. -// https://developer.apple.com/documentation/appkit/nsworkspace/1524549-activatefileviewerselectingurls?language=objc +// ActivateFileViewerSelectingURLs activates the finder, and opens one or more windows selecting the specified files. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1524549-activatefileviewerselectingurls?language=objc for details. func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( fileURLs core.NSArrayRef, ) { @@ -21102,8 +22219,9 @@ func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( } -// DesktopImageOptionsForScreen Returns the desktop image options for the given screen. -// https://developer.apple.com/documentation/appkit/nsworkspace/1530855-desktopimageoptionsforscreen?language=objc +// DesktopImageOptionsForScreen returns the desktop image options for the given screen. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1530855-desktopimageoptionsforscreen?language=objc for details. func (x gen_NSWorkspace) DesktopImageOptionsForScreen( screen NSScreenRef, ) core.NSDictionary { @@ -21116,8 +22234,9 @@ func (x gen_NSWorkspace) DesktopImageOptionsForScreen( } -// DesktopImageURLForScreen Returns the URL for the desktop image for the given screen. -// https://developer.apple.com/documentation/appkit/nsworkspace/1530635-desktopimageurlforscreen?language=objc +// DesktopImageURLForScreen returns the url for the desktop image for the given screen. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1530635-desktopimageurlforscreen?language=objc for details. func (x gen_NSWorkspace) DesktopImageURLForScreen( screen NSScreenRef, ) core.NSURL { @@ -21130,8 +22249,9 @@ func (x gen_NSWorkspace) DesktopImageURLForScreen( } -// ExtendPowerOffBy Requests the system wait for the specified amount of time before turning off the power or logging out the user. -// https://developer.apple.com/documentation/appkit/nsworkspace/1533106-extendpoweroffby?language=objc +// ExtendPowerOffBy requests the system wait for the specified amount of time before turning off the power or logging out the user. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1533106-extendpoweroffby?language=objc for details. func (x gen_NSWorkspace) ExtendPowerOffBy( requested core.NSInteger, ) core.NSInteger { @@ -21144,8 +22264,9 @@ func (x gen_NSWorkspace) ExtendPowerOffBy( } -// HideOtherApplications Hides all applications other than the sender. -// https://developer.apple.com/documentation/appkit/nsworkspace/1530417-hideotherapplications?language=objc +// HideOtherApplications hides all applications other than the sender. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1530417-hideotherapplications?language=objc for details. func (x gen_NSWorkspace) HideOtherApplications() { C.NSWorkspace_inst_hideOtherApplications( unsafe.Pointer(x.Pointer()), @@ -21155,8 +22276,9 @@ func (x gen_NSWorkspace) HideOtherApplications() { } -// IconForFile Returns an image containing the icon for the specified file. -// https://developer.apple.com/documentation/appkit/nsworkspace/1528158-iconforfile?language=objc +// IconForFile returns an image containing the icon for the specified file. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1528158-iconforfile?language=objc for details. func (x gen_NSWorkspace) IconForFile( fullPath core.NSStringRef, ) NSImage { @@ -21169,8 +22291,9 @@ func (x gen_NSWorkspace) IconForFile( } -// IconForFiles Returns an image containing the icon for the specified files. -// https://developer.apple.com/documentation/appkit/nsworkspace/1525487-iconforfiles?language=objc +// IconForFiles returns an image containing the icon for the specified files. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1525487-iconforfiles?language=objc for details. func (x gen_NSWorkspace) IconForFiles( fullPaths core.NSArrayRef, ) NSImage { @@ -21183,8 +22306,9 @@ func (x gen_NSWorkspace) IconForFiles( } -// IsFilePackageAtPath Determines whether the specified path is a file package. -// https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc +// IsFilePackageAtPath determines whether the specified path is a file package. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1529991-isfilepackageatpath?language=objc for details. func (x gen_NSWorkspace) IsFilePackageAtPath( fullPath core.NSStringRef, ) bool { @@ -21197,8 +22321,9 @@ func (x gen_NSWorkspace) IsFilePackageAtPath( } -// NoteFileSystemChanged Informs the workspace object that the file system changed at the specified path. -// https://developer.apple.com/documentation/appkit/nsworkspace/1525376-notefilesystemchanged?language=objc +// NoteFileSystemChanged informs the workspace object that the file system changed at the specified path. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1525376-notefilesystemchanged?language=objc for details. func (x gen_NSWorkspace) NoteFileSystemChanged( path core.NSStringRef, ) { @@ -21211,8 +22336,9 @@ func (x gen_NSWorkspace) NoteFileSystemChanged( } -// OpenURL Opens the location at the specified URL. -// https://developer.apple.com/documentation/appkit/nsworkspace/1533463-openurl?language=objc +// OpenURL opens the location at the specified url. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1533463-openurl?language=objc for details. func (x gen_NSWorkspace) OpenURL( url core.NSURLRef, ) bool { @@ -21225,8 +22351,9 @@ func (x gen_NSWorkspace) OpenURL( } -// SelectFile_inFileViewerRootedAtPath Selects the file at the specified path. -// https://developer.apple.com/documentation/appkit/nsworkspace/1524399-selectfile?language=objc +// SelectFile_inFileViewerRootedAtPath selects the file at the specified path. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1524399-selectfile?language=objc for details. func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( fullPath core.NSStringRef, rootFullPath core.NSStringRef, @@ -21241,8 +22368,9 @@ func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( } -// ShowSearchResultsForQueryString Displays a Spotlight search results window in Finder for the specified query string. -// https://developer.apple.com/documentation/appkit/nsworkspace/1532131-showsearchresultsforquerystring?language=objc +// ShowSearchResultsForQueryString displays a spotlight search results window in finder for the specified query string. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1532131-showsearchresultsforquerystring?language=objc for details. func (x gen_NSWorkspace) ShowSearchResultsForQueryString( queryString core.NSStringRef, ) bool { @@ -21255,8 +22383,9 @@ func (x gen_NSWorkspace) ShowSearchResultsForQueryString( } -// UnmountAndEjectDeviceAtPath Unmounts and ejects the device at the specified path. -// https://developer.apple.com/documentation/appkit/nsworkspace/1527741-unmountandejectdeviceatpath?language=objc +// UnmountAndEjectDeviceAtPath unmounts and ejects the device at the specified path. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1527741-unmountandejectdeviceatpath?language=objc for details. func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( path core.NSStringRef, ) bool { @@ -21269,7 +22398,9 @@ func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( } -// Init_asNSWorkspace +// Init +// +// See for details. func (x gen_NSWorkspace) Init_asNSWorkspace() NSWorkspace { ret := C.NSWorkspace_inst_init( unsafe.Pointer(x.Pointer()), @@ -21279,8 +22410,9 @@ func (x gen_NSWorkspace) Init_asNSWorkspace() NSWorkspace { } -// FrontmostApplication Returns the frontmost app, which is the app that receives key events. -// https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc +// FrontmostApplication returns the frontmost app, which is the app that receives key events. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc for details. func (x gen_NSWorkspace) FrontmostApplication() NSRunningApplication { ret := C.NSWorkspace_inst_frontmostApplication( unsafe.Pointer(x.Pointer()), @@ -21290,8 +22422,9 @@ func (x gen_NSWorkspace) FrontmostApplication() NSRunningApplication { } -// RunningApplications Returns an array of running apps. -// https://developer.apple.com/documentation/appkit/nsworkspace/1534059-runningapplications?language=objc +// RunningApplications returns an array of running apps. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1534059-runningapplications?language=objc for details. func (x gen_NSWorkspace) RunningApplications() core.NSArray { ret := C.NSWorkspace_inst_runningApplications( unsafe.Pointer(x.Pointer()), @@ -21301,8 +22434,9 @@ func (x gen_NSWorkspace) RunningApplications() core.NSArray { } -// MenuBarOwningApplication Returns the app that owns the currently displayed menu bar. -// https://developer.apple.com/documentation/appkit/nsworkspace/1525848-menubarowningapplication?language=objc +// MenuBarOwningApplication returns the app that owns the currently displayed menu bar. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1525848-menubarowningapplication?language=objc for details. func (x gen_NSWorkspace) MenuBarOwningApplication() NSRunningApplication { ret := C.NSWorkspace_inst_menuBarOwningApplication( unsafe.Pointer(x.Pointer()), @@ -21312,8 +22446,9 @@ func (x gen_NSWorkspace) MenuBarOwningApplication() NSRunningApplication { } -// FileLabels The array of file labels, returned as strings. -// https://developer.apple.com/documentation/appkit/nsworkspace/1533953-filelabels?language=objc +// FileLabels returns the array of file labels, returned as strings. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1533953-filelabels?language=objc for details. func (x gen_NSWorkspace) FileLabels() core.NSArray { ret := C.NSWorkspace_inst_fileLabels( unsafe.Pointer(x.Pointer()), @@ -21323,8 +22458,9 @@ func (x gen_NSWorkspace) FileLabels() core.NSArray { } -// FileLabelColors The array of colors for the file labels. -// https://developer.apple.com/documentation/appkit/nsworkspace/1527553-filelabelcolors?language=objc +// FileLabelColors returns the array of colors for the file labels. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1527553-filelabelcolors?language=objc for details. func (x gen_NSWorkspace) FileLabelColors() core.NSArray { ret := C.NSWorkspace_inst_fileLabelColors( unsafe.Pointer(x.Pointer()), @@ -21334,8 +22470,9 @@ func (x gen_NSWorkspace) FileLabelColors() core.NSArray { } -// AccessibilityDisplayShouldDifferentiateWithoutColor A Boolean value that indicates whether the app avoids conveying information through color alone. -// https://developer.apple.com/documentation/appkit/nsworkspace/1524656-accessibilitydisplayshoulddiffer?language=objc +// AccessibilityDisplayShouldDifferentiateWithoutColor returns a boolean value that indicates whether the app avoids conveying information through color alone. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1524656-accessibilitydisplayshoulddiffer?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldDifferentiateWithoutColor( unsafe.Pointer(x.Pointer()), @@ -21345,8 +22482,9 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() b } -// AccessibilityDisplayShouldIncreaseContrast A Boolean value that indicates whether the app presents a high-contrast user interface. -// https://developer.apple.com/documentation/appkit/nsworkspace/1526290-accessibilitydisplayshouldincrea?language=objc +// AccessibilityDisplayShouldIncreaseContrast returns a boolean value that indicates whether the app presents a high-contrast user interface. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1526290-accessibilitydisplayshouldincrea?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldIncreaseContrast( unsafe.Pointer(x.Pointer()), @@ -21356,8 +22494,9 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() bool { } -// AccessibilityDisplayShouldReduceTransparency A Boolean value that indicates whether the app avoids using semitransparent backgrounds. -// https://developer.apple.com/documentation/appkit/nsworkspace/1533006-accessibilitydisplayshouldreduce?language=objc +// AccessibilityDisplayShouldReduceTransparency returns a boolean value that indicates whether the app avoids using semitransparent backgrounds. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1533006-accessibilitydisplayshouldreduce?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldReduceTransparency( unsafe.Pointer(x.Pointer()), @@ -21367,8 +22506,9 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() bool { } -// AccessibilityDisplayShouldInvertColors A Boolean value that indicates whether the accessibility option to invert colors is in an enabled state. -// https://developer.apple.com/documentation/appkit/nsworkspace/1644068-accessibilitydisplayshouldinvert?language=objc +// AccessibilityDisplayShouldInvertColors returns a boolean value that indicates whether the accessibility option to invert colors is in an enabled state. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1644068-accessibilitydisplayshouldinvert?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldInvertColors( unsafe.Pointer(x.Pointer()), @@ -21378,8 +22518,9 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() bool { } -// AccessibilityDisplayShouldReduceMotion A Boolean value that indicates whether the accessibility option to reduce motion is in an enabled state. -// https://developer.apple.com/documentation/appkit/nsworkspace/1644069-accessibilitydisplayshouldreduce?language=objc +// AccessibilityDisplayShouldReduceMotion returns a boolean value that indicates whether the accessibility option to reduce motion is in an enabled state. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/1644069-accessibilitydisplayshouldreduce?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() bool { ret := C.NSWorkspace_inst_accessibilityDisplayShouldReduceMotion( unsafe.Pointer(x.Pointer()), @@ -21389,8 +22530,9 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() bool { } -// IsSwitchControlEnabled A Boolean value that indicates whether Switch Control is currently running. -// https://developer.apple.com/documentation/appkit/nsworkspace/2880322-switchcontrolenabled?language=objc +// IsSwitchControlEnabled returns a boolean value that indicates whether switch control is currently running. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/2880322-switchcontrolenabled?language=objc for details. func (x gen_NSWorkspace) IsSwitchControlEnabled() bool { ret := C.NSWorkspace_inst_isSwitchControlEnabled( unsafe.Pointer(x.Pointer()), @@ -21400,8 +22542,9 @@ func (x gen_NSWorkspace) IsSwitchControlEnabled() bool { } -// IsVoiceOverEnabled A Boolean value that indicates whether VoiceOver is currently running. -// https://developer.apple.com/documentation/appkit/nsworkspace/2880317-voiceoverenabled?language=objc +// IsVoiceOverEnabled returns a boolean value that indicates whether voiceover is currently running. +// +// See https://developer.apple.com/documentation/appkit/nsworkspace/2880317-voiceoverenabled?language=objc for details. func (x gen_NSWorkspace) IsVoiceOverEnabled() bool { ret := C.NSWorkspace_inst_isVoiceOverEnabled( unsafe.Pointer(x.Pointer()), @@ -21430,8 +22573,9 @@ func NSColor_fromRef(ref objc.Ref) NSColor { return NSColor_fromPointer(unsafe.Pointer(ref.Pointer())) } -// BlendedColorWithFraction_ofColor Creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. -// https://developer.apple.com/documentation/appkit/nscolor/1524689-blendedcolorwithfraction?language=objc +// BlendedColorWithFraction_ofColor creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1524689-blendedcolorwithfraction?language=objc for details. func (x gen_NSColor) BlendedColorWithFraction_ofColor( fraction core.CGFloat, color NSColorRef, @@ -21446,8 +22590,9 @@ func (x gen_NSColor) BlendedColorWithFraction_ofColor( } -// ColorWithAlphaComponent Creates a new color object that has the same color space and component values as the current color object, but the specified alpha component. -// https://developer.apple.com/documentation/appkit/nscolor/1526906-colorwithalphacomponent?language=objc +// ColorWithAlphaComponent creates a new color object that has the same color space and component values as the current color object, but the specified alpha component. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1526906-colorwithalphacomponent?language=objc for details. func (x gen_NSColor) ColorWithAlphaComponent( alpha core.CGFloat, ) NSColor { @@ -21460,8 +22605,9 @@ func (x gen_NSColor) ColorWithAlphaComponent( } -// DrawSwatchInRect Draws the current color in the specified rectangle. -// https://developer.apple.com/documentation/appkit/nscolor/1531770-drawswatchinrect?language=objc +// DrawSwatchInRect draws the current color in the specified rectangle. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1531770-drawswatchinrect?language=objc for details. func (x gen_NSColor) DrawSwatchInRect( rect core.NSRect, ) { @@ -21474,8 +22620,9 @@ func (x gen_NSColor) DrawSwatchInRect( } -// HighlightWithLevel Creates a new color object that represents a blend between the current color and the highlight color. -// https://developer.apple.com/documentation/appkit/nscolor/1533061-highlightwithlevel?language=objc +// HighlightWithLevel creates a new color object that represents a blend between the current color and the highlight color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1533061-highlightwithlevel?language=objc for details. func (x gen_NSColor) HighlightWithLevel( val core.CGFloat, ) NSColor { @@ -21488,8 +22635,9 @@ func (x gen_NSColor) HighlightWithLevel( } -// Set Sets the color of subsequent drawing to the color that the color object represents. -// https://developer.apple.com/documentation/appkit/nscolor/1527089-set?language=objc +// Set sets the color of subsequent drawing to the color that the color object represents. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1527089-set?language=objc for details. func (x gen_NSColor) Set() { C.NSColor_inst_set( unsafe.Pointer(x.Pointer()), @@ -21499,8 +22647,9 @@ func (x gen_NSColor) Set() { } -// SetFill Sets the fill color of subsequent drawing to the color object’s color. -// https://developer.apple.com/documentation/appkit/nscolor/1524755-setfill?language=objc +// SetFill sets the fill color of subsequent drawing to the color object’s color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1524755-setfill?language=objc for details. func (x gen_NSColor) SetFill() { C.NSColor_inst_setFill( unsafe.Pointer(x.Pointer()), @@ -21510,8 +22659,9 @@ func (x gen_NSColor) SetFill() { } -// SetStroke Sets the stroke color of subsequent drawing to the color object’s color. -// https://developer.apple.com/documentation/appkit/nscolor/1531019-setstroke?language=objc +// SetStroke sets the stroke color of subsequent drawing to the color object’s color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1531019-setstroke?language=objc for details. func (x gen_NSColor) SetStroke() { C.NSColor_inst_setStroke( unsafe.Pointer(x.Pointer()), @@ -21521,8 +22671,9 @@ func (x gen_NSColor) SetStroke() { } -// ShadowWithLevel Creates a new color object that represents a blend between the current color and the shadow color. -// https://developer.apple.com/documentation/appkit/nscolor/1528523-shadowwithlevel?language=objc +// ShadowWithLevel creates a new color object that represents a blend between the current color and the shadow color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1528523-shadowwithlevel?language=objc for details. func (x gen_NSColor) ShadowWithLevel( val core.CGFloat, ) NSColor { @@ -21535,8 +22686,9 @@ func (x gen_NSColor) ShadowWithLevel( } -// WriteToPasteboard Writes the color object’s data to the specified pasteboard. -// https://developer.apple.com/documentation/appkit/nscolor/1532199-writetopasteboard?language=objc +// WriteToPasteboard writes the color object’s data to the specified pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1532199-writetopasteboard?language=objc for details. func (x gen_NSColor) WriteToPasteboard( pasteBoard NSPasteboardRef, ) { @@ -21549,7 +22701,9 @@ func (x gen_NSColor) WriteToPasteboard( } -// Init_asNSColor +// Init +// +// See for details. func (x gen_NSColor) Init_asNSColor() NSColor { ret := C.NSColor_inst_init( unsafe.Pointer(x.Pointer()), @@ -21559,8 +22713,9 @@ func (x gen_NSColor) Init_asNSColor() NSColor { } -// NumberOfComponents The number of components in the color. -// https://developer.apple.com/documentation/appkit/nscolor/1531308-numberofcomponents?language=objc +// NumberOfComponents returns the number of components in the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1531308-numberofcomponents?language=objc for details. func (x gen_NSColor) NumberOfComponents() core.NSInteger { ret := C.NSColor_inst_numberOfComponents( unsafe.Pointer(x.Pointer()), @@ -21570,8 +22725,9 @@ func (x gen_NSColor) NumberOfComponents() core.NSInteger { } -// AlphaComponent The alpha (opacity) component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1532504-alphacomponent?language=objc +// AlphaComponent returns the alpha (opacity) component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1532504-alphacomponent?language=objc for details. func (x gen_NSColor) AlphaComponent() core.CGFloat { ret := C.NSColor_inst_alphaComponent( unsafe.Pointer(x.Pointer()), @@ -21581,8 +22737,9 @@ func (x gen_NSColor) AlphaComponent() core.CGFloat { } -// WhiteComponent The white component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1534051-whitecomponent?language=objc +// WhiteComponent returns the white component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1534051-whitecomponent?language=objc for details. func (x gen_NSColor) WhiteComponent() core.CGFloat { ret := C.NSColor_inst_whiteComponent( unsafe.Pointer(x.Pointer()), @@ -21592,8 +22749,9 @@ func (x gen_NSColor) WhiteComponent() core.CGFloat { } -// RedComponent The red component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1530483-redcomponent?language=objc +// RedComponent returns the red component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1530483-redcomponent?language=objc for details. func (x gen_NSColor) RedComponent() core.CGFloat { ret := C.NSColor_inst_redComponent( unsafe.Pointer(x.Pointer()), @@ -21603,8 +22761,9 @@ func (x gen_NSColor) RedComponent() core.CGFloat { } -// GreenComponent The green component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1525935-greencomponent?language=objc +// GreenComponent returns the green component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1525935-greencomponent?language=objc for details. func (x gen_NSColor) GreenComponent() core.CGFloat { ret := C.NSColor_inst_greenComponent( unsafe.Pointer(x.Pointer()), @@ -21614,8 +22773,9 @@ func (x gen_NSColor) GreenComponent() core.CGFloat { } -// BlueComponent The blue component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1534229-bluecomponent?language=objc +// BlueComponent returns the blue component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1534229-bluecomponent?language=objc for details. func (x gen_NSColor) BlueComponent() core.CGFloat { ret := C.NSColor_inst_blueComponent( unsafe.Pointer(x.Pointer()), @@ -21625,8 +22785,9 @@ func (x gen_NSColor) BlueComponent() core.CGFloat { } -// CyanComponent The cyan component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1528234-cyancomponent?language=objc +// CyanComponent returns the cyan component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1528234-cyancomponent?language=objc for details. func (x gen_NSColor) CyanComponent() core.CGFloat { ret := C.NSColor_inst_cyanComponent( unsafe.Pointer(x.Pointer()), @@ -21636,8 +22797,9 @@ func (x gen_NSColor) CyanComponent() core.CGFloat { } -// MagentaComponent The magenta component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1535560-magentacomponent?language=objc +// MagentaComponent returns the magenta component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1535560-magentacomponent?language=objc for details. func (x gen_NSColor) MagentaComponent() core.CGFloat { ret := C.NSColor_inst_magentaComponent( unsafe.Pointer(x.Pointer()), @@ -21647,8 +22809,9 @@ func (x gen_NSColor) MagentaComponent() core.CGFloat { } -// YellowComponent The yellow component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1531965-yellowcomponent?language=objc +// YellowComponent returns the yellow component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1531965-yellowcomponent?language=objc for details. func (x gen_NSColor) YellowComponent() core.CGFloat { ret := C.NSColor_inst_yellowComponent( unsafe.Pointer(x.Pointer()), @@ -21658,8 +22821,9 @@ func (x gen_NSColor) YellowComponent() core.CGFloat { } -// BlackComponent The black component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1526883-blackcomponent?language=objc +// BlackComponent returns the black component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1526883-blackcomponent?language=objc for details. func (x gen_NSColor) BlackComponent() core.CGFloat { ret := C.NSColor_inst_blackComponent( unsafe.Pointer(x.Pointer()), @@ -21669,8 +22833,9 @@ func (x gen_NSColor) BlackComponent() core.CGFloat { } -// HueComponent The hue component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1531780-huecomponent?language=objc +// HueComponent returns the hue component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1531780-huecomponent?language=objc for details. func (x gen_NSColor) HueComponent() core.CGFloat { ret := C.NSColor_inst_hueComponent( unsafe.Pointer(x.Pointer()), @@ -21680,8 +22845,9 @@ func (x gen_NSColor) HueComponent() core.CGFloat { } -// SaturationComponent The saturation component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1526326-saturationcomponent?language=objc +// SaturationComponent returns the saturation component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1526326-saturationcomponent?language=objc for details. func (x gen_NSColor) SaturationComponent() core.CGFloat { ret := C.NSColor_inst_saturationComponent( unsafe.Pointer(x.Pointer()), @@ -21691,8 +22857,9 @@ func (x gen_NSColor) SaturationComponent() core.CGFloat { } -// BrightnessComponent The brightness component value of the color. -// https://developer.apple.com/documentation/appkit/nscolor/1529355-brightnesscomponent?language=objc +// BrightnessComponent returns the brightness component value of the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1529355-brightnesscomponent?language=objc for details. func (x gen_NSColor) BrightnessComponent() core.CGFloat { ret := C.NSColor_inst_brightnessComponent( unsafe.Pointer(x.Pointer()), @@ -21702,8 +22869,9 @@ func (x gen_NSColor) BrightnessComponent() core.CGFloat { } -// LocalizedCatalogNameComponent The localized version of the catalog name containing the color. -// https://developer.apple.com/documentation/appkit/nscolor/1535351-localizedcatalognamecomponent?language=objc +// LocalizedCatalogNameComponent returns the localized version of the catalog name containing the color. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1535351-localizedcatalognamecomponent?language=objc for details. func (x gen_NSColor) LocalizedCatalogNameComponent() core.NSString { ret := C.NSColor_inst_localizedCatalogNameComponent( unsafe.Pointer(x.Pointer()), @@ -21713,8 +22881,9 @@ func (x gen_NSColor) LocalizedCatalogNameComponent() core.NSString { } -// LocalizedColorNameComponent The localized version of the color name. -// https://developer.apple.com/documentation/appkit/nscolor/1527286-localizedcolornamecomponent?language=objc +// LocalizedColorNameComponent returns the localized version of the color name. +// +// See https://developer.apple.com/documentation/appkit/nscolor/1527286-localizedcolornamecomponent?language=objc for details. func (x gen_NSColor) LocalizedColorNameComponent() core.NSString { ret := C.NSColor_inst_localizedColorNameComponent( unsafe.Pointer(x.Pointer()), @@ -21743,8 +22912,9 @@ func NSTextView_fromRef(ref objc.Ref) NSTextView { return NSTextView_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AlignJustified Applies full justification to selected paragraphs (or all text, if the receiver is a plain text object). -// https://developer.apple.com/documentation/appkit/nstextview/1449515-alignjustified?language=objc +// AlignJustified applies full justification to selected paragraphs (or all text, if the receiver is a plain text object). +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449515-alignjustified?language=objc for details. func (x gen_NSTextView) AlignJustified( sender objc.Ref, ) { @@ -21757,8 +22927,9 @@ func (x gen_NSTextView) AlignJustified( } -// BreakUndoCoalescing Informs the receiver that it should begin coalescing successive typing operations in a new undo grouping. -// https://developer.apple.com/documentation/appkit/nstextview/1449384-breakundocoalescing?language=objc +// BreakUndoCoalescing informs the receiver that it should begin coalescing successive typing operations in a new undo grouping. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449384-breakundocoalescing?language=objc for details. func (x gen_NSTextView) BreakUndoCoalescing() { C.NSTextView_inst_breakUndoCoalescing( unsafe.Pointer(x.Pointer()), @@ -21768,8 +22939,9 @@ func (x gen_NSTextView) BreakUndoCoalescing() { } -// ChangeAttributes Changes the attributes of the current selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449216-changeattributes?language=objc +// ChangeAttributes changes the attributes of the current selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449216-changeattributes?language=objc for details. func (x gen_NSTextView) ChangeAttributes( sender objc.Ref, ) { @@ -21782,8 +22954,9 @@ func (x gen_NSTextView) ChangeAttributes( } -// ChangeColor Sets the color of the selected text. -// https://developer.apple.com/documentation/appkit/nstextview/1449282-changecolor?language=objc +// ChangeColor sets the color of the selected text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449282-changecolor?language=objc for details. func (x gen_NSTextView) ChangeColor( sender objc.Ref, ) { @@ -21796,8 +22969,9 @@ func (x gen_NSTextView) ChangeColor( } -// ChangeDocumentBackgroundColor An action method used to set the background color. -// https://developer.apple.com/documentation/appkit/nstextview/1449475-changedocumentbackgroundcolor?language=objc +// ChangeDocumentBackgroundColor an action method used to set the background color. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449475-changedocumentbackgroundcolor?language=objc for details. func (x gen_NSTextView) ChangeDocumentBackgroundColor( sender objc.Ref, ) { @@ -21810,8 +22984,9 @@ func (x gen_NSTextView) ChangeDocumentBackgroundColor( } -// ChangeLayoutOrientation An action method that sets the layout orientation of the text. -// https://developer.apple.com/documentation/appkit/nstextview/1449286-changelayoutorientation?language=objc +// ChangeLayoutOrientation an action method that sets the layout orientation of the text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449286-changelayoutorientation?language=objc for details. func (x gen_NSTextView) ChangeLayoutOrientation( sender objc.Ref, ) { @@ -21824,8 +22999,9 @@ func (x gen_NSTextView) ChangeLayoutOrientation( } -// CharacterIndexForInsertionAtPoint Returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point. -// https://developer.apple.com/documentation/appkit/nstextview/1449505-characterindexforinsertionatpoin?language=objc +// CharacterIndexForInsertionAtPoint returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449505-characterindexforinsertionatpoin?language=objc for details. func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( point core.NSPoint, ) core.NSUInteger { @@ -21838,8 +23014,9 @@ func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( } -// CheckTextInDocument Performs the default text checking on the entire document. -// https://developer.apple.com/documentation/appkit/nstextview/1449440-checktextindocument?language=objc +// CheckTextInDocument performs the default text checking on the entire document. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449440-checktextindocument?language=objc for details. func (x gen_NSTextView) CheckTextInDocument( sender objc.Ref, ) { @@ -21852,8 +23029,9 @@ func (x gen_NSTextView) CheckTextInDocument( } -// CheckTextInSelection Performs the default text checking on the current selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449382-checktextinselection?language=objc +// CheckTextInSelection performs the default text checking on the current selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449382-checktextinselection?language=objc for details. func (x gen_NSTextView) CheckTextInSelection( sender objc.Ref, ) { @@ -21866,8 +23044,9 @@ func (x gen_NSTextView) CheckTextInSelection( } -// CleanUpAfterDragOperation Releases the drag information still existing after the dragging session has completed. -// https://developer.apple.com/documentation/appkit/nstextview/1449202-cleanupafterdragoperation?language=objc +// CleanUpAfterDragOperation releases the drag information still existing after the dragging session has completed. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449202-cleanupafterdragoperation?language=objc for details. func (x gen_NSTextView) CleanUpAfterDragOperation() { C.NSTextView_inst_cleanUpAfterDragOperation( unsafe.Pointer(x.Pointer()), @@ -21877,8 +23056,9 @@ func (x gen_NSTextView) CleanUpAfterDragOperation() { } -// ClickedOnLink_atIndex Causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. -// https://developer.apple.com/documentation/appkit/nstextview/1449497-clickedonlink?language=objc +// ClickedOnLink_atIndex causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449497-clickedonlink?language=objc for details. func (x gen_NSTextView) ClickedOnLink_atIndex( link objc.Ref, charIndex core.NSUInteger, @@ -21893,8 +23073,9 @@ func (x gen_NSTextView) ClickedOnLink_atIndex( } -// Complete Invokes completion in a text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449359-complete?language=objc +// Complete invokes completion in a text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449359-complete?language=objc for details. func (x gen_NSTextView) Complete( sender objc.Ref, ) { @@ -21907,8 +23088,9 @@ func (x gen_NSTextView) Complete( } -// DidChangeText Sends out necessary notifications when a text change completes. -// https://developer.apple.com/documentation/appkit/nstextview/1449296-didchangetext?language=objc +// DidChangeText sends out necessary notifications when a text change completes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449296-didchangetext?language=objc for details. func (x gen_NSTextView) DidChangeText() { C.NSTextView_inst_didChangeText( unsafe.Pointer(x.Pointer()), @@ -21918,8 +23100,9 @@ func (x gen_NSTextView) DidChangeText() { } -// DragSelectionWithEvent_offset_slideBack Begins dragging the current selected text range. -// https://developer.apple.com/documentation/appkit/nstextview/1449413-dragselectionwithevent?language=objc +// DragSelectionWithEvent_offset_slideBack begins dragging the current selected text range. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449413-dragselectionwithevent?language=objc for details. func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( event NSEventRef, mouseOffset core.NSSize, @@ -21936,8 +23119,9 @@ func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( } -// DrawInsertionPointInRect_color_turnedOn Draws or erases the insertion point. -// https://developer.apple.com/documentation/appkit/nstextview/1449232-drawinsertionpointinrect?language=objc +// DrawInsertionPointInRect_color_turnedOn draws or erases the insertion point. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449232-drawinsertionpointinrect?language=objc for details. func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( rect core.NSRect, color NSColorRef, @@ -21954,8 +23138,9 @@ func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( } -// DrawViewBackgroundInRect Draws the background of the text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449135-drawviewbackgroundinrect?language=objc +// DrawViewBackgroundInRect draws the background of the text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449135-drawviewbackgroundinrect?language=objc for details. func (x gen_NSTextView) DrawViewBackgroundInRect( rect core.NSRect, ) { @@ -21968,8 +23153,9 @@ func (x gen_NSTextView) DrawViewBackgroundInRect( } -// InitWithFrame_asNSTextView Initializes a text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449262-initwithframe?language=objc +// InitWithFrame initializes a text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449262-initwithframe?language=objc for details. func (x gen_NSTextView) InitWithFrame_asNSTextView( frameRect core.NSRect, ) NSTextView { @@ -21982,8 +23168,9 @@ func (x gen_NSTextView) InitWithFrame_asNSTextView( } -// InitWithFrame_textContainer_asNSTextView Initializes a text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449347-initwithframe?language=objc +// InitWithFrame_textContainer initializes a text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449347-initwithframe?language=objc for details. func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( frameRect core.NSRect, container NSTextContainerRef, @@ -21998,8 +23185,9 @@ func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( } -// InvalidateTextContainerOrigin Invalidates the calculated origin of the text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449546-invalidatetextcontainerorigin?language=objc +// InvalidateTextContainerOrigin invalidates the calculated origin of the text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449546-invalidatetextcontainerorigin?language=objc for details. func (x gen_NSTextView) InvalidateTextContainerOrigin() { C.NSTextView_inst_invalidateTextContainerOrigin( unsafe.Pointer(x.Pointer()), @@ -22009,8 +23197,9 @@ func (x gen_NSTextView) InvalidateTextContainerOrigin() { } -// LoosenKerning Increases the space between glyphs in the receiver’s selection, or in all text if the receiver is a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449183-loosenkerning?language=objc +// LoosenKerning increases the space between glyphs in the receiver’s selection, or in all text if the receiver is a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449183-loosenkerning?language=objc for details. func (x gen_NSTextView) LoosenKerning( sender objc.Ref, ) { @@ -22023,8 +23212,9 @@ func (x gen_NSTextView) LoosenKerning( } -// LowerBaseline Lowers the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449289-lowerbaseline?language=objc +// LowerBaseline lowers the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449289-lowerbaseline?language=objc for details. func (x gen_NSTextView) LowerBaseline( sender objc.Ref, ) { @@ -22037,8 +23227,9 @@ func (x gen_NSTextView) LowerBaseline( } -// OrderFrontLinkPanel Brings forward a panel allowing the user to manipulate links in the text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449238-orderfrontlinkpanel?language=objc +// OrderFrontLinkPanel brings forward a panel allowing the user to manipulate links in the text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449238-orderfrontlinkpanel?language=objc for details. func (x gen_NSTextView) OrderFrontLinkPanel( sender objc.Ref, ) { @@ -22051,8 +23242,9 @@ func (x gen_NSTextView) OrderFrontLinkPanel( } -// OrderFrontListPanel Brings forward a panel allowing the user to manipulate text lists in the text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449349-orderfrontlistpanel?language=objc +// OrderFrontListPanel brings forward a panel allowing the user to manipulate text lists in the text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449349-orderfrontlistpanel?language=objc for details. func (x gen_NSTextView) OrderFrontListPanel( sender objc.Ref, ) { @@ -22065,8 +23257,9 @@ func (x gen_NSTextView) OrderFrontListPanel( } -// OrderFrontSharingServicePicker Creates and displays a new instance of the sharing service picker. -// https://developer.apple.com/documentation/appkit/nstextview/1449150-orderfrontsharingservicepicker?language=objc +// OrderFrontSharingServicePicker creates and displays a new instance of the sharing service picker. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449150-orderfrontsharingservicepicker?language=objc for details. func (x gen_NSTextView) OrderFrontSharingServicePicker( sender objc.Ref, ) { @@ -22079,8 +23272,9 @@ func (x gen_NSTextView) OrderFrontSharingServicePicker( } -// OrderFrontSpacingPanel Brings forward a panel allowing the user to manipulate text line heights, interline spacing, and paragraph spacing, in the text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449438-orderfrontspacingpanel?language=objc +// OrderFrontSpacingPanel brings forward a panel allowing the user to manipulate text line heights, interline spacing, and paragraph spacing, in the text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449438-orderfrontspacingpanel?language=objc for details. func (x gen_NSTextView) OrderFrontSpacingPanel( sender objc.Ref, ) { @@ -22093,8 +23287,9 @@ func (x gen_NSTextView) OrderFrontSpacingPanel( } -// OrderFrontSubstitutionsPanel Brings forward a panel allowing the user to specify string substitutions in the text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449327-orderfrontsubstitutionspanel?language=objc +// OrderFrontSubstitutionsPanel brings forward a panel allowing the user to specify string substitutions in the text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449327-orderfrontsubstitutionspanel?language=objc for details. func (x gen_NSTextView) OrderFrontSubstitutionsPanel( sender objc.Ref, ) { @@ -22107,8 +23302,9 @@ func (x gen_NSTextView) OrderFrontSubstitutionsPanel( } -// OrderFrontTablePanel Brings forward a panel allowing the user to manipulate text tables in the text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449442-orderfronttablepanel?language=objc +// OrderFrontTablePanel brings forward a panel allowing the user to manipulate text tables in the text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449442-orderfronttablepanel?language=objc for details. func (x gen_NSTextView) OrderFrontTablePanel( sender objc.Ref, ) { @@ -22121,8 +23317,9 @@ func (x gen_NSTextView) OrderFrontTablePanel( } -// Outline Adds the outline attribute to the selected text attributes if absent; removes the attribute if present. -// https://developer.apple.com/documentation/appkit/nstextview/1449386-outline?language=objc +// Outline adds the outline attribute to the selected text attributes if absent; removes the attribute if present. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449386-outline?language=objc for details. func (x gen_NSTextView) Outline( sender objc.Ref, ) { @@ -22135,8 +23332,9 @@ func (x gen_NSTextView) Outline( } -// PasteAsPlainText Inserts the contents of the pasteboard into the receiver’s text as plain text. -// https://developer.apple.com/documentation/appkit/nstextview/1449250-pasteasplaintext?language=objc +// PasteAsPlainText inserts the contents of the pasteboard into the receiver’s text as plain text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449250-pasteasplaintext?language=objc for details. func (x gen_NSTextView) PasteAsPlainText( sender objc.Ref, ) { @@ -22149,8 +23347,9 @@ func (x gen_NSTextView) PasteAsPlainText( } -// PasteAsRichText This action method inserts the contents of the pasteboard into the receiver’s text as rich text, maintaining its attributes. -// https://developer.apple.com/documentation/appkit/nstextview/1449395-pasteasrichtext?language=objc +// PasteAsRichText this action method inserts the contents of the pasteboard into the receiver’s text as rich text, maintaining its attributes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449395-pasteasrichtext?language=objc for details. func (x gen_NSTextView) PasteAsRichText( sender objc.Ref, ) { @@ -22163,8 +23362,9 @@ func (x gen_NSTextView) PasteAsRichText( } -// PerformFindPanelAction Performs a find panel action specified by the sender's tag. -// https://developer.apple.com/documentation/appkit/nstextview/1449525-performfindpanelaction?language=objc +// PerformFindPanelAction performs a find panel action specified by the sender's tag. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449525-performfindpanelaction?language=objc for details. func (x gen_NSTextView) PerformFindPanelAction( sender objc.Ref, ) { @@ -22177,8 +23377,9 @@ func (x gen_NSTextView) PerformFindPanelAction( } -// QuickLookPreviewableItemsInRanges Returns an array of URLs for items that can be displayed by QuickLook in the specified ranges. -// https://developer.apple.com/documentation/appkit/nstextview/1449426-quicklookpreviewableitemsinrange?language=objc +// QuickLookPreviewableItemsInRanges returns an array of urls for items that can be displayed by quicklook in the specified ranges. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449426-quicklookpreviewableitemsinrange?language=objc for details. func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( ranges core.NSArrayRef, ) core.NSArray { @@ -22191,8 +23392,9 @@ func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( } -// RaiseBaseline Raises the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449198-raisebaseline?language=objc +// RaiseBaseline raises the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449198-raisebaseline?language=objc for details. func (x gen_NSTextView) RaiseBaseline( sender objc.Ref, ) { @@ -22205,8 +23407,9 @@ func (x gen_NSTextView) RaiseBaseline( } -// ReadSelectionFromPasteboard Reads the text view’s preferred type of data from the specified pasteboard. -// https://developer.apple.com/documentation/appkit/nstextview/1449469-readselectionfrompasteboard?language=objc +// ReadSelectionFromPasteboard reads the text view’s preferred type of data from the specified pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449469-readselectionfrompasteboard?language=objc for details. func (x gen_NSTextView) ReadSelectionFromPasteboard( pboard NSPasteboardRef, ) bool { @@ -22219,8 +23422,9 @@ func (x gen_NSTextView) ReadSelectionFromPasteboard( } -// ReplaceTextContainer Replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact. -// https://developer.apple.com/documentation/appkit/nstextview/1449479-replacetextcontainer?language=objc +// ReplaceTextContainer replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449479-replacetextcontainer?language=objc for details. func (x gen_NSTextView) ReplaceTextContainer( newContainer NSTextContainerRef, ) { @@ -22233,8 +23437,9 @@ func (x gen_NSTextView) ReplaceTextContainer( } -// SetConstrainedFrameSize Attempts to set the frame size as if by user action. -// https://developer.apple.com/documentation/appkit/nstextview/1449230-setconstrainedframesize?language=objc +// SetConstrainedFrameSize attempts to set the frame size as if by user action. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449230-setconstrainedframesize?language=objc for details. func (x gen_NSTextView) SetConstrainedFrameSize( desiredSize core.NSSize, ) { @@ -22247,8 +23452,9 @@ func (x gen_NSTextView) SetConstrainedFrameSize( } -// SetNeedsDisplayInRect_avoidAdditionalLayout Marks the receiver as requiring display. -// https://developer.apple.com/documentation/appkit/nstextview/1449279-setneedsdisplayinrect?language=objc +// SetNeedsDisplayInRect_avoidAdditionalLayout marks the receiver as requiring display. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449279-setneedsdisplayinrect?language=objc for details. func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( rect core.NSRect, flag bool, @@ -22263,8 +23469,9 @@ func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( } -// ShouldChangeTextInRanges_replacementStrings Initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. -// https://developer.apple.com/documentation/appkit/nstextview/1449311-shouldchangetextinranges?language=objc +// ShouldChangeTextInRanges_replacementStrings initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449311-shouldchangetextinranges?language=objc for details. func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( affectedRanges core.NSArrayRef, replacementStrings core.NSArrayRef, @@ -22279,8 +23486,9 @@ func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( } -// StartSpeaking Speaks the selected text, or all text if no selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449519-startspeaking?language=objc +// StartSpeaking speaks the selected text, or all text if no selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449519-startspeaking?language=objc for details. func (x gen_NSTextView) StartSpeaking( sender objc.Ref, ) { @@ -22293,8 +23501,9 @@ func (x gen_NSTextView) StartSpeaking( } -// StopSpeaking Stops the speaking of text. -// https://developer.apple.com/documentation/appkit/nstextview/1449172-stopspeaking?language=objc +// StopSpeaking stops the speaking of text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449172-stopspeaking?language=objc for details. func (x gen_NSTextView) StopSpeaking( sender objc.Ref, ) { @@ -22307,8 +23516,9 @@ func (x gen_NSTextView) StopSpeaking( } -// TightenKerning Decreases the space between glyphs in the receiver’s selection, or for all glyphs if the receiver is a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449137-tightenkerning?language=objc +// TightenKerning decreases the space between glyphs in the receiver’s selection, or for all glyphs if the receiver is a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449137-tightenkerning?language=objc for details. func (x gen_NSTextView) TightenKerning( sender objc.Ref, ) { @@ -22321,8 +23531,9 @@ func (x gen_NSTextView) TightenKerning( } -// ToggleAutomaticDashSubstitution Toggles the state of the automatic dash substitution. -// https://developer.apple.com/documentation/appkit/nstextview/1449305-toggleautomaticdashsubstitution?language=objc +// ToggleAutomaticDashSubstitution toggles the state of the automatic dash substitution. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449305-toggleautomaticdashsubstitution?language=objc for details. func (x gen_NSTextView) ToggleAutomaticDashSubstitution( sender objc.Ref, ) { @@ -22335,8 +23546,9 @@ func (x gen_NSTextView) ToggleAutomaticDashSubstitution( } -// ToggleAutomaticDataDetection Toggles the state of the automatic data detection. -// https://developer.apple.com/documentation/appkit/nstextview/1449499-toggleautomaticdatadetection?language=objc +// ToggleAutomaticDataDetection toggles the state of the automatic data detection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449499-toggleautomaticdatadetection?language=objc for details. func (x gen_NSTextView) ToggleAutomaticDataDetection( sender objc.Ref, ) { @@ -22349,8 +23561,9 @@ func (x gen_NSTextView) ToggleAutomaticDataDetection( } -// ToggleAutomaticLinkDetection Changes the state of automatic link detection from enabled to disabled and vice versa. -// https://developer.apple.com/documentation/appkit/nstextview/1449353-toggleautomaticlinkdetection?language=objc +// ToggleAutomaticLinkDetection changes the state of automatic link detection from enabled to disabled and vice versa. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449353-toggleautomaticlinkdetection?language=objc for details. func (x gen_NSTextView) ToggleAutomaticLinkDetection( sender objc.Ref, ) { @@ -22363,8 +23576,9 @@ func (x gen_NSTextView) ToggleAutomaticLinkDetection( } -// ToggleAutomaticQuoteSubstitution Changes the state of automatic quotation mark substitution from enabled to disabled and vice versa. -// https://developer.apple.com/documentation/appkit/nstextview/1449444-toggleautomaticquotesubstitution?language=objc +// ToggleAutomaticQuoteSubstitution changes the state of automatic quotation mark substitution from enabled to disabled and vice versa. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449444-toggleautomaticquotesubstitution?language=objc for details. func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( sender objc.Ref, ) { @@ -22377,8 +23591,9 @@ func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( } -// ToggleAutomaticSpellingCorrection Toggles the state of the automatic spelling correction. -// https://developer.apple.com/documentation/appkit/nstextview/1449178-toggleautomaticspellingcorrectio?language=objc +// ToggleAutomaticSpellingCorrection toggles the state of the automatic spelling correction. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449178-toggleautomaticspellingcorrectio?language=objc for details. func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( sender objc.Ref, ) { @@ -22392,7 +23607,8 @@ func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( } // ToggleAutomaticTextCompletion -// https://developer.apple.com/documentation/appkit/nstextview/2544841-toggleautomatictextcompletion?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544841-toggleautomatictextcompletion?language=objc for details. func (x gen_NSTextView) ToggleAutomaticTextCompletion( sender objc.Ref, ) { @@ -22405,8 +23621,9 @@ func (x gen_NSTextView) ToggleAutomaticTextCompletion( } -// ToggleAutomaticTextReplacement Toggles the state of the automatic text replacement. -// https://developer.apple.com/documentation/appkit/nstextview/1449200-toggleautomatictextreplacement?language=objc +// ToggleAutomaticTextReplacement toggles the state of the automatic text replacement. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449200-toggleautomatictextreplacement?language=objc for details. func (x gen_NSTextView) ToggleAutomaticTextReplacement( sender objc.Ref, ) { @@ -22419,8 +23636,9 @@ func (x gen_NSTextView) ToggleAutomaticTextReplacement( } -// ToggleContinuousSpellChecking Toggles whether continuous spell checking is enabled for the receiver. -// https://developer.apple.com/documentation/appkit/nstextview/1449471-togglecontinuousspellchecking?language=objc +// ToggleContinuousSpellChecking toggles whether continuous spell checking is enabled for the receiver. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449471-togglecontinuousspellchecking?language=objc for details. func (x gen_NSTextView) ToggleContinuousSpellChecking( sender objc.Ref, ) { @@ -22433,8 +23651,9 @@ func (x gen_NSTextView) ToggleContinuousSpellChecking( } -// ToggleGrammarChecking Changes the state of grammar checking from enabled to disabled and vice versa. -// https://developer.apple.com/documentation/appkit/nstextview/1449393-togglegrammarchecking?language=objc +// ToggleGrammarChecking changes the state of grammar checking from enabled to disabled and vice versa. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449393-togglegrammarchecking?language=objc for details. func (x gen_NSTextView) ToggleGrammarChecking( sender objc.Ref, ) { @@ -22447,8 +23666,9 @@ func (x gen_NSTextView) ToggleGrammarChecking( } -// ToggleQuickLookPreviewPanel An action message that toggles the visibility state of the Quick Look preview panel. -// https://developer.apple.com/documentation/appkit/nstextview/1449415-togglequicklookpreviewpanel?language=objc +// ToggleQuickLookPreviewPanel an action message that toggles the visibility state of the quick look preview panel. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449415-togglequicklookpreviewpanel?language=objc for details. func (x gen_NSTextView) ToggleQuickLookPreviewPanel( sender objc.Ref, ) { @@ -22461,8 +23681,9 @@ func (x gen_NSTextView) ToggleQuickLookPreviewPanel( } -// ToggleSmartInsertDelete Changes the state of smart insert and delete from enabled to disabled and vice versa. -// https://developer.apple.com/documentation/appkit/nstextview/1449273-togglesmartinsertdelete?language=objc +// ToggleSmartInsertDelete changes the state of smart insert and delete from enabled to disabled and vice versa. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449273-togglesmartinsertdelete?language=objc for details. func (x gen_NSTextView) ToggleSmartInsertDelete( sender objc.Ref, ) { @@ -22475,8 +23696,9 @@ func (x gen_NSTextView) ToggleSmartInsertDelete( } -// TurnOffKerning Sets the receiver to use nominal glyph spacing for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449464-turnoffkerning?language=objc +// TurnOffKerning sets the receiver to use nominal glyph spacing for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449464-turnoffkerning?language=objc for details. func (x gen_NSTextView) TurnOffKerning( sender objc.Ref, ) { @@ -22489,8 +23711,9 @@ func (x gen_NSTextView) TurnOffKerning( } -// TurnOffLigatures Sets the receiver to use only required ligatures when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449436-turnoffligatures?language=objc +// TurnOffLigatures sets the receiver to use only required ligatures when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449436-turnoffligatures?language=objc for details. func (x gen_NSTextView) TurnOffLigatures( sender objc.Ref, ) { @@ -22504,7 +23727,8 @@ func (x gen_NSTextView) TurnOffLigatures( } // UpdateCandidates -// https://developer.apple.com/documentation/appkit/nstextview/2544833-updatecandidates?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544833-updatecandidates?language=objc for details. func (x gen_NSTextView) UpdateCandidates() { C.NSTextView_inst_updateCandidates( unsafe.Pointer(x.Pointer()), @@ -22514,8 +23738,9 @@ func (x gen_NSTextView) UpdateCandidates() { } -// UpdateDragTypeRegistration Updates the acceptable drag types of all text views associated with the receiver's layout manager. -// https://developer.apple.com/documentation/appkit/nstextview/1449181-updatedragtyperegistration?language=objc +// UpdateDragTypeRegistration updates the acceptable drag types of all text views associated with the receiver's layout manager. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449181-updatedragtyperegistration?language=objc for details. func (x gen_NSTextView) UpdateDragTypeRegistration() { C.NSTextView_inst_updateDragTypeRegistration( unsafe.Pointer(x.Pointer()), @@ -22525,8 +23750,9 @@ func (x gen_NSTextView) UpdateDragTypeRegistration() { } -// UpdateFontPanel Updates the Font panel to contain the font attributes of the selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449401-updatefontpanel?language=objc +// UpdateFontPanel updates the font panel to contain the font attributes of the selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449401-updatefontpanel?language=objc for details. func (x gen_NSTextView) UpdateFontPanel() { C.NSTextView_inst_updateFontPanel( unsafe.Pointer(x.Pointer()), @@ -22536,8 +23762,9 @@ func (x gen_NSTextView) UpdateFontPanel() { } -// UpdateInsertionPointStateAndRestartTimer Updates the insertion point’s location and optionally restarts the blinking cursor timer. -// https://developer.apple.com/documentation/appkit/nstextview/1449268-updateinsertionpointstateandrest?language=objc +// UpdateInsertionPointStateAndRestartTimer updates the insertion point’s location and optionally restarts the blinking cursor timer. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449268-updateinsertionpointstateandrest?language=objc for details. func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( restartFlag bool, ) { @@ -22550,8 +23777,9 @@ func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( } -// UpdateQuickLookPreviewPanel Notifies the QuickLook panel that an update may be required. -// https://developer.apple.com/documentation/appkit/nstextview/1449409-updatequicklookpreviewpanel?language=objc +// UpdateQuickLookPreviewPanel notifies the quicklook panel that an update may be required. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449409-updatequicklookpreviewpanel?language=objc for details. func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { C.NSTextView_inst_updateQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), @@ -22561,8 +23789,9 @@ func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { } -// UpdateRuler Updates the ruler view in the receiver’s enclosing scroll view to reflect the selection’s paragraph and marker attributes. -// https://developer.apple.com/documentation/appkit/nstextview/1449323-updateruler?language=objc +// UpdateRuler updates the ruler view in the receiver’s enclosing scroll view to reflect the selection’s paragraph and marker attributes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449323-updateruler?language=objc for details. func (x gen_NSTextView) UpdateRuler() { C.NSTextView_inst_updateRuler( unsafe.Pointer(x.Pointer()), @@ -22573,7 +23802,8 @@ func (x gen_NSTextView) UpdateRuler() { } // UpdateTextTouchBarItems -// https://developer.apple.com/documentation/appkit/nstextview/2544676-updatetexttouchbaritems?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544676-updatetexttouchbaritems?language=objc for details. func (x gen_NSTextView) UpdateTextTouchBarItems() { C.NSTextView_inst_updateTextTouchBarItems( unsafe.Pointer(x.Pointer()), @@ -22584,7 +23814,8 @@ func (x gen_NSTextView) UpdateTextTouchBarItems() { } // UpdateTouchBarItemIdentifiers -// https://developer.apple.com/documentation/appkit/nstextview/2544834-updatetouchbaritemidentifiers?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544834-updatetouchbaritemidentifiers?language=objc for details. func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { C.NSTextView_inst_updateTouchBarItemIdentifiers( unsafe.Pointer(x.Pointer()), @@ -22594,8 +23825,9 @@ func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { } -// UseAllLigatures Sets the receiver to use all ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449213-useallligatures?language=objc +// UseAllLigatures sets the receiver to use all ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449213-useallligatures?language=objc for details. func (x gen_NSTextView) UseAllLigatures( sender objc.Ref, ) { @@ -22608,8 +23840,9 @@ func (x gen_NSTextView) UseAllLigatures( } -// UseStandardKerning Set the receiver to use pair kerning data for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449491-usestandardkerning?language=objc +// UseStandardKerning set the receiver to use pair kerning data for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449491-usestandardkerning?language=objc for details. func (x gen_NSTextView) UseStandardKerning( sender objc.Ref, ) { @@ -22622,8 +23855,9 @@ func (x gen_NSTextView) UseStandardKerning( } -// UseStandardLigatures Sets the receiver to use the standard ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449144-usestandardligatures?language=objc +// UseStandardLigatures sets the receiver to use the standard ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449144-usestandardligatures?language=objc for details. func (x gen_NSTextView) UseStandardLigatures( sender objc.Ref, ) { @@ -22636,8 +23870,9 @@ func (x gen_NSTextView) UseStandardLigatures( } -// WriteSelectionToPasteboard_types Writes the current selection to the specified pasteboard under each given type. -// https://developer.apple.com/documentation/appkit/nstextview/1449277-writeselectiontopasteboard?language=objc +// WriteSelectionToPasteboard_types writes the current selection to the specified pasteboard under each given type. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449277-writeselectiontopasteboard?language=objc for details. func (x gen_NSTextView) WriteSelectionToPasteboard_types( pboard NSPasteboardRef, types core.NSArrayRef, @@ -22652,7 +23887,9 @@ func (x gen_NSTextView) WriteSelectionToPasteboard_types( } -// Init_asNSTextView +// Init +// +// See for details. func (x gen_NSTextView) Init_asNSTextView() NSTextView { ret := C.NSTextView_inst_init( unsafe.Pointer(x.Pointer()), @@ -22662,8 +23899,9 @@ func (x gen_NSTextView) Init_asNSTextView() NSTextView { } -// Delegate The delegate for all text views sharing the receiver’s layout manager. -// https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc +// Delegate returns the delegate for all text views sharing the receiver’s layout manager. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc for details. func (x gen_NSTextView) Delegate() objc.Object { ret := C.NSTextView_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -22673,8 +23911,9 @@ func (x gen_NSTextView) Delegate() objc.Object { } -// SetDelegate The delegate for all text views sharing the receiver’s layout manager. -// https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc +// SetDelegate returns the delegate for all text views sharing the receiver’s layout manager. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc for details. func (x gen_NSTextView) SetDelegate( value objc.Ref, ) { @@ -22687,8 +23926,9 @@ func (x gen_NSTextView) SetDelegate( } -// TextContainer The receiver’s text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc +// TextContainer returns the receiver’s text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc for details. func (x gen_NSTextView) TextContainer() NSTextContainer { ret := C.NSTextView_inst_textContainer( unsafe.Pointer(x.Pointer()), @@ -22698,8 +23938,9 @@ func (x gen_NSTextView) TextContainer() NSTextContainer { } -// SetTextContainer The receiver’s text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc +// SetTextContainer returns the receiver’s text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc for details. func (x gen_NSTextView) SetTextContainer( value NSTextContainerRef, ) { @@ -22712,8 +23953,9 @@ func (x gen_NSTextView) SetTextContainer( } -// TextContainerInset The empty space the receiver leaves around its associated text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc +// TextContainerInset returns the empty space the receiver leaves around its associated text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc for details. func (x gen_NSTextView) TextContainerInset() core.NSSize { ret := C.NSTextView_inst_textContainerInset( unsafe.Pointer(x.Pointer()), @@ -22723,8 +23965,9 @@ func (x gen_NSTextView) TextContainerInset() core.NSSize { } -// SetTextContainerInset The empty space the receiver leaves around its associated text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc +// SetTextContainerInset returns the empty space the receiver leaves around its associated text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc for details. func (x gen_NSTextView) SetTextContainerInset( value core.NSSize, ) { @@ -22737,8 +23980,9 @@ func (x gen_NSTextView) SetTextContainerInset( } -// TextContainerOrigin The origin of the receiver’s text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449477-textcontainerorigin?language=objc +// TextContainerOrigin returns the origin of the receiver’s text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449477-textcontainerorigin?language=objc for details. func (x gen_NSTextView) TextContainerOrigin() core.NSPoint { ret := C.NSTextView_inst_textContainerOrigin( unsafe.Pointer(x.Pointer()), @@ -22748,8 +23992,9 @@ func (x gen_NSTextView) TextContainerOrigin() core.NSPoint { } -// LayoutManager The layout manager that lays out text for the receiver’s text container. -// https://developer.apple.com/documentation/appkit/nstextview/1449148-layoutmanager?language=objc +// LayoutManager returns the layout manager that lays out text for the receiver’s text container. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449148-layoutmanager?language=objc for details. func (x gen_NSTextView) LayoutManager() NSLayoutManager { ret := C.NSTextView_inst_layoutManager( unsafe.Pointer(x.Pointer()), @@ -22759,8 +24004,9 @@ func (x gen_NSTextView) LayoutManager() NSLayoutManager { } -// BackgroundColor The receiver’s background color. -// https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc +// BackgroundColor returns the receiver’s background color. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc for details. func (x gen_NSTextView) BackgroundColor() NSColor { ret := C.NSTextView_inst_backgroundColor( unsafe.Pointer(x.Pointer()), @@ -22770,8 +24016,9 @@ func (x gen_NSTextView) BackgroundColor() NSColor { } -// SetBackgroundColor The receiver’s background color. -// https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc +// SetBackgroundColor returns the receiver’s background color. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc for details. func (x gen_NSTextView) SetBackgroundColor( value NSColorRef, ) { @@ -22784,8 +24031,9 @@ func (x gen_NSTextView) SetBackgroundColor( } -// DrawsBackground A Boolean value that indicates whether the receiver draws its background. -// https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc +// DrawsBackground returns a boolean value that indicates whether the receiver draws its background. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc for details. func (x gen_NSTextView) DrawsBackground() bool { ret := C.NSTextView_inst_drawsBackground( unsafe.Pointer(x.Pointer()), @@ -22795,8 +24043,9 @@ func (x gen_NSTextView) DrawsBackground() bool { } -// SetDrawsBackground A Boolean value that indicates whether the receiver draws its background. -// https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc +// SetDrawsBackground returns a boolean value that indicates whether the receiver draws its background. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc for details. func (x gen_NSTextView) SetDrawsBackground( value bool, ) { @@ -22809,8 +24058,9 @@ func (x gen_NSTextView) SetDrawsBackground( } -// AllowsDocumentBackgroundColorChange A Boolean value that indicates whether the receiver allows its background color to change. -// https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc +// AllowsDocumentBackgroundColorChange returns a boolean value that indicates whether the receiver allows its background color to change. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc for details. func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() bool { ret := C.NSTextView_inst_allowsDocumentBackgroundColorChange( unsafe.Pointer(x.Pointer()), @@ -22820,8 +24070,9 @@ func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() bool { } -// SetAllowsDocumentBackgroundColorChange A Boolean value that indicates whether the receiver allows its background color to change. -// https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc +// SetAllowsDocumentBackgroundColorChange returns a boolean value that indicates whether the receiver allows its background color to change. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc for details. func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( value bool, ) { @@ -22834,8 +24085,9 @@ func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( } -// ShouldDrawInsertionPoint A Boolean value that determines whether the receiver should draw its insertion point. -// https://developer.apple.com/documentation/appkit/nstextview/1449152-shoulddrawinsertionpoint?language=objc +// ShouldDrawInsertionPoint returns a boolean value that determines whether the receiver should draw its insertion point. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449152-shoulddrawinsertionpoint?language=objc for details. func (x gen_NSTextView) ShouldDrawInsertionPoint() bool { ret := C.NSTextView_inst_shouldDrawInsertionPoint( unsafe.Pointer(x.Pointer()), @@ -22845,8 +24097,9 @@ func (x gen_NSTextView) ShouldDrawInsertionPoint() bool { } -// AllowedInputSourceLocales An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. -// https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc +// AllowedInputSourceLocales an array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc for details. func (x gen_NSTextView) AllowedInputSourceLocales() core.NSArray { ret := C.NSTextView_inst_allowedInputSourceLocales( unsafe.Pointer(x.Pointer()), @@ -22856,8 +24109,9 @@ func (x gen_NSTextView) AllowedInputSourceLocales() core.NSArray { } -// SetAllowedInputSourceLocales An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. -// https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc +// SetAllowedInputSourceLocales an array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc for details. func (x gen_NSTextView) SetAllowedInputSourceLocales( value core.NSArrayRef, ) { @@ -22870,8 +24124,9 @@ func (x gen_NSTextView) SetAllowedInputSourceLocales( } -// AllowsUndo A Boolean value that indicates whether the receiver allows undo. -// https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc +// AllowsUndo returns a boolean value that indicates whether the receiver allows undo. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc for details. func (x gen_NSTextView) AllowsUndo() bool { ret := C.NSTextView_inst_allowsUndo( unsafe.Pointer(x.Pointer()), @@ -22881,8 +24136,9 @@ func (x gen_NSTextView) AllowsUndo() bool { } -// SetAllowsUndo A Boolean value that indicates whether the receiver allows undo. -// https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc +// SetAllowsUndo returns a boolean value that indicates whether the receiver allows undo. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc for details. func (x gen_NSTextView) SetAllowsUndo( value bool, ) { @@ -22895,8 +24151,9 @@ func (x gen_NSTextView) SetAllowsUndo( } -// IsEditable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. -// https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc +// IsEditable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc for details. func (x gen_NSTextView) IsEditable() bool { ret := C.NSTextView_inst_isEditable( unsafe.Pointer(x.Pointer()), @@ -22906,8 +24163,9 @@ func (x gen_NSTextView) IsEditable() bool { } -// SetEditable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. -// https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc +// SetEditable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc for details. func (x gen_NSTextView) SetEditable( value bool, ) { @@ -22920,8 +24178,9 @@ func (x gen_NSTextView) SetEditable( } -// IsSelectable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. -// https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc +// IsSelectable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc for details. func (x gen_NSTextView) IsSelectable() bool { ret := C.NSTextView_inst_isSelectable( unsafe.Pointer(x.Pointer()), @@ -22931,8 +24190,9 @@ func (x gen_NSTextView) IsSelectable() bool { } -// SetSelectable A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. -// https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc +// SetSelectable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc for details. func (x gen_NSTextView) SetSelectable( value bool, ) { @@ -22945,8 +24205,9 @@ func (x gen_NSTextView) SetSelectable( } -// IsFieldEditor A Boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. -// https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc +// IsFieldEditor returns a boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc for details. func (x gen_NSTextView) IsFieldEditor() bool { ret := C.NSTextView_inst_isFieldEditor( unsafe.Pointer(x.Pointer()), @@ -22956,8 +24217,9 @@ func (x gen_NSTextView) IsFieldEditor() bool { } -// SetFieldEditor A Boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. -// https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc +// SetFieldEditor returns a boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc for details. func (x gen_NSTextView) SetFieldEditor( value bool, ) { @@ -22970,8 +24232,9 @@ func (x gen_NSTextView) SetFieldEditor( } -// IsRichText A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. -// https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc +// IsRichText returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc for details. func (x gen_NSTextView) IsRichText() bool { ret := C.NSTextView_inst_isRichText( unsafe.Pointer(x.Pointer()), @@ -22981,8 +24244,9 @@ func (x gen_NSTextView) IsRichText() bool { } -// SetRichText A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. -// https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc +// SetRichText returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc for details. func (x gen_NSTextView) SetRichText( value bool, ) { @@ -22995,8 +24259,9 @@ func (x gen_NSTextView) SetRichText( } -// ImportsGraphics A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. -// https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc +// ImportsGraphics returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc for details. func (x gen_NSTextView) ImportsGraphics() bool { ret := C.NSTextView_inst_importsGraphics( unsafe.Pointer(x.Pointer()), @@ -23006,8 +24271,9 @@ func (x gen_NSTextView) ImportsGraphics() bool { } -// SetImportsGraphics A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. -// https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc +// SetImportsGraphics returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc for details. func (x gen_NSTextView) SetImportsGraphics( value bool, ) { @@ -23020,8 +24286,9 @@ func (x gen_NSTextView) SetImportsGraphics( } -// AllowsImageEditing Indicates whether image attachments should permit editing of their images. -// https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc +// AllowsImageEditing indicates whether image attachments should permit editing of their images. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc for details. func (x gen_NSTextView) AllowsImageEditing() bool { ret := C.NSTextView_inst_allowsImageEditing( unsafe.Pointer(x.Pointer()), @@ -23031,8 +24298,9 @@ func (x gen_NSTextView) AllowsImageEditing() bool { } -// SetAllowsImageEditing Indicates whether image attachments should permit editing of their images. -// https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc +// SetAllowsImageEditing indicates whether image attachments should permit editing of their images. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc for details. func (x gen_NSTextView) SetAllowsImageEditing( value bool, ) { @@ -23045,8 +24313,9 @@ func (x gen_NSTextView) SetAllowsImageEditing( } -// IsAutomaticQuoteSubstitutionEnabled A Boolean value that enables and disables automatic quotation mark substitution. -// https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc +// IsAutomaticQuoteSubstitutionEnabled returns a boolean value that enables and disables automatic quotation mark substitution. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc for details. func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() bool { ret := C.NSTextView_inst_isAutomaticQuoteSubstitutionEnabled( unsafe.Pointer(x.Pointer()), @@ -23056,8 +24325,9 @@ func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() bool { } -// SetAutomaticQuoteSubstitutionEnabled A Boolean value that enables and disables automatic quotation mark substitution. -// https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc +// SetAutomaticQuoteSubstitutionEnabled returns a boolean value that enables and disables automatic quotation mark substitution. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc for details. func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( value bool, ) { @@ -23070,8 +24340,9 @@ func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( } -// IsAutomaticLinkDetectionEnabled A Boolean value that enables or disables automatic link detection. -// https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc +// IsAutomaticLinkDetectionEnabled returns a boolean value that enables or disables automatic link detection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() bool { ret := C.NSTextView_inst_isAutomaticLinkDetectionEnabled( unsafe.Pointer(x.Pointer()), @@ -23081,8 +24352,9 @@ func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() bool { } -// SetAutomaticLinkDetectionEnabled A Boolean value that enables or disables automatic link detection. -// https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc +// SetAutomaticLinkDetectionEnabled returns a boolean value that enables or disables automatic link detection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc for details. func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( value bool, ) { @@ -23095,8 +24367,9 @@ func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( } -// DisplaysLinkToolTips A Boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. -// https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc +// DisplaysLinkToolTips returns a boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc for details. func (x gen_NSTextView) DisplaysLinkToolTips() bool { ret := C.NSTextView_inst_displaysLinkToolTips( unsafe.Pointer(x.Pointer()), @@ -23106,8 +24379,9 @@ func (x gen_NSTextView) DisplaysLinkToolTips() bool { } -// SetDisplaysLinkToolTips A Boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. -// https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc +// SetDisplaysLinkToolTips returns a boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc for details. func (x gen_NSTextView) SetDisplaysLinkToolTips( value bool, ) { @@ -23120,8 +24394,9 @@ func (x gen_NSTextView) SetDisplaysLinkToolTips( } -// IsAutomaticTextCompletionEnabled A Boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. -// https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc +// IsAutomaticTextCompletionEnabled returns a boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() bool { ret := C.NSTextView_inst_isAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), @@ -23131,8 +24406,9 @@ func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() bool { } -// SetAutomaticTextCompletionEnabled A Boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. -// https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc +// SetAutomaticTextCompletionEnabled returns a boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc for details. func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( value bool, ) { @@ -23145,8 +24421,9 @@ func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( } -// UsesAdaptiveColorMappingForDarkAppearance A Boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. -// https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc +// UsesAdaptiveColorMappingForDarkAppearance returns a boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. +// +// See https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc for details. func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() bool { ret := C.NSTextView_inst_usesAdaptiveColorMappingForDarkAppearance( unsafe.Pointer(x.Pointer()), @@ -23156,8 +24433,9 @@ func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() bool { } -// SetUsesAdaptiveColorMappingForDarkAppearance A Boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. -// https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc +// SetUsesAdaptiveColorMappingForDarkAppearance returns a boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. +// +// See https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc for details. func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( value bool, ) { @@ -23171,7 +24449,8 @@ func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( } // UsesRolloverButtonForSelection -// https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc for details. func (x gen_NSTextView) UsesRolloverButtonForSelection() bool { ret := C.NSTextView_inst_usesRolloverButtonForSelection( unsafe.Pointer(x.Pointer()), @@ -23182,7 +24461,8 @@ func (x gen_NSTextView) UsesRolloverButtonForSelection() bool { } // SetUsesRolloverButtonForSelection -// https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc for details. func (x gen_NSTextView) SetUsesRolloverButtonForSelection( value bool, ) { @@ -23195,8 +24475,9 @@ func (x gen_NSTextView) SetUsesRolloverButtonForSelection( } -// UsesRuler A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. -// https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc +// UsesRuler returns a boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc for details. func (x gen_NSTextView) UsesRuler() bool { ret := C.NSTextView_inst_usesRuler( unsafe.Pointer(x.Pointer()), @@ -23206,8 +24487,9 @@ func (x gen_NSTextView) UsesRuler() bool { } -// SetUsesRuler A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. -// https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc +// SetUsesRuler returns a boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc for details. func (x gen_NSTextView) SetUsesRuler( value bool, ) { @@ -23220,8 +24502,9 @@ func (x gen_NSTextView) SetUsesRuler( } -// IsRulerVisible A Boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. -// https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc +// IsRulerVisible returns a boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc for details. func (x gen_NSTextView) IsRulerVisible() bool { ret := C.NSTextView_inst_isRulerVisible( unsafe.Pointer(x.Pointer()), @@ -23231,8 +24514,9 @@ func (x gen_NSTextView) IsRulerVisible() bool { } -// SetRulerVisible A Boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. -// https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc +// SetRulerVisible returns a boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc for details. func (x gen_NSTextView) SetRulerVisible( value bool, ) { @@ -23245,8 +24529,9 @@ func (x gen_NSTextView) SetRulerVisible( } -// UsesInspectorBar A Boolean value that indicates whether this text view uses the inspector bar. -// https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc +// UsesInspectorBar returns a boolean value that indicates whether this text view uses the inspector bar. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc for details. func (x gen_NSTextView) UsesInspectorBar() bool { ret := C.NSTextView_inst_usesInspectorBar( unsafe.Pointer(x.Pointer()), @@ -23256,8 +24541,9 @@ func (x gen_NSTextView) UsesInspectorBar() bool { } -// SetUsesInspectorBar A Boolean value that indicates whether this text view uses the inspector bar. -// https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc +// SetUsesInspectorBar returns a boolean value that indicates whether this text view uses the inspector bar. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc for details. func (x gen_NSTextView) SetUsesInspectorBar( value bool, ) { @@ -23270,8 +24556,9 @@ func (x gen_NSTextView) SetUsesInspectorBar( } -// SelectedRanges An array containing the ranges of characters selected in the receiver’s layout manager. -// https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc +// SelectedRanges an array containing the ranges of characters selected in the receiver’s layout manager. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc for details. func (x gen_NSTextView) SelectedRanges() core.NSArray { ret := C.NSTextView_inst_selectedRanges( unsafe.Pointer(x.Pointer()), @@ -23281,8 +24568,9 @@ func (x gen_NSTextView) SelectedRanges() core.NSArray { } -// SetSelectedRanges An array containing the ranges of characters selected in the receiver’s layout manager. -// https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc +// SetSelectedRanges an array containing the ranges of characters selected in the receiver’s layout manager. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc for details. func (x gen_NSTextView) SetSelectedRanges( value core.NSArrayRef, ) { @@ -23295,8 +24583,9 @@ func (x gen_NSTextView) SetSelectedRanges( } -// InsertionPointColor The color of the insertion point. -// https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc +// InsertionPointColor returns the color of the insertion point. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc for details. func (x gen_NSTextView) InsertionPointColor() NSColor { ret := C.NSTextView_inst_insertionPointColor( unsafe.Pointer(x.Pointer()), @@ -23306,8 +24595,9 @@ func (x gen_NSTextView) InsertionPointColor() NSColor { } -// SetInsertionPointColor The color of the insertion point. -// https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc +// SetInsertionPointColor returns the color of the insertion point. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc for details. func (x gen_NSTextView) SetInsertionPointColor( value NSColorRef, ) { @@ -23320,8 +24610,9 @@ func (x gen_NSTextView) SetInsertionPointColor( } -// SelectedTextAttributes The attributes used to indicate the selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc +// SelectedTextAttributes returns the attributes used to indicate the selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc for details. func (x gen_NSTextView) SelectedTextAttributes() core.NSDictionary { ret := C.NSTextView_inst_selectedTextAttributes( unsafe.Pointer(x.Pointer()), @@ -23331,8 +24622,9 @@ func (x gen_NSTextView) SelectedTextAttributes() core.NSDictionary { } -// SetSelectedTextAttributes The attributes used to indicate the selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc +// SetSelectedTextAttributes returns the attributes used to indicate the selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc for details. func (x gen_NSTextView) SetSelectedTextAttributes( value core.NSDictionaryRef, ) { @@ -23345,8 +24637,9 @@ func (x gen_NSTextView) SetSelectedTextAttributes( } -// MarkedTextAttributes The attributes used to draw marked text. -// https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc +// MarkedTextAttributes returns the attributes used to draw marked text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc for details. func (x gen_NSTextView) MarkedTextAttributes() core.NSDictionary { ret := C.NSTextView_inst_markedTextAttributes( unsafe.Pointer(x.Pointer()), @@ -23356,8 +24649,9 @@ func (x gen_NSTextView) MarkedTextAttributes() core.NSDictionary { } -// SetMarkedTextAttributes The attributes used to draw marked text. -// https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc +// SetMarkedTextAttributes returns the attributes used to draw marked text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc for details. func (x gen_NSTextView) SetMarkedTextAttributes( value core.NSDictionaryRef, ) { @@ -23370,8 +24664,9 @@ func (x gen_NSTextView) SetMarkedTextAttributes( } -// LinkTextAttributes The attributes used to draw the onscreen presentation of link text. -// https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc +// LinkTextAttributes returns the attributes used to draw the onscreen presentation of link text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc for details. func (x gen_NSTextView) LinkTextAttributes() core.NSDictionary { ret := C.NSTextView_inst_linkTextAttributes( unsafe.Pointer(x.Pointer()), @@ -23381,8 +24676,9 @@ func (x gen_NSTextView) LinkTextAttributes() core.NSDictionary { } -// SetLinkTextAttributes The attributes used to draw the onscreen presentation of link text. -// https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc +// SetLinkTextAttributes returns the attributes used to draw the onscreen presentation of link text. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc for details. func (x gen_NSTextView) SetLinkTextAttributes( value core.NSDictionaryRef, ) { @@ -23395,8 +24691,9 @@ func (x gen_NSTextView) SetLinkTextAttributes( } -// ReadablePasteboardTypes The types this text view can read immediately from the pasteboard. -// https://developer.apple.com/documentation/appkit/nstextview/1449361-readablepasteboardtypes?language=objc +// ReadablePasteboardTypes returns the types this text view can read immediately from the pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449361-readablepasteboardtypes?language=objc for details. func (x gen_NSTextView) ReadablePasteboardTypes() core.NSArray { ret := C.NSTextView_inst_readablePasteboardTypes( unsafe.Pointer(x.Pointer()), @@ -23406,8 +24703,9 @@ func (x gen_NSTextView) ReadablePasteboardTypes() core.NSArray { } -// WritablePasteboardTypes The pasteboard types that can be provided from the current selection. -// https://developer.apple.com/documentation/appkit/nstextview/1449222-writablepasteboardtypes?language=objc +// WritablePasteboardTypes returns the pasteboard types that can be provided from the current selection. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449222-writablepasteboardtypes?language=objc for details. func (x gen_NSTextView) WritablePasteboardTypes() core.NSArray { ret := C.NSTextView_inst_writablePasteboardTypes( unsafe.Pointer(x.Pointer()), @@ -23417,8 +24715,9 @@ func (x gen_NSTextView) WritablePasteboardTypes() core.NSArray { } -// TypingAttributes The receiver’s typing attributes. -// https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc +// TypingAttributes returns the receiver’s typing attributes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc for details. func (x gen_NSTextView) TypingAttributes() core.NSDictionary { ret := C.NSTextView_inst_typingAttributes( unsafe.Pointer(x.Pointer()), @@ -23428,8 +24727,9 @@ func (x gen_NSTextView) TypingAttributes() core.NSDictionary { } -// SetTypingAttributes The receiver’s typing attributes. -// https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc +// SetTypingAttributes returns the receiver’s typing attributes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc for details. func (x gen_NSTextView) SetTypingAttributes( value core.NSDictionaryRef, ) { @@ -23442,8 +24742,9 @@ func (x gen_NSTextView) SetTypingAttributes( } -// IsCoalescingUndo A Boolean value that indicates whether undo coalescing is in progress. -// https://developer.apple.com/documentation/appkit/nstextview/1449368-coalescingundo?language=objc +// IsCoalescingUndo returns a boolean value that indicates whether undo coalescing is in progress. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449368-coalescingundo?language=objc for details. func (x gen_NSTextView) IsCoalescingUndo() bool { ret := C.NSTextView_inst_isCoalescingUndo( unsafe.Pointer(x.Pointer()), @@ -23453,8 +24754,9 @@ func (x gen_NSTextView) IsCoalescingUndo() bool { } -// AcceptableDragTypes The data types that the receiver accepts as the destination view of a dragging operation. -// https://developer.apple.com/documentation/appkit/nstextview/1449234-acceptabledragtypes?language=objc +// AcceptableDragTypes returns the data types that the receiver accepts as the destination view of a dragging operation. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449234-acceptabledragtypes?language=objc for details. func (x gen_NSTextView) AcceptableDragTypes() core.NSArray { ret := C.NSTextView_inst_acceptableDragTypes( unsafe.Pointer(x.Pointer()), @@ -23464,8 +24766,9 @@ func (x gen_NSTextView) AcceptableDragTypes() core.NSArray { } -// RangesForUserCharacterAttributeChange An array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes. -// https://developer.apple.com/documentation/appkit/nstextview/1449503-rangesforusercharacterattributec?language=objc +// RangesForUserCharacterAttributeChange an array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449503-rangesforusercharacterattributec?language=objc for details. func (x gen_NSTextView) RangesForUserCharacterAttributeChange() core.NSArray { ret := C.NSTextView_inst_rangesForUserCharacterAttributeChange( unsafe.Pointer(x.Pointer()), @@ -23475,8 +24778,9 @@ func (x gen_NSTextView) RangesForUserCharacterAttributeChange() core.NSArray { } -// RangesForUserParagraphAttributeChange An array containing the ranges of characters affected by a method that changes paragraph (not character) attributes. -// https://developer.apple.com/documentation/appkit/nstextview/1449161-rangesforuserparagraphattributec?language=objc +// RangesForUserParagraphAttributeChange an array containing the ranges of characters affected by a method that changes paragraph (not character) attributes. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449161-rangesforuserparagraphattributec?language=objc for details. func (x gen_NSTextView) RangesForUserParagraphAttributeChange() core.NSArray { ret := C.NSTextView_inst_rangesForUserParagraphAttributeChange( unsafe.Pointer(x.Pointer()), @@ -23486,8 +24790,9 @@ func (x gen_NSTextView) RangesForUserParagraphAttributeChange() core.NSArray { } -// RangesForUserTextChange An array containing the ranges of characters affected by a method that changes characters (as opposed to attributes). -// https://developer.apple.com/documentation/appkit/nstextview/1449434-rangesforusertextchange?language=objc +// RangesForUserTextChange an array containing the ranges of characters affected by a method that changes characters (as opposed to attributes). +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449434-rangesforusertextchange?language=objc for details. func (x gen_NSTextView) RangesForUserTextChange() core.NSArray { ret := C.NSTextView_inst_rangesForUserTextChange( unsafe.Pointer(x.Pointer()), @@ -23497,8 +24802,9 @@ func (x gen_NSTextView) RangesForUserTextChange() core.NSArray { } -// SmartInsertDeleteEnabled A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. -// https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc +// SmartInsertDeleteEnabled returns a boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc for details. func (x gen_NSTextView) SmartInsertDeleteEnabled() bool { ret := C.NSTextView_inst_smartInsertDeleteEnabled( unsafe.Pointer(x.Pointer()), @@ -23508,8 +24814,9 @@ func (x gen_NSTextView) SmartInsertDeleteEnabled() bool { } -// SetSmartInsertDeleteEnabled A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. -// https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc +// SetSmartInsertDeleteEnabled returns a boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc for details. func (x gen_NSTextView) SetSmartInsertDeleteEnabled( value bool, ) { @@ -23522,8 +24829,9 @@ func (x gen_NSTextView) SetSmartInsertDeleteEnabled( } -// IsContinuousSpellCheckingEnabled A Boolean value that indicates whether the receiver has continuous spell checking enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc +// IsContinuousSpellCheckingEnabled returns a boolean value that indicates whether the receiver has continuous spell checking enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc for details. func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() bool { ret := C.NSTextView_inst_isContinuousSpellCheckingEnabled( unsafe.Pointer(x.Pointer()), @@ -23533,8 +24841,9 @@ func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() bool { } -// SetContinuousSpellCheckingEnabled A Boolean value that indicates whether the receiver has continuous spell checking enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc +// SetContinuousSpellCheckingEnabled returns a boolean value that indicates whether the receiver has continuous spell checking enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc for details. func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( value bool, ) { @@ -23547,8 +24856,9 @@ func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( } -// SpellCheckerDocumentTag A tag identifying the text view's text as a document for the spell checker server. -// https://developer.apple.com/documentation/appkit/nstextview/1449513-spellcheckerdocumenttag?language=objc +// SpellCheckerDocumentTag returns a tag identifying the text view's text as a document for the spell checker server. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449513-spellcheckerdocumenttag?language=objc for details. func (x gen_NSTextView) SpellCheckerDocumentTag() core.NSInteger { ret := C.NSTextView_inst_spellCheckerDocumentTag( unsafe.Pointer(x.Pointer()), @@ -23558,8 +24868,9 @@ func (x gen_NSTextView) SpellCheckerDocumentTag() core.NSInteger { } -// IsGrammarCheckingEnabled Enables and disables grammar checking. -// https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc +// IsGrammarCheckingEnabled enables and disables grammar checking. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc for details. func (x gen_NSTextView) IsGrammarCheckingEnabled() bool { ret := C.NSTextView_inst_isGrammarCheckingEnabled( unsafe.Pointer(x.Pointer()), @@ -23569,8 +24880,9 @@ func (x gen_NSTextView) IsGrammarCheckingEnabled() bool { } -// SetGrammarCheckingEnabled Enables and disables grammar checking. -// https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc +// SetGrammarCheckingEnabled enables and disables grammar checking. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc for details. func (x gen_NSTextView) SetGrammarCheckingEnabled( value bool, ) { @@ -23583,8 +24895,9 @@ func (x gen_NSTextView) SetGrammarCheckingEnabled( } -// AcceptsGlyphInfo A Boolean value that indicates whether the receiver accepts the glyph info attribute. -// https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc +// AcceptsGlyphInfo returns a boolean value that indicates whether the receiver accepts the glyph info attribute. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc for details. func (x gen_NSTextView) AcceptsGlyphInfo() bool { ret := C.NSTextView_inst_acceptsGlyphInfo( unsafe.Pointer(x.Pointer()), @@ -23594,8 +24907,9 @@ func (x gen_NSTextView) AcceptsGlyphInfo() bool { } -// SetAcceptsGlyphInfo A Boolean value that indicates whether the receiver accepts the glyph info attribute. -// https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc +// SetAcceptsGlyphInfo returns a boolean value that indicates whether the receiver accepts the glyph info attribute. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc for details. func (x gen_NSTextView) SetAcceptsGlyphInfo( value bool, ) { @@ -23608,8 +24922,9 @@ func (x gen_NSTextView) SetAcceptsGlyphInfo( } -// UsesFontPanel A Boolean value that controls whether the text views sharing the receiver’s layout manager use the Font panel and Font menu. -// https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc +// UsesFontPanel returns a boolean value that controls whether the text views sharing the receiver’s layout manager use the font panel and font menu. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc for details. func (x gen_NSTextView) UsesFontPanel() bool { ret := C.NSTextView_inst_usesFontPanel( unsafe.Pointer(x.Pointer()), @@ -23619,8 +24934,9 @@ func (x gen_NSTextView) UsesFontPanel() bool { } -// SetUsesFontPanel A Boolean value that controls whether the text views sharing the receiver’s layout manager use the Font panel and Font menu. -// https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc +// SetUsesFontPanel returns a boolean value that controls whether the text views sharing the receiver’s layout manager use the font panel and font menu. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc for details. func (x gen_NSTextView) SetUsesFontPanel( value bool, ) { @@ -23633,8 +24949,9 @@ func (x gen_NSTextView) SetUsesFontPanel( } -// UsesFindPanel A Boolean value that indicates whether the receiver allows for a find panel. -// https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc +// UsesFindPanel returns a boolean value that indicates whether the receiver allows for a find panel. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc for details. func (x gen_NSTextView) UsesFindPanel() bool { ret := C.NSTextView_inst_usesFindPanel( unsafe.Pointer(x.Pointer()), @@ -23644,8 +24961,9 @@ func (x gen_NSTextView) UsesFindPanel() bool { } -// SetUsesFindPanel A Boolean value that indicates whether the receiver allows for a find panel. -// https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc +// SetUsesFindPanel returns a boolean value that indicates whether the receiver allows for a find panel. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc for details. func (x gen_NSTextView) SetUsesFindPanel( value bool, ) { @@ -23658,8 +24976,9 @@ func (x gen_NSTextView) SetUsesFindPanel( } -// IsAutomaticDashSubstitutionEnabled A Boolean value that indicates whether automatic dash substitution is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc +// IsAutomaticDashSubstitutionEnabled returns a boolean value that indicates whether automatic dash substitution is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() bool { ret := C.NSTextView_inst_isAutomaticDashSubstitutionEnabled( unsafe.Pointer(x.Pointer()), @@ -23669,8 +24988,9 @@ func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() bool { } -// SetAutomaticDashSubstitutionEnabled A Boolean value that indicates whether automatic dash substitution is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc +// SetAutomaticDashSubstitutionEnabled returns a boolean value that indicates whether automatic dash substitution is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc for details. func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( value bool, ) { @@ -23683,8 +25003,9 @@ func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( } -// IsAutomaticDataDetectionEnabled A Boolean value that indicates whether automatic data detection is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc +// IsAutomaticDataDetectionEnabled returns a boolean value that indicates whether automatic data detection is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() bool { ret := C.NSTextView_inst_isAutomaticDataDetectionEnabled( unsafe.Pointer(x.Pointer()), @@ -23694,8 +25015,9 @@ func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() bool { } -// SetAutomaticDataDetectionEnabled A Boolean value that indicates whether automatic data detection is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc +// SetAutomaticDataDetectionEnabled returns a boolean value that indicates whether automatic data detection is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc for details. func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( value bool, ) { @@ -23708,8 +25030,9 @@ func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( } -// IsAutomaticSpellingCorrectionEnabled A Boolean value that indicates whether automatic spelling correction is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc +// IsAutomaticSpellingCorrectionEnabled returns a boolean value that indicates whether automatic spelling correction is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc for details. func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() bool { ret := C.NSTextView_inst_isAutomaticSpellingCorrectionEnabled( unsafe.Pointer(x.Pointer()), @@ -23719,8 +25042,9 @@ func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() bool { } -// SetAutomaticSpellingCorrectionEnabled A Boolean value that indicates whether automatic spelling correction is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc +// SetAutomaticSpellingCorrectionEnabled returns a boolean value that indicates whether automatic spelling correction is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc for details. func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( value bool, ) { @@ -23733,8 +25057,9 @@ func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( } -// IsAutomaticTextReplacementEnabled A Boolean value that indicates whether automatic text replacement is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc +// IsAutomaticTextReplacementEnabled returns a boolean value that indicates whether automatic text replacement is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() bool { ret := C.NSTextView_inst_isAutomaticTextReplacementEnabled( unsafe.Pointer(x.Pointer()), @@ -23744,8 +25069,9 @@ func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() bool { } -// SetAutomaticTextReplacementEnabled A Boolean value that indicates whether automatic text replacement is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc +// SetAutomaticTextReplacementEnabled returns a boolean value that indicates whether automatic text replacement is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc for details. func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( value bool, ) { @@ -23758,8 +25084,9 @@ func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( } -// UsesFindBar A Boolean value that indicates whether to use the find bar for this text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc +// UsesFindBar returns a boolean value that indicates whether to use the find bar for this text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc for details. func (x gen_NSTextView) UsesFindBar() bool { ret := C.NSTextView_inst_usesFindBar( unsafe.Pointer(x.Pointer()), @@ -23769,8 +25096,9 @@ func (x gen_NSTextView) UsesFindBar() bool { } -// SetUsesFindBar A Boolean value that indicates whether to use the find bar for this text view. -// https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc +// SetUsesFindBar returns a boolean value that indicates whether to use the find bar for this text view. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc for details. func (x gen_NSTextView) SetUsesFindBar( value bool, ) { @@ -23783,8 +25111,9 @@ func (x gen_NSTextView) SetUsesFindBar( } -// IsIncrementalSearchingEnabled A Boolean value that indicates whether incremental searching is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc +// IsIncrementalSearchingEnabled returns a boolean value that indicates whether incremental searching is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc for details. func (x gen_NSTextView) IsIncrementalSearchingEnabled() bool { ret := C.NSTextView_inst_isIncrementalSearchingEnabled( unsafe.Pointer(x.Pointer()), @@ -23794,8 +25123,9 @@ func (x gen_NSTextView) IsIncrementalSearchingEnabled() bool { } -// SetIncrementalSearchingEnabled A Boolean value that indicates whether incremental searching is enabled. -// https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc +// SetIncrementalSearchingEnabled returns a boolean value that indicates whether incremental searching is enabled. +// +// See https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc for details. func (x gen_NSTextView) SetIncrementalSearchingEnabled( value bool, ) { @@ -23809,7 +25139,8 @@ func (x gen_NSTextView) SetIncrementalSearchingEnabled( } // AllowsCharacterPickerTouchBarItem -// https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc for details. func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() bool { ret := C.NSTextView_inst_allowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), @@ -23820,7 +25151,8 @@ func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() bool { } // SetAllowsCharacterPickerTouchBarItem -// https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc +// +// See https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc for details. func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( value bool, ) { @@ -23834,6 +25166,8 @@ func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( } // Font +// +// See for details. func (x gen_NSTextView) Font() NSFont { ret := C.NSTextView_inst_font( unsafe.Pointer(x.Pointer()), @@ -23844,6 +25178,8 @@ func (x gen_NSTextView) Font() NSFont { } // SetFont +// +// See for details. func (x gen_NSTextView) SetFont( value NSFontRef, ) { @@ -23875,8 +25211,9 @@ func NSView_fromRef(ref objc.Ref) NSView { return NSView_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AcceptsFirstMouse Overridden by subclasses to return YES if the view should be sent a mouseDown: message for an initial mouse-down event, NO if not. -// https://developer.apple.com/documentation/appkit/nsview/1483410-acceptsfirstmouse?language=objc +// AcceptsFirstMouse overridden by subclasses to return yes if the view should be sent a mousedown: message for an initial mouse-down event, no if not. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483410-acceptsfirstmouse?language=objc for details. func (x gen_NSView) AcceptsFirstMouse( event NSEventRef, ) bool { @@ -23889,8 +25226,9 @@ func (x gen_NSView) AcceptsFirstMouse( } -// AddConstraints Adds multiple constraints on the layout of the receiving view or its subviews. -// https://developer.apple.com/documentation/appkit/nsview/1526931-addconstraints?language=objc +// AddConstraints adds multiple constraints on the layout of the receiving view or its subviews. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526931-addconstraints?language=objc for details. func (x gen_NSView) AddConstraints( constraints core.NSArrayRef, ) { @@ -23903,8 +25241,9 @@ func (x gen_NSView) AddConstraints( } -// AddSubview Adds a view to the view’s subviews so it’s displayed above its siblings. -// https://developer.apple.com/documentation/appkit/nsview/1483783-addsubview?language=objc +// AddSubview adds a view to the view’s subviews so it’s displayed above its siblings. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483783-addsubview?language=objc for details. func (x gen_NSView) AddSubview( view NSViewRef, ) { @@ -23917,8 +25256,9 @@ func (x gen_NSView) AddSubview( } -// AddSubview_positioned_relativeTo Inserts a view among the view’s subviews so it’s displayed immediately above or below another view. -// https://developer.apple.com/documentation/appkit/nsview/1483640-addsubview?language=objc +// AddSubview_positioned_relativeTo inserts a view among the view’s subviews so it’s displayed immediately above or below another view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483640-addsubview?language=objc for details. func (x gen_NSView) AddSubview_positioned_relativeTo( view NSViewRef, place core.NSUInteger, @@ -23935,8 +25275,9 @@ func (x gen_NSView) AddSubview_positioned_relativeTo( } -// AdjustScroll Overridden by subclasses to modify a given rectangle, returning the altered rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483616-adjustscroll?language=objc +// AdjustScroll overridden by subclasses to modify a given rectangle, returning the altered rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483616-adjustscroll?language=objc for details. func (x gen_NSView) AdjustScroll( newVisible core.NSRect, ) core.NSRect { @@ -23949,8 +25290,9 @@ func (x gen_NSView) AdjustScroll( } -// AlignmentRectForFrame Returns the view’s alignment rectangle for a given frame. -// https://developer.apple.com/documentation/appkit/nsview/1526905-alignmentrectforframe?language=objc +// AlignmentRectForFrame returns the view’s alignment rectangle for a given frame. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526905-alignmentrectforframe?language=objc for details. func (x gen_NSView) AlignmentRectForFrame( frame core.NSRect, ) core.NSRect { @@ -23963,8 +25305,9 @@ func (x gen_NSView) AlignmentRectForFrame( } -// AncestorSharedWithView Returns the closest ancestor shared by the view and another specified view. -// https://developer.apple.com/documentation/appkit/nsview/1483353-ancestorsharedwithview?language=objc +// AncestorSharedWithView returns the closest ancestor shared by the view and another specified view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483353-ancestorsharedwithview?language=objc for details. func (x gen_NSView) AncestorSharedWithView( view NSViewRef, ) NSView { @@ -23977,8 +25320,9 @@ func (x gen_NSView) AncestorSharedWithView( } -// Autoscroll Scrolls the view’s closest ancestor NSClipView object proportionally to the distance of an event that occurs outside of it. -// https://developer.apple.com/documentation/appkit/nsview/1483471-autoscroll?language=objc +// Autoscroll scrolls the view’s closest ancestor nsclipview object proportionally to the distance of an event that occurs outside of it. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483471-autoscroll?language=objc for details. func (x gen_NSView) Autoscroll( event NSEventRef, ) bool { @@ -23991,8 +25335,9 @@ func (x gen_NSView) Autoscroll( } -// BeginDocument Invoked at the beginning of the printing session, this method sets up the current graphics context. -// https://developer.apple.com/documentation/appkit/nsview/1483423-begindocument?language=objc +// BeginDocument invoked at the beginning of the printing session, this method sets up the current graphics context. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483423-begindocument?language=objc for details. func (x gen_NSView) BeginDocument() { C.NSView_inst_beginDocument( unsafe.Pointer(x.Pointer()), @@ -24002,8 +25347,9 @@ func (x gen_NSView) BeginDocument() { } -// BeginPageInRect_atPlacement Called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. -// https://developer.apple.com/documentation/appkit/nsview/1483438-beginpageinrect?language=objc +// BeginPageInRect_atPlacement called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483438-beginpageinrect?language=objc for details. func (x gen_NSView) BeginPageInRect_atPlacement( rect core.NSRect, location core.NSPoint, @@ -24018,8 +25364,9 @@ func (x gen_NSView) BeginPageInRect_atPlacement( } -// CenterScanRect Converts the corners of a specified rectangle to lie on the center of device pixels, which is useful in compensating for rendering overscanning when the coordinate system has been scaled. -// https://developer.apple.com/documentation/appkit/nsview/1483725-centerscanrect?language=objc +// CenterScanRect converts the corners of a specified rectangle to lie on the center of device pixels, which is useful in compensating for rendering overscanning when the coordinate system has been scaled. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483725-centerscanrect?language=objc for details. func (x gen_NSView) CenterScanRect( rect core.NSRect, ) core.NSRect { @@ -24032,8 +25379,9 @@ func (x gen_NSView) CenterScanRect( } -// ConvertPoint_fromView Converts a point from the coordinate system of a given view to that of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483269-convertpoint?language=objc +// ConvertPoint_fromView converts a point from the coordinate system of a given view to that of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483269-convertpoint?language=objc for details. func (x gen_NSView) ConvertPoint_fromView( point core.NSPoint, view NSViewRef, @@ -24048,8 +25396,9 @@ func (x gen_NSView) ConvertPoint_fromView( } -// ConvertPoint_toView Converts a point from the view’s coordinate system to that of a given view. -// https://developer.apple.com/documentation/appkit/nsview/1483406-convertpoint?language=objc +// ConvertPoint_toView converts a point from the view’s coordinate system to that of a given view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483406-convertpoint?language=objc for details. func (x gen_NSView) ConvertPoint_toView( point core.NSPoint, view NSViewRef, @@ -24064,8 +25413,9 @@ func (x gen_NSView) ConvertPoint_toView( } -// ConvertPointFromBacking Converts a point from its pixel aligned backing store coordinate system to the view’s interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483456-convertpointfrombacking?language=objc +// ConvertPointFromBacking converts a point from its pixel aligned backing store coordinate system to the view’s interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483456-convertpointfrombacking?language=objc for details. func (x gen_NSView) ConvertPointFromBacking( point core.NSPoint, ) core.NSPoint { @@ -24078,8 +25428,9 @@ func (x gen_NSView) ConvertPointFromBacking( } -// ConvertPointFromLayer Convert the point from the layer's interior coordinate system to the view’s interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483554-convertpointfromlayer?language=objc +// ConvertPointFromLayer convert the point from the layer's interior coordinate system to the view’s interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483554-convertpointfromlayer?language=objc for details. func (x gen_NSView) ConvertPointFromLayer( point core.NSPoint, ) core.NSPoint { @@ -24092,8 +25443,9 @@ func (x gen_NSView) ConvertPointFromLayer( } -// ConvertPointToBacking Converts a point from the view’s interior coordinate system to its pixel aligned backing store coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483803-convertpointtobacking?language=objc +// ConvertPointToBacking converts a point from the view’s interior coordinate system to its pixel aligned backing store coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483803-convertpointtobacking?language=objc for details. func (x gen_NSView) ConvertPointToBacking( point core.NSPoint, ) core.NSPoint { @@ -24106,8 +25458,9 @@ func (x gen_NSView) ConvertPointToBacking( } -// ConvertPointToLayer Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483315-convertpointtolayer?language=objc +// ConvertPointToLayer convert the size from the view’s interior coordinate system to the layer's interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483315-convertpointtolayer?language=objc for details. func (x gen_NSView) ConvertPointToLayer( point core.NSPoint, ) core.NSPoint { @@ -24120,8 +25473,9 @@ func (x gen_NSView) ConvertPointToLayer( } -// ConvertRect_fromView Converts a rectangle from the coordinate system of another view to that of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483785-convertrect?language=objc +// ConvertRect_fromView converts a rectangle from the coordinate system of another view to that of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483785-convertrect?language=objc for details. func (x gen_NSView) ConvertRect_fromView( rect core.NSRect, view NSViewRef, @@ -24136,8 +25490,9 @@ func (x gen_NSView) ConvertRect_fromView( } -// ConvertRect_toView Converts a rectangle from the view’s coordinate system to that of another view. -// https://developer.apple.com/documentation/appkit/nsview/1483217-convertrect?language=objc +// ConvertRect_toView converts a rectangle from the view’s coordinate system to that of another view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483217-convertrect?language=objc for details. func (x gen_NSView) ConvertRect_toView( rect core.NSRect, view NSViewRef, @@ -24152,8 +25507,9 @@ func (x gen_NSView) ConvertRect_toView( } -// ConvertRectFromBacking Converts a rectangle from its pixel aligned backing store coordinate system to the view’s interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483819-convertrectfrombacking?language=objc +// ConvertRectFromBacking converts a rectangle from its pixel aligned backing store coordinate system to the view’s interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483819-convertrectfrombacking?language=objc for details. func (x gen_NSView) ConvertRectFromBacking( rect core.NSRect, ) core.NSRect { @@ -24166,8 +25522,9 @@ func (x gen_NSView) ConvertRectFromBacking( } -// ConvertRectFromLayer Convert the rectangle from the layer's interior coordinate system to the view’s interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483404-convertrectfromlayer?language=objc +// ConvertRectFromLayer convert the rectangle from the layer's interior coordinate system to the view’s interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483404-convertrectfromlayer?language=objc for details. func (x gen_NSView) ConvertRectFromLayer( rect core.NSRect, ) core.NSRect { @@ -24180,8 +25537,9 @@ func (x gen_NSView) ConvertRectFromLayer( } -// ConvertRectToBacking Converts a rectangle from the view’s interior coordinate system to its pixel aligned backing store coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483648-convertrecttobacking?language=objc +// ConvertRectToBacking converts a rectangle from the view’s interior coordinate system to its pixel aligned backing store coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483648-convertrecttobacking?language=objc for details. func (x gen_NSView) ConvertRectToBacking( rect core.NSRect, ) core.NSRect { @@ -24194,8 +25552,9 @@ func (x gen_NSView) ConvertRectToBacking( } -// ConvertRectToLayer Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483776-convertrecttolayer?language=objc +// ConvertRectToLayer convert the size from the view’s interior coordinate system to the layer's interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483776-convertrecttolayer?language=objc for details. func (x gen_NSView) ConvertRectToLayer( rect core.NSRect, ) core.NSRect { @@ -24208,8 +25567,9 @@ func (x gen_NSView) ConvertRectToLayer( } -// ConvertSize_fromView Converts a size from another view’s coordinate system to that of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483307-convertsize?language=objc +// ConvertSize_fromView converts a size from another view’s coordinate system to that of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483307-convertsize?language=objc for details. func (x gen_NSView) ConvertSize_fromView( size core.NSSize, view NSViewRef, @@ -24224,8 +25584,9 @@ func (x gen_NSView) ConvertSize_fromView( } -// ConvertSize_toView Converts a size from the view’s coordinate system to that of another view. -// https://developer.apple.com/documentation/appkit/nsview/1483744-convertsize?language=objc +// ConvertSize_toView converts a size from the view’s coordinate system to that of another view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483744-convertsize?language=objc for details. func (x gen_NSView) ConvertSize_toView( size core.NSSize, view NSViewRef, @@ -24240,8 +25601,9 @@ func (x gen_NSView) ConvertSize_toView( } -// ConvertSizeFromBacking Converts a size from its pixel aligned backing store coordinate system to the view’s interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483319-convertsizefrombacking?language=objc +// ConvertSizeFromBacking converts a size from its pixel aligned backing store coordinate system to the view’s interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483319-convertsizefrombacking?language=objc for details. func (x gen_NSView) ConvertSizeFromBacking( size core.NSSize, ) core.NSSize { @@ -24254,8 +25616,9 @@ func (x gen_NSView) ConvertSizeFromBacking( } -// ConvertSizeFromLayer Convert the size from the layer's interior coordinate system to the view’s interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483479-convertsizefromlayer?language=objc +// ConvertSizeFromLayer convert the size from the layer's interior coordinate system to the view’s interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483479-convertsizefromlayer?language=objc for details. func (x gen_NSView) ConvertSizeFromLayer( size core.NSSize, ) core.NSSize { @@ -24268,8 +25631,9 @@ func (x gen_NSView) ConvertSizeFromLayer( } -// ConvertSizeToBacking Converts a size from the view’s interior coordinate system to its pixel aligned backing store coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483227-convertsizetobacking?language=objc +// ConvertSizeToBacking converts a size from the view’s interior coordinate system to its pixel aligned backing store coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483227-convertsizetobacking?language=objc for details. func (x gen_NSView) ConvertSizeToBacking( size core.NSSize, ) core.NSSize { @@ -24282,8 +25646,9 @@ func (x gen_NSView) ConvertSizeToBacking( } -// ConvertSizeToLayer Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483701-convertsizetolayer?language=objc +// ConvertSizeToLayer convert the size from the view’s interior coordinate system to the layer's interior coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483701-convertsizetolayer?language=objc for details. func (x gen_NSView) ConvertSizeToLayer( size core.NSSize, ) core.NSSize { @@ -24296,8 +25661,9 @@ func (x gen_NSView) ConvertSizeToLayer( } -// DataWithEPSInsideRect Returns EPS data that draws the region of the view within a specified rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483735-datawithepsinsiderect?language=objc +// DataWithEPSInsideRect returns eps data that draws the region of the view within a specified rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483735-datawithepsinsiderect?language=objc for details. func (x gen_NSView) DataWithEPSInsideRect( rect core.NSRect, ) core.NSData { @@ -24310,8 +25676,9 @@ func (x gen_NSView) DataWithEPSInsideRect( } -// DataWithPDFInsideRect Returns PDF data that draws the region of the view within a specified rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483797-datawithpdfinsiderect?language=objc +// DataWithPDFInsideRect returns pdf data that draws the region of the view within a specified rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483797-datawithpdfinsiderect?language=objc for details. func (x gen_NSView) DataWithPDFInsideRect( rect core.NSRect, ) core.NSData { @@ -24324,8 +25691,9 @@ func (x gen_NSView) DataWithPDFInsideRect( } -// DidAddSubview Overridden by subclasses to perform additional actions when subviews are added to the view. -// https://developer.apple.com/documentation/appkit/nsview/1483454-didaddsubview?language=objc +// DidAddSubview overridden by subclasses to perform additional actions when subviews are added to the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483454-didaddsubview?language=objc for details. func (x gen_NSView) DidAddSubview( subview NSViewRef, ) { @@ -24338,8 +25706,9 @@ func (x gen_NSView) DidAddSubview( } -// DidCloseMenu_withEvent Called after a contextual menu that was displayed from the receiving view has been closed. -// https://developer.apple.com/documentation/appkit/nsview/1483770-didclosemenu?language=objc +// DidCloseMenu_withEvent called after a contextual menu that was displayed from the receiving view has been closed. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483770-didclosemenu?language=objc for details. func (x gen_NSView) DidCloseMenu_withEvent( menu NSMenuRef, event NSEventRef, @@ -24354,8 +25723,9 @@ func (x gen_NSView) DidCloseMenu_withEvent( } -// DiscardCursorRects Invalidates all cursor rectangles set up using addCursorRect:cursor:. -// https://developer.apple.com/documentation/appkit/nsview/1483733-discardcursorrects?language=objc +// DiscardCursorRects invalidates all cursor rectangles set up using addcursorrect:cursor:. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483733-discardcursorrects?language=objc for details. func (x gen_NSView) DiscardCursorRects() { C.NSView_inst_discardCursorRects( unsafe.Pointer(x.Pointer()), @@ -24365,8 +25735,9 @@ func (x gen_NSView) DiscardCursorRects() { } -// Display Displays the view and all its subviews if possible, invoking each of the NSView methods lockFocus, drawRect:, and unlockFocus as necessary. -// https://developer.apple.com/documentation/appkit/nsview/1483487-display?language=objc +// Display displays the view and all its subviews if possible, invoking each of the nsview methods lockfocus, drawrect:, and unlockfocus as necessary. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483487-display?language=objc for details. func (x gen_NSView) Display() { C.NSView_inst_display( unsafe.Pointer(x.Pointer()), @@ -24376,8 +25747,9 @@ func (x gen_NSView) Display() { } -// DisplayIfNeeded Displays the view and all its subviews if any part of the view has been marked as needing display. -// https://developer.apple.com/documentation/appkit/nsview/1483566-displayifneeded?language=objc +// DisplayIfNeeded displays the view and all its subviews if any part of the view has been marked as needing display. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483566-displayifneeded?language=objc for details. func (x gen_NSView) DisplayIfNeeded() { C.NSView_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), @@ -24387,8 +25759,9 @@ func (x gen_NSView) DisplayIfNeeded() { } -// DisplayIfNeededIgnoringOpacity Acts as displayIfNeeded, except that this method doesn’t back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. -// https://developer.apple.com/documentation/appkit/nsview/1483526-displayifneededignoringopacity?language=objc +// DisplayIfNeededIgnoringOpacity acts as displayifneeded, except that this method doesn’t back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483526-displayifneededignoringopacity?language=objc for details. func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { C.NSView_inst_displayIfNeededIgnoringOpacity( unsafe.Pointer(x.Pointer()), @@ -24398,8 +25771,9 @@ func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { } -// DisplayIfNeededInRect Acts as displayIfNeeded, confining drawing to a specified region of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483813-displayifneededinrect?language=objc +// DisplayIfNeededInRect acts as displayifneeded, confining drawing to a specified region of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483813-displayifneededinrect?language=objc for details. func (x gen_NSView) DisplayIfNeededInRect( rect core.NSRect, ) { @@ -24412,8 +25786,9 @@ func (x gen_NSView) DisplayIfNeededInRect( } -// DisplayIfNeededInRectIgnoringOpacity Acts as displayIfNeeded, but confining drawing to aRect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. -// https://developer.apple.com/documentation/appkit/nsview/1483481-displayifneededinrectignoringopa?language=objc +// DisplayIfNeededInRectIgnoringOpacity acts as displayifneeded, but confining drawing to arect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483481-displayifneededinrectignoringopa?language=objc for details. func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( rect core.NSRect, ) { @@ -24426,8 +25801,9 @@ func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( } -// DisplayRect Acts as display, but confining drawing to a rectangular region of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483518-displayrect?language=objc +// DisplayRect acts as display, but confining drawing to a rectangular region of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483518-displayrect?language=objc for details. func (x gen_NSView) DisplayRect( rect core.NSRect, ) { @@ -24440,8 +25816,9 @@ func (x gen_NSView) DisplayRect( } -// DisplayRectIgnoringOpacity Displays the view but confines drawing to a specified region and does not back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. -// https://developer.apple.com/documentation/appkit/nsview/1483699-displayrectignoringopacity?language=objc +// DisplayRectIgnoringOpacity displays the view but confines drawing to a specified region and does not back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483699-displayrectignoringopacity?language=objc for details. func (x gen_NSView) DisplayRectIgnoringOpacity( rect core.NSRect, ) { @@ -24454,8 +25831,9 @@ func (x gen_NSView) DisplayRectIgnoringOpacity( } -// DrawFocusRingMask Draws the focus ring mask for the view. -// https://developer.apple.com/documentation/appkit/nsview/1483335-drawfocusringmask?language=objc +// DrawFocusRingMask draws the focus ring mask for the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483335-drawfocusringmask?language=objc for details. func (x gen_NSView) DrawFocusRingMask() { C.NSView_inst_drawFocusRingMask( unsafe.Pointer(x.Pointer()), @@ -24465,8 +25843,9 @@ func (x gen_NSView) DrawFocusRingMask() { } -// DrawPageBorderWithSize Allows applications that use the AppKit pagination facility to draw additional marks on each logical page. -// https://developer.apple.com/documentation/appkit/nsview/1483292-drawpageborderwithsize?language=objc +// DrawPageBorderWithSize allows applications that use the appkit pagination facility to draw additional marks on each logical page. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483292-drawpageborderwithsize?language=objc for details. func (x gen_NSView) DrawPageBorderWithSize( borderSize core.NSSize, ) { @@ -24479,8 +25858,9 @@ func (x gen_NSView) DrawPageBorderWithSize( } -// DrawRect Overridden by subclasses to draw the view’s image within the specified rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483686-drawrect?language=objc +// DrawRect overridden by subclasses to draw the view’s image within the specified rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483686-drawrect?language=objc for details. func (x gen_NSView) DrawRect( dirtyRect core.NSRect, ) { @@ -24493,8 +25873,9 @@ func (x gen_NSView) DrawRect( } -// EndDocument This method is invoked at the end of the printing session. -// https://developer.apple.com/documentation/appkit/nsview/1483610-enddocument?language=objc +// EndDocument this method is invoked at the end of the printing session. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483610-enddocument?language=objc for details. func (x gen_NSView) EndDocument() { C.NSView_inst_endDocument( unsafe.Pointer(x.Pointer()), @@ -24504,8 +25885,9 @@ func (x gen_NSView) EndDocument() { } -// EndPage Writes the end of a conforming page. -// https://developer.apple.com/documentation/appkit/nsview/1483549-endpage?language=objc +// EndPage writes the end of a conforming page. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483549-endpage?language=objc for details. func (x gen_NSView) EndPage() { C.NSView_inst_endPage( unsafe.Pointer(x.Pointer()), @@ -24515,8 +25897,9 @@ func (x gen_NSView) EndPage() { } -// EnterFullScreenMode_withOptions Sets the view to full screen mode. -// https://developer.apple.com/documentation/appkit/nsview/1483780-enterfullscreenmode?language=objc +// EnterFullScreenMode_withOptions sets the view to full screen mode. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483780-enterfullscreenmode?language=objc for details. func (x gen_NSView) EnterFullScreenMode_withOptions( screen NSScreenRef, options core.NSDictionaryRef, @@ -24531,8 +25914,9 @@ func (x gen_NSView) EnterFullScreenMode_withOptions( } -// ExerciseAmbiguityInLayout Randomly changes the frame of a view with an ambiguous layout between the different valid values. -// https://developer.apple.com/documentation/appkit/nsview/1526934-exerciseambiguityinlayout?language=objc +// ExerciseAmbiguityInLayout randomly changes the frame of a view with an ambiguous layout between the different valid values. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526934-exerciseambiguityinlayout?language=objc for details. func (x gen_NSView) ExerciseAmbiguityInLayout() { C.NSView_inst_exerciseAmbiguityInLayout( unsafe.Pointer(x.Pointer()), @@ -24542,8 +25926,9 @@ func (x gen_NSView) ExerciseAmbiguityInLayout() { } -// ExitFullScreenModeWithOptions Instructs the view to exit full screen mode. -// https://developer.apple.com/documentation/appkit/nsview/1483256-exitfullscreenmodewithoptions?language=objc +// ExitFullScreenModeWithOptions instructs the view to exit full screen mode. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483256-exitfullscreenmodewithoptions?language=objc for details. func (x gen_NSView) ExitFullScreenModeWithOptions( options core.NSDictionaryRef, ) { @@ -24556,8 +25941,9 @@ func (x gen_NSView) ExitFullScreenModeWithOptions( } -// FrameForAlignmentRect Returns the view’s frame for a given alignment rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1525584-frameforalignmentrect?language=objc +// FrameForAlignmentRect returns the view’s frame for a given alignment rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1525584-frameforalignmentrect?language=objc for details. func (x gen_NSView) FrameForAlignmentRect( alignmentRect core.NSRect, ) core.NSRect { @@ -24570,8 +25956,9 @@ func (x gen_NSView) FrameForAlignmentRect( } -// HitTest Returns the farthest descendant of the view in the view hierarchy (including itself) that contains a specified point, or nil if that point lies completely outside the view. -// https://developer.apple.com/documentation/appkit/nsview/1483364-hittest?language=objc +// HitTest returns the farthest descendant of the view in the view hierarchy (including itself) that contains a specified point, or nil if that point lies completely outside the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483364-hittest?language=objc for details. func (x gen_NSView) HitTest( point core.NSPoint, ) NSView { @@ -24584,8 +25971,9 @@ func (x gen_NSView) HitTest( } -// InitWithFrame_asNSView Initializes and returns a newly allocated NSView object with a specified frame rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483458-initwithframe?language=objc +// InitWithFrame initializes and returns a newly allocated nsview object with a specified frame rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483458-initwithframe?language=objc for details. func (x gen_NSView) InitWithFrame_asNSView( frameRect core.NSRect, ) NSView { @@ -24598,8 +25986,9 @@ func (x gen_NSView) InitWithFrame_asNSView( } -// InvalidateIntrinsicContentSize Invalidates the view’s intrinsic content size. -// https://developer.apple.com/documentation/appkit/nsview/1526864-invalidateintrinsiccontentsize?language=objc +// InvalidateIntrinsicContentSize invalidates the view’s intrinsic content size. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526864-invalidateintrinsiccontentsize?language=objc for details. func (x gen_NSView) InvalidateIntrinsicContentSize() { C.NSView_inst_invalidateIntrinsicContentSize( unsafe.Pointer(x.Pointer()), @@ -24609,8 +25998,9 @@ func (x gen_NSView) InvalidateIntrinsicContentSize() { } -// IsDescendantOf Returns YES if the view is a subview of a given view or if it’s identical to that view; otherwise, it returns NO. -// https://developer.apple.com/documentation/appkit/nsview/1483219-isdescendantof?language=objc +// IsDescendantOf returns yes if the view is a subview of a given view or if it’s identical to that view; otherwise, it returns no. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483219-isdescendantof?language=objc for details. func (x gen_NSView) IsDescendantOf( view NSViewRef, ) bool { @@ -24623,8 +26013,9 @@ func (x gen_NSView) IsDescendantOf( } -// Layout Perform layout in concert with the constraint-based layout system. -// https://developer.apple.com/documentation/appkit/nsview/1526146-layout?language=objc +// Layout perform layout in concert with the constraint-based layout system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526146-layout?language=objc for details. func (x gen_NSView) Layout() { C.NSView_inst_layout( unsafe.Pointer(x.Pointer()), @@ -24634,8 +26025,9 @@ func (x gen_NSView) Layout() { } -// LayoutSubtreeIfNeeded Updates the layout of the receiving view and its subviews based on the current views and constraints. -// https://developer.apple.com/documentation/appkit/nsview/1526871-layoutsubtreeifneeded?language=objc +// LayoutSubtreeIfNeeded updates the layout of the receiving view and its subviews based on the current views and constraints. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526871-layoutsubtreeifneeded?language=objc for details. func (x gen_NSView) LayoutSubtreeIfNeeded() { C.NSView_inst_layoutSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), @@ -24645,8 +26037,9 @@ func (x gen_NSView) LayoutSubtreeIfNeeded() { } -// LocationOfPrintRect Invoked by print: to determine the location of the region of the view being printed on the physical page. -// https://developer.apple.com/documentation/appkit/nsview/1483223-locationofprintrect?language=objc +// LocationOfPrintRect invoked by print: to determine the location of the region of the view being printed on the physical page. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483223-locationofprintrect?language=objc for details. func (x gen_NSView) LocationOfPrintRect( rect core.NSRect, ) core.NSPoint { @@ -24659,8 +26052,9 @@ func (x gen_NSView) LocationOfPrintRect( } -// MakeBackingLayer Creates the view’s backing layer. -// https://developer.apple.com/documentation/appkit/nsview/1483687-makebackinglayer?language=objc +// MakeBackingLayer creates the view’s backing layer. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483687-makebackinglayer?language=objc for details. func (x gen_NSView) MakeBackingLayer() core.CALayer { ret := C.NSView_inst_makeBackingLayer( unsafe.Pointer(x.Pointer()), @@ -24670,8 +26064,9 @@ func (x gen_NSView) MakeBackingLayer() core.CALayer { } -// MenuForEvent Overridden by subclasses to return a context-sensitive pop-up menu for a given mouse-down event. -// https://developer.apple.com/documentation/appkit/nsview/1483231-menuforevent?language=objc +// MenuForEvent overridden by subclasses to return a context-sensitive pop-up menu for a given mouse-down event. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483231-menuforevent?language=objc for details. func (x gen_NSView) MenuForEvent( event NSEventRef, ) NSMenu { @@ -24684,8 +26079,9 @@ func (x gen_NSView) MenuForEvent( } -// Mouse_inRect Returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. -// https://developer.apple.com/documentation/appkit/nsview/1483237-mouse?language=objc +// Mouse_inRect returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483237-mouse?language=objc for details. func (x gen_NSView) Mouse_inRect( point core.NSPoint, rect core.NSRect, @@ -24700,8 +26096,9 @@ func (x gen_NSView) Mouse_inRect( } -// NeedsToDrawRect Returns a Boolean value indicating whether the specified rectangle intersects any part of the area that the view is being asked to draw. -// https://developer.apple.com/documentation/appkit/nsview/1483570-needstodrawrect?language=objc +// NeedsToDrawRect returns a boolean value indicating whether the specified rectangle intersects any part of the area that the view is being asked to draw. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483570-needstodrawrect?language=objc for details. func (x gen_NSView) NeedsToDrawRect( rect core.NSRect, ) bool { @@ -24714,8 +26111,9 @@ func (x gen_NSView) NeedsToDrawRect( } -// NoteFocusRingMaskChanged Invoked to notify the view that the focus ring mask requires updating. -// https://developer.apple.com/documentation/appkit/nsview/1483809-notefocusringmaskchanged?language=objc +// NoteFocusRingMaskChanged invoked to notify the view that the focus ring mask requires updating. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483809-notefocusringmaskchanged?language=objc for details. func (x gen_NSView) NoteFocusRingMaskChanged() { C.NSView_inst_noteFocusRingMaskChanged( unsafe.Pointer(x.Pointer()), @@ -24725,8 +26123,9 @@ func (x gen_NSView) NoteFocusRingMaskChanged() { } -// PerformKeyEquivalent Implemented by subclasses to respond to key equivalents (also known as keyboard shortcuts). -// https://developer.apple.com/documentation/appkit/nsview/1483664-performkeyequivalent?language=objc +// PerformKeyEquivalent implemented by subclasses to respond to key equivalents (also known as keyboard shortcuts). +// +// See https://developer.apple.com/documentation/appkit/nsview/1483664-performkeyequivalent?language=objc for details. func (x gen_NSView) PerformKeyEquivalent( event NSEventRef, ) bool { @@ -24739,8 +26138,9 @@ func (x gen_NSView) PerformKeyEquivalent( } -// PrepareContentInRect Prepares the overdraw region for drawing. -// https://developer.apple.com/documentation/appkit/nsview/1483427-preparecontentinrect?language=objc +// PrepareContentInRect prepares the overdraw region for drawing. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483427-preparecontentinrect?language=objc for details. func (x gen_NSView) PrepareContentInRect( rect core.NSRect, ) { @@ -24753,8 +26153,9 @@ func (x gen_NSView) PrepareContentInRect( } -// PrepareForReuse Restores the view to an initial state so that it can be reused. -// https://developer.apple.com/documentation/appkit/nsview/1483626-prepareforreuse?language=objc +// PrepareForReuse restores the view to an initial state so that it can be reused. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483626-prepareforreuse?language=objc for details. func (x gen_NSView) PrepareForReuse() { C.NSView_inst_prepareForReuse( unsafe.Pointer(x.Pointer()), @@ -24764,8 +26165,9 @@ func (x gen_NSView) PrepareForReuse() { } -// Print This action method opens the Print panel, and if the user chooses an option other than canceling, prints the view and all its subviews to the device specified in the Print panel. -// https://developer.apple.com/documentation/appkit/nsview/1483705-print?language=objc +// Print this action method opens the print panel, and if the user chooses an option other than canceling, prints the view and all its subviews to the device specified in the print panel. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483705-print?language=objc for details. func (x gen_NSView) Print( sender objc.Ref, ) { @@ -24778,8 +26180,9 @@ func (x gen_NSView) Print( } -// RectForPage Implemented by subclasses to determine the portion of the view to be printed for the specified page number. -// https://developer.apple.com/documentation/appkit/nsview/1483252-rectforpage?language=objc +// RectForPage implemented by subclasses to determine the portion of the view to be printed for the specified page number. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483252-rectforpage?language=objc for details. func (x gen_NSView) RectForPage( page core.NSInteger, ) core.NSRect { @@ -24792,8 +26195,9 @@ func (x gen_NSView) RectForPage( } -// RectForSmartMagnificationAtPoint_inRect Returns the appropriate rectangle to use when magnifying around the specified point. -// https://developer.apple.com/documentation/appkit/nsview/1483305-rectforsmartmagnificationatpoint?language=objc +// RectForSmartMagnificationAtPoint_inRect returns the appropriate rectangle to use when magnifying around the specified point. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483305-rectforsmartmagnificationatpoint?language=objc for details. func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( location core.NSPoint, visibleRect core.NSRect, @@ -24808,8 +26212,9 @@ func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( } -// RegisterForDraggedTypes Registers the pasteboard types that the view will accept as the destination of an image-dragging session. -// https://developer.apple.com/documentation/appkit/nsview/1483578-registerfordraggedtypes?language=objc +// RegisterForDraggedTypes registers the pasteboard types that the view will accept as the destination of an image-dragging session. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483578-registerfordraggedtypes?language=objc for details. func (x gen_NSView) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { @@ -24822,8 +26227,9 @@ func (x gen_NSView) RegisterForDraggedTypes( } -// RemoveAllToolTips Removes all tooltips assigned to the view. -// https://developer.apple.com/documentation/appkit/nsview/1483801-removealltooltips?language=objc +// RemoveAllToolTips removes all tooltips assigned to the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483801-removealltooltips?language=objc for details. func (x gen_NSView) RemoveAllToolTips() { C.NSView_inst_removeAllToolTips( unsafe.Pointer(x.Pointer()), @@ -24833,8 +26239,9 @@ func (x gen_NSView) RemoveAllToolTips() { } -// RemoveConstraints Removes the specified constraints from the view. -// https://developer.apple.com/documentation/appkit/nsview/1526932-removeconstraints?language=objc +// RemoveConstraints removes the specified constraints from the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526932-removeconstraints?language=objc for details. func (x gen_NSView) RemoveConstraints( constraints core.NSArrayRef, ) { @@ -24847,8 +26254,9 @@ func (x gen_NSView) RemoveConstraints( } -// RemoveFromSuperview Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles. -// https://developer.apple.com/documentation/appkit/nsview/1483265-removefromsuperview?language=objc +// RemoveFromSuperview unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483265-removefromsuperview?language=objc for details. func (x gen_NSView) RemoveFromSuperview() { C.NSView_inst_removeFromSuperview( unsafe.Pointer(x.Pointer()), @@ -24858,8 +26266,9 @@ func (x gen_NSView) RemoveFromSuperview() { } -// RemoveFromSuperviewWithoutNeedingDisplay Unlinks the view from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing. -// https://developer.apple.com/documentation/appkit/nsview/1483644-removefromsuperviewwithoutneedin?language=objc +// RemoveFromSuperviewWithoutNeedingDisplay unlinks the view from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483644-removefromsuperviewwithoutneedin?language=objc for details. func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { C.NSView_inst_removeFromSuperviewWithoutNeedingDisplay( unsafe.Pointer(x.Pointer()), @@ -24869,8 +26278,9 @@ func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { } -// ReplaceSubview_with Replaces one of the view’s subviews with another view. -// https://developer.apple.com/documentation/appkit/nsview/1483632-replacesubview?language=objc +// ReplaceSubview_with replaces one of the view’s subviews with another view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483632-replacesubview?language=objc for details. func (x gen_NSView) ReplaceSubview_with( oldView NSViewRef, newView NSViewRef, @@ -24885,8 +26295,9 @@ func (x gen_NSView) ReplaceSubview_with( } -// ResetCursorRects Overridden by subclasses to define their default cursor rectangles. -// https://developer.apple.com/documentation/appkit/nsview/1483448-resetcursorrects?language=objc +// ResetCursorRects overridden by subclasses to define their default cursor rectangles. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483448-resetcursorrects?language=objc for details. func (x gen_NSView) ResetCursorRects() { C.NSView_inst_resetCursorRects( unsafe.Pointer(x.Pointer()), @@ -24896,8 +26307,9 @@ func (x gen_NSView) ResetCursorRects() { } -// ResizeSubviewsWithOldSize Informs the view’s subviews that the view’s bounds rectangle size has changed. -// https://developer.apple.com/documentation/appkit/nsview/1483495-resizesubviewswitholdsize?language=objc +// ResizeSubviewsWithOldSize informs the view’s subviews that the view’s bounds rectangle size has changed. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483495-resizesubviewswitholdsize?language=objc for details. func (x gen_NSView) ResizeSubviewsWithOldSize( oldSize core.NSSize, ) { @@ -24910,8 +26322,9 @@ func (x gen_NSView) ResizeSubviewsWithOldSize( } -// ResizeWithOldSuperviewSize Informs the view that the bounds size of its superview has changed. -// https://developer.apple.com/documentation/appkit/nsview/1483697-resizewitholdsuperviewsize?language=objc +// ResizeWithOldSuperviewSize informs the view that the bounds size of its superview has changed. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483697-resizewitholdsuperviewsize?language=objc for details. func (x gen_NSView) ResizeWithOldSuperviewSize( oldSize core.NSSize, ) { @@ -24924,8 +26337,9 @@ func (x gen_NSView) ResizeWithOldSuperviewSize( } -// RotateByAngle Rotates the view’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0). -// https://developer.apple.com/documentation/appkit/nsview/1483444-rotatebyangle?language=objc +// RotateByAngle rotates the view’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0). +// +// See https://developer.apple.com/documentation/appkit/nsview/1483444-rotatebyangle?language=objc for details. func (x gen_NSView) RotateByAngle( angle core.CGFloat, ) { @@ -24938,8 +26352,9 @@ func (x gen_NSView) RotateByAngle( } -// ScaleUnitSquareToSize Scales the view’s coordinate system so that the unit square scales to the specified dimensions. -// https://developer.apple.com/documentation/appkit/nsview/1483721-scaleunitsquaretosize?language=objc +// ScaleUnitSquareToSize scales the view’s coordinate system so that the unit square scales to the specified dimensions. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483721-scaleunitsquaretosize?language=objc for details. func (x gen_NSView) ScaleUnitSquareToSize( newUnitSize core.NSSize, ) { @@ -24952,8 +26367,9 @@ func (x gen_NSView) ScaleUnitSquareToSize( } -// ScrollPoint Scrolls the view’s closest ancestor NSClipView object so a point in the view lies at the origin of the clip view's bounds rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483394-scrollpoint?language=objc +// ScrollPoint scrolls the view’s closest ancestor nsclipview object so a point in the view lies at the origin of the clip view's bounds rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483394-scrollpoint?language=objc for details. func (x gen_NSView) ScrollPoint( point core.NSPoint, ) { @@ -24966,8 +26382,9 @@ func (x gen_NSView) ScrollPoint( } -// ScrollRectToVisible Scrolls the view’s closest ancestor NSClipView object the minimum distance needed so a specified region of the view becomes visible in the clip view. -// https://developer.apple.com/documentation/appkit/nsview/1483811-scrollrecttovisible?language=objc +// ScrollRectToVisible scrolls the view’s closest ancestor nsclipview object the minimum distance needed so a specified region of the view becomes visible in the clip view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483811-scrollrecttovisible?language=objc for details. func (x gen_NSView) ScrollRectToVisible( rect core.NSRect, ) bool { @@ -24980,8 +26397,9 @@ func (x gen_NSView) ScrollRectToVisible( } -// SetBoundsOrigin Sets the origin of the view’s bounds rectangle to a specified point. -// https://developer.apple.com/documentation/appkit/nsview/1483345-setboundsorigin?language=objc +// SetBoundsOrigin sets the origin of the view’s bounds rectangle to a specified point. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483345-setboundsorigin?language=objc for details. func (x gen_NSView) SetBoundsOrigin( newOrigin core.NSPoint, ) { @@ -24994,8 +26412,9 @@ func (x gen_NSView) SetBoundsOrigin( } -// SetBoundsSize Sets the size of the view’s bounds rectangle to specified dimensions, inversely scaling its coordinate system relative to its frame rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483399-setboundssize?language=objc +// SetBoundsSize sets the size of the view’s bounds rectangle to specified dimensions, inversely scaling its coordinate system relative to its frame rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483399-setboundssize?language=objc for details. func (x gen_NSView) SetBoundsSize( newSize core.NSSize, ) { @@ -25008,8 +26427,9 @@ func (x gen_NSView) SetBoundsSize( } -// SetFrameOrigin Sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview. -// https://developer.apple.com/documentation/appkit/nsview/1483283-setframeorigin?language=objc +// SetFrameOrigin sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483283-setframeorigin?language=objc for details. func (x gen_NSView) SetFrameOrigin( newOrigin core.NSPoint, ) { @@ -25022,8 +26442,9 @@ func (x gen_NSView) SetFrameOrigin( } -// SetFrameSize Sets the size of the view’s frame rectangle to the specified dimensions, resizing it within its superview without affecting its coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483530-setframesize?language=objc +// SetFrameSize sets the size of the view’s frame rectangle to the specified dimensions, resizing it within its superview without affecting its coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483530-setframesize?language=objc for details. func (x gen_NSView) SetFrameSize( newSize core.NSSize, ) { @@ -25036,8 +26457,9 @@ func (x gen_NSView) SetFrameSize( } -// SetKeyboardFocusRingNeedsDisplayInRect Invalidates the area around the focus ring. -// https://developer.apple.com/documentation/appkit/nsview/1483556-setkeyboardfocusringneedsdisplay?language=objc +// SetKeyboardFocusRingNeedsDisplayInRect invalidates the area around the focus ring. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483556-setkeyboardfocusringneedsdisplay?language=objc for details. func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( rect core.NSRect, ) { @@ -25050,8 +26472,9 @@ func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( } -// SetNeedsDisplayInRect Marks the region of the view within the specified rectangle as needing display, increasing the view’s existing invalid region to include it. -// https://developer.apple.com/documentation/appkit/nsview/1483475-setneedsdisplayinrect?language=objc +// SetNeedsDisplayInRect marks the region of the view within the specified rectangle as needing display, increasing the view’s existing invalid region to include it. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483475-setneedsdisplayinrect?language=objc for details. func (x gen_NSView) SetNeedsDisplayInRect( invalidRect core.NSRect, ) { @@ -25064,8 +26487,9 @@ func (x gen_NSView) SetNeedsDisplayInRect( } -// ShouldDelayWindowOrderingForEvent Allows the user to drag objects from the view without activating the app or moving the window of the view forward, possibly obscuring the destination. -// https://developer.apple.com/documentation/appkit/nsview/1483244-shoulddelaywindoworderingforeven?language=objc +// ShouldDelayWindowOrderingForEvent allows the user to drag objects from the view without activating the app or moving the window of the view forward, possibly obscuring the destination. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483244-shoulddelaywindoworderingforeven?language=objc for details. func (x gen_NSView) ShouldDelayWindowOrderingForEvent( event NSEventRef, ) bool { @@ -25078,8 +26502,9 @@ func (x gen_NSView) ShouldDelayWindowOrderingForEvent( } -// ShowDefinitionForAttributedString_atPoint Shows a window displaying the definition of the attributed string at the specified point. -// https://developer.apple.com/documentation/appkit/nsview/1483747-showdefinitionforattributedstrin?language=objc +// ShowDefinitionForAttributedString_atPoint shows a window displaying the definition of the attributed string at the specified point. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483747-showdefinitionforattributedstrin?language=objc for details. func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( attrString core.NSAttributedStringRef, textBaselineOrigin core.NSPoint, @@ -25094,8 +26519,9 @@ func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( } -// TranslateOriginToPoint Translates the view’s coordinate system so that its origin moves to a new location. -// https://developer.apple.com/documentation/appkit/nsview/1483385-translateorigintopoint?language=objc +// TranslateOriginToPoint translates the view’s coordinate system so that its origin moves to a new location. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483385-translateorigintopoint?language=objc for details. func (x gen_NSView) TranslateOriginToPoint( translation core.NSPoint, ) { @@ -25108,8 +26534,9 @@ func (x gen_NSView) TranslateOriginToPoint( } -// TranslateRectsNeedingDisplayInRect_by Translates the display rectangles by the specified delta. -// https://developer.apple.com/documentation/appkit/nsview/1483731-translaterectsneedingdisplayinre?language=objc +// TranslateRectsNeedingDisplayInRect_by translates the display rectangles by the specified delta. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483731-translaterectsneedingdisplayinre?language=objc for details. func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( clipRect core.NSRect, delta core.NSSize, @@ -25124,8 +26551,9 @@ func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( } -// UnregisterDraggedTypes Unregisters the view as a possible destination in a dragging session. -// https://developer.apple.com/documentation/appkit/nsview/1483602-unregisterdraggedtypes?language=objc +// UnregisterDraggedTypes unregisters the view as a possible destination in a dragging session. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483602-unregisterdraggedtypes?language=objc for details. func (x gen_NSView) UnregisterDraggedTypes() { C.NSView_inst_unregisterDraggedTypes( unsafe.Pointer(x.Pointer()), @@ -25135,8 +26563,9 @@ func (x gen_NSView) UnregisterDraggedTypes() { } -// UpdateConstraints Update constraints for the view. -// https://developer.apple.com/documentation/appkit/nsview/1526891-updateconstraints?language=objc +// UpdateConstraints update constraints for the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526891-updateconstraints?language=objc for details. func (x gen_NSView) UpdateConstraints() { C.NSView_inst_updateConstraints( unsafe.Pointer(x.Pointer()), @@ -25146,8 +26575,9 @@ func (x gen_NSView) UpdateConstraints() { } -// UpdateConstraintsForSubtreeIfNeeded Updates the constraints for the receiving view and its subviews. -// https://developer.apple.com/documentation/appkit/nsview/1526939-updateconstraintsforsubtreeifnee?language=objc +// UpdateConstraintsForSubtreeIfNeeded updates the constraints for the receiving view and its subviews. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526939-updateconstraintsforsubtreeifnee?language=objc for details. func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { C.NSView_inst_updateConstraintsForSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), @@ -25157,8 +26587,9 @@ func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { } -// UpdateLayer Updates the view’s content by modifying its underlying layer. -// https://developer.apple.com/documentation/appkit/nsview/1483580-updatelayer?language=objc +// UpdateLayer updates the view’s content by modifying its underlying layer. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483580-updatelayer?language=objc for details. func (x gen_NSView) UpdateLayer() { C.NSView_inst_updateLayer( unsafe.Pointer(x.Pointer()), @@ -25168,8 +26599,9 @@ func (x gen_NSView) UpdateLayer() { } -// UpdateTrackingAreas Invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated. -// https://developer.apple.com/documentation/appkit/nsview/1483719-updatetrackingareas?language=objc +// UpdateTrackingAreas invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483719-updatetrackingareas?language=objc for details. func (x gen_NSView) UpdateTrackingAreas() { C.NSView_inst_updateTrackingAreas( unsafe.Pointer(x.Pointer()), @@ -25179,8 +26611,9 @@ func (x gen_NSView) UpdateTrackingAreas() { } -// ViewDidChangeBackingProperties Responds when the view’s backing store properties change. -// https://developer.apple.com/documentation/appkit/nsview/1483742-viewdidchangebackingproperties?language=objc +// ViewDidChangeBackingProperties responds when the view’s backing store properties change. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483742-viewdidchangebackingproperties?language=objc for details. func (x gen_NSView) ViewDidChangeBackingProperties() { C.NSView_inst_viewDidChangeBackingProperties( unsafe.Pointer(x.Pointer()), @@ -25191,7 +26624,8 @@ func (x gen_NSView) ViewDidChangeBackingProperties() { } // ViewDidChangeEffectiveAppearance -// https://developer.apple.com/documentation/appkit/nsview/2977088-viewdidchangeeffectiveappearance?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsview/2977088-viewdidchangeeffectiveappearance?language=objc for details. func (x gen_NSView) ViewDidChangeEffectiveAppearance() { C.NSView_inst_viewDidChangeEffectiveAppearance( unsafe.Pointer(x.Pointer()), @@ -25201,8 +26635,9 @@ func (x gen_NSView) ViewDidChangeEffectiveAppearance() { } -// ViewDidEndLiveResize Informs the view of the end of a live resize—the user has finished resizing the view. -// https://developer.apple.com/documentation/appkit/nsview/1483543-viewdidendliveresize?language=objc +// ViewDidEndLiveResize informs the view of the end of a live resize—the user has finished resizing the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483543-viewdidendliveresize?language=objc for details. func (x gen_NSView) ViewDidEndLiveResize() { C.NSView_inst_viewDidEndLiveResize( unsafe.Pointer(x.Pointer()), @@ -25212,8 +26647,9 @@ func (x gen_NSView) ViewDidEndLiveResize() { } -// ViewDidHide Invoked when the view is hidden, either directly, or in response to an ancestor being hidden. -// https://developer.apple.com/documentation/appkit/nsview/1483596-viewdidhide?language=objc +// ViewDidHide invoked when the view is hidden, either directly, or in response to an ancestor being hidden. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483596-viewdidhide?language=objc for details. func (x gen_NSView) ViewDidHide() { C.NSView_inst_viewDidHide( unsafe.Pointer(x.Pointer()), @@ -25223,8 +26659,9 @@ func (x gen_NSView) ViewDidHide() { } -// ViewDidMoveToSuperview Informs the view that its superview has changed (possibly to nil). -// https://developer.apple.com/documentation/appkit/nsview/1483568-viewdidmovetosuperview?language=objc +// ViewDidMoveToSuperview informs the view that its superview has changed (possibly to nil). +// +// See https://developer.apple.com/documentation/appkit/nsview/1483568-viewdidmovetosuperview?language=objc for details. func (x gen_NSView) ViewDidMoveToSuperview() { C.NSView_inst_viewDidMoveToSuperview( unsafe.Pointer(x.Pointer()), @@ -25234,8 +26671,9 @@ func (x gen_NSView) ViewDidMoveToSuperview() { } -// ViewDidMoveToWindow Informs the view that it has been added to a new view hierarchy. -// https://developer.apple.com/documentation/appkit/nsview/1483329-viewdidmovetowindow?language=objc +// ViewDidMoveToWindow informs the view that it has been added to a new view hierarchy. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483329-viewdidmovetowindow?language=objc for details. func (x gen_NSView) ViewDidMoveToWindow() { C.NSView_inst_viewDidMoveToWindow( unsafe.Pointer(x.Pointer()), @@ -25245,8 +26683,9 @@ func (x gen_NSView) ViewDidMoveToWindow() { } -// ViewDidUnhide Invoked when the view is unhidden, either directly, or in response to an ancestor being unhidden -// https://developer.apple.com/documentation/appkit/nsview/1483275-viewdidunhide?language=objc +// ViewDidUnhide invoked when the view is unhidden, either directly, or in response to an ancestor being unhidden +// +// See https://developer.apple.com/documentation/appkit/nsview/1483275-viewdidunhide?language=objc for details. func (x gen_NSView) ViewDidUnhide() { C.NSView_inst_viewDidUnhide( unsafe.Pointer(x.Pointer()), @@ -25256,8 +26695,9 @@ func (x gen_NSView) ViewDidUnhide() { } -// ViewWillDraw Informs the view that it’s required to draw content. -// https://developer.apple.com/documentation/appkit/nsview/1483351-viewwilldraw?language=objc +// ViewWillDraw informs the view that it’s required to draw content. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483351-viewwilldraw?language=objc for details. func (x gen_NSView) ViewWillDraw() { C.NSView_inst_viewWillDraw( unsafe.Pointer(x.Pointer()), @@ -25267,8 +26707,9 @@ func (x gen_NSView) ViewWillDraw() { } -// ViewWillMoveToSuperview Informs the view that its superview is about to change to the specified superview (which may be nil). -// https://developer.apple.com/documentation/appkit/nsview/1483545-viewwillmovetosuperview?language=objc +// ViewWillMoveToSuperview informs the view that its superview is about to change to the specified superview (which may be nil). +// +// See https://developer.apple.com/documentation/appkit/nsview/1483545-viewwillmovetosuperview?language=objc for details. func (x gen_NSView) ViewWillMoveToSuperview( newSuperview NSViewRef, ) { @@ -25281,8 +26722,9 @@ func (x gen_NSView) ViewWillMoveToSuperview( } -// ViewWillMoveToWindow Informs the view that it’s being added to the view hierarchy of the specified window object (which may be nil). -// https://developer.apple.com/documentation/appkit/nsview/1483415-viewwillmovetowindow?language=objc +// ViewWillMoveToWindow informs the view that it’s being added to the view hierarchy of the specified window object (which may be nil). +// +// See https://developer.apple.com/documentation/appkit/nsview/1483415-viewwillmovetowindow?language=objc for details. func (x gen_NSView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { @@ -25295,8 +26737,9 @@ func (x gen_NSView) ViewWillMoveToWindow( } -// ViewWillStartLiveResize Informs the view of the start of a live resize—the user has started resizing the view. -// https://developer.apple.com/documentation/appkit/nsview/1483620-viewwillstartliveresize?language=objc +// ViewWillStartLiveResize informs the view of the start of a live resize—the user has started resizing the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483620-viewwillstartliveresize?language=objc for details. func (x gen_NSView) ViewWillStartLiveResize() { C.NSView_inst_viewWillStartLiveResize( unsafe.Pointer(x.Pointer()), @@ -25306,8 +26749,9 @@ func (x gen_NSView) ViewWillStartLiveResize() { } -// ViewWithTag Returns the view’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag. -// https://developer.apple.com/documentation/appkit/nsview/1483294-viewwithtag?language=objc +// ViewWithTag returns the view’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483294-viewwithtag?language=objc for details. func (x gen_NSView) ViewWithTag( tag core.NSInteger, ) NSView { @@ -25320,8 +26764,9 @@ func (x gen_NSView) ViewWithTag( } -// WillOpenMenu_withEvent Called just before a contextual menu for a view is opened on screen. -// https://developer.apple.com/documentation/appkit/nsview/1483429-willopenmenu?language=objc +// WillOpenMenu_withEvent called just before a contextual menu for a view is opened on screen. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483429-willopenmenu?language=objc for details. func (x gen_NSView) WillOpenMenu_withEvent( menu NSMenuRef, event NSEventRef, @@ -25336,8 +26781,9 @@ func (x gen_NSView) WillOpenMenu_withEvent( } -// WillRemoveSubview Overridden by subclasses to perform additional actions before subviews are removed from the view. -// https://developer.apple.com/documentation/appkit/nsview/1483624-willremovesubview?language=objc +// WillRemoveSubview overridden by subclasses to perform additional actions before subviews are removed from the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483624-willremovesubview?language=objc for details. func (x gen_NSView) WillRemoveSubview( subview NSViewRef, ) { @@ -25350,8 +26796,9 @@ func (x gen_NSView) WillRemoveSubview( } -// WriteEPSInsideRect_toPasteboard Writes EPS data that draws the region of the view within a specified rectangle onto a pasteboard. -// https://developer.apple.com/documentation/appkit/nsview/1483235-writeepsinsiderect?language=objc +// WriteEPSInsideRect_toPasteboard writes eps data that draws the region of the view within a specified rectangle onto a pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483235-writeepsinsiderect?language=objc for details. func (x gen_NSView) WriteEPSInsideRect_toPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, @@ -25366,8 +26813,9 @@ func (x gen_NSView) WriteEPSInsideRect_toPasteboard( } -// WritePDFInsideRect_toPasteboard Writes PDF data that draws the region of the view within a specified rectangle onto a pasteboard. -// https://developer.apple.com/documentation/appkit/nsview/1483499-writepdfinsiderect?language=objc +// WritePDFInsideRect_toPasteboard writes pdf data that draws the region of the view within a specified rectangle onto a pasteboard. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483499-writepdfinsiderect?language=objc for details. func (x gen_NSView) WritePDFInsideRect_toPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, @@ -25382,7 +26830,9 @@ func (x gen_NSView) WritePDFInsideRect_toPasteboard( } -// Init_asNSView +// Init +// +// See for details. func (x gen_NSView) Init_asNSView() NSView { ret := C.NSView_inst_init( unsafe.Pointer(x.Pointer()), @@ -25392,8 +26842,9 @@ func (x gen_NSView) Init_asNSView() NSView { } -// Superview The view that is the parent of the current view. -// https://developer.apple.com/documentation/appkit/nsview/1483737-superview?language=objc +// Superview returns the view that is the parent of the current view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483737-superview?language=objc for details. func (x gen_NSView) Superview() NSView { ret := C.NSView_inst_superview( unsafe.Pointer(x.Pointer()), @@ -25403,8 +26854,9 @@ func (x gen_NSView) Superview() NSView { } -// Subviews The array of views embedded in the current view. -// https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc +// Subviews returns the array of views embedded in the current view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc for details. func (x gen_NSView) Subviews() core.NSArray { ret := C.NSView_inst_subviews( unsafe.Pointer(x.Pointer()), @@ -25414,8 +26866,9 @@ func (x gen_NSView) Subviews() core.NSArray { } -// SetSubviews The array of views embedded in the current view. -// https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc +// SetSubviews returns the array of views embedded in the current view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc for details. func (x gen_NSView) SetSubviews( value core.NSArrayRef, ) { @@ -25428,8 +26881,9 @@ func (x gen_NSView) SetSubviews( } -// Window The view’s window object, if it is installed in a window. -// https://developer.apple.com/documentation/appkit/nsview/1483301-window?language=objc +// Window returns the view’s window object, if it is installed in a window. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483301-window?language=objc for details. func (x gen_NSView) Window() NSWindow { ret := C.NSView_inst_window( unsafe.Pointer(x.Pointer()), @@ -25439,8 +26893,9 @@ func (x gen_NSView) Window() NSWindow { } -// OpaqueAncestor The view’s closest opaque ancestor, which might be the view itself. -// https://developer.apple.com/documentation/appkit/nsview/1483383-opaqueancestor?language=objc +// OpaqueAncestor returns the view’s closest opaque ancestor, which might be the view itself. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483383-opaqueancestor?language=objc for details. func (x gen_NSView) OpaqueAncestor() NSView { ret := C.NSView_inst_opaqueAncestor( unsafe.Pointer(x.Pointer()), @@ -25450,8 +26905,9 @@ func (x gen_NSView) OpaqueAncestor() NSView { } -// EnclosingMenuItem The menu item containing the view or any of its superviews in the view hierarchy. -// https://developer.apple.com/documentation/appkit/nsview/1514865-enclosingmenuitem?language=objc +// EnclosingMenuItem returns the menu item containing the view or any of its superviews in the view hierarchy. +// +// See https://developer.apple.com/documentation/appkit/nsview/1514865-enclosingmenuitem?language=objc for details. func (x gen_NSView) EnclosingMenuItem() NSMenuItem { ret := C.NSView_inst_enclosingMenuItem( unsafe.Pointer(x.Pointer()), @@ -25461,8 +26917,9 @@ func (x gen_NSView) EnclosingMenuItem() NSMenuItem { } -// Frame The view’s frame rectangle, which defines its position and size in its superview’s coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc +// Frame returns the view’s frame rectangle, which defines its position and size in its superview’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc for details. func (x gen_NSView) Frame() core.NSRect { ret := C.NSView_inst_frame( unsafe.Pointer(x.Pointer()), @@ -25472,8 +26929,9 @@ func (x gen_NSView) Frame() core.NSRect { } -// SetFrame The view’s frame rectangle, which defines its position and size in its superview’s coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc +// SetFrame returns the view’s frame rectangle, which defines its position and size in its superview’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc for details. func (x gen_NSView) SetFrame( value core.NSRect, ) { @@ -25486,8 +26944,9 @@ func (x gen_NSView) SetFrame( } -// FrameRotation The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc +// FrameRotation returns the angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc for details. func (x gen_NSView) FrameRotation() core.CGFloat { ret := C.NSView_inst_frameRotation( unsafe.Pointer(x.Pointer()), @@ -25497,8 +26956,9 @@ func (x gen_NSView) FrameRotation() core.CGFloat { } -// SetFrameRotation The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc +// SetFrameRotation returns the angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc for details. func (x gen_NSView) SetFrameRotation( value core.CGFloat, ) { @@ -25511,8 +26971,9 @@ func (x gen_NSView) SetFrameRotation( } -// Bounds The view’s bounds rectangle, which expresses its location and size in its own coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc +// Bounds returns the view’s bounds rectangle, which expresses its location and size in its own coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc for details. func (x gen_NSView) Bounds() core.NSRect { ret := C.NSView_inst_bounds( unsafe.Pointer(x.Pointer()), @@ -25522,8 +26983,9 @@ func (x gen_NSView) Bounds() core.NSRect { } -// SetBounds The view’s bounds rectangle, which expresses its location and size in its own coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc +// SetBounds returns the view’s bounds rectangle, which expresses its location and size in its own coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc for details. func (x gen_NSView) SetBounds( value core.NSRect, ) { @@ -25536,8 +26998,9 @@ func (x gen_NSView) SetBounds( } -// BoundsRotation The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc +// BoundsRotation returns the angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc for details. func (x gen_NSView) BoundsRotation() core.CGFloat { ret := C.NSView_inst_boundsRotation( unsafe.Pointer(x.Pointer()), @@ -25547,8 +27010,9 @@ func (x gen_NSView) BoundsRotation() core.CGFloat { } -// SetBoundsRotation The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. -// https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc +// SetBoundsRotation returns the angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc for details. func (x gen_NSView) SetBoundsRotation( value core.CGFloat, ) { @@ -25561,8 +27025,9 @@ func (x gen_NSView) SetBoundsRotation( } -// WantsLayer A Boolean value indicating whether the view uses a layer as its backing store. -// https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc +// WantsLayer returns a boolean value indicating whether the view uses a layer as its backing store. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc for details. func (x gen_NSView) WantsLayer() bool { ret := C.NSView_inst_wantsLayer( unsafe.Pointer(x.Pointer()), @@ -25572,8 +27037,9 @@ func (x gen_NSView) WantsLayer() bool { } -// SetWantsLayer A Boolean value indicating whether the view uses a layer as its backing store. -// https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc +// SetWantsLayer returns a boolean value indicating whether the view uses a layer as its backing store. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc for details. func (x gen_NSView) SetWantsLayer( value bool, ) { @@ -25586,8 +27052,9 @@ func (x gen_NSView) SetWantsLayer( } -// WantsUpdateLayer A Boolean value indicating which drawing path the view takes when updating its contents. -// https://developer.apple.com/documentation/appkit/nsview/1483461-wantsupdatelayer?language=objc +// WantsUpdateLayer returns a boolean value indicating which drawing path the view takes when updating its contents. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483461-wantsupdatelayer?language=objc for details. func (x gen_NSView) WantsUpdateLayer() bool { ret := C.NSView_inst_wantsUpdateLayer( unsafe.Pointer(x.Pointer()), @@ -25597,8 +27064,9 @@ func (x gen_NSView) WantsUpdateLayer() bool { } -// Layer The Core Animation layer that the view uses as its backing store. -// https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc +// Layer returns the core animation layer that the view uses as its backing store. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc for details. func (x gen_NSView) Layer() core.CALayer { ret := C.NSView_inst_layer( unsafe.Pointer(x.Pointer()), @@ -25608,8 +27076,9 @@ func (x gen_NSView) Layer() core.CALayer { } -// SetLayer The Core Animation layer that the view uses as its backing store. -// https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc +// SetLayer returns the core animation layer that the view uses as its backing store. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc for details. func (x gen_NSView) SetLayer( value core.CALayerRef, ) { @@ -25622,8 +27091,9 @@ func (x gen_NSView) SetLayer( } -// CanDrawSubviewsIntoLayer A Boolean value indicating whether the view incorporates content from its subviews into its own layer. -// https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc +// CanDrawSubviewsIntoLayer returns a boolean value indicating whether the view incorporates content from its subviews into its own layer. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc for details. func (x gen_NSView) CanDrawSubviewsIntoLayer() bool { ret := C.NSView_inst_canDrawSubviewsIntoLayer( unsafe.Pointer(x.Pointer()), @@ -25633,8 +27103,9 @@ func (x gen_NSView) CanDrawSubviewsIntoLayer() bool { } -// SetCanDrawSubviewsIntoLayer A Boolean value indicating whether the view incorporates content from its subviews into its own layer. -// https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc +// SetCanDrawSubviewsIntoLayer returns a boolean value indicating whether the view incorporates content from its subviews into its own layer. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc for details. func (x gen_NSView) SetCanDrawSubviewsIntoLayer( value bool, ) { @@ -25647,8 +27118,9 @@ func (x gen_NSView) SetCanDrawSubviewsIntoLayer( } -// LayerUsesCoreImageFilters A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering. -// https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc +// LayerUsesCoreImageFilters returns a boolean value indicating whether the view’s layer uses core image filters and needs in-process rendering. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc for details. func (x gen_NSView) LayerUsesCoreImageFilters() bool { ret := C.NSView_inst_layerUsesCoreImageFilters( unsafe.Pointer(x.Pointer()), @@ -25658,8 +27130,9 @@ func (x gen_NSView) LayerUsesCoreImageFilters() bool { } -// SetLayerUsesCoreImageFilters A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering. -// https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc +// SetLayerUsesCoreImageFilters returns a boolean value indicating whether the view’s layer uses core image filters and needs in-process rendering. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc for details. func (x gen_NSView) SetLayerUsesCoreImageFilters( value bool, ) { @@ -25672,8 +27145,9 @@ func (x gen_NSView) SetLayerUsesCoreImageFilters( } -// AlphaValue The opacity of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc +// AlphaValue returns the opacity of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc for details. func (x gen_NSView) AlphaValue() core.CGFloat { ret := C.NSView_inst_alphaValue( unsafe.Pointer(x.Pointer()), @@ -25683,8 +27157,9 @@ func (x gen_NSView) AlphaValue() core.CGFloat { } -// SetAlphaValue The opacity of the view. -// https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc +// SetAlphaValue returns the opacity of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc for details. func (x gen_NSView) SetAlphaValue( value core.CGFloat, ) { @@ -25697,8 +27172,9 @@ func (x gen_NSView) SetAlphaValue( } -// FrameCenterRotation The rotation angle of the view around the center of its layer. -// https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc +// FrameCenterRotation returns the rotation angle of the view around the center of its layer. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc for details. func (x gen_NSView) FrameCenterRotation() core.CGFloat { ret := C.NSView_inst_frameCenterRotation( unsafe.Pointer(x.Pointer()), @@ -25708,8 +27184,9 @@ func (x gen_NSView) FrameCenterRotation() core.CGFloat { } -// SetFrameCenterRotation The rotation angle of the view around the center of its layer. -// https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc +// SetFrameCenterRotation returns the rotation angle of the view around the center of its layer. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc for details. func (x gen_NSView) SetFrameCenterRotation( value core.CGFloat, ) { @@ -25722,8 +27199,9 @@ func (x gen_NSView) SetFrameCenterRotation( } -// BackgroundFilters An array of Core Image filters to apply to the view’s background. -// https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc +// BackgroundFilters an array of core image filters to apply to the view’s background. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc for details. func (x gen_NSView) BackgroundFilters() core.NSArray { ret := C.NSView_inst_backgroundFilters( unsafe.Pointer(x.Pointer()), @@ -25733,8 +27211,9 @@ func (x gen_NSView) BackgroundFilters() core.NSArray { } -// SetBackgroundFilters An array of Core Image filters to apply to the view’s background. -// https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc +// SetBackgroundFilters an array of core image filters to apply to the view’s background. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc for details. func (x gen_NSView) SetBackgroundFilters( value core.NSArrayRef, ) { @@ -25747,8 +27226,9 @@ func (x gen_NSView) SetBackgroundFilters( } -// ContentFilters An array of Core Image filters to apply to the contents of the view and its sublayers. -// https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc +// ContentFilters an array of core image filters to apply to the contents of the view and its sublayers. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc for details. func (x gen_NSView) ContentFilters() core.NSArray { ret := C.NSView_inst_contentFilters( unsafe.Pointer(x.Pointer()), @@ -25758,8 +27238,9 @@ func (x gen_NSView) ContentFilters() core.NSArray { } -// SetContentFilters An array of Core Image filters to apply to the contents of the view and its sublayers. -// https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc +// SetContentFilters an array of core image filters to apply to the contents of the view and its sublayers. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc for details. func (x gen_NSView) SetContentFilters( value core.NSArrayRef, ) { @@ -25772,8 +27253,9 @@ func (x gen_NSView) SetContentFilters( } -// CanDrawConcurrently A Boolean value indicating whether the view can draw its contents on a background thread. -// https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc +// CanDrawConcurrently returns a boolean value indicating whether the view can draw its contents on a background thread. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc for details. func (x gen_NSView) CanDrawConcurrently() bool { ret := C.NSView_inst_canDrawConcurrently( unsafe.Pointer(x.Pointer()), @@ -25783,8 +27265,9 @@ func (x gen_NSView) CanDrawConcurrently() bool { } -// SetCanDrawConcurrently A Boolean value indicating whether the view can draw its contents on a background thread. -// https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc +// SetCanDrawConcurrently returns a boolean value indicating whether the view can draw its contents on a background thread. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc for details. func (x gen_NSView) SetCanDrawConcurrently( value bool, ) { @@ -25797,8 +27280,9 @@ func (x gen_NSView) SetCanDrawConcurrently( } -// VisibleRect The portion of the view that is not clipped by its superviews. -// https://developer.apple.com/documentation/appkit/nsview/1483446-visiblerect?language=objc +// VisibleRect returns the portion of the view that is not clipped by its superviews. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483446-visiblerect?language=objc for details. func (x gen_NSView) VisibleRect() core.NSRect { ret := C.NSView_inst_visibleRect( unsafe.Pointer(x.Pointer()), @@ -25808,8 +27292,9 @@ func (x gen_NSView) VisibleRect() core.NSRect { } -// WantsDefaultClipping A Boolean value indicating whether AppKit’s default clipping behavior is in effect. -// https://developer.apple.com/documentation/appkit/nsview/1483365-wantsdefaultclipping?language=objc +// WantsDefaultClipping returns a boolean value indicating whether appkit’s default clipping behavior is in effect. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483365-wantsdefaultclipping?language=objc for details. func (x gen_NSView) WantsDefaultClipping() bool { ret := C.NSView_inst_wantsDefaultClipping( unsafe.Pointer(x.Pointer()), @@ -25819,8 +27304,9 @@ func (x gen_NSView) WantsDefaultClipping() bool { } -// PrintJobTitle The view’s print job title. -// https://developer.apple.com/documentation/appkit/nsview/1483753-printjobtitle?language=objc +// PrintJobTitle returns the view’s print job title. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483753-printjobtitle?language=objc for details. func (x gen_NSView) PrintJobTitle() core.NSString { ret := C.NSView_inst_printJobTitle( unsafe.Pointer(x.Pointer()), @@ -25830,8 +27316,9 @@ func (x gen_NSView) PrintJobTitle() core.NSString { } -// PageHeader A default header string that includes the print job title and date. -// https://developer.apple.com/documentation/appkit/nsview/1483674-pageheader?language=objc +// PageHeader returns a default header string that includes the print job title and date. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483674-pageheader?language=objc for details. func (x gen_NSView) PageHeader() core.NSAttributedString { ret := C.NSView_inst_pageHeader( unsafe.Pointer(x.Pointer()), @@ -25841,8 +27328,9 @@ func (x gen_NSView) PageHeader() core.NSAttributedString { } -// PageFooter A default footer string that includes the current page number and page count. -// https://developer.apple.com/documentation/appkit/nsview/1483355-pagefooter?language=objc +// PageFooter returns a default footer string that includes the current page number and page count. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483355-pagefooter?language=objc for details. func (x gen_NSView) PageFooter() core.NSAttributedString { ret := C.NSView_inst_pageFooter( unsafe.Pointer(x.Pointer()), @@ -25852,8 +27340,9 @@ func (x gen_NSView) PageFooter() core.NSAttributedString { } -// HeightAdjustLimit The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as lines of text from being divided across pages. -// https://developer.apple.com/documentation/appkit/nsview/1483691-heightadjustlimit?language=objc +// HeightAdjustLimit returns the fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as lines of text from being divided across pages. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483691-heightadjustlimit?language=objc for details. func (x gen_NSView) HeightAdjustLimit() core.CGFloat { ret := C.NSView_inst_heightAdjustLimit( unsafe.Pointer(x.Pointer()), @@ -25863,8 +27352,9 @@ func (x gen_NSView) HeightAdjustLimit() core.CGFloat { } -// WidthAdjustLimit The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as small images or text columns from being divided across pages. -// https://developer.apple.com/documentation/appkit/nsview/1483392-widthadjustlimit?language=objc +// WidthAdjustLimit returns the fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as small images or text columns from being divided across pages. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483392-widthadjustlimit?language=objc for details. func (x gen_NSView) WidthAdjustLimit() core.CGFloat { ret := C.NSView_inst_widthAdjustLimit( unsafe.Pointer(x.Pointer()), @@ -25874,8 +27364,9 @@ func (x gen_NSView) WidthAdjustLimit() core.CGFloat { } -// NeedsDisplay A Boolean value that determines whether the view needs to be redrawn before being displayed. -// https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc +// NeedsDisplay returns a boolean value that determines whether the view needs to be redrawn before being displayed. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc for details. func (x gen_NSView) NeedsDisplay() bool { ret := C.NSView_inst_needsDisplay( unsafe.Pointer(x.Pointer()), @@ -25885,8 +27376,9 @@ func (x gen_NSView) NeedsDisplay() bool { } -// SetNeedsDisplay A Boolean value that determines whether the view needs to be redrawn before being displayed. -// https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc +// SetNeedsDisplay returns a boolean value that determines whether the view needs to be redrawn before being displayed. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc for details. func (x gen_NSView) SetNeedsDisplay( value bool, ) { @@ -25899,8 +27391,9 @@ func (x gen_NSView) SetNeedsDisplay( } -// IsOpaque A Boolean value indicating whether the view fills its frame rectangle with opaque content. -// https://developer.apple.com/documentation/appkit/nsview/1483558-opaque?language=objc +// IsOpaque returns a boolean value indicating whether the view fills its frame rectangle with opaque content. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483558-opaque?language=objc for details. func (x gen_NSView) IsOpaque() bool { ret := C.NSView_inst_isOpaque( unsafe.Pointer(x.Pointer()), @@ -25910,8 +27403,9 @@ func (x gen_NSView) IsOpaque() bool { } -// IsFlipped A Boolean value indicating whether the view uses a flipped coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483532-flipped?language=objc +// IsFlipped returns a boolean value indicating whether the view uses a flipped coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483532-flipped?language=objc for details. func (x gen_NSView) IsFlipped() bool { ret := C.NSView_inst_isFlipped( unsafe.Pointer(x.Pointer()), @@ -25921,8 +27415,9 @@ func (x gen_NSView) IsFlipped() bool { } -// IsRotatedFromBase A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds. -// https://developer.apple.com/documentation/appkit/nsview/1483709-rotatedfrombase?language=objc +// IsRotatedFromBase returns a boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483709-rotatedfrombase?language=objc for details. func (x gen_NSView) IsRotatedFromBase() bool { ret := C.NSView_inst_isRotatedFromBase( unsafe.Pointer(x.Pointer()), @@ -25932,8 +27427,9 @@ func (x gen_NSView) IsRotatedFromBase() bool { } -// IsRotatedOrScaledFromBase A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds, or has been scaled from the window’s base coordinate system. -// https://developer.apple.com/documentation/appkit/nsview/1483390-rotatedorscaledfrombase?language=objc +// IsRotatedOrScaledFromBase returns a boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds, or has been scaled from the window’s base coordinate system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483390-rotatedorscaledfrombase?language=objc for details. func (x gen_NSView) IsRotatedOrScaledFromBase() bool { ret := C.NSView_inst_isRotatedOrScaledFromBase( unsafe.Pointer(x.Pointer()), @@ -25943,8 +27439,9 @@ func (x gen_NSView) IsRotatedOrScaledFromBase() bool { } -// AutoresizesSubviews A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. -// https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc +// AutoresizesSubviews returns a boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc for details. func (x gen_NSView) AutoresizesSubviews() bool { ret := C.NSView_inst_autoresizesSubviews( unsafe.Pointer(x.Pointer()), @@ -25954,8 +27451,9 @@ func (x gen_NSView) AutoresizesSubviews() bool { } -// SetAutoresizesSubviews A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. -// https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc +// SetAutoresizesSubviews returns a boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc for details. func (x gen_NSView) SetAutoresizesSubviews( value bool, ) { @@ -25968,8 +27466,9 @@ func (x gen_NSView) SetAutoresizesSubviews( } -// Constraints Returns the constraints held by the view. -// https://developer.apple.com/documentation/appkit/nsview/1526917-constraints?language=objc +// Constraints returns the constraints held by the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526917-constraints?language=objc for details. func (x gen_NSView) Constraints() core.NSArray { ret := C.NSView_inst_constraints( unsafe.Pointer(x.Pointer()), @@ -25979,8 +27478,9 @@ func (x gen_NSView) Constraints() core.NSArray { } -// LayoutGuides The array of layout guide objects owned by this view. -// https://developer.apple.com/documentation/appkit/nsview/1534395-layoutguides?language=objc +// LayoutGuides returns the array of layout guide objects owned by this view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1534395-layoutguides?language=objc for details. func (x gen_NSView) LayoutGuides() core.NSArray { ret := C.NSView_inst_layoutGuides( unsafe.Pointer(x.Pointer()), @@ -25990,8 +27490,9 @@ func (x gen_NSView) LayoutGuides() core.NSArray { } -// FittingSize The minimum size of the view that satisfies the constraints it holds. -// https://developer.apple.com/documentation/appkit/nsview/1526904-fittingsize?language=objc +// FittingSize returns the minimum size of the view that satisfies the constraints it holds. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526904-fittingsize?language=objc for details. func (x gen_NSView) FittingSize() core.NSSize { ret := C.NSView_inst_fittingSize( unsafe.Pointer(x.Pointer()), @@ -26001,8 +27502,9 @@ func (x gen_NSView) FittingSize() core.NSSize { } -// IntrinsicContentSize The natural size for the receiving view, considering only properties of the view itself. -// https://developer.apple.com/documentation/appkit/nsview/1526996-intrinsiccontentsize?language=objc +// IntrinsicContentSize returns the natural size for the receiving view, considering only properties of the view itself. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526996-intrinsiccontentsize?language=objc for details. func (x gen_NSView) IntrinsicContentSize() core.NSSize { ret := C.NSView_inst_intrinsicContentSize( unsafe.Pointer(x.Pointer()), @@ -26012,8 +27514,9 @@ func (x gen_NSView) IntrinsicContentSize() core.NSSize { } -// BaselineOffsetFromBottom The distance (in points) between the bottom of the view’s alignment rectangle and its baseline. -// https://developer.apple.com/documentation/appkit/nsview/1526949-baselineoffsetfrombottom?language=objc +// BaselineOffsetFromBottom returns the distance (in points) between the bottom of the view’s alignment rectangle and its baseline. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526949-baselineoffsetfrombottom?language=objc for details. func (x gen_NSView) BaselineOffsetFromBottom() core.CGFloat { ret := C.NSView_inst_baselineOffsetFromBottom( unsafe.Pointer(x.Pointer()), @@ -26023,8 +27526,9 @@ func (x gen_NSView) BaselineOffsetFromBottom() core.CGFloat { } -// FirstBaselineOffsetFromTop The distance (in points) between the top of the view’s alignment rectangle and its topmost baseline. -// https://developer.apple.com/documentation/appkit/nsview/1526963-firstbaselineoffsetfromtop?language=objc +// FirstBaselineOffsetFromTop returns the distance (in points) between the top of the view’s alignment rectangle and its topmost baseline. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526963-firstbaselineoffsetfromtop?language=objc for details. func (x gen_NSView) FirstBaselineOffsetFromTop() core.CGFloat { ret := C.NSView_inst_firstBaselineOffsetFromTop( unsafe.Pointer(x.Pointer()), @@ -26034,8 +27538,9 @@ func (x gen_NSView) FirstBaselineOffsetFromTop() core.CGFloat { } -// LastBaselineOffsetFromBottom The distance (in points) between the bottom of the view’s alignment rectangle and its bottommost baseline. -// https://developer.apple.com/documentation/appkit/nsview/1525942-lastbaselineoffsetfrombottom?language=objc +// LastBaselineOffsetFromBottom returns the distance (in points) between the bottom of the view’s alignment rectangle and its bottommost baseline. +// +// See https://developer.apple.com/documentation/appkit/nsview/1525942-lastbaselineoffsetfrombottom?language=objc for details. func (x gen_NSView) LastBaselineOffsetFromBottom() core.CGFloat { ret := C.NSView_inst_lastBaselineOffsetFromBottom( unsafe.Pointer(x.Pointer()), @@ -26045,8 +27550,9 @@ func (x gen_NSView) LastBaselineOffsetFromBottom() core.CGFloat { } -// NeedsLayout A Boolean value indicating whether the view needs a layout pass before it can be drawn. -// https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc +// NeedsLayout returns a boolean value indicating whether the view needs a layout pass before it can be drawn. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc for details. func (x gen_NSView) NeedsLayout() bool { ret := C.NSView_inst_needsLayout( unsafe.Pointer(x.Pointer()), @@ -26056,8 +27562,9 @@ func (x gen_NSView) NeedsLayout() bool { } -// SetNeedsLayout A Boolean value indicating whether the view needs a layout pass before it can be drawn. -// https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc +// SetNeedsLayout returns a boolean value indicating whether the view needs a layout pass before it can be drawn. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc for details. func (x gen_NSView) SetNeedsLayout( value bool, ) { @@ -26070,8 +27577,9 @@ func (x gen_NSView) SetNeedsLayout( } -// NeedsUpdateConstraints A Boolean value indicating whether the view’s constraints need to be updated. -// https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc +// NeedsUpdateConstraints returns a boolean value indicating whether the view’s constraints need to be updated. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc for details. func (x gen_NSView) NeedsUpdateConstraints() bool { ret := C.NSView_inst_needsUpdateConstraints( unsafe.Pointer(x.Pointer()), @@ -26081,8 +27589,9 @@ func (x gen_NSView) NeedsUpdateConstraints() bool { } -// SetNeedsUpdateConstraints A Boolean value indicating whether the view’s constraints need to be updated. -// https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc +// SetNeedsUpdateConstraints returns a boolean value indicating whether the view’s constraints need to be updated. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc for details. func (x gen_NSView) SetNeedsUpdateConstraints( value bool, ) { @@ -26095,8 +27604,9 @@ func (x gen_NSView) SetNeedsUpdateConstraints( } -// TranslatesAutoresizingMaskIntoConstraints A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. -// https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc +// TranslatesAutoresizingMaskIntoConstraints returns a boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc for details. func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() bool { ret := C.NSView_inst_translatesAutoresizingMaskIntoConstraints( unsafe.Pointer(x.Pointer()), @@ -26106,8 +27616,9 @@ func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() bool { } -// SetTranslatesAutoresizingMaskIntoConstraints A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. -// https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc +// SetTranslatesAutoresizingMaskIntoConstraints returns a boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc for details. func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( value bool, ) { @@ -26120,8 +27631,9 @@ func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( } -// HasAmbiguousLayout A Boolean value indicating whether the constraints impacting the layout of the view incompletely specify the location of the view. -// https://developer.apple.com/documentation/appkit/nsview/1526907-hasambiguouslayout?language=objc +// HasAmbiguousLayout returns a boolean value indicating whether the constraints impacting the layout of the view incompletely specify the location of the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1526907-hasambiguouslayout?language=objc for details. func (x gen_NSView) HasAmbiguousLayout() bool { ret := C.NSView_inst_hasAmbiguousLayout( unsafe.Pointer(x.Pointer()), @@ -26131,8 +27643,9 @@ func (x gen_NSView) HasAmbiguousLayout() bool { } -// FocusRingMaskBounds The focus ring mask bounds, specified in the view’s coordinate space. -// https://developer.apple.com/documentation/appkit/nsview/1483287-focusringmaskbounds?language=objc +// FocusRingMaskBounds returns the focus ring mask bounds, specified in the view’s coordinate space. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483287-focusringmaskbounds?language=objc for details. func (x gen_NSView) FocusRingMaskBounds() core.NSRect { ret := C.NSView_inst_focusRingMaskBounds( unsafe.Pointer(x.Pointer()), @@ -26142,8 +27655,9 @@ func (x gen_NSView) FocusRingMaskBounds() core.NSRect { } -// AllowsVibrancy A Boolean value indicating whether the view ensures it is vibrant on top of other content. -// https://developer.apple.com/documentation/appkit/nsview/1483793-allowsvibrancy?language=objc +// AllowsVibrancy returns a boolean value indicating whether the view ensures it is vibrant on top of other content. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483793-allowsvibrancy?language=objc for details. func (x gen_NSView) AllowsVibrancy() bool { ret := C.NSView_inst_allowsVibrancy( unsafe.Pointer(x.Pointer()), @@ -26153,8 +27667,9 @@ func (x gen_NSView) AllowsVibrancy() bool { } -// IsInFullScreenMode A Boolean value indicating whether the view is in full screen mode. -// https://developer.apple.com/documentation/appkit/nsview/1483337-infullscreenmode?language=objc +// IsInFullScreenMode returns a boolean value indicating whether the view is in full screen mode. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483337-infullscreenmode?language=objc for details. func (x gen_NSView) IsInFullScreenMode() bool { ret := C.NSView_inst_isInFullScreenMode( unsafe.Pointer(x.Pointer()), @@ -26164,8 +27679,9 @@ func (x gen_NSView) IsInFullScreenMode() bool { } -// IsHidden A Boolean value indicating whether the view is hidden. -// https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc +// IsHidden returns a boolean value indicating whether the view is hidden. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc for details. func (x gen_NSView) IsHidden() bool { ret := C.NSView_inst_isHidden( unsafe.Pointer(x.Pointer()), @@ -26175,8 +27691,9 @@ func (x gen_NSView) IsHidden() bool { } -// SetHidden A Boolean value indicating whether the view is hidden. -// https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc +// SetHidden returns a boolean value indicating whether the view is hidden. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc for details. func (x gen_NSView) SetHidden( value bool, ) { @@ -26189,8 +27706,9 @@ func (x gen_NSView) SetHidden( } -// IsHiddenOrHasHiddenAncestor A Boolean value indicating whether the view is hidden from sight because it, or one of its ancestors, is marked as hidden. -// https://developer.apple.com/documentation/appkit/nsview/1483473-hiddenorhashiddenancestor?language=objc +// IsHiddenOrHasHiddenAncestor returns a boolean value indicating whether the view is hidden from sight because it, or one of its ancestors, is marked as hidden. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483473-hiddenorhashiddenancestor?language=objc for details. func (x gen_NSView) IsHiddenOrHasHiddenAncestor() bool { ret := C.NSView_inst_isHiddenOrHasHiddenAncestor( unsafe.Pointer(x.Pointer()), @@ -26200,8 +27718,9 @@ func (x gen_NSView) IsHiddenOrHasHiddenAncestor() bool { } -// InLiveResize A Boolean value indicating whether the view is being rendered as part of a live resizing operation. -// https://developer.apple.com/documentation/appkit/nsview/1483267-inliveresize?language=objc +// InLiveResize returns a boolean value indicating whether the view is being rendered as part of a live resizing operation. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483267-inliveresize?language=objc for details. func (x gen_NSView) InLiveResize() bool { ret := C.NSView_inst_inLiveResize( unsafe.Pointer(x.Pointer()), @@ -26211,8 +27730,9 @@ func (x gen_NSView) InLiveResize() bool { } -// PreservesContentDuringLiveResize A Boolean value indicating whether the view optimizes live-resize operations by preserving content that has not moved. -// https://developer.apple.com/documentation/appkit/nsview/1483795-preservescontentduringliveresize?language=objc +// PreservesContentDuringLiveResize returns a boolean value indicating whether the view optimizes live-resize operations by preserving content that has not moved. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483795-preservescontentduringliveresize?language=objc for details. func (x gen_NSView) PreservesContentDuringLiveResize() bool { ret := C.NSView_inst_preservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), @@ -26222,8 +27742,9 @@ func (x gen_NSView) PreservesContentDuringLiveResize() bool { } -// RectPreservedDuringLiveResize The rectangle identifying the portion of your view that did not change during a live resize operation. -// https://developer.apple.com/documentation/appkit/nsview/1483528-rectpreservedduringliveresize?language=objc +// RectPreservedDuringLiveResize returns the rectangle identifying the portion of your view that did not change during a live resize operation. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483528-rectpreservedduringliveresize?language=objc for details. func (x gen_NSView) RectPreservedDuringLiveResize() core.NSRect { ret := C.NSView_inst_rectPreservedDuringLiveResize( unsafe.Pointer(x.Pointer()), @@ -26233,8 +27754,9 @@ func (x gen_NSView) RectPreservedDuringLiveResize() core.NSRect { } -// GestureRecognizers The gesture recognize objects currently attached to the view. -// https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc +// GestureRecognizers returns the gesture recognize objects currently attached to the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc for details. func (x gen_NSView) GestureRecognizers() core.NSArray { ret := C.NSView_inst_gestureRecognizers( unsafe.Pointer(x.Pointer()), @@ -26244,8 +27766,9 @@ func (x gen_NSView) GestureRecognizers() core.NSArray { } -// SetGestureRecognizers The gesture recognize objects currently attached to the view. -// https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc +// SetGestureRecognizers returns the gesture recognize objects currently attached to the view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc for details. func (x gen_NSView) SetGestureRecognizers( value core.NSArrayRef, ) { @@ -26258,8 +27781,9 @@ func (x gen_NSView) SetGestureRecognizers( } -// MouseDownCanMoveWindow A Boolean value indicating whether the view can pass mouse down events through to its superviews. -// https://developer.apple.com/documentation/appkit/nsview/1483666-mousedowncanmovewindow?language=objc +// MouseDownCanMoveWindow returns a boolean value indicating whether the view can pass mouse down events through to its superviews. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483666-mousedowncanmovewindow?language=objc for details. func (x gen_NSView) MouseDownCanMoveWindow() bool { ret := C.NSView_inst_mouseDownCanMoveWindow( unsafe.Pointer(x.Pointer()), @@ -26269,8 +27793,9 @@ func (x gen_NSView) MouseDownCanMoveWindow() bool { } -// WantsRestingTouches A Boolean value indicating whether the view wants resting touches. -// https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc +// WantsRestingTouches returns a boolean value indicating whether the view wants resting touches. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc for details. func (x gen_NSView) WantsRestingTouches() bool { ret := C.NSView_inst_wantsRestingTouches( unsafe.Pointer(x.Pointer()), @@ -26280,8 +27805,9 @@ func (x gen_NSView) WantsRestingTouches() bool { } -// SetWantsRestingTouches A Boolean value indicating whether the view wants resting touches. -// https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc +// SetWantsRestingTouches returns a boolean value indicating whether the view wants resting touches. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc for details. func (x gen_NSView) SetWantsRestingTouches( value bool, ) { @@ -26294,8 +27820,9 @@ func (x gen_NSView) SetWantsRestingTouches( } -// CanBecomeKeyView A Boolean value indicating whether the view can become key view. -// https://developer.apple.com/documentation/appkit/nsview/1483759-canbecomekeyview?language=objc +// CanBecomeKeyView returns a boolean value indicating whether the view can become key view. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483759-canbecomekeyview?language=objc for details. func (x gen_NSView) CanBecomeKeyView() bool { ret := C.NSView_inst_canBecomeKeyView( unsafe.Pointer(x.Pointer()), @@ -26305,8 +27832,9 @@ func (x gen_NSView) CanBecomeKeyView() bool { } -// NeedsPanelToBecomeKey A Boolean value indicating whether the view needs its panel to become the key window before it can handle keyboard input and navigation. -// https://developer.apple.com/documentation/appkit/nsview/1483512-needspaneltobecomekey?language=objc +// NeedsPanelToBecomeKey returns a boolean value indicating whether the view needs its panel to become the key window before it can handle keyboard input and navigation. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483512-needspaneltobecomekey?language=objc for details. func (x gen_NSView) NeedsPanelToBecomeKey() bool { ret := C.NSView_inst_needsPanelToBecomeKey( unsafe.Pointer(x.Pointer()), @@ -26316,8 +27844,9 @@ func (x gen_NSView) NeedsPanelToBecomeKey() bool { } -// NextKeyView The view object that follows the current view in the key view loop. -// https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc +// NextKeyView returns the view object that follows the current view in the key view loop. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc for details. func (x gen_NSView) NextKeyView() NSView { ret := C.NSView_inst_nextKeyView( unsafe.Pointer(x.Pointer()), @@ -26327,8 +27856,9 @@ func (x gen_NSView) NextKeyView() NSView { } -// SetNextKeyView The view object that follows the current view in the key view loop. -// https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc +// SetNextKeyView returns the view object that follows the current view in the key view loop. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc for details. func (x gen_NSView) SetNextKeyView( value NSViewRef, ) { @@ -26341,8 +27871,9 @@ func (x gen_NSView) SetNextKeyView( } -// NextValidKeyView The closest view object in the key view loop that follows the current view in the key view loop and accepts first responder status. -// https://developer.apple.com/documentation/appkit/nsview/1483572-nextvalidkeyview?language=objc +// NextValidKeyView returns the closest view object in the key view loop that follows the current view in the key view loop and accepts first responder status. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483572-nextvalidkeyview?language=objc for details. func (x gen_NSView) NextValidKeyView() NSView { ret := C.NSView_inst_nextValidKeyView( unsafe.Pointer(x.Pointer()), @@ -26352,8 +27883,9 @@ func (x gen_NSView) NextValidKeyView() NSView { } -// PreviousKeyView The view object preceding the current view in the key view loop. -// https://developer.apple.com/documentation/appkit/nsview/1483646-previouskeyview?language=objc +// PreviousKeyView returns the view object preceding the current view in the key view loop. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483646-previouskeyview?language=objc for details. func (x gen_NSView) PreviousKeyView() NSView { ret := C.NSView_inst_previousKeyView( unsafe.Pointer(x.Pointer()), @@ -26363,8 +27895,9 @@ func (x gen_NSView) PreviousKeyView() NSView { } -// PreviousValidKeyView The closest view object in the key view loop that precedes the current view and accepts first responder status. -// https://developer.apple.com/documentation/appkit/nsview/1483371-previousvalidkeyview?language=objc +// PreviousValidKeyView returns the closest view object in the key view loop that precedes the current view and accepts first responder status. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483371-previousvalidkeyview?language=objc for details. func (x gen_NSView) PreviousValidKeyView() NSView { ret := C.NSView_inst_previousValidKeyView( unsafe.Pointer(x.Pointer()), @@ -26374,8 +27907,9 @@ func (x gen_NSView) PreviousValidKeyView() NSView { } -// PreparedContentRect The portion of the view that has been rendered and is available for responsive scrolling. -// https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc +// PreparedContentRect returns the portion of the view that has been rendered and is available for responsive scrolling. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc for details. func (x gen_NSView) PreparedContentRect() core.NSRect { ret := C.NSView_inst_preparedContentRect( unsafe.Pointer(x.Pointer()), @@ -26385,8 +27919,9 @@ func (x gen_NSView) PreparedContentRect() core.NSRect { } -// SetPreparedContentRect The portion of the view that has been rendered and is available for responsive scrolling. -// https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc +// SetPreparedContentRect returns the portion of the view that has been rendered and is available for responsive scrolling. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc for details. func (x gen_NSView) SetPreparedContentRect( value core.NSRect, ) { @@ -26399,8 +27934,9 @@ func (x gen_NSView) SetPreparedContentRect( } -// RegisteredDraggedTypes The array of pasteboard drag types that the view can accept. -// https://developer.apple.com/documentation/appkit/nsview/1483564-registereddraggedtypes?language=objc +// RegisteredDraggedTypes returns the array of pasteboard drag types that the view can accept. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483564-registereddraggedtypes?language=objc for details. func (x gen_NSView) RegisteredDraggedTypes() core.NSArray { ret := C.NSView_inst_registeredDraggedTypes( unsafe.Pointer(x.Pointer()), @@ -26410,8 +27946,9 @@ func (x gen_NSView) RegisteredDraggedTypes() core.NSArray { } -// PostsFrameChangedNotifications A Boolean value indicating whether the view posts notifications when its frame rectangle changes. -// https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc +// PostsFrameChangedNotifications returns a boolean value indicating whether the view posts notifications when its frame rectangle changes. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc for details. func (x gen_NSView) PostsFrameChangedNotifications() bool { ret := C.NSView_inst_postsFrameChangedNotifications( unsafe.Pointer(x.Pointer()), @@ -26421,8 +27958,9 @@ func (x gen_NSView) PostsFrameChangedNotifications() bool { } -// SetPostsFrameChangedNotifications A Boolean value indicating whether the view posts notifications when its frame rectangle changes. -// https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc +// SetPostsFrameChangedNotifications returns a boolean value indicating whether the view posts notifications when its frame rectangle changes. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc for details. func (x gen_NSView) SetPostsFrameChangedNotifications( value bool, ) { @@ -26435,8 +27973,9 @@ func (x gen_NSView) SetPostsFrameChangedNotifications( } -// PostsBoundsChangedNotifications A Boolean value indicating whether the view posts notifications when its bounds rectangle changes. -// https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc +// PostsBoundsChangedNotifications returns a boolean value indicating whether the view posts notifications when its bounds rectangle changes. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc for details. func (x gen_NSView) PostsBoundsChangedNotifications() bool { ret := C.NSView_inst_postsBoundsChangedNotifications( unsafe.Pointer(x.Pointer()), @@ -26446,8 +27985,9 @@ func (x gen_NSView) PostsBoundsChangedNotifications() bool { } -// SetPostsBoundsChangedNotifications A Boolean value indicating whether the view posts notifications when its bounds rectangle changes. -// https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc +// SetPostsBoundsChangedNotifications returns a boolean value indicating whether the view posts notifications when its bounds rectangle changes. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc for details. func (x gen_NSView) SetPostsBoundsChangedNotifications( value bool, ) { @@ -26460,8 +28000,9 @@ func (x gen_NSView) SetPostsBoundsChangedNotifications( } -// Tag The view’s tag, which is an integer that you use to identify the view within your app. -// https://developer.apple.com/documentation/appkit/nsview/1483248-tag?language=objc +// Tag returns the view’s tag, which is an integer that you use to identify the view within your app. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483248-tag?language=objc for details. func (x gen_NSView) Tag() core.NSInteger { ret := C.NSView_inst_tag( unsafe.Pointer(x.Pointer()), @@ -26471,8 +28012,9 @@ func (x gen_NSView) Tag() core.NSInteger { } -// ToolTip The text for the view’s tooltip. -// https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc +// ToolTip returns the text for the view’s tooltip. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc for details. func (x gen_NSView) ToolTip() core.NSString { ret := C.NSView_inst_toolTip( unsafe.Pointer(x.Pointer()), @@ -26482,8 +28024,9 @@ func (x gen_NSView) ToolTip() core.NSString { } -// SetToolTip The text for the view’s tooltip. -// https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc +// SetToolTip returns the text for the view’s tooltip. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc for details. func (x gen_NSView) SetToolTip( value core.NSStringRef, ) { @@ -26496,8 +28039,9 @@ func (x gen_NSView) SetToolTip( } -// TrackingAreas An array of the view’s tracking areas. -// https://developer.apple.com/documentation/appkit/nsview/1483333-trackingareas?language=objc +// TrackingAreas an array of the view’s tracking areas. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483333-trackingareas?language=objc for details. func (x gen_NSView) TrackingAreas() core.NSArray { ret := C.NSView_inst_trackingAreas( unsafe.Pointer(x.Pointer()), @@ -26507,8 +28051,9 @@ func (x gen_NSView) TrackingAreas() core.NSArray { } -// IsDrawingFindIndicator A Boolean value indicating whether the view or one of its ancestors is being drawn for a find indicator. -// https://developer.apple.com/documentation/appkit/nsview/1483317-drawingfindindicator?language=objc +// IsDrawingFindIndicator returns a boolean value indicating whether the view or one of its ancestors is being drawn for a find indicator. +// +// See https://developer.apple.com/documentation/appkit/nsview/1483317-drawingfindindicator?language=objc for details. func (x gen_NSView) IsDrawingFindIndicator() bool { ret := C.NSView_inst_isDrawingFindIndicator( unsafe.Pointer(x.Pointer()), @@ -26519,7 +28064,8 @@ func (x gen_NSView) IsDrawingFindIndicator() bool { } // IsHorizontalContentSizeConstraintActive -// https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc for details. func (x gen_NSView) IsHorizontalContentSizeConstraintActive() bool { ret := C.NSView_inst_isHorizontalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), @@ -26530,7 +28076,8 @@ func (x gen_NSView) IsHorizontalContentSizeConstraintActive() bool { } // SetHorizontalContentSizeConstraintActive -// https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc for details. func (x gen_NSView) SetHorizontalContentSizeConstraintActive( value bool, ) { @@ -26544,7 +28091,8 @@ func (x gen_NSView) SetHorizontalContentSizeConstraintActive( } // IsVerticalContentSizeConstraintActive -// https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc for details. func (x gen_NSView) IsVerticalContentSizeConstraintActive() bool { ret := C.NSView_inst_isVerticalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), @@ -26555,7 +28103,8 @@ func (x gen_NSView) IsVerticalContentSizeConstraintActive() bool { } // SetVerticalContentSizeConstraintActive -// https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc +// +// See https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc for details. func (x gen_NSView) SetVerticalContentSizeConstraintActive( value bool, ) { @@ -26569,6 +28118,8 @@ func (x gen_NSView) SetVerticalContentSizeConstraintActive( } // BackgroundColor +// +// See for details. func (x gen_NSView) BackgroundColor() NSColor { ret := C.NSView_inst_backgroundColor( unsafe.Pointer(x.Pointer()), @@ -26579,6 +28130,8 @@ func (x gen_NSView) BackgroundColor() NSColor { } // SetBackgroundColor +// +// See for details. func (x gen_NSView) SetBackgroundColor( value NSColorRef, ) { diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index c2fde982..cae5de08 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -2168,6 +2168,8 @@ func convertToObjCBool(b bool) C.BOOL { } // CALayer_alloc +// +// See for details. func CALayer_alloc() CALayer { ret := C.CALayer_type_alloc() @@ -2175,8 +2177,9 @@ func CALayer_alloc() CALayer { } -// CALayer_layer Creates and returns an instance of the layer object. -// https://developer.apple.com/documentation/quartzcore/calayer/1410793-layer?language=objc +// CALayer_layer creates and returns an instance of the layer object. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410793-layer?language=objc for details. func CALayer_layer() CALayer { ret := C.CALayer_type_layer() @@ -2184,8 +2187,9 @@ func CALayer_layer() CALayer { } -// CALayer_needsDisplayForKey Returns a Boolean indicating whether changes to the specified key require the layer to be redisplayed. -// https://developer.apple.com/documentation/quartzcore/calayer/1410769-needsdisplayforkey?language=objc +// CALayer_needsDisplayForKey returns a boolean indicating whether changes to the specified key require the layer to be redisplayed. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410769-needsdisplayforkey?language=objc for details. func CALayer_needsDisplayForKey(key NSStringRef) bool { ret := C.CALayer_type_needsDisplayForKey( objc.RefPointer(key), @@ -2195,8 +2199,9 @@ func CALayer_needsDisplayForKey(key NSStringRef) bool { } -// CALayer_defaultActionForKey Returns the default action for the current class. -// https://developer.apple.com/documentation/quartzcore/calayer/1410954-defaultactionforkey?language=objc +// CALayer_defaultActionForKey returns the default action for the current class. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410954-defaultactionforkey?language=objc for details. func CALayer_defaultActionForKey(event NSStringRef) objc.Object { ret := C.CALayer_type_defaultActionForKey( objc.RefPointer(event), @@ -2206,8 +2211,9 @@ func CALayer_defaultActionForKey(event NSStringRef) objc.Object { } -// CALayer_defaultValueForKey Specifies the default value associated with the specified key. -// https://developer.apple.com/documentation/quartzcore/calayer/1410886-defaultvalueforkey?language=objc +// CALayer_defaultValueForKey specifies the default value associated with the specified key. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410886-defaultvalueforkey?language=objc for details. func CALayer_defaultValueForKey(key NSStringRef) objc.Object { ret := C.CALayer_type_defaultValueForKey( objc.RefPointer(key), @@ -2218,6 +2224,8 @@ func CALayer_defaultValueForKey(key NSStringRef) objc.Object { } // NSArray_alloc +// +// See for details. func NSArray_alloc() NSArray { ret := C.NSArray_type_alloc() @@ -2225,8 +2233,9 @@ func NSArray_alloc() NSArray { } -// NSArray_array Creates and returns an empty array. -// https://developer.apple.com/documentation/foundation/nsarray/1460120-array?language=objc +// NSArray_array creates and returns an empty array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1460120-array?language=objc for details. func NSArray_array() NSArray { ret := C.NSArray_type_array() @@ -2234,8 +2243,9 @@ func NSArray_array() NSArray { } -// NSArray_arrayWithArray Creates and returns an array containing the objects in another given array. -// https://developer.apple.com/documentation/foundation/nsarray/1460122-arraywitharray?language=objc +// NSArray_arrayWithArray creates and returns an array containing the objects in another given array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1460122-arraywitharray?language=objc for details. func NSArray_arrayWithArray(array NSArrayRef) NSArray { ret := C.NSArray_type_arrayWithArray( objc.RefPointer(array), @@ -2246,6 +2256,8 @@ func NSArray_arrayWithArray(array NSArrayRef) NSArray { } // NSAttributedString_alloc +// +// See for details. func NSAttributedString_alloc() NSAttributedString { ret := C.NSAttributedString_type_alloc() @@ -2253,8 +2265,9 @@ func NSAttributedString_alloc() NSAttributedString { } -// NSAttributedString_textTypes An array of UTI strings that identify the file types that attributed strings support, either directly or through a user-installed filter service. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1535409-texttypes?language=objc +// NSAttributedString_textTypes an array of uti strings that identify the file types that attributed strings support, either directly or through a user-installed filter service. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1535409-texttypes?language=objc for details. func NSAttributedString_textTypes() NSArray { ret := C.NSAttributedString_type_textTypes() @@ -2262,8 +2275,9 @@ func NSAttributedString_textTypes() NSArray { } -// NSAttributedString_textUnfilteredTypes An array of UTI strings that identify the file types that attributed strings support directly. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1528269-textunfilteredtypes?language=objc +// NSAttributedString_textUnfilteredTypes an array of uti strings that identify the file types that attributed strings support directly. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1528269-textunfilteredtypes?language=objc for details. func NSAttributedString_textUnfilteredTypes() NSArray { ret := C.NSAttributedString_type_textUnfilteredTypes() @@ -2272,6 +2286,8 @@ func NSAttributedString_textUnfilteredTypes() NSArray { } // NSData_alloc +// +// See for details. func NSData_alloc() NSData { ret := C.NSData_type_alloc() @@ -2279,8 +2295,9 @@ func NSData_alloc() NSData { } -// NSData_data Creates an empty data object. -// https://developer.apple.com/documentation/foundation/nsdata/1547234-data?language=objc +// NSData_data creates an empty data object. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547234-data?language=objc for details. func NSData_data() NSData { ret := C.NSData_type_data() @@ -2288,8 +2305,9 @@ func NSData_data() NSData { } -// NSData_dataWithBytes_length Creates a data object containing a given number of bytes copied from a given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1547231-datawithbytes?language=objc +// NSData_dataWithBytes_length creates a data object containing a given number of bytes copied from a given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547231-datawithbytes?language=objc for details. func NSData_dataWithBytes_length(bytes unsafe.Pointer, length NSUInteger) NSData { ret := C.NSData_type_dataWithBytes_length( bytes, @@ -2300,8 +2318,9 @@ func NSData_dataWithBytes_length(bytes unsafe.Pointer, length NSUInteger) NSData } -// NSData_dataWithBytesNoCopy_length Creates a data object that holds a given number of bytes from a given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1547229-datawithbytesnocopy?language=objc +// NSData_dataWithBytesNoCopy_length creates a data object that holds a given number of bytes from a given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547229-datawithbytesnocopy?language=objc for details. func NSData_dataWithBytesNoCopy_length(bytes unsafe.Pointer, length NSUInteger) NSData { ret := C.NSData_type_dataWithBytesNoCopy_length( bytes, @@ -2312,8 +2331,9 @@ func NSData_dataWithBytesNoCopy_length(bytes unsafe.Pointer, length NSUInteger) } -// NSData_dataWithBytesNoCopy_length_freeWhenDone Creates a data object that holds a given number of bytes from a given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1547240-datawithbytesnocopy?language=objc +// NSData_dataWithBytesNoCopy_length_freeWhenDone creates a data object that holds a given number of bytes from a given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547240-datawithbytesnocopy?language=objc for details. func NSData_dataWithBytesNoCopy_length_freeWhenDone(bytes unsafe.Pointer, length NSUInteger, b bool) NSData { ret := C.NSData_type_dataWithBytesNoCopy_length_freeWhenDone( bytes, @@ -2325,8 +2345,9 @@ func NSData_dataWithBytesNoCopy_length_freeWhenDone(bytes unsafe.Pointer, length } -// NSData_dataWithData Creates a data object containing the contents of another data object. -// https://developer.apple.com/documentation/foundation/nsdata/1547230-datawithdata?language=objc +// NSData_dataWithData creates a data object containing the contents of another data object. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547230-datawithdata?language=objc for details. func NSData_dataWithData(data NSDataRef) NSData { ret := C.NSData_type_dataWithData( objc.RefPointer(data), @@ -2336,8 +2357,9 @@ func NSData_dataWithData(data NSDataRef) NSData { } -// NSData_dataWithContentsOfFile Creates a data object by reading every byte from the file at a given path. -// https://developer.apple.com/documentation/foundation/nsdata/1547226-datawithcontentsoffile?language=objc +// NSData_dataWithContentsOfFile creates a data object by reading every byte from the file at a given path. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547226-datawithcontentsoffile?language=objc for details. func NSData_dataWithContentsOfFile(path NSStringRef) NSData { ret := C.NSData_type_dataWithContentsOfFile( objc.RefPointer(path), @@ -2347,8 +2369,9 @@ func NSData_dataWithContentsOfFile(path NSStringRef) NSData { } -// NSData_dataWithContentsOfURL Creates a data object containing the data from the location specified by a given URL. -// https://developer.apple.com/documentation/foundation/nsdata/1547245-datawithcontentsofurl?language=objc +// NSData_dataWithContentsOfURL creates a data object containing the data from the location specified by a given url. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1547245-datawithcontentsofurl?language=objc for details. func NSData_dataWithContentsOfURL(url NSURLRef) NSData { ret := C.NSData_type_dataWithContentsOfURL( objc.RefPointer(url), @@ -2359,6 +2382,8 @@ func NSData_dataWithContentsOfURL(url NSURLRef) NSData { } // NSDictionary_alloc +// +// See for details. func NSDictionary_alloc() NSDictionary { ret := C.NSDictionary_type_alloc() @@ -2366,8 +2391,9 @@ func NSDictionary_alloc() NSDictionary { } -// NSDictionary_dictionary Creates an empty dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1574180-dictionary?language=objc +// NSDictionary_dictionary creates an empty dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1574180-dictionary?language=objc for details. func NSDictionary_dictionary() NSDictionary { ret := C.NSDictionary_type_dictionary() @@ -2375,8 +2401,9 @@ func NSDictionary_dictionary() NSDictionary { } -// NSDictionary_dictionaryWithObjects_forKeys Creates a dictionary containing entries constructed from the contents of an array of keys and an array of values. -// https://developer.apple.com/documentation/foundation/nsdictionary/1574183-dictionarywithobjects?language=objc +// NSDictionary_dictionaryWithObjects_forKeys creates a dictionary containing entries constructed from the contents of an array of keys and an array of values. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1574183-dictionarywithobjects?language=objc for details. func NSDictionary_dictionaryWithObjects_forKeys(objects NSArrayRef, keys NSArrayRef) NSDictionary { ret := C.NSDictionary_type_dictionaryWithObjects_forKeys( objc.RefPointer(objects), @@ -2387,8 +2414,9 @@ func NSDictionary_dictionaryWithObjects_forKeys(objects NSArrayRef, keys NSArray } -// NSDictionary_dictionaryWithDictionary Creates a dictionary containing the keys and values from another given dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1574191-dictionarywithdictionary?language=objc +// NSDictionary_dictionaryWithDictionary creates a dictionary containing the keys and values from another given dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1574191-dictionarywithdictionary?language=objc for details. func NSDictionary_dictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { ret := C.NSDictionary_type_dictionaryWithDictionary( objc.RefPointer(dict), @@ -2398,8 +2426,9 @@ func NSDictionary_dictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { } -// NSDictionary_sharedKeySetForKeys Creates a shared key set object for the specified keys. -// https://developer.apple.com/documentation/foundation/nsdictionary/1408190-sharedkeysetforkeys?language=objc +// NSDictionary_sharedKeySetForKeys creates a shared key set object for the specified keys. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1408190-sharedkeysetforkeys?language=objc for details. func NSDictionary_sharedKeySetForKeys(keys NSArrayRef) objc.Object { ret := C.NSDictionary_type_sharedKeySetForKeys( objc.RefPointer(keys), @@ -2410,6 +2439,8 @@ func NSDictionary_sharedKeySetForKeys(keys NSArrayRef) objc.Object { } // NSNumber_alloc +// +// See for details. func NSNumber_alloc() NSNumber { ret := C.NSNumber_type_alloc() @@ -2417,8 +2448,9 @@ func NSNumber_alloc() NSNumber { } -// NSNumber_numberWithBool Creates and returns an NSNumber object containing a given value, treating it as a BOOL. -// https://developer.apple.com/documentation/foundation/nsnumber/1551475-numberwithbool?language=objc +// NSNumber_numberWithBool creates and returns an nsnumber object containing a given value, treating it as a bool. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1551475-numberwithbool?language=objc for details. func NSNumber_numberWithBool(value bool) NSNumber { ret := C.NSNumber_type_numberWithBool( convertToObjCBool(value), @@ -2428,8 +2460,9 @@ func NSNumber_numberWithBool(value bool) NSNumber { } -// NSNumber_numberWithInt Creates and returns an NSNumber object containing a given value, treating it as a signed int. -// https://developer.apple.com/documentation/foundation/nsnumber/1551470-numberwithint?language=objc +// NSNumber_numberWithInt creates and returns an nsnumber object containing a given value, treating it as a signed int. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1551470-numberwithint?language=objc for details. func NSNumber_numberWithInt(value int32) NSNumber { ret := C.NSNumber_type_numberWithInt( C.int(value), @@ -2439,8 +2472,9 @@ func NSNumber_numberWithInt(value int32) NSNumber { } -// NSNumber_numberWithInteger Creates and returns an NSNumber object containing a given value, treating it as an NSInteger. -// https://developer.apple.com/documentation/foundation/nsnumber/1551473-numberwithinteger?language=objc +// NSNumber_numberWithInteger creates and returns an nsnumber object containing a given value, treating it as an nsinteger. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1551473-numberwithinteger?language=objc for details. func NSNumber_numberWithInteger(value NSInteger) NSNumber { ret := C.NSNumber_type_numberWithInteger( C.long(value), @@ -2450,8 +2484,9 @@ func NSNumber_numberWithInteger(value NSInteger) NSNumber { } -// NSNumber_numberWithUnsignedInt Creates and returns an NSNumber object containing a given value, treating it as an unsigned int. -// https://developer.apple.com/documentation/foundation/nsnumber/1551472-numberwithunsignedint?language=objc +// NSNumber_numberWithUnsignedInt creates and returns an nsnumber object containing a given value, treating it as an unsigned int. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1551472-numberwithunsignedint?language=objc for details. func NSNumber_numberWithUnsignedInt(value int32) NSNumber { ret := C.NSNumber_type_numberWithUnsignedInt( C.int(value), @@ -2461,8 +2496,9 @@ func NSNumber_numberWithUnsignedInt(value int32) NSNumber { } -// NSNumber_numberWithUnsignedInteger Creates and returns an NSNumber object containing a given value, treating it as an NSUInteger. -// https://developer.apple.com/documentation/foundation/nsnumber/1551469-numberwithunsignedinteger?language=objc +// NSNumber_numberWithUnsignedInteger creates and returns an nsnumber object containing a given value, treating it as an nsuinteger. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1551469-numberwithunsignedinteger?language=objc for details. func NSNumber_numberWithUnsignedInteger(value NSUInteger) NSNumber { ret := C.NSNumber_type_numberWithUnsignedInteger( C.ulong(value), @@ -2473,6 +2509,8 @@ func NSNumber_numberWithUnsignedInteger(value NSUInteger) NSNumber { } // NSRunLoop_alloc +// +// See for details. func NSRunLoop_alloc() NSRunLoop { ret := C.NSRunLoop_type_alloc() @@ -2480,8 +2518,9 @@ func NSRunLoop_alloc() NSRunLoop { } -// NSRunLoop_currentRunLoop Returns the run loop for the current thread. -// https://developer.apple.com/documentation/foundation/nsrunloop/1412291-currentrunloop?language=objc +// NSRunLoop_currentRunLoop returns the run loop for the current thread. +// +// See https://developer.apple.com/documentation/foundation/nsrunloop/1412291-currentrunloop?language=objc for details. func NSRunLoop_currentRunLoop() NSRunLoop { ret := C.NSRunLoop_type_currentRunLoop() @@ -2489,8 +2528,9 @@ func NSRunLoop_currentRunLoop() NSRunLoop { } -// NSRunLoop_mainRunLoop Returns the run loop of the main thread. -// https://developer.apple.com/documentation/foundation/nsrunloop/1418388-mainrunloop?language=objc +// NSRunLoop_mainRunLoop returns the run loop of the main thread. +// +// See https://developer.apple.com/documentation/foundation/nsrunloop/1418388-mainrunloop?language=objc for details. func NSRunLoop_mainRunLoop() NSRunLoop { ret := C.NSRunLoop_type_mainRunLoop() @@ -2499,6 +2539,8 @@ func NSRunLoop_mainRunLoop() NSRunLoop { } // NSString_alloc +// +// See for details. func NSString_alloc() NSString { ret := C.NSString_type_alloc() @@ -2506,8 +2548,9 @@ func NSString_alloc() NSString { } -// NSString_string Returns an empty string. -// https://developer.apple.com/documentation/foundation/nsstring/1497312-string?language=objc +// NSString_string returns an empty string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1497312-string?language=objc for details. func NSString_string() NSString { ret := C.NSString_type_string() @@ -2515,8 +2558,9 @@ func NSString_string() NSString { } -// NSString_localizedUserNotificationStringForKey_arguments Returns a localized string intended for display in a notification alert. -// https://developer.apple.com/documentation/foundation/nsstring/1649585-localizedusernotificationstringf?language=objc +// NSString_localizedUserNotificationStringForKey_arguments returns a localized string intended for display in a notification alert. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1649585-localizedusernotificationstringf?language=objc for details. func NSString_localizedUserNotificationStringForKey_arguments(key NSStringRef, arguments NSArrayRef) NSString { ret := C.NSString_type_localizedUserNotificationStringForKey_arguments( objc.RefPointer(key), @@ -2527,8 +2571,9 @@ func NSString_localizedUserNotificationStringForKey_arguments(key NSStringRef, a } -// NSString_stringWithString Returns a string created by copying the characters from another given string. -// https://developer.apple.com/documentation/foundation/nsstring/1497372-stringwithstring?language=objc +// NSString_stringWithString returns a string created by copying the characters from another given string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1497372-stringwithstring?language=objc for details. func NSString_stringWithString(string NSStringRef) NSString { ret := C.NSString_type_stringWithString( objc.RefPointer(string), @@ -2538,8 +2583,9 @@ func NSString_stringWithString(string NSStringRef) NSString { } -// NSString_localizedNameOfStringEncoding Returns a human-readable string giving the name of a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1408318-localizednameofstringencoding?language=objc +// NSString_localizedNameOfStringEncoding returns a human-readable string giving the name of a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1408318-localizednameofstringencoding?language=objc for details. func NSString_localizedNameOfStringEncoding(encoding NSStringEncoding) NSString { ret := C.NSString_type_localizedNameOfStringEncoding( C.ulong(encoding), @@ -2549,8 +2595,9 @@ func NSString_localizedNameOfStringEncoding(encoding NSStringEncoding) NSString } -// NSString_pathWithComponents Returns a string built from the strings in a given array by concatenating them with a path separator between each pair. -// https://developer.apple.com/documentation/foundation/nsstring/1417198-pathwithcomponents?language=objc +// NSString_pathWithComponents returns a string built from the strings in a given array by concatenating them with a path separator between each pair. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1417198-pathwithcomponents?language=objc for details. func NSString_pathWithComponents(components NSArrayRef) NSString { ret := C.NSString_type_pathWithComponents( objc.RefPointer(components), @@ -2560,8 +2607,9 @@ func NSString_pathWithComponents(components NSArrayRef) NSString { } -// NSString_defaultCStringEncoding Returns the C-string encoding assumed for any method accepting a C string as an argument. -// https://developer.apple.com/documentation/foundation/nsstring/1410091-defaultcstringencoding?language=objc +// NSString_defaultCStringEncoding returns the c-string encoding assumed for any method accepting a c string as an argument. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1410091-defaultcstringencoding?language=objc for details. func NSString_defaultCStringEncoding() NSStringEncoding { ret := C.NSString_type_defaultCStringEncoding() @@ -2570,6 +2618,8 @@ func NSString_defaultCStringEncoding() NSStringEncoding { } // NSThread_alloc +// +// See for details. func NSThread_alloc() NSThread { ret := C.NSThread_type_alloc() @@ -2577,8 +2627,9 @@ func NSThread_alloc() NSThread { } -// NSThread_detachNewThreadSelector_toTarget_withObject Detaches a new thread and uses the specified selector as the thread entry point. -// https://developer.apple.com/documentation/foundation/nsthread/1415633-detachnewthreadselector?language=objc +// NSThread_detachNewThreadSelector_toTarget_withObject detaches a new thread and uses the specified selector as the thread entry point. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1415633-detachnewthreadselector?language=objc for details. func NSThread_detachNewThreadSelector_toTarget_withObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { C.NSThread_type_detachNewThreadSelector_toTarget_withObject( selector.SelectorAddress(), @@ -2590,8 +2641,9 @@ func NSThread_detachNewThreadSelector_toTarget_withObject(selector objc.Selector } -// NSThread_exit Terminates the current thread. -// https://developer.apple.com/documentation/foundation/nsthread/1409404-exit?language=objc +// NSThread_exit terminates the current thread. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1409404-exit?language=objc for details. func NSThread_exit() { C.NSThread_type_exit() @@ -2599,8 +2651,9 @@ func NSThread_exit() { } -// NSThread_isMultiThreaded Returns whether the application is multithreaded. -// https://developer.apple.com/documentation/foundation/nsthread/1410702-ismultithreaded?language=objc +// NSThread_isMultiThreaded returns whether the application is multithreaded. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1410702-ismultithreaded?language=objc for details. func NSThread_isMultiThreaded() bool { ret := C.NSThread_type_isMultiThreaded() @@ -2608,8 +2661,9 @@ func NSThread_isMultiThreaded() bool { } -// NSThread_isMainThread Returns a Boolean value that indicates whether the current thread is the main thread. -// https://developer.apple.com/documentation/foundation/nsthread/1412704-ismainthread?language=objc +// NSThread_isMainThread returns a boolean value that indicates whether the current thread is the main thread. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1412704-ismainthread?language=objc for details. func NSThread_isMainThread() bool { ret := C.NSThread_type_isMainThread() @@ -2617,8 +2671,9 @@ func NSThread_isMainThread() bool { } -// NSThread_mainThread Returns the NSThread object representing the main thread. -// https://developer.apple.com/documentation/foundation/nsthread/1414782-mainthread?language=objc +// NSThread_mainThread returns the nsthread object representing the main thread. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1414782-mainthread?language=objc for details. func NSThread_mainThread() NSThread { ret := C.NSThread_type_mainThread() @@ -2626,8 +2681,9 @@ func NSThread_mainThread() NSThread { } -// NSThread_currentThread Returns the thread object representing the current thread of execution. -// https://developer.apple.com/documentation/foundation/nsthread/1410679-currentthread?language=objc +// NSThread_currentThread returns the thread object representing the current thread of execution. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1410679-currentthread?language=objc for details. func NSThread_currentThread() NSThread { ret := C.NSThread_type_currentThread() @@ -2635,8 +2691,9 @@ func NSThread_currentThread() NSThread { } -// NSThread_callStackReturnAddresses Returns an array containing the call stack return addresses. -// https://developer.apple.com/documentation/foundation/nsthread/1409565-callstackreturnaddresses?language=objc +// NSThread_callStackReturnAddresses returns an array containing the call stack return addresses. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1409565-callstackreturnaddresses?language=objc for details. func NSThread_callStackReturnAddresses() NSArray { ret := C.NSThread_type_callStackReturnAddresses() @@ -2644,8 +2701,9 @@ func NSThread_callStackReturnAddresses() NSArray { } -// NSThread_callStackSymbols Returns an array containing the call stack symbols. -// https://developer.apple.com/documentation/foundation/nsthread/1414836-callstacksymbols?language=objc +// NSThread_callStackSymbols returns an array containing the call stack symbols. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1414836-callstacksymbols?language=objc for details. func NSThread_callStackSymbols() NSArray { ret := C.NSThread_type_callStackSymbols() @@ -2654,6 +2712,8 @@ func NSThread_callStackSymbols() NSArray { } // NSURL_alloc +// +// See for details. func NSURL_alloc() NSURL { ret := C.NSURL_type_alloc() @@ -2661,8 +2721,9 @@ func NSURL_alloc() NSURL { } -// NSURL_URLWithString Creates and returns an NSURL object initialized with a provided URL string. -// https://developer.apple.com/documentation/foundation/nsurl/1572047-urlwithstring?language=objc +// NSURL_URLWithString creates and returns an nsurl object initialized with a provided url string. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1572047-urlwithstring?language=objc for details. func NSURL_URLWithString(URLString NSStringRef) NSURL { ret := C.NSURL_type_URLWithString( objc.RefPointer(URLString), @@ -2672,8 +2733,9 @@ func NSURL_URLWithString(URLString NSStringRef) NSURL { } -// NSURL_URLWithString_relativeToURL Creates and returns an NSURL object initialized with a base URL and a relative string. -// https://developer.apple.com/documentation/foundation/nsurl/1572049-urlwithstring?language=objc +// NSURL_URLWithString_relativeToURL creates and returns an nsurl object initialized with a base url and a relative string. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1572049-urlwithstring?language=objc for details. func NSURL_URLWithString_relativeToURL(URLString NSStringRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_URLWithString_relativeToURL( objc.RefPointer(URLString), @@ -2684,8 +2746,9 @@ func NSURL_URLWithString_relativeToURL(URLString NSStringRef, baseURL NSURLRef) } -// NSURL_fileURLWithPath_isDirectory Initializes and returns a newly created NSURL object as a file URL with a specified path. -// https://developer.apple.com/documentation/foundation/nsurl/1414650-fileurlwithpath?language=objc +// NSURL_fileURLWithPath_isDirectory initializes and returns a newly created nsurl object as a file url with a specified path. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1414650-fileurlwithpath?language=objc for details. func NSURL_fileURLWithPath_isDirectory(path NSStringRef, isDir bool) NSURL { ret := C.NSURL_type_fileURLWithPath_isDirectory( objc.RefPointer(path), @@ -2697,7 +2760,8 @@ func NSURL_fileURLWithPath_isDirectory(path NSStringRef, isDir bool) NSURL { } // NSURL_fileURLWithPath_relativeToURL -// https://developer.apple.com/documentation/foundation/nsurl/1413201-fileurlwithpath?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413201-fileurlwithpath?language=objc for details. func NSURL_fileURLWithPath_relativeToURL(path NSStringRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_fileURLWithPath_relativeToURL( objc.RefPointer(path), @@ -2709,7 +2773,8 @@ func NSURL_fileURLWithPath_relativeToURL(path NSStringRef, baseURL NSURLRef) NSU } // NSURL_fileURLWithPath_isDirectory_relativeToURL -// https://developer.apple.com/documentation/foundation/nsurl/1413020-fileurlwithpath?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413020-fileurlwithpath?language=objc for details. func NSURL_fileURLWithPath_isDirectory_relativeToURL(path NSStringRef, isDir bool, baseURL NSURLRef) NSURL { ret := C.NSURL_type_fileURLWithPath_isDirectory_relativeToURL( objc.RefPointer(path), @@ -2721,8 +2786,9 @@ func NSURL_fileURLWithPath_isDirectory_relativeToURL(path NSStringRef, isDir boo } -// NSURL_fileURLWithPath Initializes and returns a newly created NSURL object as a file URL with a specified path. -// https://developer.apple.com/documentation/foundation/nsurl/1410828-fileurlwithpath?language=objc +// NSURL_fileURLWithPath initializes and returns a newly created nsurl object as a file url with a specified path. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1410828-fileurlwithpath?language=objc for details. func NSURL_fileURLWithPath(path NSStringRef) NSURL { ret := C.NSURL_type_fileURLWithPath( objc.RefPointer(path), @@ -2732,8 +2798,9 @@ func NSURL_fileURLWithPath(path NSStringRef) NSURL { } -// NSURL_fileURLWithPathComponents Initializes and returns a newly created NSURL object as a file URL with specified path components. -// https://developer.apple.com/documentation/foundation/nsurl/1414206-fileurlwithpathcomponents?language=objc +// NSURL_fileURLWithPathComponents initializes and returns a newly created nsurl object as a file url with specified path components. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1414206-fileurlwithpathcomponents?language=objc for details. func NSURL_fileURLWithPathComponents(components NSArrayRef) NSURL { ret := C.NSURL_type_fileURLWithPathComponents( objc.RefPointer(components), @@ -2744,7 +2811,8 @@ func NSURL_fileURLWithPathComponents(components NSArrayRef) NSURL { } // NSURL_absoluteURLWithDataRepresentation_relativeToURL -// https://developer.apple.com/documentation/foundation/nsurl/1412404-absoluteurlwithdatarepresentatio?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurl/1412404-absoluteurlwithdatarepresentatio?language=objc for details. func NSURL_absoluteURLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_absoluteURLWithDataRepresentation_relativeToURL( objc.RefPointer(data), @@ -2756,7 +2824,8 @@ func NSURL_absoluteURLWithDataRepresentation_relativeToURL(data NSDataRef, baseU } // NSURL_URLWithDataRepresentation_relativeToURL -// https://developer.apple.com/documentation/foundation/nsurl/1572042-urlwithdatarepresentation?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurl/1572042-urlwithdatarepresentation?language=objc for details. func NSURL_URLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { ret := C.NSURL_type_URLWithDataRepresentation_relativeToURL( objc.RefPointer(data), @@ -2767,8 +2836,9 @@ func NSURL_URLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURL } -// NSURL_resourceValuesForKeys_fromBookmarkData Returns the resource values for properties identified by a specified array of keys contained in specified bookmark data. -// https://developer.apple.com/documentation/foundation/nsurl/1418097-resourcevaluesforkeys?language=objc +// NSURL_resourceValuesForKeys_fromBookmarkData returns the resource values for properties identified by a specified array of keys contained in specified bookmark data. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1418097-resourcevaluesforkeys?language=objc for details. func NSURL_resourceValuesForKeys_fromBookmarkData(keys NSArrayRef, bookmarkData NSDataRef) NSDictionary { ret := C.NSURL_type_resourceValuesForKeys_fromBookmarkData( objc.RefPointer(keys), @@ -2780,6 +2850,8 @@ func NSURL_resourceValuesForKeys_fromBookmarkData(keys NSArrayRef, bookmarkData } // NSURLRequest_alloc +// +// See for details. func NSURLRequest_alloc() NSURLRequest { ret := C.NSURLRequest_type_alloc() @@ -2787,8 +2859,9 @@ func NSURLRequest_alloc() NSURLRequest { } -// NSURLRequest_requestWithURL Creates and returns a URL request for a specified URL. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1528603-requestwithurl?language=objc +// NSURLRequest_requestWithURL creates and returns a url request for a specified url. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1528603-requestwithurl?language=objc for details. func NSURLRequest_requestWithURL(URL NSURLRef) NSURLRequest { ret := C.NSURLRequest_type_requestWithURL( objc.RefPointer(URL), @@ -2798,8 +2871,9 @@ func NSURLRequest_requestWithURL(URL NSURLRef) NSURLRequest { } -// NSURLRequest_supportsSecureCoding A Boolean value indicating whether the NSURLRequest implements the NSSecureCoding protocol. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1416510-supportssecurecoding?language=objc +// NSURLRequest_supportsSecureCoding returns a boolean value indicating whether the nsurlrequest implements the nssecurecoding protocol. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1416510-supportssecurecoding?language=objc for details. func NSURLRequest_supportsSecureCoding() bool { ret := C.NSURLRequest_type_supportsSecureCoding() @@ -2808,6 +2882,8 @@ func NSURLRequest_supportsSecureCoding() bool { } // NSUserDefaults_alloc +// +// See for details. func NSUserDefaults_alloc() NSUserDefaults { ret := C.NSUserDefaults_type_alloc() @@ -2815,8 +2891,9 @@ func NSUserDefaults_alloc() NSUserDefaults { } -// NSUserDefaults_resetStandardUserDefaults This method has no effect and shouldn't be used. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1407708-resetstandarduserdefaults?language=objc +// NSUserDefaults_resetStandardUserDefaults this method has no effect and shouldn't be used. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1407708-resetstandarduserdefaults?language=objc for details. func NSUserDefaults_resetStandardUserDefaults() { C.NSUserDefaults_type_resetStandardUserDefaults() @@ -2824,8 +2901,9 @@ func NSUserDefaults_resetStandardUserDefaults() { } -// NSUserDefaults_standardUserDefaults Returns the shared defaults object. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416603-standarduserdefaults?language=objc +// NSUserDefaults_standardUserDefaults returns the shared defaults object. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416603-standarduserdefaults?language=objc for details. func NSUserDefaults_standardUserDefaults() NSUserDefaults { ret := C.NSUserDefaults_type_standardUserDefaults() @@ -2852,8 +2930,9 @@ func CALayer_fromRef(ref objc.Ref) CALayer { return CALayer_fromPointer(unsafe.Pointer(ref.Pointer())) } -// ActionForKey Returns the action object assigned to the specified key. -// https://developer.apple.com/documentation/quartzcore/calayer/1410844-actionforkey?language=objc +// ActionForKey returns the action object assigned to the specified key. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410844-actionforkey?language=objc for details. func (x gen_CALayer) ActionForKey( event NSStringRef, ) objc.Object { @@ -2866,8 +2945,9 @@ func (x gen_CALayer) ActionForKey( } -// AddSublayer Appends the layer to the layer’s list of sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1410833-addsublayer?language=objc +// AddSublayer appends the layer to the layer’s list of sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410833-addsublayer?language=objc for details. func (x gen_CALayer) AddSublayer( layer CALayerRef, ) { @@ -2880,8 +2960,9 @@ func (x gen_CALayer) AddSublayer( } -// AnimationKeys Returns an array of strings that identify the animations currently attached to the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410937-animationkeys?language=objc +// AnimationKeys returns an array of strings that identify the animations currently attached to the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410937-animationkeys?language=objc for details. func (x gen_CALayer) AnimationKeys() NSArray { ret := C.CALayer_inst_animationKeys( unsafe.Pointer(x.Pointer()), @@ -2891,8 +2972,9 @@ func (x gen_CALayer) AnimationKeys() NSArray { } -// ContentsAreFlipped Returns a Boolean indicating whether the layer content is implicitly flipped when rendered. -// https://developer.apple.com/documentation/quartzcore/calayer/1410777-contentsareflipped?language=objc +// ContentsAreFlipped returns a boolean indicating whether the layer content is implicitly flipped when rendered. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410777-contentsareflipped?language=objc for details. func (x gen_CALayer) ContentsAreFlipped() bool { ret := C.CALayer_inst_contentsAreFlipped( unsafe.Pointer(x.Pointer()), @@ -2902,8 +2984,9 @@ func (x gen_CALayer) ContentsAreFlipped() bool { } -// ConvertRect_fromLayer Converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. -// https://developer.apple.com/documentation/quartzcore/calayer/1410948-convertrect?language=objc +// ConvertRect_fromLayer converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410948-convertrect?language=objc for details. func (x gen_CALayer) ConvertRect_fromLayer( r NSRect, l CALayerRef, @@ -2918,8 +3001,9 @@ func (x gen_CALayer) ConvertRect_fromLayer( } -// ConvertRect_toLayer Converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. -// https://developer.apple.com/documentation/quartzcore/calayer/1410742-convertrect?language=objc +// ConvertRect_toLayer converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410742-convertrect?language=objc for details. func (x gen_CALayer) ConvertRect_toLayer( r NSRect, l CALayerRef, @@ -2934,8 +3018,9 @@ func (x gen_CALayer) ConvertRect_toLayer( } -// Display Reloads the content of this layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410926-display?language=objc +// Display reloads the content of this layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410926-display?language=objc for details. func (x gen_CALayer) Display() { C.CALayer_inst_display( unsafe.Pointer(x.Pointer()), @@ -2945,8 +3030,9 @@ func (x gen_CALayer) Display() { } -// DisplayIfNeeded Initiates the update process for a layer if it is currently marked as needing an update. -// https://developer.apple.com/documentation/quartzcore/calayer/1410813-displayifneeded?language=objc +// DisplayIfNeeded initiates the update process for a layer if it is currently marked as needing an update. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410813-displayifneeded?language=objc for details. func (x gen_CALayer) DisplayIfNeeded() { C.CALayer_inst_displayIfNeeded( unsafe.Pointer(x.Pointer()), @@ -2956,8 +3042,9 @@ func (x gen_CALayer) DisplayIfNeeded() { } -// Init_asCALayer Returns an initialized CALayer object. -// https://developer.apple.com/documentation/quartzcore/calayer/1410835-init?language=objc +// Init returns an initialized calayer object. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410835-init?language=objc for details. func (x gen_CALayer) Init_asCALayer() CALayer { ret := C.CALayer_inst_init( unsafe.Pointer(x.Pointer()), @@ -2967,8 +3054,9 @@ func (x gen_CALayer) Init_asCALayer() CALayer { } -// InitWithLayer_asCALayer Override to copy or initialize custom fields of the specified layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410842-initwithlayer?language=objc +// InitWithLayer override to copy or initialize custom fields of the specified layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410842-initwithlayer?language=objc for details. func (x gen_CALayer) InitWithLayer_asCALayer( layer objc.Ref, ) CALayer { @@ -2981,8 +3069,9 @@ func (x gen_CALayer) InitWithLayer_asCALayer( } -// InsertSublayer_above Inserts the specified sublayer above a different sublayer that already belongs to the receiver. -// https://developer.apple.com/documentation/quartzcore/calayer/1410798-insertsublayer?language=objc +// InsertSublayer_above inserts the specified sublayer above a different sublayer that already belongs to the receiver. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410798-insertsublayer?language=objc for details. func (x gen_CALayer) InsertSublayer_above( layer CALayerRef, sibling CALayerRef, @@ -2997,8 +3086,9 @@ func (x gen_CALayer) InsertSublayer_above( } -// InsertSublayer_atIndex Inserts the specified layer into the receiver’s list of sublayers at the specified index. -// https://developer.apple.com/documentation/quartzcore/calayer/1410944-insertsublayer?language=objc +// InsertSublayer_atIndex inserts the specified layer into the receiver’s list of sublayers at the specified index. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410944-insertsublayer?language=objc for details. func (x gen_CALayer) InsertSublayer_atIndex( layer CALayerRef, idx int32, @@ -3013,8 +3103,9 @@ func (x gen_CALayer) InsertSublayer_atIndex( } -// InsertSublayer_below Inserts the specified sublayer below a different sublayer that already belongs to the receiver. -// https://developer.apple.com/documentation/quartzcore/calayer/1410840-insertsublayer?language=objc +// InsertSublayer_below inserts the specified sublayer below a different sublayer that already belongs to the receiver. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410840-insertsublayer?language=objc for details. func (x gen_CALayer) InsertSublayer_below( layer CALayerRef, sibling CALayerRef, @@ -3029,8 +3120,9 @@ func (x gen_CALayer) InsertSublayer_below( } -// LayoutIfNeeded Recalculate the receiver’s layout, if required. -// https://developer.apple.com/documentation/quartzcore/calayer/1410873-layoutifneeded?language=objc +// LayoutIfNeeded recalculate the receiver’s layout, if required. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410873-layoutifneeded?language=objc for details. func (x gen_CALayer) LayoutIfNeeded() { C.CALayer_inst_layoutIfNeeded( unsafe.Pointer(x.Pointer()), @@ -3040,8 +3132,9 @@ func (x gen_CALayer) LayoutIfNeeded() { } -// LayoutSublayers Tells the layer to update its layout. -// https://developer.apple.com/documentation/quartzcore/calayer/1410935-layoutsublayers?language=objc +// LayoutSublayers tells the layer to update its layout. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410935-layoutsublayers?language=objc for details. func (x gen_CALayer) LayoutSublayers() { C.CALayer_inst_layoutSublayers( unsafe.Pointer(x.Pointer()), @@ -3051,8 +3144,9 @@ func (x gen_CALayer) LayoutSublayers() { } -// ModelLayer_asCALayer Returns the model layer object associated with the receiver, if any. -// https://developer.apple.com/documentation/quartzcore/calayer/1410853-modellayer?language=objc +// ModelLayer returns the model layer object associated with the receiver, if any. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410853-modellayer?language=objc for details. func (x gen_CALayer) ModelLayer_asCALayer() CALayer { ret := C.CALayer_inst_modelLayer( unsafe.Pointer(x.Pointer()), @@ -3062,8 +3156,9 @@ func (x gen_CALayer) ModelLayer_asCALayer() CALayer { } -// NeedsDisplay Returns a Boolean indicating whether the layer has been marked as needing an update. -// https://developer.apple.com/documentation/quartzcore/calayer/1410958-needsdisplay?language=objc +// NeedsDisplay returns a boolean indicating whether the layer has been marked as needing an update. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410958-needsdisplay?language=objc for details. func (x gen_CALayer) NeedsDisplay() bool { ret := C.CALayer_inst_needsDisplay( unsafe.Pointer(x.Pointer()), @@ -3073,8 +3168,9 @@ func (x gen_CALayer) NeedsDisplay() bool { } -// NeedsLayout Returns a Boolean indicating whether the layer has been marked as needing a layout update. -// https://developer.apple.com/documentation/quartzcore/calayer/1410956-needslayout?language=objc +// NeedsLayout returns a boolean indicating whether the layer has been marked as needing a layout update. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410956-needslayout?language=objc for details. func (x gen_CALayer) NeedsLayout() bool { ret := C.CALayer_inst_needsLayout( unsafe.Pointer(x.Pointer()), @@ -3084,8 +3180,9 @@ func (x gen_CALayer) NeedsLayout() bool { } -// PreferredFrameSize Returns the preferred size of the layer in the coordinate space of its superlayer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410980-preferredframesize?language=objc +// PreferredFrameSize returns the preferred size of the layer in the coordinate space of its superlayer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410980-preferredframesize?language=objc for details. func (x gen_CALayer) PreferredFrameSize() NSSize { ret := C.CALayer_inst_preferredFrameSize( unsafe.Pointer(x.Pointer()), @@ -3095,8 +3192,9 @@ func (x gen_CALayer) PreferredFrameSize() NSSize { } -// PresentationLayer_asCALayer Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. -// https://developer.apple.com/documentation/quartzcore/calayer/1410744-presentationlayer?language=objc +// PresentationLayer returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410744-presentationlayer?language=objc for details. func (x gen_CALayer) PresentationLayer_asCALayer() CALayer { ret := C.CALayer_inst_presentationLayer( unsafe.Pointer(x.Pointer()), @@ -3106,8 +3204,9 @@ func (x gen_CALayer) PresentationLayer_asCALayer() CALayer { } -// RemoveAllAnimations Remove all animations attached to the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410810-removeallanimations?language=objc +// RemoveAllAnimations remove all animations attached to the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410810-removeallanimations?language=objc for details. func (x gen_CALayer) RemoveAllAnimations() { C.CALayer_inst_removeAllAnimations( unsafe.Pointer(x.Pointer()), @@ -3117,8 +3216,9 @@ func (x gen_CALayer) RemoveAllAnimations() { } -// RemoveAnimationForKey Remove the animation object with the specified key. -// https://developer.apple.com/documentation/quartzcore/calayer/1410939-removeanimationforkey?language=objc +// RemoveAnimationForKey remove the animation object with the specified key. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410939-removeanimationforkey?language=objc for details. func (x gen_CALayer) RemoveAnimationForKey( key NSStringRef, ) { @@ -3131,8 +3231,9 @@ func (x gen_CALayer) RemoveAnimationForKey( } -// RemoveFromSuperlayer Detaches the layer from its parent layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410767-removefromsuperlayer?language=objc +// RemoveFromSuperlayer detaches the layer from its parent layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410767-removefromsuperlayer?language=objc for details. func (x gen_CALayer) RemoveFromSuperlayer() { C.CALayer_inst_removeFromSuperlayer( unsafe.Pointer(x.Pointer()), @@ -3142,8 +3243,9 @@ func (x gen_CALayer) RemoveFromSuperlayer() { } -// ReplaceSublayer_with Replaces the specified sublayer with a different layer object. -// https://developer.apple.com/documentation/quartzcore/calayer/1410820-replacesublayer?language=objc +// ReplaceSublayer_with replaces the specified sublayer with a different layer object. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410820-replacesublayer?language=objc for details. func (x gen_CALayer) ReplaceSublayer_with( oldLayer CALayerRef, newLayer CALayerRef, @@ -3158,8 +3260,9 @@ func (x gen_CALayer) ReplaceSublayer_with( } -// ResizeSublayersWithOldSize Informs the receiver’s sublayers that the receiver’s size has changed. -// https://developer.apple.com/documentation/quartzcore/calayer/1410929-resizesublayerswitholdsize?language=objc +// ResizeSublayersWithOldSize informs the receiver’s sublayers that the receiver’s size has changed. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410929-resizesublayerswitholdsize?language=objc for details. func (x gen_CALayer) ResizeSublayersWithOldSize( size NSSize, ) { @@ -3172,8 +3275,9 @@ func (x gen_CALayer) ResizeSublayersWithOldSize( } -// ResizeWithOldSuperlayerSize Informs the receiver that the size of its superlayer changed. -// https://developer.apple.com/documentation/quartzcore/calayer/1410894-resizewitholdsuperlayersize?language=objc +// ResizeWithOldSuperlayerSize informs the receiver that the size of its superlayer changed. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410894-resizewitholdsuperlayersize?language=objc for details. func (x gen_CALayer) ResizeWithOldSuperlayerSize( size NSSize, ) { @@ -3186,8 +3290,9 @@ func (x gen_CALayer) ResizeWithOldSuperlayerSize( } -// ScrollRectToVisible Initiates a scroll in the layer’s closest ancestor scroll layer so that the specified rectangle becomes visible. -// https://developer.apple.com/documentation/quartzcore/calayer/1522139-scrollrecttovisible?language=objc +// ScrollRectToVisible initiates a scroll in the layer’s closest ancestor scroll layer so that the specified rectangle becomes visible. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1522139-scrollrecttovisible?language=objc for details. func (x gen_CALayer) ScrollRectToVisible( r NSRect, ) { @@ -3200,8 +3305,9 @@ func (x gen_CALayer) ScrollRectToVisible( } -// SetNeedsDisplay Marks the layer’s contents as needing to be updated. -// https://developer.apple.com/documentation/quartzcore/calayer/1410855-setneedsdisplay?language=objc +// SetNeedsDisplay marks the layer’s contents as needing to be updated. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410855-setneedsdisplay?language=objc for details. func (x gen_CALayer) SetNeedsDisplay() { C.CALayer_inst_setNeedsDisplay( unsafe.Pointer(x.Pointer()), @@ -3211,8 +3317,9 @@ func (x gen_CALayer) SetNeedsDisplay() { } -// SetNeedsDisplayInRect Marks the region within the specified rectangle as needing to be updated. -// https://developer.apple.com/documentation/quartzcore/calayer/1410800-setneedsdisplayinrect?language=objc +// SetNeedsDisplayInRect marks the region within the specified rectangle as needing to be updated. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410800-setneedsdisplayinrect?language=objc for details. func (x gen_CALayer) SetNeedsDisplayInRect( r NSRect, ) { @@ -3225,8 +3332,9 @@ func (x gen_CALayer) SetNeedsDisplayInRect( } -// SetNeedsLayout Invalidates the layer’s layout and marks it as needing an update. -// https://developer.apple.com/documentation/quartzcore/calayer/1410946-setneedslayout?language=objc +// SetNeedsLayout invalidates the layer’s layout and marks it as needing an update. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410946-setneedslayout?language=objc for details. func (x gen_CALayer) SetNeedsLayout() { C.CALayer_inst_setNeedsLayout( unsafe.Pointer(x.Pointer()), @@ -3236,8 +3344,9 @@ func (x gen_CALayer) SetNeedsLayout() { } -// ShouldArchiveValueForKey Returns a Boolean indicating whether the value of the specified key should be archived. -// https://developer.apple.com/documentation/quartzcore/calayer/1410753-shouldarchivevalueforkey?language=objc +// ShouldArchiveValueForKey returns a boolean indicating whether the value of the specified key should be archived. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410753-shouldarchivevalueforkey?language=objc for details. func (x gen_CALayer) ShouldArchiveValueForKey( key NSStringRef, ) bool { @@ -3250,8 +3359,9 @@ func (x gen_CALayer) ShouldArchiveValueForKey( } -// Delegate The layer’s delegate object. -// https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc +// Delegate returns the layer’s delegate object. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc for details. func (x gen_CALayer) Delegate() objc.Object { ret := C.CALayer_inst_delegate( unsafe.Pointer(x.Pointer()), @@ -3261,8 +3371,9 @@ func (x gen_CALayer) Delegate() objc.Object { } -// SetDelegate The layer’s delegate object. -// https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc +// SetDelegate returns the layer’s delegate object. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc for details. func (x gen_CALayer) SetDelegate( value objc.Ref, ) { @@ -3275,8 +3386,9 @@ func (x gen_CALayer) SetDelegate( } -// Contents An object that provides the contents of the layer. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc +// Contents an object that provides the contents of the layer. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc for details. func (x gen_CALayer) Contents() objc.Object { ret := C.CALayer_inst_contents( unsafe.Pointer(x.Pointer()), @@ -3286,8 +3398,9 @@ func (x gen_CALayer) Contents() objc.Object { } -// SetContents An object that provides the contents of the layer. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc +// SetContents an object that provides the contents of the layer. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc for details. func (x gen_CALayer) SetContents( value objc.Ref, ) { @@ -3300,8 +3413,9 @@ func (x gen_CALayer) SetContents( } -// ContentsRect The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc +// ContentsRect returns the rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc for details. func (x gen_CALayer) ContentsRect() NSRect { ret := C.CALayer_inst_contentsRect( unsafe.Pointer(x.Pointer()), @@ -3311,8 +3425,9 @@ func (x gen_CALayer) ContentsRect() NSRect { } -// SetContentsRect The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc +// SetContentsRect returns the rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc for details. func (x gen_CALayer) SetContentsRect( value NSRect, ) { @@ -3325,8 +3440,9 @@ func (x gen_CALayer) SetContentsRect( } -// ContentsCenter The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc +// ContentsCenter returns the rectangle that defines how the layer contents are scaled if the layer’s contents are resized. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc for details. func (x gen_CALayer) ContentsCenter() NSRect { ret := C.CALayer_inst_contentsCenter( unsafe.Pointer(x.Pointer()), @@ -3336,8 +3452,9 @@ func (x gen_CALayer) ContentsCenter() NSRect { } -// SetContentsCenter The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc +// SetContentsCenter returns the rectangle that defines how the layer contents are scaled if the layer’s contents are resized. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc for details. func (x gen_CALayer) SetContentsCenter( value NSRect, ) { @@ -3350,8 +3467,9 @@ func (x gen_CALayer) SetContentsCenter( } -// IsHidden A Boolean indicating whether the layer is displayed. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc +// IsHidden returns a boolean indicating whether the layer is displayed. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc for details. func (x gen_CALayer) IsHidden() bool { ret := C.CALayer_inst_isHidden( unsafe.Pointer(x.Pointer()), @@ -3361,8 +3479,9 @@ func (x gen_CALayer) IsHidden() bool { } -// SetHidden A Boolean indicating whether the layer is displayed. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc +// SetHidden returns a boolean indicating whether the layer is displayed. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc for details. func (x gen_CALayer) SetHidden( value bool, ) { @@ -3375,8 +3494,9 @@ func (x gen_CALayer) SetHidden( } -// MasksToBounds A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc +// MasksToBounds returns a boolean indicating whether sublayers are clipped to the layer’s bounds. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc for details. func (x gen_CALayer) MasksToBounds() bool { ret := C.CALayer_inst_masksToBounds( unsafe.Pointer(x.Pointer()), @@ -3386,8 +3506,9 @@ func (x gen_CALayer) MasksToBounds() bool { } -// SetMasksToBounds A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc +// SetMasksToBounds returns a boolean indicating whether sublayers are clipped to the layer’s bounds. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc for details. func (x gen_CALayer) SetMasksToBounds( value bool, ) { @@ -3400,8 +3521,9 @@ func (x gen_CALayer) SetMasksToBounds( } -// Mask An optional layer whose alpha channel is used to mask the layer’s content. -// https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc +// Mask an optional layer whose alpha channel is used to mask the layer’s content. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc for details. func (x gen_CALayer) Mask() CALayer { ret := C.CALayer_inst_mask( unsafe.Pointer(x.Pointer()), @@ -3411,8 +3533,9 @@ func (x gen_CALayer) Mask() CALayer { } -// SetMask An optional layer whose alpha channel is used to mask the layer’s content. -// https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc +// SetMask an optional layer whose alpha channel is used to mask the layer’s content. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc for details. func (x gen_CALayer) SetMask( value CALayerRef, ) { @@ -3425,8 +3548,9 @@ func (x gen_CALayer) SetMask( } -// IsDoubleSided A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc +// IsDoubleSided returns a boolean indicating whether the layer displays its content when facing away from the viewer. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc for details. func (x gen_CALayer) IsDoubleSided() bool { ret := C.CALayer_inst_isDoubleSided( unsafe.Pointer(x.Pointer()), @@ -3436,8 +3560,9 @@ func (x gen_CALayer) IsDoubleSided() bool { } -// SetDoubleSided A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc +// SetDoubleSided returns a boolean indicating whether the layer displays its content when facing away from the viewer. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc for details. func (x gen_CALayer) SetDoubleSided( value bool, ) { @@ -3450,8 +3575,9 @@ func (x gen_CALayer) SetDoubleSided( } -// CornerRadius The radius to use when drawing rounded corners for the layer’s background. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc +// CornerRadius returns the radius to use when drawing rounded corners for the layer’s background. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc for details. func (x gen_CALayer) CornerRadius() CGFloat { ret := C.CALayer_inst_cornerRadius( unsafe.Pointer(x.Pointer()), @@ -3461,8 +3587,9 @@ func (x gen_CALayer) CornerRadius() CGFloat { } -// SetCornerRadius The radius to use when drawing rounded corners for the layer’s background. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc +// SetCornerRadius returns the radius to use when drawing rounded corners for the layer’s background. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc for details. func (x gen_CALayer) SetCornerRadius( value CGFloat, ) { @@ -3475,8 +3602,9 @@ func (x gen_CALayer) SetCornerRadius( } -// BorderWidth The width of the layer’s border. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc +// BorderWidth returns the width of the layer’s border. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc for details. func (x gen_CALayer) BorderWidth() CGFloat { ret := C.CALayer_inst_borderWidth( unsafe.Pointer(x.Pointer()), @@ -3486,8 +3614,9 @@ func (x gen_CALayer) BorderWidth() CGFloat { } -// SetBorderWidth The width of the layer’s border. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc +// SetBorderWidth returns the width of the layer’s border. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc for details. func (x gen_CALayer) SetBorderWidth( value CGFloat, ) { @@ -3500,8 +3629,9 @@ func (x gen_CALayer) SetBorderWidth( } -// ShadowRadius The blur radius (in points) used to render the layer’s shadow. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc +// ShadowRadius returns the blur radius (in points) used to render the layer’s shadow. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc for details. func (x gen_CALayer) ShadowRadius() CGFloat { ret := C.CALayer_inst_shadowRadius( unsafe.Pointer(x.Pointer()), @@ -3511,8 +3641,9 @@ func (x gen_CALayer) ShadowRadius() CGFloat { } -// SetShadowRadius The blur radius (in points) used to render the layer’s shadow. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc +// SetShadowRadius returns the blur radius (in points) used to render the layer’s shadow. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc for details. func (x gen_CALayer) SetShadowRadius( value CGFloat, ) { @@ -3525,8 +3656,9 @@ func (x gen_CALayer) SetShadowRadius( } -// ShadowOffset The offset (in points) of the layer’s shadow. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc +// ShadowOffset returns the offset (in points) of the layer’s shadow. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc for details. func (x gen_CALayer) ShadowOffset() NSSize { ret := C.CALayer_inst_shadowOffset( unsafe.Pointer(x.Pointer()), @@ -3536,8 +3668,9 @@ func (x gen_CALayer) ShadowOffset() NSSize { } -// SetShadowOffset The offset (in points) of the layer’s shadow. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc +// SetShadowOffset returns the offset (in points) of the layer’s shadow. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc for details. func (x gen_CALayer) SetShadowOffset( value NSSize, ) { @@ -3550,8 +3683,9 @@ func (x gen_CALayer) SetShadowOffset( } -// Style An optional dictionary used to store property values that aren't explicitly defined by the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc +// Style an optional dictionary used to store property values that aren't explicitly defined by the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc for details. func (x gen_CALayer) Style() NSDictionary { ret := C.CALayer_inst_style( unsafe.Pointer(x.Pointer()), @@ -3561,8 +3695,9 @@ func (x gen_CALayer) Style() NSDictionary { } -// SetStyle An optional dictionary used to store property values that aren't explicitly defined by the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc +// SetStyle an optional dictionary used to store property values that aren't explicitly defined by the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc for details. func (x gen_CALayer) SetStyle( value NSDictionaryRef, ) { @@ -3575,8 +3710,9 @@ func (x gen_CALayer) SetStyle( } -// AllowsEdgeAntialiasing A Boolean indicating whether the layer is allowed to perform edge antialiasing. -// https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc +// AllowsEdgeAntialiasing returns a boolean indicating whether the layer is allowed to perform edge antialiasing. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc for details. func (x gen_CALayer) AllowsEdgeAntialiasing() bool { ret := C.CALayer_inst_allowsEdgeAntialiasing( unsafe.Pointer(x.Pointer()), @@ -3586,8 +3722,9 @@ func (x gen_CALayer) AllowsEdgeAntialiasing() bool { } -// SetAllowsEdgeAntialiasing A Boolean indicating whether the layer is allowed to perform edge antialiasing. -// https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc +// SetAllowsEdgeAntialiasing returns a boolean indicating whether the layer is allowed to perform edge antialiasing. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc for details. func (x gen_CALayer) SetAllowsEdgeAntialiasing( value bool, ) { @@ -3600,8 +3737,9 @@ func (x gen_CALayer) SetAllowsEdgeAntialiasing( } -// AllowsGroupOpacity A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. -// https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc +// AllowsGroupOpacity returns a boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc for details. func (x gen_CALayer) AllowsGroupOpacity() bool { ret := C.CALayer_inst_allowsGroupOpacity( unsafe.Pointer(x.Pointer()), @@ -3611,8 +3749,9 @@ func (x gen_CALayer) AllowsGroupOpacity() bool { } -// SetAllowsGroupOpacity A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. -// https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc +// SetAllowsGroupOpacity returns a boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc for details. func (x gen_CALayer) SetAllowsGroupOpacity( value bool, ) { @@ -3625,8 +3764,9 @@ func (x gen_CALayer) SetAllowsGroupOpacity( } -// Filters An array of Core Image filters to apply to the contents of the layer and its sublayers. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc +// Filters an array of core image filters to apply to the contents of the layer and its sublayers. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc for details. func (x gen_CALayer) Filters() NSArray { ret := C.CALayer_inst_filters( unsafe.Pointer(x.Pointer()), @@ -3636,8 +3776,9 @@ func (x gen_CALayer) Filters() NSArray { } -// SetFilters An array of Core Image filters to apply to the contents of the layer and its sublayers. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc +// SetFilters an array of core image filters to apply to the contents of the layer and its sublayers. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc for details. func (x gen_CALayer) SetFilters( value NSArrayRef, ) { @@ -3650,8 +3791,9 @@ func (x gen_CALayer) SetFilters( } -// CompositingFilter A CoreImage filter used to composite the layer and the content behind it. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc +// CompositingFilter returns a coreimage filter used to composite the layer and the content behind it. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc for details. func (x gen_CALayer) CompositingFilter() objc.Object { ret := C.CALayer_inst_compositingFilter( unsafe.Pointer(x.Pointer()), @@ -3661,8 +3803,9 @@ func (x gen_CALayer) CompositingFilter() objc.Object { } -// SetCompositingFilter A CoreImage filter used to composite the layer and the content behind it. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc +// SetCompositingFilter returns a coreimage filter used to composite the layer and the content behind it. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc for details. func (x gen_CALayer) SetCompositingFilter( value objc.Ref, ) { @@ -3675,8 +3818,9 @@ func (x gen_CALayer) SetCompositingFilter( } -// BackgroundFilters An array of Core Image filters to apply to the content immediately behind the layer. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc +// BackgroundFilters an array of core image filters to apply to the content immediately behind the layer. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc for details. func (x gen_CALayer) BackgroundFilters() NSArray { ret := C.CALayer_inst_backgroundFilters( unsafe.Pointer(x.Pointer()), @@ -3686,8 +3830,9 @@ func (x gen_CALayer) BackgroundFilters() NSArray { } -// SetBackgroundFilters An array of Core Image filters to apply to the content immediately behind the layer. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc +// SetBackgroundFilters an array of core image filters to apply to the content immediately behind the layer. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc for details. func (x gen_CALayer) SetBackgroundFilters( value NSArrayRef, ) { @@ -3700,8 +3845,9 @@ func (x gen_CALayer) SetBackgroundFilters( } -// IsOpaque A Boolean value indicating whether the layer contains completely opaque content. -// https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc +// IsOpaque returns a boolean value indicating whether the layer contains completely opaque content. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc for details. func (x gen_CALayer) IsOpaque() bool { ret := C.CALayer_inst_isOpaque( unsafe.Pointer(x.Pointer()), @@ -3711,8 +3857,9 @@ func (x gen_CALayer) IsOpaque() bool { } -// SetOpaque A Boolean value indicating whether the layer contains completely opaque content. -// https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc +// SetOpaque returns a boolean value indicating whether the layer contains completely opaque content. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc for details. func (x gen_CALayer) SetOpaque( value bool, ) { @@ -3725,8 +3872,9 @@ func (x gen_CALayer) SetOpaque( } -// IsGeometryFlipped A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. -// https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc +// IsGeometryFlipped returns a boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc for details. func (x gen_CALayer) IsGeometryFlipped() bool { ret := C.CALayer_inst_isGeometryFlipped( unsafe.Pointer(x.Pointer()), @@ -3736,8 +3884,9 @@ func (x gen_CALayer) IsGeometryFlipped() bool { } -// SetGeometryFlipped A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. -// https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc +// SetGeometryFlipped returns a boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc for details. func (x gen_CALayer) SetGeometryFlipped( value bool, ) { @@ -3750,8 +3899,9 @@ func (x gen_CALayer) SetGeometryFlipped( } -// DrawsAsynchronously A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. -// https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc +// DrawsAsynchronously returns a boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc for details. func (x gen_CALayer) DrawsAsynchronously() bool { ret := C.CALayer_inst_drawsAsynchronously( unsafe.Pointer(x.Pointer()), @@ -3761,8 +3911,9 @@ func (x gen_CALayer) DrawsAsynchronously() bool { } -// SetDrawsAsynchronously A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. -// https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc +// SetDrawsAsynchronously returns a boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc for details. func (x gen_CALayer) SetDrawsAsynchronously( value bool, ) { @@ -3775,8 +3926,9 @@ func (x gen_CALayer) SetDrawsAsynchronously( } -// ShouldRasterize A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable -// https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc +// ShouldRasterize returns a boolean that indicates whether the layer is rendered as a bitmap before compositing. animatable +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc for details. func (x gen_CALayer) ShouldRasterize() bool { ret := C.CALayer_inst_shouldRasterize( unsafe.Pointer(x.Pointer()), @@ -3786,8 +3938,9 @@ func (x gen_CALayer) ShouldRasterize() bool { } -// SetShouldRasterize A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable -// https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc +// SetShouldRasterize returns a boolean that indicates whether the layer is rendered as a bitmap before compositing. animatable +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc for details. func (x gen_CALayer) SetShouldRasterize( value bool, ) { @@ -3800,8 +3953,9 @@ func (x gen_CALayer) SetShouldRasterize( } -// RasterizationScale The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable -// https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc +// RasterizationScale returns the scale at which to rasterize content, relative to the coordinate space of the layer. animatable +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc for details. func (x gen_CALayer) RasterizationScale() CGFloat { ret := C.CALayer_inst_rasterizationScale( unsafe.Pointer(x.Pointer()), @@ -3811,8 +3965,9 @@ func (x gen_CALayer) RasterizationScale() CGFloat { } -// SetRasterizationScale The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable -// https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc +// SetRasterizationScale returns the scale at which to rasterize content, relative to the coordinate space of the layer. animatable +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc for details. func (x gen_CALayer) SetRasterizationScale( value CGFloat, ) { @@ -3825,8 +3980,9 @@ func (x gen_CALayer) SetRasterizationScale( } -// Frame The layer’s frame rectangle. -// https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc +// Frame returns the layer’s frame rectangle. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc for details. func (x gen_CALayer) Frame() NSRect { ret := C.CALayer_inst_frame( unsafe.Pointer(x.Pointer()), @@ -3836,8 +3992,9 @@ func (x gen_CALayer) Frame() NSRect { } -// SetFrame The layer’s frame rectangle. -// https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc +// SetFrame returns the layer’s frame rectangle. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc for details. func (x gen_CALayer) SetFrame( value NSRect, ) { @@ -3850,8 +4007,9 @@ func (x gen_CALayer) SetFrame( } -// Bounds The layer’s bounds rectangle. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc +// Bounds returns the layer’s bounds rectangle. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc for details. func (x gen_CALayer) Bounds() NSRect { ret := C.CALayer_inst_bounds( unsafe.Pointer(x.Pointer()), @@ -3861,8 +4019,9 @@ func (x gen_CALayer) Bounds() NSRect { } -// SetBounds The layer’s bounds rectangle. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc +// SetBounds returns the layer’s bounds rectangle. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc for details. func (x gen_CALayer) SetBounds( value NSRect, ) { @@ -3875,8 +4034,9 @@ func (x gen_CALayer) SetBounds( } -// ZPosition The layer’s position on the z axis. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc +// ZPosition returns the layer’s position on the z axis. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc for details. func (x gen_CALayer) ZPosition() CGFloat { ret := C.CALayer_inst_zPosition( unsafe.Pointer(x.Pointer()), @@ -3886,8 +4046,9 @@ func (x gen_CALayer) ZPosition() CGFloat { } -// SetZPosition The layer’s position on the z axis. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc +// SetZPosition returns the layer’s position on the z axis. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc for details. func (x gen_CALayer) SetZPosition( value CGFloat, ) { @@ -3900,8 +4061,9 @@ func (x gen_CALayer) SetZPosition( } -// AnchorPointZ The anchor point for the layer’s position along the z axis. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc +// AnchorPointZ returns the anchor point for the layer’s position along the z axis. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc for details. func (x gen_CALayer) AnchorPointZ() CGFloat { ret := C.CALayer_inst_anchorPointZ( unsafe.Pointer(x.Pointer()), @@ -3911,8 +4073,9 @@ func (x gen_CALayer) AnchorPointZ() CGFloat { } -// SetAnchorPointZ The anchor point for the layer’s position along the z axis. Animatable. -// https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc +// SetAnchorPointZ returns the anchor point for the layer’s position along the z axis. animatable. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc for details. func (x gen_CALayer) SetAnchorPointZ( value CGFloat, ) { @@ -3925,8 +4088,9 @@ func (x gen_CALayer) SetAnchorPointZ( } -// ContentsScale The scale factor applied to the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc +// ContentsScale returns the scale factor applied to the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc for details. func (x gen_CALayer) ContentsScale() CGFloat { ret := C.CALayer_inst_contentsScale( unsafe.Pointer(x.Pointer()), @@ -3936,8 +4100,9 @@ func (x gen_CALayer) ContentsScale() CGFloat { } -// SetContentsScale The scale factor applied to the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc +// SetContentsScale returns the scale factor applied to the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc for details. func (x gen_CALayer) SetContentsScale( value CGFloat, ) { @@ -3950,8 +4115,9 @@ func (x gen_CALayer) SetContentsScale( } -// Sublayers An array containing the layer’s sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc +// Sublayers an array containing the layer’s sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc for details. func (x gen_CALayer) Sublayers() NSArray { ret := C.CALayer_inst_sublayers( unsafe.Pointer(x.Pointer()), @@ -3961,8 +4127,9 @@ func (x gen_CALayer) Sublayers() NSArray { } -// SetSublayers An array containing the layer’s sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc +// SetSublayers an array containing the layer’s sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc for details. func (x gen_CALayer) SetSublayers( value NSArrayRef, ) { @@ -3975,8 +4142,9 @@ func (x gen_CALayer) SetSublayers( } -// Superlayer The superlayer of the layer. -// https://developer.apple.com/documentation/quartzcore/calayer/1410761-superlayer?language=objc +// Superlayer returns the superlayer of the layer. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410761-superlayer?language=objc for details. func (x gen_CALayer) Superlayer() CALayer { ret := C.CALayer_inst_superlayer( unsafe.Pointer(x.Pointer()), @@ -3986,8 +4154,9 @@ func (x gen_CALayer) Superlayer() CALayer { } -// NeedsDisplayOnBoundsChange A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes. -// https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc +// NeedsDisplayOnBoundsChange returns a boolean indicating whether the layer contents must be updated when its bounds rectangle changes. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc for details. func (x gen_CALayer) NeedsDisplayOnBoundsChange() bool { ret := C.CALayer_inst_needsDisplayOnBoundsChange( unsafe.Pointer(x.Pointer()), @@ -3997,8 +4166,9 @@ func (x gen_CALayer) NeedsDisplayOnBoundsChange() bool { } -// SetNeedsDisplayOnBoundsChange A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes. -// https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc +// SetNeedsDisplayOnBoundsChange returns a boolean indicating whether the layer contents must be updated when its bounds rectangle changes. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc for details. func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( value bool, ) { @@ -4011,8 +4181,9 @@ func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( } -// LayoutManager The object responsible for laying out the layer’s sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc +// LayoutManager returns the object responsible for laying out the layer’s sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc for details. func (x gen_CALayer) LayoutManager() objc.Object { ret := C.CALayer_inst_layoutManager( unsafe.Pointer(x.Pointer()), @@ -4022,8 +4193,9 @@ func (x gen_CALayer) LayoutManager() objc.Object { } -// SetLayoutManager The object responsible for laying out the layer’s sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc +// SetLayoutManager returns the object responsible for laying out the layer’s sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc for details. func (x gen_CALayer) SetLayoutManager( value objc.Ref, ) { @@ -4036,8 +4208,9 @@ func (x gen_CALayer) SetLayoutManager( } -// Constraints The constraints used to position current layer’s sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc +// Constraints returns the constraints used to position current layer’s sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc for details. func (x gen_CALayer) Constraints() NSArray { ret := C.CALayer_inst_constraints( unsafe.Pointer(x.Pointer()), @@ -4047,8 +4220,9 @@ func (x gen_CALayer) Constraints() NSArray { } -// SetConstraints The constraints used to position current layer’s sublayers. -// https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc +// SetConstraints returns the constraints used to position current layer’s sublayers. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc for details. func (x gen_CALayer) SetConstraints( value NSArrayRef, ) { @@ -4061,8 +4235,9 @@ func (x gen_CALayer) SetConstraints( } -// Actions A dictionary containing layer actions. -// https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc +// Actions returns a dictionary containing layer actions. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc for details. func (x gen_CALayer) Actions() NSDictionary { ret := C.CALayer_inst_actions( unsafe.Pointer(x.Pointer()), @@ -4072,8 +4247,9 @@ func (x gen_CALayer) Actions() NSDictionary { } -// SetActions A dictionary containing layer actions. -// https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc +// SetActions returns a dictionary containing layer actions. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc for details. func (x gen_CALayer) SetActions( value NSDictionaryRef, ) { @@ -4086,8 +4262,9 @@ func (x gen_CALayer) SetActions( } -// VisibleRect The visible region of the layer in its own coordinate space. -// https://developer.apple.com/documentation/quartzcore/calayer/1521892-visiblerect?language=objc +// VisibleRect returns the visible region of the layer in its own coordinate space. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1521892-visiblerect?language=objc for details. func (x gen_CALayer) VisibleRect() NSRect { ret := C.CALayer_inst_visibleRect( unsafe.Pointer(x.Pointer()), @@ -4097,8 +4274,9 @@ func (x gen_CALayer) VisibleRect() NSRect { } -// Name The name of the receiver. -// https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc +// Name returns the name of the receiver. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc for details. func (x gen_CALayer) Name() NSString { ret := C.CALayer_inst_name( unsafe.Pointer(x.Pointer()), @@ -4108,8 +4286,9 @@ func (x gen_CALayer) Name() NSString { } -// SetName The name of the receiver. -// https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc +// SetName returns the name of the receiver. +// +// See https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc for details. func (x gen_CALayer) SetName( value NSStringRef, ) { @@ -4141,8 +4320,9 @@ func NSArray_fromRef(ref objc.Ref) NSArray { return NSArray_fromPointer(unsafe.Pointer(ref.Pointer())) } -// ArrayByAddingObjectsFromArray Returns a new array that is a copy of the receiving array with the objects contained in another array added to the end. -// https://developer.apple.com/documentation/foundation/nsarray/1412087-arraybyaddingobjectsfromarray?language=objc +// ArrayByAddingObjectsFromArray returns a new array that is a copy of the receiving array with the objects contained in another array added to the end. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1412087-arraybyaddingobjectsfromarray?language=objc for details. func (x gen_NSArray) ArrayByAddingObjectsFromArray( otherArray NSArrayRef, ) NSArray { @@ -4155,8 +4335,9 @@ func (x gen_NSArray) ArrayByAddingObjectsFromArray( } -// ComponentsJoinedByString Constructs and returns an NSString object that is the result of interposing a given separator between the elements of the array. -// https://developer.apple.com/documentation/foundation/nsarray/1412075-componentsjoinedbystring?language=objc +// ComponentsJoinedByString constructs and returns an nsstring object that is the result of interposing a given separator between the elements of the array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1412075-componentsjoinedbystring?language=objc for details. func (x gen_NSArray) ComponentsJoinedByString( separator NSStringRef, ) NSString { @@ -4169,8 +4350,9 @@ func (x gen_NSArray) ComponentsJoinedByString( } -// DescriptionWithLocale Returns a string that represents the contents of the array, formatted as a property list. -// https://developer.apple.com/documentation/foundation/nsarray/1412374-descriptionwithlocale?language=objc +// DescriptionWithLocale returns a string that represents the contents of the array, formatted as a property list. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1412374-descriptionwithlocale?language=objc for details. func (x gen_NSArray) DescriptionWithLocale( locale objc.Ref, ) NSString { @@ -4183,8 +4365,9 @@ func (x gen_NSArray) DescriptionWithLocale( } -// DescriptionWithLocale_indent Returns a string that represents the contents of the array, formatted as a property list. -// https://developer.apple.com/documentation/foundation/nsarray/1416257-descriptionwithlocale?language=objc +// DescriptionWithLocale_indent returns a string that represents the contents of the array, formatted as a property list. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1416257-descriptionwithlocale?language=objc for details. func (x gen_NSArray) DescriptionWithLocale_indent( locale objc.Ref, level NSUInteger, @@ -4199,8 +4382,9 @@ func (x gen_NSArray) DescriptionWithLocale_indent( } -// Init_asNSArray Initializes a newly allocated array. -// https://developer.apple.com/documentation/foundation/nsarray/1414315-init?language=objc +// Init initializes a newly allocated array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1414315-init?language=objc for details. func (x gen_NSArray) Init_asNSArray() NSArray { ret := C.NSArray_inst_init( unsafe.Pointer(x.Pointer()), @@ -4210,8 +4394,9 @@ func (x gen_NSArray) Init_asNSArray() NSArray { } -// InitWithArray_asNSArray Initializes a newly allocated array by placing in it the objects contained in a given array. -// https://developer.apple.com/documentation/foundation/nsarray/1412169-initwitharray?language=objc +// InitWithArray initializes a newly allocated array by placing in it the objects contained in a given array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1412169-initwitharray?language=objc for details. func (x gen_NSArray) InitWithArray_asNSArray( array NSArrayRef, ) NSArray { @@ -4224,8 +4409,9 @@ func (x gen_NSArray) InitWithArray_asNSArray( } -// InitWithArray_copyItems_asNSArray Initializes a newly allocated array using anArray as the source of data objects for the array. -// https://developer.apple.com/documentation/foundation/nsarray/1408557-initwitharray?language=objc +// InitWithArray_copyItems initializes a newly allocated array using anarray as the source of data objects for the array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1408557-initwitharray?language=objc for details. func (x gen_NSArray) InitWithArray_copyItems_asNSArray( array NSArrayRef, flag bool, @@ -4240,8 +4426,9 @@ func (x gen_NSArray) InitWithArray_copyItems_asNSArray( } -// IsEqualToArray Compares the receiving array to another array. -// https://developer.apple.com/documentation/foundation/nsarray/1411770-isequaltoarray?language=objc +// IsEqualToArray compares the receiving array to another array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1411770-isequaltoarray?language=objc for details. func (x gen_NSArray) IsEqualToArray( otherArray NSArrayRef, ) bool { @@ -4254,8 +4441,9 @@ func (x gen_NSArray) IsEqualToArray( } -// MakeObjectsPerformSelector Sends to each object in the array the message identified by a given selector, starting with the first object and continuing through the array to the last object. -// https://developer.apple.com/documentation/foundation/nsarray/1460115-makeobjectsperformselector?language=objc +// MakeObjectsPerformSelector sends to each object in the array the message identified by a given selector, starting with the first object and continuing through the array to the last object. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1460115-makeobjectsperformselector?language=objc for details. func (x gen_NSArray) MakeObjectsPerformSelector( aSelector objc.Selector, ) { @@ -4268,8 +4456,9 @@ func (x gen_NSArray) MakeObjectsPerformSelector( } -// MakeObjectsPerformSelector_withObject Sends the aSelector message to each object in the array, starting with the first object and continuing through the array to the last object. -// https://developer.apple.com/documentation/foundation/nsarray/1460107-makeobjectsperformselector?language=objc +// MakeObjectsPerformSelector_withObject sends the aselector message to each object in the array, starting with the first object and continuing through the array to the last object. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1460107-makeobjectsperformselector?language=objc for details. func (x gen_NSArray) MakeObjectsPerformSelector_withObject( aSelector objc.Selector, argument objc.Ref, @@ -4284,8 +4473,9 @@ func (x gen_NSArray) MakeObjectsPerformSelector_withObject( } -// PathsMatchingExtensions Returns an array containing all the pathname elements in the receiving array that have filename extensions from a given array. -// https://developer.apple.com/documentation/foundation/nsarray/1418275-pathsmatchingextensions?language=objc +// PathsMatchingExtensions returns an array containing all the pathname elements in the receiving array that have filename extensions from a given array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1418275-pathsmatchingextensions?language=objc for details. func (x gen_NSArray) PathsMatchingExtensions( filterTypes NSArrayRef, ) NSArray { @@ -4298,8 +4488,9 @@ func (x gen_NSArray) PathsMatchingExtensions( } -// SetValue_forKey Invokes setValue:forKey: on each of the array's items using the specified value and key. -// https://developer.apple.com/documentation/foundation/nsarray/1408301-setvalue?language=objc +// SetValue_forKey invokes setvalue:forkey: on each of the array's items using the specified value and key. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1408301-setvalue?language=objc for details. func (x gen_NSArray) SetValue_forKey( value objc.Ref, key NSStringRef, @@ -4314,8 +4505,9 @@ func (x gen_NSArray) SetValue_forKey( } -// ShuffledArray Returns a new array that lists this array’s elements in a random order. -// https://developer.apple.com/documentation/foundation/nsarray/1640855-shuffledarray?language=objc +// ShuffledArray returns a new array that lists this array’s elements in a random order. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1640855-shuffledarray?language=objc for details. func (x gen_NSArray) ShuffledArray() NSArray { ret := C.NSArray_inst_shuffledArray( unsafe.Pointer(x.Pointer()), @@ -4325,8 +4517,9 @@ func (x gen_NSArray) ShuffledArray() NSArray { } -// SortedArrayUsingDescriptors Returns a copy of the receiving array sorted as specified by a given array of sort descriptors. -// https://developer.apple.com/documentation/foundation/nsarray/1415069-sortedarrayusingdescriptors?language=objc +// SortedArrayUsingDescriptors returns a copy of the receiving array sorted as specified by a given array of sort descriptors. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1415069-sortedarrayusingdescriptors?language=objc for details. func (x gen_NSArray) SortedArrayUsingDescriptors( sortDescriptors NSArrayRef, ) NSArray { @@ -4339,8 +4532,9 @@ func (x gen_NSArray) SortedArrayUsingDescriptors( } -// SortedArrayUsingSelector Returns an array that lists the receiving array’s elements in ascending order, as determined by the comparison method specified by a given selector. -// https://developer.apple.com/documentation/foundation/nsarray/1410025-sortedarrayusingselector?language=objc +// SortedArrayUsingSelector returns an array that lists the receiving array’s elements in ascending order, as determined by the comparison method specified by a given selector. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1410025-sortedarrayusingselector?language=objc for details. func (x gen_NSArray) SortedArrayUsingSelector( comparator objc.Selector, ) NSArray { @@ -4353,8 +4547,9 @@ func (x gen_NSArray) SortedArrayUsingSelector( } -// ValueForKey Returns an array containing the results of invoking valueForKey: using key on each of the array's objects. -// https://developer.apple.com/documentation/foundation/nsarray/1412219-valueforkey?language=objc +// ValueForKey returns an array containing the results of invoking valueforkey: using key on each of the array's objects. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1412219-valueforkey?language=objc for details. func (x gen_NSArray) ValueForKey( key NSStringRef, ) objc.Object { @@ -4367,8 +4562,9 @@ func (x gen_NSArray) ValueForKey( } -// Count The number of objects in the array. -// https://developer.apple.com/documentation/foundation/nsarray/1409982-count?language=objc +// Count returns the number of objects in the array. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1409982-count?language=objc for details. func (x gen_NSArray) Count() NSUInteger { ret := C.NSArray_inst_count( unsafe.Pointer(x.Pointer()), @@ -4378,8 +4574,9 @@ func (x gen_NSArray) Count() NSUInteger { } -// SortedArrayHint Analyzes the array and returns a “hint” that speeds the sorting of the array when the hint is supplied to sortedArrayUsingFunction:context:hint:. -// https://developer.apple.com/documentation/foundation/nsarray/1413063-sortedarrayhint?language=objc +// SortedArrayHint analyzes the array and returns a “hint” that speeds the sorting of the array when the hint is supplied to sortedarrayusingfunction:context:hint:. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1413063-sortedarrayhint?language=objc for details. func (x gen_NSArray) SortedArrayHint() NSData { ret := C.NSArray_inst_sortedArrayHint( unsafe.Pointer(x.Pointer()), @@ -4389,8 +4586,9 @@ func (x gen_NSArray) SortedArrayHint() NSData { } -// Description A string that represents the contents of the array, formatted as a property list. -// https://developer.apple.com/documentation/foundation/nsarray/1413042-description?language=objc +// Description returns a string that represents the contents of the array, formatted as a property list. +// +// See https://developer.apple.com/documentation/foundation/nsarray/1413042-description?language=objc for details. func (x gen_NSArray) Description() NSString { ret := C.NSArray_inst_description( unsafe.Pointer(x.Pointer()), @@ -4420,7 +4618,8 @@ func NSAttributedString_fromRef(ref objc.Ref) NSAttributedString { } // AttributedStringByInflectingString -// https://developer.apple.com/documentation/foundation/nsattributedstring/3746871-attributedstringbyinflectingstri?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/3746871-attributedstringbyinflectingstri?language=objc for details. func (x gen_NSAttributedString) AttributedStringByInflectingString() NSAttributedString { ret := C.NSAttributedString_inst_attributedStringByInflectingString( unsafe.Pointer(x.Pointer()), @@ -4430,8 +4629,9 @@ func (x gen_NSAttributedString) AttributedStringByInflectingString() NSAttribute } -// DrawInRect Draws the attributed string inside the specified bounding rectangle in the current graphics context. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1531631-drawinrect?language=objc +// DrawInRect draws the attributed string inside the specified bounding rectangle in the current graphics context. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1531631-drawinrect?language=objc for details. func (x gen_NSAttributedString) DrawInRect( rect NSRect, ) { @@ -4444,8 +4644,9 @@ func (x gen_NSAttributedString) DrawInRect( } -// InitWithAttributedString_asNSAttributedString Creates an attributed string with the characters and attributes of the specified attributed string. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1415342-initwithattributedstring?language=objc +// InitWithAttributedString creates an attributed string with the characters and attributes of the specified attributed string. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1415342-initwithattributedstring?language=objc for details. func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( attrStr NSAttributedStringRef, ) NSAttributedString { @@ -4458,8 +4659,9 @@ func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( } -// InitWithDocFormat_documentAttributes_asNSAttributedString Creates an attributed string from Microsoft Word format data in the specified data object. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1534329-initwithdocformat?language=objc +// InitWithDocFormat_documentAttributes creates an attributed string from microsoft word format data in the specified data object. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1534329-initwithdocformat?language=objc for details. func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, @@ -4474,8 +4676,9 @@ func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttribu } -// InitWithHTML_baseURL_documentAttributes_asNSAttributedString Creates an attributed string from the HTML in the specified data object and base URL. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1524624-initwithhtml?language=objc +// InitWithHTML_baseURL_documentAttributes creates an attributed string from the html in the specified data object and base url. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1524624-initwithhtml?language=objc for details. func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttributedString( data NSDataRef, base NSURLRef, @@ -4492,8 +4695,9 @@ func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttr } -// InitWithHTML_documentAttributes_asNSAttributedString Creates an attributed string from the HTML in the specified data object. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1525953-initwithhtml?language=objc +// InitWithHTML_documentAttributes creates an attributed string from the html in the specified data object. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1525953-initwithhtml?language=objc for details. func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, @@ -4508,8 +4712,9 @@ func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedSt } -// InitWithHTML_options_documentAttributes_asNSAttributedString Creates an attributed string from the HTML in the specified data object. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1535412-initwithhtml?language=objc +// InitWithHTML_options_documentAttributes creates an attributed string from the html in the specified data object. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1535412-initwithhtml?language=objc for details. func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes_asNSAttributedString( data NSDataRef, options NSDictionaryRef, @@ -4526,8 +4731,9 @@ func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes_asNSAttr } -// InitWithRTF_documentAttributes_asNSAttributedString Creates an attributed string by decoding the stream of RTF commands and data in the specified data object. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1532912-initwithrtf?language=objc +// InitWithRTF_documentAttributes creates an attributed string by decoding the stream of rtf commands and data in the specified data object. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1532912-initwithrtf?language=objc for details. func (x gen_NSAttributedString) InitWithRTF_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, @@ -4542,8 +4748,9 @@ func (x gen_NSAttributedString) InitWithRTF_documentAttributes_asNSAttributedStr } -// InitWithRTFD_documentAttributes_asNSAttributedString Creates an attributed string by decoding the stream of RTFD commands and data in the specified data object. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1530987-initwithrtfd?language=objc +// InitWithRTFD_documentAttributes creates an attributed string by decoding the stream of rtfd commands and data in the specified data object. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1530987-initwithrtfd?language=objc for details. func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, @@ -4558,8 +4765,9 @@ func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedSt } -// InitWithString_asNSAttributedString Creates an attributed string with the characters of the specified string and no attribute information. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1407481-initwithstring?language=objc +// InitWithString creates an attributed string with the characters of the specified string and no attribute information. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1407481-initwithstring?language=objc for details. func (x gen_NSAttributedString) InitWithString_asNSAttributedString( str NSStringRef, ) NSAttributedString { @@ -4572,8 +4780,9 @@ func (x gen_NSAttributedString) InitWithString_asNSAttributedString( } -// InitWithString_attributes_asNSAttributedString Creates an attributed string with the specified string and attributes. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1408136-initwithstring?language=objc +// InitWithString_attributes creates an attributed string with the specified string and attributes. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1408136-initwithstring?language=objc for details. func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( str NSStringRef, attrs NSDictionaryRef, @@ -4588,8 +4797,9 @@ func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( } -// IsEqualToAttributedString Returns a Boolean value that indicates whether the attributed string is equal to another attributed string. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1414808-isequaltoattributedstring?language=objc +// IsEqualToAttributedString returns a boolean value that indicates whether the attributed string is equal to another attributed string. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1414808-isequaltoattributedstring?language=objc for details. func (x gen_NSAttributedString) IsEqualToAttributedString( other NSAttributedStringRef, ) bool { @@ -4602,8 +4812,9 @@ func (x gen_NSAttributedString) IsEqualToAttributedString( } -// NextWordFromIndex_forward Returns the index of the first character of the word after or before the specified index. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1535305-nextwordfromindex?language=objc +// NextWordFromIndex_forward returns the index of the first character of the word after or before the specified index. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1535305-nextwordfromindex?language=objc for details. func (x gen_NSAttributedString) NextWordFromIndex_forward( location NSUInteger, isForward bool, @@ -4618,8 +4829,9 @@ func (x gen_NSAttributedString) NextWordFromIndex_forward( } -// Size Returns the size necessary to draw the string. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1528362-size?language=objc +// Size returns the size necessary to draw the string. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1528362-size?language=objc for details. func (x gen_NSAttributedString) Size() NSSize { ret := C.NSAttributedString_inst_size( unsafe.Pointer(x.Pointer()), @@ -4629,7 +4841,9 @@ func (x gen_NSAttributedString) Size() NSSize { } -// Init_asNSAttributedString +// Init +// +// See for details. func (x gen_NSAttributedString) Init_asNSAttributedString() NSAttributedString { ret := C.NSAttributedString_inst_init( unsafe.Pointer(x.Pointer()), @@ -4639,8 +4853,9 @@ func (x gen_NSAttributedString) Init_asNSAttributedString() NSAttributedString { } -// String The character contents of the attributed string as a string. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1412616-string?language=objc +// String returns the character contents of the attributed string as a string. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1412616-string?language=objc for details. func (x gen_NSAttributedString) String() NSString { ret := C.NSAttributedString_inst_string( unsafe.Pointer(x.Pointer()), @@ -4650,8 +4865,9 @@ func (x gen_NSAttributedString) String() NSString { } -// Length The length of the attributed string. -// https://developer.apple.com/documentation/foundation/nsattributedstring/1418432-length?language=objc +// Length returns the length of the attributed string. +// +// See https://developer.apple.com/documentation/foundation/nsattributedstring/1418432-length?language=objc for details. func (x gen_NSAttributedString) Length() NSUInteger { ret := C.NSAttributedString_inst_length( unsafe.Pointer(x.Pointer()), @@ -4680,8 +4896,9 @@ func NSData_fromRef(ref objc.Ref) NSData { return NSData_fromPointer(unsafe.Pointer(ref.Pointer())) } -// GetBytes_length Copies a number of bytes from the start of the data object into a given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1411450-getbytes?language=objc +// GetBytes_length copies a number of bytes from the start of the data object into a given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1411450-getbytes?language=objc for details. func (x gen_NSData) GetBytes_length( buffer unsafe.Pointer, length NSUInteger, @@ -4696,8 +4913,9 @@ func (x gen_NSData) GetBytes_length( } -// InitWithBytes_length_asNSData Initializes a data object filled with a given number of bytes copied from a given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1412793-initwithbytes?language=objc +// InitWithBytes_length initializes a data object filled with a given number of bytes copied from a given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1412793-initwithbytes?language=objc for details. func (x gen_NSData) InitWithBytes_length_asNSData( bytes unsafe.Pointer, length NSUInteger, @@ -4712,8 +4930,9 @@ func (x gen_NSData) InitWithBytes_length_asNSData( } -// InitWithBytesNoCopy_length_asNSData Initializes a data object filled with a given number of bytes of data from a given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1409454-initwithbytesnocopy?language=objc +// InitWithBytesNoCopy_length initializes a data object filled with a given number of bytes of data from a given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1409454-initwithbytesnocopy?language=objc for details. func (x gen_NSData) InitWithBytesNoCopy_length_asNSData( bytes unsafe.Pointer, length NSUInteger, @@ -4728,8 +4947,9 @@ func (x gen_NSData) InitWithBytesNoCopy_length_asNSData( } -// InitWithBytesNoCopy_length_freeWhenDone_asNSData Initializes a newly allocated data object by adding the given number of bytes from the given buffer. -// https://developer.apple.com/documentation/foundation/nsdata/1416020-initwithbytesnocopy?language=objc +// InitWithBytesNoCopy_length_freeWhenDone initializes a newly allocated data object by adding the given number of bytes from the given buffer. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1416020-initwithbytesnocopy?language=objc for details. func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( bytes unsafe.Pointer, length NSUInteger, @@ -4746,8 +4966,9 @@ func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( } -// InitWithContentsOfFile_asNSData Initializes a data object with the content of the file at a given path. -// https://developer.apple.com/documentation/foundation/nsdata/1408672-initwithcontentsoffile?language=objc +// InitWithContentsOfFile initializes a data object with the content of the file at a given path. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1408672-initwithcontentsoffile?language=objc for details. func (x gen_NSData) InitWithContentsOfFile_asNSData( path NSStringRef, ) NSData { @@ -4760,8 +4981,9 @@ func (x gen_NSData) InitWithContentsOfFile_asNSData( } -// InitWithContentsOfURL_asNSData Initializes a data object with the data from the location specified by a given URL. -// https://developer.apple.com/documentation/foundation/nsdata/1413892-initwithcontentsofurl?language=objc +// InitWithContentsOfURL initializes a data object with the data from the location specified by a given url. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1413892-initwithcontentsofurl?language=objc for details. func (x gen_NSData) InitWithContentsOfURL_asNSData( url NSURLRef, ) NSData { @@ -4774,8 +4996,9 @@ func (x gen_NSData) InitWithContentsOfURL_asNSData( } -// InitWithData_asNSData Initializes a data object with the contents of another data object. -// https://developer.apple.com/documentation/foundation/nsdata/1417055-initwithdata?language=objc +// InitWithData initializes a data object with the contents of another data object. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1417055-initwithdata?language=objc for details. func (x gen_NSData) InitWithData_asNSData( data NSDataRef, ) NSData { @@ -4788,8 +5011,9 @@ func (x gen_NSData) InitWithData_asNSData( } -// IsEqualToData Returns a Boolean value indicating whether this data object is the same as another. -// https://developer.apple.com/documentation/foundation/nsdata/1409330-isequaltodata?language=objc +// IsEqualToData returns a boolean value indicating whether this data object is the same as another. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1409330-isequaltodata?language=objc for details. func (x gen_NSData) IsEqualToData( other NSDataRef, ) bool { @@ -4802,8 +5026,9 @@ func (x gen_NSData) IsEqualToData( } -// WriteToFile_atomically Writes the data object's bytes to the file specified by a given path. -// https://developer.apple.com/documentation/foundation/nsdata/1408033-writetofile?language=objc +// WriteToFile_atomically writes the data object's bytes to the file specified by a given path. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1408033-writetofile?language=objc for details. func (x gen_NSData) WriteToFile_atomically( path NSStringRef, useAuxiliaryFile bool, @@ -4818,8 +5043,9 @@ func (x gen_NSData) WriteToFile_atomically( } -// WriteToURL_atomically Writes the data object's bytes to the location specified by a given URL. -// https://developer.apple.com/documentation/foundation/nsdata/1415134-writetourl?language=objc +// WriteToURL_atomically writes the data object's bytes to the location specified by a given url. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1415134-writetourl?language=objc for details. func (x gen_NSData) WriteToURL_atomically( url NSURLRef, atomically bool, @@ -4834,7 +5060,9 @@ func (x gen_NSData) WriteToURL_atomically( } -// Init_asNSData +// Init +// +// See for details. func (x gen_NSData) Init_asNSData() NSData { ret := C.NSData_inst_init( unsafe.Pointer(x.Pointer()), @@ -4844,8 +5072,9 @@ func (x gen_NSData) Init_asNSData() NSData { } -// Bytes A pointer to the data object's contents. -// https://developer.apple.com/documentation/foundation/nsdata/1410616-bytes?language=objc +// Bytes returns a pointer to the data object's contents. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1410616-bytes?language=objc for details. func (x gen_NSData) Bytes() unsafe.Pointer { ret := C.NSData_inst_bytes( unsafe.Pointer(x.Pointer()), @@ -4855,8 +5084,9 @@ func (x gen_NSData) Bytes() unsafe.Pointer { } -// Length The number of bytes contained by the data object. -// https://developer.apple.com/documentation/foundation/nsdata/1416769-length?language=objc +// Length returns the number of bytes contained by the data object. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1416769-length?language=objc for details. func (x gen_NSData) Length() NSUInteger { ret := C.NSData_inst_length( unsafe.Pointer(x.Pointer()), @@ -4866,8 +5096,9 @@ func (x gen_NSData) Length() NSUInteger { } -// Description A string that contains a hexadecimal representation of the data object’s contents in a property list format. -// https://developer.apple.com/documentation/foundation/nsdata/1412579-description?language=objc +// Description returns a string that contains a hexadecimal representation of the data object’s contents in a property list format. +// +// See https://developer.apple.com/documentation/foundation/nsdata/1412579-description?language=objc for details. func (x gen_NSData) Description() NSString { ret := C.NSData_inst_description( unsafe.Pointer(x.Pointer()), @@ -4896,8 +5127,9 @@ func NSDictionary_fromRef(ref objc.Ref) NSDictionary { return NSDictionary_fromPointer(unsafe.Pointer(ref.Pointer())) } -// DescriptionWithLocale Returns a string object that represents the contents of the dictionary, formatted as a property list. -// https://developer.apple.com/documentation/foundation/nsdictionary/1417665-descriptionwithlocale?language=objc +// DescriptionWithLocale returns a string object that represents the contents of the dictionary, formatted as a property list. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1417665-descriptionwithlocale?language=objc for details. func (x gen_NSDictionary) DescriptionWithLocale( locale objc.Ref, ) NSString { @@ -4910,8 +5142,9 @@ func (x gen_NSDictionary) DescriptionWithLocale( } -// DescriptionWithLocale_indent Returns a string object that represents the contents of the dictionary, formatted as a property list. -// https://developer.apple.com/documentation/foundation/nsdictionary/1412690-descriptionwithlocale?language=objc +// DescriptionWithLocale_indent returns a string object that represents the contents of the dictionary, formatted as a property list. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1412690-descriptionwithlocale?language=objc for details. func (x gen_NSDictionary) DescriptionWithLocale_indent( locale objc.Ref, level NSUInteger, @@ -4926,8 +5159,9 @@ func (x gen_NSDictionary) DescriptionWithLocale_indent( } -// FileExtensionHidden Returns a Boolean value indicating whether the file hides its extension. -// https://developer.apple.com/documentation/foundation/nsdictionary/1413177-fileextensionhidden?language=objc +// FileExtensionHidden returns a boolean value indicating whether the file hides its extension. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1413177-fileextensionhidden?language=objc for details. func (x gen_NSDictionary) FileExtensionHidden() bool { ret := C.NSDictionary_inst_fileExtensionHidden( unsafe.Pointer(x.Pointer()), @@ -4937,8 +5171,9 @@ func (x gen_NSDictionary) FileExtensionHidden() bool { } -// FileGroupOwnerAccountID Returns file’s group owner account ID. -// https://developer.apple.com/documentation/foundation/nsdictionary/1413626-filegroupowneraccountid?language=objc +// FileGroupOwnerAccountID returns file’s group owner account id. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1413626-filegroupowneraccountid?language=objc for details. func (x gen_NSDictionary) FileGroupOwnerAccountID() NSNumber { ret := C.NSDictionary_inst_fileGroupOwnerAccountID( unsafe.Pointer(x.Pointer()), @@ -4948,8 +5183,9 @@ func (x gen_NSDictionary) FileGroupOwnerAccountID() NSNumber { } -// FileGroupOwnerAccountName Returns the file’s group owner account name. -// https://developer.apple.com/documentation/foundation/nsdictionary/1416788-filegroupowneraccountname?language=objc +// FileGroupOwnerAccountName returns the file’s group owner account name. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1416788-filegroupowneraccountname?language=objc for details. func (x gen_NSDictionary) FileGroupOwnerAccountName() NSString { ret := C.NSDictionary_inst_fileGroupOwnerAccountName( unsafe.Pointer(x.Pointer()), @@ -4959,8 +5195,9 @@ func (x gen_NSDictionary) FileGroupOwnerAccountName() NSString { } -// FileIsAppendOnly Returns a Boolean value indicating whether the file is append only. -// https://developer.apple.com/documentation/foundation/nsdictionary/1416083-fileisappendonly?language=objc +// FileIsAppendOnly returns a boolean value indicating whether the file is append only. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1416083-fileisappendonly?language=objc for details. func (x gen_NSDictionary) FileIsAppendOnly() bool { ret := C.NSDictionary_inst_fileIsAppendOnly( unsafe.Pointer(x.Pointer()), @@ -4970,8 +5207,9 @@ func (x gen_NSDictionary) FileIsAppendOnly() bool { } -// FileIsImmutable Returns a Boolean value indicating whether the file is immutable. -// https://developer.apple.com/documentation/foundation/nsdictionary/1416500-fileisimmutable?language=objc +// FileIsImmutable returns a boolean value indicating whether the file is immutable. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1416500-fileisimmutable?language=objc for details. func (x gen_NSDictionary) FileIsImmutable() bool { ret := C.NSDictionary_inst_fileIsImmutable( unsafe.Pointer(x.Pointer()), @@ -4981,8 +5219,9 @@ func (x gen_NSDictionary) FileIsImmutable() bool { } -// FileOwnerAccountID Returns the file’s owner account ID. -// https://developer.apple.com/documentation/foundation/nsdictionary/1412281-fileowneraccountid?language=objc +// FileOwnerAccountID returns the file’s owner account id. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1412281-fileowneraccountid?language=objc for details. func (x gen_NSDictionary) FileOwnerAccountID() NSNumber { ret := C.NSDictionary_inst_fileOwnerAccountID( unsafe.Pointer(x.Pointer()), @@ -4992,8 +5231,9 @@ func (x gen_NSDictionary) FileOwnerAccountID() NSNumber { } -// FileOwnerAccountName Returns the file’s owner account name. -// https://developer.apple.com/documentation/foundation/nsdictionary/1417533-fileowneraccountname?language=objc +// FileOwnerAccountName returns the file’s owner account name. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1417533-fileowneraccountname?language=objc for details. func (x gen_NSDictionary) FileOwnerAccountName() NSString { ret := C.NSDictionary_inst_fileOwnerAccountName( unsafe.Pointer(x.Pointer()), @@ -5003,8 +5243,9 @@ func (x gen_NSDictionary) FileOwnerAccountName() NSString { } -// FilePosixPermissions Returns the file’s POSIX permissions. -// https://developer.apple.com/documentation/foundation/nsdictionary/1409446-fileposixpermissions?language=objc +// FilePosixPermissions returns the file’s posix permissions. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1409446-fileposixpermissions?language=objc for details. func (x gen_NSDictionary) FilePosixPermissions() NSUInteger { ret := C.NSDictionary_inst_filePosixPermissions( unsafe.Pointer(x.Pointer()), @@ -5014,8 +5255,9 @@ func (x gen_NSDictionary) FilePosixPermissions() NSUInteger { } -// FileSystemFileNumber Returns the filesystem file number. -// https://developer.apple.com/documentation/foundation/nsdictionary/1408396-filesystemfilenumber?language=objc +// FileSystemFileNumber returns the filesystem file number. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1408396-filesystemfilenumber?language=objc for details. func (x gen_NSDictionary) FileSystemFileNumber() NSUInteger { ret := C.NSDictionary_inst_fileSystemFileNumber( unsafe.Pointer(x.Pointer()), @@ -5025,8 +5267,9 @@ func (x gen_NSDictionary) FileSystemFileNumber() NSUInteger { } -// FileSystemNumber Returns the filesystem number. -// https://developer.apple.com/documentation/foundation/nsdictionary/1415329-filesystemnumber?language=objc +// FileSystemNumber returns the filesystem number. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1415329-filesystemnumber?language=objc for details. func (x gen_NSDictionary) FileSystemNumber() NSInteger { ret := C.NSDictionary_inst_fileSystemNumber( unsafe.Pointer(x.Pointer()), @@ -5036,8 +5279,9 @@ func (x gen_NSDictionary) FileSystemNumber() NSInteger { } -// FileType Returns the file type. -// https://developer.apple.com/documentation/foundation/nsdictionary/1416809-filetype?language=objc +// FileType returns the file type. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1416809-filetype?language=objc for details. func (x gen_NSDictionary) FileType() NSString { ret := C.NSDictionary_inst_fileType( unsafe.Pointer(x.Pointer()), @@ -5047,8 +5291,9 @@ func (x gen_NSDictionary) FileType() NSString { } -// Init_asNSDictionary Initializes a newly allocated dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1418147-init?language=objc +// Init initializes a newly allocated dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1418147-init?language=objc for details. func (x gen_NSDictionary) Init_asNSDictionary() NSDictionary { ret := C.NSDictionary_inst_init( unsafe.Pointer(x.Pointer()), @@ -5058,8 +5303,9 @@ func (x gen_NSDictionary) Init_asNSDictionary() NSDictionary { } -// InitWithDictionary_asNSDictionary Initializes a newly allocated dictionary by placing in it the keys and values contained in another given dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1418434-initwithdictionary?language=objc +// InitWithDictionary initializes a newly allocated dictionary by placing in it the keys and values contained in another given dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1418434-initwithdictionary?language=objc for details. func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( otherDictionary NSDictionaryRef, ) NSDictionary { @@ -5072,8 +5318,9 @@ func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( } -// InitWithDictionary_copyItems_asNSDictionary Initializes a newly allocated dictionary using the objects contained in another given dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1410124-initwithdictionary?language=objc +// InitWithDictionary_copyItems initializes a newly allocated dictionary using the objects contained in another given dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1410124-initwithdictionary?language=objc for details. func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( otherDictionary NSDictionaryRef, flag bool, @@ -5088,8 +5335,9 @@ func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( } -// InitWithObjects_forKeys_asNSDictionary Initializes a newly allocated dictionary with key-value pairs constructed from the provided arrays of keys and objects. -// https://developer.apple.com/documentation/foundation/nsdictionary/1410010-initwithobjects?language=objc +// InitWithObjects_forKeys initializes a newly allocated dictionary with key-value pairs constructed from the provided arrays of keys and objects. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1410010-initwithobjects?language=objc for details. func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( objects NSArrayRef, keys NSArrayRef, @@ -5104,8 +5352,9 @@ func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( } -// IsEqualToDictionary Returns a Boolean value that indicates whether the contents of the receiving dictionary are equal to the contents of another given dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1415445-isequaltodictionary?language=objc +// IsEqualToDictionary returns a boolean value that indicates whether the contents of the receiving dictionary are equal to the contents of another given dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1415445-isequaltodictionary?language=objc for details. func (x gen_NSDictionary) IsEqualToDictionary( otherDictionary NSDictionaryRef, ) bool { @@ -5118,8 +5367,9 @@ func (x gen_NSDictionary) IsEqualToDictionary( } -// KeysSortedByValueUsingSelector Returns an array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values. -// https://developer.apple.com/documentation/foundation/nsdictionary/1412484-keyssortedbyvalueusingselector?language=objc +// KeysSortedByValueUsingSelector returns an array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1412484-keyssortedbyvalueusingselector?language=objc for details. func (x gen_NSDictionary) KeysSortedByValueUsingSelector( comparator objc.Selector, ) NSArray { @@ -5132,8 +5382,9 @@ func (x gen_NSDictionary) KeysSortedByValueUsingSelector( } -// Count The number of entries in the dictionary. -// https://developer.apple.com/documentation/foundation/nsdictionary/1409628-count?language=objc +// Count returns the number of entries in the dictionary. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1409628-count?language=objc for details. func (x gen_NSDictionary) Count() NSUInteger { ret := C.NSDictionary_inst_count( unsafe.Pointer(x.Pointer()), @@ -5143,8 +5394,9 @@ func (x gen_NSDictionary) Count() NSUInteger { } -// AllKeys A new array containing the dictionary’s keys, or an empty array if the dictionary has no entries. -// https://developer.apple.com/documentation/foundation/nsdictionary/1409150-allkeys?language=objc +// AllKeys returns a new array containing the dictionary’s keys, or an empty array if the dictionary has no entries. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1409150-allkeys?language=objc for details. func (x gen_NSDictionary) AllKeys() NSArray { ret := C.NSDictionary_inst_allKeys( unsafe.Pointer(x.Pointer()), @@ -5154,8 +5406,9 @@ func (x gen_NSDictionary) AllKeys() NSArray { } -// AllValues A new array containing the dictionary’s values, or an empty array if the dictionary has no entries. -// https://developer.apple.com/documentation/foundation/nsdictionary/1408915-allvalues?language=objc +// AllValues returns a new array containing the dictionary’s values, or an empty array if the dictionary has no entries. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1408915-allvalues?language=objc for details. func (x gen_NSDictionary) AllValues() NSArray { ret := C.NSDictionary_inst_allValues( unsafe.Pointer(x.Pointer()), @@ -5165,8 +5418,9 @@ func (x gen_NSDictionary) AllValues() NSArray { } -// Description A string that represents the contents of the dictionary, formatted as a property list. -// https://developer.apple.com/documentation/foundation/nsdictionary/1410799-description?language=objc +// Description returns a string that represents the contents of the dictionary, formatted as a property list. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1410799-description?language=objc for details. func (x gen_NSDictionary) Description() NSString { ret := C.NSDictionary_inst_description( unsafe.Pointer(x.Pointer()), @@ -5176,8 +5430,9 @@ func (x gen_NSDictionary) Description() NSString { } -// DescriptionInStringsFileFormat A string that represents the contents of the dictionary, formatted in .strings file format. -// https://developer.apple.com/documentation/foundation/nsdictionary/1413282-descriptioninstringsfileformat?language=objc +// DescriptionInStringsFileFormat returns a string that represents the contents of the dictionary, formatted in .strings file format. +// +// See https://developer.apple.com/documentation/foundation/nsdictionary/1413282-descriptioninstringsfileformat?language=objc for details. func (x gen_NSDictionary) DescriptionInStringsFileFormat() NSString { ret := C.NSDictionary_inst_descriptionInStringsFileFormat( unsafe.Pointer(x.Pointer()), @@ -5206,8 +5461,9 @@ func NSNumber_fromRef(ref objc.Ref) NSNumber { return NSNumber_fromPointer(unsafe.Pointer(ref.Pointer())) } -// DescriptionWithLocale Returns a string that represents the contents of the number object for a given locale. -// https://developer.apple.com/documentation/foundation/nsnumber/1409984-descriptionwithlocale?language=objc +// DescriptionWithLocale returns a string that represents the contents of the number object for a given locale. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1409984-descriptionwithlocale?language=objc for details. func (x gen_NSNumber) DescriptionWithLocale( locale objc.Ref, ) NSString { @@ -5220,8 +5476,9 @@ func (x gen_NSNumber) DescriptionWithLocale( } -// InitWithBool Returns an NSNumber object initialized to contain a given value, treated as a BOOL. -// https://developer.apple.com/documentation/foundation/nsnumber/1415728-initwithbool?language=objc +// InitWithBool returns an nsnumber object initialized to contain a given value, treated as a bool. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1415728-initwithbool?language=objc for details. func (x gen_NSNumber) InitWithBool( value bool, ) NSNumber { @@ -5234,8 +5491,9 @@ func (x gen_NSNumber) InitWithBool( } -// InitWithInt Returns an NSNumber object initialized to contain a given value, treated as a signed int. -// https://developer.apple.com/documentation/foundation/nsnumber/1407580-initwithint?language=objc +// InitWithInt returns an nsnumber object initialized to contain a given value, treated as a signed int. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1407580-initwithint?language=objc for details. func (x gen_NSNumber) InitWithInt( value int32, ) NSNumber { @@ -5248,8 +5506,9 @@ func (x gen_NSNumber) InitWithInt( } -// InitWithInteger Returns an NSNumber object initialized to contain a given value, treated as an NSInteger. -// https://developer.apple.com/documentation/foundation/nsnumber/1409397-initwithinteger?language=objc +// InitWithInteger returns an nsnumber object initialized to contain a given value, treated as an nsinteger. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1409397-initwithinteger?language=objc for details. func (x gen_NSNumber) InitWithInteger( value NSInteger, ) NSNumber { @@ -5262,8 +5521,9 @@ func (x gen_NSNumber) InitWithInteger( } -// InitWithUnsignedInt Returns an NSNumber object initialized to contain a given value, treated as an unsigned int. -// https://developer.apple.com/documentation/foundation/nsnumber/1414598-initwithunsignedint?language=objc +// InitWithUnsignedInt returns an nsnumber object initialized to contain a given value, treated as an unsigned int. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1414598-initwithunsignedint?language=objc for details. func (x gen_NSNumber) InitWithUnsignedInt( value int32, ) NSNumber { @@ -5276,8 +5536,9 @@ func (x gen_NSNumber) InitWithUnsignedInt( } -// InitWithUnsignedInteger Returns an NSNumber object initialized to contain a given value, treated as an NSUInteger. -// https://developer.apple.com/documentation/foundation/nsnumber/1412531-initwithunsignedinteger?language=objc +// InitWithUnsignedInteger returns an nsnumber object initialized to contain a given value, treated as an nsuinteger. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1412531-initwithunsignedinteger?language=objc for details. func (x gen_NSNumber) InitWithUnsignedInteger( value NSUInteger, ) NSNumber { @@ -5290,8 +5551,9 @@ func (x gen_NSNumber) InitWithUnsignedInteger( } -// IsEqualToNumber Returns a Boolean value that indicates whether the number object’s value and a given number are equal. -// https://developer.apple.com/documentation/foundation/nsnumber/1411315-isequaltonumber?language=objc +// IsEqualToNumber returns a boolean value that indicates whether the number object’s value and a given number are equal. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1411315-isequaltonumber?language=objc for details. func (x gen_NSNumber) IsEqualToNumber( number NSNumberRef, ) bool { @@ -5304,7 +5566,9 @@ func (x gen_NSNumber) IsEqualToNumber( } -// Init_asNSNumber +// Init +// +// See for details. func (x gen_NSNumber) Init_asNSNumber() NSNumber { ret := C.NSNumber_inst_init( unsafe.Pointer(x.Pointer()), @@ -5314,8 +5578,9 @@ func (x gen_NSNumber) Init_asNSNumber() NSNumber { } -// BoolValue The number object's value expressed as a Boolean value. -// https://developer.apple.com/documentation/foundation/nsnumber/1410865-boolvalue?language=objc +// BoolValue returns the number object's value expressed as a boolean value. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1410865-boolvalue?language=objc for details. func (x gen_NSNumber) BoolValue() bool { ret := C.NSNumber_inst_boolValue( unsafe.Pointer(x.Pointer()), @@ -5325,8 +5590,9 @@ func (x gen_NSNumber) BoolValue() bool { } -// IntValue The number object's value expressed as an int, converted as necessary. -// https://developer.apple.com/documentation/foundation/nsnumber/1407153-intvalue?language=objc +// IntValue returns the number object's value expressed as an int, converted as necessary. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1407153-intvalue?language=objc for details. func (x gen_NSNumber) IntValue() int32 { ret := C.NSNumber_inst_intValue( unsafe.Pointer(x.Pointer()), @@ -5336,8 +5602,9 @@ func (x gen_NSNumber) IntValue() int32 { } -// IntegerValue The number object's value expressed as an NSInteger object, converted as necessary. -// https://developer.apple.com/documentation/foundation/nsnumber/1412554-integervalue?language=objc +// IntegerValue returns the number object's value expressed as an nsinteger object, converted as necessary. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1412554-integervalue?language=objc for details. func (x gen_NSNumber) IntegerValue() NSInteger { ret := C.NSNumber_inst_integerValue( unsafe.Pointer(x.Pointer()), @@ -5347,8 +5614,9 @@ func (x gen_NSNumber) IntegerValue() NSInteger { } -// UnsignedIntegerValue The number object's value expressed as an NSUInteger object, converted as necessary. -// https://developer.apple.com/documentation/foundation/nsnumber/1413324-unsignedintegervalue?language=objc +// UnsignedIntegerValue returns the number object's value expressed as an nsuinteger object, converted as necessary. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1413324-unsignedintegervalue?language=objc for details. func (x gen_NSNumber) UnsignedIntegerValue() NSUInteger { ret := C.NSNumber_inst_unsignedIntegerValue( unsafe.Pointer(x.Pointer()), @@ -5358,8 +5626,9 @@ func (x gen_NSNumber) UnsignedIntegerValue() NSUInteger { } -// UnsignedIntValue The number object's value expressed as an unsigned int, converted as necessary. -// https://developer.apple.com/documentation/foundation/nsnumber/1417875-unsignedintvalue?language=objc +// UnsignedIntValue returns the number object's value expressed as an unsigned int, converted as necessary. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1417875-unsignedintvalue?language=objc for details. func (x gen_NSNumber) UnsignedIntValue() int32 { ret := C.NSNumber_inst_unsignedIntValue( unsafe.Pointer(x.Pointer()), @@ -5369,8 +5638,9 @@ func (x gen_NSNumber) UnsignedIntValue() int32 { } -// StringValue The number object's value expressed as a human-readable string. -// https://developer.apple.com/documentation/foundation/nsnumber/1415802-stringvalue?language=objc +// StringValue returns the number object's value expressed as a human-readable string. +// +// See https://developer.apple.com/documentation/foundation/nsnumber/1415802-stringvalue?language=objc for details. func (x gen_NSNumber) StringValue() NSString { ret := C.NSNumber_inst_stringValue( unsafe.Pointer(x.Pointer()), @@ -5399,8 +5669,9 @@ func NSRunLoop_fromRef(ref objc.Ref) NSRunLoop { return NSRunLoop_fromPointer(unsafe.Pointer(ref.Pointer())) } -// CancelPerformSelector_target_argument Cancels the sending of a previously scheduled message. -// https://developer.apple.com/documentation/foundation/nsrunloop/1418077-cancelperformselector?language=objc +// CancelPerformSelector_target_argument cancels the sending of a previously scheduled message. +// +// See https://developer.apple.com/documentation/foundation/nsrunloop/1418077-cancelperformselector?language=objc for details. func (x gen_NSRunLoop) CancelPerformSelector_target_argument( aSelector objc.Selector, target objc.Ref, @@ -5417,8 +5688,9 @@ func (x gen_NSRunLoop) CancelPerformSelector_target_argument( } -// CancelPerformSelectorsWithTarget Cancels all outstanding ordered performs scheduled with a given target. -// https://developer.apple.com/documentation/foundation/nsrunloop/1414208-cancelperformselectorswithtarget?language=objc +// CancelPerformSelectorsWithTarget cancels all outstanding ordered performs scheduled with a given target. +// +// See https://developer.apple.com/documentation/foundation/nsrunloop/1414208-cancelperformselectorswithtarget?language=objc for details. func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( target objc.Ref, ) { @@ -5431,8 +5703,9 @@ func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( } -// PerformSelector_target_argument_order_modes Schedules the sending of a message on the receiver. -// https://developer.apple.com/documentation/foundation/nsrunloop/1409310-performselector?language=objc +// PerformSelector_target_argument_order_modes schedules the sending of a message on the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsrunloop/1409310-performselector?language=objc for details. func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( aSelector objc.Selector, target objc.Ref, @@ -5453,8 +5726,9 @@ func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( } -// Run Puts the receiver into a permanent loop, during which time it processes data from all attached input sources. -// https://developer.apple.com/documentation/foundation/nsrunloop/1412430-run?language=objc +// Run puts the receiver into a permanent loop, during which time it processes data from all attached input sources. +// +// See https://developer.apple.com/documentation/foundation/nsrunloop/1412430-run?language=objc for details. func (x gen_NSRunLoop) Run() { C.NSRunLoop_inst_run( unsafe.Pointer(x.Pointer()), @@ -5464,7 +5738,9 @@ func (x gen_NSRunLoop) Run() { } -// Init_asNSRunLoop +// Init +// +// See for details. func (x gen_NSRunLoop) Init_asNSRunLoop() NSRunLoop { ret := C.NSRunLoop_inst_init( unsafe.Pointer(x.Pointer()), @@ -5493,8 +5769,9 @@ func NSString_fromRef(ref objc.Ref) NSString { return NSString_fromPointer(unsafe.Pointer(ref.Pointer())) } -// CanBeConvertedToEncoding Returns a Boolean value that indicates whether the receiver can be converted to a given encoding without loss of information. -// https://developer.apple.com/documentation/foundation/nsstring/1409496-canbeconvertedtoencoding?language=objc +// CanBeConvertedToEncoding returns a boolean value that indicates whether the receiver can be converted to a given encoding without loss of information. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409496-canbeconvertedtoencoding?language=objc for details. func (x gen_NSString) CanBeConvertedToEncoding( encoding NSStringEncoding, ) bool { @@ -5507,8 +5784,9 @@ func (x gen_NSString) CanBeConvertedToEncoding( } -// CharacterAtIndex Returns the character at a given UTF-16 code unit index. -// https://developer.apple.com/documentation/foundation/nsstring/1414645-characteratindex?language=objc +// CharacterAtIndex returns the character at a given utf-16 code unit index. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414645-characteratindex?language=objc for details. func (x gen_NSString) CharacterAtIndex( index NSUInteger, ) Unichar { @@ -5521,8 +5799,9 @@ func (x gen_NSString) CharacterAtIndex( } -// CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes Interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1411841-completepathintostring?language=objc +// CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1411841-completepathintostring?language=objc for details. func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes( outputName NSStringRef, flag bool, @@ -5541,8 +5820,9 @@ func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filt } -// ComponentsSeparatedByString Returns an array containing substrings from the receiver that have been divided by a given separator. -// https://developer.apple.com/documentation/foundation/nsstring/1413214-componentsseparatedbystring?language=objc +// ComponentsSeparatedByString returns an array containing substrings from the receiver that have been divided by a given separator. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1413214-componentsseparatedbystring?language=objc for details. func (x gen_NSString) ComponentsSeparatedByString( separator NSStringRef, ) NSArray { @@ -5555,8 +5835,9 @@ func (x gen_NSString) ComponentsSeparatedByString( } -// ContainsString Returns a Boolean value indicating whether the string contains a given string by performing a case-sensitive, locale-unaware search. -// https://developer.apple.com/documentation/foundation/nsstring/1414563-containsstring?language=objc +// ContainsString returns a boolean value indicating whether the string contains a given string by performing a case-sensitive, locale-unaware search. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414563-containsstring?language=objc for details. func (x gen_NSString) ContainsString( str NSStringRef, ) bool { @@ -5569,8 +5850,9 @@ func (x gen_NSString) ContainsString( } -// DataUsingEncoding Returns an NSData object containing a representation of the receiver encoded using a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1416696-datausingencoding?language=objc +// DataUsingEncoding returns an nsdata object containing a representation of the receiver encoded using a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416696-datausingencoding?language=objc for details. func (x gen_NSString) DataUsingEncoding( encoding NSStringEncoding, ) NSData { @@ -5583,8 +5865,9 @@ func (x gen_NSString) DataUsingEncoding( } -// DataUsingEncoding_allowLossyConversion Returns an NSData object containing a representation of the receiver encoded using a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1413692-datausingencoding?language=objc +// DataUsingEncoding_allowLossyConversion returns an nsdata object containing a representation of the receiver encoded using a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1413692-datausingencoding?language=objc for details. func (x gen_NSString) DataUsingEncoding_allowLossyConversion( encoding NSStringEncoding, lossy bool, @@ -5599,8 +5882,9 @@ func (x gen_NSString) DataUsingEncoding_allowLossyConversion( } -// DrawInRect_withAttributes Draws the attributed string inside the specified bounding rectangle. -// https://developer.apple.com/documentation/foundation/nsstring/1529855-drawinrect?language=objc +// DrawInRect_withAttributes draws the attributed string inside the specified bounding rectangle. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1529855-drawinrect?language=objc for details. func (x gen_NSString) DrawInRect_withAttributes( rect NSRect, attrs NSDictionaryRef, @@ -5615,8 +5899,9 @@ func (x gen_NSString) DrawInRect_withAttributes( } -// HasPrefix Returns a Boolean value that indicates whether a given string matches the beginning characters of the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1410309-hasprefix?language=objc +// HasPrefix returns a boolean value that indicates whether a given string matches the beginning characters of the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1410309-hasprefix?language=objc for details. func (x gen_NSString) HasPrefix( str NSStringRef, ) bool { @@ -5629,8 +5914,9 @@ func (x gen_NSString) HasPrefix( } -// HasSuffix Returns a Boolean value that indicates whether a given string matches the ending characters of the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1416529-hassuffix?language=objc +// HasSuffix returns a boolean value that indicates whether a given string matches the ending characters of the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416529-hassuffix?language=objc for details. func (x gen_NSString) HasSuffix( str NSStringRef, ) bool { @@ -5643,8 +5929,9 @@ func (x gen_NSString) HasSuffix( } -// Init_asNSString Returns an initialized NSString object that contains no characters. -// https://developer.apple.com/documentation/foundation/nsstring/1409306-init?language=objc +// Init returns an initialized nsstring object that contains no characters. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409306-init?language=objc for details. func (x gen_NSString) Init_asNSString() NSString { ret := C.NSString_inst_init( unsafe.Pointer(x.Pointer()), @@ -5654,8 +5941,9 @@ func (x gen_NSString) Init_asNSString() NSString { } -// InitWithBytes_length_encoding_asNSString Returns an initialized NSString object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1407339-initwithbytes?language=objc +// InitWithBytes_length_encoding returns an initialized nsstring object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407339-initwithbytes?language=objc for details. func (x gen_NSString) InitWithBytes_length_encoding_asNSString( bytes unsafe.Pointer, len NSUInteger, @@ -5672,8 +5960,9 @@ func (x gen_NSString) InitWithBytes_length_encoding_asNSString( } -// InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString Returns an initialized NSString object that contains a given number of bytes from a given buffer of bytes interpreted in a given encoding, and optionally frees the buffer. -// https://developer.apple.com/documentation/foundation/nsstring/1413830-initwithbytesnocopy?language=objc +// InitWithBytesNoCopy_length_encoding_freeWhenDone returns an initialized nsstring object that contains a given number of bytes from a given buffer of bytes interpreted in a given encoding, and optionally frees the buffer. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1413830-initwithbytesnocopy?language=objc for details. func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString( bytes unsafe.Pointer, len NSUInteger, @@ -5692,8 +5981,9 @@ func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSStrin } -// InitWithData_encoding_asNSString Returns an NSString object initialized by converting given data into UTF-16 code units using a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1416374-initwithdata?language=objc +// InitWithData_encoding returns an nsstring object initialized by converting given data into utf-16 code units using a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416374-initwithdata?language=objc for details. func (x gen_NSString) InitWithData_encoding_asNSString( data NSDataRef, encoding NSStringEncoding, @@ -5708,8 +5998,9 @@ func (x gen_NSString) InitWithData_encoding_asNSString( } -// InitWithString_asNSString Returns an NSString object initialized by copying the characters from another given string. -// https://developer.apple.com/documentation/foundation/nsstring/1411293-initwithstring?language=objc +// InitWithString returns an nsstring object initialized by copying the characters from another given string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1411293-initwithstring?language=objc for details. func (x gen_NSString) InitWithString_asNSString( aString NSStringRef, ) NSString { @@ -5722,8 +6013,9 @@ func (x gen_NSString) InitWithString_asNSString( } -// IsEqualToString Returns a Boolean value that indicates whether a given string is equal to the receiver using a literal Unicode-based comparison. -// https://developer.apple.com/documentation/foundation/nsstring/1407803-isequaltostring?language=objc +// IsEqualToString returns a boolean value that indicates whether a given string is equal to the receiver using a literal unicode-based comparison. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407803-isequaltostring?language=objc for details. func (x gen_NSString) IsEqualToString( aString NSStringRef, ) bool { @@ -5736,8 +6028,9 @@ func (x gen_NSString) IsEqualToString( } -// LengthOfBytesUsingEncoding Returns the number of bytes required to store the receiver in a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1410710-lengthofbytesusingencoding?language=objc +// LengthOfBytesUsingEncoding returns the number of bytes required to store the receiver in a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1410710-lengthofbytesusingencoding?language=objc for details. func (x gen_NSString) LengthOfBytesUsingEncoding( enc NSStringEncoding, ) NSUInteger { @@ -5750,8 +6043,9 @@ func (x gen_NSString) LengthOfBytesUsingEncoding( } -// LocalizedCaseInsensitiveContainsString Returns a Boolean value indicating whether the string contains a given string by performing a case-insensitive, locale-aware search. -// https://developer.apple.com/documentation/foundation/nsstring/1412098-localizedcaseinsensitivecontains?language=objc +// LocalizedCaseInsensitiveContainsString returns a boolean value indicating whether the string contains a given string by performing a case-insensitive, locale-aware search. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1412098-localizedcaseinsensitivecontains?language=objc for details. func (x gen_NSString) LocalizedCaseInsensitiveContainsString( str NSStringRef, ) bool { @@ -5764,8 +6058,9 @@ func (x gen_NSString) LocalizedCaseInsensitiveContainsString( } -// LocalizedStandardContainsString Returns a Boolean value indicating whether the string contains a given string by performing a case and diacritic insensitive, locale-aware search. -// https://developer.apple.com/documentation/foundation/nsstring/1416328-localizedstandardcontainsstring?language=objc +// LocalizedStandardContainsString returns a boolean value indicating whether the string contains a given string by performing a case and diacritic insensitive, locale-aware search. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416328-localizedstandardcontainsstring?language=objc for details. func (x gen_NSString) LocalizedStandardContainsString( str NSStringRef, ) bool { @@ -5778,8 +6073,9 @@ func (x gen_NSString) LocalizedStandardContainsString( } -// MaximumLengthOfBytesUsingEncoding Returns the maximum number of bytes needed to store the receiver in a given encoding. -// https://developer.apple.com/documentation/foundation/nsstring/1411611-maximumlengthofbytesusingencodin?language=objc +// MaximumLengthOfBytesUsingEncoding returns the maximum number of bytes needed to store the receiver in a given encoding. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1411611-maximumlengthofbytesusingencodin?language=objc for details. func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( enc NSStringEncoding, ) NSUInteger { @@ -5792,8 +6088,9 @@ func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( } -// PropertyList Parses the receiver as a text representation of a property list, returning an NSString, NSData, NSArray, or NSDictionary object, according to the topmost element. -// https://developer.apple.com/documentation/foundation/nsstring/1413115-propertylist?language=objc +// PropertyList parses the receiver as a text representation of a property list, returning an nsstring, nsdata, nsarray, or nsdictionary object, according to the topmost element. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1413115-propertylist?language=objc for details. func (x gen_NSString) PropertyList() objc.Object { ret := C.NSString_inst_propertyList( unsafe.Pointer(x.Pointer()), @@ -5803,8 +6100,9 @@ func (x gen_NSString) PropertyList() objc.Object { } -// PropertyListFromStringsFileFormat Returns a dictionary object initialized with the keys and values found in the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1407697-propertylistfromstringsfileforma?language=objc +// PropertyListFromStringsFileFormat returns a dictionary object initialized with the keys and values found in the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407697-propertylistfromstringsfileforma?language=objc for details. func (x gen_NSString) PropertyListFromStringsFileFormat() NSDictionary { ret := C.NSString_inst_propertyListFromStringsFileFormat( unsafe.Pointer(x.Pointer()), @@ -5814,8 +6112,9 @@ func (x gen_NSString) PropertyListFromStringsFileFormat() NSDictionary { } -// SizeWithAttributes Returns the bounding box size the receiver occupies when drawn with the given attributes. -// https://developer.apple.com/documentation/foundation/nsstring/1531844-sizewithattributes?language=objc +// SizeWithAttributes returns the bounding box size the receiver occupies when drawn with the given attributes. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1531844-sizewithattributes?language=objc for details. func (x gen_NSString) SizeWithAttributes( attrs NSDictionaryRef, ) NSSize { @@ -5828,8 +6127,9 @@ func (x gen_NSString) SizeWithAttributes( } -// StringByAppendingPathComponent Returns a new string made by appending to the receiver a given string. -// https://developer.apple.com/documentation/foundation/nsstring/1417069-stringbyappendingpathcomponent?language=objc +// StringByAppendingPathComponent returns a new string made by appending to the receiver a given string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1417069-stringbyappendingpathcomponent?language=objc for details. func (x gen_NSString) StringByAppendingPathComponent( str NSStringRef, ) NSString { @@ -5842,8 +6142,9 @@ func (x gen_NSString) StringByAppendingPathComponent( } -// StringByAppendingPathExtension Returns a new string made by appending to the receiver an extension separator followed by a given extension. -// https://developer.apple.com/documentation/foundation/nsstring/1412501-stringbyappendingpathextension?language=objc +// StringByAppendingPathExtension returns a new string made by appending to the receiver an extension separator followed by a given extension. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1412501-stringbyappendingpathextension?language=objc for details. func (x gen_NSString) StringByAppendingPathExtension( str NSStringRef, ) NSString { @@ -5856,8 +6157,9 @@ func (x gen_NSString) StringByAppendingPathExtension( } -// StringByAppendingString Returns a new string made by appending a given string to the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1412307-stringbyappendingstring?language=objc +// StringByAppendingString returns a new string made by appending a given string to the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1412307-stringbyappendingstring?language=objc for details. func (x gen_NSString) StringByAppendingString( aString NSStringRef, ) NSString { @@ -5870,8 +6172,9 @@ func (x gen_NSString) StringByAppendingString( } -// StringByPaddingToLength_withString_startingAtIndex Returns a new string formed from the receiver by either removing characters from the end, or by appending as many occurrences as necessary of a given pad string. -// https://developer.apple.com/documentation/foundation/nsstring/1416395-stringbypaddingtolength?language=objc +// StringByPaddingToLength_withString_startingAtIndex returns a new string formed from the receiver by either removing characters from the end, or by appending as many occurrences as necessary of a given pad string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416395-stringbypaddingtolength?language=objc for details. func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( newLength NSUInteger, padString NSStringRef, @@ -5888,8 +6191,9 @@ func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( } -// StringByReplacingOccurrencesOfString_withString Returns a new string in which all occurrences of a target string in the receiver are replaced by another given string. -// https://developer.apple.com/documentation/foundation/nsstring/1412937-stringbyreplacingoccurrencesofst?language=objc +// StringByReplacingOccurrencesOfString_withString returns a new string in which all occurrences of a target string in the receiver are replaced by another given string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1412937-stringbyreplacingoccurrencesofst?language=objc for details. func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( target NSStringRef, replacement NSStringRef, @@ -5904,8 +6208,9 @@ func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( } -// StringsByAppendingPaths Returns an array of strings made by separately appending to the receiver each string in a given array. -// https://developer.apple.com/documentation/foundation/nsstring/1415100-stringsbyappendingpaths?language=objc +// StringsByAppendingPaths returns an array of strings made by separately appending to the receiver each string in a given array. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1415100-stringsbyappendingpaths?language=objc for details. func (x gen_NSString) StringsByAppendingPaths( paths NSArrayRef, ) NSArray { @@ -5918,8 +6223,9 @@ func (x gen_NSString) StringsByAppendingPaths( } -// SubstringFromIndex Returns a new string containing the characters of the receiver from the one at a given index to the end. -// https://developer.apple.com/documentation/foundation/nsstring/1414368-substringfromindex?language=objc +// SubstringFromIndex returns a new string containing the characters of the receiver from the one at a given index to the end. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414368-substringfromindex?language=objc for details. func (x gen_NSString) SubstringFromIndex( from NSUInteger, ) NSString { @@ -5932,8 +6238,9 @@ func (x gen_NSString) SubstringFromIndex( } -// SubstringToIndex Returns a new string containing the characters of the receiver up to, but not including, the one at a given index. -// https://developer.apple.com/documentation/foundation/nsstring/1408017-substringtoindex?language=objc +// SubstringToIndex returns a new string containing the characters of the receiver up to, but not including, the one at a given index. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1408017-substringtoindex?language=objc for details. func (x gen_NSString) SubstringToIndex( to NSUInteger, ) NSString { @@ -5946,8 +6253,9 @@ func (x gen_NSString) SubstringToIndex( } -// VariantFittingPresentationWidth Returns a string variation suitable for the specified presentation width. -// https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth?language=objc +// VariantFittingPresentationWidth returns a string variation suitable for the specified presentation width. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth?language=objc for details. func (x gen_NSString) VariantFittingPresentationWidth( width NSInteger, ) NSString { @@ -5960,8 +6268,9 @@ func (x gen_NSString) VariantFittingPresentationWidth( } -// Length The number of UTF-16 code units in the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1414212-length?language=objc +// Length returns the number of utf-16 code units in the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414212-length?language=objc for details. func (x gen_NSString) Length() NSUInteger { ret := C.NSString_inst_length( unsafe.Pointer(x.Pointer()), @@ -5971,8 +6280,9 @@ func (x gen_NSString) Length() NSUInteger { } -// Hash An unsigned integer that can be used as a hash table address. -// https://developer.apple.com/documentation/foundation/nsstring/1417245-hash?language=objc +// Hash an unsigned integer that can be used as a hash table address. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1417245-hash?language=objc for details. func (x gen_NSString) Hash() NSUInteger { ret := C.NSString_inst_hash( unsafe.Pointer(x.Pointer()), @@ -5982,8 +6292,9 @@ func (x gen_NSString) Hash() NSUInteger { } -// LowercaseString A lowercase representation of the string. -// https://developer.apple.com/documentation/foundation/nsstring/1408467-lowercasestring?language=objc +// LowercaseString returns a lowercase representation of the string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1408467-lowercasestring?language=objc for details. func (x gen_NSString) LowercaseString() NSString { ret := C.NSString_inst_lowercaseString( unsafe.Pointer(x.Pointer()), @@ -5993,8 +6304,9 @@ func (x gen_NSString) LowercaseString() NSString { } -// LocalizedLowercaseString Returns a version of the string with all letters converted to lowercase, taking into account the current locale. -// https://developer.apple.com/documentation/foundation/nsstring/1414125-localizedlowercasestring?language=objc +// LocalizedLowercaseString returns a version of the string with all letters converted to lowercase, taking into account the current locale. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414125-localizedlowercasestring?language=objc for details. func (x gen_NSString) LocalizedLowercaseString() NSString { ret := C.NSString_inst_localizedLowercaseString( unsafe.Pointer(x.Pointer()), @@ -6004,8 +6316,9 @@ func (x gen_NSString) LocalizedLowercaseString() NSString { } -// UppercaseString An uppercase representation of the string. -// https://developer.apple.com/documentation/foundation/nsstring/1409855-uppercasestring?language=objc +// UppercaseString an uppercase representation of the string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409855-uppercasestring?language=objc for details. func (x gen_NSString) UppercaseString() NSString { ret := C.NSString_inst_uppercaseString( unsafe.Pointer(x.Pointer()), @@ -6015,8 +6328,9 @@ func (x gen_NSString) UppercaseString() NSString { } -// LocalizedUppercaseString Returns a version of the string with all letters converted to uppercase, taking into account the current locale. -// https://developer.apple.com/documentation/foundation/nsstring/1413331-localizeduppercasestring?language=objc +// LocalizedUppercaseString returns a version of the string with all letters converted to uppercase, taking into account the current locale. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1413331-localizeduppercasestring?language=objc for details. func (x gen_NSString) LocalizedUppercaseString() NSString { ret := C.NSString_inst_localizedUppercaseString( unsafe.Pointer(x.Pointer()), @@ -6026,8 +6340,9 @@ func (x gen_NSString) LocalizedUppercaseString() NSString { } -// CapitalizedString A capitalized representation of the string. -// https://developer.apple.com/documentation/foundation/nsstring/1416784-capitalizedstring?language=objc +// CapitalizedString returns a capitalized representation of the string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416784-capitalizedstring?language=objc for details. func (x gen_NSString) CapitalizedString() NSString { ret := C.NSString_inst_capitalizedString( unsafe.Pointer(x.Pointer()), @@ -6037,8 +6352,9 @@ func (x gen_NSString) CapitalizedString() NSString { } -// LocalizedCapitalizedString Returns a capitalized representation of the receiver using the current locale. -// https://developer.apple.com/documentation/foundation/nsstring/1414885-localizedcapitalizedstring?language=objc +// LocalizedCapitalizedString returns a capitalized representation of the receiver using the current locale. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414885-localizedcapitalizedstring?language=objc for details. func (x gen_NSString) LocalizedCapitalizedString() NSString { ret := C.NSString_inst_localizedCapitalizedString( unsafe.Pointer(x.Pointer()), @@ -6048,8 +6364,9 @@ func (x gen_NSString) LocalizedCapitalizedString() NSString { } -// DecomposedStringWithCanonicalMapping A string made by normalizing the string’s contents using the Unicode Normalization Form D. -// https://developer.apple.com/documentation/foundation/nsstring/1409474-decomposedstringwithcanonicalmap?language=objc +// DecomposedStringWithCanonicalMapping returns a string made by normalizing the string’s contents using the unicode normalization form d. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409474-decomposedstringwithcanonicalmap?language=objc for details. func (x gen_NSString) DecomposedStringWithCanonicalMapping() NSString { ret := C.NSString_inst_decomposedStringWithCanonicalMapping( unsafe.Pointer(x.Pointer()), @@ -6059,8 +6376,9 @@ func (x gen_NSString) DecomposedStringWithCanonicalMapping() NSString { } -// DecomposedStringWithCompatibilityMapping A string made by normalizing the receiver’s contents using the Unicode Normalization Form KD. -// https://developer.apple.com/documentation/foundation/nsstring/1415417-decomposedstringwithcompatibilit?language=objc +// DecomposedStringWithCompatibilityMapping returns a string made by normalizing the receiver’s contents using the unicode normalization form kd. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1415417-decomposedstringwithcompatibilit?language=objc for details. func (x gen_NSString) DecomposedStringWithCompatibilityMapping() NSString { ret := C.NSString_inst_decomposedStringWithCompatibilityMapping( unsafe.Pointer(x.Pointer()), @@ -6070,8 +6388,9 @@ func (x gen_NSString) DecomposedStringWithCompatibilityMapping() NSString { } -// PrecomposedStringWithCanonicalMapping A string made by normalizing the string’s contents using the Unicode Normalization Form C. -// https://developer.apple.com/documentation/foundation/nsstring/1412645-precomposedstringwithcanonicalma?language=objc +// PrecomposedStringWithCanonicalMapping returns a string made by normalizing the string’s contents using the unicode normalization form c. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1412645-precomposedstringwithcanonicalma?language=objc for details. func (x gen_NSString) PrecomposedStringWithCanonicalMapping() NSString { ret := C.NSString_inst_precomposedStringWithCanonicalMapping( unsafe.Pointer(x.Pointer()), @@ -6081,8 +6400,9 @@ func (x gen_NSString) PrecomposedStringWithCanonicalMapping() NSString { } -// PrecomposedStringWithCompatibilityMapping A string made by normalizing the receiver’s contents using the Unicode Normalization Form KC. -// https://developer.apple.com/documentation/foundation/nsstring/1412625-precomposedstringwithcompatibili?language=objc +// PrecomposedStringWithCompatibilityMapping returns a string made by normalizing the receiver’s contents using the unicode normalization form kc. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1412625-precomposedstringwithcompatibili?language=objc for details. func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() NSString { ret := C.NSString_inst_precomposedStringWithCompatibilityMapping( unsafe.Pointer(x.Pointer()), @@ -6092,8 +6412,9 @@ func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() NSString { } -// IntValue The integer value of the string. -// https://developer.apple.com/documentation/foundation/nsstring/1414988-intvalue?language=objc +// IntValue returns the integer value of the string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414988-intvalue?language=objc for details. func (x gen_NSString) IntValue() int32 { ret := C.NSString_inst_intValue( unsafe.Pointer(x.Pointer()), @@ -6103,8 +6424,9 @@ func (x gen_NSString) IntValue() int32 { } -// IntegerValue The NSInteger value of the string. -// https://developer.apple.com/documentation/foundation/nsstring/1410267-integervalue?language=objc +// IntegerValue returns the nsinteger value of the string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1410267-integervalue?language=objc for details. func (x gen_NSString) IntegerValue() NSInteger { ret := C.NSString_inst_integerValue( unsafe.Pointer(x.Pointer()), @@ -6114,8 +6436,9 @@ func (x gen_NSString) IntegerValue() NSInteger { } -// BoolValue The Boolean value of the string. -// https://developer.apple.com/documentation/foundation/nsstring/1409420-boolvalue?language=objc +// BoolValue returns the boolean value of the string. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409420-boolvalue?language=objc for details. func (x gen_NSString) BoolValue() bool { ret := C.NSString_inst_boolValue( unsafe.Pointer(x.Pointer()), @@ -6125,8 +6448,9 @@ func (x gen_NSString) BoolValue() bool { } -// Description This NSString object. -// https://developer.apple.com/documentation/foundation/nsstring/1410889-description?language=objc +// Description this nsstring object. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1410889-description?language=objc for details. func (x gen_NSString) Description() NSString { ret := C.NSString_inst_description( unsafe.Pointer(x.Pointer()), @@ -6136,8 +6460,9 @@ func (x gen_NSString) Description() NSString { } -// FastestEncoding The fastest encoding to which the receiver may be converted without loss of information. -// https://developer.apple.com/documentation/foundation/nsstring/1409567-fastestencoding?language=objc +// FastestEncoding returns the fastest encoding to which the receiver may be converted without loss of information. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409567-fastestencoding?language=objc for details. func (x gen_NSString) FastestEncoding() NSStringEncoding { ret := C.NSString_inst_fastestEncoding( unsafe.Pointer(x.Pointer()), @@ -6147,8 +6472,9 @@ func (x gen_NSString) FastestEncoding() NSStringEncoding { } -// SmallestEncoding The smallest encoding to which the receiver can be converted without loss of information. -// https://developer.apple.com/documentation/foundation/nsstring/1418037-smallestencoding?language=objc +// SmallestEncoding returns the smallest encoding to which the receiver can be converted without loss of information. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1418037-smallestencoding?language=objc for details. func (x gen_NSString) SmallestEncoding() NSStringEncoding { ret := C.NSString_inst_smallestEncoding( unsafe.Pointer(x.Pointer()), @@ -6158,8 +6484,9 @@ func (x gen_NSString) SmallestEncoding() NSStringEncoding { } -// PathComponents The file-system path components of the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1414489-pathcomponents?language=objc +// PathComponents returns the file-system path components of the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1414489-pathcomponents?language=objc for details. func (x gen_NSString) PathComponents() NSArray { ret := C.NSString_inst_pathComponents( unsafe.Pointer(x.Pointer()), @@ -6169,8 +6496,9 @@ func (x gen_NSString) PathComponents() NSArray { } -// IsAbsolutePath A Boolean value that indicates whether the receiver represents an absolute path. -// https://developer.apple.com/documentation/foundation/nsstring/1409068-absolutepath?language=objc +// IsAbsolutePath returns a boolean value that indicates whether the receiver represents an absolute path. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409068-absolutepath?language=objc for details. func (x gen_NSString) IsAbsolutePath() bool { ret := C.NSString_inst_isAbsolutePath( unsafe.Pointer(x.Pointer()), @@ -6180,8 +6508,9 @@ func (x gen_NSString) IsAbsolutePath() bool { } -// LastPathComponent The last path component of the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1416528-lastpathcomponent?language=objc +// LastPathComponent returns the last path component of the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1416528-lastpathcomponent?language=objc for details. func (x gen_NSString) LastPathComponent() NSString { ret := C.NSString_inst_lastPathComponent( unsafe.Pointer(x.Pointer()), @@ -6191,8 +6520,9 @@ func (x gen_NSString) LastPathComponent() NSString { } -// PathExtension The path extension, if any, of the string as interpreted as a path. -// https://developer.apple.com/documentation/foundation/nsstring/1407801-pathextension?language=objc +// PathExtension returns the path extension, if any, of the string as interpreted as a path. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407801-pathextension?language=objc for details. func (x gen_NSString) PathExtension() NSString { ret := C.NSString_inst_pathExtension( unsafe.Pointer(x.Pointer()), @@ -6202,8 +6532,9 @@ func (x gen_NSString) PathExtension() NSString { } -// StringByAbbreviatingWithTildeInPath A new string that replaces the current home directory portion of the current path with a tilde (~) character. -// https://developer.apple.com/documentation/foundation/nsstring/1407943-stringbyabbreviatingwithtildeinp?language=objc +// StringByAbbreviatingWithTildeInPath returns a new string that replaces the current home directory portion of the current path with a tilde (~) character. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407943-stringbyabbreviatingwithtildeinp?language=objc for details. func (x gen_NSString) StringByAbbreviatingWithTildeInPath() NSString { ret := C.NSString_inst_stringByAbbreviatingWithTildeInPath( unsafe.Pointer(x.Pointer()), @@ -6213,8 +6544,9 @@ func (x gen_NSString) StringByAbbreviatingWithTildeInPath() NSString { } -// StringByDeletingLastPathComponent A new string made by deleting the last path component from the receiver, along with any final path separator. -// https://developer.apple.com/documentation/foundation/nsstring/1411141-stringbydeletinglastpathcomponen?language=objc +// StringByDeletingLastPathComponent returns a new string made by deleting the last path component from the receiver, along with any final path separator. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1411141-stringbydeletinglastpathcomponen?language=objc for details. func (x gen_NSString) StringByDeletingLastPathComponent() NSString { ret := C.NSString_inst_stringByDeletingLastPathComponent( unsafe.Pointer(x.Pointer()), @@ -6224,8 +6556,9 @@ func (x gen_NSString) StringByDeletingLastPathComponent() NSString { } -// StringByDeletingPathExtension A new string made by deleting the extension (if any, and only the last) from the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1418214-stringbydeletingpathextension?language=objc +// StringByDeletingPathExtension returns a new string made by deleting the extension (if any, and only the last) from the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1418214-stringbydeletingpathextension?language=objc for details. func (x gen_NSString) StringByDeletingPathExtension() NSString { ret := C.NSString_inst_stringByDeletingPathExtension( unsafe.Pointer(x.Pointer()), @@ -6235,8 +6568,9 @@ func (x gen_NSString) StringByDeletingPathExtension() NSString { } -// StringByExpandingTildeInPath A new string made by expanding the initial component of the receiver to its full path value. -// https://developer.apple.com/documentation/foundation/nsstring/1407716-stringbyexpandingtildeinpath?language=objc +// StringByExpandingTildeInPath returns a new string made by expanding the initial component of the receiver to its full path value. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407716-stringbyexpandingtildeinpath?language=objc for details. func (x gen_NSString) StringByExpandingTildeInPath() NSString { ret := C.NSString_inst_stringByExpandingTildeInPath( unsafe.Pointer(x.Pointer()), @@ -6246,8 +6580,9 @@ func (x gen_NSString) StringByExpandingTildeInPath() NSString { } -// StringByResolvingSymlinksInPath A new string made from the receiver by resolving all symbolic links and standardizing path. -// https://developer.apple.com/documentation/foundation/nsstring/1417783-stringbyresolvingsymlinksinpath?language=objc +// StringByResolvingSymlinksInPath returns a new string made from the receiver by resolving all symbolic links and standardizing path. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1417783-stringbyresolvingsymlinksinpath?language=objc for details. func (x gen_NSString) StringByResolvingSymlinksInPath() NSString { ret := C.NSString_inst_stringByResolvingSymlinksInPath( unsafe.Pointer(x.Pointer()), @@ -6257,8 +6592,9 @@ func (x gen_NSString) StringByResolvingSymlinksInPath() NSString { } -// StringByStandardizingPath A new string made by removing extraneous path components from the receiver. -// https://developer.apple.com/documentation/foundation/nsstring/1407194-stringbystandardizingpath?language=objc +// StringByStandardizingPath returns a new string made by removing extraneous path components from the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1407194-stringbystandardizingpath?language=objc for details. func (x gen_NSString) StringByStandardizingPath() NSString { ret := C.NSString_inst_stringByStandardizingPath( unsafe.Pointer(x.Pointer()), @@ -6268,8 +6604,9 @@ func (x gen_NSString) StringByStandardizingPath() NSString { } -// StringByRemovingPercentEncoding Returns a new string made from the receiver by replacing all percent encoded sequences with the matching UTF-8 characters. -// https://developer.apple.com/documentation/foundation/nsstring/1409569-stringbyremovingpercentencoding?language=objc +// StringByRemovingPercentEncoding returns a new string made from the receiver by replacing all percent encoded sequences with the matching utf-8 characters. +// +// See https://developer.apple.com/documentation/foundation/nsstring/1409569-stringbyremovingpercentencoding?language=objc for details. func (x gen_NSString) StringByRemovingPercentEncoding() NSString { ret := C.NSString_inst_stringByRemovingPercentEncoding( unsafe.Pointer(x.Pointer()), @@ -6298,8 +6635,9 @@ func NSThread_fromRef(ref objc.Ref) NSThread { return NSThread_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Cancel Changes the cancelled state of the receiver to indicate that it should exit. -// https://developer.apple.com/documentation/foundation/nsthread/1411303-cancel?language=objc +// Cancel changes the cancelled state of the receiver to indicate that it should exit. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1411303-cancel?language=objc for details. func (x gen_NSThread) Cancel() { C.NSThread_inst_cancel( unsafe.Pointer(x.Pointer()), @@ -6309,8 +6647,9 @@ func (x gen_NSThread) Cancel() { } -// Init_asNSThread Returns an initialized NSThread object. -// https://developer.apple.com/documentation/foundation/nsthread/1416464-init?language=objc +// Init returns an initialized nsthread object. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1416464-init?language=objc for details. func (x gen_NSThread) Init_asNSThread() NSThread { ret := C.NSThread_inst_init( unsafe.Pointer(x.Pointer()), @@ -6320,8 +6659,9 @@ func (x gen_NSThread) Init_asNSThread() NSThread { } -// InitWithTarget_selector_object_asNSThread Returns an NSThread object initialized with the given arguments. -// https://developer.apple.com/documentation/foundation/nsthread/1414773-initwithtarget?language=objc +// InitWithTarget_selector_object returns an nsthread object initialized with the given arguments. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1414773-initwithtarget?language=objc for details. func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( target objc.Ref, selector objc.Selector, @@ -6338,8 +6678,9 @@ func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( } -// Main The main entry point routine for the thread. -// https://developer.apple.com/documentation/foundation/nsthread/1418421-main?language=objc +// Main returns the main entry point routine for the thread. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1418421-main?language=objc for details. func (x gen_NSThread) Main() { C.NSThread_inst_main( unsafe.Pointer(x.Pointer()), @@ -6349,8 +6690,9 @@ func (x gen_NSThread) Main() { } -// Start Starts the receiver. -// https://developer.apple.com/documentation/foundation/nsthread/1418166-start?language=objc +// Start starts the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1418166-start?language=objc for details. func (x gen_NSThread) Start() { C.NSThread_inst_start( unsafe.Pointer(x.Pointer()), @@ -6360,8 +6702,9 @@ func (x gen_NSThread) Start() { } -// IsExecuting A Boolean value that indicates whether the receiver is executing. -// https://developer.apple.com/documentation/foundation/nsthread/1411240-executing?language=objc +// IsExecuting returns a boolean value that indicates whether the receiver is executing. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1411240-executing?language=objc for details. func (x gen_NSThread) IsExecuting() bool { ret := C.NSThread_inst_isExecuting( unsafe.Pointer(x.Pointer()), @@ -6371,8 +6714,9 @@ func (x gen_NSThread) IsExecuting() bool { } -// IsFinished A Boolean value that indicates whether the receiver has finished execution. -// https://developer.apple.com/documentation/foundation/nsthread/1409297-finished?language=objc +// IsFinished returns a boolean value that indicates whether the receiver has finished execution. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1409297-finished?language=objc for details. func (x gen_NSThread) IsFinished() bool { ret := C.NSThread_inst_isFinished( unsafe.Pointer(x.Pointer()), @@ -6382,8 +6726,9 @@ func (x gen_NSThread) IsFinished() bool { } -// IsCancelled A Boolean value that indicates whether the receiver is cancelled. -// https://developer.apple.com/documentation/foundation/nsthread/1417366-cancelled?language=objc +// IsCancelled returns a boolean value that indicates whether the receiver is cancelled. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1417366-cancelled?language=objc for details. func (x gen_NSThread) IsCancelled() bool { ret := C.NSThread_inst_isCancelled( unsafe.Pointer(x.Pointer()), @@ -6393,8 +6738,9 @@ func (x gen_NSThread) IsCancelled() bool { } -// IsMainThread A Boolean value that indicates whether the receiver is the main thread. -// https://developer.apple.com/documentation/foundation/nsthread/1408455-ismainthread?language=objc +// IsMainThread returns a boolean value that indicates whether the receiver is the main thread. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1408455-ismainthread?language=objc for details. func (x gen_NSThread) IsMainThread() bool { ret := C.NSThread_inst_isMainThread( unsafe.Pointer(x.Pointer()), @@ -6404,8 +6750,9 @@ func (x gen_NSThread) IsMainThread() bool { } -// Name The name of the receiver. -// https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc +// Name returns the name of the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc for details. func (x gen_NSThread) Name() NSString { ret := C.NSThread_inst_name( unsafe.Pointer(x.Pointer()), @@ -6415,8 +6762,9 @@ func (x gen_NSThread) Name() NSString { } -// SetName The name of the receiver. -// https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc +// SetName returns the name of the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc for details. func (x gen_NSThread) SetName( value NSStringRef, ) { @@ -6429,8 +6777,9 @@ func (x gen_NSThread) SetName( } -// StackSize The stack size of the receiver, in bytes. -// https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc +// StackSize returns the stack size of the receiver, in bytes. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc for details. func (x gen_NSThread) StackSize() NSUInteger { ret := C.NSThread_inst_stackSize( unsafe.Pointer(x.Pointer()), @@ -6440,8 +6789,9 @@ func (x gen_NSThread) StackSize() NSUInteger { } -// SetStackSize The stack size of the receiver, in bytes. -// https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc +// SetStackSize returns the stack size of the receiver, in bytes. +// +// See https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc for details. func (x gen_NSThread) SetStackSize( value NSUInteger, ) { @@ -6473,8 +6823,9 @@ func NSURL_fromRef(ref objc.Ref) NSURL { return NSURL_fromPointer(unsafe.Pointer(ref.Pointer())) } -// URLByAppendingPathComponent Returns a new URL made by appending a path component to the original URL. -// https://developer.apple.com/documentation/foundation/nsurl/1410614-urlbyappendingpathcomponent?language=objc +// URLByAppendingPathComponent returns a new url made by appending a path component to the original url. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1410614-urlbyappendingpathcomponent?language=objc for details. func (x gen_NSURL) URLByAppendingPathComponent( pathComponent NSStringRef, ) NSURL { @@ -6487,8 +6838,9 @@ func (x gen_NSURL) URLByAppendingPathComponent( } -// URLByAppendingPathComponent_isDirectory Returns a new URL made by appending a path component to the original URL, along with a trailing slash if the component is designated a directory. -// https://developer.apple.com/documentation/foundation/nsurl/1413953-urlbyappendingpathcomponent?language=objc +// URLByAppendingPathComponent_isDirectory returns a new url made by appending a path component to the original url, along with a trailing slash if the component is designated a directory. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413953-urlbyappendingpathcomponent?language=objc for details. func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( pathComponent NSStringRef, isDirectory bool, @@ -6503,8 +6855,9 @@ func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( } -// URLByAppendingPathExtension Returns a new URL made by appending a path extension to the original URL. -// https://developer.apple.com/documentation/foundation/nsurl/1417082-urlbyappendingpathextension?language=objc +// URLByAppendingPathExtension returns a new url made by appending a path extension to the original url. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417082-urlbyappendingpathextension?language=objc for details. func (x gen_NSURL) URLByAppendingPathExtension( pathExtension NSStringRef, ) NSURL { @@ -6517,8 +6870,9 @@ func (x gen_NSURL) URLByAppendingPathExtension( } -// FileReferenceURL Returns a new file reference URL that points to the same resource as the receiver. -// https://developer.apple.com/documentation/foundation/nsurl/1408631-filereferenceurl?language=objc +// FileReferenceURL returns a new file reference url that points to the same resource as the receiver. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1408631-filereferenceurl?language=objc for details. func (x gen_NSURL) FileReferenceURL() NSURL { ret := C.NSURL_inst_fileReferenceURL( unsafe.Pointer(x.Pointer()), @@ -6528,8 +6882,9 @@ func (x gen_NSURL) FileReferenceURL() NSURL { } -// InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL -// https://developer.apple.com/documentation/foundation/nsurl/1410750-initabsoluteurlwithdatarepresent?language=objc +// InitAbsoluteURLWithDataRepresentation_relativeToURL +// +// See https://developer.apple.com/documentation/foundation/nsurl/1410750-initabsoluteurlwithdatarepresent?language=objc for details. func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, @@ -6544,8 +6899,9 @@ func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( } -// InitFileURLWithPath_asNSURL Initializes a newly created NSURL referencing the local file or directory at path. -// https://developer.apple.com/documentation/foundation/nsurl/1410301-initfileurlwithpath?language=objc +// InitFileURLWithPath initializes a newly created nsurl referencing the local file or directory at path. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1410301-initfileurlwithpath?language=objc for details. func (x gen_NSURL) InitFileURLWithPath_asNSURL( path NSStringRef, ) NSURL { @@ -6558,8 +6914,9 @@ func (x gen_NSURL) InitFileURLWithPath_asNSURL( } -// InitFileURLWithPath_isDirectory_asNSURL Initializes a newly created NSURL referencing the local file or directory at path. -// https://developer.apple.com/documentation/foundation/nsurl/1417505-initfileurlwithpath?language=objc +// InitFileURLWithPath_isDirectory initializes a newly created nsurl referencing the local file or directory at path. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417505-initfileurlwithpath?language=objc for details. func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( path NSStringRef, isDir bool, @@ -6574,8 +6931,9 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( } -// InitFileURLWithPath_isDirectory_relativeToURL_asNSURL -// https://developer.apple.com/documentation/foundation/nsurl/1417932-initfileurlwithpath?language=objc +// InitFileURLWithPath_isDirectory_relativeToURL +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417932-initfileurlwithpath?language=objc for details. func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( path NSStringRef, isDir bool, @@ -6592,8 +6950,9 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( } -// InitFileURLWithPath_relativeToURL_asNSURL -// https://developer.apple.com/documentation/foundation/nsurl/1415077-initfileurlwithpath?language=objc +// InitFileURLWithPath_relativeToURL +// +// See https://developer.apple.com/documentation/foundation/nsurl/1415077-initfileurlwithpath?language=objc for details. func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( path NSStringRef, baseURL NSURLRef, @@ -6608,8 +6967,9 @@ func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( } -// InitWithDataRepresentation_relativeToURL_asNSURL -// https://developer.apple.com/documentation/foundation/nsurl/1416851-initwithdatarepresentation?language=objc +// InitWithDataRepresentation_relativeToURL +// +// See https://developer.apple.com/documentation/foundation/nsurl/1416851-initwithdatarepresentation?language=objc for details. func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, @@ -6624,8 +6984,9 @@ func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( } -// InitWithString_asNSURL Initializes an NSURL object with a provided URL string. -// https://developer.apple.com/documentation/foundation/nsurl/1413146-initwithstring?language=objc +// InitWithString initializes an nsurl object with a provided url string. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413146-initwithstring?language=objc for details. func (x gen_NSURL) InitWithString_asNSURL( URLString NSStringRef, ) NSURL { @@ -6638,8 +6999,9 @@ func (x gen_NSURL) InitWithString_asNSURL( } -// InitWithString_relativeToURL_asNSURL Initializes an NSURL object with a base URL and a relative string. -// https://developer.apple.com/documentation/foundation/nsurl/1417949-initwithstring?language=objc +// InitWithString_relativeToURL initializes an nsurl object with a base url and a relative string. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417949-initwithstring?language=objc for details. func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( URLString NSStringRef, baseURL NSURLRef, @@ -6654,8 +7016,9 @@ func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( } -// IsFileReferenceURL Returns whether the URL is a file reference URL. -// https://developer.apple.com/documentation/foundation/nsurl/1408507-isfilereferenceurl?language=objc +// IsFileReferenceURL returns whether the url is a file reference url. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1408507-isfilereferenceurl?language=objc for details. func (x gen_NSURL) IsFileReferenceURL() bool { ret := C.NSURL_inst_isFileReferenceURL( unsafe.Pointer(x.Pointer()), @@ -6665,8 +7028,9 @@ func (x gen_NSURL) IsFileReferenceURL() bool { } -// RemoveAllCachedResourceValues Removes all cached resource values and temporary resource values from the URL object. -// https://developer.apple.com/documentation/foundation/nsurl/1417078-removeallcachedresourcevalues?language=objc +// RemoveAllCachedResourceValues removes all cached resource values and temporary resource values from the url object. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417078-removeallcachedresourcevalues?language=objc for details. func (x gen_NSURL) RemoveAllCachedResourceValues() { C.NSURL_inst_removeAllCachedResourceValues( unsafe.Pointer(x.Pointer()), @@ -6676,8 +7040,9 @@ func (x gen_NSURL) RemoveAllCachedResourceValues() { } -// StartAccessingSecurityScopedResource In an app that has adopted App Sandbox, makes the resource pointed to by a security-scoped URL available to the app. -// https://developer.apple.com/documentation/foundation/nsurl/1417051-startaccessingsecurityscopedreso?language=objc +// StartAccessingSecurityScopedResource in an app that has adopted app sandbox, makes the resource pointed to by a security-scoped url available to the app. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417051-startaccessingsecurityscopedreso?language=objc for details. func (x gen_NSURL) StartAccessingSecurityScopedResource() bool { ret := C.NSURL_inst_startAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), @@ -6687,8 +7052,9 @@ func (x gen_NSURL) StartAccessingSecurityScopedResource() bool { } -// StopAccessingSecurityScopedResource In an app that adopts App Sandbox, revokes access to the resource pointed to by a security-scoped URL. -// https://developer.apple.com/documentation/foundation/nsurl/1413736-stopaccessingsecurityscopedresou?language=objc +// StopAccessingSecurityScopedResource in an app that adopts app sandbox, revokes access to the resource pointed to by a security-scoped url. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413736-stopaccessingsecurityscopedresou?language=objc for details. func (x gen_NSURL) StopAccessingSecurityScopedResource() { C.NSURL_inst_stopAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), @@ -6698,7 +7064,9 @@ func (x gen_NSURL) StopAccessingSecurityScopedResource() { } -// Init_asNSURL +// Init +// +// See for details. func (x gen_NSURL) Init_asNSURL() NSURL { ret := C.NSURL_inst_init( unsafe.Pointer(x.Pointer()), @@ -6709,7 +7077,8 @@ func (x gen_NSURL) Init_asNSURL() NSURL { } // DataRepresentation -// https://developer.apple.com/documentation/foundation/nsurl/1407656-datarepresentation?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurl/1407656-datarepresentation?language=objc for details. func (x gen_NSURL) DataRepresentation() NSData { ret := C.NSURL_inst_dataRepresentation( unsafe.Pointer(x.Pointer()), @@ -6719,8 +7088,9 @@ func (x gen_NSURL) DataRepresentation() NSData { } -// IsFileURL A boolean value that determines whether the receiver is a file URL. -// https://developer.apple.com/documentation/foundation/nsurl/1408782-fileurl?language=objc +// IsFileURL returns a boolean value that determines whether the receiver is a file url. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1408782-fileurl?language=objc for details. func (x gen_NSURL) IsFileURL() bool { ret := C.NSURL_inst_isFileURL( unsafe.Pointer(x.Pointer()), @@ -6730,8 +7100,9 @@ func (x gen_NSURL) IsFileURL() bool { } -// AbsoluteString The URL string for the receiver as an absolute URL. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1409868-absolutestring?language=objc +// AbsoluteString returns the url string for the receiver as an absolute url. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1409868-absolutestring?language=objc for details. func (x gen_NSURL) AbsoluteString() NSString { ret := C.NSURL_inst_absoluteString( unsafe.Pointer(x.Pointer()), @@ -6741,8 +7112,9 @@ func (x gen_NSURL) AbsoluteString() NSString { } -// AbsoluteURL An absolute URL that refers to the same resource as the receiver. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1414266-absoluteurl?language=objc +// AbsoluteURL an absolute url that refers to the same resource as the receiver. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1414266-absoluteurl?language=objc for details. func (x gen_NSURL) AbsoluteURL() NSURL { ret := C.NSURL_inst_absoluteURL( unsafe.Pointer(x.Pointer()), @@ -6752,8 +7124,9 @@ func (x gen_NSURL) AbsoluteURL() NSURL { } -// BaseURL The base URL. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1412311-baseurl?language=objc +// BaseURL returns the base url. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1412311-baseurl?language=objc for details. func (x gen_NSURL) BaseURL() NSURL { ret := C.NSURL_inst_baseURL( unsafe.Pointer(x.Pointer()), @@ -6763,8 +7136,9 @@ func (x gen_NSURL) BaseURL() NSURL { } -// Fragment The fragment identifier, conforming to RFC 1808. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1413775-fragment?language=objc +// Fragment returns the fragment identifier, conforming to rfc 1808. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413775-fragment?language=objc for details. func (x gen_NSURL) Fragment() NSString { ret := C.NSURL_inst_fragment( unsafe.Pointer(x.Pointer()), @@ -6774,8 +7148,9 @@ func (x gen_NSURL) Fragment() NSString { } -// Host The host, conforming to RFC 1808. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1413640-host?language=objc +// Host returns the host, conforming to rfc 1808. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413640-host?language=objc for details. func (x gen_NSURL) Host() NSString { ret := C.NSURL_inst_host( unsafe.Pointer(x.Pointer()), @@ -6785,8 +7160,9 @@ func (x gen_NSURL) Host() NSString { } -// LastPathComponent The last path component. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1417444-lastpathcomponent?language=objc +// LastPathComponent returns the last path component. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1417444-lastpathcomponent?language=objc for details. func (x gen_NSURL) LastPathComponent() NSString { ret := C.NSURL_inst_lastPathComponent( unsafe.Pointer(x.Pointer()), @@ -6796,8 +7172,9 @@ func (x gen_NSURL) LastPathComponent() NSString { } -// Password The password conforming to RFC 1808. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1412096-password?language=objc +// Password returns the password conforming to rfc 1808. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1412096-password?language=objc for details. func (x gen_NSURL) Password() NSString { ret := C.NSURL_inst_password( unsafe.Pointer(x.Pointer()), @@ -6807,8 +7184,9 @@ func (x gen_NSURL) Password() NSString { } -// Path The path, conforming to RFC 1808. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1408809-path?language=objc +// Path returns the path, conforming to rfc 1808. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1408809-path?language=objc for details. func (x gen_NSURL) Path() NSString { ret := C.NSURL_inst_path( unsafe.Pointer(x.Pointer()), @@ -6818,8 +7196,9 @@ func (x gen_NSURL) Path() NSString { } -// PathComponents An array containing the path components. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1407365-pathcomponents?language=objc +// PathComponents an array containing the path components. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1407365-pathcomponents?language=objc for details. func (x gen_NSURL) PathComponents() NSArray { ret := C.NSURL_inst_pathComponents( unsafe.Pointer(x.Pointer()), @@ -6829,8 +7208,9 @@ func (x gen_NSURL) PathComponents() NSArray { } -// PathExtension The path extension. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1410208-pathextension?language=objc +// PathExtension returns the path extension. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1410208-pathextension?language=objc for details. func (x gen_NSURL) PathExtension() NSString { ret := C.NSURL_inst_pathExtension( unsafe.Pointer(x.Pointer()), @@ -6840,8 +7220,9 @@ func (x gen_NSURL) PathExtension() NSString { } -// Port The port, conforming to RFC 1808. -// https://developer.apple.com/documentation/foundation/nsurl/1413455-port?language=objc +// Port returns the port, conforming to rfc 1808. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413455-port?language=objc for details. func (x gen_NSURL) Port() NSNumber { ret := C.NSURL_inst_port( unsafe.Pointer(x.Pointer()), @@ -6851,8 +7232,9 @@ func (x gen_NSURL) Port() NSNumber { } -// Query The query string, conforming to RFC 1808. -// https://developer.apple.com/documentation/foundation/nsurl/1407543-query?language=objc +// Query returns the query string, conforming to rfc 1808. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1407543-query?language=objc for details. func (x gen_NSURL) Query() NSString { ret := C.NSURL_inst_query( unsafe.Pointer(x.Pointer()), @@ -6862,8 +7244,9 @@ func (x gen_NSURL) Query() NSString { } -// RelativePath The relative path, conforming to RFC 1808. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1410263-relativepath?language=objc +// RelativePath returns the relative path, conforming to rfc 1808. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1410263-relativepath?language=objc for details. func (x gen_NSURL) RelativePath() NSString { ret := C.NSURL_inst_relativePath( unsafe.Pointer(x.Pointer()), @@ -6873,8 +7256,9 @@ func (x gen_NSURL) RelativePath() NSString { } -// RelativeString A string representation of the relative portion of the URL. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1411417-relativestring?language=objc +// RelativeString returns a string representation of the relative portion of the url. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1411417-relativestring?language=objc for details. func (x gen_NSURL) RelativeString() NSString { ret := C.NSURL_inst_relativeString( unsafe.Pointer(x.Pointer()), @@ -6884,8 +7268,9 @@ func (x gen_NSURL) RelativeString() NSString { } -// ResourceSpecifier The resource specifier. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1415309-resourcespecifier?language=objc +// ResourceSpecifier returns the resource specifier. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1415309-resourcespecifier?language=objc for details. func (x gen_NSURL) ResourceSpecifier() NSString { ret := C.NSURL_inst_resourceSpecifier( unsafe.Pointer(x.Pointer()), @@ -6895,8 +7280,9 @@ func (x gen_NSURL) ResourceSpecifier() NSString { } -// Scheme The scheme. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1413437-scheme?language=objc +// Scheme returns the scheme. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1413437-scheme?language=objc for details. func (x gen_NSURL) Scheme() NSString { ret := C.NSURL_inst_scheme( unsafe.Pointer(x.Pointer()), @@ -6906,8 +7292,9 @@ func (x gen_NSURL) Scheme() NSString { } -// StandardizedURL A copy of the URL with any instances of ".." or "." removed from its path. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1411073-standardizedurl?language=objc +// StandardizedURL returns a copy of the url with any instances of ".." or "." removed from its path. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1411073-standardizedurl?language=objc for details. func (x gen_NSURL) StandardizedURL() NSURL { ret := C.NSURL_inst_standardizedURL( unsafe.Pointer(x.Pointer()), @@ -6917,8 +7304,9 @@ func (x gen_NSURL) StandardizedURL() NSURL { } -// User The user name, conforming to RFC 1808. -// https://developer.apple.com/documentation/foundation/nsurl/1418335-user?language=objc +// User returns the user name, conforming to rfc 1808. +// +// See https://developer.apple.com/documentation/foundation/nsurl/1418335-user?language=objc for details. func (x gen_NSURL) User() NSString { ret := C.NSURL_inst_user( unsafe.Pointer(x.Pointer()), @@ -6928,8 +7316,9 @@ func (x gen_NSURL) User() NSString { } -// FilePathURL A file path URL that points to the same resource as the URL object. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1408442-filepathurl?language=objc +// FilePathURL returns a file path url that points to the same resource as the url object. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1408442-filepathurl?language=objc for details. func (x gen_NSURL) FilePathURL() NSURL { ret := C.NSURL_inst_filePathURL( unsafe.Pointer(x.Pointer()), @@ -6939,8 +7328,9 @@ func (x gen_NSURL) FilePathURL() NSURL { } -// URLByDeletingLastPathComponent A URL created by taking the receiver and removing the last path component. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1411592-urlbydeletinglastpathcomponent?language=objc +// URLByDeletingLastPathComponent returns a url created by taking the receiver and removing the last path component. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1411592-urlbydeletinglastpathcomponent?language=objc for details. func (x gen_NSURL) URLByDeletingLastPathComponent() NSURL { ret := C.NSURL_inst_URLByDeletingLastPathComponent( unsafe.Pointer(x.Pointer()), @@ -6950,8 +7340,9 @@ func (x gen_NSURL) URLByDeletingLastPathComponent() NSURL { } -// URLByDeletingPathExtension A URL created by taking the receiver and removing the path extension, if any. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1412357-urlbydeletingpathextension?language=objc +// URLByDeletingPathExtension returns a url created by taking the receiver and removing the path extension, if any. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1412357-urlbydeletingpathextension?language=objc for details. func (x gen_NSURL) URLByDeletingPathExtension() NSURL { ret := C.NSURL_inst_URLByDeletingPathExtension( unsafe.Pointer(x.Pointer()), @@ -6961,8 +7352,9 @@ func (x gen_NSURL) URLByDeletingPathExtension() NSURL { } -// URLByResolvingSymlinksInPath A URL that points to the same resource as the receiver and includes no symbolic links. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1415965-urlbyresolvingsymlinksinpath?language=objc +// URLByResolvingSymlinksInPath returns a url that points to the same resource as the receiver and includes no symbolic links. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1415965-urlbyresolvingsymlinksinpath?language=objc for details. func (x gen_NSURL) URLByResolvingSymlinksInPath() NSURL { ret := C.NSURL_inst_URLByResolvingSymlinksInPath( unsafe.Pointer(x.Pointer()), @@ -6972,8 +7364,9 @@ func (x gen_NSURL) URLByResolvingSymlinksInPath() NSURL { } -// URLByStandardizingPath A URL that points to the same resource as the original URL using an absolute path. (read-only) -// https://developer.apple.com/documentation/foundation/nsurl/1414302-urlbystandardizingpath?language=objc +// URLByStandardizingPath returns a url that points to the same resource as the original url using an absolute path. (read-only) +// +// See https://developer.apple.com/documentation/foundation/nsurl/1414302-urlbystandardizingpath?language=objc for details. func (x gen_NSURL) URLByStandardizingPath() NSURL { ret := C.NSURL_inst_URLByStandardizingPath( unsafe.Pointer(x.Pointer()), @@ -6984,7 +7377,8 @@ func (x gen_NSURL) URLByStandardizingPath() NSURL { } // HasDirectoryPath -// https://developer.apple.com/documentation/foundation/nsurl/1411475-hasdirectorypath?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurl/1411475-hasdirectorypath?language=objc for details. func (x gen_NSURL) HasDirectoryPath() bool { ret := C.NSURL_inst_hasDirectoryPath( unsafe.Pointer(x.Pointer()), @@ -7013,8 +7407,9 @@ func NSURLRequest_fromRef(ref objc.Ref) NSURLRequest { return NSURLRequest_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithURL_asNSURLRequest Creates a URL request for a specified URL. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1410303-initwithurl?language=objc +// InitWithURL creates a url request for a specified url. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1410303-initwithurl?language=objc for details. func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( URL NSURLRef, ) NSURLRequest { @@ -7027,8 +7422,9 @@ func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( } -// ValueForHTTPHeaderField Returns the value of the specified HTTP header field. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1409376-valueforhttpheaderfield?language=objc +// ValueForHTTPHeaderField returns the value of the specified http header field. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1409376-valueforhttpheaderfield?language=objc for details. func (x gen_NSURLRequest) ValueForHTTPHeaderField( field NSStringRef, ) NSString { @@ -7041,7 +7437,9 @@ func (x gen_NSURLRequest) ValueForHTTPHeaderField( } -// Init_asNSURLRequest +// Init +// +// See for details. func (x gen_NSURLRequest) Init_asNSURLRequest() NSURLRequest { ret := C.NSURLRequest_inst_init( unsafe.Pointer(x.Pointer()), @@ -7051,8 +7449,9 @@ func (x gen_NSURLRequest) Init_asNSURLRequest() NSURLRequest { } -// HTTPMethod The HTTP request method. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1413030-httpmethod?language=objc +// HTTPMethod returns the http request method. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1413030-httpmethod?language=objc for details. func (x gen_NSURLRequest) HTTPMethod() NSString { ret := C.NSURLRequest_inst_HTTPMethod( unsafe.Pointer(x.Pointer()), @@ -7062,8 +7461,9 @@ func (x gen_NSURLRequest) HTTPMethod() NSString { } -// URL The URL being requested. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1408996-url?language=objc +// URL returns the url being requested. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1408996-url?language=objc for details. func (x gen_NSURLRequest) URL() NSURL { ret := C.NSURLRequest_inst_URL( unsafe.Pointer(x.Pointer()), @@ -7073,8 +7473,9 @@ func (x gen_NSURLRequest) URL() NSURL { } -// HTTPBody The request body. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1411317-httpbody?language=objc +// HTTPBody returns the request body. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1411317-httpbody?language=objc for details. func (x gen_NSURLRequest) HTTPBody() NSData { ret := C.NSURLRequest_inst_HTTPBody( unsafe.Pointer(x.Pointer()), @@ -7084,8 +7485,9 @@ func (x gen_NSURLRequest) HTTPBody() NSData { } -// MainDocumentURL The main document URL associated with the request. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1414134-maindocumenturl?language=objc +// MainDocumentURL returns the main document url associated with the request. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1414134-maindocumenturl?language=objc for details. func (x gen_NSURLRequest) MainDocumentURL() NSURL { ret := C.NSURLRequest_inst_mainDocumentURL( unsafe.Pointer(x.Pointer()), @@ -7095,8 +7497,9 @@ func (x gen_NSURLRequest) MainDocumentURL() NSURL { } -// AllHTTPHeaderFields A dictionary containing all of the HTTP header fields for a request. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1418477-allhttpheaderfields?language=objc +// AllHTTPHeaderFields returns a dictionary containing all of the http header fields for a request. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1418477-allhttpheaderfields?language=objc for details. func (x gen_NSURLRequest) AllHTTPHeaderFields() NSDictionary { ret := C.NSURLRequest_inst_allHTTPHeaderFields( unsafe.Pointer(x.Pointer()), @@ -7106,8 +7509,9 @@ func (x gen_NSURLRequest) AllHTTPHeaderFields() NSDictionary { } -// HTTPShouldHandleCookies A Boolean value that indicates whether the default cookie handling will be used for this request. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1418369-httpshouldhandlecookies?language=objc +// HTTPShouldHandleCookies returns a boolean value that indicates whether the default cookie handling will be used for this request. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1418369-httpshouldhandlecookies?language=objc for details. func (x gen_NSURLRequest) HTTPShouldHandleCookies() bool { ret := C.NSURLRequest_inst_HTTPShouldHandleCookies( unsafe.Pointer(x.Pointer()), @@ -7117,8 +7521,9 @@ func (x gen_NSURLRequest) HTTPShouldHandleCookies() bool { } -// HTTPShouldUsePipelining A Boolean value that indicates whether the request should continue transmitting data before receiving a response from an earlier transmission. -// https://developer.apple.com/documentation/foundation/nsurlrequest/1409170-httpshouldusepipelining?language=objc +// HTTPShouldUsePipelining returns a boolean value that indicates whether the request should continue transmitting data before receiving a response from an earlier transmission. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1409170-httpshouldusepipelining?language=objc for details. func (x gen_NSURLRequest) HTTPShouldUsePipelining() bool { ret := C.NSURLRequest_inst_HTTPShouldUsePipelining( unsafe.Pointer(x.Pointer()), @@ -7128,8 +7533,9 @@ func (x gen_NSURLRequest) HTTPShouldUsePipelining() bool { } -// AllowsCellularAccess A Boolean value that indicates whether the request is allowed to use the cellular radio (if present). -// https://developer.apple.com/documentation/foundation/nsurlrequest/1412032-allowscellularaccess?language=objc +// AllowsCellularAccess returns a boolean value that indicates whether the request is allowed to use the cellular radio (if present). +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/1412032-allowscellularaccess?language=objc for details. func (x gen_NSURLRequest) AllowsCellularAccess() bool { ret := C.NSURLRequest_inst_allowsCellularAccess( unsafe.Pointer(x.Pointer()), @@ -7139,8 +7545,9 @@ func (x gen_NSURLRequest) AllowsCellularAccess() bool { } -// AllowsConstrainedNetworkAccess A Boolean value that indicates whether connections may use the network when the user has specified Low Data Mode. -// https://developer.apple.com/documentation/foundation/nsurlrequest/3325678-allowsconstrainednetworkaccess?language=objc +// AllowsConstrainedNetworkAccess returns a boolean value that indicates whether connections may use the network when the user has specified low data mode. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/3325678-allowsconstrainednetworkaccess?language=objc for details. func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() bool { ret := C.NSURLRequest_inst_allowsConstrainedNetworkAccess( unsafe.Pointer(x.Pointer()), @@ -7150,8 +7557,9 @@ func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() bool { } -// AllowsExpensiveNetworkAccess A Boolean value that indicates whether connections may use a network interface that the system considers expensive. -// https://developer.apple.com/documentation/foundation/nsurlrequest/3325679-allowsexpensivenetworkaccess?language=objc +// AllowsExpensiveNetworkAccess returns a boolean value that indicates whether connections may use a network interface that the system considers expensive. +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/3325679-allowsexpensivenetworkaccess?language=objc for details. func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() bool { ret := C.NSURLRequest_inst_allowsExpensiveNetworkAccess( unsafe.Pointer(x.Pointer()), @@ -7162,7 +7570,8 @@ func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() bool { } // AssumesHTTP3Capable -// https://developer.apple.com/documentation/foundation/nsurlrequest/3735880-assumeshttp3capable?language=objc +// +// See https://developer.apple.com/documentation/foundation/nsurlrequest/3735880-assumeshttp3capable?language=objc for details. func (x gen_NSURLRequest) AssumesHTTP3Capable() bool { ret := C.NSURLRequest_inst_assumesHTTP3Capable( unsafe.Pointer(x.Pointer()), @@ -7191,8 +7600,9 @@ func NSUserDefaults_fromRef(ref objc.Ref) NSUserDefaults { return NSUserDefaults_fromPointer(unsafe.Pointer(ref.Pointer())) } -// URLForKey Returns the URL associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408648-urlforkey?language=objc +// URLForKey returns the url associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408648-urlforkey?language=objc for details. func (x gen_NSUserDefaults) URLForKey( defaultName NSStringRef, ) NSURL { @@ -7205,8 +7615,9 @@ func (x gen_NSUserDefaults) URLForKey( } -// AddSuiteNamed Inserts the specified domain name into the receiver’s search list. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1410294-addsuitenamed?language=objc +// AddSuiteNamed inserts the specified domain name into the receiver’s search list. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1410294-addsuitenamed?language=objc for details. func (x gen_NSUserDefaults) AddSuiteNamed( suiteName NSStringRef, ) { @@ -7219,8 +7630,9 @@ func (x gen_NSUserDefaults) AddSuiteNamed( } -// ArrayForKey Returns the array associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414792-arrayforkey?language=objc +// ArrayForKey returns the array associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414792-arrayforkey?language=objc for details. func (x gen_NSUserDefaults) ArrayForKey( defaultName NSStringRef, ) NSArray { @@ -7233,8 +7645,9 @@ func (x gen_NSUserDefaults) ArrayForKey( } -// BoolForKey Returns the Boolean value associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416388-boolforkey?language=objc +// BoolForKey returns the boolean value associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416388-boolforkey?language=objc for details. func (x gen_NSUserDefaults) BoolForKey( defaultName NSStringRef, ) bool { @@ -7247,8 +7660,9 @@ func (x gen_NSUserDefaults) BoolForKey( } -// DataForKey Returns the data object associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1409590-dataforkey?language=objc +// DataForKey returns the data object associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1409590-dataforkey?language=objc for details. func (x gen_NSUserDefaults) DataForKey( defaultName NSStringRef, ) NSData { @@ -7261,8 +7675,9 @@ func (x gen_NSUserDefaults) DataForKey( } -// DictionaryForKey Returns the dictionary object associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408563-dictionaryforkey?language=objc +// DictionaryForKey returns the dictionary object associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408563-dictionaryforkey?language=objc for details. func (x gen_NSUserDefaults) DictionaryForKey( defaultName NSStringRef, ) NSDictionary { @@ -7275,8 +7690,9 @@ func (x gen_NSUserDefaults) DictionaryForKey( } -// DictionaryRepresentation Returns a dictionary that contains a union of all key-value pairs in the domains in the search list. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1415919-dictionaryrepresentation?language=objc +// DictionaryRepresentation returns a dictionary that contains a union of all key-value pairs in the domains in the search list. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1415919-dictionaryrepresentation?language=objc for details. func (x gen_NSUserDefaults) DictionaryRepresentation() NSDictionary { ret := C.NSUserDefaults_inst_dictionaryRepresentation( unsafe.Pointer(x.Pointer()), @@ -7286,8 +7702,9 @@ func (x gen_NSUserDefaults) DictionaryRepresentation() NSDictionary { } -// Init_asNSUserDefaults Creates a user defaults object initialized with the defaults for the app and current user. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414356-init?language=objc +// Init creates a user defaults object initialized with the defaults for the app and current user. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414356-init?language=objc for details. func (x gen_NSUserDefaults) Init_asNSUserDefaults() NSUserDefaults { ret := C.NSUserDefaults_inst_init( unsafe.Pointer(x.Pointer()), @@ -7297,8 +7714,9 @@ func (x gen_NSUserDefaults) Init_asNSUserDefaults() NSUserDefaults { } -// InitWithSuiteName_asNSUserDefaults Creates a user defaults object initialized with the defaults for the specified database name. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1409957-initwithsuitename?language=objc +// InitWithSuiteName creates a user defaults object initialized with the defaults for the specified database name. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1409957-initwithsuitename?language=objc for details. func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( suitename NSStringRef, ) NSUserDefaults { @@ -7311,8 +7729,9 @@ func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( } -// IntegerForKey Returns the integer value associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1407405-integerforkey?language=objc +// IntegerForKey returns the integer value associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1407405-integerforkey?language=objc for details. func (x gen_NSUserDefaults) IntegerForKey( defaultName NSStringRef, ) NSInteger { @@ -7325,8 +7744,9 @@ func (x gen_NSUserDefaults) IntegerForKey( } -// ObjectForKey Returns the object associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1410095-objectforkey?language=objc +// ObjectForKey returns the object associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1410095-objectforkey?language=objc for details. func (x gen_NSUserDefaults) ObjectForKey( defaultName NSStringRef, ) objc.Object { @@ -7339,8 +7759,9 @@ func (x gen_NSUserDefaults) ObjectForKey( } -// ObjectIsForcedForKey Returns a Boolean value indicating whether the specified key is managed by an administrator. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408635-objectisforcedforkey?language=objc +// ObjectIsForcedForKey returns a boolean value indicating whether the specified key is managed by an administrator. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408635-objectisforcedforkey?language=objc for details. func (x gen_NSUserDefaults) ObjectIsForcedForKey( key NSStringRef, ) bool { @@ -7353,8 +7774,9 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKey( } -// ObjectIsForcedForKey_inDomain Returns a Boolean value indicating whether the key in the specified domain is managed by an administrator. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416306-objectisforcedforkey?language=objc +// ObjectIsForcedForKey_inDomain returns a boolean value indicating whether the key in the specified domain is managed by an administrator. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416306-objectisforcedforkey?language=objc for details. func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( key NSStringRef, domain NSStringRef, @@ -7369,8 +7791,9 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( } -// PersistentDomainForName Returns a dictionary representation of the defaults for the specified domain. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1412197-persistentdomainforname?language=objc +// PersistentDomainForName returns a dictionary representation of the defaults for the specified domain. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1412197-persistentdomainforname?language=objc for details. func (x gen_NSUserDefaults) PersistentDomainForName( domainName NSStringRef, ) NSDictionary { @@ -7383,8 +7806,9 @@ func (x gen_NSUserDefaults) PersistentDomainForName( } -// RegisterDefaults Adds the contents of the specified dictionary to the registration domain. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1417065-registerdefaults?language=objc +// RegisterDefaults adds the contents of the specified dictionary to the registration domain. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1417065-registerdefaults?language=objc for details. func (x gen_NSUserDefaults) RegisterDefaults( registrationDictionary NSDictionaryRef, ) { @@ -7397,8 +7821,9 @@ func (x gen_NSUserDefaults) RegisterDefaults( } -// RemoveObjectForKey Removes the value of the specified default key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1411182-removeobjectforkey?language=objc +// RemoveObjectForKey removes the value of the specified default key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1411182-removeobjectforkey?language=objc for details. func (x gen_NSUserDefaults) RemoveObjectForKey( defaultName NSStringRef, ) { @@ -7411,8 +7836,9 @@ func (x gen_NSUserDefaults) RemoveObjectForKey( } -// RemovePersistentDomainForName Removes the contents of the specified persistent domain from the user’s defaults. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1417339-removepersistentdomainforname?language=objc +// RemovePersistentDomainForName removes the contents of the specified persistent domain from the user’s defaults. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1417339-removepersistentdomainforname?language=objc for details. func (x gen_NSUserDefaults) RemovePersistentDomainForName( domainName NSStringRef, ) { @@ -7425,8 +7851,9 @@ func (x gen_NSUserDefaults) RemovePersistentDomainForName( } -// RemoveSuiteNamed Removes the specified domain name from the receiver’s search list. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408047-removesuitenamed?language=objc +// RemoveSuiteNamed removes the specified domain name from the receiver’s search list. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408047-removesuitenamed?language=objc for details. func (x gen_NSUserDefaults) RemoveSuiteNamed( suiteName NSStringRef, ) { @@ -7439,8 +7866,9 @@ func (x gen_NSUserDefaults) RemoveSuiteNamed( } -// RemoveVolatileDomainForName Removes the specified volatile domain from the user’s defaults. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1415955-removevolatiledomainforname?language=objc +// RemoveVolatileDomainForName removes the specified volatile domain from the user’s defaults. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1415955-removevolatiledomainforname?language=objc for details. func (x gen_NSUserDefaults) RemoveVolatileDomainForName( domainName NSStringRef, ) { @@ -7453,8 +7881,9 @@ func (x gen_NSUserDefaults) RemoveVolatileDomainForName( } -// SetBool_forKey Sets the value of the specified default key to the specified Boolean value. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408905-setbool?language=objc +// SetBool_forKey sets the value of the specified default key to the specified boolean value. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408905-setbool?language=objc for details. func (x gen_NSUserDefaults) SetBool_forKey( value bool, defaultName NSStringRef, @@ -7469,8 +7898,9 @@ func (x gen_NSUserDefaults) SetBool_forKey( } -// SetInteger_forKey Sets the value of the specified default key to the specified integer value. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1413614-setinteger?language=objc +// SetInteger_forKey sets the value of the specified default key to the specified integer value. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1413614-setinteger?language=objc for details. func (x gen_NSUserDefaults) SetInteger_forKey( value NSInteger, defaultName NSStringRef, @@ -7485,8 +7915,9 @@ func (x gen_NSUserDefaults) SetInteger_forKey( } -// SetObject_forKey Sets the value of the specified default key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414067-setobject?language=objc +// SetObject_forKey sets the value of the specified default key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414067-setobject?language=objc for details. func (x gen_NSUserDefaults) SetObject_forKey( value objc.Ref, defaultName NSStringRef, @@ -7501,8 +7932,9 @@ func (x gen_NSUserDefaults) SetObject_forKey( } -// SetPersistentDomain_forName Sets a dictionary for the specified persistent domain. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1408187-setpersistentdomain?language=objc +// SetPersistentDomain_forName sets a dictionary for the specified persistent domain. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408187-setpersistentdomain?language=objc for details. func (x gen_NSUserDefaults) SetPersistentDomain_forName( domain NSDictionaryRef, domainName NSStringRef, @@ -7517,8 +7949,9 @@ func (x gen_NSUserDefaults) SetPersistentDomain_forName( } -// SetURL_forKey Sets the value of the specified default key to the specified URL. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414194-seturl?language=objc +// SetURL_forKey sets the value of the specified default key to the specified url. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414194-seturl?language=objc for details. func (x gen_NSUserDefaults) SetURL_forKey( url NSURLRef, defaultName NSStringRef, @@ -7533,8 +7966,9 @@ func (x gen_NSUserDefaults) SetURL_forKey( } -// SetVolatileDomain_forName Sets the dictionary for the specified volatile domain. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1413720-setvolatiledomain?language=objc +// SetVolatileDomain_forName sets the dictionary for the specified volatile domain. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1413720-setvolatiledomain?language=objc for details. func (x gen_NSUserDefaults) SetVolatileDomain_forName( domain NSDictionaryRef, domainName NSStringRef, @@ -7549,8 +7983,9 @@ func (x gen_NSUserDefaults) SetVolatileDomain_forName( } -// StringArrayForKey Returns the array of strings associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416414-stringarrayforkey?language=objc +// StringArrayForKey returns the array of strings associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416414-stringarrayforkey?language=objc for details. func (x gen_NSUserDefaults) StringArrayForKey( defaultName NSStringRef, ) NSArray { @@ -7563,8 +7998,9 @@ func (x gen_NSUserDefaults) StringArrayForKey( } -// StringForKey Returns the string associated with the specified key. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1416700-stringforkey?language=objc +// StringForKey returns the string associated with the specified key. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416700-stringforkey?language=objc for details. func (x gen_NSUserDefaults) StringForKey( defaultName NSStringRef, ) NSString { @@ -7577,8 +8013,9 @@ func (x gen_NSUserDefaults) StringForKey( } -// Synchronize Waits for any pending asynchronous updates to the defaults database and returns; this method is unnecessary and shouldn't be used. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414005-synchronize?language=objc +// Synchronize waits for any pending asynchronous updates to the defaults database and returns; this method is unnecessary and shouldn't be used. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414005-synchronize?language=objc for details. func (x gen_NSUserDefaults) Synchronize() bool { ret := C.NSUserDefaults_inst_synchronize( unsafe.Pointer(x.Pointer()), @@ -7588,8 +8025,9 @@ func (x gen_NSUserDefaults) Synchronize() bool { } -// VolatileDomainForName Returns the dictionary for the specified volatile domain. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1409592-volatiledomainforname?language=objc +// VolatileDomainForName returns the dictionary for the specified volatile domain. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1409592-volatiledomainforname?language=objc for details. func (x gen_NSUserDefaults) VolatileDomainForName( domainName NSStringRef, ) NSDictionary { @@ -7602,8 +8040,9 @@ func (x gen_NSUserDefaults) VolatileDomainForName( } -// VolatileDomainNames The current volatile domain names. -// https://developer.apple.com/documentation/foundation/nsuserdefaults/1414231-volatiledomainnames?language=objc +// VolatileDomainNames returns the current volatile domain names. +// +// See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414231-volatiledomainnames?language=objc for details. func (x gen_NSUserDefaults) VolatileDomainNames() NSArray { ret := C.NSUserDefaults_inst_volatileDomainNames( unsafe.Pointer(x.Pointer()), diff --git a/gen/convert.go b/gen/convert.go index 2981c561..adca9b9e 100644 --- a/gen/convert.go +++ b/gen/convert.go @@ -2,6 +2,7 @@ package gen import ( "fmt" + "strings" "github.com/progrium/macschema/schema" ) @@ -61,9 +62,10 @@ func processClassSchema(pkg *GoPackage, s *schema.Schema, imports []PackageConte msg := cb.msgSend(m, true) ident := selectorNameToGoIdent(cb.generatedNames, m.Name) + name := fmt.Sprintf("%s_%s", cb.Class.Name, ident) wrapper := MethodDef{ - Description: m.Description + fmt.Sprintf("\n// %s", m.TopicURL), - Name: fmt.Sprintf("%s_%s", cb.Class.Name, ident), + Description: formatComment(m, name), + Name: name, WrappedFunc: cb.cgoWrapperFunc(m, true), } @@ -82,3 +84,14 @@ func processClassSchema(pkg *GoPackage, s *schema.Schema, imports []PackageConte return classDef, nil } + +func formatComment(m schema.Method, ident string) string { + ld := strings.ToLower(m.Description) + firstWord := strings.Split(ld, " ")[0] + + if firstWord == "a" || firstWord == "the" { + ld = "returns " + ld + } + return fmt.Sprintf("// %s %s\n//\n// See %s for details.", ident, ld, m.TopicURL) + +} diff --git a/gen/gen_class_builder.go b/gen/gen_class_builder.go index 7446468e..d08b3c10 100644 --- a/gen/gen_class_builder.go +++ b/gen/gen_class_builder.go @@ -62,9 +62,10 @@ func (cb *classBuilder) EachInstanceMethod(f func(schema.Method)) { } func (cb *classBuilder) instanceMethod(method schema.Method) MethodDef { + ident := toExportedName(selectorNameToGoIdent(cb.generatedNames, method.Name)) r := MethodDef{ - Description: method.Description + fmt.Sprintf("\n// %s", method.TopicURL), - Name: toExportedName(selectorNameToGoIdent(cb.generatedNames, method.Name)), + Description: formatComment(method, ident), + Name: ident, WrappedFunc: cb.cgoWrapperFunc(method, false), } if isInstanceType(method.Return) { diff --git a/gen/template/package.tmpl b/gen/template/package.tmpl index 5b2e12e1..7ea5c615 100644 --- a/gen/template/package.tmpl +++ b/gen/template/package.tmpl @@ -84,7 +84,7 @@ func convertToObjCBool(b bool) C.BOOL { {{define "go_to_cgo"}} {{range $x := .}} -// {{.Name}} {{.Description}} +{{.Description}} func {{.Name}}( {{- range $i, $_ := .WrappedFunc.Args -}} {{if $i}}, {{end}}{{.Name}} {{.Type}} @@ -139,7 +139,7 @@ func {{.Name}}_fromRef(ref objc.Ref) {{.Name}} { } {{range .InstanceMethods}} -// {{.Name}} {{.Description}} +{{.Description}} func (x gen_{{$cls.Name}}) {{.Name}}( {{- range .WrappedFunc.Args}} {{.Name}} {{.Type}}, diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index be728b1e..013fd922 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -480,6 +480,8 @@ func convertToObjCBool(b bool) C.BOOL { } // WKNavigation_alloc +// +// See for details. func WKNavigation_alloc() WKNavigation { ret := C.WKNavigation_type_alloc() @@ -488,6 +490,8 @@ func WKNavigation_alloc() WKNavigation { } // WKUserScript_alloc +// +// See for details. func WKUserScript_alloc() WKUserScript { ret := C.WKUserScript_type_alloc() @@ -496,6 +500,8 @@ func WKUserScript_alloc() WKUserScript { } // WKWebView_alloc +// +// See for details. func WKWebView_alloc() WKWebView { ret := C.WKWebView_type_alloc() @@ -503,8 +509,9 @@ func WKWebView_alloc() WKWebView { } -// WKWebView_handlesURLScheme Returns a Boolean value that indicates whether WebKit natively supports resources with the specified URL scheme. -// https://developer.apple.com/documentation/webkit/wkwebview/2875370-handlesurlscheme?language=objc +// WKWebView_handlesURLScheme returns a boolean value that indicates whether webkit natively supports resources with the specified url scheme. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/2875370-handlesurlscheme?language=objc for details. func WKWebView_handlesURLScheme(urlScheme core.NSStringRef) bool { ret := C.WKWebView_type_handlesURLScheme( objc.RefPointer(urlScheme), @@ -515,6 +522,8 @@ func WKWebView_handlesURLScheme(urlScheme core.NSStringRef) bool { } // WKWebViewConfiguration_alloc +// +// See for details. func WKWebViewConfiguration_alloc() WKWebViewConfiguration { ret := C.WKWebViewConfiguration_type_alloc() @@ -523,6 +532,8 @@ func WKWebViewConfiguration_alloc() WKWebViewConfiguration { } // WKPreferences_alloc +// +// See for details. func WKPreferences_alloc() WKPreferences { ret := C.WKPreferences_type_alloc() @@ -549,7 +560,9 @@ func WKNavigation_fromRef(ref objc.Ref) WKNavigation { return WKNavigation_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Init_asWKNavigation +// Init +// +// See for details. func (x gen_WKNavigation) Init_asWKNavigation() WKNavigation { ret := C.WKNavigation_inst_init( unsafe.Pointer(x.Pointer()), @@ -578,7 +591,9 @@ func WKUserScript_fromRef(ref objc.Ref) WKUserScript { return WKUserScript_fromPointer(unsafe.Pointer(ref.Pointer())) } -// Init_asWKUserScript +// Init +// +// See for details. func (x gen_WKUserScript) Init_asWKUserScript() WKUserScript { ret := C.WKUserScript_inst_init( unsafe.Pointer(x.Pointer()), @@ -588,8 +603,9 @@ func (x gen_WKUserScript) Init_asWKUserScript() WKUserScript { } -// Source The script’s source code. -// https://developer.apple.com/documentation/webkit/wkuserscript/1537787-source?language=objc +// Source returns the script’s source code. +// +// See https://developer.apple.com/documentation/webkit/wkuserscript/1537787-source?language=objc for details. func (x gen_WKUserScript) Source() core.NSString { ret := C.WKUserScript_inst_source( unsafe.Pointer(x.Pointer()), @@ -599,8 +615,9 @@ func (x gen_WKUserScript) Source() core.NSString { } -// IsForMainFrameOnly A Boolean value that indicates whether to inject the script into the main frame or all frames. -// https://developer.apple.com/documentation/webkit/wkuserscript/1537856-formainframeonly?language=objc +// IsForMainFrameOnly returns a boolean value that indicates whether to inject the script into the main frame or all frames. +// +// See https://developer.apple.com/documentation/webkit/wkuserscript/1537856-formainframeonly?language=objc for details. func (x gen_WKUserScript) IsForMainFrameOnly() bool { ret := C.WKUserScript_inst_isForMainFrameOnly( unsafe.Pointer(x.Pointer()), @@ -629,8 +646,9 @@ func WKWebView_fromRef(ref objc.Ref) WKWebView { return WKWebView_fromPointer(unsafe.Pointer(ref.Pointer())) } -// GoBack Navigates to the back item in the back-forward list. -// https://developer.apple.com/documentation/webkit/wkwebview/1414952-goback?language=objc +// GoBack navigates to the back item in the back-forward list. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414952-goback?language=objc for details. func (x gen_WKWebView) GoBack() WKNavigation { ret := C.WKWebView_inst_goBack( unsafe.Pointer(x.Pointer()), @@ -640,8 +658,9 @@ func (x gen_WKWebView) GoBack() WKNavigation { } -// GoBack_ Navigates to the back item in the back-forward list. -// https://developer.apple.com/documentation/webkit/wkwebview/1414975-goback?language=objc +// GoBack_ navigates to the back item in the back-forward list. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414975-goback?language=objc for details. func (x gen_WKWebView) GoBack_( sender objc.Ref, ) { @@ -654,8 +673,9 @@ func (x gen_WKWebView) GoBack_( } -// GoForward Navigates to the forward item in the back-forward list. -// https://developer.apple.com/documentation/webkit/wkwebview/1414993-goforward?language=objc +// GoForward navigates to the forward item in the back-forward list. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414993-goforward?language=objc for details. func (x gen_WKWebView) GoForward() WKNavigation { ret := C.WKWebView_inst_goForward( unsafe.Pointer(x.Pointer()), @@ -665,8 +685,9 @@ func (x gen_WKWebView) GoForward() WKNavigation { } -// GoForward_ Navigates to the forward item in the back-forward list. -// https://developer.apple.com/documentation/webkit/wkwebview/1414960-goforward?language=objc +// GoForward_ navigates to the forward item in the back-forward list. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414960-goforward?language=objc for details. func (x gen_WKWebView) GoForward_( sender objc.Ref, ) { @@ -679,8 +700,9 @@ func (x gen_WKWebView) GoForward_( } -// InitWithFrame_configuration_asWKWebView Creates a web view and initializes it with the specified frame and configuration data. -// https://developer.apple.com/documentation/webkit/wkwebview/1414998-initwithframe?language=objc +// InitWithFrame_configuration creates a web view and initializes it with the specified frame and configuration data. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414998-initwithframe?language=objc for details. func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( frame core.NSRect, configuration WKWebViewConfigurationRef, @@ -695,8 +717,9 @@ func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( } -// LoadData_MIMEType_characterEncodingName_baseURL Loads the content of the specified data object and navigates to it. -// https://developer.apple.com/documentation/webkit/wkwebview/1415011-loaddata?language=objc +// LoadData_MIMEType_characterEncodingName_baseURL loads the content of the specified data object and navigates to it. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415011-loaddata?language=objc for details. func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( data core.NSDataRef, MIMEType core.NSStringRef, @@ -716,7 +739,8 @@ func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( } // LoadFileRequest_allowingReadAccessToURL -// https://developer.apple.com/documentation/webkit/wkwebview/3752237-loadfilerequest?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkwebview/3752237-loadfilerequest?language=objc for details. func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( request core.NSURLRequestRef, readAccessURL core.NSURLRef, @@ -731,8 +755,9 @@ func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( } -// LoadFileURL_allowingReadAccessToURL Loads the web content from the specified file and navigates to it. -// https://developer.apple.com/documentation/webkit/wkwebview/1414973-loadfileurl?language=objc +// LoadFileURL_allowingReadAccessToURL loads the web content from the specified file and navigates to it. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414973-loadfileurl?language=objc for details. func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( URL core.NSURLRef, readAccessURL core.NSURLRef, @@ -747,8 +772,9 @@ func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( } -// LoadHTMLString_baseURL Loads the contents of the specified HTML string and navigates to it. -// https://developer.apple.com/documentation/webkit/wkwebview/1415004-loadhtmlstring?language=objc +// LoadHTMLString_baseURL loads the contents of the specified html string and navigates to it. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415004-loadhtmlstring?language=objc for details. func (x gen_WKWebView) LoadHTMLString_baseURL( string core.NSStringRef, baseURL core.NSURLRef, @@ -763,8 +789,9 @@ func (x gen_WKWebView) LoadHTMLString_baseURL( } -// LoadRequest Loads the web content referenced by the specified URL request object and navigates to it. -// https://developer.apple.com/documentation/webkit/wkwebview/1414954-loadrequest?language=objc +// LoadRequest loads the web content referenced by the specified url request object and navigates to it. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414954-loadrequest?language=objc for details. func (x gen_WKWebView) LoadRequest( request core.NSURLRequestRef, ) WKNavigation { @@ -778,7 +805,8 @@ func (x gen_WKWebView) LoadRequest( } // LoadSimulatedRequest_responseHTMLString -// https://developer.apple.com/documentation/webkit/wkwebview/3763095-loadsimulatedrequest?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkwebview/3763095-loadsimulatedrequest?language=objc for details. func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( request core.NSURLRequestRef, string core.NSStringRef, @@ -793,8 +821,9 @@ func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( } -// Reload Reloads the current webpage. -// https://developer.apple.com/documentation/webkit/wkwebview/1414969-reload?language=objc +// Reload reloads the current webpage. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414969-reload?language=objc for details. func (x gen_WKWebView) Reload() WKNavigation { ret := C.WKWebView_inst_reload( unsafe.Pointer(x.Pointer()), @@ -804,8 +833,9 @@ func (x gen_WKWebView) Reload() WKNavigation { } -// Reload_ Reloads the current webpage. -// https://developer.apple.com/documentation/webkit/wkwebview/1414987-reload?language=objc +// Reload_ reloads the current webpage. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414987-reload?language=objc for details. func (x gen_WKWebView) Reload_( sender objc.Ref, ) { @@ -818,8 +848,9 @@ func (x gen_WKWebView) Reload_( } -// ReloadFromOrigin Reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. -// https://developer.apple.com/documentation/webkit/wkwebview/1414956-reloadfromorigin?language=objc +// ReloadFromOrigin reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414956-reloadfromorigin?language=objc for details. func (x gen_WKWebView) ReloadFromOrigin() WKNavigation { ret := C.WKWebView_inst_reloadFromOrigin( unsafe.Pointer(x.Pointer()), @@ -829,8 +860,9 @@ func (x gen_WKWebView) ReloadFromOrigin() WKNavigation { } -// ReloadFromOrigin_ Reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. -// https://developer.apple.com/documentation/webkit/wkwebview/1414989-reloadfromorigin?language=objc +// ReloadFromOrigin_ reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414989-reloadfromorigin?language=objc for details. func (x gen_WKWebView) ReloadFromOrigin_( sender objc.Ref, ) { @@ -843,8 +875,9 @@ func (x gen_WKWebView) ReloadFromOrigin_( } -// StopLoading Stops loading all resources on the current page. -// https://developer.apple.com/documentation/webkit/wkwebview/1414981-stoploading?language=objc +// StopLoading stops loading all resources on the current page. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414981-stoploading?language=objc for details. func (x gen_WKWebView) StopLoading() { C.WKWebView_inst_stopLoading( unsafe.Pointer(x.Pointer()), @@ -854,8 +887,9 @@ func (x gen_WKWebView) StopLoading() { } -// StopLoading_ Stops loading all resources on the current page. -// https://developer.apple.com/documentation/webkit/wkwebview/1415013-stoploading?language=objc +// StopLoading_ stops loading all resources on the current page. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415013-stoploading?language=objc for details. func (x gen_WKWebView) StopLoading_( sender objc.Ref, ) { @@ -868,7 +902,9 @@ func (x gen_WKWebView) StopLoading_( } -// Init_asWKWebView +// Init +// +// See for details. func (x gen_WKWebView) Init_asWKWebView() WKWebView { ret := C.WKWebView_inst_init( unsafe.Pointer(x.Pointer()), @@ -878,8 +914,9 @@ func (x gen_WKWebView) Init_asWKWebView() WKWebView { } -// Configuration The object that contains the configuration details for the web view. -// https://developer.apple.com/documentation/webkit/wkwebview/1414979-configuration?language=objc +// Configuration returns the object that contains the configuration details for the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414979-configuration?language=objc for details. func (x gen_WKWebView) Configuration() WKWebViewConfiguration { ret := C.WKWebView_inst_configuration( unsafe.Pointer(x.Pointer()), @@ -889,8 +926,9 @@ func (x gen_WKWebView) Configuration() WKWebViewConfiguration { } -// UIDelegate The object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. -// https://developer.apple.com/documentation/webkit/wkwebview/1415009-uidelegate?language=objc +// UIDelegate returns the object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415009-uidelegate?language=objc for details. func (x gen_WKWebView) UIDelegate() objc.Object { ret := C.WKWebView_inst_UIDelegate( unsafe.Pointer(x.Pointer()), @@ -900,8 +938,9 @@ func (x gen_WKWebView) UIDelegate() objc.Object { } -// SetUIDelegate The object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. -// https://developer.apple.com/documentation/webkit/wkwebview/1415009-uidelegate?language=objc +// SetUIDelegate returns the object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415009-uidelegate?language=objc for details. func (x gen_WKWebView) SetUIDelegate( value objc.Ref, ) { @@ -914,8 +953,9 @@ func (x gen_WKWebView) SetUIDelegate( } -// NavigationDelegate The object you use to manage navigation behavior for the web view. -// https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc +// NavigationDelegate returns the object you use to manage navigation behavior for the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc for details. func (x gen_WKWebView) NavigationDelegate() objc.Object { ret := C.WKWebView_inst_navigationDelegate( unsafe.Pointer(x.Pointer()), @@ -925,8 +965,9 @@ func (x gen_WKWebView) NavigationDelegate() objc.Object { } -// SetNavigationDelegate The object you use to manage navigation behavior for the web view. -// https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc +// SetNavigationDelegate returns the object you use to manage navigation behavior for the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc for details. func (x gen_WKWebView) SetNavigationDelegate( value objc.Ref, ) { @@ -939,8 +980,9 @@ func (x gen_WKWebView) SetNavigationDelegate( } -// IsLoading A Boolean value that indicates whether the view is currently loading content. -// https://developer.apple.com/documentation/webkit/wkwebview/1414964-loading?language=objc +// IsLoading returns a boolean value that indicates whether the view is currently loading content. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414964-loading?language=objc for details. func (x gen_WKWebView) IsLoading() bool { ret := C.WKWebView_inst_isLoading( unsafe.Pointer(x.Pointer()), @@ -950,8 +992,9 @@ func (x gen_WKWebView) IsLoading() bool { } -// Title The page title. -// https://developer.apple.com/documentation/webkit/wkwebview/1415015-title?language=objc +// Title returns the page title. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415015-title?language=objc for details. func (x gen_WKWebView) Title() core.NSString { ret := C.WKWebView_inst_title( unsafe.Pointer(x.Pointer()), @@ -961,8 +1004,9 @@ func (x gen_WKWebView) Title() core.NSString { } -// URL The URL for the current webpage. -// https://developer.apple.com/documentation/webkit/wkwebview/1415005-url?language=objc +// URL returns the url for the current webpage. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415005-url?language=objc for details. func (x gen_WKWebView) URL() core.NSURL { ret := C.WKWebView_inst_URL( unsafe.Pointer(x.Pointer()), @@ -972,8 +1016,9 @@ func (x gen_WKWebView) URL() core.NSURL { } -// MediaType The media type for the contents of the web view. -// https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc +// MediaType returns the media type for the contents of the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc for details. func (x gen_WKWebView) MediaType() core.NSString { ret := C.WKWebView_inst_mediaType( unsafe.Pointer(x.Pointer()), @@ -983,8 +1028,9 @@ func (x gen_WKWebView) MediaType() core.NSString { } -// SetMediaType The media type for the contents of the web view. -// https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc +// SetMediaType returns the media type for the contents of the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc for details. func (x gen_WKWebView) SetMediaType( value core.NSStringRef, ) { @@ -997,8 +1043,9 @@ func (x gen_WKWebView) SetMediaType( } -// CustomUserAgent The custom user agent string. -// https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc +// CustomUserAgent returns the custom user agent string. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc for details. func (x gen_WKWebView) CustomUserAgent() core.NSString { ret := C.WKWebView_inst_customUserAgent( unsafe.Pointer(x.Pointer()), @@ -1008,8 +1055,9 @@ func (x gen_WKWebView) CustomUserAgent() core.NSString { } -// SetCustomUserAgent The custom user agent string. -// https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc +// SetCustomUserAgent returns the custom user agent string. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc for details. func (x gen_WKWebView) SetCustomUserAgent( value core.NSStringRef, ) { @@ -1022,8 +1070,9 @@ func (x gen_WKWebView) SetCustomUserAgent( } -// HasOnlySecureContent A Boolean value that indicates whether the web view loaded all resources on the page through securely encrypted connections. -// https://developer.apple.com/documentation/webkit/wkwebview/1415002-hasonlysecurecontent?language=objc +// HasOnlySecureContent returns a boolean value that indicates whether the web view loaded all resources on the page through securely encrypted connections. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415002-hasonlysecurecontent?language=objc for details. func (x gen_WKWebView) HasOnlySecureContent() bool { ret := C.WKWebView_inst_hasOnlySecureContent( unsafe.Pointer(x.Pointer()), @@ -1033,8 +1082,9 @@ func (x gen_WKWebView) HasOnlySecureContent() bool { } -// AllowsMagnification A Boolean value that indicates whether magnify gestures change the web view’s magnification. -// https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc +// AllowsMagnification returns a boolean value that indicates whether magnify gestures change the web view’s magnification. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc for details. func (x gen_WKWebView) AllowsMagnification() bool { ret := C.WKWebView_inst_allowsMagnification( unsafe.Pointer(x.Pointer()), @@ -1044,8 +1094,9 @@ func (x gen_WKWebView) AllowsMagnification() bool { } -// SetAllowsMagnification A Boolean value that indicates whether magnify gestures change the web view’s magnification. -// https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc +// SetAllowsMagnification returns a boolean value that indicates whether magnify gestures change the web view’s magnification. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc for details. func (x gen_WKWebView) SetAllowsMagnification( value bool, ) { @@ -1058,8 +1109,9 @@ func (x gen_WKWebView) SetAllowsMagnification( } -// Magnification The factor by which the page content is currently scaled. -// https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc +// Magnification returns the factor by which the page content is currently scaled. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc for details. func (x gen_WKWebView) Magnification() core.CGFloat { ret := C.WKWebView_inst_magnification( unsafe.Pointer(x.Pointer()), @@ -1069,8 +1121,9 @@ func (x gen_WKWebView) Magnification() core.CGFloat { } -// SetMagnification The factor by which the page content is currently scaled. -// https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc +// SetMagnification returns the factor by which the page content is currently scaled. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc for details. func (x gen_WKWebView) SetMagnification( value core.CGFloat, ) { @@ -1083,8 +1136,9 @@ func (x gen_WKWebView) SetMagnification( } -// AllowsBackForwardNavigationGestures A Boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. -// https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc +// AllowsBackForwardNavigationGestures returns a boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc for details. func (x gen_WKWebView) AllowsBackForwardNavigationGestures() bool { ret := C.WKWebView_inst_allowsBackForwardNavigationGestures( unsafe.Pointer(x.Pointer()), @@ -1094,8 +1148,9 @@ func (x gen_WKWebView) AllowsBackForwardNavigationGestures() bool { } -// SetAllowsBackForwardNavigationGestures A Boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. -// https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc +// SetAllowsBackForwardNavigationGestures returns a boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc for details. func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( value bool, ) { @@ -1108,8 +1163,9 @@ func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( } -// CanGoBack A Boolean value that indicates whether there is a valid back item in the back-forward list. -// https://developer.apple.com/documentation/webkit/wkwebview/1414966-cangoback?language=objc +// CanGoBack returns a boolean value that indicates whether there is a valid back item in the back-forward list. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414966-cangoback?language=objc for details. func (x gen_WKWebView) CanGoBack() bool { ret := C.WKWebView_inst_canGoBack( unsafe.Pointer(x.Pointer()), @@ -1119,8 +1175,9 @@ func (x gen_WKWebView) CanGoBack() bool { } -// CanGoForward A Boolean value that indicates whether there is a valid forward item in the back-forward list. -// https://developer.apple.com/documentation/webkit/wkwebview/1414962-cangoforward?language=objc +// CanGoForward returns a boolean value that indicates whether there is a valid forward item in the back-forward list. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1414962-cangoforward?language=objc for details. func (x gen_WKWebView) CanGoForward() bool { ret := C.WKWebView_inst_canGoForward( unsafe.Pointer(x.Pointer()), @@ -1130,8 +1187,9 @@ func (x gen_WKWebView) CanGoForward() bool { } -// AllowsLinkPreview A Boolean value that determines whether pressing a link displays a preview of the destination for the link. -// https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc +// AllowsLinkPreview returns a boolean value that determines whether pressing a link displays a preview of the destination for the link. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc for details. func (x gen_WKWebView) AllowsLinkPreview() bool { ret := C.WKWebView_inst_allowsLinkPreview( unsafe.Pointer(x.Pointer()), @@ -1141,8 +1199,9 @@ func (x gen_WKWebView) AllowsLinkPreview() bool { } -// SetAllowsLinkPreview A Boolean value that determines whether pressing a link displays a preview of the destination for the link. -// https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc +// SetAllowsLinkPreview returns a boolean value that determines whether pressing a link displays a preview of the destination for the link. +// +// See https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc for details. func (x gen_WKWebView) SetAllowsLinkPreview( value bool, ) { @@ -1156,7 +1215,8 @@ func (x gen_WKWebView) SetAllowsLinkPreview( } // InteractionState -// https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc for details. func (x gen_WKWebView) InteractionState() objc.Object { ret := C.WKWebView_inst_interactionState( unsafe.Pointer(x.Pointer()), @@ -1167,7 +1227,8 @@ func (x gen_WKWebView) InteractionState() objc.Object { } // SetInteractionState -// https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc for details. func (x gen_WKWebView) SetInteractionState( value objc.Ref, ) { @@ -1199,8 +1260,9 @@ func WKWebViewConfiguration_fromRef(ref objc.Ref) WKWebViewConfiguration { return WKWebViewConfiguration_fromPointer(unsafe.Pointer(ref.Pointer())) } -// SetURLSchemeHandler_forURLScheme Registers an object to load resources associated with the specified URL scheme. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875766-seturlschemehandler?language=objc +// SetURLSchemeHandler_forURLScheme registers an object to load resources associated with the specified url scheme. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875766-seturlschemehandler?language=objc for details. func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( urlSchemeHandler objc.Ref, urlScheme core.NSStringRef, @@ -1215,8 +1277,9 @@ func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( } -// UrlSchemeHandlerForURLScheme Returns the currently registered handler object for the specified URL scheme. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875767-urlschemehandlerforurlscheme?language=objc +// UrlSchemeHandlerForURLScheme returns the currently registered handler object for the specified url scheme. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875767-urlschemehandlerforurlscheme?language=objc for details. func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( urlScheme core.NSStringRef, ) objc.Object { @@ -1229,7 +1292,9 @@ func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( } -// Init_asWKWebViewConfiguration +// Init +// +// See for details. func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() WKWebViewConfiguration { ret := C.WKWebViewConfiguration_inst_init( unsafe.Pointer(x.Pointer()), @@ -1239,8 +1304,9 @@ func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() WKWebViewCon } -// ApplicationNameForUserAgent The app name that appears in the user agent string. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc +// ApplicationNameForUserAgent returns the app name that appears in the user agent string. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc for details. func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() core.NSString { ret := C.WKWebViewConfiguration_inst_applicationNameForUserAgent( unsafe.Pointer(x.Pointer()), @@ -1250,8 +1316,9 @@ func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() core.NSString } -// SetApplicationNameForUserAgent The app name that appears in the user agent string. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc +// SetApplicationNameForUserAgent returns the app name that appears in the user agent string. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc for details. func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( value core.NSStringRef, ) { @@ -1264,8 +1331,9 @@ func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( } -// LimitsNavigationsToAppBoundDomains A Boolean value that indicates whether the web view limits navigation to pages within the app’s domain. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc +// LimitsNavigationsToAppBoundDomains returns a boolean value that indicates whether the web view limits navigation to pages within the app’s domain. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc for details. func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool { ret := C.WKWebViewConfiguration_inst_limitsNavigationsToAppBoundDomains( unsafe.Pointer(x.Pointer()), @@ -1275,8 +1343,9 @@ func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool { } -// SetLimitsNavigationsToAppBoundDomains A Boolean value that indicates whether the web view limits navigation to pages within the app’s domain. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc +// SetLimitsNavigationsToAppBoundDomains returns a boolean value that indicates whether the web view limits navigation to pages within the app’s domain. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc for details. func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( value bool, ) { @@ -1289,8 +1358,9 @@ func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( } -// Preferences The object that manages the preference-related settings for the web view. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc +// Preferences returns the object that manages the preference-related settings for the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc for details. func (x gen_WKWebViewConfiguration) Preferences() WKPreferences { ret := C.WKWebViewConfiguration_inst_preferences( unsafe.Pointer(x.Pointer()), @@ -1300,8 +1370,9 @@ func (x gen_WKWebViewConfiguration) Preferences() WKPreferences { } -// SetPreferences The object that manages the preference-related settings for the web view. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc +// SetPreferences returns the object that manages the preference-related settings for the web view. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc for details. func (x gen_WKWebViewConfiguration) SetPreferences( value WKPreferencesRef, ) { @@ -1314,8 +1385,9 @@ func (x gen_WKWebViewConfiguration) SetPreferences( } -// IgnoresViewportScaleLimits A Boolean value that determines whether a web view allows scaling of the webpage. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc +// IgnoresViewportScaleLimits returns a boolean value that determines whether a web view allows scaling of the webpage. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc for details. func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() bool { ret := C.WKWebViewConfiguration_inst_ignoresViewportScaleLimits( unsafe.Pointer(x.Pointer()), @@ -1325,8 +1397,9 @@ func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() bool { } -// SetIgnoresViewportScaleLimits A Boolean value that determines whether a web view allows scaling of the webpage. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc +// SetIgnoresViewportScaleLimits returns a boolean value that determines whether a web view allows scaling of the webpage. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc for details. func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( value bool, ) { @@ -1339,8 +1412,9 @@ func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( } -// SuppressesIncrementalRendering A Boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc +// SuppressesIncrementalRendering returns a boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc for details. func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() bool { ret := C.WKWebViewConfiguration_inst_suppressesIncrementalRendering( unsafe.Pointer(x.Pointer()), @@ -1350,8 +1424,9 @@ func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() bool { } -// SetSuppressesIncrementalRendering A Boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc +// SetSuppressesIncrementalRendering returns a boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc for details. func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( value bool, ) { @@ -1364,8 +1439,9 @@ func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( } -// AllowsInlineMediaPlayback A Boolean value that indicates whether HTML5 videos play inline or use the native full-screen controller. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc +// AllowsInlineMediaPlayback returns a boolean value that indicates whether html5 videos play inline or use the native full-screen controller. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc for details. func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() bool { ret := C.WKWebViewConfiguration_inst_allowsInlineMediaPlayback( unsafe.Pointer(x.Pointer()), @@ -1375,8 +1451,9 @@ func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() bool { } -// SetAllowsInlineMediaPlayback A Boolean value that indicates whether HTML5 videos play inline or use the native full-screen controller. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc +// SetAllowsInlineMediaPlayback returns a boolean value that indicates whether html5 videos play inline or use the native full-screen controller. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc for details. func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( value bool, ) { @@ -1389,8 +1466,9 @@ func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( } -// AllowsAirPlayForMediaPlayback A Boolean value that indicates whether the web view allows media playback over AirPlay. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc +// AllowsAirPlayForMediaPlayback returns a boolean value that indicates whether the web view allows media playback over airplay. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc for details. func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool { ret := C.WKWebViewConfiguration_inst_allowsAirPlayForMediaPlayback( unsafe.Pointer(x.Pointer()), @@ -1400,8 +1478,9 @@ func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool { } -// SetAllowsAirPlayForMediaPlayback A Boolean value that indicates whether the web view allows media playback over AirPlay. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc +// SetAllowsAirPlayForMediaPlayback returns a boolean value that indicates whether the web view allows media playback over airplay. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc for details. func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( value bool, ) { @@ -1414,8 +1493,9 @@ func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( } -// AllowsPictureInPictureMediaPlayback A Boolean value that indicates whether HTML5 videos can play Picture in Picture. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc +// AllowsPictureInPictureMediaPlayback returns a boolean value that indicates whether html5 videos can play picture in picture. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc for details. func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() bool { ret := C.WKWebViewConfiguration_inst_allowsPictureInPictureMediaPlayback( unsafe.Pointer(x.Pointer()), @@ -1425,8 +1505,9 @@ func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() bool { } -// SetAllowsPictureInPictureMediaPlayback A Boolean value that indicates whether HTML5 videos can play Picture in Picture. -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc +// SetAllowsPictureInPictureMediaPlayback returns a boolean value that indicates whether html5 videos can play picture in picture. +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc for details. func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( value bool, ) { @@ -1440,7 +1521,8 @@ func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( } // UpgradeKnownHostsToHTTPS -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc for details. func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool { ret := C.WKWebViewConfiguration_inst_upgradeKnownHostsToHTTPS( unsafe.Pointer(x.Pointer()), @@ -1451,7 +1533,8 @@ func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool { } // SetUpgradeKnownHostsToHTTPS -// https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc for details. func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS( value bool, ) { @@ -1484,6 +1567,8 @@ func WKPreferences_fromRef(ref objc.Ref) WKPreferences { } // SetValue_forKey +// +// See for details. func (x gen_WKPreferences) SetValue_forKey( value objc.Ref, key core.NSStringRef, @@ -1498,7 +1583,9 @@ func (x gen_WKPreferences) SetValue_forKey( } -// Init_asWKPreferences +// Init +// +// See for details. func (x gen_WKPreferences) Init_asWKPreferences() WKPreferences { ret := C.WKPreferences_inst_init( unsafe.Pointer(x.Pointer()), @@ -1508,8 +1595,9 @@ func (x gen_WKPreferences) Init_asWKPreferences() WKPreferences { } -// MinimumFontSize The minimum font size, in points. -// https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc +// MinimumFontSize returns the minimum font size, in points. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc for details. func (x gen_WKPreferences) MinimumFontSize() core.CGFloat { ret := C.WKPreferences_inst_minimumFontSize( unsafe.Pointer(x.Pointer()), @@ -1519,8 +1607,9 @@ func (x gen_WKPreferences) MinimumFontSize() core.CGFloat { } -// SetMinimumFontSize The minimum font size, in points. -// https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc +// SetMinimumFontSize returns the minimum font size, in points. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc for details. func (x gen_WKPreferences) SetMinimumFontSize( value core.CGFloat, ) { @@ -1533,8 +1622,9 @@ func (x gen_WKPreferences) SetMinimumFontSize( } -// TabFocusesLinks A Boolean value that indicates whether pressing the tab key changes the focus to links and form controls. -// https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc +// TabFocusesLinks returns a boolean value that indicates whether pressing the tab key changes the focus to links and form controls. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc for details. func (x gen_WKPreferences) TabFocusesLinks() bool { ret := C.WKPreferences_inst_tabFocusesLinks( unsafe.Pointer(x.Pointer()), @@ -1544,8 +1634,9 @@ func (x gen_WKPreferences) TabFocusesLinks() bool { } -// SetTabFocusesLinks A Boolean value that indicates whether pressing the tab key changes the focus to links and form controls. -// https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc +// SetTabFocusesLinks returns a boolean value that indicates whether pressing the tab key changes the focus to links and form controls. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc for details. func (x gen_WKPreferences) SetTabFocusesLinks( value bool, ) { @@ -1558,8 +1649,9 @@ func (x gen_WKPreferences) SetTabFocusesLinks( } -// JavaScriptCanOpenWindowsAutomatically A Boolean value that indicates whether JavaScript can open windows without user interaction. -// https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc +// JavaScriptCanOpenWindowsAutomatically returns a boolean value that indicates whether javascript can open windows without user interaction. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc for details. func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool { ret := C.WKPreferences_inst_javaScriptCanOpenWindowsAutomatically( unsafe.Pointer(x.Pointer()), @@ -1569,8 +1661,9 @@ func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool { } -// SetJavaScriptCanOpenWindowsAutomatically A Boolean value that indicates whether JavaScript can open windows without user interaction. -// https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc +// SetJavaScriptCanOpenWindowsAutomatically returns a boolean value that indicates whether javascript can open windows without user interaction. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc for details. func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( value bool, ) { @@ -1583,8 +1676,9 @@ func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( } -// IsFraudulentWebsiteWarningEnabled A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. -// https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc +// IsFraudulentWebsiteWarningEnabled returns a boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc for details. func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() bool { ret := C.WKPreferences_inst_isFraudulentWebsiteWarningEnabled( unsafe.Pointer(x.Pointer()), @@ -1594,8 +1688,9 @@ func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() bool { } -// SetFraudulentWebsiteWarningEnabled A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. -// https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc +// SetFraudulentWebsiteWarningEnabled returns a boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc for details. func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( value bool, ) { @@ -1609,7 +1704,8 @@ func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( } // IsTextInteractionEnabled -// https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc for details. func (x gen_WKPreferences) IsTextInteractionEnabled() bool { ret := C.WKPreferences_inst_isTextInteractionEnabled( unsafe.Pointer(x.Pointer()), @@ -1620,7 +1716,8 @@ func (x gen_WKPreferences) IsTextInteractionEnabled() bool { } // SetTextInteractionEnabled -// https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc +// +// See https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc for details. func (x gen_WKPreferences) SetTextInteractionEnabled( value bool, ) { From 7af238f9940b9f4998335a33f8854a523e9092f6 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 15:09:04 -0700 Subject: [PATCH 11/13] gen: capitalize names --- cocoa/cocoa_objc.gen.go | 6780 ++++++++++++++++++------------------- core/core_objc.gen.go | 2100 ++++++------ gen/gen.go | 21 +- webkit/webkit_objc.gen.go | 412 +-- 4 files changed, 4666 insertions(+), 4647 deletions(-) diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index d766ef65..dcd68a99 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -22,547 +22,547 @@ bool cocoa_convertObjCBool(BOOL b) { } -void* NSBundle_type_alloc() { +void* NSBundle_type_Alloc() { return [NSBundle alloc]; } -void* NSBundle_type_bundleWithURL(void* url) { +void* NSBundle_type_BundleWithURL(void* url) { return [NSBundle bundleWithURL: url]; } -void* NSBundle_type_bundleWithPath(void* path) { +void* NSBundle_type_BundleWithPath(void* path) { return [NSBundle bundleWithPath: path]; } -void* NSBundle_type_bundleWithIdentifier(void* identifier) { +void* NSBundle_type_BundleWithIdentifier(void* identifier) { return [NSBundle bundleWithIdentifier: identifier]; } -void* NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL(void* name, void* ext, void* subpath, void* bundleURL) { +void* NSBundle_type_URLForResourceWithExtensionSubdirectoryInBundleWithURL(void* name, void* ext, void* subpath, void* bundleURL) { return [NSBundle URLForResource: name withExtension: ext subdirectory: subpath inBundleWithURL: bundleURL]; } -void* NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(void* ext, void* subpath, void* bundleURL) { +void* NSBundle_type_URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(void* ext, void* subpath, void* bundleURL) { return [NSBundle URLsForResourcesWithExtension: ext subdirectory: subpath inBundleWithURL: bundleURL]; } -void* NSBundle_type_pathForResource_ofType_inDirectory(void* name, void* ext, void* bundlePath) { +void* NSBundle_type_PathForResourceOfTypeInDirectory(void* name, void* ext, void* bundlePath) { return [NSBundle pathForResource: name ofType: ext inDirectory: bundlePath]; } -void* NSBundle_type_pathsForResourcesOfType_inDirectory(void* ext, void* bundlePath) { +void* NSBundle_type_PathsForResourcesOfTypeInDirectory(void* ext, void* bundlePath) { return [NSBundle pathsForResourcesOfType: ext inDirectory: bundlePath]; } -void* NSBundle_type_preferredLocalizationsFromArray(void* localizationsArray) { +void* NSBundle_type_PreferredLocalizationsFromArray(void* localizationsArray) { return [NSBundle preferredLocalizationsFromArray: localizationsArray]; } -void* NSBundle_type_preferredLocalizationsFromArray_forPreferences(void* localizationsArray, void* preferencesArray) { +void* NSBundle_type_PreferredLocalizationsFromArrayForPreferences(void* localizationsArray, void* preferencesArray) { return [NSBundle preferredLocalizationsFromArray: localizationsArray forPreferences: preferencesArray]; } -void* NSBundle_type_mainBundle() { +void* NSBundle_type_MainBundle() { return [NSBundle mainBundle]; } -void* NSBundle_type_allFrameworks() { +void* NSBundle_type_AllFrameworks() { return [NSBundle allFrameworks]; } -void* NSBundle_type_allBundles() { +void* NSBundle_type_AllBundles() { return [NSBundle allBundles]; } -void* NSSound_type_alloc() { +void* NSSound_type_Alloc() { return [NSSound alloc]; } -BOOL NSSound_type_canInitWithPasteboard(void* pasteboard) { +BOOL NSSound_type_CanInitWithPasteboard(void* pasteboard) { return [NSSound canInitWithPasteboard: pasteboard]; } -void* NSSound_type_soundUnfilteredTypes() { +void* NSSound_type_SoundUnfilteredTypes() { return [NSSound soundUnfilteredTypes]; } -void* NSApplication_type_alloc() { +void* NSApplication_type_Alloc() { return [NSApplication alloc]; } -void NSApplication_type_detachDrawingThread_toTarget_withObject(void* selector, void* target, void* argument) { +void NSApplication_type_DetachDrawingThreadToTargetWithObject(void* selector, void* target, void* argument) { [NSApplication detachDrawingThread: selector toTarget: target withObject: argument]; } -void* NSApplication_type_sharedApplication() { +void* NSApplication_type_SharedApplication() { return [NSApplication sharedApplication]; } -void* NSControl_type_alloc() { +void* NSControl_type_Alloc() { return [NSControl alloc]; } -void* NSButton_type_alloc() { +void* NSButton_type_Alloc() { return [NSButton alloc]; } -void* NSButton_type_checkboxWithTitle_target_action(void* title, void* target, void* action) { +void* NSButton_type_CheckboxWithTitleTargetAction(void* title, void* target, void* action) { return [NSButton checkboxWithTitle: title target: target action: action]; } -void* NSButton_type_buttonWithImage_target_action(void* image, void* target, void* action) { +void* NSButton_type_ButtonWithImageTargetAction(void* image, void* target, void* action) { return [NSButton buttonWithImage: image target: target action: action]; } -void* NSButton_type_radioButtonWithTitle_target_action(void* title, void* target, void* action) { +void* NSButton_type_RadioButtonWithTitleTargetAction(void* title, void* target, void* action) { return [NSButton radioButtonWithTitle: title target: target action: action]; } -void* NSButton_type_buttonWithTitle_image_target_action(void* title, void* image, void* target, void* action) { +void* NSButton_type_ButtonWithTitleImageTargetAction(void* title, void* image, void* target, void* action) { return [NSButton buttonWithTitle: title image: image target: target action: action]; } -void* NSButton_type_buttonWithTitle_target_action(void* title, void* target, void* action) { +void* NSButton_type_ButtonWithTitleTargetAction(void* title, void* target, void* action) { return [NSButton buttonWithTitle: title target: target action: action]; } -void* NSEvent_type_alloc() { +void* NSEvent_type_Alloc() { return [NSEvent alloc]; } -void* NSEvent_type_eventWithEventRef(void* eventRef) { +void* NSEvent_type_EventWithEventRef(void* eventRef) { return [NSEvent eventWithEventRef: eventRef]; } -void NSEvent_type_stopPeriodicEvents() { +void NSEvent_type_StopPeriodicEvents() { [NSEvent stopPeriodicEvents]; } -void NSEvent_type_removeMonitor(void* eventMonitor) { +void NSEvent_type_RemoveMonitor(void* eventMonitor) { [NSEvent removeMonitor: eventMonitor]; } -unsigned long NSEvent_type_pressedMouseButtons() { +unsigned long NSEvent_type_PressedMouseButtons() { return [NSEvent pressedMouseButtons]; } -NSPoint NSEvent_type_mouseLocation() { +NSPoint NSEvent_type_MouseLocation() { return [NSEvent mouseLocation]; } -BOOL NSEvent_type_mouseCoalescingEnabled() { +BOOL NSEvent_type_MouseCoalescingEnabled() { return [NSEvent mouseCoalescingEnabled]; } -void NSEvent_type_setMouseCoalescingEnabled(BOOL value) { +void NSEvent_type_SetMouseCoalescingEnabled(BOOL value) { [NSEvent setMouseCoalescingEnabled: value]; } -BOOL NSEvent_type_swipeTrackingFromScrollEventsEnabled() { +BOOL NSEvent_type_SwipeTrackingFromScrollEventsEnabled() { return [NSEvent swipeTrackingFromScrollEventsEnabled]; } -void* NSFont_type_alloc() { +void* NSFont_type_Alloc() { return [NSFont alloc]; } -void* NSFont_type_fontWithName_size(void* fontName, double fontSize) { +void* NSFont_type_FontWithNameSize(void* fontName, double fontSize) { return [NSFont fontWithName: fontName size: fontSize]; } -void* NSFont_type_userFontOfSize(double fontSize) { +void* NSFont_type_UserFontOfSize(double fontSize) { return [NSFont userFontOfSize: fontSize]; } -void* NSFont_type_userFixedPitchFontOfSize(double fontSize) { +void* NSFont_type_UserFixedPitchFontOfSize(double fontSize) { return [NSFont userFixedPitchFontOfSize: fontSize]; } -void* NSFont_type_systemFontOfSize(double fontSize) { +void* NSFont_type_SystemFontOfSize(double fontSize) { return [NSFont systemFontOfSize: fontSize]; } -void* NSFont_type_boldSystemFontOfSize(double fontSize) { +void* NSFont_type_BoldSystemFontOfSize(double fontSize) { return [NSFont boldSystemFontOfSize: fontSize]; } -void* NSFont_type_labelFontOfSize(double fontSize) { +void* NSFont_type_LabelFontOfSize(double fontSize) { return [NSFont labelFontOfSize: fontSize]; } -void* NSFont_type_messageFontOfSize(double fontSize) { +void* NSFont_type_MessageFontOfSize(double fontSize) { return [NSFont messageFontOfSize: fontSize]; } -void* NSFont_type_menuBarFontOfSize(double fontSize) { +void* NSFont_type_MenuBarFontOfSize(double fontSize) { return [NSFont menuBarFontOfSize: fontSize]; } -void* NSFont_type_menuFontOfSize(double fontSize) { +void* NSFont_type_MenuFontOfSize(double fontSize) { return [NSFont menuFontOfSize: fontSize]; } -void* NSFont_type_controlContentFontOfSize(double fontSize) { +void* NSFont_type_ControlContentFontOfSize(double fontSize) { return [NSFont controlContentFontOfSize: fontSize]; } -void* NSFont_type_titleBarFontOfSize(double fontSize) { +void* NSFont_type_TitleBarFontOfSize(double fontSize) { return [NSFont titleBarFontOfSize: fontSize]; } -void* NSFont_type_paletteFontOfSize(double fontSize) { +void* NSFont_type_PaletteFontOfSize(double fontSize) { return [NSFont paletteFontOfSize: fontSize]; } -void* NSFont_type_toolTipsFontOfSize(double fontSize) { +void* NSFont_type_ToolTipsFontOfSize(double fontSize) { return [NSFont toolTipsFontOfSize: fontSize]; } -void NSFont_type_setUserFont(void* font) { +void NSFont_type_SetUserFont(void* font) { [NSFont setUserFont: font]; } -void NSFont_type_setUserFixedPitchFont(void* font) { +void NSFont_type_SetUserFixedPitchFont(void* font) { [NSFont setUserFixedPitchFont: font]; } -double NSFont_type_systemFontSize() { +double NSFont_type_SystemFontSize() { return [NSFont systemFontSize]; } -double NSFont_type_smallSystemFontSize() { +double NSFont_type_SmallSystemFontSize() { return [NSFont smallSystemFontSize]; } -double NSFont_type_labelFontSize() { +double NSFont_type_LabelFontSize() { return [NSFont labelFontSize]; } -void* NSImage_type_alloc() { +void* NSImage_type_Alloc() { return [NSImage alloc]; } -void* NSImage_type_imageWithSystemSymbolName_accessibilityDescription(void* symbolName, void* description) { +void* NSImage_type_ImageWithSystemSymbolNameAccessibilityDescription(void* symbolName, void* description) { return [NSImage imageWithSystemSymbolName: symbolName accessibilityDescription: description]; } -BOOL NSImage_type_canInitWithPasteboard(void* pasteboard) { +BOOL NSImage_type_CanInitWithPasteboard(void* pasteboard) { return [NSImage canInitWithPasteboard: pasteboard]; } -void* NSImage_type_imageTypes() { +void* NSImage_type_ImageTypes() { return [NSImage imageTypes]; } -void* NSImage_type_imageUnfilteredTypes() { +void* NSImage_type_ImageUnfilteredTypes() { return [NSImage imageUnfilteredTypes]; } -void* NSImageView_type_alloc() { +void* NSImageView_type_Alloc() { return [NSImageView alloc]; } -void* NSImageView_type_imageViewWithImage(void* image) { +void* NSImageView_type_ImageViewWithImage(void* image) { return [NSImageView imageViewWithImage: image]; } -void* NSNib_type_alloc() { +void* NSNib_type_Alloc() { return [NSNib alloc]; } -void* NSPasteboard_type_alloc() { +void* NSPasteboard_type_Alloc() { return [NSPasteboard alloc]; } -void* NSPasteboard_type_pasteboardByFilteringFile(void* filename) { +void* NSPasteboard_type_PasteboardByFilteringFile(void* filename) { return [NSPasteboard pasteboardByFilteringFile: filename]; } -void* NSPasteboard_type_pasteboardByFilteringTypesInPasteboard(void* pboard) { +void* NSPasteboard_type_PasteboardByFilteringTypesInPasteboard(void* pboard) { return [NSPasteboard pasteboardByFilteringTypesInPasteboard: pboard]; } -void* NSPasteboard_type_pasteboardWithUniqueName() { +void* NSPasteboard_type_PasteboardWithUniqueName() { return [NSPasteboard pasteboardWithUniqueName]; } -void* NSPasteboard_type_generalPasteboard() { +void* NSPasteboard_type_GeneralPasteboard() { return [NSPasteboard generalPasteboard]; } -void* NSLayoutManager_type_alloc() { +void* NSLayoutManager_type_Alloc() { return [NSLayoutManager alloc]; } -void* NSMenu_type_alloc() { +void* NSMenu_type_Alloc() { return [NSMenu alloc]; } -BOOL NSMenu_type_menuBarVisible() { +BOOL NSMenu_type_MenuBarVisible() { return [NSMenu menuBarVisible]; } -void NSMenu_type_setMenuBarVisible(BOOL visible) { +void NSMenu_type_SetMenuBarVisible(BOOL visible) { [NSMenu setMenuBarVisible: visible]; } -void NSMenu_type_popUpContextMenu_withEvent_forView(void* menu, void* event, void* view) { +void NSMenu_type_PopUpContextMenuWithEventForView(void* menu, void* event, void* view) { [NSMenu popUpContextMenu: menu withEvent: event forView: view]; } -void NSMenu_type_popUpContextMenu_withEvent_forView_withFont(void* menu, void* event, void* view, void* font) { +void NSMenu_type_PopUpContextMenuWithEventForViewWithFont(void* menu, void* event, void* view, void* font) { [NSMenu popUpContextMenu: menu withEvent: event forView: view withFont: font]; } -void* NSPopover_type_alloc() { +void* NSPopover_type_Alloc() { return [NSPopover alloc]; } -void* NSMenuItem_type_alloc() { +void* NSMenuItem_type_Alloc() { return [NSMenuItem alloc]; } -void* NSMenuItem_type_separatorItem() { +void* NSMenuItem_type_SeparatorItem() { return [NSMenuItem separatorItem]; } -BOOL NSMenuItem_type_usesUserKeyEquivalents() { +BOOL NSMenuItem_type_UsesUserKeyEquivalents() { return [NSMenuItem usesUserKeyEquivalents]; } -void NSMenuItem_type_setUsesUserKeyEquivalents(BOOL value) { +void NSMenuItem_type_SetUsesUserKeyEquivalents(BOOL value) { [NSMenuItem setUsesUserKeyEquivalents: value]; } -void* NSRunningApplication_type_alloc() { +void* NSRunningApplication_type_Alloc() { return [NSRunningApplication alloc]; } -void* NSRunningApplication_type_runningApplicationsWithBundleIdentifier(void* bundleIdentifier) { +void* NSRunningApplication_type_RunningApplicationsWithBundleIdentifier(void* bundleIdentifier) { return [NSRunningApplication runningApplicationsWithBundleIdentifier: bundleIdentifier]; } -void NSRunningApplication_type_terminateAutomaticallyTerminableApplications() { +void NSRunningApplication_type_TerminateAutomaticallyTerminableApplications() { [NSRunningApplication terminateAutomaticallyTerminableApplications]; } -void* NSRunningApplication_type_currentApplication() { +void* NSRunningApplication_type_CurrentApplication() { return [NSRunningApplication currentApplication]; } -void* NSScreen_type_alloc() { +void* NSScreen_type_Alloc() { return [NSScreen alloc]; } -void* NSScreen_type_mainScreen() { +void* NSScreen_type_MainScreen() { return [NSScreen mainScreen]; } -void* NSScreen_type_deepestScreen() { +void* NSScreen_type_DeepestScreen() { return [NSScreen deepestScreen]; } -void* NSScreen_type_screens() { +void* NSScreen_type_Screens() { return [NSScreen screens]; } -BOOL NSScreen_type_screensHaveSeparateSpaces() { +BOOL NSScreen_type_ScreensHaveSeparateSpaces() { return [NSScreen screensHaveSeparateSpaces]; } -void* NSStatusBar_type_alloc() { +void* NSStatusBar_type_Alloc() { return [NSStatusBar alloc]; } -void* NSStatusBar_type_systemStatusBar() { +void* NSStatusBar_type_SystemStatusBar() { return [NSStatusBar systemStatusBar]; } -void* NSStatusBarButton_type_alloc() { +void* NSStatusBarButton_type_Alloc() { return [NSStatusBarButton alloc]; } -void* NSStatusItem_type_alloc() { +void* NSStatusItem_type_Alloc() { return [NSStatusItem alloc]; } -void* NSText_type_alloc() { +void* NSText_type_Alloc() { return [NSText alloc]; } -void* NSTextField_type_alloc() { +void* NSTextField_type_Alloc() { return [NSTextField alloc]; } -void* NSTextField_type_labelWithAttributedString(void* attributedStringValue) { +void* NSTextField_type_LabelWithAttributedString(void* attributedStringValue) { return [NSTextField labelWithAttributedString: attributedStringValue]; } -void* NSTextField_type_labelWithString(void* stringValue) { +void* NSTextField_type_LabelWithString(void* stringValue) { return [NSTextField labelWithString: stringValue]; } -void* NSTextField_type_textFieldWithString(void* stringValue) { +void* NSTextField_type_TextFieldWithString(void* stringValue) { return [NSTextField textFieldWithString: stringValue]; } -void* NSTextField_type_wrappingLabelWithString(void* stringValue) { +void* NSTextField_type_WrappingLabelWithString(void* stringValue) { return [NSTextField wrappingLabelWithString: stringValue]; } -void* NSTextContainer_type_alloc() { +void* NSTextContainer_type_Alloc() { return [NSTextContainer alloc]; } -void* NSViewController_type_alloc() { +void* NSViewController_type_Alloc() { return [NSViewController alloc]; } -void* NSVisualEffectView_type_alloc() { +void* NSVisualEffectView_type_Alloc() { return [NSVisualEffectView alloc]; } -void* NSWindow_type_alloc() { +void* NSWindow_type_Alloc() { return [NSWindow alloc]; } -void* NSWindow_type_windowWithContentViewController(void* contentViewController) { +void* NSWindow_type_WindowWithContentViewController(void* contentViewController) { return [NSWindow windowWithContentViewController: contentViewController]; } -NSRect NSWindow_type_contentRectForFrameRect_styleMask(NSRect fRect, unsigned long style) { +NSRect NSWindow_type_ContentRectForFrameRectStyleMask(NSRect fRect, unsigned long style) { return [NSWindow contentRectForFrameRect: fRect styleMask: style]; } -NSRect NSWindow_type_frameRectForContentRect_styleMask(NSRect cRect, unsigned long style) { +NSRect NSWindow_type_FrameRectForContentRectStyleMask(NSRect cRect, unsigned long style) { return [NSWindow frameRectForContentRect: cRect styleMask: style]; } -double NSWindow_type_minFrameWidthWithTitle_styleMask(void* title, unsigned long style) { +double NSWindow_type_MinFrameWidthWithTitleStyleMask(void* title, unsigned long style) { return [NSWindow minFrameWidthWithTitle: title styleMask: style]; } -long NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber(NSPoint point, long windowNumber) { +long NSWindow_type_WindowNumberAtPointBelowWindowWithWindowNumber(NSPoint point, long windowNumber) { return [NSWindow windowNumberAtPoint: point belowWindowWithWindowNumber: windowNumber]; } -BOOL NSWindow_type_allowsAutomaticWindowTabbing() { +BOOL NSWindow_type_AllowsAutomaticWindowTabbing() { return [NSWindow allowsAutomaticWindowTabbing]; } -void NSWindow_type_setAllowsAutomaticWindowTabbing(BOOL value) { +void NSWindow_type_SetAllowsAutomaticWindowTabbing(BOOL value) { [NSWindow setAllowsAutomaticWindowTabbing: value]; } -void* NSWorkspace_type_alloc() { +void* NSWorkspace_type_Alloc() { return [NSWorkspace alloc]; } -void* NSWorkspace_type_sharedWorkspace() { +void* NSWorkspace_type_SharedWorkspace() { return [NSWorkspace sharedWorkspace]; } -void* NSColor_type_alloc() { +void* NSColor_type_Alloc() { return [NSColor alloc]; } -void* NSColor_type_colorFromPasteboard(void* pasteBoard) { +void* NSColor_type_ColorFromPasteboard(void* pasteBoard) { return [NSColor colorFromPasteboard: pasteBoard]; } -void* NSColor_type_colorWithRed_green_blue_alpha(double red, double green, double blue, double alpha) { +void* NSColor_type_ColorWithRedGreenBlueAlpha(double red, double green, double blue, double alpha) { return [NSColor colorWithRed: red green: green blue: blue alpha: alpha]; } -BOOL NSColor_type_ignoresAlpha() { +BOOL NSColor_type_IgnoresAlpha() { return [NSColor ignoresAlpha]; } -void NSColor_type_setIgnoresAlpha(BOOL value) { +void NSColor_type_SetIgnoresAlpha(BOOL value) { [NSColor setIgnoresAlpha: value]; } -void* NSColor_type_systemCyanColor() { +void* NSColor_type_SystemCyanColor() { return [NSColor systemCyanColor]; } -void* NSColor_type_systemMintColor() { +void* NSColor_type_SystemMintColor() { return [NSColor systemMintColor]; } -void* NSColor_type_clearColor() { +void* NSColor_type_ClearColor() { return [NSColor clearColor]; } -void* NSTextView_type_alloc() { +void* NSTextView_type_Alloc() { return [NSTextView alloc]; } -void NSTextView_type_registerForServices() { +void NSTextView_type_RegisterForServices() { [NSTextView registerForServices]; } -void* NSTextView_type_fieldEditor() { +void* NSTextView_type_FieldEditor() { return [NSTextView fieldEditor]; } -BOOL NSTextView_type_stronglyReferencesTextStorage() { +BOOL NSTextView_type_StronglyReferencesTextStorage() { return [NSTextView stronglyReferencesTextStorage]; } -void* NSView_type_alloc() { +void* NSView_type_Alloc() { return [NSView alloc]; } -BOOL NSView_type_requiresConstraintBasedLayout() { +BOOL NSView_type_RequiresConstraintBasedLayout() { return [NSView requiresConstraintBasedLayout]; } -void* NSView_type_focusView() { +void* NSView_type_FocusView() { return [NSView focusView]; } -void* NSView_type_defaultMenu() { +void* NSView_type_DefaultMenu() { return [NSView defaultMenu]; } -BOOL NSView_type_compatibleWithResponsiveScrolling() { +BOOL NSView_type_CompatibleWithResponsiveScrolling() { return [NSView compatibleWithResponsiveScrolling]; } @@ -573,20 +573,20 @@ void* NSBundle_inst_URLForAuxiliaryExecutable(void *id, void* executableName) { URLForAuxiliaryExecutable: executableName]; } -void* NSBundle_inst_URLForResource_withExtension(void *id, void* name, void* ext) { +void* NSBundle_inst_URLForResourceWithExtension(void *id, void* name, void* ext) { return [(NSBundle*)id URLForResource: name withExtension: ext]; } -void* NSBundle_inst_URLForResource_withExtension_subdirectory(void *id, void* name, void* ext, void* subpath) { +void* NSBundle_inst_URLForResourceWithExtensionSubdirectory(void *id, void* name, void* ext, void* subpath) { return [(NSBundle*)id URLForResource: name withExtension: ext subdirectory: subpath]; } -void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization(void *id, void* name, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_URLForResourceWithExtensionSubdirectoryLocalization(void *id, void* name, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id URLForResource: name withExtension: ext @@ -594,79 +594,79 @@ void* NSBundle_inst_URLForResource_withExtension_subdirectory_localization(void localization: localizationName]; } -void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory(void *id, void* ext, void* subpath) { +void* NSBundle_inst_URLsForResourcesWithExtensionSubdirectory(void *id, void* ext, void* subpath) { return [(NSBundle*)id URLsForResourcesWithExtension: ext subdirectory: subpath]; } -void* NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization(void *id, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_URLsForResourcesWithExtensionSubdirectoryLocalization(void *id, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id URLsForResourcesWithExtension: ext subdirectory: subpath localization: localizationName]; } -void* NSBundle_inst_initWithPath(void *id, void* path) { +void* NSBundle_inst_InitWithPath(void *id, void* path) { return [(NSBundle*)id initWithPath: path]; } -void* NSBundle_inst_initWithURL(void *id, void* url) { +void* NSBundle_inst_InitWithURL(void *id, void* url) { return [(NSBundle*)id initWithURL: url]; } -BOOL NSBundle_inst_load(void *id) { +BOOL NSBundle_inst_Load(void *id) { return [(NSBundle*)id load]; } -void* NSBundle_inst_loadNibNamed_owner_options(void *id, void* name, void* owner, void* options) { +void* NSBundle_inst_LoadNibNamedOwnerOptions(void *id, void* name, void* owner, void* options) { return [(NSBundle*)id loadNibNamed: name owner: owner options: options]; } -void* NSBundle_inst_localizedAttributedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { +void* NSBundle_inst_LocalizedAttributedStringForKeyValueTable(void *id, void* key, void* value, void* tableName) { return [(NSBundle*)id localizedAttributedStringForKey: key value: value table: tableName]; } -void* NSBundle_inst_localizedStringForKey_value_table(void *id, void* key, void* value, void* tableName) { +void* NSBundle_inst_LocalizedStringForKeyValueTable(void *id, void* key, void* value, void* tableName) { return [(NSBundle*)id localizedStringForKey: key value: value table: tableName]; } -void* NSBundle_inst_objectForInfoDictionaryKey(void *id, void* key) { +void* NSBundle_inst_ObjectForInfoDictionaryKey(void *id, void* key) { return [(NSBundle*)id objectForInfoDictionaryKey: key]; } -void* NSBundle_inst_pathForAuxiliaryExecutable(void *id, void* executableName) { +void* NSBundle_inst_PathForAuxiliaryExecutable(void *id, void* executableName) { return [(NSBundle*)id pathForAuxiliaryExecutable: executableName]; } -void* NSBundle_inst_pathForResource_ofType(void *id, void* name, void* ext) { +void* NSBundle_inst_PathForResourceOfType(void *id, void* name, void* ext) { return [(NSBundle*)id pathForResource: name ofType: ext]; } -void* NSBundle_inst_pathForResource_ofType_inDirectory(void *id, void* name, void* ext, void* subpath) { +void* NSBundle_inst_PathForResourceOfTypeInDirectory(void *id, void* name, void* ext, void* subpath) { return [(NSBundle*)id pathForResource: name ofType: ext inDirectory: subpath]; } -void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization(void *id, void* name, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_PathForResourceOfTypeInDirectoryForLocalization(void *id, void* name, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id pathForResource: name ofType: ext @@ -674,469 +674,469 @@ void* NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization(void *id, forLocalization: localizationName]; } -void* NSBundle_inst_pathsForResourcesOfType_inDirectory(void *id, void* ext, void* subpath) { +void* NSBundle_inst_PathsForResourcesOfTypeInDirectory(void *id, void* ext, void* subpath) { return [(NSBundle*)id pathsForResourcesOfType: ext inDirectory: subpath]; } -void* NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization(void *id, void* ext, void* subpath, void* localizationName) { +void* NSBundle_inst_PathsForResourcesOfTypeInDirectoryForLocalization(void *id, void* ext, void* subpath, void* localizationName) { return [(NSBundle*)id pathsForResourcesOfType: ext inDirectory: subpath forLocalization: localizationName]; } -BOOL NSBundle_inst_unload(void *id) { +BOOL NSBundle_inst_Unload(void *id) { return [(NSBundle*)id unload]; } -void* NSBundle_inst_init(void *id) { +void* NSBundle_inst_Init(void *id) { return [(NSBundle*)id init]; } -void* NSBundle_inst_resourceURL(void *id) { +void* NSBundle_inst_ResourceURL(void *id) { return [(NSBundle*)id resourceURL]; } -void* NSBundle_inst_executableURL(void *id) { +void* NSBundle_inst_ExecutableURL(void *id) { return [(NSBundle*)id executableURL]; } -void* NSBundle_inst_privateFrameworksURL(void *id) { +void* NSBundle_inst_PrivateFrameworksURL(void *id) { return [(NSBundle*)id privateFrameworksURL]; } -void* NSBundle_inst_sharedFrameworksURL(void *id) { +void* NSBundle_inst_SharedFrameworksURL(void *id) { return [(NSBundle*)id sharedFrameworksURL]; } -void* NSBundle_inst_builtInPlugInsURL(void *id) { +void* NSBundle_inst_BuiltInPlugInsURL(void *id) { return [(NSBundle*)id builtInPlugInsURL]; } -void* NSBundle_inst_sharedSupportURL(void *id) { +void* NSBundle_inst_SharedSupportURL(void *id) { return [(NSBundle*)id sharedSupportURL]; } -void* NSBundle_inst_appStoreReceiptURL(void *id) { +void* NSBundle_inst_AppStoreReceiptURL(void *id) { return [(NSBundle*)id appStoreReceiptURL]; } -void* NSBundle_inst_resourcePath(void *id) { +void* NSBundle_inst_ResourcePath(void *id) { return [(NSBundle*)id resourcePath]; } -void* NSBundle_inst_executablePath(void *id) { +void* NSBundle_inst_ExecutablePath(void *id) { return [(NSBundle*)id executablePath]; } -void* NSBundle_inst_privateFrameworksPath(void *id) { +void* NSBundle_inst_PrivateFrameworksPath(void *id) { return [(NSBundle*)id privateFrameworksPath]; } -void* NSBundle_inst_sharedFrameworksPath(void *id) { +void* NSBundle_inst_SharedFrameworksPath(void *id) { return [(NSBundle*)id sharedFrameworksPath]; } -void* NSBundle_inst_builtInPlugInsPath(void *id) { +void* NSBundle_inst_BuiltInPlugInsPath(void *id) { return [(NSBundle*)id builtInPlugInsPath]; } -void* NSBundle_inst_sharedSupportPath(void *id) { +void* NSBundle_inst_SharedSupportPath(void *id) { return [(NSBundle*)id sharedSupportPath]; } -void* NSBundle_inst_bundleURL(void *id) { +void* NSBundle_inst_BundleURL(void *id) { return [(NSBundle*)id bundleURL]; } -void* NSBundle_inst_bundlePath(void *id) { +void* NSBundle_inst_BundlePath(void *id) { return [(NSBundle*)id bundlePath]; } -void* NSBundle_inst_bundleIdentifier(void *id) { +void* NSBundle_inst_BundleIdentifier(void *id) { return [(NSBundle*)id bundleIdentifier]; } -void* NSBundle_inst_infoDictionary(void *id) { +void* NSBundle_inst_InfoDictionary(void *id) { return [(NSBundle*)id infoDictionary]; } -void* NSBundle_inst_localizations(void *id) { +void* NSBundle_inst_Localizations(void *id) { return [(NSBundle*)id localizations]; } -void* NSBundle_inst_preferredLocalizations(void *id) { +void* NSBundle_inst_PreferredLocalizations(void *id) { return [(NSBundle*)id preferredLocalizations]; } -void* NSBundle_inst_developmentLocalization(void *id) { +void* NSBundle_inst_DevelopmentLocalization(void *id) { return [(NSBundle*)id developmentLocalization]; } -void* NSBundle_inst_localizedInfoDictionary(void *id) { +void* NSBundle_inst_LocalizedInfoDictionary(void *id) { return [(NSBundle*)id localizedInfoDictionary]; } -void* NSBundle_inst_executableArchitectures(void *id) { +void* NSBundle_inst_ExecutableArchitectures(void *id) { return [(NSBundle*)id executableArchitectures]; } -BOOL NSBundle_inst_isLoaded(void *id) { +BOOL NSBundle_inst_IsLoaded(void *id) { return [(NSBundle*)id isLoaded]; } -void* NSSound_inst_initWithContentsOfFile_byReference(void *id, void* path, BOOL byRef) { +void* NSSound_inst_InitWithContentsOfFileByReference(void *id, void* path, BOOL byRef) { return [(NSSound*)id initWithContentsOfFile: path byReference: byRef]; } -void* NSSound_inst_initWithContentsOfURL_byReference(void *id, void* url, BOOL byRef) { +void* NSSound_inst_InitWithContentsOfURLByReference(void *id, void* url, BOOL byRef) { return [(NSSound*)id initWithContentsOfURL: url byReference: byRef]; } -void* NSSound_inst_initWithData(void *id, void* data) { +void* NSSound_inst_InitWithData(void *id, void* data) { return [(NSSound*)id initWithData: data]; } -void* NSSound_inst_initWithPasteboard(void *id, void* pasteboard) { +void* NSSound_inst_InitWithPasteboard(void *id, void* pasteboard) { return [(NSSound*)id initWithPasteboard: pasteboard]; } -BOOL NSSound_inst_pause(void *id) { +BOOL NSSound_inst_Pause(void *id) { return [(NSSound*)id pause]; } -BOOL NSSound_inst_play(void *id) { +BOOL NSSound_inst_Play(void *id) { return [(NSSound*)id play]; } -BOOL NSSound_inst_resume(void *id) { +BOOL NSSound_inst_Resume(void *id) { return [(NSSound*)id resume]; } -BOOL NSSound_inst_stop(void *id) { +BOOL NSSound_inst_Stop(void *id) { return [(NSSound*)id stop]; } -void NSSound_inst_writeToPasteboard(void *id, void* pasteboard) { +void NSSound_inst_WriteToPasteboard(void *id, void* pasteboard) { [(NSSound*)id writeToPasteboard: pasteboard]; } -void* NSSound_inst_init(void *id) { +void* NSSound_inst_Init(void *id) { return [(NSSound*)id init]; } -void* NSSound_inst_delegate(void *id) { +void* NSSound_inst_Delegate(void *id) { return [(NSSound*)id delegate]; } -void NSSound_inst_setDelegate(void *id, void* value) { +void NSSound_inst_SetDelegate(void *id, void* value) { [(NSSound*)id setDelegate: value]; } -BOOL NSSound_inst_loops(void *id) { +BOOL NSSound_inst_Loops(void *id) { return [(NSSound*)id loops]; } -void NSSound_inst_setLoops(void *id, BOOL value) { +void NSSound_inst_SetLoops(void *id, BOOL value) { [(NSSound*)id setLoops: value]; } -BOOL NSSound_inst_isPlaying(void *id) { +BOOL NSSound_inst_IsPlaying(void *id) { return [(NSSound*)id isPlaying]; } -void NSApplication_inst_activateContextHelpMode(void *id, void* sender) { +void NSApplication_inst_ActivateContextHelpMode(void *id, void* sender) { [(NSApplication*)id activateContextHelpMode: sender]; } -void NSApplication_inst_activateIgnoringOtherApps(void *id, BOOL flag) { +void NSApplication_inst_ActivateIgnoringOtherApps(void *id, BOOL flag) { [(NSApplication*)id activateIgnoringOtherApps: flag]; } -long NSApplication_inst_activationPolicy(void *id) { +long NSApplication_inst_ActivationPolicy(void *id) { return [(NSApplication*)id activationPolicy]; } -void NSApplication_inst_cancelUserAttentionRequest(void *id, long request) { +void NSApplication_inst_CancelUserAttentionRequest(void *id, long request) { [(NSApplication*)id cancelUserAttentionRequest: request]; } -void NSApplication_inst_deactivate(void *id) { +void NSApplication_inst_Deactivate(void *id) { [(NSApplication*)id deactivate]; } -void NSApplication_inst_disableRelaunchOnLogin(void *id) { +void NSApplication_inst_DisableRelaunchOnLogin(void *id) { [(NSApplication*)id disableRelaunchOnLogin]; } -void NSApplication_inst_enableRelaunchOnLogin(void *id) { +void NSApplication_inst_EnableRelaunchOnLogin(void *id) { [(NSApplication*)id enableRelaunchOnLogin]; } -void NSApplication_inst_finishLaunching(void *id) { +void NSApplication_inst_FinishLaunching(void *id) { [(NSApplication*)id finishLaunching]; } -void NSApplication_inst_hideOtherApplications(void *id, void* sender) { +void NSApplication_inst_HideOtherApplications(void *id, void* sender) { [(NSApplication*)id hideOtherApplications: sender]; } -void NSApplication_inst_postEvent_atStart(void *id, void* event, BOOL flag) { +void NSApplication_inst_PostEventAtStart(void *id, void* event, BOOL flag) { [(NSApplication*)id postEvent: event atStart: flag]; } -void NSApplication_inst_registerForRemoteNotifications(void *id) { +void NSApplication_inst_RegisterForRemoteNotifications(void *id) { [(NSApplication*)id registerForRemoteNotifications]; } -void NSApplication_inst_registerUserInterfaceItemSearchHandler(void *id, void* handler) { +void NSApplication_inst_RegisterUserInterfaceItemSearchHandler(void *id, void* handler) { [(NSApplication*)id registerUserInterfaceItemSearchHandler: handler]; } -void NSApplication_inst_replyToApplicationShouldTerminate(void *id, BOOL shouldTerminate) { +void NSApplication_inst_ReplyToApplicationShouldTerminate(void *id, BOOL shouldTerminate) { [(NSApplication*)id replyToApplicationShouldTerminate: shouldTerminate]; } -void NSApplication_inst_run(void *id) { +void NSApplication_inst_Run(void *id) { [(NSApplication*)id run]; } -BOOL NSApplication_inst_sendAction_to_from(void *id, void* action, void* target, void* sender) { +BOOL NSApplication_inst_SendActionToFrom(void *id, void* action, void* target, void* sender) { return [(NSApplication*)id sendAction: action to: target from: sender]; } -void NSApplication_inst_sendEvent(void *id, void* event) { +void NSApplication_inst_SendEvent(void *id, void* event) { [(NSApplication*)id sendEvent: event]; } -BOOL NSApplication_inst_setActivationPolicy(void *id, long activationPolicy) { +BOOL NSApplication_inst_SetActivationPolicy(void *id, long activationPolicy) { return [(NSApplication*)id setActivationPolicy: activationPolicy]; } -void NSApplication_inst_showHelp(void *id, void* sender) { +void NSApplication_inst_ShowHelp(void *id, void* sender) { [(NSApplication*)id showHelp: sender]; } -void NSApplication_inst_stop(void *id, void* sender) { +void NSApplication_inst_Stop(void *id, void* sender) { [(NSApplication*)id stop: sender]; } -void* NSApplication_inst_targetForAction(void *id, void* action) { +void* NSApplication_inst_TargetForAction(void *id, void* action) { return [(NSApplication*)id targetForAction: action]; } -void* NSApplication_inst_targetForAction_to_from(void *id, void* action, void* target, void* sender) { +void* NSApplication_inst_TargetForActionToFrom(void *id, void* action, void* target, void* sender) { return [(NSApplication*)id targetForAction: action to: target from: sender]; } -void NSApplication_inst_terminate(void *id, void* sender) { +void NSApplication_inst_Terminate(void *id, void* sender) { [(NSApplication*)id terminate: sender]; } -void NSApplication_inst_toggleTouchBarCustomizationPalette(void *id, void* sender) { +void NSApplication_inst_ToggleTouchBarCustomizationPalette(void *id, void* sender) { [(NSApplication*)id toggleTouchBarCustomizationPalette: sender]; } -BOOL NSApplication_inst_tryToPerform_with(void *id, void* action, void* object) { +BOOL NSApplication_inst_TryToPerformWith(void *id, void* action, void* object) { return [(NSApplication*)id tryToPerform: action with: object]; } -void NSApplication_inst_unhideAllApplications(void *id, void* sender) { +void NSApplication_inst_UnhideAllApplications(void *id, void* sender) { [(NSApplication*)id unhideAllApplications: sender]; } -void NSApplication_inst_unregisterForRemoteNotifications(void *id) { +void NSApplication_inst_UnregisterForRemoteNotifications(void *id) { [(NSApplication*)id unregisterForRemoteNotifications]; } -void NSApplication_inst_unregisterUserInterfaceItemSearchHandler(void *id, void* handler) { +void NSApplication_inst_UnregisterUserInterfaceItemSearchHandler(void *id, void* handler) { [(NSApplication*)id unregisterUserInterfaceItemSearchHandler: handler]; } -void* NSApplication_inst_init(void *id) { +void* NSApplication_inst_Init(void *id) { return [(NSApplication*)id init]; } -void* NSApplication_inst_delegate(void *id) { +void* NSApplication_inst_Delegate(void *id) { return [(NSApplication*)id delegate]; } -void NSApplication_inst_setDelegate(void *id, void* value) { +void NSApplication_inst_SetDelegate(void *id, void* value) { [(NSApplication*)id setDelegate: value]; } -void* NSApplication_inst_currentEvent(void *id) { +void* NSApplication_inst_CurrentEvent(void *id) { return [(NSApplication*)id currentEvent]; } -BOOL NSApplication_inst_isRunning(void *id) { +BOOL NSApplication_inst_IsRunning(void *id) { return [(NSApplication*)id isRunning]; } -BOOL NSApplication_inst_isActive(void *id) { +BOOL NSApplication_inst_IsActive(void *id) { return [(NSApplication*)id isActive]; } -BOOL NSApplication_inst_isRegisteredForRemoteNotifications(void *id) { +BOOL NSApplication_inst_IsRegisteredForRemoteNotifications(void *id) { return [(NSApplication*)id isRegisteredForRemoteNotifications]; } -void* NSApplication_inst_applicationIconImage(void *id) { +void* NSApplication_inst_ApplicationIconImage(void *id) { return [(NSApplication*)id applicationIconImage]; } -void NSApplication_inst_setApplicationIconImage(void *id, void* value) { +void NSApplication_inst_SetApplicationIconImage(void *id, void* value) { [(NSApplication*)id setApplicationIconImage: value]; } -void* NSApplication_inst_helpMenu(void *id) { +void* NSApplication_inst_HelpMenu(void *id) { return [(NSApplication*)id helpMenu]; } -void NSApplication_inst_setHelpMenu(void *id, void* value) { +void NSApplication_inst_SetHelpMenu(void *id, void* value) { [(NSApplication*)id setHelpMenu: value]; } -void* NSApplication_inst_servicesProvider(void *id) { +void* NSApplication_inst_ServicesProvider(void *id) { return [(NSApplication*)id servicesProvider]; } -void NSApplication_inst_setServicesProvider(void *id, void* value) { +void NSApplication_inst_SetServicesProvider(void *id, void* value) { [(NSApplication*)id setServicesProvider: value]; } -BOOL NSApplication_inst_isFullKeyboardAccessEnabled(void *id) { +BOOL NSApplication_inst_IsFullKeyboardAccessEnabled(void *id) { return [(NSApplication*)id isFullKeyboardAccessEnabled]; } -void* NSApplication_inst_orderedDocuments(void *id) { +void* NSApplication_inst_OrderedDocuments(void *id) { return [(NSApplication*)id orderedDocuments]; } -void* NSApplication_inst_orderedWindows(void *id) { +void* NSApplication_inst_OrderedWindows(void *id) { return [(NSApplication*)id orderedWindows]; } -void* NSApplication_inst_mainMenu(void *id) { +void* NSApplication_inst_MainMenu(void *id) { return [(NSApplication*)id mainMenu]; } -void NSApplication_inst_setMainMenu(void *id, void* value) { +void NSApplication_inst_SetMainMenu(void *id, void* value) { [(NSApplication*)id setMainMenu: value]; } -BOOL NSControl_inst_abortEditing(void *id) { +BOOL NSControl_inst_AbortEditing(void *id) { return [(NSControl*)id abortEditing]; } -void* NSControl_inst_currentEditor(void *id) { +void* NSControl_inst_CurrentEditor(void *id) { return [(NSControl*)id currentEditor]; } -void NSControl_inst_drawWithExpansionFrame_inView(void *id, NSRect contentFrame, void* view) { +void NSControl_inst_DrawWithExpansionFrameInView(void *id, NSRect contentFrame, void* view) { [(NSControl*)id drawWithExpansionFrame: contentFrame inView: view]; } -void NSControl_inst_editWithFrame_editor_delegate_event(void *id, NSRect rect, void* textObj, void* delegate, void* event) { +void NSControl_inst_EditWithFrameEditorDelegateEvent(void *id, NSRect rect, void* textObj, void* delegate, void* event) { [(NSControl*)id editWithFrame: rect editor: textObj @@ -1144,32 +1144,32 @@ void NSControl_inst_editWithFrame_editor_delegate_event(void *id, NSRect rect, v event: event]; } -void NSControl_inst_endEditing(void *id, void* textObj) { +void NSControl_inst_EndEditing(void *id, void* textObj) { [(NSControl*)id endEditing: textObj]; } -NSRect NSControl_inst_expansionFrameWithFrame(void *id, NSRect contentFrame) { +NSRect NSControl_inst_ExpansionFrameWithFrame(void *id, NSRect contentFrame) { return [(NSControl*)id expansionFrameWithFrame: contentFrame]; } -void* NSControl_inst_initWithFrame(void *id, NSRect frameRect) { +void* NSControl_inst_InitWithFrame(void *id, NSRect frameRect) { return [(NSControl*)id initWithFrame: frameRect]; } -void NSControl_inst_mouseDown(void *id, void* event) { +void NSControl_inst_MouseDown(void *id, void* event) { [(NSControl*)id mouseDown: event]; } -void NSControl_inst_performClick(void *id, void* sender) { +void NSControl_inst_PerformClick(void *id, void* sender) { [(NSControl*)id performClick: sender]; } -void NSControl_inst_selectWithFrame_editor_delegate_start_length(void *id, NSRect rect, void* textObj, void* delegate, long selStart, long selLength) { +void NSControl_inst_SelectWithFrameEditorDelegateStartLength(void *id, NSRect rect, void* textObj, void* delegate, long selStart, long selLength) { [(NSControl*)id selectWithFrame: rect editor: textObj @@ -1178,873 +1178,873 @@ void NSControl_inst_selectWithFrame_editor_delegate_start_length(void *id, NSRec length: selLength]; } -BOOL NSControl_inst_sendAction_to(void *id, void* action, void* target) { +BOOL NSControl_inst_SendActionTo(void *id, void* action, void* target) { return [(NSControl*)id sendAction: action to: target]; } -NSSize NSControl_inst_sizeThatFits(void *id, NSSize size) { +NSSize NSControl_inst_SizeThatFits(void *id, NSSize size) { return [(NSControl*)id sizeThatFits: size]; } -void NSControl_inst_sizeToFit(void *id) { +void NSControl_inst_SizeToFit(void *id) { [(NSControl*)id sizeToFit]; } -void NSControl_inst_takeDoubleValueFrom(void *id, void* sender) { +void NSControl_inst_TakeDoubleValueFrom(void *id, void* sender) { [(NSControl*)id takeDoubleValueFrom: sender]; } -void NSControl_inst_takeFloatValueFrom(void *id, void* sender) { +void NSControl_inst_TakeFloatValueFrom(void *id, void* sender) { [(NSControl*)id takeFloatValueFrom: sender]; } -void NSControl_inst_takeIntValueFrom(void *id, void* sender) { +void NSControl_inst_TakeIntValueFrom(void *id, void* sender) { [(NSControl*)id takeIntValueFrom: sender]; } -void NSControl_inst_takeIntegerValueFrom(void *id, void* sender) { +void NSControl_inst_TakeIntegerValueFrom(void *id, void* sender) { [(NSControl*)id takeIntegerValueFrom: sender]; } -void NSControl_inst_takeObjectValueFrom(void *id, void* sender) { +void NSControl_inst_TakeObjectValueFrom(void *id, void* sender) { [(NSControl*)id takeObjectValueFrom: sender]; } -void NSControl_inst_takeStringValueFrom(void *id, void* sender) { +void NSControl_inst_TakeStringValueFrom(void *id, void* sender) { [(NSControl*)id takeStringValueFrom: sender]; } -void NSControl_inst_validateEditing(void *id) { +void NSControl_inst_ValidateEditing(void *id) { [(NSControl*)id validateEditing]; } -void* NSControl_inst_init(void *id) { +void* NSControl_inst_Init(void *id) { return [(NSControl*)id init]; } -BOOL NSControl_inst_isEnabled(void *id) { +BOOL NSControl_inst_IsEnabled(void *id) { return [(NSControl*)id isEnabled]; } -void NSControl_inst_setEnabled(void *id, BOOL value) { +void NSControl_inst_SetEnabled(void *id, BOOL value) { [(NSControl*)id setEnabled: value]; } -int NSControl_inst_intValue(void *id) { +int NSControl_inst_IntValue(void *id) { return [(NSControl*)id intValue]; } -void NSControl_inst_setIntValue(void *id, int value) { +void NSControl_inst_SetIntValue(void *id, int value) { [(NSControl*)id setIntValue: value]; } -long NSControl_inst_integerValue(void *id) { +long NSControl_inst_IntegerValue(void *id) { return [(NSControl*)id integerValue]; } -void NSControl_inst_setIntegerValue(void *id, long value) { +void NSControl_inst_SetIntegerValue(void *id, long value) { [(NSControl*)id setIntegerValue: value]; } -void* NSControl_inst_objectValue(void *id) { +void* NSControl_inst_ObjectValue(void *id) { return [(NSControl*)id objectValue]; } -void NSControl_inst_setObjectValue(void *id, void* value) { +void NSControl_inst_SetObjectValue(void *id, void* value) { [(NSControl*)id setObjectValue: value]; } -void* NSControl_inst_stringValue(void *id) { +void* NSControl_inst_StringValue(void *id) { return [(NSControl*)id stringValue]; } -void NSControl_inst_setStringValue(void *id, void* value) { +void NSControl_inst_SetStringValue(void *id, void* value) { [(NSControl*)id setStringValue: value]; } -void* NSControl_inst_attributedStringValue(void *id) { +void* NSControl_inst_AttributedStringValue(void *id) { return [(NSControl*)id attributedStringValue]; } -void NSControl_inst_setAttributedStringValue(void *id, void* value) { +void NSControl_inst_SetAttributedStringValue(void *id, void* value) { [(NSControl*)id setAttributedStringValue: value]; } -void* NSControl_inst_font(void *id) { +void* NSControl_inst_Font(void *id) { return [(NSControl*)id font]; } -void NSControl_inst_setFont(void *id, void* value) { +void NSControl_inst_SetFont(void *id, void* value) { [(NSControl*)id setFont: value]; } -BOOL NSControl_inst_usesSingleLineMode(void *id) { +BOOL NSControl_inst_UsesSingleLineMode(void *id) { return [(NSControl*)id usesSingleLineMode]; } -void NSControl_inst_setUsesSingleLineMode(void *id, BOOL value) { +void NSControl_inst_SetUsesSingleLineMode(void *id, BOOL value) { [(NSControl*)id setUsesSingleLineMode: value]; } -BOOL NSControl_inst_allowsExpansionToolTips(void *id) { +BOOL NSControl_inst_AllowsExpansionToolTips(void *id) { return [(NSControl*)id allowsExpansionToolTips]; } -void NSControl_inst_setAllowsExpansionToolTips(void *id, BOOL value) { +void NSControl_inst_SetAllowsExpansionToolTips(void *id, BOOL value) { [(NSControl*)id setAllowsExpansionToolTips: value]; } -BOOL NSControl_inst_isHighlighted(void *id) { +BOOL NSControl_inst_IsHighlighted(void *id) { return [(NSControl*)id isHighlighted]; } -void NSControl_inst_setHighlighted(void *id, BOOL value) { +void NSControl_inst_SetHighlighted(void *id, BOOL value) { [(NSControl*)id setHighlighted: value]; } -void* NSControl_inst_action(void *id) { +void* NSControl_inst_Action(void *id) { return [(NSControl*)id action]; } -void NSControl_inst_setAction(void *id, void* value) { +void NSControl_inst_SetAction(void *id, void* value) { [(NSControl*)id setAction: value]; } -void* NSControl_inst_target(void *id) { +void* NSControl_inst_Target(void *id) { return [(NSControl*)id target]; } -void NSControl_inst_setTarget(void *id, void* value) { +void NSControl_inst_SetTarget(void *id, void* value) { [(NSControl*)id setTarget: value]; } -BOOL NSControl_inst_isContinuous(void *id) { +BOOL NSControl_inst_IsContinuous(void *id) { return [(NSControl*)id isContinuous]; } -void NSControl_inst_setContinuous(void *id, BOOL value) { +void NSControl_inst_SetContinuous(void *id, BOOL value) { [(NSControl*)id setContinuous: value]; } -long NSControl_inst_tag(void *id) { +long NSControl_inst_Tag(void *id) { return [(NSControl*)id tag]; } -void NSControl_inst_setTag(void *id, long value) { +void NSControl_inst_SetTag(void *id, long value) { [(NSControl*)id setTag: value]; } -BOOL NSControl_inst_refusesFirstResponder(void *id) { +BOOL NSControl_inst_RefusesFirstResponder(void *id) { return [(NSControl*)id refusesFirstResponder]; } -void NSControl_inst_setRefusesFirstResponder(void *id, BOOL value) { +void NSControl_inst_SetRefusesFirstResponder(void *id, BOOL value) { [(NSControl*)id setRefusesFirstResponder: value]; } -BOOL NSControl_inst_ignoresMultiClick(void *id) { +BOOL NSControl_inst_IgnoresMultiClick(void *id) { return [(NSControl*)id ignoresMultiClick]; } -void NSControl_inst_setIgnoresMultiClick(void *id, BOOL value) { +void NSControl_inst_SetIgnoresMultiClick(void *id, BOOL value) { [(NSControl*)id setIgnoresMultiClick: value]; } -void NSButton_inst_compressWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { +void NSButton_inst_CompressWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { [(NSButton*)id compressWithPrioritizedCompressionOptions: prioritizedOptions]; } -void NSButton_inst_highlight(void *id, BOOL flag) { +void NSButton_inst_Highlight(void *id, BOOL flag) { [(NSButton*)id highlight: flag]; } -NSSize NSButton_inst_minimumSizeWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { +NSSize NSButton_inst_MinimumSizeWithPrioritizedCompressionOptions(void *id, void* prioritizedOptions) { return [(NSButton*)id minimumSizeWithPrioritizedCompressionOptions: prioritizedOptions]; } -BOOL NSButton_inst_performKeyEquivalent(void *id, void* key) { +BOOL NSButton_inst_PerformKeyEquivalent(void *id, void* key) { return [(NSButton*)id performKeyEquivalent: key]; } -void NSButton_inst_setNextState(void *id) { +void NSButton_inst_SetNextState(void *id) { [(NSButton*)id setNextState]; } -void* NSButton_inst_init(void *id) { +void* NSButton_inst_Init(void *id) { return [(NSButton*)id init]; } -void* NSButton_inst_contentTintColor(void *id) { +void* NSButton_inst_ContentTintColor(void *id) { return [(NSButton*)id contentTintColor]; } -void NSButton_inst_setContentTintColor(void *id, void* value) { +void NSButton_inst_SetContentTintColor(void *id, void* value) { [(NSButton*)id setContentTintColor: value]; } -BOOL NSButton_inst_hasDestructiveAction(void *id) { +BOOL NSButton_inst_HasDestructiveAction(void *id) { return [(NSButton*)id hasDestructiveAction]; } -void NSButton_inst_setHasDestructiveAction(void *id, BOOL value) { +void NSButton_inst_SetHasDestructiveAction(void *id, BOOL value) { [(NSButton*)id setHasDestructiveAction: value]; } -void* NSButton_inst_alternateTitle(void *id) { +void* NSButton_inst_AlternateTitle(void *id) { return [(NSButton*)id alternateTitle]; } -void NSButton_inst_setAlternateTitle(void *id, void* value) { +void NSButton_inst_SetAlternateTitle(void *id, void* value) { [(NSButton*)id setAlternateTitle: value]; } -void* NSButton_inst_attributedTitle(void *id) { +void* NSButton_inst_AttributedTitle(void *id) { return [(NSButton*)id attributedTitle]; } -void NSButton_inst_setAttributedTitle(void *id, void* value) { +void NSButton_inst_SetAttributedTitle(void *id, void* value) { [(NSButton*)id setAttributedTitle: value]; } -void* NSButton_inst_attributedAlternateTitle(void *id) { +void* NSButton_inst_AttributedAlternateTitle(void *id) { return [(NSButton*)id attributedAlternateTitle]; } -void NSButton_inst_setAttributedAlternateTitle(void *id, void* value) { +void NSButton_inst_SetAttributedAlternateTitle(void *id, void* value) { [(NSButton*)id setAttributedAlternateTitle: value]; } -void* NSButton_inst_title(void *id) { +void* NSButton_inst_Title(void *id) { return [(NSButton*)id title]; } -void NSButton_inst_setTitle(void *id, void* value) { +void NSButton_inst_SetTitle(void *id, void* value) { [(NSButton*)id setTitle: value]; } -void* NSButton_inst_sound(void *id) { +void* NSButton_inst_Sound(void *id) { return [(NSButton*)id sound]; } -void NSButton_inst_setSound(void *id, void* value) { +void NSButton_inst_SetSound(void *id, void* value) { [(NSButton*)id setSound: value]; } -BOOL NSButton_inst_isSpringLoaded(void *id) { +BOOL NSButton_inst_IsSpringLoaded(void *id) { return [(NSButton*)id isSpringLoaded]; } -void NSButton_inst_setSpringLoaded(void *id, BOOL value) { +void NSButton_inst_SetSpringLoaded(void *id, BOOL value) { [(NSButton*)id setSpringLoaded: value]; } -long NSButton_inst_maxAcceleratorLevel(void *id) { +long NSButton_inst_MaxAcceleratorLevel(void *id) { return [(NSButton*)id maxAcceleratorLevel]; } -void NSButton_inst_setMaxAcceleratorLevel(void *id, long value) { +void NSButton_inst_SetMaxAcceleratorLevel(void *id, long value) { [(NSButton*)id setMaxAcceleratorLevel: value]; } -void* NSButton_inst_image(void *id) { +void* NSButton_inst_Image(void *id) { return [(NSButton*)id image]; } -void NSButton_inst_setImage(void *id, void* value) { +void NSButton_inst_SetImage(void *id, void* value) { [(NSButton*)id setImage: value]; } -void* NSButton_inst_alternateImage(void *id) { +void* NSButton_inst_AlternateImage(void *id) { return [(NSButton*)id alternateImage]; } -void NSButton_inst_setAlternateImage(void *id, void* value) { +void NSButton_inst_SetAlternateImage(void *id, void* value) { [(NSButton*)id setAlternateImage: value]; } -BOOL NSButton_inst_isBordered(void *id) { +BOOL NSButton_inst_IsBordered(void *id) { return [(NSButton*)id isBordered]; } -void NSButton_inst_setBordered(void *id, BOOL value) { +void NSButton_inst_SetBordered(void *id, BOOL value) { [(NSButton*)id setBordered: value]; } -BOOL NSButton_inst_isTransparent(void *id) { +BOOL NSButton_inst_IsTransparent(void *id) { return [(NSButton*)id isTransparent]; } -void NSButton_inst_setTransparent(void *id, BOOL value) { +void NSButton_inst_SetTransparent(void *id, BOOL value) { [(NSButton*)id setTransparent: value]; } -void* NSButton_inst_bezelColor(void *id) { +void* NSButton_inst_BezelColor(void *id) { return [(NSButton*)id bezelColor]; } -void NSButton_inst_setBezelColor(void *id, void* value) { +void NSButton_inst_SetBezelColor(void *id, void* value) { [(NSButton*)id setBezelColor: value]; } -BOOL NSButton_inst_showsBorderOnlyWhileMouseInside(void *id) { +BOOL NSButton_inst_ShowsBorderOnlyWhileMouseInside(void *id) { return [(NSButton*)id showsBorderOnlyWhileMouseInside]; } -void NSButton_inst_setShowsBorderOnlyWhileMouseInside(void *id, BOOL value) { +void NSButton_inst_SetShowsBorderOnlyWhileMouseInside(void *id, BOOL value) { [(NSButton*)id setShowsBorderOnlyWhileMouseInside: value]; } -BOOL NSButton_inst_imageHugsTitle(void *id) { +BOOL NSButton_inst_ImageHugsTitle(void *id) { return [(NSButton*)id imageHugsTitle]; } -void NSButton_inst_setImageHugsTitle(void *id, BOOL value) { +void NSButton_inst_SetImageHugsTitle(void *id, BOOL value) { [(NSButton*)id setImageHugsTitle: value]; } -BOOL NSButton_inst_allowsMixedState(void *id) { +BOOL NSButton_inst_AllowsMixedState(void *id) { return [(NSButton*)id allowsMixedState]; } -void NSButton_inst_setAllowsMixedState(void *id, BOOL value) { +void NSButton_inst_SetAllowsMixedState(void *id, BOOL value) { [(NSButton*)id setAllowsMixedState: value]; } -long NSButton_inst_state(void *id) { +long NSButton_inst_State(void *id) { return [(NSButton*)id state]; } -void NSButton_inst_setState(void *id, long value) { +void NSButton_inst_SetState(void *id, long value) { [(NSButton*)id setState: value]; } -void* NSButton_inst_keyEquivalent(void *id) { +void* NSButton_inst_KeyEquivalent(void *id) { return [(NSButton*)id keyEquivalent]; } -void NSButton_inst_setKeyEquivalent(void *id, void* value) { +void NSButton_inst_SetKeyEquivalent(void *id, void* value) { [(NSButton*)id setKeyEquivalent: value]; } -void* NSEvent_inst_init(void *id) { +void* NSEvent_inst_Init(void *id) { return [(NSEvent*)id init]; } -NSPoint NSEvent_inst_locationInWindow(void *id) { +NSPoint NSEvent_inst_LocationInWindow(void *id) { return [(NSEvent*)id locationInWindow]; } -void* NSEvent_inst_window(void *id) { +void* NSEvent_inst_Window(void *id) { return [(NSEvent*)id window]; } -long NSEvent_inst_windowNumber(void *id) { +long NSEvent_inst_WindowNumber(void *id) { return [(NSEvent*)id windowNumber]; } -void* NSEvent_inst_eventRef(void *id) { +void* NSEvent_inst_EventRef(void *id) { return [(NSEvent*)id eventRef]; } -void* NSEvent_inst_characters(void *id) { +void* NSEvent_inst_Characters(void *id) { return [(NSEvent*)id characters]; } -void* NSEvent_inst_charactersIgnoringModifiers(void *id) { +void* NSEvent_inst_CharactersIgnoringModifiers(void *id) { return [(NSEvent*)id charactersIgnoringModifiers]; } -BOOL NSEvent_inst_isARepeat(void *id) { +BOOL NSEvent_inst_IsARepeat(void *id) { return [(NSEvent*)id isARepeat]; } -long NSEvent_inst_buttonNumber(void *id) { +long NSEvent_inst_ButtonNumber(void *id) { return [(NSEvent*)id buttonNumber]; } -long NSEvent_inst_clickCount(void *id) { +long NSEvent_inst_ClickCount(void *id) { return [(NSEvent*)id clickCount]; } -long NSEvent_inst_eventNumber(void *id) { +long NSEvent_inst_EventNumber(void *id) { return [(NSEvent*)id eventNumber]; } -long NSEvent_inst_trackingNumber(void *id) { +long NSEvent_inst_TrackingNumber(void *id) { return [(NSEvent*)id trackingNumber]; } -void* NSEvent_inst_userData(void *id) { +void* NSEvent_inst_UserData(void *id) { return [(NSEvent*)id userData]; } -long NSEvent_inst_data1(void *id) { +long NSEvent_inst_Data1(void *id) { return [(NSEvent*)id data1]; } -long NSEvent_inst_data2(void *id) { +long NSEvent_inst_Data2(void *id) { return [(NSEvent*)id data2]; } -double NSEvent_inst_deltaX(void *id) { +double NSEvent_inst_DeltaX(void *id) { return [(NSEvent*)id deltaX]; } -double NSEvent_inst_deltaY(void *id) { +double NSEvent_inst_DeltaY(void *id) { return [(NSEvent*)id deltaY]; } -double NSEvent_inst_deltaZ(void *id) { +double NSEvent_inst_DeltaZ(void *id) { return [(NSEvent*)id deltaZ]; } -long NSEvent_inst_stage(void *id) { +long NSEvent_inst_Stage(void *id) { return [(NSEvent*)id stage]; } -double NSEvent_inst_stageTransition(void *id) { +double NSEvent_inst_StageTransition(void *id) { return [(NSEvent*)id stageTransition]; } -unsigned long NSEvent_inst_capabilityMask(void *id) { +unsigned long NSEvent_inst_CapabilityMask(void *id) { return [(NSEvent*)id capabilityMask]; } -unsigned long NSEvent_inst_deviceID(void *id) { +unsigned long NSEvent_inst_DeviceID(void *id) { return [(NSEvent*)id deviceID]; } -BOOL NSEvent_inst_isEnteringProximity(void *id) { +BOOL NSEvent_inst_IsEnteringProximity(void *id) { return [(NSEvent*)id isEnteringProximity]; } -unsigned long NSEvent_inst_pointingDeviceID(void *id) { +unsigned long NSEvent_inst_PointingDeviceID(void *id) { return [(NSEvent*)id pointingDeviceID]; } -unsigned long NSEvent_inst_pointingDeviceSerialNumber(void *id) { +unsigned long NSEvent_inst_PointingDeviceSerialNumber(void *id) { return [(NSEvent*)id pointingDeviceSerialNumber]; } -unsigned long NSEvent_inst_systemTabletID(void *id) { +unsigned long NSEvent_inst_SystemTabletID(void *id) { return [(NSEvent*)id systemTabletID]; } -unsigned long NSEvent_inst_tabletID(void *id) { +unsigned long NSEvent_inst_TabletID(void *id) { return [(NSEvent*)id tabletID]; } -unsigned long NSEvent_inst_vendorID(void *id) { +unsigned long NSEvent_inst_VendorID(void *id) { return [(NSEvent*)id vendorID]; } -unsigned long NSEvent_inst_vendorPointingDeviceType(void *id) { +unsigned long NSEvent_inst_VendorPointingDeviceType(void *id) { return [(NSEvent*)id vendorPointingDeviceType]; } -long NSEvent_inst_absoluteX(void *id) { +long NSEvent_inst_AbsoluteX(void *id) { return [(NSEvent*)id absoluteX]; } -long NSEvent_inst_absoluteY(void *id) { +long NSEvent_inst_AbsoluteY(void *id) { return [(NSEvent*)id absoluteY]; } -long NSEvent_inst_absoluteZ(void *id) { +long NSEvent_inst_AbsoluteZ(void *id) { return [(NSEvent*)id absoluteZ]; } -NSPoint NSEvent_inst_tilt(void *id) { +NSPoint NSEvent_inst_Tilt(void *id) { return [(NSEvent*)id tilt]; } -void* NSEvent_inst_vendorDefined(void *id) { +void* NSEvent_inst_VendorDefined(void *id) { return [(NSEvent*)id vendorDefined]; } -double NSEvent_inst_magnification(void *id) { +double NSEvent_inst_Magnification(void *id) { return [(NSEvent*)id magnification]; } -BOOL NSEvent_inst_hasPreciseScrollingDeltas(void *id) { +BOOL NSEvent_inst_HasPreciseScrollingDeltas(void *id) { return [(NSEvent*)id hasPreciseScrollingDeltas]; } -double NSEvent_inst_scrollingDeltaX(void *id) { +double NSEvent_inst_ScrollingDeltaX(void *id) { return [(NSEvent*)id scrollingDeltaX]; } -double NSEvent_inst_scrollingDeltaY(void *id) { +double NSEvent_inst_ScrollingDeltaY(void *id) { return [(NSEvent*)id scrollingDeltaY]; } -BOOL NSEvent_inst_isDirectionInvertedFromDevice(void *id) { +BOOL NSEvent_inst_IsDirectionInvertedFromDevice(void *id) { return [(NSEvent*)id isDirectionInvertedFromDevice]; } -void* NSFont_inst_fontWithSize(void *id, double fontSize) { +void* NSFont_inst_FontWithSize(void *id, double fontSize) { return [(NSFont*)id fontWithSize: fontSize]; } -void NSFont_inst_set(void *id) { +void NSFont_inst_Set(void *id) { [(NSFont*)id set]; } -void* NSFont_inst_init(void *id) { +void* NSFont_inst_Init(void *id) { return [(NSFont*)id init]; } -double NSFont_inst_pointSize(void *id) { +double NSFont_inst_PointSize(void *id) { return [(NSFont*)id pointSize]; } -BOOL NSFont_inst_isFixedPitch(void *id) { +BOOL NSFont_inst_IsFixedPitch(void *id) { return [(NSFont*)id isFixedPitch]; } -unsigned long NSFont_inst_mostCompatibleStringEncoding(void *id) { +unsigned long NSFont_inst_MostCompatibleStringEncoding(void *id) { return [(NSFont*)id mostCompatibleStringEncoding]; } -unsigned long NSFont_inst_numberOfGlyphs(void *id) { +unsigned long NSFont_inst_NumberOfGlyphs(void *id) { return [(NSFont*)id numberOfGlyphs]; } -void* NSFont_inst_displayName(void *id) { +void* NSFont_inst_DisplayName(void *id) { return [(NSFont*)id displayName]; } -void* NSFont_inst_familyName(void *id) { +void* NSFont_inst_FamilyName(void *id) { return [(NSFont*)id familyName]; } -void* NSFont_inst_fontName(void *id) { +void* NSFont_inst_FontName(void *id) { return [(NSFont*)id fontName]; } -BOOL NSFont_inst_isVertical(void *id) { +BOOL NSFont_inst_IsVertical(void *id) { return [(NSFont*)id isVertical]; } -void* NSFont_inst_verticalFont(void *id) { +void* NSFont_inst_VerticalFont(void *id) { return [(NSFont*)id verticalFont]; } -void NSImage_inst_addRepresentations(void *id, void* imageReps) { +void NSImage_inst_AddRepresentations(void *id, void* imageReps) { [(NSImage*)id addRepresentations: imageReps]; } -void NSImage_inst_cancelIncrementalLoad(void *id) { +void NSImage_inst_CancelIncrementalLoad(void *id) { [(NSImage*)id cancelIncrementalLoad]; } -void NSImage_inst_drawInRect(void *id, NSRect rect) { +void NSImage_inst_DrawInRect(void *id, NSRect rect) { [(NSImage*)id drawInRect: rect]; } -void* NSImage_inst_initByReferencingFile(void *id, void* fileName) { +void* NSImage_inst_InitByReferencingFile(void *id, void* fileName) { return [(NSImage*)id initByReferencingFile: fileName]; } -void* NSImage_inst_initByReferencingURL(void *id, void* url) { +void* NSImage_inst_InitByReferencingURL(void *id, void* url) { return [(NSImage*)id initByReferencingURL: url]; } -void* NSImage_inst_initWithContentsOfFile(void *id, void* fileName) { +void* NSImage_inst_InitWithContentsOfFile(void *id, void* fileName) { return [(NSImage*)id initWithContentsOfFile: fileName]; } -void* NSImage_inst_initWithContentsOfURL(void *id, void* url) { +void* NSImage_inst_InitWithContentsOfURL(void *id, void* url) { return [(NSImage*)id initWithContentsOfURL: url]; } -void* NSImage_inst_initWithData(void *id, void* data) { +void* NSImage_inst_InitWithData(void *id, void* data) { return [(NSImage*)id initWithData: data]; } -void* NSImage_inst_initWithDataIgnoringOrientation(void *id, void* data) { +void* NSImage_inst_InitWithDataIgnoringOrientation(void *id, void* data) { return [(NSImage*)id initWithDataIgnoringOrientation: data]; } -void* NSImage_inst_initWithPasteboard(void *id, void* pasteboard) { +void* NSImage_inst_InitWithPasteboard(void *id, void* pasteboard) { return [(NSImage*)id initWithPasteboard: pasteboard]; } -void* NSImage_inst_initWithSize(void *id, NSSize size) { +void* NSImage_inst_InitWithSize(void *id, NSSize size) { return [(NSImage*)id initWithSize: size]; } -BOOL NSImage_inst_isTemplate(void *id) { +BOOL NSImage_inst_IsTemplate(void *id) { return [(NSImage*)id isTemplate]; } -void* NSImage_inst_layerContentsForContentsScale(void *id, double layerContentsScale) { +void* NSImage_inst_LayerContentsForContentsScale(void *id, double layerContentsScale) { return [(NSImage*)id layerContentsForContentsScale: layerContentsScale]; } -void NSImage_inst_lockFocus(void *id) { +void NSImage_inst_LockFocus(void *id) { [(NSImage*)id lockFocus]; } -void NSImage_inst_lockFocusFlipped(void *id, BOOL flipped) { +void NSImage_inst_LockFocusFlipped(void *id, BOOL flipped) { [(NSImage*)id lockFocusFlipped: flipped]; } -void NSImage_inst_recache(void *id) { +void NSImage_inst_Recache(void *id) { [(NSImage*)id recache]; } -double NSImage_inst_recommendedLayerContentsScale(void *id, double preferredContentsScale) { +double NSImage_inst_RecommendedLayerContentsScale(void *id, double preferredContentsScale) { return [(NSImage*)id recommendedLayerContentsScale: preferredContentsScale]; } -void NSImage_inst_unlockFocus(void *id) { +void NSImage_inst_UnlockFocus(void *id) { [(NSImage*)id unlockFocus]; } -void* NSImage_inst_init(void *id) { +void* NSImage_inst_Init(void *id) { return [(NSImage*)id init]; } -void* NSImage_inst_delegate(void *id) { +void* NSImage_inst_Delegate(void *id) { return [(NSImage*)id delegate]; } -void NSImage_inst_setDelegate(void *id, void* value) { +void NSImage_inst_SetDelegate(void *id, void* value) { [(NSImage*)id setDelegate: value]; } -NSSize NSImage_inst_size(void *id) { +NSSize NSImage_inst_Size(void *id) { return [(NSImage*)id size]; } -void NSImage_inst_setSize(void *id, NSSize value) { +void NSImage_inst_SetSize(void *id, NSSize value) { [(NSImage*)id setSize: value]; } -void NSImage_inst_setTemplate(void *id, BOOL value) { +void NSImage_inst_SetTemplate(void *id, BOOL value) { [(NSImage*)id setTemplate: value]; } -void* NSImage_inst_representations(void *id) { +void* NSImage_inst_Representations(void *id) { return [(NSImage*)id representations]; } -BOOL NSImage_inst_prefersColorMatch(void *id) { +BOOL NSImage_inst_PrefersColorMatch(void *id) { return [(NSImage*)id prefersColorMatch]; } -void NSImage_inst_setPrefersColorMatch(void *id, BOOL value) { +void NSImage_inst_SetPrefersColorMatch(void *id, BOOL value) { [(NSImage*)id setPrefersColorMatch: value]; } -BOOL NSImage_inst_usesEPSOnResolutionMismatch(void *id) { +BOOL NSImage_inst_UsesEPSOnResolutionMismatch(void *id) { return [(NSImage*)id usesEPSOnResolutionMismatch]; } -void NSImage_inst_setUsesEPSOnResolutionMismatch(void *id, BOOL value) { +void NSImage_inst_SetUsesEPSOnResolutionMismatch(void *id, BOOL value) { [(NSImage*)id setUsesEPSOnResolutionMismatch: value]; } -BOOL NSImage_inst_matchesOnMultipleResolution(void *id) { +BOOL NSImage_inst_MatchesOnMultipleResolution(void *id) { return [(NSImage*)id matchesOnMultipleResolution]; } -void NSImage_inst_setMatchesOnMultipleResolution(void *id, BOOL value) { +void NSImage_inst_SetMatchesOnMultipleResolution(void *id, BOOL value) { [(NSImage*)id setMatchesOnMultipleResolution: value]; } -BOOL NSImage_inst_isValid(void *id) { +BOOL NSImage_inst_IsValid(void *id) { return [(NSImage*)id isValid]; } -void* NSImage_inst_backgroundColor(void *id) { +void* NSImage_inst_BackgroundColor(void *id) { return [(NSImage*)id backgroundColor]; } -void NSImage_inst_setBackgroundColor(void *id, void* value) { +void NSImage_inst_SetBackgroundColor(void *id, void* value) { [(NSImage*)id setBackgroundColor: value]; } -NSRect NSImage_inst_alignmentRect(void *id) { +NSRect NSImage_inst_AlignmentRect(void *id) { return [(NSImage*)id alignmentRect]; } -void NSImage_inst_setAlignmentRect(void *id, NSRect value) { +void NSImage_inst_SetAlignmentRect(void *id, NSRect value) { [(NSImage*)id setAlignmentRect: value]; } @@ -2054,473 +2054,473 @@ void* NSImage_inst_TIFFRepresentation(void *id) { TIFFRepresentation]; } -void* NSImage_inst_accessibilityDescription(void *id) { +void* NSImage_inst_AccessibilityDescription(void *id) { return [(NSImage*)id accessibilityDescription]; } -void NSImage_inst_setAccessibilityDescription(void *id, void* value) { +void NSImage_inst_SetAccessibilityDescription(void *id, void* value) { [(NSImage*)id setAccessibilityDescription: value]; } -BOOL NSImage_inst_matchesOnlyOnBestFittingAxis(void *id) { +BOOL NSImage_inst_MatchesOnlyOnBestFittingAxis(void *id) { return [(NSImage*)id matchesOnlyOnBestFittingAxis]; } -void NSImage_inst_setMatchesOnlyOnBestFittingAxis(void *id, BOOL value) { +void NSImage_inst_SetMatchesOnlyOnBestFittingAxis(void *id, BOOL value) { [(NSImage*)id setMatchesOnlyOnBestFittingAxis: value]; } -void* NSImageView_inst_init(void *id) { +void* NSImageView_inst_Init(void *id) { return [(NSImageView*)id init]; } -void* NSImageView_inst_image(void *id) { +void* NSImageView_inst_Image(void *id) { return [(NSImageView*)id image]; } -void NSImageView_inst_setImage(void *id, void* value) { +void NSImageView_inst_SetImage(void *id, void* value) { [(NSImageView*)id setImage: value]; } -BOOL NSImageView_inst_animates(void *id) { +BOOL NSImageView_inst_Animates(void *id) { return [(NSImageView*)id animates]; } -void NSImageView_inst_setAnimates(void *id, BOOL value) { +void NSImageView_inst_SetAnimates(void *id, BOOL value) { [(NSImageView*)id setAnimates: value]; } -BOOL NSImageView_inst_isEditable(void *id) { +BOOL NSImageView_inst_IsEditable(void *id) { return [(NSImageView*)id isEditable]; } -void NSImageView_inst_setEditable(void *id, BOOL value) { +void NSImageView_inst_SetEditable(void *id, BOOL value) { [(NSImageView*)id setEditable: value]; } -BOOL NSImageView_inst_allowsCutCopyPaste(void *id) { +BOOL NSImageView_inst_AllowsCutCopyPaste(void *id) { return [(NSImageView*)id allowsCutCopyPaste]; } -void NSImageView_inst_setAllowsCutCopyPaste(void *id, BOOL value) { +void NSImageView_inst_SetAllowsCutCopyPaste(void *id, BOOL value) { [(NSImageView*)id setAllowsCutCopyPaste: value]; } -void* NSImageView_inst_contentTintColor(void *id) { +void* NSImageView_inst_ContentTintColor(void *id) { return [(NSImageView*)id contentTintColor]; } -void NSImageView_inst_setContentTintColor(void *id, void* value) { +void NSImageView_inst_SetContentTintColor(void *id, void* value) { [(NSImageView*)id setContentTintColor: value]; } -void* NSNib_inst_initWithNibData_bundle(void *id, void* nibData, void* bundle) { +void* NSNib_inst_InitWithNibDataBundle(void *id, void* nibData, void* bundle) { return [(NSNib*)id initWithNibData: nibData bundle: bundle]; } -BOOL NSNib_inst_instantiateWithOwner_topLevelObjects(void *id, void* owner, void* topLevelObjects) { +BOOL NSNib_inst_InstantiateWithOwnerTopLevelObjects(void *id, void* owner, void* topLevelObjects) { return [(NSNib*)id instantiateWithOwner: owner topLevelObjects: topLevelObjects]; } -void* NSNib_inst_init(void *id) { +void* NSNib_inst_Init(void *id) { return [(NSNib*)id init]; } -long NSPasteboard_inst_addTypes_owner(void *id, void* newTypes, void* newOwner) { +long NSPasteboard_inst_AddTypesOwner(void *id, void* newTypes, void* newOwner) { return [(NSPasteboard*)id addTypes: newTypes owner: newOwner]; } -BOOL NSPasteboard_inst_canReadItemWithDataConformingToTypes(void *id, void* types) { +BOOL NSPasteboard_inst_CanReadItemWithDataConformingToTypes(void *id, void* types) { return [(NSPasteboard*)id canReadItemWithDataConformingToTypes: types]; } -BOOL NSPasteboard_inst_canReadObjectForClasses_options(void *id, void* classArray, void* options) { +BOOL NSPasteboard_inst_CanReadObjectForClassesOptions(void *id, void* classArray, void* options) { return [(NSPasteboard*)id canReadObjectForClasses: classArray options: options]; } -long NSPasteboard_inst_clearContents(void *id) { +long NSPasteboard_inst_ClearContents(void *id) { return [(NSPasteboard*)id clearContents]; } -long NSPasteboard_inst_declareTypes_owner(void *id, void* newTypes, void* newOwner) { +long NSPasteboard_inst_DeclareTypesOwner(void *id, void* newTypes, void* newOwner) { return [(NSPasteboard*)id declareTypes: newTypes owner: newOwner]; } -void* NSPasteboard_inst_readObjectsForClasses_options(void *id, void* classArray, void* options) { +void* NSPasteboard_inst_ReadObjectsForClassesOptions(void *id, void* classArray, void* options) { return [(NSPasteboard*)id readObjectsForClasses: classArray options: options]; } -void NSPasteboard_inst_releaseGlobally(void *id) { +void NSPasteboard_inst_ReleaseGlobally(void *id) { [(NSPasteboard*)id releaseGlobally]; } -BOOL NSPasteboard_inst_writeFileContents(void *id, void* filename) { +BOOL NSPasteboard_inst_WriteFileContents(void *id, void* filename) { return [(NSPasteboard*)id writeFileContents: filename]; } -BOOL NSPasteboard_inst_writeObjects(void *id, void* objects) { +BOOL NSPasteboard_inst_WriteObjects(void *id, void* objects) { return [(NSPasteboard*)id writeObjects: objects]; } -void* NSPasteboard_inst_init(void *id) { +void* NSPasteboard_inst_Init(void *id) { return [(NSPasteboard*)id init]; } -void* NSPasteboard_inst_pasteboardItems(void *id) { +void* NSPasteboard_inst_PasteboardItems(void *id) { return [(NSPasteboard*)id pasteboardItems]; } -void* NSPasteboard_inst_types(void *id) { +void* NSPasteboard_inst_Types(void *id) { return [(NSPasteboard*)id types]; } -long NSPasteboard_inst_changeCount(void *id) { +long NSPasteboard_inst_ChangeCount(void *id) { return [(NSPasteboard*)id changeCount]; } -void NSLayoutManager_inst_addTextContainer(void *id, void* container) { +void NSLayoutManager_inst_AddTextContainer(void *id, void* container) { [(NSLayoutManager*)id addTextContainer: container]; } -NSSize NSLayoutManager_inst_attachmentSizeForGlyphAtIndex(void *id, unsigned long glyphIndex) { +NSSize NSLayoutManager_inst_AttachmentSizeForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id attachmentSizeForGlyphAtIndex: glyphIndex]; } -unsigned long NSLayoutManager_inst_characterIndexForGlyphAtIndex(void *id, unsigned long glyphIndex) { +unsigned long NSLayoutManager_inst_CharacterIndexForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id characterIndexForGlyphAtIndex: glyphIndex]; } -double NSLayoutManager_inst_defaultBaselineOffsetForFont(void *id, void* theFont) { +double NSLayoutManager_inst_DefaultBaselineOffsetForFont(void *id, void* theFont) { return [(NSLayoutManager*)id defaultBaselineOffsetForFont: theFont]; } -double NSLayoutManager_inst_defaultLineHeightForFont(void *id, void* theFont) { +double NSLayoutManager_inst_DefaultLineHeightForFont(void *id, void* theFont) { return [(NSLayoutManager*)id defaultLineHeightForFont: theFont]; } -BOOL NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex(void *id, unsigned long glyphIndex) { +BOOL NSLayoutManager_inst_DrawsOutsideLineFragmentForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id drawsOutsideLineFragmentForGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer(void *id, NSRect bounds, void* container) { +void NSLayoutManager_inst_EnsureLayoutForBoundingRectInTextContainer(void *id, NSRect bounds, void* container) { [(NSLayoutManager*)id ensureLayoutForBoundingRect: bounds inTextContainer: container]; } -void NSLayoutManager_inst_ensureLayoutForTextContainer(void *id, void* container) { +void NSLayoutManager_inst_EnsureLayoutForTextContainer(void *id, void* container) { [(NSLayoutManager*)id ensureLayoutForTextContainer: container]; } -unsigned long NSLayoutManager_inst_firstUnlaidCharacterIndex(void *id) { +unsigned long NSLayoutManager_inst_FirstUnlaidCharacterIndex(void *id) { return [(NSLayoutManager*)id firstUnlaidCharacterIndex]; } -unsigned long NSLayoutManager_inst_firstUnlaidGlyphIndex(void *id) { +unsigned long NSLayoutManager_inst_FirstUnlaidGlyphIndex(void *id) { return [(NSLayoutManager*)id firstUnlaidGlyphIndex]; } -unsigned long NSLayoutManager_inst_glyphIndexForCharacterAtIndex(void *id, unsigned long charIndex) { +unsigned long NSLayoutManager_inst_GlyphIndexForCharacterAtIndex(void *id, unsigned long charIndex) { return [(NSLayoutManager*)id glyphIndexForCharacterAtIndex: charIndex]; } -void* NSLayoutManager_inst_init(void *id) { +void* NSLayoutManager_inst_Init(void *id) { return [(NSLayoutManager*)id init]; } -void NSLayoutManager_inst_insertTextContainer_atIndex(void *id, void* container, unsigned long index) { +void NSLayoutManager_inst_InsertTextContainerAtIndex(void *id, void* container, unsigned long index) { [(NSLayoutManager*)id insertTextContainer: container atIndex: index]; } -BOOL NSLayoutManager_inst_isValidGlyphIndex(void *id, unsigned long glyphIndex) { +BOOL NSLayoutManager_inst_IsValidGlyphIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id isValidGlyphIndex: glyphIndex]; } -BOOL NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow(void *id, void* window) { +BOOL NSLayoutManager_inst_LayoutManagerOwnsFirstResponderInWindow(void *id, void* window) { return [(NSLayoutManager*)id layoutManagerOwnsFirstResponderInWindow: window]; } -BOOL NSLayoutManager_inst_notShownAttributeForGlyphAtIndex(void *id, unsigned long glyphIndex) { +BOOL NSLayoutManager_inst_NotShownAttributeForGlyphAtIndex(void *id, unsigned long glyphIndex) { return [(NSLayoutManager*)id notShownAttributeForGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_removeTextContainerAtIndex(void *id, unsigned long index) { +void NSLayoutManager_inst_RemoveTextContainerAtIndex(void *id, unsigned long index) { [(NSLayoutManager*)id removeTextContainerAtIndex: index]; } -void NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { +void NSLayoutManager_inst_SetDrawsOutsideLineFragmentForGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { [(NSLayoutManager*)id setDrawsOutsideLineFragment: flag forGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer(void *id, NSRect fragmentRect, NSRect usedRect, void* container) { +void NSLayoutManager_inst_SetExtraLineFragmentRectUsedRectTextContainer(void *id, NSRect fragmentRect, NSRect usedRect, void* container) { [(NSLayoutManager*)id setExtraLineFragmentRect: fragmentRect usedRect: usedRect textContainer: container]; } -void NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { +void NSLayoutManager_inst_SetNotShownAttributeForGlyphAtIndex(void *id, BOOL flag, unsigned long glyphIndex) { [(NSLayoutManager*)id setNotShownAttribute: flag forGlyphAtIndex: glyphIndex]; } -void NSLayoutManager_inst_textContainerChangedGeometry(void *id, void* container) { +void NSLayoutManager_inst_TextContainerChangedGeometry(void *id, void* container) { [(NSLayoutManager*)id textContainerChangedGeometry: container]; } -void NSLayoutManager_inst_textContainerChangedTextView(void *id, void* container) { +void NSLayoutManager_inst_TextContainerChangedTextView(void *id, void* container) { [(NSLayoutManager*)id textContainerChangedTextView: container]; } -NSRect NSLayoutManager_inst_usedRectForTextContainer(void *id, void* container) { +NSRect NSLayoutManager_inst_UsedRectForTextContainer(void *id, void* container) { return [(NSLayoutManager*)id usedRectForTextContainer: container]; } -void* NSLayoutManager_inst_delegate(void *id) { +void* NSLayoutManager_inst_Delegate(void *id) { return [(NSLayoutManager*)id delegate]; } -void NSLayoutManager_inst_setDelegate(void *id, void* value) { +void NSLayoutManager_inst_SetDelegate(void *id, void* value) { [(NSLayoutManager*)id setDelegate: value]; } -BOOL NSLayoutManager_inst_allowsNonContiguousLayout(void *id) { +BOOL NSLayoutManager_inst_AllowsNonContiguousLayout(void *id) { return [(NSLayoutManager*)id allowsNonContiguousLayout]; } -void NSLayoutManager_inst_setAllowsNonContiguousLayout(void *id, BOOL value) { +void NSLayoutManager_inst_SetAllowsNonContiguousLayout(void *id, BOOL value) { [(NSLayoutManager*)id setAllowsNonContiguousLayout: value]; } -BOOL NSLayoutManager_inst_hasNonContiguousLayout(void *id) { +BOOL NSLayoutManager_inst_HasNonContiguousLayout(void *id) { return [(NSLayoutManager*)id hasNonContiguousLayout]; } -BOOL NSLayoutManager_inst_showsInvisibleCharacters(void *id) { +BOOL NSLayoutManager_inst_ShowsInvisibleCharacters(void *id) { return [(NSLayoutManager*)id showsInvisibleCharacters]; } -void NSLayoutManager_inst_setShowsInvisibleCharacters(void *id, BOOL value) { +void NSLayoutManager_inst_SetShowsInvisibleCharacters(void *id, BOOL value) { [(NSLayoutManager*)id setShowsInvisibleCharacters: value]; } -BOOL NSLayoutManager_inst_showsControlCharacters(void *id) { +BOOL NSLayoutManager_inst_ShowsControlCharacters(void *id) { return [(NSLayoutManager*)id showsControlCharacters]; } -void NSLayoutManager_inst_setShowsControlCharacters(void *id, BOOL value) { +void NSLayoutManager_inst_SetShowsControlCharacters(void *id, BOOL value) { [(NSLayoutManager*)id setShowsControlCharacters: value]; } -BOOL NSLayoutManager_inst_usesFontLeading(void *id) { +BOOL NSLayoutManager_inst_UsesFontLeading(void *id) { return [(NSLayoutManager*)id usesFontLeading]; } -void NSLayoutManager_inst_setUsesFontLeading(void *id, BOOL value) { +void NSLayoutManager_inst_SetUsesFontLeading(void *id, BOOL value) { [(NSLayoutManager*)id setUsesFontLeading: value]; } -BOOL NSLayoutManager_inst_backgroundLayoutEnabled(void *id) { +BOOL NSLayoutManager_inst_BackgroundLayoutEnabled(void *id) { return [(NSLayoutManager*)id backgroundLayoutEnabled]; } -void NSLayoutManager_inst_setBackgroundLayoutEnabled(void *id, BOOL value) { +void NSLayoutManager_inst_SetBackgroundLayoutEnabled(void *id, BOOL value) { [(NSLayoutManager*)id setBackgroundLayoutEnabled: value]; } -BOOL NSLayoutManager_inst_limitsLayoutForSuspiciousContents(void *id) { +BOOL NSLayoutManager_inst_LimitsLayoutForSuspiciousContents(void *id) { return [(NSLayoutManager*)id limitsLayoutForSuspiciousContents]; } -void NSLayoutManager_inst_setLimitsLayoutForSuspiciousContents(void *id, BOOL value) { +void NSLayoutManager_inst_SetLimitsLayoutForSuspiciousContents(void *id, BOOL value) { [(NSLayoutManager*)id setLimitsLayoutForSuspiciousContents: value]; } -BOOL NSLayoutManager_inst_usesDefaultHyphenation(void *id) { +BOOL NSLayoutManager_inst_UsesDefaultHyphenation(void *id) { return [(NSLayoutManager*)id usesDefaultHyphenation]; } -void NSLayoutManager_inst_setUsesDefaultHyphenation(void *id, BOOL value) { +void NSLayoutManager_inst_SetUsesDefaultHyphenation(void *id, BOOL value) { [(NSLayoutManager*)id setUsesDefaultHyphenation: value]; } -void* NSLayoutManager_inst_textContainers(void *id) { +void* NSLayoutManager_inst_TextContainers(void *id) { return [(NSLayoutManager*)id textContainers]; } -unsigned long NSLayoutManager_inst_numberOfGlyphs(void *id) { +unsigned long NSLayoutManager_inst_NumberOfGlyphs(void *id) { return [(NSLayoutManager*)id numberOfGlyphs]; } -NSRect NSLayoutManager_inst_extraLineFragmentRect(void *id) { +NSRect NSLayoutManager_inst_ExtraLineFragmentRect(void *id) { return [(NSLayoutManager*)id extraLineFragmentRect]; } -void* NSLayoutManager_inst_extraLineFragmentTextContainer(void *id) { +void* NSLayoutManager_inst_ExtraLineFragmentTextContainer(void *id) { return [(NSLayoutManager*)id extraLineFragmentTextContainer]; } -NSRect NSLayoutManager_inst_extraLineFragmentUsedRect(void *id) { +NSRect NSLayoutManager_inst_ExtraLineFragmentUsedRect(void *id) { return [(NSLayoutManager*)id extraLineFragmentUsedRect]; } -void* NSLayoutManager_inst_firstTextView(void *id) { +void* NSLayoutManager_inst_FirstTextView(void *id) { return [(NSLayoutManager*)id firstTextView]; } -void* NSLayoutManager_inst_textViewForBeginningOfSelection(void *id) { +void* NSLayoutManager_inst_TextViewForBeginningOfSelection(void *id) { return [(NSLayoutManager*)id textViewForBeginningOfSelection]; } -void NSMenu_inst_addItem(void *id, void* newItem) { +void NSMenu_inst_AddItem(void *id, void* newItem) { [(NSMenu*)id addItem: newItem]; } -void* NSMenu_inst_addItemWithTitle_action_keyEquivalent(void *id, void* string, void* selector, void* charCode) { +void* NSMenu_inst_AddItemWithTitleActionKeyEquivalent(void *id, void* string, void* selector, void* charCode) { return [(NSMenu*)id addItemWithTitle: string action: selector keyEquivalent: charCode]; } -void NSMenu_inst_cancelTracking(void *id) { +void NSMenu_inst_CancelTracking(void *id) { [(NSMenu*)id cancelTracking]; } -void NSMenu_inst_cancelTrackingWithoutAnimation(void *id) { +void NSMenu_inst_CancelTrackingWithoutAnimation(void *id) { [(NSMenu*)id cancelTrackingWithoutAnimation]; } -long NSMenu_inst_indexOfItem(void *id, void* item) { +long NSMenu_inst_IndexOfItem(void *id, void* item) { return [(NSMenu*)id indexOfItem: item]; } -long NSMenu_inst_indexOfItemWithRepresentedObject(void *id, void* object) { +long NSMenu_inst_IndexOfItemWithRepresentedObject(void *id, void* object) { return [(NSMenu*)id indexOfItemWithRepresentedObject: object]; } -long NSMenu_inst_indexOfItemWithSubmenu(void *id, void* submenu) { +long NSMenu_inst_IndexOfItemWithSubmenu(void *id, void* submenu) { return [(NSMenu*)id indexOfItemWithSubmenu: submenu]; } -long NSMenu_inst_indexOfItemWithTag(void *id, long tag) { +long NSMenu_inst_IndexOfItemWithTag(void *id, long tag) { return [(NSMenu*)id indexOfItemWithTag: tag]; } -long NSMenu_inst_indexOfItemWithTarget_andAction(void *id, void* target, void* actionSelector) { +long NSMenu_inst_IndexOfItemWithTargetAndAction(void *id, void* target, void* actionSelector) { return [(NSMenu*)id indexOfItemWithTarget: target andAction: actionSelector]; } -long NSMenu_inst_indexOfItemWithTitle(void *id, void* title) { +long NSMenu_inst_IndexOfItemWithTitle(void *id, void* title) { return [(NSMenu*)id indexOfItemWithTitle: title]; } -void* NSMenu_inst_initWithTitle(void *id, void* title) { +void* NSMenu_inst_InitWithTitle(void *id, void* title) { return [(NSMenu*)id initWithTitle: title]; } -void NSMenu_inst_insertItem_atIndex(void *id, void* newItem, long index) { +void NSMenu_inst_InsertItemAtIndex(void *id, void* newItem, long index) { [(NSMenu*)id insertItem: newItem atIndex: index]; } -void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex(void *id, void* string, void* selector, void* charCode, long index) { +void* NSMenu_inst_InsertItemWithTitleActionKeyEquivalentAtIndex(void *id, void* string, void* selector, void* charCode, long index) { return [(NSMenu*)id insertItemWithTitle: string action: selector @@ -2528,1745 +2528,1745 @@ void* NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex(void *id, voi atIndex: index]; } -void* NSMenu_inst_itemAtIndex(void *id, long index) { +void* NSMenu_inst_ItemAtIndex(void *id, long index) { return [(NSMenu*)id itemAtIndex: index]; } -void NSMenu_inst_itemChanged(void *id, void* item) { +void NSMenu_inst_ItemChanged(void *id, void* item) { [(NSMenu*)id itemChanged: item]; } -void* NSMenu_inst_itemWithTag(void *id, long tag) { +void* NSMenu_inst_ItemWithTag(void *id, long tag) { return [(NSMenu*)id itemWithTag: tag]; } -void* NSMenu_inst_itemWithTitle(void *id, void* title) { +void* NSMenu_inst_ItemWithTitle(void *id, void* title) { return [(NSMenu*)id itemWithTitle: title]; } -void NSMenu_inst_performActionForItemAtIndex(void *id, long index) { +void NSMenu_inst_PerformActionForItemAtIndex(void *id, long index) { [(NSMenu*)id performActionForItemAtIndex: index]; } -BOOL NSMenu_inst_performKeyEquivalent(void *id, void* event) { +BOOL NSMenu_inst_PerformKeyEquivalent(void *id, void* event) { return [(NSMenu*)id performKeyEquivalent: event]; } -BOOL NSMenu_inst_popUpMenuPositioningItem_atLocation_inView(void *id, void* item, NSPoint location, void* view) { +BOOL NSMenu_inst_PopUpMenuPositioningItemAtLocationInView(void *id, void* item, NSPoint location, void* view) { return [(NSMenu*)id popUpMenuPositioningItem: item atLocation: location inView: view]; } -void NSMenu_inst_removeAllItems(void *id) { +void NSMenu_inst_RemoveAllItems(void *id) { [(NSMenu*)id removeAllItems]; } -void NSMenu_inst_removeItem(void *id, void* item) { +void NSMenu_inst_RemoveItem(void *id, void* item) { [(NSMenu*)id removeItem: item]; } -void NSMenu_inst_removeItemAtIndex(void *id, long index) { +void NSMenu_inst_RemoveItemAtIndex(void *id, long index) { [(NSMenu*)id removeItemAtIndex: index]; } -void NSMenu_inst_setSubmenu_forItem(void *id, void* menu, void* item) { +void NSMenu_inst_SetSubmenuForItem(void *id, void* menu, void* item) { [(NSMenu*)id setSubmenu: menu forItem: item]; } -void NSMenu_inst_submenuAction(void *id, void* sender) { +void NSMenu_inst_SubmenuAction(void *id, void* sender) { [(NSMenu*)id submenuAction: sender]; } -void NSMenu_inst_update(void *id) { +void NSMenu_inst_Update(void *id) { [(NSMenu*)id update]; } -void* NSMenu_inst_init(void *id) { +void* NSMenu_inst_Init(void *id) { return [(NSMenu*)id init]; } -double NSMenu_inst_menuBarHeight(void *id) { +double NSMenu_inst_MenuBarHeight(void *id) { return [(NSMenu*)id menuBarHeight]; } -long NSMenu_inst_numberOfItems(void *id) { +long NSMenu_inst_NumberOfItems(void *id) { return [(NSMenu*)id numberOfItems]; } -void* NSMenu_inst_itemArray(void *id) { +void* NSMenu_inst_ItemArray(void *id) { return [(NSMenu*)id itemArray]; } -void NSMenu_inst_setItemArray(void *id, void* value) { +void NSMenu_inst_SetItemArray(void *id, void* value) { [(NSMenu*)id setItemArray: value]; } -void* NSMenu_inst_supermenu(void *id) { +void* NSMenu_inst_Supermenu(void *id) { return [(NSMenu*)id supermenu]; } -void NSMenu_inst_setSupermenu(void *id, void* value) { +void NSMenu_inst_SetSupermenu(void *id, void* value) { [(NSMenu*)id setSupermenu: value]; } -BOOL NSMenu_inst_autoenablesItems(void *id) { +BOOL NSMenu_inst_AutoenablesItems(void *id) { return [(NSMenu*)id autoenablesItems]; } -void NSMenu_inst_setAutoenablesItems(void *id, BOOL value) { +void NSMenu_inst_SetAutoenablesItems(void *id, BOOL value) { [(NSMenu*)id setAutoenablesItems: value]; } -void* NSMenu_inst_font(void *id) { +void* NSMenu_inst_Font(void *id) { return [(NSMenu*)id font]; } -void NSMenu_inst_setFont(void *id, void* value) { +void NSMenu_inst_SetFont(void *id, void* value) { [(NSMenu*)id setFont: value]; } -void* NSMenu_inst_title(void *id) { +void* NSMenu_inst_Title(void *id) { return [(NSMenu*)id title]; } -void NSMenu_inst_setTitle(void *id, void* value) { +void NSMenu_inst_SetTitle(void *id, void* value) { [(NSMenu*)id setTitle: value]; } -double NSMenu_inst_minimumWidth(void *id) { +double NSMenu_inst_MinimumWidth(void *id) { return [(NSMenu*)id minimumWidth]; } -void NSMenu_inst_setMinimumWidth(void *id, double value) { +void NSMenu_inst_SetMinimumWidth(void *id, double value) { [(NSMenu*)id setMinimumWidth: value]; } -NSSize NSMenu_inst_size(void *id) { +NSSize NSMenu_inst_Size(void *id) { return [(NSMenu*)id size]; } -BOOL NSMenu_inst_allowsContextMenuPlugIns(void *id) { +BOOL NSMenu_inst_AllowsContextMenuPlugIns(void *id) { return [(NSMenu*)id allowsContextMenuPlugIns]; } -void NSMenu_inst_setAllowsContextMenuPlugIns(void *id, BOOL value) { +void NSMenu_inst_SetAllowsContextMenuPlugIns(void *id, BOOL value) { [(NSMenu*)id setAllowsContextMenuPlugIns: value]; } -BOOL NSMenu_inst_showsStateColumn(void *id) { +BOOL NSMenu_inst_ShowsStateColumn(void *id) { return [(NSMenu*)id showsStateColumn]; } -void NSMenu_inst_setShowsStateColumn(void *id, BOOL value) { +void NSMenu_inst_SetShowsStateColumn(void *id, BOOL value) { [(NSMenu*)id setShowsStateColumn: value]; } -void* NSMenu_inst_highlightedItem(void *id) { +void* NSMenu_inst_HighlightedItem(void *id) { return [(NSMenu*)id highlightedItem]; } -void* NSMenu_inst_delegate(void *id) { +void* NSMenu_inst_Delegate(void *id) { return [(NSMenu*)id delegate]; } -void NSMenu_inst_setDelegate(void *id, void* value) { +void NSMenu_inst_SetDelegate(void *id, void* value) { [(NSMenu*)id setDelegate: value]; } -void NSPopover_inst_close(void *id) { +void NSPopover_inst_Close(void *id) { [(NSPopover*)id close]; } -void* NSPopover_inst_init(void *id) { +void* NSPopover_inst_Init(void *id) { return [(NSPopover*)id init]; } -void NSPopover_inst_performClose(void *id, void* sender) { +void NSPopover_inst_PerformClose(void *id, void* sender) { [(NSPopover*)id performClose: sender]; } -long NSPopover_inst_behavior(void *id) { +long NSPopover_inst_Behavior(void *id) { return [(NSPopover*)id behavior]; } -void NSPopover_inst_setBehavior(void *id, long value) { +void NSPopover_inst_SetBehavior(void *id, long value) { [(NSPopover*)id setBehavior: value]; } -NSRect NSPopover_inst_positioningRect(void *id) { +NSRect NSPopover_inst_PositioningRect(void *id) { return [(NSPopover*)id positioningRect]; } -void NSPopover_inst_setPositioningRect(void *id, NSRect value) { +void NSPopover_inst_SetPositioningRect(void *id, NSRect value) { [(NSPopover*)id setPositioningRect: value]; } -BOOL NSPopover_inst_animates(void *id) { +BOOL NSPopover_inst_Animates(void *id) { return [(NSPopover*)id animates]; } -void NSPopover_inst_setAnimates(void *id, BOOL value) { +void NSPopover_inst_SetAnimates(void *id, BOOL value) { [(NSPopover*)id setAnimates: value]; } -NSSize NSPopover_inst_contentSize(void *id) { +NSSize NSPopover_inst_ContentSize(void *id) { return [(NSPopover*)id contentSize]; } -void NSPopover_inst_setContentSize(void *id, NSSize value) { +void NSPopover_inst_SetContentSize(void *id, NSSize value) { [(NSPopover*)id setContentSize: value]; } -BOOL NSPopover_inst_isShown(void *id) { +BOOL NSPopover_inst_IsShown(void *id) { return [(NSPopover*)id isShown]; } -BOOL NSPopover_inst_isDetached(void *id) { +BOOL NSPopover_inst_IsDetached(void *id) { return [(NSPopover*)id isDetached]; } -void* NSMenuItem_inst_initWithTitle_action_keyEquivalent(void *id, void* string, void* selector, void* charCode) { +void* NSMenuItem_inst_InitWithTitleActionKeyEquivalent(void *id, void* string, void* selector, void* charCode) { return [(NSMenuItem*)id initWithTitle: string action: selector keyEquivalent: charCode]; } -void* NSMenuItem_inst_init(void *id) { +void* NSMenuItem_inst_Init(void *id) { return [(NSMenuItem*)id init]; } -BOOL NSMenuItem_inst_isEnabled(void *id) { +BOOL NSMenuItem_inst_IsEnabled(void *id) { return [(NSMenuItem*)id isEnabled]; } -void NSMenuItem_inst_setEnabled(void *id, BOOL value) { +void NSMenuItem_inst_SetEnabled(void *id, BOOL value) { [(NSMenuItem*)id setEnabled: value]; } -BOOL NSMenuItem_inst_isHidden(void *id) { +BOOL NSMenuItem_inst_IsHidden(void *id) { return [(NSMenuItem*)id isHidden]; } -void NSMenuItem_inst_setHidden(void *id, BOOL value) { +void NSMenuItem_inst_SetHidden(void *id, BOOL value) { [(NSMenuItem*)id setHidden: value]; } -BOOL NSMenuItem_inst_isHiddenOrHasHiddenAncestor(void *id) { +BOOL NSMenuItem_inst_IsHiddenOrHasHiddenAncestor(void *id) { return [(NSMenuItem*)id isHiddenOrHasHiddenAncestor]; } -void* NSMenuItem_inst_target(void *id) { +void* NSMenuItem_inst_Target(void *id) { return [(NSMenuItem*)id target]; } -void NSMenuItem_inst_setTarget(void *id, void* value) { +void NSMenuItem_inst_SetTarget(void *id, void* value) { [(NSMenuItem*)id setTarget: value]; } -void* NSMenuItem_inst_action(void *id) { +void* NSMenuItem_inst_Action(void *id) { return [(NSMenuItem*)id action]; } -void NSMenuItem_inst_setAction(void *id, void* value) { +void NSMenuItem_inst_SetAction(void *id, void* value) { [(NSMenuItem*)id setAction: value]; } -void* NSMenuItem_inst_title(void *id) { +void* NSMenuItem_inst_Title(void *id) { return [(NSMenuItem*)id title]; } -void NSMenuItem_inst_setTitle(void *id, void* value) { +void NSMenuItem_inst_SetTitle(void *id, void* value) { [(NSMenuItem*)id setTitle: value]; } -void* NSMenuItem_inst_attributedTitle(void *id) { +void* NSMenuItem_inst_AttributedTitle(void *id) { return [(NSMenuItem*)id attributedTitle]; } -void NSMenuItem_inst_setAttributedTitle(void *id, void* value) { +void NSMenuItem_inst_SetAttributedTitle(void *id, void* value) { [(NSMenuItem*)id setAttributedTitle: value]; } -long NSMenuItem_inst_tag(void *id) { +long NSMenuItem_inst_Tag(void *id) { return [(NSMenuItem*)id tag]; } -void NSMenuItem_inst_setTag(void *id, long value) { +void NSMenuItem_inst_SetTag(void *id, long value) { [(NSMenuItem*)id setTag: value]; } -long NSMenuItem_inst_state(void *id) { +long NSMenuItem_inst_State(void *id) { return [(NSMenuItem*)id state]; } -void NSMenuItem_inst_setState(void *id, long value) { +void NSMenuItem_inst_SetState(void *id, long value) { [(NSMenuItem*)id setState: value]; } -void* NSMenuItem_inst_image(void *id) { +void* NSMenuItem_inst_Image(void *id) { return [(NSMenuItem*)id image]; } -void NSMenuItem_inst_setImage(void *id, void* value) { +void NSMenuItem_inst_SetImage(void *id, void* value) { [(NSMenuItem*)id setImage: value]; } -void* NSMenuItem_inst_onStateImage(void *id) { +void* NSMenuItem_inst_OnStateImage(void *id) { return [(NSMenuItem*)id onStateImage]; } -void NSMenuItem_inst_setOnStateImage(void *id, void* value) { +void NSMenuItem_inst_SetOnStateImage(void *id, void* value) { [(NSMenuItem*)id setOnStateImage: value]; } -void* NSMenuItem_inst_offStateImage(void *id) { +void* NSMenuItem_inst_OffStateImage(void *id) { return [(NSMenuItem*)id offStateImage]; } -void NSMenuItem_inst_setOffStateImage(void *id, void* value) { +void NSMenuItem_inst_SetOffStateImage(void *id, void* value) { [(NSMenuItem*)id setOffStateImage: value]; } -void* NSMenuItem_inst_mixedStateImage(void *id) { +void* NSMenuItem_inst_MixedStateImage(void *id) { return [(NSMenuItem*)id mixedStateImage]; } -void NSMenuItem_inst_setMixedStateImage(void *id, void* value) { +void NSMenuItem_inst_SetMixedStateImage(void *id, void* value) { [(NSMenuItem*)id setMixedStateImage: value]; } -void* NSMenuItem_inst_submenu(void *id) { +void* NSMenuItem_inst_Submenu(void *id) { return [(NSMenuItem*)id submenu]; } -void NSMenuItem_inst_setSubmenu(void *id, void* value) { +void NSMenuItem_inst_SetSubmenu(void *id, void* value) { [(NSMenuItem*)id setSubmenu: value]; } -BOOL NSMenuItem_inst_hasSubmenu(void *id) { +BOOL NSMenuItem_inst_HasSubmenu(void *id) { return [(NSMenuItem*)id hasSubmenu]; } -void* NSMenuItem_inst_parentItem(void *id) { +void* NSMenuItem_inst_ParentItem(void *id) { return [(NSMenuItem*)id parentItem]; } -BOOL NSMenuItem_inst_isSeparatorItem(void *id) { +BOOL NSMenuItem_inst_IsSeparatorItem(void *id) { return [(NSMenuItem*)id isSeparatorItem]; } -void* NSMenuItem_inst_menu(void *id) { +void* NSMenuItem_inst_Menu(void *id) { return [(NSMenuItem*)id menu]; } -void NSMenuItem_inst_setMenu(void *id, void* value) { +void NSMenuItem_inst_SetMenu(void *id, void* value) { [(NSMenuItem*)id setMenu: value]; } -void* NSMenuItem_inst_keyEquivalent(void *id) { +void* NSMenuItem_inst_KeyEquivalent(void *id) { return [(NSMenuItem*)id keyEquivalent]; } -void NSMenuItem_inst_setKeyEquivalent(void *id, void* value) { +void NSMenuItem_inst_SetKeyEquivalent(void *id, void* value) { [(NSMenuItem*)id setKeyEquivalent: value]; } -void* NSMenuItem_inst_userKeyEquivalent(void *id) { +void* NSMenuItem_inst_UserKeyEquivalent(void *id) { return [(NSMenuItem*)id userKeyEquivalent]; } -BOOL NSMenuItem_inst_isAlternate(void *id) { +BOOL NSMenuItem_inst_IsAlternate(void *id) { return [(NSMenuItem*)id isAlternate]; } -void NSMenuItem_inst_setAlternate(void *id, BOOL value) { +void NSMenuItem_inst_SetAlternate(void *id, BOOL value) { [(NSMenuItem*)id setAlternate: value]; } -long NSMenuItem_inst_indentationLevel(void *id) { +long NSMenuItem_inst_IndentationLevel(void *id) { return [(NSMenuItem*)id indentationLevel]; } -void NSMenuItem_inst_setIndentationLevel(void *id, long value) { +void NSMenuItem_inst_SetIndentationLevel(void *id, long value) { [(NSMenuItem*)id setIndentationLevel: value]; } -void* NSMenuItem_inst_toolTip(void *id) { +void* NSMenuItem_inst_ToolTip(void *id) { return [(NSMenuItem*)id toolTip]; } -void NSMenuItem_inst_setToolTip(void *id, void* value) { +void NSMenuItem_inst_SetToolTip(void *id, void* value) { [(NSMenuItem*)id setToolTip: value]; } -void* NSMenuItem_inst_representedObject(void *id) { +void* NSMenuItem_inst_RepresentedObject(void *id) { return [(NSMenuItem*)id representedObject]; } -void NSMenuItem_inst_setRepresentedObject(void *id, void* value) { +void NSMenuItem_inst_SetRepresentedObject(void *id, void* value) { [(NSMenuItem*)id setRepresentedObject: value]; } -void* NSMenuItem_inst_view(void *id) { +void* NSMenuItem_inst_View(void *id) { return [(NSMenuItem*)id view]; } -void NSMenuItem_inst_setView(void *id, void* value) { +void NSMenuItem_inst_SetView(void *id, void* value) { [(NSMenuItem*)id setView: value]; } -BOOL NSMenuItem_inst_isHighlighted(void *id) { +BOOL NSMenuItem_inst_IsHighlighted(void *id) { return [(NSMenuItem*)id isHighlighted]; } -BOOL NSMenuItem_inst_allowsAutomaticKeyEquivalentLocalization(void *id) { +BOOL NSMenuItem_inst_AllowsAutomaticKeyEquivalentLocalization(void *id) { return [(NSMenuItem*)id allowsAutomaticKeyEquivalentLocalization]; } -void NSMenuItem_inst_setAllowsAutomaticKeyEquivalentLocalization(void *id, BOOL value) { +void NSMenuItem_inst_SetAllowsAutomaticKeyEquivalentLocalization(void *id, BOOL value) { [(NSMenuItem*)id setAllowsAutomaticKeyEquivalentLocalization: value]; } -BOOL NSMenuItem_inst_allowsAutomaticKeyEquivalentMirroring(void *id) { +BOOL NSMenuItem_inst_AllowsAutomaticKeyEquivalentMirroring(void *id) { return [(NSMenuItem*)id allowsAutomaticKeyEquivalentMirroring]; } -void NSMenuItem_inst_setAllowsAutomaticKeyEquivalentMirroring(void *id, BOOL value) { +void NSMenuItem_inst_SetAllowsAutomaticKeyEquivalentMirroring(void *id, BOOL value) { [(NSMenuItem*)id setAllowsAutomaticKeyEquivalentMirroring: value]; } -BOOL NSMenuItem_inst_allowsKeyEquivalentWhenHidden(void *id) { +BOOL NSMenuItem_inst_AllowsKeyEquivalentWhenHidden(void *id) { return [(NSMenuItem*)id allowsKeyEquivalentWhenHidden]; } -void NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden(void *id, BOOL value) { +void NSMenuItem_inst_SetAllowsKeyEquivalentWhenHidden(void *id, BOOL value) { [(NSMenuItem*)id setAllowsKeyEquivalentWhenHidden: value]; } -BOOL NSRunningApplication_inst_forceTerminate(void *id) { +BOOL NSRunningApplication_inst_ForceTerminate(void *id) { return [(NSRunningApplication*)id forceTerminate]; } -BOOL NSRunningApplication_inst_hide(void *id) { +BOOL NSRunningApplication_inst_Hide(void *id) { return [(NSRunningApplication*)id hide]; } -BOOL NSRunningApplication_inst_terminate(void *id) { +BOOL NSRunningApplication_inst_Terminate(void *id) { return [(NSRunningApplication*)id terminate]; } -BOOL NSRunningApplication_inst_unhide(void *id) { +BOOL NSRunningApplication_inst_Unhide(void *id) { return [(NSRunningApplication*)id unhide]; } -void* NSRunningApplication_inst_init(void *id) { +void* NSRunningApplication_inst_Init(void *id) { return [(NSRunningApplication*)id init]; } -BOOL NSRunningApplication_inst_isActive(void *id) { +BOOL NSRunningApplication_inst_IsActive(void *id) { return [(NSRunningApplication*)id isActive]; } -long NSRunningApplication_inst_activationPolicy(void *id) { +long NSRunningApplication_inst_ActivationPolicy(void *id) { return [(NSRunningApplication*)id activationPolicy]; } -BOOL NSRunningApplication_inst_isHidden(void *id) { +BOOL NSRunningApplication_inst_IsHidden(void *id) { return [(NSRunningApplication*)id isHidden]; } -void* NSRunningApplication_inst_localizedName(void *id) { +void* NSRunningApplication_inst_LocalizedName(void *id) { return [(NSRunningApplication*)id localizedName]; } -void* NSRunningApplication_inst_icon(void *id) { +void* NSRunningApplication_inst_Icon(void *id) { return [(NSRunningApplication*)id icon]; } -void* NSRunningApplication_inst_bundleIdentifier(void *id) { +void* NSRunningApplication_inst_BundleIdentifier(void *id) { return [(NSRunningApplication*)id bundleIdentifier]; } -void* NSRunningApplication_inst_bundleURL(void *id) { +void* NSRunningApplication_inst_BundleURL(void *id) { return [(NSRunningApplication*)id bundleURL]; } -long NSRunningApplication_inst_executableArchitecture(void *id) { +long NSRunningApplication_inst_ExecutableArchitecture(void *id) { return [(NSRunningApplication*)id executableArchitecture]; } -void* NSRunningApplication_inst_executableURL(void *id) { +void* NSRunningApplication_inst_ExecutableURL(void *id) { return [(NSRunningApplication*)id executableURL]; } -BOOL NSRunningApplication_inst_isFinishedLaunching(void *id) { +BOOL NSRunningApplication_inst_IsFinishedLaunching(void *id) { return [(NSRunningApplication*)id isFinishedLaunching]; } -BOOL NSRunningApplication_inst_ownsMenuBar(void *id) { +BOOL NSRunningApplication_inst_OwnsMenuBar(void *id) { return [(NSRunningApplication*)id ownsMenuBar]; } -BOOL NSRunningApplication_inst_isTerminated(void *id) { +BOOL NSRunningApplication_inst_IsTerminated(void *id) { return [(NSRunningApplication*)id isTerminated]; } -NSRect NSScreen_inst_convertRectFromBacking(void *id, NSRect rect) { +NSRect NSScreen_inst_ConvertRectFromBacking(void *id, NSRect rect) { return [(NSScreen*)id convertRectFromBacking: rect]; } -NSRect NSScreen_inst_convertRectToBacking(void *id, NSRect rect) { +NSRect NSScreen_inst_ConvertRectToBacking(void *id, NSRect rect) { return [(NSScreen*)id convertRectToBacking: rect]; } -void* NSScreen_inst_init(void *id) { +void* NSScreen_inst_Init(void *id) { return [(NSScreen*)id init]; } -NSRect NSScreen_inst_frame(void *id) { +NSRect NSScreen_inst_Frame(void *id) { return [(NSScreen*)id frame]; } -void* NSScreen_inst_deviceDescription(void *id) { +void* NSScreen_inst_DeviceDescription(void *id) { return [(NSScreen*)id deviceDescription]; } -NSRect NSScreen_inst_visibleFrame(void *id) { +NSRect NSScreen_inst_VisibleFrame(void *id) { return [(NSScreen*)id visibleFrame]; } -double NSScreen_inst_backingScaleFactor(void *id) { +double NSScreen_inst_BackingScaleFactor(void *id) { return [(NSScreen*)id backingScaleFactor]; } -double NSScreen_inst_maximumPotentialExtendedDynamicRangeColorComponentValue(void *id) { +double NSScreen_inst_MaximumPotentialExtendedDynamicRangeColorComponentValue(void *id) { return [(NSScreen*)id maximumPotentialExtendedDynamicRangeColorComponentValue]; } -double NSScreen_inst_maximumExtendedDynamicRangeColorComponentValue(void *id) { +double NSScreen_inst_MaximumExtendedDynamicRangeColorComponentValue(void *id) { return [(NSScreen*)id maximumExtendedDynamicRangeColorComponentValue]; } -double NSScreen_inst_maximumReferenceExtendedDynamicRangeColorComponentValue(void *id) { +double NSScreen_inst_MaximumReferenceExtendedDynamicRangeColorComponentValue(void *id) { return [(NSScreen*)id maximumReferenceExtendedDynamicRangeColorComponentValue]; } -void* NSScreen_inst_localizedName(void *id) { +void* NSScreen_inst_LocalizedName(void *id) { return [(NSScreen*)id localizedName]; } -long NSScreen_inst_maximumFramesPerSecond(void *id) { +long NSScreen_inst_MaximumFramesPerSecond(void *id) { return [(NSScreen*)id maximumFramesPerSecond]; } -void NSStatusBar_inst_removeStatusItem(void *id, void* item) { +void NSStatusBar_inst_RemoveStatusItem(void *id, void* item) { [(NSStatusBar*)id removeStatusItem: item]; } -void* NSStatusBar_inst_statusItemWithLength(void *id, double length) { +void* NSStatusBar_inst_StatusItemWithLength(void *id, double length) { return [(NSStatusBar*)id statusItemWithLength: length]; } -void* NSStatusBar_inst_init(void *id) { +void* NSStatusBar_inst_Init(void *id) { return [(NSStatusBar*)id init]; } -BOOL NSStatusBar_inst_isVertical(void *id) { +BOOL NSStatusBar_inst_IsVertical(void *id) { return [(NSStatusBar*)id isVertical]; } -double NSStatusBar_inst_thickness(void *id) { +double NSStatusBar_inst_Thickness(void *id) { return [(NSStatusBar*)id thickness]; } -void* NSStatusBarButton_inst_init(void *id) { +void* NSStatusBarButton_inst_Init(void *id) { return [(NSStatusBarButton*)id init]; } -BOOL NSStatusBarButton_inst_appearsDisabled(void *id) { +BOOL NSStatusBarButton_inst_AppearsDisabled(void *id) { return [(NSStatusBarButton*)id appearsDisabled]; } -void NSStatusBarButton_inst_setAppearsDisabled(void *id, BOOL value) { +void NSStatusBarButton_inst_SetAppearsDisabled(void *id, BOOL value) { [(NSStatusBarButton*)id setAppearsDisabled: value]; } -void* NSStatusItem_inst_init(void *id) { +void* NSStatusItem_inst_Init(void *id) { return [(NSStatusItem*)id init]; } -void* NSStatusItem_inst_statusBar(void *id) { +void* NSStatusItem_inst_StatusBar(void *id) { return [(NSStatusItem*)id statusBar]; } -void* NSStatusItem_inst_button(void *id) { +void* NSStatusItem_inst_Button(void *id) { return [(NSStatusItem*)id button]; } -void* NSStatusItem_inst_menu(void *id) { +void* NSStatusItem_inst_Menu(void *id) { return [(NSStatusItem*)id menu]; } -void NSStatusItem_inst_setMenu(void *id, void* value) { +void NSStatusItem_inst_SetMenu(void *id, void* value) { [(NSStatusItem*)id setMenu: value]; } -BOOL NSStatusItem_inst_isVisible(void *id) { +BOOL NSStatusItem_inst_IsVisible(void *id) { return [(NSStatusItem*)id isVisible]; } -void NSStatusItem_inst_setVisible(void *id, BOOL value) { +void NSStatusItem_inst_SetVisible(void *id, BOOL value) { [(NSStatusItem*)id setVisible: value]; } -double NSStatusItem_inst_length(void *id) { +double NSStatusItem_inst_Length(void *id) { return [(NSStatusItem*)id length]; } -void NSStatusItem_inst_setLength(void *id, double value) { +void NSStatusItem_inst_SetLength(void *id, double value) { [(NSStatusItem*)id setLength: value]; } -void NSText_inst_alignCenter(void *id, void* sender) { +void NSText_inst_AlignCenter(void *id, void* sender) { [(NSText*)id alignCenter: sender]; } -void NSText_inst_alignLeft(void *id, void* sender) { +void NSText_inst_AlignLeft(void *id, void* sender) { [(NSText*)id alignLeft: sender]; } -void NSText_inst_alignRight(void *id, void* sender) { +void NSText_inst_AlignRight(void *id, void* sender) { [(NSText*)id alignRight: sender]; } -void NSText_inst_changeFont(void *id, void* sender) { +void NSText_inst_ChangeFont(void *id, void* sender) { [(NSText*)id changeFont: sender]; } -void NSText_inst_checkSpelling(void *id, void* sender) { +void NSText_inst_CheckSpelling(void *id, void* sender) { [(NSText*)id checkSpelling: sender]; } -void NSText_inst_copy(void *id, void* sender) { +void NSText_inst_Copy(void *id, void* sender) { [(NSText*)id copy: sender]; } -void NSText_inst_copyFont(void *id, void* sender) { +void NSText_inst_CopyFont(void *id, void* sender) { [(NSText*)id copyFont: sender]; } -void NSText_inst_copyRuler(void *id, void* sender) { +void NSText_inst_CopyRuler(void *id, void* sender) { [(NSText*)id copyRuler: sender]; } -void NSText_inst_cut(void *id, void* sender) { +void NSText_inst_Cut(void *id, void* sender) { [(NSText*)id cut: sender]; } -void NSText_inst_delete(void *id, void* sender) { +void NSText_inst_Delete(void *id, void* sender) { [(NSText*)id delete: sender]; } -void* NSText_inst_initWithFrame(void *id, NSRect frameRect) { +void* NSText_inst_InitWithFrame(void *id, NSRect frameRect) { return [(NSText*)id initWithFrame: frameRect]; } -void NSText_inst_paste(void *id, void* sender) { +void NSText_inst_Paste(void *id, void* sender) { [(NSText*)id paste: sender]; } -void NSText_inst_pasteFont(void *id, void* sender) { +void NSText_inst_PasteFont(void *id, void* sender) { [(NSText*)id pasteFont: sender]; } -void NSText_inst_pasteRuler(void *id, void* sender) { +void NSText_inst_PasteRuler(void *id, void* sender) { [(NSText*)id pasteRuler: sender]; } -BOOL NSText_inst_readRTFDFromFile(void *id, void* path) { +BOOL NSText_inst_ReadRTFDFromFile(void *id, void* path) { return [(NSText*)id readRTFDFromFile: path]; } -void NSText_inst_selectAll(void *id, void* sender) { +void NSText_inst_SelectAll(void *id, void* sender) { [(NSText*)id selectAll: sender]; } -void NSText_inst_showGuessPanel(void *id, void* sender) { +void NSText_inst_ShowGuessPanel(void *id, void* sender) { [(NSText*)id showGuessPanel: sender]; } -void NSText_inst_sizeToFit(void *id) { +void NSText_inst_SizeToFit(void *id) { [(NSText*)id sizeToFit]; } -void NSText_inst_subscript(void *id, void* sender) { +void NSText_inst_Subscript(void *id, void* sender) { [(NSText*)id subscript: sender]; } -void NSText_inst_superscript(void *id, void* sender) { +void NSText_inst_Superscript(void *id, void* sender) { [(NSText*)id superscript: sender]; } -void NSText_inst_toggleRuler(void *id, void* sender) { +void NSText_inst_ToggleRuler(void *id, void* sender) { [(NSText*)id toggleRuler: sender]; } -void NSText_inst_underline(void *id, void* sender) { +void NSText_inst_Underline(void *id, void* sender) { [(NSText*)id underline: sender]; } -void NSText_inst_unscript(void *id, void* sender) { +void NSText_inst_Unscript(void *id, void* sender) { [(NSText*)id unscript: sender]; } -BOOL NSText_inst_writeRTFDToFile_atomically(void *id, void* path, BOOL flag) { +BOOL NSText_inst_WriteRTFDToFileAtomically(void *id, void* path, BOOL flag) { return [(NSText*)id writeRTFDToFile: path atomically: flag]; } -void* NSText_inst_init(void *id) { +void* NSText_inst_Init(void *id) { return [(NSText*)id init]; } -void* NSText_inst_string(void *id) { +void* NSText_inst_String(void *id) { return [(NSText*)id string]; } -void NSText_inst_setString(void *id, void* value) { +void NSText_inst_SetString(void *id, void* value) { [(NSText*)id setString: value]; } -void* NSText_inst_backgroundColor(void *id) { +void* NSText_inst_BackgroundColor(void *id) { return [(NSText*)id backgroundColor]; } -void NSText_inst_setBackgroundColor(void *id, void* value) { +void NSText_inst_SetBackgroundColor(void *id, void* value) { [(NSText*)id setBackgroundColor: value]; } -BOOL NSText_inst_drawsBackground(void *id) { +BOOL NSText_inst_DrawsBackground(void *id) { return [(NSText*)id drawsBackground]; } -void NSText_inst_setDrawsBackground(void *id, BOOL value) { +void NSText_inst_SetDrawsBackground(void *id, BOOL value) { [(NSText*)id setDrawsBackground: value]; } -BOOL NSText_inst_isEditable(void *id) { +BOOL NSText_inst_IsEditable(void *id) { return [(NSText*)id isEditable]; } -void NSText_inst_setEditable(void *id, BOOL value) { +void NSText_inst_SetEditable(void *id, BOOL value) { [(NSText*)id setEditable: value]; } -BOOL NSText_inst_isSelectable(void *id) { +BOOL NSText_inst_IsSelectable(void *id) { return [(NSText*)id isSelectable]; } -void NSText_inst_setSelectable(void *id, BOOL value) { +void NSText_inst_SetSelectable(void *id, BOOL value) { [(NSText*)id setSelectable: value]; } -BOOL NSText_inst_isFieldEditor(void *id) { +BOOL NSText_inst_IsFieldEditor(void *id) { return [(NSText*)id isFieldEditor]; } -void NSText_inst_setFieldEditor(void *id, BOOL value) { +void NSText_inst_SetFieldEditor(void *id, BOOL value) { [(NSText*)id setFieldEditor: value]; } -BOOL NSText_inst_isRichText(void *id) { +BOOL NSText_inst_IsRichText(void *id) { return [(NSText*)id isRichText]; } -void NSText_inst_setRichText(void *id, BOOL value) { +void NSText_inst_SetRichText(void *id, BOOL value) { [(NSText*)id setRichText: value]; } -BOOL NSText_inst_importsGraphics(void *id) { +BOOL NSText_inst_ImportsGraphics(void *id) { return [(NSText*)id importsGraphics]; } -void NSText_inst_setImportsGraphics(void *id, BOOL value) { +void NSText_inst_SetImportsGraphics(void *id, BOOL value) { [(NSText*)id setImportsGraphics: value]; } -BOOL NSText_inst_usesFontPanel(void *id) { +BOOL NSText_inst_UsesFontPanel(void *id) { return [(NSText*)id usesFontPanel]; } -void NSText_inst_setUsesFontPanel(void *id, BOOL value) { +void NSText_inst_SetUsesFontPanel(void *id, BOOL value) { [(NSText*)id setUsesFontPanel: value]; } -BOOL NSText_inst_isRulerVisible(void *id) { +BOOL NSText_inst_IsRulerVisible(void *id) { return [(NSText*)id isRulerVisible]; } -void* NSText_inst_font(void *id) { +void* NSText_inst_Font(void *id) { return [(NSText*)id font]; } -void NSText_inst_setFont(void *id, void* value) { +void NSText_inst_SetFont(void *id, void* value) { [(NSText*)id setFont: value]; } -void* NSText_inst_textColor(void *id) { +void* NSText_inst_TextColor(void *id) { return [(NSText*)id textColor]; } -void NSText_inst_setTextColor(void *id, void* value) { +void NSText_inst_SetTextColor(void *id, void* value) { [(NSText*)id setTextColor: value]; } -NSSize NSText_inst_maxSize(void *id) { +NSSize NSText_inst_MaxSize(void *id) { return [(NSText*)id maxSize]; } -void NSText_inst_setMaxSize(void *id, NSSize value) { +void NSText_inst_SetMaxSize(void *id, NSSize value) { [(NSText*)id setMaxSize: value]; } -NSSize NSText_inst_minSize(void *id) { +NSSize NSText_inst_MinSize(void *id) { return [(NSText*)id minSize]; } -void NSText_inst_setMinSize(void *id, NSSize value) { +void NSText_inst_SetMinSize(void *id, NSSize value) { [(NSText*)id setMinSize: value]; } -BOOL NSText_inst_isVerticallyResizable(void *id) { +BOOL NSText_inst_IsVerticallyResizable(void *id) { return [(NSText*)id isVerticallyResizable]; } -void NSText_inst_setVerticallyResizable(void *id, BOOL value) { +void NSText_inst_SetVerticallyResizable(void *id, BOOL value) { [(NSText*)id setVerticallyResizable: value]; } -BOOL NSText_inst_isHorizontallyResizable(void *id) { +BOOL NSText_inst_IsHorizontallyResizable(void *id) { return [(NSText*)id isHorizontallyResizable]; } -void NSText_inst_setHorizontallyResizable(void *id, BOOL value) { +void NSText_inst_SetHorizontallyResizable(void *id, BOOL value) { [(NSText*)id setHorizontallyResizable: value]; } -void* NSText_inst_delegate(void *id) { +void* NSText_inst_Delegate(void *id) { return [(NSText*)id delegate]; } -void NSText_inst_setDelegate(void *id, void* value) { +void NSText_inst_SetDelegate(void *id, void* value) { [(NSText*)id setDelegate: value]; } -void NSTextField_inst_selectText(void *id, void* sender) { +void NSTextField_inst_SelectText(void *id, void* sender) { [(NSTextField*)id selectText: sender]; } -BOOL NSTextField_inst_textShouldBeginEditing(void *id, void* textObject) { +BOOL NSTextField_inst_TextShouldBeginEditing(void *id, void* textObject) { return [(NSTextField*)id textShouldBeginEditing: textObject]; } -BOOL NSTextField_inst_textShouldEndEditing(void *id, void* textObject) { +BOOL NSTextField_inst_TextShouldEndEditing(void *id, void* textObject) { return [(NSTextField*)id textShouldEndEditing: textObject]; } -void* NSTextField_inst_init(void *id) { +void* NSTextField_inst_Init(void *id) { return [(NSTextField*)id init]; } -BOOL NSTextField_inst_isSelectable(void *id) { +BOOL NSTextField_inst_IsSelectable(void *id) { return [(NSTextField*)id isSelectable]; } -void NSTextField_inst_setSelectable(void *id, BOOL value) { +void NSTextField_inst_SetSelectable(void *id, BOOL value) { [(NSTextField*)id setSelectable: value]; } -BOOL NSTextField_inst_isEditable(void *id) { +BOOL NSTextField_inst_IsEditable(void *id) { return [(NSTextField*)id isEditable]; } -void NSTextField_inst_setEditable(void *id, BOOL value) { +void NSTextField_inst_SetEditable(void *id, BOOL value) { [(NSTextField*)id setEditable: value]; } -BOOL NSTextField_inst_allowsEditingTextAttributes(void *id) { +BOOL NSTextField_inst_AllowsEditingTextAttributes(void *id) { return [(NSTextField*)id allowsEditingTextAttributes]; } -void NSTextField_inst_setAllowsEditingTextAttributes(void *id, BOOL value) { +void NSTextField_inst_SetAllowsEditingTextAttributes(void *id, BOOL value) { [(NSTextField*)id setAllowsEditingTextAttributes: value]; } -BOOL NSTextField_inst_importsGraphics(void *id) { +BOOL NSTextField_inst_ImportsGraphics(void *id) { return [(NSTextField*)id importsGraphics]; } -void NSTextField_inst_setImportsGraphics(void *id, BOOL value) { +void NSTextField_inst_SetImportsGraphics(void *id, BOOL value) { [(NSTextField*)id setImportsGraphics: value]; } -void* NSTextField_inst_placeholderString(void *id) { +void* NSTextField_inst_PlaceholderString(void *id) { return [(NSTextField*)id placeholderString]; } -void NSTextField_inst_setPlaceholderString(void *id, void* value) { +void NSTextField_inst_SetPlaceholderString(void *id, void* value) { [(NSTextField*)id setPlaceholderString: value]; } -void* NSTextField_inst_placeholderAttributedString(void *id) { +void* NSTextField_inst_PlaceholderAttributedString(void *id) { return [(NSTextField*)id placeholderAttributedString]; } -void NSTextField_inst_setPlaceholderAttributedString(void *id, void* value) { +void NSTextField_inst_SetPlaceholderAttributedString(void *id, void* value) { [(NSTextField*)id setPlaceholderAttributedString: value]; } -BOOL NSTextField_inst_allowsDefaultTighteningForTruncation(void *id) { +BOOL NSTextField_inst_AllowsDefaultTighteningForTruncation(void *id) { return [(NSTextField*)id allowsDefaultTighteningForTruncation]; } -void NSTextField_inst_setAllowsDefaultTighteningForTruncation(void *id, BOOL value) { +void NSTextField_inst_SetAllowsDefaultTighteningForTruncation(void *id, BOOL value) { [(NSTextField*)id setAllowsDefaultTighteningForTruncation: value]; } -long NSTextField_inst_maximumNumberOfLines(void *id) { +long NSTextField_inst_MaximumNumberOfLines(void *id) { return [(NSTextField*)id maximumNumberOfLines]; } -void NSTextField_inst_setMaximumNumberOfLines(void *id, long value) { +void NSTextField_inst_SetMaximumNumberOfLines(void *id, long value) { [(NSTextField*)id setMaximumNumberOfLines: value]; } -double NSTextField_inst_preferredMaxLayoutWidth(void *id) { +double NSTextField_inst_PreferredMaxLayoutWidth(void *id) { return [(NSTextField*)id preferredMaxLayoutWidth]; } -void NSTextField_inst_setPreferredMaxLayoutWidth(void *id, double value) { +void NSTextField_inst_SetPreferredMaxLayoutWidth(void *id, double value) { [(NSTextField*)id setPreferredMaxLayoutWidth: value]; } -void* NSTextField_inst_textColor(void *id) { +void* NSTextField_inst_TextColor(void *id) { return [(NSTextField*)id textColor]; } -void NSTextField_inst_setTextColor(void *id, void* value) { +void NSTextField_inst_SetTextColor(void *id, void* value) { [(NSTextField*)id setTextColor: value]; } -void* NSTextField_inst_backgroundColor(void *id) { +void* NSTextField_inst_BackgroundColor(void *id) { return [(NSTextField*)id backgroundColor]; } -void NSTextField_inst_setBackgroundColor(void *id, void* value) { +void NSTextField_inst_SetBackgroundColor(void *id, void* value) { [(NSTextField*)id setBackgroundColor: value]; } -BOOL NSTextField_inst_drawsBackground(void *id) { +BOOL NSTextField_inst_DrawsBackground(void *id) { return [(NSTextField*)id drawsBackground]; } -void NSTextField_inst_setDrawsBackground(void *id, BOOL value) { +void NSTextField_inst_SetDrawsBackground(void *id, BOOL value) { [(NSTextField*)id setDrawsBackground: value]; } -BOOL NSTextField_inst_isBezeled(void *id) { +BOOL NSTextField_inst_IsBezeled(void *id) { return [(NSTextField*)id isBezeled]; } -void NSTextField_inst_setBezeled(void *id, BOOL value) { +void NSTextField_inst_SetBezeled(void *id, BOOL value) { [(NSTextField*)id setBezeled: value]; } -BOOL NSTextField_inst_isBordered(void *id) { +BOOL NSTextField_inst_IsBordered(void *id) { return [(NSTextField*)id isBordered]; } -void NSTextField_inst_setBordered(void *id, BOOL value) { +void NSTextField_inst_SetBordered(void *id, BOOL value) { [(NSTextField*)id setBordered: value]; } -BOOL NSTextField_inst_acceptsFirstResponder(void *id) { +BOOL NSTextField_inst_AcceptsFirstResponder(void *id) { return [(NSTextField*)id acceptsFirstResponder]; } -BOOL NSTextField_inst_allowsCharacterPickerTouchBarItem(void *id) { +BOOL NSTextField_inst_AllowsCharacterPickerTouchBarItem(void *id) { return [(NSTextField*)id allowsCharacterPickerTouchBarItem]; } -void NSTextField_inst_setAllowsCharacterPickerTouchBarItem(void *id, BOOL value) { +void NSTextField_inst_SetAllowsCharacterPickerTouchBarItem(void *id, BOOL value) { [(NSTextField*)id setAllowsCharacterPickerTouchBarItem: value]; } -BOOL NSTextField_inst_isAutomaticTextCompletionEnabled(void *id) { +BOOL NSTextField_inst_IsAutomaticTextCompletionEnabled(void *id) { return [(NSTextField*)id isAutomaticTextCompletionEnabled]; } -void NSTextField_inst_setAutomaticTextCompletionEnabled(void *id, BOOL value) { +void NSTextField_inst_SetAutomaticTextCompletionEnabled(void *id, BOOL value) { [(NSTextField*)id setAutomaticTextCompletionEnabled: value]; } -void* NSTextField_inst_delegate(void *id) { +void* NSTextField_inst_Delegate(void *id) { return [(NSTextField*)id delegate]; } -void NSTextField_inst_setDelegate(void *id, void* value) { +void NSTextField_inst_SetDelegate(void *id, void* value) { [(NSTextField*)id setDelegate: value]; } -void* NSTextContainer_inst_initWithSize(void *id, NSSize size) { +void* NSTextContainer_inst_InitWithSize(void *id, NSSize size) { return [(NSTextContainer*)id initWithSize: size]; } -void NSTextContainer_inst_replaceLayoutManager(void *id, void* newLayoutManager) { +void NSTextContainer_inst_ReplaceLayoutManager(void *id, void* newLayoutManager) { [(NSTextContainer*)id replaceLayoutManager: newLayoutManager]; } -void* NSTextContainer_inst_init(void *id) { +void* NSTextContainer_inst_Init(void *id) { return [(NSTextContainer*)id init]; } -void* NSTextContainer_inst_layoutManager(void *id) { +void* NSTextContainer_inst_LayoutManager(void *id) { return [(NSTextContainer*)id layoutManager]; } -void NSTextContainer_inst_setLayoutManager(void *id, void* value) { +void NSTextContainer_inst_SetLayoutManager(void *id, void* value) { [(NSTextContainer*)id setLayoutManager: value]; } -void* NSTextContainer_inst_textView(void *id) { +void* NSTextContainer_inst_TextView(void *id) { return [(NSTextContainer*)id textView]; } -void NSTextContainer_inst_setTextView(void *id, void* value) { +void NSTextContainer_inst_SetTextView(void *id, void* value) { [(NSTextContainer*)id setTextView: value]; } -NSSize NSTextContainer_inst_size(void *id) { +NSSize NSTextContainer_inst_Size(void *id) { return [(NSTextContainer*)id size]; } -void NSTextContainer_inst_setSize(void *id, NSSize value) { +void NSTextContainer_inst_SetSize(void *id, NSSize value) { [(NSTextContainer*)id setSize: value]; } -void* NSTextContainer_inst_exclusionPaths(void *id) { +void* NSTextContainer_inst_ExclusionPaths(void *id) { return [(NSTextContainer*)id exclusionPaths]; } -void NSTextContainer_inst_setExclusionPaths(void *id, void* value) { +void NSTextContainer_inst_SetExclusionPaths(void *id, void* value) { [(NSTextContainer*)id setExclusionPaths: value]; } -BOOL NSTextContainer_inst_widthTracksTextView(void *id) { +BOOL NSTextContainer_inst_WidthTracksTextView(void *id) { return [(NSTextContainer*)id widthTracksTextView]; } -void NSTextContainer_inst_setWidthTracksTextView(void *id, BOOL value) { +void NSTextContainer_inst_SetWidthTracksTextView(void *id, BOOL value) { [(NSTextContainer*)id setWidthTracksTextView: value]; } -BOOL NSTextContainer_inst_heightTracksTextView(void *id) { +BOOL NSTextContainer_inst_HeightTracksTextView(void *id) { return [(NSTextContainer*)id heightTracksTextView]; } -void NSTextContainer_inst_setHeightTracksTextView(void *id, BOOL value) { +void NSTextContainer_inst_SetHeightTracksTextView(void *id, BOOL value) { [(NSTextContainer*)id setHeightTracksTextView: value]; } -unsigned long NSTextContainer_inst_maximumNumberOfLines(void *id) { +unsigned long NSTextContainer_inst_MaximumNumberOfLines(void *id) { return [(NSTextContainer*)id maximumNumberOfLines]; } -void NSTextContainer_inst_setMaximumNumberOfLines(void *id, unsigned long value) { +void NSTextContainer_inst_SetMaximumNumberOfLines(void *id, unsigned long value) { [(NSTextContainer*)id setMaximumNumberOfLines: value]; } -double NSTextContainer_inst_lineFragmentPadding(void *id) { +double NSTextContainer_inst_LineFragmentPadding(void *id) { return [(NSTextContainer*)id lineFragmentPadding]; } -void NSTextContainer_inst_setLineFragmentPadding(void *id, double value) { +void NSTextContainer_inst_SetLineFragmentPadding(void *id, double value) { [(NSTextContainer*)id setLineFragmentPadding: value]; } -BOOL NSTextContainer_inst_isSimpleRectangularTextContainer(void *id) { +BOOL NSTextContainer_inst_IsSimpleRectangularTextContainer(void *id) { return [(NSTextContainer*)id isSimpleRectangularTextContainer]; } -void NSViewController_inst_addChildViewController(void *id, void* childViewController) { +void NSViewController_inst_AddChildViewController(void *id, void* childViewController) { [(NSViewController*)id addChildViewController: childViewController]; } -BOOL NSViewController_inst_commitEditing(void *id) { +BOOL NSViewController_inst_CommitEditing(void *id) { return [(NSViewController*)id commitEditing]; } -void NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo(void *id, void* delegate, void* didCommitSelector, void* contextInfo) { +void NSViewController_inst_CommitEditingWithDelegateDidCommitSelectorContextInfo(void *id, void* delegate, void* didCommitSelector, void* contextInfo) { [(NSViewController*)id commitEditingWithDelegate: delegate didCommitSelector: didCommitSelector contextInfo: contextInfo]; } -void NSViewController_inst_discardEditing(void *id) { +void NSViewController_inst_DiscardEditing(void *id) { [(NSViewController*)id discardEditing]; } -void NSViewController_inst_dismissController(void *id, void* sender) { +void NSViewController_inst_DismissController(void *id, void* sender) { [(NSViewController*)id dismissController: sender]; } -void NSViewController_inst_dismissViewController(void *id, void* viewController) { +void NSViewController_inst_DismissViewController(void *id, void* viewController) { [(NSViewController*)id dismissViewController: viewController]; } -void NSViewController_inst_insertChildViewController_atIndex(void *id, void* childViewController, long index) { +void NSViewController_inst_InsertChildViewControllerAtIndex(void *id, void* childViewController, long index) { [(NSViewController*)id insertChildViewController: childViewController atIndex: index]; } -void NSViewController_inst_loadView(void *id) { +void NSViewController_inst_LoadView(void *id) { [(NSViewController*)id loadView]; } -void NSViewController_inst_preferredContentSizeDidChangeForViewController(void *id, void* viewController) { +void NSViewController_inst_PreferredContentSizeDidChangeForViewController(void *id, void* viewController) { [(NSViewController*)id preferredContentSizeDidChangeForViewController: viewController]; } -void NSViewController_inst_presentViewController_animator(void *id, void* viewController, void* animator) { +void NSViewController_inst_PresentViewControllerAnimator(void *id, void* viewController, void* animator) { [(NSViewController*)id presentViewController: viewController animator: animator]; } -void NSViewController_inst_presentViewControllerAsModalWindow(void *id, void* viewController) { +void NSViewController_inst_PresentViewControllerAsModalWindow(void *id, void* viewController) { [(NSViewController*)id presentViewControllerAsModalWindow: viewController]; } -void NSViewController_inst_presentViewControllerAsSheet(void *id, void* viewController) { +void NSViewController_inst_PresentViewControllerAsSheet(void *id, void* viewController) { [(NSViewController*)id presentViewControllerAsSheet: viewController]; } -void NSViewController_inst_removeChildViewControllerAtIndex(void *id, long index) { +void NSViewController_inst_RemoveChildViewControllerAtIndex(void *id, long index) { [(NSViewController*)id removeChildViewControllerAtIndex: index]; } -void NSViewController_inst_removeFromParentViewController(void *id) { +void NSViewController_inst_RemoveFromParentViewController(void *id) { [(NSViewController*)id removeFromParentViewController]; } -void NSViewController_inst_updateViewConstraints(void *id) { +void NSViewController_inst_UpdateViewConstraints(void *id) { [(NSViewController*)id updateViewConstraints]; } -void NSViewController_inst_viewDidAppear(void *id) { +void NSViewController_inst_ViewDidAppear(void *id) { [(NSViewController*)id viewDidAppear]; } -void NSViewController_inst_viewDidDisappear(void *id) { +void NSViewController_inst_ViewDidDisappear(void *id) { [(NSViewController*)id viewDidDisappear]; } -void NSViewController_inst_viewDidLayout(void *id) { +void NSViewController_inst_ViewDidLayout(void *id) { [(NSViewController*)id viewDidLayout]; } -void NSViewController_inst_viewDidLoad(void *id) { +void NSViewController_inst_ViewDidLoad(void *id) { [(NSViewController*)id viewDidLoad]; } -void NSViewController_inst_viewWillAppear(void *id) { +void NSViewController_inst_ViewWillAppear(void *id) { [(NSViewController*)id viewWillAppear]; } -void NSViewController_inst_viewWillDisappear(void *id) { +void NSViewController_inst_ViewWillDisappear(void *id) { [(NSViewController*)id viewWillDisappear]; } -void NSViewController_inst_viewWillLayout(void *id) { +void NSViewController_inst_ViewWillLayout(void *id) { [(NSViewController*)id viewWillLayout]; } -void NSViewController_inst_viewWillTransitionToSize(void *id, NSSize newSize) { +void NSViewController_inst_ViewWillTransitionToSize(void *id, NSSize newSize) { [(NSViewController*)id viewWillTransitionToSize: newSize]; } -void* NSViewController_inst_init(void *id) { +void* NSViewController_inst_Init(void *id) { return [(NSViewController*)id init]; } -void* NSViewController_inst_representedObject(void *id) { +void* NSViewController_inst_RepresentedObject(void *id) { return [(NSViewController*)id representedObject]; } -void NSViewController_inst_setRepresentedObject(void *id, void* value) { +void NSViewController_inst_SetRepresentedObject(void *id, void* value) { [(NSViewController*)id setRepresentedObject: value]; } -void* NSViewController_inst_nibBundle(void *id) { +void* NSViewController_inst_NibBundle(void *id) { return [(NSViewController*)id nibBundle]; } -void* NSViewController_inst_view(void *id) { +void* NSViewController_inst_View(void *id) { return [(NSViewController*)id view]; } -void NSViewController_inst_setView(void *id, void* value) { +void NSViewController_inst_SetView(void *id, void* value) { [(NSViewController*)id setView: value]; } -void* NSViewController_inst_title(void *id) { +void* NSViewController_inst_Title(void *id) { return [(NSViewController*)id title]; } -void NSViewController_inst_setTitle(void *id, void* value) { +void NSViewController_inst_SetTitle(void *id, void* value) { [(NSViewController*)id setTitle: value]; } -BOOL NSViewController_inst_isViewLoaded(void *id) { +BOOL NSViewController_inst_IsViewLoaded(void *id) { return [(NSViewController*)id isViewLoaded]; } -NSSize NSViewController_inst_preferredContentSize(void *id) { +NSSize NSViewController_inst_PreferredContentSize(void *id) { return [(NSViewController*)id preferredContentSize]; } -void NSViewController_inst_setPreferredContentSize(void *id, NSSize value) { +void NSViewController_inst_SetPreferredContentSize(void *id, NSSize value) { [(NSViewController*)id setPreferredContentSize: value]; } -void* NSViewController_inst_childViewControllers(void *id) { +void* NSViewController_inst_ChildViewControllers(void *id) { return [(NSViewController*)id childViewControllers]; } -void NSViewController_inst_setChildViewControllers(void *id, void* value) { +void NSViewController_inst_SetChildViewControllers(void *id, void* value) { [(NSViewController*)id setChildViewControllers: value]; } -void* NSViewController_inst_parentViewController(void *id) { +void* NSViewController_inst_ParentViewController(void *id) { return [(NSViewController*)id parentViewController]; } -void* NSViewController_inst_presentedViewControllers(void *id) { +void* NSViewController_inst_PresentedViewControllers(void *id) { return [(NSViewController*)id presentedViewControllers]; } -void* NSViewController_inst_presentingViewController(void *id) { +void* NSViewController_inst_PresentingViewController(void *id) { return [(NSViewController*)id presentingViewController]; } -NSPoint NSViewController_inst_preferredScreenOrigin(void *id) { +NSPoint NSViewController_inst_PreferredScreenOrigin(void *id) { return [(NSViewController*)id preferredScreenOrigin]; } -void NSViewController_inst_setPreferredScreenOrigin(void *id, NSPoint value) { +void NSViewController_inst_SetPreferredScreenOrigin(void *id, NSPoint value) { [(NSViewController*)id setPreferredScreenOrigin: value]; } -NSSize NSViewController_inst_preferredMaximumSize(void *id) { +NSSize NSViewController_inst_PreferredMaximumSize(void *id) { return [(NSViewController*)id preferredMaximumSize]; } -NSSize NSViewController_inst_preferredMinimumSize(void *id) { +NSSize NSViewController_inst_PreferredMinimumSize(void *id) { return [(NSViewController*)id preferredMinimumSize]; } -void* NSViewController_inst_sourceItemView(void *id) { +void* NSViewController_inst_SourceItemView(void *id) { return [(NSViewController*)id sourceItemView]; } -void NSViewController_inst_setSourceItemView(void *id, void* value) { +void NSViewController_inst_SetSourceItemView(void *id, void* value) { [(NSViewController*)id setSourceItemView: value]; } -void NSVisualEffectView_inst_viewDidMoveToWindow(void *id) { +void NSVisualEffectView_inst_ViewDidMoveToWindow(void *id) { [(NSVisualEffectView*)id viewDidMoveToWindow]; } -void NSVisualEffectView_inst_viewWillMoveToWindow(void *id, void* newWindow) { +void NSVisualEffectView_inst_ViewWillMoveToWindow(void *id, void* newWindow) { [(NSVisualEffectView*)id viewWillMoveToWindow: newWindow]; } -void* NSVisualEffectView_inst_init(void *id) { +void* NSVisualEffectView_inst_Init(void *id) { return [(NSVisualEffectView*)id init]; } -BOOL NSVisualEffectView_inst_isEmphasized(void *id) { +BOOL NSVisualEffectView_inst_IsEmphasized(void *id) { return [(NSVisualEffectView*)id isEmphasized]; } -void NSVisualEffectView_inst_setEmphasized(void *id, BOOL value) { +void NSVisualEffectView_inst_SetEmphasized(void *id, BOOL value) { [(NSVisualEffectView*)id setEmphasized: value]; } -void* NSVisualEffectView_inst_maskImage(void *id) { +void* NSVisualEffectView_inst_MaskImage(void *id) { return [(NSVisualEffectView*)id maskImage]; } -void NSVisualEffectView_inst_setMaskImage(void *id, void* value) { +void NSVisualEffectView_inst_SetMaskImage(void *id, void* value) { [(NSVisualEffectView*)id setMaskImage: value]; } -void NSWindow_inst_addChildWindow_ordered(void *id, void* childWin, unsigned long place) { +void NSWindow_inst_AddChildWindowOrdered(void *id, void* childWin, unsigned long place) { [(NSWindow*)id addChildWindow: childWin ordered: place]; } -void NSWindow_inst_addTabbedWindow_ordered(void *id, void* window, unsigned long ordered) { +void NSWindow_inst_AddTabbedWindowOrdered(void *id, void* window, unsigned long ordered) { [(NSWindow*)id addTabbedWindow: window ordered: ordered]; } -void NSWindow_inst_becomeKeyWindow(void *id) { +void NSWindow_inst_BecomeKeyWindow(void *id) { [(NSWindow*)id becomeKeyWindow]; } -void NSWindow_inst_becomeMainWindow(void *id) { +void NSWindow_inst_BecomeMainWindow(void *id) { [(NSWindow*)id becomeMainWindow]; } -NSPoint NSWindow_inst_cascadeTopLeftFromPoint(void *id, NSPoint topLeftPoint) { +NSPoint NSWindow_inst_CascadeTopLeftFromPoint(void *id, NSPoint topLeftPoint) { return [(NSWindow*)id cascadeTopLeftFromPoint: topLeftPoint]; } -void NSWindow_inst_center(void *id) { +void NSWindow_inst_Center(void *id) { [(NSWindow*)id center]; } -void NSWindow_inst_close(void *id) { +void NSWindow_inst_Close(void *id) { [(NSWindow*)id close]; } -NSRect NSWindow_inst_constrainFrameRect_toScreen(void *id, NSRect frameRect, void* screen) { +NSRect NSWindow_inst_ConstrainFrameRectToScreen(void *id, NSRect frameRect, void* screen) { return [(NSWindow*)id constrainFrameRect: frameRect toScreen: screen]; } -NSRect NSWindow_inst_contentRectForFrameRect(void *id, NSRect frameRect) { +NSRect NSWindow_inst_ContentRectForFrameRect(void *id, NSRect frameRect) { return [(NSWindow*)id contentRectForFrameRect: frameRect]; } -NSPoint NSWindow_inst_convertPointFromBacking(void *id, NSPoint point) { +NSPoint NSWindow_inst_ConvertPointFromBacking(void *id, NSPoint point) { return [(NSWindow*)id convertPointFromBacking: point]; } -NSPoint NSWindow_inst_convertPointFromScreen(void *id, NSPoint point) { +NSPoint NSWindow_inst_ConvertPointFromScreen(void *id, NSPoint point) { return [(NSWindow*)id convertPointFromScreen: point]; } -NSPoint NSWindow_inst_convertPointToBacking(void *id, NSPoint point) { +NSPoint NSWindow_inst_ConvertPointToBacking(void *id, NSPoint point) { return [(NSWindow*)id convertPointToBacking: point]; } -NSPoint NSWindow_inst_convertPointToScreen(void *id, NSPoint point) { +NSPoint NSWindow_inst_ConvertPointToScreen(void *id, NSPoint point) { return [(NSWindow*)id convertPointToScreen: point]; } -NSRect NSWindow_inst_convertRectFromBacking(void *id, NSRect rect) { +NSRect NSWindow_inst_ConvertRectFromBacking(void *id, NSRect rect) { return [(NSWindow*)id convertRectFromBacking: rect]; } -NSRect NSWindow_inst_convertRectFromScreen(void *id, NSRect rect) { +NSRect NSWindow_inst_ConvertRectFromScreen(void *id, NSRect rect) { return [(NSWindow*)id convertRectFromScreen: rect]; } -NSRect NSWindow_inst_convertRectToBacking(void *id, NSRect rect) { +NSRect NSWindow_inst_ConvertRectToBacking(void *id, NSRect rect) { return [(NSWindow*)id convertRectToBacking: rect]; } -NSRect NSWindow_inst_convertRectToScreen(void *id, NSRect rect) { +NSRect NSWindow_inst_ConvertRectToScreen(void *id, NSRect rect) { return [(NSWindow*)id convertRectToScreen: rect]; } -void* NSWindow_inst_dataWithEPSInsideRect(void *id, NSRect rect) { +void* NSWindow_inst_DataWithEPSInsideRect(void *id, NSRect rect) { return [(NSWindow*)id dataWithEPSInsideRect: rect]; } -void* NSWindow_inst_dataWithPDFInsideRect(void *id, NSRect rect) { +void* NSWindow_inst_DataWithPDFInsideRect(void *id, NSRect rect) { return [(NSWindow*)id dataWithPDFInsideRect: rect]; } -void NSWindow_inst_deminiaturize(void *id, void* sender) { +void NSWindow_inst_Deminiaturize(void *id, void* sender) { [(NSWindow*)id deminiaturize: sender]; } -void NSWindow_inst_disableCursorRects(void *id) { +void NSWindow_inst_DisableCursorRects(void *id) { [(NSWindow*)id disableCursorRects]; } -void NSWindow_inst_disableKeyEquivalentForDefaultButtonCell(void *id) { +void NSWindow_inst_DisableKeyEquivalentForDefaultButtonCell(void *id) { [(NSWindow*)id disableKeyEquivalentForDefaultButtonCell]; } -void NSWindow_inst_disableScreenUpdatesUntilFlush(void *id) { +void NSWindow_inst_DisableScreenUpdatesUntilFlush(void *id) { [(NSWindow*)id disableScreenUpdatesUntilFlush]; } -void NSWindow_inst_disableSnapshotRestoration(void *id) { +void NSWindow_inst_DisableSnapshotRestoration(void *id) { [(NSWindow*)id disableSnapshotRestoration]; } -void NSWindow_inst_discardCursorRects(void *id) { +void NSWindow_inst_DiscardCursorRects(void *id) { [(NSWindow*)id discardCursorRects]; } -void NSWindow_inst_display(void *id) { +void NSWindow_inst_Display(void *id) { [(NSWindow*)id display]; } -void NSWindow_inst_displayIfNeeded(void *id) { +void NSWindow_inst_DisplayIfNeeded(void *id) { [(NSWindow*)id displayIfNeeded]; } -void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack(void *id, void* image, NSPoint baseLocation, NSSize initialOffset, void* event, void* pboard, void* sourceObj, BOOL slideFlag) { +void NSWindow_inst_DragImageAtOffsetEventPasteboardSourceSlideBack(void *id, void* image, NSPoint baseLocation, NSSize initialOffset, void* event, void* pboard, void* sourceObj, BOOL slideFlag) { [(NSWindow*)id dragImage: image at: baseLocation @@ -4277,43 +4277,43 @@ void NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack(void *i slideBack: slideFlag]; } -void NSWindow_inst_enableCursorRects(void *id) { +void NSWindow_inst_EnableCursorRects(void *id) { [(NSWindow*)id enableCursorRects]; } -void NSWindow_inst_enableKeyEquivalentForDefaultButtonCell(void *id) { +void NSWindow_inst_EnableKeyEquivalentForDefaultButtonCell(void *id) { [(NSWindow*)id enableKeyEquivalentForDefaultButtonCell]; } -void NSWindow_inst_enableSnapshotRestoration(void *id) { +void NSWindow_inst_EnableSnapshotRestoration(void *id) { [(NSWindow*)id enableSnapshotRestoration]; } -void NSWindow_inst_endEditingFor(void *id, void* object) { +void NSWindow_inst_EndEditingFor(void *id, void* object) { [(NSWindow*)id endEditingFor: object]; } -void NSWindow_inst_endSheet(void *id, void* sheetWindow) { +void NSWindow_inst_EndSheet(void *id, void* sheetWindow) { [(NSWindow*)id endSheet: sheetWindow]; } -void* NSWindow_inst_fieldEditor_forObject(void *id, BOOL createFlag, void* object) { +void* NSWindow_inst_FieldEditorForObject(void *id, BOOL createFlag, void* object) { return [(NSWindow*)id fieldEditor: createFlag forObject: object]; } -NSRect NSWindow_inst_frameRectForContentRect(void *id, NSRect contentRect) { +NSRect NSWindow_inst_FrameRectForContentRect(void *id, NSRect contentRect) { return [(NSWindow*)id frameRectForContentRect: contentRect]; } -void* NSWindow_inst_initWithContentRect_styleMask_backing_defer(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag) { +void* NSWindow_inst_InitWithContentRectStyleMaskBackingDefer(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag) { return [(NSWindow*)id initWithContentRect: contentRect styleMask: style @@ -4321,7 +4321,7 @@ void* NSWindow_inst_initWithContentRect_styleMask_backing_defer(void *id, NSRect defer: flag]; } -void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag, void* screen) { +void* NSWindow_inst_InitWithContentRectStyleMaskBackingDeferScreen(void *id, NSRect contentRect, unsigned long style, unsigned long backingStoreType, BOOL flag, void* screen) { return [(NSWindow*)id initWithContentRect: contentRect styleMask: style @@ -4330,983 +4330,983 @@ void* NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen(void *id, screen: screen]; } -void NSWindow_inst_invalidateCursorRectsForView(void *id, void* view) { +void NSWindow_inst_InvalidateCursorRectsForView(void *id, void* view) { [(NSWindow*)id invalidateCursorRectsForView: view]; } -void NSWindow_inst_invalidateShadow(void *id) { +void NSWindow_inst_InvalidateShadow(void *id) { [(NSWindow*)id invalidateShadow]; } -void NSWindow_inst_layoutIfNeeded(void *id) { +void NSWindow_inst_LayoutIfNeeded(void *id) { [(NSWindow*)id layoutIfNeeded]; } -void NSWindow_inst_makeKeyAndOrderFront(void *id, void* sender) { +void NSWindow_inst_MakeKeyAndOrderFront(void *id, void* sender) { [(NSWindow*)id makeKeyAndOrderFront: sender]; } -void NSWindow_inst_makeKeyWindow(void *id) { +void NSWindow_inst_MakeKeyWindow(void *id) { [(NSWindow*)id makeKeyWindow]; } -void NSWindow_inst_makeMainWindow(void *id) { +void NSWindow_inst_MakeMainWindow(void *id) { [(NSWindow*)id makeMainWindow]; } -void NSWindow_inst_mergeAllWindows(void *id, void* sender) { +void NSWindow_inst_MergeAllWindows(void *id, void* sender) { [(NSWindow*)id mergeAllWindows: sender]; } -void NSWindow_inst_miniaturize(void *id, void* sender) { +void NSWindow_inst_Miniaturize(void *id, void* sender) { [(NSWindow*)id miniaturize: sender]; } -void NSWindow_inst_moveTabToNewWindow(void *id, void* sender) { +void NSWindow_inst_MoveTabToNewWindow(void *id, void* sender) { [(NSWindow*)id moveTabToNewWindow: sender]; } -void NSWindow_inst_orderBack(void *id, void* sender) { +void NSWindow_inst_OrderBack(void *id, void* sender) { [(NSWindow*)id orderBack: sender]; } -void NSWindow_inst_orderFront(void *id, void* sender) { +void NSWindow_inst_OrderFront(void *id, void* sender) { [(NSWindow*)id orderFront: sender]; } -void NSWindow_inst_orderFrontRegardless(void *id) { +void NSWindow_inst_OrderFrontRegardless(void *id) { [(NSWindow*)id orderFrontRegardless]; } -void NSWindow_inst_orderOut(void *id, void* sender) { +void NSWindow_inst_OrderOut(void *id, void* sender) { [(NSWindow*)id orderOut: sender]; } -void NSWindow_inst_orderWindow_relativeTo(void *id, unsigned long place, long otherWin) { +void NSWindow_inst_OrderWindowRelativeTo(void *id, unsigned long place, long otherWin) { [(NSWindow*)id orderWindow: place relativeTo: otherWin]; } -void NSWindow_inst_performClose(void *id, void* sender) { +void NSWindow_inst_PerformClose(void *id, void* sender) { [(NSWindow*)id performClose: sender]; } -void NSWindow_inst_performMiniaturize(void *id, void* sender) { +void NSWindow_inst_PerformMiniaturize(void *id, void* sender) { [(NSWindow*)id performMiniaturize: sender]; } -void NSWindow_inst_performWindowDragWithEvent(void *id, void* event) { +void NSWindow_inst_PerformWindowDragWithEvent(void *id, void* event) { [(NSWindow*)id performWindowDragWithEvent: event]; } -void NSWindow_inst_performZoom(void *id, void* sender) { +void NSWindow_inst_PerformZoom(void *id, void* sender) { [(NSWindow*)id performZoom: sender]; } -void NSWindow_inst_postEvent_atStart(void *id, void* event, BOOL flag) { +void NSWindow_inst_PostEventAtStart(void *id, void* event, BOOL flag) { [(NSWindow*)id postEvent: event atStart: flag]; } -void NSWindow_inst_print(void *id, void* sender) { +void NSWindow_inst_Print(void *id, void* sender) { [(NSWindow*)id print: sender]; } -void NSWindow_inst_recalculateKeyViewLoop(void *id) { +void NSWindow_inst_RecalculateKeyViewLoop(void *id) { [(NSWindow*)id recalculateKeyViewLoop]; } -void NSWindow_inst_registerForDraggedTypes(void *id, void* newTypes) { +void NSWindow_inst_RegisterForDraggedTypes(void *id, void* newTypes) { [(NSWindow*)id registerForDraggedTypes: newTypes]; } -void NSWindow_inst_removeChildWindow(void *id, void* childWin) { +void NSWindow_inst_RemoveChildWindow(void *id, void* childWin) { [(NSWindow*)id removeChildWindow: childWin]; } -void NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex(void *id, long index) { +void NSWindow_inst_RemoveTitlebarAccessoryViewControllerAtIndex(void *id, long index) { [(NSWindow*)id removeTitlebarAccessoryViewControllerAtIndex: index]; } -void NSWindow_inst_resetCursorRects(void *id) { +void NSWindow_inst_ResetCursorRects(void *id) { [(NSWindow*)id resetCursorRects]; } -void NSWindow_inst_resignKeyWindow(void *id) { +void NSWindow_inst_ResignKeyWindow(void *id) { [(NSWindow*)id resignKeyWindow]; } -void NSWindow_inst_resignMainWindow(void *id) { +void NSWindow_inst_ResignMainWindow(void *id) { [(NSWindow*)id resignMainWindow]; } -void NSWindow_inst_runToolbarCustomizationPalette(void *id, void* sender) { +void NSWindow_inst_RunToolbarCustomizationPalette(void *id, void* sender) { [(NSWindow*)id runToolbarCustomizationPalette: sender]; } -void NSWindow_inst_selectKeyViewFollowingView(void *id, void* view) { +void NSWindow_inst_SelectKeyViewFollowingView(void *id, void* view) { [(NSWindow*)id selectKeyViewFollowingView: view]; } -void NSWindow_inst_selectKeyViewPrecedingView(void *id, void* view) { +void NSWindow_inst_SelectKeyViewPrecedingView(void *id, void* view) { [(NSWindow*)id selectKeyViewPrecedingView: view]; } -void NSWindow_inst_selectNextKeyView(void *id, void* sender) { +void NSWindow_inst_SelectNextKeyView(void *id, void* sender) { [(NSWindow*)id selectNextKeyView: sender]; } -void NSWindow_inst_selectNextTab(void *id, void* sender) { +void NSWindow_inst_SelectNextTab(void *id, void* sender) { [(NSWindow*)id selectNextTab: sender]; } -void NSWindow_inst_selectPreviousKeyView(void *id, void* sender) { +void NSWindow_inst_SelectPreviousKeyView(void *id, void* sender) { [(NSWindow*)id selectPreviousKeyView: sender]; } -void NSWindow_inst_selectPreviousTab(void *id, void* sender) { +void NSWindow_inst_SelectPreviousTab(void *id, void* sender) { [(NSWindow*)id selectPreviousTab: sender]; } -void NSWindow_inst_sendEvent(void *id, void* event) { +void NSWindow_inst_SendEvent(void *id, void* event) { [(NSWindow*)id sendEvent: event]; } -void NSWindow_inst_setContentSize(void *id, NSSize size) { +void NSWindow_inst_SetContentSize(void *id, NSSize size) { [(NSWindow*)id setContentSize: size]; } -void NSWindow_inst_setDynamicDepthLimit(void *id, BOOL flag) { +void NSWindow_inst_SetDynamicDepthLimit(void *id, BOOL flag) { [(NSWindow*)id setDynamicDepthLimit: flag]; } -void NSWindow_inst_setFrame_display(void *id, NSRect frameRect, BOOL flag) { +void NSWindow_inst_SetFrameDisplay(void *id, NSRect frameRect, BOOL flag) { [(NSWindow*)id setFrame: frameRect display: flag]; } -void NSWindow_inst_setFrame_display_animate(void *id, NSRect frameRect, BOOL displayFlag, BOOL animateFlag) { +void NSWindow_inst_SetFrameDisplayAnimate(void *id, NSRect frameRect, BOOL displayFlag, BOOL animateFlag) { [(NSWindow*)id setFrame: frameRect display: displayFlag animate: animateFlag]; } -void NSWindow_inst_setFrameOrigin(void *id, NSPoint point) { +void NSWindow_inst_SetFrameOrigin(void *id, NSPoint point) { [(NSWindow*)id setFrameOrigin: point]; } -void NSWindow_inst_setFrameTopLeftPoint(void *id, NSPoint point) { +void NSWindow_inst_SetFrameTopLeftPoint(void *id, NSPoint point) { [(NSWindow*)id setFrameTopLeftPoint: point]; } -void NSWindow_inst_setIsMiniaturized(void *id, BOOL flag) { +void NSWindow_inst_SetIsMiniaturized(void *id, BOOL flag) { [(NSWindow*)id setIsMiniaturized: flag]; } -void NSWindow_inst_setIsVisible(void *id, BOOL flag) { +void NSWindow_inst_SetIsVisible(void *id, BOOL flag) { [(NSWindow*)id setIsVisible: flag]; } -void NSWindow_inst_setIsZoomed(void *id, BOOL flag) { +void NSWindow_inst_SetIsZoomed(void *id, BOOL flag) { [(NSWindow*)id setIsZoomed: flag]; } -void NSWindow_inst_setTitleWithRepresentedFilename(void *id, void* filename) { +void NSWindow_inst_SetTitleWithRepresentedFilename(void *id, void* filename) { [(NSWindow*)id setTitleWithRepresentedFilename: filename]; } -void NSWindow_inst_toggleFullScreen(void *id, void* sender) { +void NSWindow_inst_ToggleFullScreen(void *id, void* sender) { [(NSWindow*)id toggleFullScreen: sender]; } -void NSWindow_inst_toggleTabBar(void *id, void* sender) { +void NSWindow_inst_ToggleTabBar(void *id, void* sender) { [(NSWindow*)id toggleTabBar: sender]; } -void NSWindow_inst_toggleTabOverview(void *id, void* sender) { +void NSWindow_inst_ToggleTabOverview(void *id, void* sender) { [(NSWindow*)id toggleTabOverview: sender]; } -void NSWindow_inst_toggleToolbarShown(void *id, void* sender) { +void NSWindow_inst_ToggleToolbarShown(void *id, void* sender) { [(NSWindow*)id toggleToolbarShown: sender]; } -BOOL NSWindow_inst_tryToPerform_with(void *id, void* action, void* object) { +BOOL NSWindow_inst_TryToPerformWith(void *id, void* action, void* object) { return [(NSWindow*)id tryToPerform: action with: object]; } -void NSWindow_inst_unregisterDraggedTypes(void *id) { +void NSWindow_inst_UnregisterDraggedTypes(void *id) { [(NSWindow*)id unregisterDraggedTypes]; } -void NSWindow_inst_update(void *id) { +void NSWindow_inst_Update(void *id) { [(NSWindow*)id update]; } -void NSWindow_inst_updateConstraintsIfNeeded(void *id) { +void NSWindow_inst_UpdateConstraintsIfNeeded(void *id) { [(NSWindow*)id updateConstraintsIfNeeded]; } -void NSWindow_inst_visualizeConstraints(void *id, void* constraints) { +void NSWindow_inst_VisualizeConstraints(void *id, void* constraints) { [(NSWindow*)id visualizeConstraints: constraints]; } -void NSWindow_inst_zoom(void *id, void* sender) { +void NSWindow_inst_Zoom(void *id, void* sender) { [(NSWindow*)id zoom: sender]; } -void* NSWindow_inst_init(void *id) { +void* NSWindow_inst_Init(void *id) { return [(NSWindow*)id init]; } -void* NSWindow_inst_delegate(void *id) { +void* NSWindow_inst_Delegate(void *id) { return [(NSWindow*)id delegate]; } -void NSWindow_inst_setDelegate(void *id, void* value) { +void NSWindow_inst_SetDelegate(void *id, void* value) { [(NSWindow*)id setDelegate: value]; } -void* NSWindow_inst_contentViewController(void *id) { +void* NSWindow_inst_ContentViewController(void *id) { return [(NSWindow*)id contentViewController]; } -void NSWindow_inst_setContentViewController(void *id, void* value) { +void NSWindow_inst_SetContentViewController(void *id, void* value) { [(NSWindow*)id setContentViewController: value]; } -void* NSWindow_inst_contentView(void *id) { +void* NSWindow_inst_ContentView(void *id) { return [(NSWindow*)id contentView]; } -void NSWindow_inst_setContentView(void *id, void* value) { +void NSWindow_inst_SetContentView(void *id, void* value) { [(NSWindow*)id setContentView: value]; } -unsigned long NSWindow_inst_styleMask(void *id) { +unsigned long NSWindow_inst_StyleMask(void *id) { return [(NSWindow*)id styleMask]; } -void NSWindow_inst_setStyleMask(void *id, unsigned long value) { +void NSWindow_inst_SetStyleMask(void *id, unsigned long value) { [(NSWindow*)id setStyleMask: value]; } -BOOL NSWindow_inst_worksWhenModal(void *id) { +BOOL NSWindow_inst_WorksWhenModal(void *id) { return [(NSWindow*)id worksWhenModal]; } -double NSWindow_inst_alphaValue(void *id) { +double NSWindow_inst_AlphaValue(void *id) { return [(NSWindow*)id alphaValue]; } -void NSWindow_inst_setAlphaValue(void *id, double value) { +void NSWindow_inst_SetAlphaValue(void *id, double value) { [(NSWindow*)id setAlphaValue: value]; } -void* NSWindow_inst_backgroundColor(void *id) { +void* NSWindow_inst_BackgroundColor(void *id) { return [(NSWindow*)id backgroundColor]; } -void NSWindow_inst_setBackgroundColor(void *id, void* value) { +void NSWindow_inst_SetBackgroundColor(void *id, void* value) { [(NSWindow*)id setBackgroundColor: value]; } -BOOL NSWindow_inst_canHide(void *id) { +BOOL NSWindow_inst_CanHide(void *id) { return [(NSWindow*)id canHide]; } -void NSWindow_inst_setCanHide(void *id, BOOL value) { +void NSWindow_inst_SetCanHide(void *id, BOOL value) { [(NSWindow*)id setCanHide: value]; } -BOOL NSWindow_inst_isOnActiveSpace(void *id) { +BOOL NSWindow_inst_IsOnActiveSpace(void *id) { return [(NSWindow*)id isOnActiveSpace]; } -BOOL NSWindow_inst_hidesOnDeactivate(void *id) { +BOOL NSWindow_inst_HidesOnDeactivate(void *id) { return [(NSWindow*)id hidesOnDeactivate]; } -void NSWindow_inst_setHidesOnDeactivate(void *id, BOOL value) { +void NSWindow_inst_SetHidesOnDeactivate(void *id, BOOL value) { [(NSWindow*)id setHidesOnDeactivate: value]; } -unsigned long NSWindow_inst_collectionBehavior(void *id) { +unsigned long NSWindow_inst_CollectionBehavior(void *id) { return [(NSWindow*)id collectionBehavior]; } -void NSWindow_inst_setCollectionBehavior(void *id, unsigned long value) { +void NSWindow_inst_SetCollectionBehavior(void *id, unsigned long value) { [(NSWindow*)id setCollectionBehavior: value]; } -BOOL NSWindow_inst_isOpaque(void *id) { +BOOL NSWindow_inst_IsOpaque(void *id) { return [(NSWindow*)id isOpaque]; } -void NSWindow_inst_setOpaque(void *id, BOOL value) { +void NSWindow_inst_SetOpaque(void *id, BOOL value) { [(NSWindow*)id setOpaque: value]; } -BOOL NSWindow_inst_hasShadow(void *id) { +BOOL NSWindow_inst_HasShadow(void *id) { return [(NSWindow*)id hasShadow]; } -void NSWindow_inst_setHasShadow(void *id, BOOL value) { +void NSWindow_inst_SetHasShadow(void *id, BOOL value) { [(NSWindow*)id setHasShadow: value]; } -BOOL NSWindow_inst_preventsApplicationTerminationWhenModal(void *id) { +BOOL NSWindow_inst_PreventsApplicationTerminationWhenModal(void *id) { return [(NSWindow*)id preventsApplicationTerminationWhenModal]; } -void NSWindow_inst_setPreventsApplicationTerminationWhenModal(void *id, BOOL value) { +void NSWindow_inst_SetPreventsApplicationTerminationWhenModal(void *id, BOOL value) { [(NSWindow*)id setPreventsApplicationTerminationWhenModal: value]; } -BOOL NSWindow_inst_hasDynamicDepthLimit(void *id) { +BOOL NSWindow_inst_HasDynamicDepthLimit(void *id) { return [(NSWindow*)id hasDynamicDepthLimit]; } -long NSWindow_inst_windowNumber(void *id) { +long NSWindow_inst_WindowNumber(void *id) { return [(NSWindow*)id windowNumber]; } -void* NSWindow_inst_deviceDescription(void *id) { +void* NSWindow_inst_DeviceDescription(void *id) { return [(NSWindow*)id deviceDescription]; } -BOOL NSWindow_inst_canBecomeVisibleWithoutLogin(void *id) { +BOOL NSWindow_inst_CanBecomeVisibleWithoutLogin(void *id) { return [(NSWindow*)id canBecomeVisibleWithoutLogin]; } -void NSWindow_inst_setCanBecomeVisibleWithoutLogin(void *id, BOOL value) { +void NSWindow_inst_SetCanBecomeVisibleWithoutLogin(void *id, BOOL value) { [(NSWindow*)id setCanBecomeVisibleWithoutLogin: value]; } -unsigned long NSWindow_inst_backingType(void *id) { +unsigned long NSWindow_inst_BackingType(void *id) { return [(NSWindow*)id backingType]; } -void NSWindow_inst_setBackingType(void *id, unsigned long value) { +void NSWindow_inst_SetBackingType(void *id, unsigned long value) { [(NSWindow*)id setBackingType: value]; } -void* NSWindow_inst_attachedSheet(void *id) { +void* NSWindow_inst_AttachedSheet(void *id) { return [(NSWindow*)id attachedSheet]; } -BOOL NSWindow_inst_isSheet(void *id) { +BOOL NSWindow_inst_IsSheet(void *id) { return [(NSWindow*)id isSheet]; } -void* NSWindow_inst_sheetParent(void *id) { +void* NSWindow_inst_SheetParent(void *id) { return [(NSWindow*)id sheetParent]; } -void* NSWindow_inst_sheets(void *id) { +void* NSWindow_inst_Sheets(void *id) { return [(NSWindow*)id sheets]; } -NSRect NSWindow_inst_frame(void *id) { +NSRect NSWindow_inst_Frame(void *id) { return [(NSWindow*)id frame]; } -NSSize NSWindow_inst_aspectRatio(void *id) { +NSSize NSWindow_inst_AspectRatio(void *id) { return [(NSWindow*)id aspectRatio]; } -void NSWindow_inst_setAspectRatio(void *id, NSSize value) { +void NSWindow_inst_SetAspectRatio(void *id, NSSize value) { [(NSWindow*)id setAspectRatio: value]; } -NSSize NSWindow_inst_minSize(void *id) { +NSSize NSWindow_inst_MinSize(void *id) { return [(NSWindow*)id minSize]; } -void NSWindow_inst_setMinSize(void *id, NSSize value) { +void NSWindow_inst_SetMinSize(void *id, NSSize value) { [(NSWindow*)id setMinSize: value]; } -NSSize NSWindow_inst_maxSize(void *id) { +NSSize NSWindow_inst_MaxSize(void *id) { return [(NSWindow*)id maxSize]; } -void NSWindow_inst_setMaxSize(void *id, NSSize value) { +void NSWindow_inst_SetMaxSize(void *id, NSSize value) { [(NSWindow*)id setMaxSize: value]; } -BOOL NSWindow_inst_isZoomed(void *id) { +BOOL NSWindow_inst_IsZoomed(void *id) { return [(NSWindow*)id isZoomed]; } -NSSize NSWindow_inst_resizeIncrements(void *id) { +NSSize NSWindow_inst_ResizeIncrements(void *id) { return [(NSWindow*)id resizeIncrements]; } -void NSWindow_inst_setResizeIncrements(void *id, NSSize value) { +void NSWindow_inst_SetResizeIncrements(void *id, NSSize value) { [(NSWindow*)id setResizeIncrements: value]; } -BOOL NSWindow_inst_preservesContentDuringLiveResize(void *id) { +BOOL NSWindow_inst_PreservesContentDuringLiveResize(void *id) { return [(NSWindow*)id preservesContentDuringLiveResize]; } -void NSWindow_inst_setPreservesContentDuringLiveResize(void *id, BOOL value) { +void NSWindow_inst_SetPreservesContentDuringLiveResize(void *id, BOOL value) { [(NSWindow*)id setPreservesContentDuringLiveResize: value]; } -BOOL NSWindow_inst_inLiveResize(void *id) { +BOOL NSWindow_inst_InLiveResize(void *id) { return [(NSWindow*)id inLiveResize]; } -NSSize NSWindow_inst_contentAspectRatio(void *id) { +NSSize NSWindow_inst_ContentAspectRatio(void *id) { return [(NSWindow*)id contentAspectRatio]; } -void NSWindow_inst_setContentAspectRatio(void *id, NSSize value) { +void NSWindow_inst_SetContentAspectRatio(void *id, NSSize value) { [(NSWindow*)id setContentAspectRatio: value]; } -NSSize NSWindow_inst_contentMinSize(void *id) { +NSSize NSWindow_inst_ContentMinSize(void *id) { return [(NSWindow*)id contentMinSize]; } -void NSWindow_inst_setContentMinSize(void *id, NSSize value) { +void NSWindow_inst_SetContentMinSize(void *id, NSSize value) { [(NSWindow*)id setContentMinSize: value]; } -NSSize NSWindow_inst_contentMaxSize(void *id) { +NSSize NSWindow_inst_ContentMaxSize(void *id) { return [(NSWindow*)id contentMaxSize]; } -void NSWindow_inst_setContentMaxSize(void *id, NSSize value) { +void NSWindow_inst_SetContentMaxSize(void *id, NSSize value) { [(NSWindow*)id setContentMaxSize: value]; } -NSSize NSWindow_inst_contentResizeIncrements(void *id) { +NSSize NSWindow_inst_ContentResizeIncrements(void *id) { return [(NSWindow*)id contentResizeIncrements]; } -void NSWindow_inst_setContentResizeIncrements(void *id, NSSize value) { +void NSWindow_inst_SetContentResizeIncrements(void *id, NSSize value) { [(NSWindow*)id setContentResizeIncrements: value]; } -void* NSWindow_inst_contentLayoutGuide(void *id) { +void* NSWindow_inst_ContentLayoutGuide(void *id) { return [(NSWindow*)id contentLayoutGuide]; } -NSRect NSWindow_inst_contentLayoutRect(void *id) { +NSRect NSWindow_inst_ContentLayoutRect(void *id) { return [(NSWindow*)id contentLayoutRect]; } -NSSize NSWindow_inst_maxFullScreenContentSize(void *id) { +NSSize NSWindow_inst_MaxFullScreenContentSize(void *id) { return [(NSWindow*)id maxFullScreenContentSize]; } -void NSWindow_inst_setMaxFullScreenContentSize(void *id, NSSize value) { +void NSWindow_inst_SetMaxFullScreenContentSize(void *id, NSSize value) { [(NSWindow*)id setMaxFullScreenContentSize: value]; } -NSSize NSWindow_inst_minFullScreenContentSize(void *id) { +NSSize NSWindow_inst_MinFullScreenContentSize(void *id) { return [(NSWindow*)id minFullScreenContentSize]; } -void NSWindow_inst_setMinFullScreenContentSize(void *id, NSSize value) { +void NSWindow_inst_SetMinFullScreenContentSize(void *id, NSSize value) { [(NSWindow*)id setMinFullScreenContentSize: value]; } -long NSWindow_inst_level(void *id) { +long NSWindow_inst_Level(void *id) { return [(NSWindow*)id level]; } -void NSWindow_inst_setLevel(void *id, long value) { +void NSWindow_inst_SetLevel(void *id, long value) { [(NSWindow*)id setLevel: value]; } -BOOL NSWindow_inst_isVisible(void *id) { +BOOL NSWindow_inst_IsVisible(void *id) { return [(NSWindow*)id isVisible]; } -BOOL NSWindow_inst_isKeyWindow(void *id) { +BOOL NSWindow_inst_IsKeyWindow(void *id) { return [(NSWindow*)id isKeyWindow]; } -BOOL NSWindow_inst_canBecomeKeyWindow(void *id) { +BOOL NSWindow_inst_CanBecomeKeyWindow(void *id) { return [(NSWindow*)id canBecomeKeyWindow]; } -BOOL NSWindow_inst_isMainWindow(void *id) { +BOOL NSWindow_inst_IsMainWindow(void *id) { return [(NSWindow*)id isMainWindow]; } -BOOL NSWindow_inst_canBecomeMainWindow(void *id) { +BOOL NSWindow_inst_CanBecomeMainWindow(void *id) { return [(NSWindow*)id canBecomeMainWindow]; } -void* NSWindow_inst_childWindows(void *id) { +void* NSWindow_inst_ChildWindows(void *id) { return [(NSWindow*)id childWindows]; } -void* NSWindow_inst_parentWindow(void *id) { +void* NSWindow_inst_ParentWindow(void *id) { return [(NSWindow*)id parentWindow]; } -void NSWindow_inst_setParentWindow(void *id, void* value) { +void NSWindow_inst_SetParentWindow(void *id, void* value) { [(NSWindow*)id setParentWindow: value]; } -BOOL NSWindow_inst_isExcludedFromWindowsMenu(void *id) { +BOOL NSWindow_inst_IsExcludedFromWindowsMenu(void *id) { return [(NSWindow*)id isExcludedFromWindowsMenu]; } -void NSWindow_inst_setExcludedFromWindowsMenu(void *id, BOOL value) { +void NSWindow_inst_SetExcludedFromWindowsMenu(void *id, BOOL value) { [(NSWindow*)id setExcludedFromWindowsMenu: value]; } -BOOL NSWindow_inst_areCursorRectsEnabled(void *id) { +BOOL NSWindow_inst_AreCursorRectsEnabled(void *id) { return [(NSWindow*)id areCursorRectsEnabled]; } -BOOL NSWindow_inst_showsToolbarButton(void *id) { +BOOL NSWindow_inst_ShowsToolbarButton(void *id) { return [(NSWindow*)id showsToolbarButton]; } -void NSWindow_inst_setShowsToolbarButton(void *id, BOOL value) { +void NSWindow_inst_SetShowsToolbarButton(void *id, BOOL value) { [(NSWindow*)id setShowsToolbarButton: value]; } -BOOL NSWindow_inst_titlebarAppearsTransparent(void *id) { +BOOL NSWindow_inst_TitlebarAppearsTransparent(void *id) { return [(NSWindow*)id titlebarAppearsTransparent]; } -void NSWindow_inst_setTitlebarAppearsTransparent(void *id, BOOL value) { +void NSWindow_inst_SetTitlebarAppearsTransparent(void *id, BOOL value) { [(NSWindow*)id setTitlebarAppearsTransparent: value]; } -void* NSWindow_inst_titlebarAccessoryViewControllers(void *id) { +void* NSWindow_inst_TitlebarAccessoryViewControllers(void *id) { return [(NSWindow*)id titlebarAccessoryViewControllers]; } -void NSWindow_inst_setTitlebarAccessoryViewControllers(void *id, void* value) { +void NSWindow_inst_SetTitlebarAccessoryViewControllers(void *id, void* value) { [(NSWindow*)id setTitlebarAccessoryViewControllers: value]; } -void* NSWindow_inst_tabbedWindows(void *id) { +void* NSWindow_inst_TabbedWindows(void *id) { return [(NSWindow*)id tabbedWindows]; } -BOOL NSWindow_inst_allowsToolTipsWhenApplicationIsInactive(void *id) { +BOOL NSWindow_inst_AllowsToolTipsWhenApplicationIsInactive(void *id) { return [(NSWindow*)id allowsToolTipsWhenApplicationIsInactive]; } -void NSWindow_inst_setAllowsToolTipsWhenApplicationIsInactive(void *id, BOOL value) { +void NSWindow_inst_SetAllowsToolTipsWhenApplicationIsInactive(void *id, BOOL value) { [(NSWindow*)id setAllowsToolTipsWhenApplicationIsInactive: value]; } -void* NSWindow_inst_currentEvent(void *id) { +void* NSWindow_inst_CurrentEvent(void *id) { return [(NSWindow*)id currentEvent]; } -void* NSWindow_inst_initialFirstResponder(void *id) { +void* NSWindow_inst_InitialFirstResponder(void *id) { return [(NSWindow*)id initialFirstResponder]; } -void NSWindow_inst_setInitialFirstResponder(void *id, void* value) { +void NSWindow_inst_SetInitialFirstResponder(void *id, void* value) { [(NSWindow*)id setInitialFirstResponder: value]; } -BOOL NSWindow_inst_autorecalculatesKeyViewLoop(void *id) { +BOOL NSWindow_inst_AutorecalculatesKeyViewLoop(void *id) { return [(NSWindow*)id autorecalculatesKeyViewLoop]; } -void NSWindow_inst_setAutorecalculatesKeyViewLoop(void *id, BOOL value) { +void NSWindow_inst_SetAutorecalculatesKeyViewLoop(void *id, BOOL value) { [(NSWindow*)id setAutorecalculatesKeyViewLoop: value]; } -BOOL NSWindow_inst_acceptsMouseMovedEvents(void *id) { +BOOL NSWindow_inst_AcceptsMouseMovedEvents(void *id) { return [(NSWindow*)id acceptsMouseMovedEvents]; } -void NSWindow_inst_setAcceptsMouseMovedEvents(void *id, BOOL value) { +void NSWindow_inst_SetAcceptsMouseMovedEvents(void *id, BOOL value) { [(NSWindow*)id setAcceptsMouseMovedEvents: value]; } -BOOL NSWindow_inst_ignoresMouseEvents(void *id) { +BOOL NSWindow_inst_IgnoresMouseEvents(void *id) { return [(NSWindow*)id ignoresMouseEvents]; } -void NSWindow_inst_setIgnoresMouseEvents(void *id, BOOL value) { +void NSWindow_inst_SetIgnoresMouseEvents(void *id, BOOL value) { [(NSWindow*)id setIgnoresMouseEvents: value]; } -NSPoint NSWindow_inst_mouseLocationOutsideOfEventStream(void *id) { +NSPoint NSWindow_inst_MouseLocationOutsideOfEventStream(void *id) { return [(NSWindow*)id mouseLocationOutsideOfEventStream]; } -BOOL NSWindow_inst_isRestorable(void *id) { +BOOL NSWindow_inst_IsRestorable(void *id) { return [(NSWindow*)id isRestorable]; } -void NSWindow_inst_setRestorable(void *id, BOOL value) { +void NSWindow_inst_SetRestorable(void *id, BOOL value) { [(NSWindow*)id setRestorable: value]; } -BOOL NSWindow_inst_viewsNeedDisplay(void *id) { +BOOL NSWindow_inst_ViewsNeedDisplay(void *id) { return [(NSWindow*)id viewsNeedDisplay]; } -void NSWindow_inst_setViewsNeedDisplay(void *id, BOOL value) { +void NSWindow_inst_SetViewsNeedDisplay(void *id, BOOL value) { [(NSWindow*)id setViewsNeedDisplay: value]; } -BOOL NSWindow_inst_allowsConcurrentViewDrawing(void *id) { +BOOL NSWindow_inst_AllowsConcurrentViewDrawing(void *id) { return [(NSWindow*)id allowsConcurrentViewDrawing]; } -void NSWindow_inst_setAllowsConcurrentViewDrawing(void *id, BOOL value) { +void NSWindow_inst_SetAllowsConcurrentViewDrawing(void *id, BOOL value) { [(NSWindow*)id setAllowsConcurrentViewDrawing: value]; } -BOOL NSWindow_inst_isDocumentEdited(void *id) { +BOOL NSWindow_inst_IsDocumentEdited(void *id) { return [(NSWindow*)id isDocumentEdited]; } -void NSWindow_inst_setDocumentEdited(void *id, BOOL value) { +void NSWindow_inst_SetDocumentEdited(void *id, BOOL value) { [(NSWindow*)id setDocumentEdited: value]; } -double NSWindow_inst_backingScaleFactor(void *id) { +double NSWindow_inst_BackingScaleFactor(void *id) { return [(NSWindow*)id backingScaleFactor]; } -void* NSWindow_inst_title(void *id) { +void* NSWindow_inst_Title(void *id) { return [(NSWindow*)id title]; } -void NSWindow_inst_setTitle(void *id, void* value) { +void NSWindow_inst_SetTitle(void *id, void* value) { [(NSWindow*)id setTitle: value]; } -void* NSWindow_inst_subtitle(void *id) { +void* NSWindow_inst_Subtitle(void *id) { return [(NSWindow*)id subtitle]; } -void NSWindow_inst_setSubtitle(void *id, void* value) { +void NSWindow_inst_SetSubtitle(void *id, void* value) { [(NSWindow*)id setSubtitle: value]; } -long NSWindow_inst_titleVisibility(void *id) { +long NSWindow_inst_TitleVisibility(void *id) { return [(NSWindow*)id titleVisibility]; } -void NSWindow_inst_setTitleVisibility(void *id, long value) { +void NSWindow_inst_SetTitleVisibility(void *id, long value) { [(NSWindow*)id setTitleVisibility: value]; } -void* NSWindow_inst_representedFilename(void *id) { +void* NSWindow_inst_RepresentedFilename(void *id) { return [(NSWindow*)id representedFilename]; } -void NSWindow_inst_setRepresentedFilename(void *id, void* value) { +void NSWindow_inst_SetRepresentedFilename(void *id, void* value) { [(NSWindow*)id setRepresentedFilename: value]; } -void* NSWindow_inst_representedURL(void *id) { +void* NSWindow_inst_RepresentedURL(void *id) { return [(NSWindow*)id representedURL]; } -void NSWindow_inst_setRepresentedURL(void *id, void* value) { +void NSWindow_inst_SetRepresentedURL(void *id, void* value) { [(NSWindow*)id setRepresentedURL: value]; } -void* NSWindow_inst_screen(void *id) { +void* NSWindow_inst_Screen(void *id) { return [(NSWindow*)id screen]; } -void* NSWindow_inst_deepestScreen(void *id) { +void* NSWindow_inst_DeepestScreen(void *id) { return [(NSWindow*)id deepestScreen]; } -BOOL NSWindow_inst_displaysWhenScreenProfileChanges(void *id) { +BOOL NSWindow_inst_DisplaysWhenScreenProfileChanges(void *id) { return [(NSWindow*)id displaysWhenScreenProfileChanges]; } -void NSWindow_inst_setDisplaysWhenScreenProfileChanges(void *id, BOOL value) { +void NSWindow_inst_SetDisplaysWhenScreenProfileChanges(void *id, BOOL value) { [(NSWindow*)id setDisplaysWhenScreenProfileChanges: value]; } -BOOL NSWindow_inst_isMovableByWindowBackground(void *id) { +BOOL NSWindow_inst_IsMovableByWindowBackground(void *id) { return [(NSWindow*)id isMovableByWindowBackground]; } -void NSWindow_inst_setMovableByWindowBackground(void *id, BOOL value) { +void NSWindow_inst_SetMovableByWindowBackground(void *id, BOOL value) { [(NSWindow*)id setMovableByWindowBackground: value]; } -BOOL NSWindow_inst_isMovable(void *id) { +BOOL NSWindow_inst_IsMovable(void *id) { return [(NSWindow*)id isMovable]; } -void NSWindow_inst_setMovable(void *id, BOOL value) { +void NSWindow_inst_SetMovable(void *id, BOOL value) { [(NSWindow*)id setMovable: value]; } -BOOL NSWindow_inst_isReleasedWhenClosed(void *id) { +BOOL NSWindow_inst_IsReleasedWhenClosed(void *id) { return [(NSWindow*)id isReleasedWhenClosed]; } -void NSWindow_inst_setReleasedWhenClosed(void *id, BOOL value) { +void NSWindow_inst_SetReleasedWhenClosed(void *id, BOOL value) { [(NSWindow*)id setReleasedWhenClosed: value]; } -BOOL NSWindow_inst_isMiniaturized(void *id) { +BOOL NSWindow_inst_IsMiniaturized(void *id) { return [(NSWindow*)id isMiniaturized]; } -void* NSWindow_inst_miniwindowImage(void *id) { +void* NSWindow_inst_MiniwindowImage(void *id) { return [(NSWindow*)id miniwindowImage]; } -void NSWindow_inst_setMiniwindowImage(void *id, void* value) { +void NSWindow_inst_SetMiniwindowImage(void *id, void* value) { [(NSWindow*)id setMiniwindowImage: value]; } -void* NSWindow_inst_miniwindowTitle(void *id) { +void* NSWindow_inst_MiniwindowTitle(void *id) { return [(NSWindow*)id miniwindowTitle]; } -void NSWindow_inst_setMiniwindowTitle(void *id, void* value) { +void NSWindow_inst_SetMiniwindowTitle(void *id, void* value) { [(NSWindow*)id setMiniwindowTitle: value]; } -BOOL NSWindow_inst_hasCloseBox(void *id) { +BOOL NSWindow_inst_HasCloseBox(void *id) { return [(NSWindow*)id hasCloseBox]; } -BOOL NSWindow_inst_hasTitleBar(void *id) { +BOOL NSWindow_inst_HasTitleBar(void *id) { return [(NSWindow*)id hasTitleBar]; } -BOOL NSWindow_inst_isModalPanel(void *id) { +BOOL NSWindow_inst_IsModalPanel(void *id) { return [(NSWindow*)id isModalPanel]; } -BOOL NSWindow_inst_isFloatingPanel(void *id) { +BOOL NSWindow_inst_IsFloatingPanel(void *id) { return [(NSWindow*)id isFloatingPanel]; } -BOOL NSWindow_inst_isZoomable(void *id) { +BOOL NSWindow_inst_IsZoomable(void *id) { return [(NSWindow*)id isZoomable]; } -BOOL NSWindow_inst_isResizable(void *id) { +BOOL NSWindow_inst_IsResizable(void *id) { return [(NSWindow*)id isResizable]; } -BOOL NSWindow_inst_isMiniaturizable(void *id) { +BOOL NSWindow_inst_IsMiniaturizable(void *id) { return [(NSWindow*)id isMiniaturizable]; } -long NSWindow_inst_orderedIndex(void *id) { +long NSWindow_inst_OrderedIndex(void *id) { return [(NSWindow*)id orderedIndex]; } -void NSWindow_inst_setOrderedIndex(void *id, long value) { +void NSWindow_inst_SetOrderedIndex(void *id, long value) { [(NSWindow*)id setOrderedIndex: value]; } @@ -5331,2177 +5331,2177 @@ void* NSWorkspace_inst_URLsForApplicationsWithBundleIdentifier(void *id, void* b URLsForApplicationsWithBundleIdentifier: bundleIdentifier]; } -void NSWorkspace_inst_activateFileViewerSelectingURLs(void *id, void* fileURLs) { +void NSWorkspace_inst_ActivateFileViewerSelectingURLs(void *id, void* fileURLs) { [(NSWorkspace*)id activateFileViewerSelectingURLs: fileURLs]; } -void* NSWorkspace_inst_desktopImageOptionsForScreen(void *id, void* screen) { +void* NSWorkspace_inst_DesktopImageOptionsForScreen(void *id, void* screen) { return [(NSWorkspace*)id desktopImageOptionsForScreen: screen]; } -void* NSWorkspace_inst_desktopImageURLForScreen(void *id, void* screen) { +void* NSWorkspace_inst_DesktopImageURLForScreen(void *id, void* screen) { return [(NSWorkspace*)id desktopImageURLForScreen: screen]; } -long NSWorkspace_inst_extendPowerOffBy(void *id, long requested) { +long NSWorkspace_inst_ExtendPowerOffBy(void *id, long requested) { return [(NSWorkspace*)id extendPowerOffBy: requested]; } -void NSWorkspace_inst_hideOtherApplications(void *id) { +void NSWorkspace_inst_HideOtherApplications(void *id) { [(NSWorkspace*)id hideOtherApplications]; } -void* NSWorkspace_inst_iconForFile(void *id, void* fullPath) { +void* NSWorkspace_inst_IconForFile(void *id, void* fullPath) { return [(NSWorkspace*)id iconForFile: fullPath]; } -void* NSWorkspace_inst_iconForFiles(void *id, void* fullPaths) { +void* NSWorkspace_inst_IconForFiles(void *id, void* fullPaths) { return [(NSWorkspace*)id iconForFiles: fullPaths]; } -BOOL NSWorkspace_inst_isFilePackageAtPath(void *id, void* fullPath) { +BOOL NSWorkspace_inst_IsFilePackageAtPath(void *id, void* fullPath) { return [(NSWorkspace*)id isFilePackageAtPath: fullPath]; } -void NSWorkspace_inst_noteFileSystemChanged(void *id, void* path) { +void NSWorkspace_inst_NoteFileSystemChanged(void *id, void* path) { [(NSWorkspace*)id noteFileSystemChanged: path]; } -BOOL NSWorkspace_inst_openURL(void *id, void* url) { +BOOL NSWorkspace_inst_OpenURL(void *id, void* url) { return [(NSWorkspace*)id openURL: url]; } -BOOL NSWorkspace_inst_selectFile_inFileViewerRootedAtPath(void *id, void* fullPath, void* rootFullPath) { +BOOL NSWorkspace_inst_SelectFileInFileViewerRootedAtPath(void *id, void* fullPath, void* rootFullPath) { return [(NSWorkspace*)id selectFile: fullPath inFileViewerRootedAtPath: rootFullPath]; } -BOOL NSWorkspace_inst_showSearchResultsForQueryString(void *id, void* queryString) { +BOOL NSWorkspace_inst_ShowSearchResultsForQueryString(void *id, void* queryString) { return [(NSWorkspace*)id showSearchResultsForQueryString: queryString]; } -BOOL NSWorkspace_inst_unmountAndEjectDeviceAtPath(void *id, void* path) { +BOOL NSWorkspace_inst_UnmountAndEjectDeviceAtPath(void *id, void* path) { return [(NSWorkspace*)id unmountAndEjectDeviceAtPath: path]; } -void* NSWorkspace_inst_init(void *id) { +void* NSWorkspace_inst_Init(void *id) { return [(NSWorkspace*)id init]; } -void* NSWorkspace_inst_frontmostApplication(void *id) { +void* NSWorkspace_inst_FrontmostApplication(void *id) { return [(NSWorkspace*)id frontmostApplication]; } -void* NSWorkspace_inst_runningApplications(void *id) { +void* NSWorkspace_inst_RunningApplications(void *id) { return [(NSWorkspace*)id runningApplications]; } -void* NSWorkspace_inst_menuBarOwningApplication(void *id) { +void* NSWorkspace_inst_MenuBarOwningApplication(void *id) { return [(NSWorkspace*)id menuBarOwningApplication]; } -void* NSWorkspace_inst_fileLabels(void *id) { +void* NSWorkspace_inst_FileLabels(void *id) { return [(NSWorkspace*)id fileLabels]; } -void* NSWorkspace_inst_fileLabelColors(void *id) { +void* NSWorkspace_inst_FileLabelColors(void *id) { return [(NSWorkspace*)id fileLabelColors]; } -BOOL NSWorkspace_inst_accessibilityDisplayShouldDifferentiateWithoutColor(void *id) { +BOOL NSWorkspace_inst_AccessibilityDisplayShouldDifferentiateWithoutColor(void *id) { return [(NSWorkspace*)id accessibilityDisplayShouldDifferentiateWithoutColor]; } -BOOL NSWorkspace_inst_accessibilityDisplayShouldIncreaseContrast(void *id) { +BOOL NSWorkspace_inst_AccessibilityDisplayShouldIncreaseContrast(void *id) { return [(NSWorkspace*)id accessibilityDisplayShouldIncreaseContrast]; } -BOOL NSWorkspace_inst_accessibilityDisplayShouldReduceTransparency(void *id) { +BOOL NSWorkspace_inst_AccessibilityDisplayShouldReduceTransparency(void *id) { return [(NSWorkspace*)id accessibilityDisplayShouldReduceTransparency]; } -BOOL NSWorkspace_inst_accessibilityDisplayShouldInvertColors(void *id) { +BOOL NSWorkspace_inst_AccessibilityDisplayShouldInvertColors(void *id) { return [(NSWorkspace*)id accessibilityDisplayShouldInvertColors]; } -BOOL NSWorkspace_inst_accessibilityDisplayShouldReduceMotion(void *id) { +BOOL NSWorkspace_inst_AccessibilityDisplayShouldReduceMotion(void *id) { return [(NSWorkspace*)id accessibilityDisplayShouldReduceMotion]; } -BOOL NSWorkspace_inst_isSwitchControlEnabled(void *id) { +BOOL NSWorkspace_inst_IsSwitchControlEnabled(void *id) { return [(NSWorkspace*)id isSwitchControlEnabled]; } -BOOL NSWorkspace_inst_isVoiceOverEnabled(void *id) { +BOOL NSWorkspace_inst_IsVoiceOverEnabled(void *id) { return [(NSWorkspace*)id isVoiceOverEnabled]; } -void* NSColor_inst_blendedColorWithFraction_ofColor(void *id, double fraction, void* color) { +void* NSColor_inst_BlendedColorWithFractionOfColor(void *id, double fraction, void* color) { return [(NSColor*)id blendedColorWithFraction: fraction ofColor: color]; } -void* NSColor_inst_colorWithAlphaComponent(void *id, double alpha) { +void* NSColor_inst_ColorWithAlphaComponent(void *id, double alpha) { return [(NSColor*)id colorWithAlphaComponent: alpha]; } -void NSColor_inst_drawSwatchInRect(void *id, NSRect rect) { +void NSColor_inst_DrawSwatchInRect(void *id, NSRect rect) { [(NSColor*)id drawSwatchInRect: rect]; } -void* NSColor_inst_highlightWithLevel(void *id, double val) { +void* NSColor_inst_HighlightWithLevel(void *id, double val) { return [(NSColor*)id highlightWithLevel: val]; } -void NSColor_inst_set(void *id) { +void NSColor_inst_Set(void *id) { [(NSColor*)id set]; } -void NSColor_inst_setFill(void *id) { +void NSColor_inst_SetFill(void *id) { [(NSColor*)id setFill]; } -void NSColor_inst_setStroke(void *id) { +void NSColor_inst_SetStroke(void *id) { [(NSColor*)id setStroke]; } -void* NSColor_inst_shadowWithLevel(void *id, double val) { +void* NSColor_inst_ShadowWithLevel(void *id, double val) { return [(NSColor*)id shadowWithLevel: val]; } -void NSColor_inst_writeToPasteboard(void *id, void* pasteBoard) { +void NSColor_inst_WriteToPasteboard(void *id, void* pasteBoard) { [(NSColor*)id writeToPasteboard: pasteBoard]; } -void* NSColor_inst_init(void *id) { +void* NSColor_inst_Init(void *id) { return [(NSColor*)id init]; } -long NSColor_inst_numberOfComponents(void *id) { +long NSColor_inst_NumberOfComponents(void *id) { return [(NSColor*)id numberOfComponents]; } -double NSColor_inst_alphaComponent(void *id) { +double NSColor_inst_AlphaComponent(void *id) { return [(NSColor*)id alphaComponent]; } -double NSColor_inst_whiteComponent(void *id) { +double NSColor_inst_WhiteComponent(void *id) { return [(NSColor*)id whiteComponent]; } -double NSColor_inst_redComponent(void *id) { +double NSColor_inst_RedComponent(void *id) { return [(NSColor*)id redComponent]; } -double NSColor_inst_greenComponent(void *id) { +double NSColor_inst_GreenComponent(void *id) { return [(NSColor*)id greenComponent]; } -double NSColor_inst_blueComponent(void *id) { +double NSColor_inst_BlueComponent(void *id) { return [(NSColor*)id blueComponent]; } -double NSColor_inst_cyanComponent(void *id) { +double NSColor_inst_CyanComponent(void *id) { return [(NSColor*)id cyanComponent]; } -double NSColor_inst_magentaComponent(void *id) { +double NSColor_inst_MagentaComponent(void *id) { return [(NSColor*)id magentaComponent]; } -double NSColor_inst_yellowComponent(void *id) { +double NSColor_inst_YellowComponent(void *id) { return [(NSColor*)id yellowComponent]; } -double NSColor_inst_blackComponent(void *id) { +double NSColor_inst_BlackComponent(void *id) { return [(NSColor*)id blackComponent]; } -double NSColor_inst_hueComponent(void *id) { +double NSColor_inst_HueComponent(void *id) { return [(NSColor*)id hueComponent]; } -double NSColor_inst_saturationComponent(void *id) { +double NSColor_inst_SaturationComponent(void *id) { return [(NSColor*)id saturationComponent]; } -double NSColor_inst_brightnessComponent(void *id) { +double NSColor_inst_BrightnessComponent(void *id) { return [(NSColor*)id brightnessComponent]; } -void* NSColor_inst_localizedCatalogNameComponent(void *id) { +void* NSColor_inst_LocalizedCatalogNameComponent(void *id) { return [(NSColor*)id localizedCatalogNameComponent]; } -void* NSColor_inst_localizedColorNameComponent(void *id) { +void* NSColor_inst_LocalizedColorNameComponent(void *id) { return [(NSColor*)id localizedColorNameComponent]; } -void NSTextView_inst_alignJustified(void *id, void* sender) { +void NSTextView_inst_AlignJustified(void *id, void* sender) { [(NSTextView*)id alignJustified: sender]; } -void NSTextView_inst_breakUndoCoalescing(void *id) { +void NSTextView_inst_BreakUndoCoalescing(void *id) { [(NSTextView*)id breakUndoCoalescing]; } -void NSTextView_inst_changeAttributes(void *id, void* sender) { +void NSTextView_inst_ChangeAttributes(void *id, void* sender) { [(NSTextView*)id changeAttributes: sender]; } -void NSTextView_inst_changeColor(void *id, void* sender) { +void NSTextView_inst_ChangeColor(void *id, void* sender) { [(NSTextView*)id changeColor: sender]; } -void NSTextView_inst_changeDocumentBackgroundColor(void *id, void* sender) { +void NSTextView_inst_ChangeDocumentBackgroundColor(void *id, void* sender) { [(NSTextView*)id changeDocumentBackgroundColor: sender]; } -void NSTextView_inst_changeLayoutOrientation(void *id, void* sender) { +void NSTextView_inst_ChangeLayoutOrientation(void *id, void* sender) { [(NSTextView*)id changeLayoutOrientation: sender]; } -unsigned long NSTextView_inst_characterIndexForInsertionAtPoint(void *id, NSPoint point) { +unsigned long NSTextView_inst_CharacterIndexForInsertionAtPoint(void *id, NSPoint point) { return [(NSTextView*)id characterIndexForInsertionAtPoint: point]; } -void NSTextView_inst_checkTextInDocument(void *id, void* sender) { +void NSTextView_inst_CheckTextInDocument(void *id, void* sender) { [(NSTextView*)id checkTextInDocument: sender]; } -void NSTextView_inst_checkTextInSelection(void *id, void* sender) { +void NSTextView_inst_CheckTextInSelection(void *id, void* sender) { [(NSTextView*)id checkTextInSelection: sender]; } -void NSTextView_inst_cleanUpAfterDragOperation(void *id) { +void NSTextView_inst_CleanUpAfterDragOperation(void *id) { [(NSTextView*)id cleanUpAfterDragOperation]; } -void NSTextView_inst_clickedOnLink_atIndex(void *id, void* link, unsigned long charIndex) { +void NSTextView_inst_ClickedOnLinkAtIndex(void *id, void* link, unsigned long charIndex) { [(NSTextView*)id clickedOnLink: link atIndex: charIndex]; } -void NSTextView_inst_complete(void *id, void* sender) { +void NSTextView_inst_Complete(void *id, void* sender) { [(NSTextView*)id complete: sender]; } -void NSTextView_inst_didChangeText(void *id) { +void NSTextView_inst_DidChangeText(void *id) { [(NSTextView*)id didChangeText]; } -BOOL NSTextView_inst_dragSelectionWithEvent_offset_slideBack(void *id, void* event, NSSize mouseOffset, BOOL slideBack) { +BOOL NSTextView_inst_DragSelectionWithEventOffsetSlideBack(void *id, void* event, NSSize mouseOffset, BOOL slideBack) { return [(NSTextView*)id dragSelectionWithEvent: event offset: mouseOffset slideBack: slideBack]; } -void NSTextView_inst_drawInsertionPointInRect_color_turnedOn(void *id, NSRect rect, void* color, BOOL flag) { +void NSTextView_inst_DrawInsertionPointInRectColorTurnedOn(void *id, NSRect rect, void* color, BOOL flag) { [(NSTextView*)id drawInsertionPointInRect: rect color: color turnedOn: flag]; } -void NSTextView_inst_drawViewBackgroundInRect(void *id, NSRect rect) { +void NSTextView_inst_DrawViewBackgroundInRect(void *id, NSRect rect) { [(NSTextView*)id drawViewBackgroundInRect: rect]; } -void* NSTextView_inst_initWithFrame(void *id, NSRect frameRect) { +void* NSTextView_inst_InitWithFrame(void *id, NSRect frameRect) { return [(NSTextView*)id initWithFrame: frameRect]; } -void* NSTextView_inst_initWithFrame_textContainer(void *id, NSRect frameRect, void* container) { +void* NSTextView_inst_InitWithFrameTextContainer(void *id, NSRect frameRect, void* container) { return [(NSTextView*)id initWithFrame: frameRect textContainer: container]; } -void NSTextView_inst_invalidateTextContainerOrigin(void *id) { +void NSTextView_inst_InvalidateTextContainerOrigin(void *id) { [(NSTextView*)id invalidateTextContainerOrigin]; } -void NSTextView_inst_loosenKerning(void *id, void* sender) { +void NSTextView_inst_LoosenKerning(void *id, void* sender) { [(NSTextView*)id loosenKerning: sender]; } -void NSTextView_inst_lowerBaseline(void *id, void* sender) { +void NSTextView_inst_LowerBaseline(void *id, void* sender) { [(NSTextView*)id lowerBaseline: sender]; } -void NSTextView_inst_orderFrontLinkPanel(void *id, void* sender) { +void NSTextView_inst_OrderFrontLinkPanel(void *id, void* sender) { [(NSTextView*)id orderFrontLinkPanel: sender]; } -void NSTextView_inst_orderFrontListPanel(void *id, void* sender) { +void NSTextView_inst_OrderFrontListPanel(void *id, void* sender) { [(NSTextView*)id orderFrontListPanel: sender]; } -void NSTextView_inst_orderFrontSharingServicePicker(void *id, void* sender) { +void NSTextView_inst_OrderFrontSharingServicePicker(void *id, void* sender) { [(NSTextView*)id orderFrontSharingServicePicker: sender]; } -void NSTextView_inst_orderFrontSpacingPanel(void *id, void* sender) { +void NSTextView_inst_OrderFrontSpacingPanel(void *id, void* sender) { [(NSTextView*)id orderFrontSpacingPanel: sender]; } -void NSTextView_inst_orderFrontSubstitutionsPanel(void *id, void* sender) { +void NSTextView_inst_OrderFrontSubstitutionsPanel(void *id, void* sender) { [(NSTextView*)id orderFrontSubstitutionsPanel: sender]; } -void NSTextView_inst_orderFrontTablePanel(void *id, void* sender) { +void NSTextView_inst_OrderFrontTablePanel(void *id, void* sender) { [(NSTextView*)id orderFrontTablePanel: sender]; } -void NSTextView_inst_outline(void *id, void* sender) { +void NSTextView_inst_Outline(void *id, void* sender) { [(NSTextView*)id outline: sender]; } -void NSTextView_inst_pasteAsPlainText(void *id, void* sender) { +void NSTextView_inst_PasteAsPlainText(void *id, void* sender) { [(NSTextView*)id pasteAsPlainText: sender]; } -void NSTextView_inst_pasteAsRichText(void *id, void* sender) { +void NSTextView_inst_PasteAsRichText(void *id, void* sender) { [(NSTextView*)id pasteAsRichText: sender]; } -void NSTextView_inst_performFindPanelAction(void *id, void* sender) { +void NSTextView_inst_PerformFindPanelAction(void *id, void* sender) { [(NSTextView*)id performFindPanelAction: sender]; } -void* NSTextView_inst_quickLookPreviewableItemsInRanges(void *id, void* ranges) { +void* NSTextView_inst_QuickLookPreviewableItemsInRanges(void *id, void* ranges) { return [(NSTextView*)id quickLookPreviewableItemsInRanges: ranges]; } -void NSTextView_inst_raiseBaseline(void *id, void* sender) { +void NSTextView_inst_RaiseBaseline(void *id, void* sender) { [(NSTextView*)id raiseBaseline: sender]; } -BOOL NSTextView_inst_readSelectionFromPasteboard(void *id, void* pboard) { +BOOL NSTextView_inst_ReadSelectionFromPasteboard(void *id, void* pboard) { return [(NSTextView*)id readSelectionFromPasteboard: pboard]; } -void NSTextView_inst_replaceTextContainer(void *id, void* newContainer) { +void NSTextView_inst_ReplaceTextContainer(void *id, void* newContainer) { [(NSTextView*)id replaceTextContainer: newContainer]; } -void NSTextView_inst_setConstrainedFrameSize(void *id, NSSize desiredSize) { +void NSTextView_inst_SetConstrainedFrameSize(void *id, NSSize desiredSize) { [(NSTextView*)id setConstrainedFrameSize: desiredSize]; } -void NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout(void *id, NSRect rect, BOOL flag) { +void NSTextView_inst_SetNeedsDisplayInRectAvoidAdditionalLayout(void *id, NSRect rect, BOOL flag) { [(NSTextView*)id setNeedsDisplayInRect: rect avoidAdditionalLayout: flag]; } -BOOL NSTextView_inst_shouldChangeTextInRanges_replacementStrings(void *id, void* affectedRanges, void* replacementStrings) { +BOOL NSTextView_inst_ShouldChangeTextInRangesReplacementStrings(void *id, void* affectedRanges, void* replacementStrings) { return [(NSTextView*)id shouldChangeTextInRanges: affectedRanges replacementStrings: replacementStrings]; } -void NSTextView_inst_startSpeaking(void *id, void* sender) { +void NSTextView_inst_StartSpeaking(void *id, void* sender) { [(NSTextView*)id startSpeaking: sender]; } -void NSTextView_inst_stopSpeaking(void *id, void* sender) { +void NSTextView_inst_StopSpeaking(void *id, void* sender) { [(NSTextView*)id stopSpeaking: sender]; } -void NSTextView_inst_tightenKerning(void *id, void* sender) { +void NSTextView_inst_TightenKerning(void *id, void* sender) { [(NSTextView*)id tightenKerning: sender]; } -void NSTextView_inst_toggleAutomaticDashSubstitution(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticDashSubstitution(void *id, void* sender) { [(NSTextView*)id toggleAutomaticDashSubstitution: sender]; } -void NSTextView_inst_toggleAutomaticDataDetection(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticDataDetection(void *id, void* sender) { [(NSTextView*)id toggleAutomaticDataDetection: sender]; } -void NSTextView_inst_toggleAutomaticLinkDetection(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticLinkDetection(void *id, void* sender) { [(NSTextView*)id toggleAutomaticLinkDetection: sender]; } -void NSTextView_inst_toggleAutomaticQuoteSubstitution(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticQuoteSubstitution(void *id, void* sender) { [(NSTextView*)id toggleAutomaticQuoteSubstitution: sender]; } -void NSTextView_inst_toggleAutomaticSpellingCorrection(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticSpellingCorrection(void *id, void* sender) { [(NSTextView*)id toggleAutomaticSpellingCorrection: sender]; } -void NSTextView_inst_toggleAutomaticTextCompletion(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticTextCompletion(void *id, void* sender) { [(NSTextView*)id toggleAutomaticTextCompletion: sender]; } -void NSTextView_inst_toggleAutomaticTextReplacement(void *id, void* sender) { +void NSTextView_inst_ToggleAutomaticTextReplacement(void *id, void* sender) { [(NSTextView*)id toggleAutomaticTextReplacement: sender]; } -void NSTextView_inst_toggleContinuousSpellChecking(void *id, void* sender) { +void NSTextView_inst_ToggleContinuousSpellChecking(void *id, void* sender) { [(NSTextView*)id toggleContinuousSpellChecking: sender]; } -void NSTextView_inst_toggleGrammarChecking(void *id, void* sender) { +void NSTextView_inst_ToggleGrammarChecking(void *id, void* sender) { [(NSTextView*)id toggleGrammarChecking: sender]; } -void NSTextView_inst_toggleQuickLookPreviewPanel(void *id, void* sender) { +void NSTextView_inst_ToggleQuickLookPreviewPanel(void *id, void* sender) { [(NSTextView*)id toggleQuickLookPreviewPanel: sender]; } -void NSTextView_inst_toggleSmartInsertDelete(void *id, void* sender) { +void NSTextView_inst_ToggleSmartInsertDelete(void *id, void* sender) { [(NSTextView*)id toggleSmartInsertDelete: sender]; } -void NSTextView_inst_turnOffKerning(void *id, void* sender) { +void NSTextView_inst_TurnOffKerning(void *id, void* sender) { [(NSTextView*)id turnOffKerning: sender]; } -void NSTextView_inst_turnOffLigatures(void *id, void* sender) { +void NSTextView_inst_TurnOffLigatures(void *id, void* sender) { [(NSTextView*)id turnOffLigatures: sender]; } -void NSTextView_inst_updateCandidates(void *id) { +void NSTextView_inst_UpdateCandidates(void *id) { [(NSTextView*)id updateCandidates]; } -void NSTextView_inst_updateDragTypeRegistration(void *id) { +void NSTextView_inst_UpdateDragTypeRegistration(void *id) { [(NSTextView*)id updateDragTypeRegistration]; } -void NSTextView_inst_updateFontPanel(void *id) { +void NSTextView_inst_UpdateFontPanel(void *id) { [(NSTextView*)id updateFontPanel]; } -void NSTextView_inst_updateInsertionPointStateAndRestartTimer(void *id, BOOL restartFlag) { +void NSTextView_inst_UpdateInsertionPointStateAndRestartTimer(void *id, BOOL restartFlag) { [(NSTextView*)id updateInsertionPointStateAndRestartTimer: restartFlag]; } -void NSTextView_inst_updateQuickLookPreviewPanel(void *id) { +void NSTextView_inst_UpdateQuickLookPreviewPanel(void *id) { [(NSTextView*)id updateQuickLookPreviewPanel]; } -void NSTextView_inst_updateRuler(void *id) { +void NSTextView_inst_UpdateRuler(void *id) { [(NSTextView*)id updateRuler]; } -void NSTextView_inst_updateTextTouchBarItems(void *id) { +void NSTextView_inst_UpdateTextTouchBarItems(void *id) { [(NSTextView*)id updateTextTouchBarItems]; } -void NSTextView_inst_updateTouchBarItemIdentifiers(void *id) { +void NSTextView_inst_UpdateTouchBarItemIdentifiers(void *id) { [(NSTextView*)id updateTouchBarItemIdentifiers]; } -void NSTextView_inst_useAllLigatures(void *id, void* sender) { +void NSTextView_inst_UseAllLigatures(void *id, void* sender) { [(NSTextView*)id useAllLigatures: sender]; } -void NSTextView_inst_useStandardKerning(void *id, void* sender) { +void NSTextView_inst_UseStandardKerning(void *id, void* sender) { [(NSTextView*)id useStandardKerning: sender]; } -void NSTextView_inst_useStandardLigatures(void *id, void* sender) { +void NSTextView_inst_UseStandardLigatures(void *id, void* sender) { [(NSTextView*)id useStandardLigatures: sender]; } -BOOL NSTextView_inst_writeSelectionToPasteboard_types(void *id, void* pboard, void* types) { +BOOL NSTextView_inst_WriteSelectionToPasteboardTypes(void *id, void* pboard, void* types) { return [(NSTextView*)id writeSelectionToPasteboard: pboard types: types]; } -void* NSTextView_inst_init(void *id) { +void* NSTextView_inst_Init(void *id) { return [(NSTextView*)id init]; } -void* NSTextView_inst_delegate(void *id) { +void* NSTextView_inst_Delegate(void *id) { return [(NSTextView*)id delegate]; } -void NSTextView_inst_setDelegate(void *id, void* value) { +void NSTextView_inst_SetDelegate(void *id, void* value) { [(NSTextView*)id setDelegate: value]; } -void* NSTextView_inst_textContainer(void *id) { +void* NSTextView_inst_TextContainer(void *id) { return [(NSTextView*)id textContainer]; } -void NSTextView_inst_setTextContainer(void *id, void* value) { +void NSTextView_inst_SetTextContainer(void *id, void* value) { [(NSTextView*)id setTextContainer: value]; } -NSSize NSTextView_inst_textContainerInset(void *id) { +NSSize NSTextView_inst_TextContainerInset(void *id) { return [(NSTextView*)id textContainerInset]; } -void NSTextView_inst_setTextContainerInset(void *id, NSSize value) { +void NSTextView_inst_SetTextContainerInset(void *id, NSSize value) { [(NSTextView*)id setTextContainerInset: value]; } -NSPoint NSTextView_inst_textContainerOrigin(void *id) { +NSPoint NSTextView_inst_TextContainerOrigin(void *id) { return [(NSTextView*)id textContainerOrigin]; } -void* NSTextView_inst_layoutManager(void *id) { +void* NSTextView_inst_LayoutManager(void *id) { return [(NSTextView*)id layoutManager]; } -void* NSTextView_inst_backgroundColor(void *id) { +void* NSTextView_inst_BackgroundColor(void *id) { return [(NSTextView*)id backgroundColor]; } -void NSTextView_inst_setBackgroundColor(void *id, void* value) { +void NSTextView_inst_SetBackgroundColor(void *id, void* value) { [(NSTextView*)id setBackgroundColor: value]; } -BOOL NSTextView_inst_drawsBackground(void *id) { +BOOL NSTextView_inst_DrawsBackground(void *id) { return [(NSTextView*)id drawsBackground]; } -void NSTextView_inst_setDrawsBackground(void *id, BOOL value) { +void NSTextView_inst_SetDrawsBackground(void *id, BOOL value) { [(NSTextView*)id setDrawsBackground: value]; } -BOOL NSTextView_inst_allowsDocumentBackgroundColorChange(void *id) { +BOOL NSTextView_inst_AllowsDocumentBackgroundColorChange(void *id) { return [(NSTextView*)id allowsDocumentBackgroundColorChange]; } -void NSTextView_inst_setAllowsDocumentBackgroundColorChange(void *id, BOOL value) { +void NSTextView_inst_SetAllowsDocumentBackgroundColorChange(void *id, BOOL value) { [(NSTextView*)id setAllowsDocumentBackgroundColorChange: value]; } -BOOL NSTextView_inst_shouldDrawInsertionPoint(void *id) { +BOOL NSTextView_inst_ShouldDrawInsertionPoint(void *id) { return [(NSTextView*)id shouldDrawInsertionPoint]; } -void* NSTextView_inst_allowedInputSourceLocales(void *id) { +void* NSTextView_inst_AllowedInputSourceLocales(void *id) { return [(NSTextView*)id allowedInputSourceLocales]; } -void NSTextView_inst_setAllowedInputSourceLocales(void *id, void* value) { +void NSTextView_inst_SetAllowedInputSourceLocales(void *id, void* value) { [(NSTextView*)id setAllowedInputSourceLocales: value]; } -BOOL NSTextView_inst_allowsUndo(void *id) { +BOOL NSTextView_inst_AllowsUndo(void *id) { return [(NSTextView*)id allowsUndo]; } -void NSTextView_inst_setAllowsUndo(void *id, BOOL value) { +void NSTextView_inst_SetAllowsUndo(void *id, BOOL value) { [(NSTextView*)id setAllowsUndo: value]; } -BOOL NSTextView_inst_isEditable(void *id) { +BOOL NSTextView_inst_IsEditable(void *id) { return [(NSTextView*)id isEditable]; } -void NSTextView_inst_setEditable(void *id, BOOL value) { +void NSTextView_inst_SetEditable(void *id, BOOL value) { [(NSTextView*)id setEditable: value]; } -BOOL NSTextView_inst_isSelectable(void *id) { +BOOL NSTextView_inst_IsSelectable(void *id) { return [(NSTextView*)id isSelectable]; } -void NSTextView_inst_setSelectable(void *id, BOOL value) { +void NSTextView_inst_SetSelectable(void *id, BOOL value) { [(NSTextView*)id setSelectable: value]; } -BOOL NSTextView_inst_isFieldEditor(void *id) { +BOOL NSTextView_inst_IsFieldEditor(void *id) { return [(NSTextView*)id isFieldEditor]; } -void NSTextView_inst_setFieldEditor(void *id, BOOL value) { +void NSTextView_inst_SetFieldEditor(void *id, BOOL value) { [(NSTextView*)id setFieldEditor: value]; } -BOOL NSTextView_inst_isRichText(void *id) { +BOOL NSTextView_inst_IsRichText(void *id) { return [(NSTextView*)id isRichText]; } -void NSTextView_inst_setRichText(void *id, BOOL value) { +void NSTextView_inst_SetRichText(void *id, BOOL value) { [(NSTextView*)id setRichText: value]; } -BOOL NSTextView_inst_importsGraphics(void *id) { +BOOL NSTextView_inst_ImportsGraphics(void *id) { return [(NSTextView*)id importsGraphics]; } -void NSTextView_inst_setImportsGraphics(void *id, BOOL value) { +void NSTextView_inst_SetImportsGraphics(void *id, BOOL value) { [(NSTextView*)id setImportsGraphics: value]; } -BOOL NSTextView_inst_allowsImageEditing(void *id) { +BOOL NSTextView_inst_AllowsImageEditing(void *id) { return [(NSTextView*)id allowsImageEditing]; } -void NSTextView_inst_setAllowsImageEditing(void *id, BOOL value) { +void NSTextView_inst_SetAllowsImageEditing(void *id, BOOL value) { [(NSTextView*)id setAllowsImageEditing: value]; } -BOOL NSTextView_inst_isAutomaticQuoteSubstitutionEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticQuoteSubstitutionEnabled(void *id) { return [(NSTextView*)id isAutomaticQuoteSubstitutionEnabled]; } -void NSTextView_inst_setAutomaticQuoteSubstitutionEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticQuoteSubstitutionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticQuoteSubstitutionEnabled: value]; } -BOOL NSTextView_inst_isAutomaticLinkDetectionEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticLinkDetectionEnabled(void *id) { return [(NSTextView*)id isAutomaticLinkDetectionEnabled]; } -void NSTextView_inst_setAutomaticLinkDetectionEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticLinkDetectionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticLinkDetectionEnabled: value]; } -BOOL NSTextView_inst_displaysLinkToolTips(void *id) { +BOOL NSTextView_inst_DisplaysLinkToolTips(void *id) { return [(NSTextView*)id displaysLinkToolTips]; } -void NSTextView_inst_setDisplaysLinkToolTips(void *id, BOOL value) { +void NSTextView_inst_SetDisplaysLinkToolTips(void *id, BOOL value) { [(NSTextView*)id setDisplaysLinkToolTips: value]; } -BOOL NSTextView_inst_isAutomaticTextCompletionEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticTextCompletionEnabled(void *id) { return [(NSTextView*)id isAutomaticTextCompletionEnabled]; } -void NSTextView_inst_setAutomaticTextCompletionEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticTextCompletionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticTextCompletionEnabled: value]; } -BOOL NSTextView_inst_usesAdaptiveColorMappingForDarkAppearance(void *id) { +BOOL NSTextView_inst_UsesAdaptiveColorMappingForDarkAppearance(void *id) { return [(NSTextView*)id usesAdaptiveColorMappingForDarkAppearance]; } -void NSTextView_inst_setUsesAdaptiveColorMappingForDarkAppearance(void *id, BOOL value) { +void NSTextView_inst_SetUsesAdaptiveColorMappingForDarkAppearance(void *id, BOOL value) { [(NSTextView*)id setUsesAdaptiveColorMappingForDarkAppearance: value]; } -BOOL NSTextView_inst_usesRolloverButtonForSelection(void *id) { +BOOL NSTextView_inst_UsesRolloverButtonForSelection(void *id) { return [(NSTextView*)id usesRolloverButtonForSelection]; } -void NSTextView_inst_setUsesRolloverButtonForSelection(void *id, BOOL value) { +void NSTextView_inst_SetUsesRolloverButtonForSelection(void *id, BOOL value) { [(NSTextView*)id setUsesRolloverButtonForSelection: value]; } -BOOL NSTextView_inst_usesRuler(void *id) { +BOOL NSTextView_inst_UsesRuler(void *id) { return [(NSTextView*)id usesRuler]; } -void NSTextView_inst_setUsesRuler(void *id, BOOL value) { +void NSTextView_inst_SetUsesRuler(void *id, BOOL value) { [(NSTextView*)id setUsesRuler: value]; } -BOOL NSTextView_inst_isRulerVisible(void *id) { +BOOL NSTextView_inst_IsRulerVisible(void *id) { return [(NSTextView*)id isRulerVisible]; } -void NSTextView_inst_setRulerVisible(void *id, BOOL value) { +void NSTextView_inst_SetRulerVisible(void *id, BOOL value) { [(NSTextView*)id setRulerVisible: value]; } -BOOL NSTextView_inst_usesInspectorBar(void *id) { +BOOL NSTextView_inst_UsesInspectorBar(void *id) { return [(NSTextView*)id usesInspectorBar]; } -void NSTextView_inst_setUsesInspectorBar(void *id, BOOL value) { +void NSTextView_inst_SetUsesInspectorBar(void *id, BOOL value) { [(NSTextView*)id setUsesInspectorBar: value]; } -void* NSTextView_inst_selectedRanges(void *id) { +void* NSTextView_inst_SelectedRanges(void *id) { return [(NSTextView*)id selectedRanges]; } -void NSTextView_inst_setSelectedRanges(void *id, void* value) { +void NSTextView_inst_SetSelectedRanges(void *id, void* value) { [(NSTextView*)id setSelectedRanges: value]; } -void* NSTextView_inst_insertionPointColor(void *id) { +void* NSTextView_inst_InsertionPointColor(void *id) { return [(NSTextView*)id insertionPointColor]; } -void NSTextView_inst_setInsertionPointColor(void *id, void* value) { +void NSTextView_inst_SetInsertionPointColor(void *id, void* value) { [(NSTextView*)id setInsertionPointColor: value]; } -void* NSTextView_inst_selectedTextAttributes(void *id) { +void* NSTextView_inst_SelectedTextAttributes(void *id) { return [(NSTextView*)id selectedTextAttributes]; } -void NSTextView_inst_setSelectedTextAttributes(void *id, void* value) { +void NSTextView_inst_SetSelectedTextAttributes(void *id, void* value) { [(NSTextView*)id setSelectedTextAttributes: value]; } -void* NSTextView_inst_markedTextAttributes(void *id) { +void* NSTextView_inst_MarkedTextAttributes(void *id) { return [(NSTextView*)id markedTextAttributes]; } -void NSTextView_inst_setMarkedTextAttributes(void *id, void* value) { +void NSTextView_inst_SetMarkedTextAttributes(void *id, void* value) { [(NSTextView*)id setMarkedTextAttributes: value]; } -void* NSTextView_inst_linkTextAttributes(void *id) { +void* NSTextView_inst_LinkTextAttributes(void *id) { return [(NSTextView*)id linkTextAttributes]; } -void NSTextView_inst_setLinkTextAttributes(void *id, void* value) { +void NSTextView_inst_SetLinkTextAttributes(void *id, void* value) { [(NSTextView*)id setLinkTextAttributes: value]; } -void* NSTextView_inst_readablePasteboardTypes(void *id) { +void* NSTextView_inst_ReadablePasteboardTypes(void *id) { return [(NSTextView*)id readablePasteboardTypes]; } -void* NSTextView_inst_writablePasteboardTypes(void *id) { +void* NSTextView_inst_WritablePasteboardTypes(void *id) { return [(NSTextView*)id writablePasteboardTypes]; } -void* NSTextView_inst_typingAttributes(void *id) { +void* NSTextView_inst_TypingAttributes(void *id) { return [(NSTextView*)id typingAttributes]; } -void NSTextView_inst_setTypingAttributes(void *id, void* value) { +void NSTextView_inst_SetTypingAttributes(void *id, void* value) { [(NSTextView*)id setTypingAttributes: value]; } -BOOL NSTextView_inst_isCoalescingUndo(void *id) { +BOOL NSTextView_inst_IsCoalescingUndo(void *id) { return [(NSTextView*)id isCoalescingUndo]; } -void* NSTextView_inst_acceptableDragTypes(void *id) { +void* NSTextView_inst_AcceptableDragTypes(void *id) { return [(NSTextView*)id acceptableDragTypes]; } -void* NSTextView_inst_rangesForUserCharacterAttributeChange(void *id) { +void* NSTextView_inst_RangesForUserCharacterAttributeChange(void *id) { return [(NSTextView*)id rangesForUserCharacterAttributeChange]; } -void* NSTextView_inst_rangesForUserParagraphAttributeChange(void *id) { +void* NSTextView_inst_RangesForUserParagraphAttributeChange(void *id) { return [(NSTextView*)id rangesForUserParagraphAttributeChange]; } -void* NSTextView_inst_rangesForUserTextChange(void *id) { +void* NSTextView_inst_RangesForUserTextChange(void *id) { return [(NSTextView*)id rangesForUserTextChange]; } -BOOL NSTextView_inst_smartInsertDeleteEnabled(void *id) { +BOOL NSTextView_inst_SmartInsertDeleteEnabled(void *id) { return [(NSTextView*)id smartInsertDeleteEnabled]; } -void NSTextView_inst_setSmartInsertDeleteEnabled(void *id, BOOL value) { +void NSTextView_inst_SetSmartInsertDeleteEnabled(void *id, BOOL value) { [(NSTextView*)id setSmartInsertDeleteEnabled: value]; } -BOOL NSTextView_inst_isContinuousSpellCheckingEnabled(void *id) { +BOOL NSTextView_inst_IsContinuousSpellCheckingEnabled(void *id) { return [(NSTextView*)id isContinuousSpellCheckingEnabled]; } -void NSTextView_inst_setContinuousSpellCheckingEnabled(void *id, BOOL value) { +void NSTextView_inst_SetContinuousSpellCheckingEnabled(void *id, BOOL value) { [(NSTextView*)id setContinuousSpellCheckingEnabled: value]; } -long NSTextView_inst_spellCheckerDocumentTag(void *id) { +long NSTextView_inst_SpellCheckerDocumentTag(void *id) { return [(NSTextView*)id spellCheckerDocumentTag]; } -BOOL NSTextView_inst_isGrammarCheckingEnabled(void *id) { +BOOL NSTextView_inst_IsGrammarCheckingEnabled(void *id) { return [(NSTextView*)id isGrammarCheckingEnabled]; } -void NSTextView_inst_setGrammarCheckingEnabled(void *id, BOOL value) { +void NSTextView_inst_SetGrammarCheckingEnabled(void *id, BOOL value) { [(NSTextView*)id setGrammarCheckingEnabled: value]; } -BOOL NSTextView_inst_acceptsGlyphInfo(void *id) { +BOOL NSTextView_inst_AcceptsGlyphInfo(void *id) { return [(NSTextView*)id acceptsGlyphInfo]; } -void NSTextView_inst_setAcceptsGlyphInfo(void *id, BOOL value) { +void NSTextView_inst_SetAcceptsGlyphInfo(void *id, BOOL value) { [(NSTextView*)id setAcceptsGlyphInfo: value]; } -BOOL NSTextView_inst_usesFontPanel(void *id) { +BOOL NSTextView_inst_UsesFontPanel(void *id) { return [(NSTextView*)id usesFontPanel]; } -void NSTextView_inst_setUsesFontPanel(void *id, BOOL value) { +void NSTextView_inst_SetUsesFontPanel(void *id, BOOL value) { [(NSTextView*)id setUsesFontPanel: value]; } -BOOL NSTextView_inst_usesFindPanel(void *id) { +BOOL NSTextView_inst_UsesFindPanel(void *id) { return [(NSTextView*)id usesFindPanel]; } -void NSTextView_inst_setUsesFindPanel(void *id, BOOL value) { +void NSTextView_inst_SetUsesFindPanel(void *id, BOOL value) { [(NSTextView*)id setUsesFindPanel: value]; } -BOOL NSTextView_inst_isAutomaticDashSubstitutionEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticDashSubstitutionEnabled(void *id) { return [(NSTextView*)id isAutomaticDashSubstitutionEnabled]; } -void NSTextView_inst_setAutomaticDashSubstitutionEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticDashSubstitutionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticDashSubstitutionEnabled: value]; } -BOOL NSTextView_inst_isAutomaticDataDetectionEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticDataDetectionEnabled(void *id) { return [(NSTextView*)id isAutomaticDataDetectionEnabled]; } -void NSTextView_inst_setAutomaticDataDetectionEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticDataDetectionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticDataDetectionEnabled: value]; } -BOOL NSTextView_inst_isAutomaticSpellingCorrectionEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticSpellingCorrectionEnabled(void *id) { return [(NSTextView*)id isAutomaticSpellingCorrectionEnabled]; } -void NSTextView_inst_setAutomaticSpellingCorrectionEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticSpellingCorrectionEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticSpellingCorrectionEnabled: value]; } -BOOL NSTextView_inst_isAutomaticTextReplacementEnabled(void *id) { +BOOL NSTextView_inst_IsAutomaticTextReplacementEnabled(void *id) { return [(NSTextView*)id isAutomaticTextReplacementEnabled]; } -void NSTextView_inst_setAutomaticTextReplacementEnabled(void *id, BOOL value) { +void NSTextView_inst_SetAutomaticTextReplacementEnabled(void *id, BOOL value) { [(NSTextView*)id setAutomaticTextReplacementEnabled: value]; } -BOOL NSTextView_inst_usesFindBar(void *id) { +BOOL NSTextView_inst_UsesFindBar(void *id) { return [(NSTextView*)id usesFindBar]; } -void NSTextView_inst_setUsesFindBar(void *id, BOOL value) { +void NSTextView_inst_SetUsesFindBar(void *id, BOOL value) { [(NSTextView*)id setUsesFindBar: value]; } -BOOL NSTextView_inst_isIncrementalSearchingEnabled(void *id) { +BOOL NSTextView_inst_IsIncrementalSearchingEnabled(void *id) { return [(NSTextView*)id isIncrementalSearchingEnabled]; } -void NSTextView_inst_setIncrementalSearchingEnabled(void *id, BOOL value) { +void NSTextView_inst_SetIncrementalSearchingEnabled(void *id, BOOL value) { [(NSTextView*)id setIncrementalSearchingEnabled: value]; } -BOOL NSTextView_inst_allowsCharacterPickerTouchBarItem(void *id) { +BOOL NSTextView_inst_AllowsCharacterPickerTouchBarItem(void *id) { return [(NSTextView*)id allowsCharacterPickerTouchBarItem]; } -void NSTextView_inst_setAllowsCharacterPickerTouchBarItem(void *id, BOOL value) { +void NSTextView_inst_SetAllowsCharacterPickerTouchBarItem(void *id, BOOL value) { [(NSTextView*)id setAllowsCharacterPickerTouchBarItem: value]; } -void* NSTextView_inst_font(void *id) { +void* NSTextView_inst_Font(void *id) { return [(NSTextView*)id font]; } -void NSTextView_inst_setFont(void *id, void* value) { +void NSTextView_inst_SetFont(void *id, void* value) { [(NSTextView*)id setFont: value]; } -BOOL NSView_inst_acceptsFirstMouse(void *id, void* event) { +BOOL NSView_inst_AcceptsFirstMouse(void *id, void* event) { return [(NSView*)id acceptsFirstMouse: event]; } -void NSView_inst_addConstraints(void *id, void* constraints) { +void NSView_inst_AddConstraints(void *id, void* constraints) { [(NSView*)id addConstraints: constraints]; } -void NSView_inst_addSubview(void *id, void* view) { +void NSView_inst_AddSubview(void *id, void* view) { [(NSView*)id addSubview: view]; } -void NSView_inst_addSubview_positioned_relativeTo(void *id, void* view, unsigned long place, void* otherView) { +void NSView_inst_AddSubviewPositionedRelativeTo(void *id, void* view, unsigned long place, void* otherView) { [(NSView*)id addSubview: view positioned: place relativeTo: otherView]; } -NSRect NSView_inst_adjustScroll(void *id, NSRect newVisible) { +NSRect NSView_inst_AdjustScroll(void *id, NSRect newVisible) { return [(NSView*)id adjustScroll: newVisible]; } -NSRect NSView_inst_alignmentRectForFrame(void *id, NSRect frame) { +NSRect NSView_inst_AlignmentRectForFrame(void *id, NSRect frame) { return [(NSView*)id alignmentRectForFrame: frame]; } -void* NSView_inst_ancestorSharedWithView(void *id, void* view) { +void* NSView_inst_AncestorSharedWithView(void *id, void* view) { return [(NSView*)id ancestorSharedWithView: view]; } -BOOL NSView_inst_autoscroll(void *id, void* event) { +BOOL NSView_inst_Autoscroll(void *id, void* event) { return [(NSView*)id autoscroll: event]; } -void NSView_inst_beginDocument(void *id) { +void NSView_inst_BeginDocument(void *id) { [(NSView*)id beginDocument]; } -void NSView_inst_beginPageInRect_atPlacement(void *id, NSRect rect, NSPoint location) { +void NSView_inst_BeginPageInRectAtPlacement(void *id, NSRect rect, NSPoint location) { [(NSView*)id beginPageInRect: rect atPlacement: location]; } -NSRect NSView_inst_centerScanRect(void *id, NSRect rect) { +NSRect NSView_inst_CenterScanRect(void *id, NSRect rect) { return [(NSView*)id centerScanRect: rect]; } -NSPoint NSView_inst_convertPoint_fromView(void *id, NSPoint point, void* view) { +NSPoint NSView_inst_ConvertPointFromView(void *id, NSPoint point, void* view) { return [(NSView*)id convertPoint: point fromView: view]; } -NSPoint NSView_inst_convertPoint_toView(void *id, NSPoint point, void* view) { +NSPoint NSView_inst_ConvertPointToView(void *id, NSPoint point, void* view) { return [(NSView*)id convertPoint: point toView: view]; } -NSPoint NSView_inst_convertPointFromBacking(void *id, NSPoint point) { +NSPoint NSView_inst_ConvertPointFromBacking(void *id, NSPoint point) { return [(NSView*)id convertPointFromBacking: point]; } -NSPoint NSView_inst_convertPointFromLayer(void *id, NSPoint point) { +NSPoint NSView_inst_ConvertPointFromLayer(void *id, NSPoint point) { return [(NSView*)id convertPointFromLayer: point]; } -NSPoint NSView_inst_convertPointToBacking(void *id, NSPoint point) { +NSPoint NSView_inst_ConvertPointToBacking(void *id, NSPoint point) { return [(NSView*)id convertPointToBacking: point]; } -NSPoint NSView_inst_convertPointToLayer(void *id, NSPoint point) { +NSPoint NSView_inst_ConvertPointToLayer(void *id, NSPoint point) { return [(NSView*)id convertPointToLayer: point]; } -NSRect NSView_inst_convertRect_fromView(void *id, NSRect rect, void* view) { +NSRect NSView_inst_ConvertRectFromView(void *id, NSRect rect, void* view) { return [(NSView*)id convertRect: rect fromView: view]; } -NSRect NSView_inst_convertRect_toView(void *id, NSRect rect, void* view) { +NSRect NSView_inst_ConvertRectToView(void *id, NSRect rect, void* view) { return [(NSView*)id convertRect: rect toView: view]; } -NSRect NSView_inst_convertRectFromBacking(void *id, NSRect rect) { +NSRect NSView_inst_ConvertRectFromBacking(void *id, NSRect rect) { return [(NSView*)id convertRectFromBacking: rect]; } -NSRect NSView_inst_convertRectFromLayer(void *id, NSRect rect) { +NSRect NSView_inst_ConvertRectFromLayer(void *id, NSRect rect) { return [(NSView*)id convertRectFromLayer: rect]; } -NSRect NSView_inst_convertRectToBacking(void *id, NSRect rect) { +NSRect NSView_inst_ConvertRectToBacking(void *id, NSRect rect) { return [(NSView*)id convertRectToBacking: rect]; } -NSRect NSView_inst_convertRectToLayer(void *id, NSRect rect) { +NSRect NSView_inst_ConvertRectToLayer(void *id, NSRect rect) { return [(NSView*)id convertRectToLayer: rect]; } -NSSize NSView_inst_convertSize_fromView(void *id, NSSize size, void* view) { +NSSize NSView_inst_ConvertSizeFromView(void *id, NSSize size, void* view) { return [(NSView*)id convertSize: size fromView: view]; } -NSSize NSView_inst_convertSize_toView(void *id, NSSize size, void* view) { +NSSize NSView_inst_ConvertSizeToView(void *id, NSSize size, void* view) { return [(NSView*)id convertSize: size toView: view]; } -NSSize NSView_inst_convertSizeFromBacking(void *id, NSSize size) { +NSSize NSView_inst_ConvertSizeFromBacking(void *id, NSSize size) { return [(NSView*)id convertSizeFromBacking: size]; } -NSSize NSView_inst_convertSizeFromLayer(void *id, NSSize size) { +NSSize NSView_inst_ConvertSizeFromLayer(void *id, NSSize size) { return [(NSView*)id convertSizeFromLayer: size]; } -NSSize NSView_inst_convertSizeToBacking(void *id, NSSize size) { +NSSize NSView_inst_ConvertSizeToBacking(void *id, NSSize size) { return [(NSView*)id convertSizeToBacking: size]; } -NSSize NSView_inst_convertSizeToLayer(void *id, NSSize size) { +NSSize NSView_inst_ConvertSizeToLayer(void *id, NSSize size) { return [(NSView*)id convertSizeToLayer: size]; } -void* NSView_inst_dataWithEPSInsideRect(void *id, NSRect rect) { +void* NSView_inst_DataWithEPSInsideRect(void *id, NSRect rect) { return [(NSView*)id dataWithEPSInsideRect: rect]; } -void* NSView_inst_dataWithPDFInsideRect(void *id, NSRect rect) { +void* NSView_inst_DataWithPDFInsideRect(void *id, NSRect rect) { return [(NSView*)id dataWithPDFInsideRect: rect]; } -void NSView_inst_didAddSubview(void *id, void* subview) { +void NSView_inst_DidAddSubview(void *id, void* subview) { [(NSView*)id didAddSubview: subview]; } -void NSView_inst_didCloseMenu_withEvent(void *id, void* menu, void* event) { +void NSView_inst_DidCloseMenuWithEvent(void *id, void* menu, void* event) { [(NSView*)id didCloseMenu: menu withEvent: event]; } -void NSView_inst_discardCursorRects(void *id) { +void NSView_inst_DiscardCursorRects(void *id) { [(NSView*)id discardCursorRects]; } -void NSView_inst_display(void *id) { +void NSView_inst_Display(void *id) { [(NSView*)id display]; } -void NSView_inst_displayIfNeeded(void *id) { +void NSView_inst_DisplayIfNeeded(void *id) { [(NSView*)id displayIfNeeded]; } -void NSView_inst_displayIfNeededIgnoringOpacity(void *id) { +void NSView_inst_DisplayIfNeededIgnoringOpacity(void *id) { [(NSView*)id displayIfNeededIgnoringOpacity]; } -void NSView_inst_displayIfNeededInRect(void *id, NSRect rect) { +void NSView_inst_DisplayIfNeededInRect(void *id, NSRect rect) { [(NSView*)id displayIfNeededInRect: rect]; } -void NSView_inst_displayIfNeededInRectIgnoringOpacity(void *id, NSRect rect) { +void NSView_inst_DisplayIfNeededInRectIgnoringOpacity(void *id, NSRect rect) { [(NSView*)id displayIfNeededInRectIgnoringOpacity: rect]; } -void NSView_inst_displayRect(void *id, NSRect rect) { +void NSView_inst_DisplayRect(void *id, NSRect rect) { [(NSView*)id displayRect: rect]; } -void NSView_inst_displayRectIgnoringOpacity(void *id, NSRect rect) { +void NSView_inst_DisplayRectIgnoringOpacity(void *id, NSRect rect) { [(NSView*)id displayRectIgnoringOpacity: rect]; } -void NSView_inst_drawFocusRingMask(void *id) { +void NSView_inst_DrawFocusRingMask(void *id) { [(NSView*)id drawFocusRingMask]; } -void NSView_inst_drawPageBorderWithSize(void *id, NSSize borderSize) { +void NSView_inst_DrawPageBorderWithSize(void *id, NSSize borderSize) { [(NSView*)id drawPageBorderWithSize: borderSize]; } -void NSView_inst_drawRect(void *id, NSRect dirtyRect) { +void NSView_inst_DrawRect(void *id, NSRect dirtyRect) { [(NSView*)id drawRect: dirtyRect]; } -void NSView_inst_endDocument(void *id) { +void NSView_inst_EndDocument(void *id) { [(NSView*)id endDocument]; } -void NSView_inst_endPage(void *id) { +void NSView_inst_EndPage(void *id) { [(NSView*)id endPage]; } -BOOL NSView_inst_enterFullScreenMode_withOptions(void *id, void* screen, void* options) { +BOOL NSView_inst_EnterFullScreenModeWithOptions(void *id, void* screen, void* options) { return [(NSView*)id enterFullScreenMode: screen withOptions: options]; } -void NSView_inst_exerciseAmbiguityInLayout(void *id) { +void NSView_inst_ExerciseAmbiguityInLayout(void *id) { [(NSView*)id exerciseAmbiguityInLayout]; } -void NSView_inst_exitFullScreenModeWithOptions(void *id, void* options) { +void NSView_inst_ExitFullScreenModeWithOptions(void *id, void* options) { [(NSView*)id exitFullScreenModeWithOptions: options]; } -NSRect NSView_inst_frameForAlignmentRect(void *id, NSRect alignmentRect) { +NSRect NSView_inst_FrameForAlignmentRect(void *id, NSRect alignmentRect) { return [(NSView*)id frameForAlignmentRect: alignmentRect]; } -void* NSView_inst_hitTest(void *id, NSPoint point) { +void* NSView_inst_HitTest(void *id, NSPoint point) { return [(NSView*)id hitTest: point]; } -void* NSView_inst_initWithFrame(void *id, NSRect frameRect) { +void* NSView_inst_InitWithFrame(void *id, NSRect frameRect) { return [(NSView*)id initWithFrame: frameRect]; } -void NSView_inst_invalidateIntrinsicContentSize(void *id) { +void NSView_inst_InvalidateIntrinsicContentSize(void *id) { [(NSView*)id invalidateIntrinsicContentSize]; } -BOOL NSView_inst_isDescendantOf(void *id, void* view) { +BOOL NSView_inst_IsDescendantOf(void *id, void* view) { return [(NSView*)id isDescendantOf: view]; } -void NSView_inst_layout(void *id) { +void NSView_inst_Layout(void *id) { [(NSView*)id layout]; } -void NSView_inst_layoutSubtreeIfNeeded(void *id) { +void NSView_inst_LayoutSubtreeIfNeeded(void *id) { [(NSView*)id layoutSubtreeIfNeeded]; } -NSPoint NSView_inst_locationOfPrintRect(void *id, NSRect rect) { +NSPoint NSView_inst_LocationOfPrintRect(void *id, NSRect rect) { return [(NSView*)id locationOfPrintRect: rect]; } -void* NSView_inst_makeBackingLayer(void *id) { +void* NSView_inst_MakeBackingLayer(void *id) { return [(NSView*)id makeBackingLayer]; } -void* NSView_inst_menuForEvent(void *id, void* event) { +void* NSView_inst_MenuForEvent(void *id, void* event) { return [(NSView*)id menuForEvent: event]; } -BOOL NSView_inst_mouse_inRect(void *id, NSPoint point, NSRect rect) { +BOOL NSView_inst_MouseInRect(void *id, NSPoint point, NSRect rect) { return [(NSView*)id mouse: point inRect: rect]; } -BOOL NSView_inst_needsToDrawRect(void *id, NSRect rect) { +BOOL NSView_inst_NeedsToDrawRect(void *id, NSRect rect) { return [(NSView*)id needsToDrawRect: rect]; } -void NSView_inst_noteFocusRingMaskChanged(void *id) { +void NSView_inst_NoteFocusRingMaskChanged(void *id) { [(NSView*)id noteFocusRingMaskChanged]; } -BOOL NSView_inst_performKeyEquivalent(void *id, void* event) { +BOOL NSView_inst_PerformKeyEquivalent(void *id, void* event) { return [(NSView*)id performKeyEquivalent: event]; } -void NSView_inst_prepareContentInRect(void *id, NSRect rect) { +void NSView_inst_PrepareContentInRect(void *id, NSRect rect) { [(NSView*)id prepareContentInRect: rect]; } -void NSView_inst_prepareForReuse(void *id) { +void NSView_inst_PrepareForReuse(void *id) { [(NSView*)id prepareForReuse]; } -void NSView_inst_print(void *id, void* sender) { +void NSView_inst_Print(void *id, void* sender) { [(NSView*)id print: sender]; } -NSRect NSView_inst_rectForPage(void *id, long page) { +NSRect NSView_inst_RectForPage(void *id, long page) { return [(NSView*)id rectForPage: page]; } -NSRect NSView_inst_rectForSmartMagnificationAtPoint_inRect(void *id, NSPoint location, NSRect visibleRect) { +NSRect NSView_inst_RectForSmartMagnificationAtPointInRect(void *id, NSPoint location, NSRect visibleRect) { return [(NSView*)id rectForSmartMagnificationAtPoint: location inRect: visibleRect]; } -void NSView_inst_registerForDraggedTypes(void *id, void* newTypes) { +void NSView_inst_RegisterForDraggedTypes(void *id, void* newTypes) { [(NSView*)id registerForDraggedTypes: newTypes]; } -void NSView_inst_removeAllToolTips(void *id) { +void NSView_inst_RemoveAllToolTips(void *id) { [(NSView*)id removeAllToolTips]; } -void NSView_inst_removeConstraints(void *id, void* constraints) { +void NSView_inst_RemoveConstraints(void *id, void* constraints) { [(NSView*)id removeConstraints: constraints]; } -void NSView_inst_removeFromSuperview(void *id) { +void NSView_inst_RemoveFromSuperview(void *id) { [(NSView*)id removeFromSuperview]; } -void NSView_inst_removeFromSuperviewWithoutNeedingDisplay(void *id) { +void NSView_inst_RemoveFromSuperviewWithoutNeedingDisplay(void *id) { [(NSView*)id removeFromSuperviewWithoutNeedingDisplay]; } -void NSView_inst_replaceSubview_with(void *id, void* oldView, void* newView) { +void NSView_inst_ReplaceSubviewWith(void *id, void* oldView, void* newView) { [(NSView*)id replaceSubview: oldView with: newView]; } -void NSView_inst_resetCursorRects(void *id) { +void NSView_inst_ResetCursorRects(void *id) { [(NSView*)id resetCursorRects]; } -void NSView_inst_resizeSubviewsWithOldSize(void *id, NSSize oldSize) { +void NSView_inst_ResizeSubviewsWithOldSize(void *id, NSSize oldSize) { [(NSView*)id resizeSubviewsWithOldSize: oldSize]; } -void NSView_inst_resizeWithOldSuperviewSize(void *id, NSSize oldSize) { +void NSView_inst_ResizeWithOldSuperviewSize(void *id, NSSize oldSize) { [(NSView*)id resizeWithOldSuperviewSize: oldSize]; } -void NSView_inst_rotateByAngle(void *id, double angle) { +void NSView_inst_RotateByAngle(void *id, double angle) { [(NSView*)id rotateByAngle: angle]; } -void NSView_inst_scaleUnitSquareToSize(void *id, NSSize newUnitSize) { +void NSView_inst_ScaleUnitSquareToSize(void *id, NSSize newUnitSize) { [(NSView*)id scaleUnitSquareToSize: newUnitSize]; } -void NSView_inst_scrollPoint(void *id, NSPoint point) { +void NSView_inst_ScrollPoint(void *id, NSPoint point) { [(NSView*)id scrollPoint: point]; } -BOOL NSView_inst_scrollRectToVisible(void *id, NSRect rect) { +BOOL NSView_inst_ScrollRectToVisible(void *id, NSRect rect) { return [(NSView*)id scrollRectToVisible: rect]; } -void NSView_inst_setBoundsOrigin(void *id, NSPoint newOrigin) { +void NSView_inst_SetBoundsOrigin(void *id, NSPoint newOrigin) { [(NSView*)id setBoundsOrigin: newOrigin]; } -void NSView_inst_setBoundsSize(void *id, NSSize newSize) { +void NSView_inst_SetBoundsSize(void *id, NSSize newSize) { [(NSView*)id setBoundsSize: newSize]; } -void NSView_inst_setFrameOrigin(void *id, NSPoint newOrigin) { +void NSView_inst_SetFrameOrigin(void *id, NSPoint newOrigin) { [(NSView*)id setFrameOrigin: newOrigin]; } -void NSView_inst_setFrameSize(void *id, NSSize newSize) { +void NSView_inst_SetFrameSize(void *id, NSSize newSize) { [(NSView*)id setFrameSize: newSize]; } -void NSView_inst_setKeyboardFocusRingNeedsDisplayInRect(void *id, NSRect rect) { +void NSView_inst_SetKeyboardFocusRingNeedsDisplayInRect(void *id, NSRect rect) { [(NSView*)id setKeyboardFocusRingNeedsDisplayInRect: rect]; } -void NSView_inst_setNeedsDisplayInRect(void *id, NSRect invalidRect) { +void NSView_inst_SetNeedsDisplayInRect(void *id, NSRect invalidRect) { [(NSView*)id setNeedsDisplayInRect: invalidRect]; } -BOOL NSView_inst_shouldDelayWindowOrderingForEvent(void *id, void* event) { +BOOL NSView_inst_ShouldDelayWindowOrderingForEvent(void *id, void* event) { return [(NSView*)id shouldDelayWindowOrderingForEvent: event]; } -void NSView_inst_showDefinitionForAttributedString_atPoint(void *id, void* attrString, NSPoint textBaselineOrigin) { +void NSView_inst_ShowDefinitionForAttributedStringAtPoint(void *id, void* attrString, NSPoint textBaselineOrigin) { [(NSView*)id showDefinitionForAttributedString: attrString atPoint: textBaselineOrigin]; } -void NSView_inst_translateOriginToPoint(void *id, NSPoint translation) { +void NSView_inst_TranslateOriginToPoint(void *id, NSPoint translation) { [(NSView*)id translateOriginToPoint: translation]; } -void NSView_inst_translateRectsNeedingDisplayInRect_by(void *id, NSRect clipRect, NSSize delta) { +void NSView_inst_TranslateRectsNeedingDisplayInRectBy(void *id, NSRect clipRect, NSSize delta) { [(NSView*)id translateRectsNeedingDisplayInRect: clipRect by: delta]; } -void NSView_inst_unregisterDraggedTypes(void *id) { +void NSView_inst_UnregisterDraggedTypes(void *id) { [(NSView*)id unregisterDraggedTypes]; } -void NSView_inst_updateConstraints(void *id) { +void NSView_inst_UpdateConstraints(void *id) { [(NSView*)id updateConstraints]; } -void NSView_inst_updateConstraintsForSubtreeIfNeeded(void *id) { +void NSView_inst_UpdateConstraintsForSubtreeIfNeeded(void *id) { [(NSView*)id updateConstraintsForSubtreeIfNeeded]; } -void NSView_inst_updateLayer(void *id) { +void NSView_inst_UpdateLayer(void *id) { [(NSView*)id updateLayer]; } -void NSView_inst_updateTrackingAreas(void *id) { +void NSView_inst_UpdateTrackingAreas(void *id) { [(NSView*)id updateTrackingAreas]; } -void NSView_inst_viewDidChangeBackingProperties(void *id) { +void NSView_inst_ViewDidChangeBackingProperties(void *id) { [(NSView*)id viewDidChangeBackingProperties]; } -void NSView_inst_viewDidChangeEffectiveAppearance(void *id) { +void NSView_inst_ViewDidChangeEffectiveAppearance(void *id) { [(NSView*)id viewDidChangeEffectiveAppearance]; } -void NSView_inst_viewDidEndLiveResize(void *id) { +void NSView_inst_ViewDidEndLiveResize(void *id) { [(NSView*)id viewDidEndLiveResize]; } -void NSView_inst_viewDidHide(void *id) { +void NSView_inst_ViewDidHide(void *id) { [(NSView*)id viewDidHide]; } -void NSView_inst_viewDidMoveToSuperview(void *id) { +void NSView_inst_ViewDidMoveToSuperview(void *id) { [(NSView*)id viewDidMoveToSuperview]; } -void NSView_inst_viewDidMoveToWindow(void *id) { +void NSView_inst_ViewDidMoveToWindow(void *id) { [(NSView*)id viewDidMoveToWindow]; } -void NSView_inst_viewDidUnhide(void *id) { +void NSView_inst_ViewDidUnhide(void *id) { [(NSView*)id viewDidUnhide]; } -void NSView_inst_viewWillDraw(void *id) { +void NSView_inst_ViewWillDraw(void *id) { [(NSView*)id viewWillDraw]; } -void NSView_inst_viewWillMoveToSuperview(void *id, void* newSuperview) { +void NSView_inst_ViewWillMoveToSuperview(void *id, void* newSuperview) { [(NSView*)id viewWillMoveToSuperview: newSuperview]; } -void NSView_inst_viewWillMoveToWindow(void *id, void* newWindow) { +void NSView_inst_ViewWillMoveToWindow(void *id, void* newWindow) { [(NSView*)id viewWillMoveToWindow: newWindow]; } -void NSView_inst_viewWillStartLiveResize(void *id) { +void NSView_inst_ViewWillStartLiveResize(void *id) { [(NSView*)id viewWillStartLiveResize]; } -void* NSView_inst_viewWithTag(void *id, long tag) { +void* NSView_inst_ViewWithTag(void *id, long tag) { return [(NSView*)id viewWithTag: tag]; } -void NSView_inst_willOpenMenu_withEvent(void *id, void* menu, void* event) { +void NSView_inst_WillOpenMenuWithEvent(void *id, void* menu, void* event) { [(NSView*)id willOpenMenu: menu withEvent: event]; } -void NSView_inst_willRemoveSubview(void *id, void* subview) { +void NSView_inst_WillRemoveSubview(void *id, void* subview) { [(NSView*)id willRemoveSubview: subview]; } -void NSView_inst_writeEPSInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { +void NSView_inst_WriteEPSInsideRectToPasteboard(void *id, NSRect rect, void* pasteboard) { [(NSView*)id writeEPSInsideRect: rect toPasteboard: pasteboard]; } -void NSView_inst_writePDFInsideRect_toPasteboard(void *id, NSRect rect, void* pasteboard) { +void NSView_inst_WritePDFInsideRectToPasteboard(void *id, NSRect rect, void* pasteboard) { [(NSView*)id writePDFInsideRect: rect toPasteboard: pasteboard]; } -void* NSView_inst_init(void *id) { +void* NSView_inst_Init(void *id) { return [(NSView*)id init]; } -void* NSView_inst_superview(void *id) { +void* NSView_inst_Superview(void *id) { return [(NSView*)id superview]; } -void* NSView_inst_subviews(void *id) { +void* NSView_inst_Subviews(void *id) { return [(NSView*)id subviews]; } -void NSView_inst_setSubviews(void *id, void* value) { +void NSView_inst_SetSubviews(void *id, void* value) { [(NSView*)id setSubviews: value]; } -void* NSView_inst_window(void *id) { +void* NSView_inst_Window(void *id) { return [(NSView*)id window]; } -void* NSView_inst_opaqueAncestor(void *id) { +void* NSView_inst_OpaqueAncestor(void *id) { return [(NSView*)id opaqueAncestor]; } -void* NSView_inst_enclosingMenuItem(void *id) { +void* NSView_inst_EnclosingMenuItem(void *id) { return [(NSView*)id enclosingMenuItem]; } -NSRect NSView_inst_frame(void *id) { +NSRect NSView_inst_Frame(void *id) { return [(NSView*)id frame]; } -void NSView_inst_setFrame(void *id, NSRect value) { +void NSView_inst_SetFrame(void *id, NSRect value) { [(NSView*)id setFrame: value]; } -double NSView_inst_frameRotation(void *id) { +double NSView_inst_FrameRotation(void *id) { return [(NSView*)id frameRotation]; } -void NSView_inst_setFrameRotation(void *id, double value) { +void NSView_inst_SetFrameRotation(void *id, double value) { [(NSView*)id setFrameRotation: value]; } -NSRect NSView_inst_bounds(void *id) { +NSRect NSView_inst_Bounds(void *id) { return [(NSView*)id bounds]; } -void NSView_inst_setBounds(void *id, NSRect value) { +void NSView_inst_SetBounds(void *id, NSRect value) { [(NSView*)id setBounds: value]; } -double NSView_inst_boundsRotation(void *id) { +double NSView_inst_BoundsRotation(void *id) { return [(NSView*)id boundsRotation]; } -void NSView_inst_setBoundsRotation(void *id, double value) { +void NSView_inst_SetBoundsRotation(void *id, double value) { [(NSView*)id setBoundsRotation: value]; } -BOOL NSView_inst_wantsLayer(void *id) { +BOOL NSView_inst_WantsLayer(void *id) { return [(NSView*)id wantsLayer]; } -void NSView_inst_setWantsLayer(void *id, BOOL value) { +void NSView_inst_SetWantsLayer(void *id, BOOL value) { [(NSView*)id setWantsLayer: value]; } -BOOL NSView_inst_wantsUpdateLayer(void *id) { +BOOL NSView_inst_WantsUpdateLayer(void *id) { return [(NSView*)id wantsUpdateLayer]; } -void* NSView_inst_layer(void *id) { +void* NSView_inst_Layer(void *id) { return [(NSView*)id layer]; } -void NSView_inst_setLayer(void *id, void* value) { +void NSView_inst_SetLayer(void *id, void* value) { [(NSView*)id setLayer: value]; } -BOOL NSView_inst_canDrawSubviewsIntoLayer(void *id) { +BOOL NSView_inst_CanDrawSubviewsIntoLayer(void *id) { return [(NSView*)id canDrawSubviewsIntoLayer]; } -void NSView_inst_setCanDrawSubviewsIntoLayer(void *id, BOOL value) { +void NSView_inst_SetCanDrawSubviewsIntoLayer(void *id, BOOL value) { [(NSView*)id setCanDrawSubviewsIntoLayer: value]; } -BOOL NSView_inst_layerUsesCoreImageFilters(void *id) { +BOOL NSView_inst_LayerUsesCoreImageFilters(void *id) { return [(NSView*)id layerUsesCoreImageFilters]; } -void NSView_inst_setLayerUsesCoreImageFilters(void *id, BOOL value) { +void NSView_inst_SetLayerUsesCoreImageFilters(void *id, BOOL value) { [(NSView*)id setLayerUsesCoreImageFilters: value]; } -double NSView_inst_alphaValue(void *id) { +double NSView_inst_AlphaValue(void *id) { return [(NSView*)id alphaValue]; } -void NSView_inst_setAlphaValue(void *id, double value) { +void NSView_inst_SetAlphaValue(void *id, double value) { [(NSView*)id setAlphaValue: value]; } -double NSView_inst_frameCenterRotation(void *id) { +double NSView_inst_FrameCenterRotation(void *id) { return [(NSView*)id frameCenterRotation]; } -void NSView_inst_setFrameCenterRotation(void *id, double value) { +void NSView_inst_SetFrameCenterRotation(void *id, double value) { [(NSView*)id setFrameCenterRotation: value]; } -void* NSView_inst_backgroundFilters(void *id) { +void* NSView_inst_BackgroundFilters(void *id) { return [(NSView*)id backgroundFilters]; } -void NSView_inst_setBackgroundFilters(void *id, void* value) { +void NSView_inst_SetBackgroundFilters(void *id, void* value) { [(NSView*)id setBackgroundFilters: value]; } -void* NSView_inst_contentFilters(void *id) { +void* NSView_inst_ContentFilters(void *id) { return [(NSView*)id contentFilters]; } -void NSView_inst_setContentFilters(void *id, void* value) { +void NSView_inst_SetContentFilters(void *id, void* value) { [(NSView*)id setContentFilters: value]; } -BOOL NSView_inst_canDrawConcurrently(void *id) { +BOOL NSView_inst_CanDrawConcurrently(void *id) { return [(NSView*)id canDrawConcurrently]; } -void NSView_inst_setCanDrawConcurrently(void *id, BOOL value) { +void NSView_inst_SetCanDrawConcurrently(void *id, BOOL value) { [(NSView*)id setCanDrawConcurrently: value]; } -NSRect NSView_inst_visibleRect(void *id) { +NSRect NSView_inst_VisibleRect(void *id) { return [(NSView*)id visibleRect]; } -BOOL NSView_inst_wantsDefaultClipping(void *id) { +BOOL NSView_inst_WantsDefaultClipping(void *id) { return [(NSView*)id wantsDefaultClipping]; } -void* NSView_inst_printJobTitle(void *id) { +void* NSView_inst_PrintJobTitle(void *id) { return [(NSView*)id printJobTitle]; } -void* NSView_inst_pageHeader(void *id) { +void* NSView_inst_PageHeader(void *id) { return [(NSView*)id pageHeader]; } -void* NSView_inst_pageFooter(void *id) { +void* NSView_inst_PageFooter(void *id) { return [(NSView*)id pageFooter]; } -double NSView_inst_heightAdjustLimit(void *id) { +double NSView_inst_HeightAdjustLimit(void *id) { return [(NSView*)id heightAdjustLimit]; } -double NSView_inst_widthAdjustLimit(void *id) { +double NSView_inst_WidthAdjustLimit(void *id) { return [(NSView*)id widthAdjustLimit]; } -BOOL NSView_inst_needsDisplay(void *id) { +BOOL NSView_inst_NeedsDisplay(void *id) { return [(NSView*)id needsDisplay]; } -void NSView_inst_setNeedsDisplay(void *id, BOOL value) { +void NSView_inst_SetNeedsDisplay(void *id, BOOL value) { [(NSView*)id setNeedsDisplay: value]; } -BOOL NSView_inst_isOpaque(void *id) { +BOOL NSView_inst_IsOpaque(void *id) { return [(NSView*)id isOpaque]; } -BOOL NSView_inst_isFlipped(void *id) { +BOOL NSView_inst_IsFlipped(void *id) { return [(NSView*)id isFlipped]; } -BOOL NSView_inst_isRotatedFromBase(void *id) { +BOOL NSView_inst_IsRotatedFromBase(void *id) { return [(NSView*)id isRotatedFromBase]; } -BOOL NSView_inst_isRotatedOrScaledFromBase(void *id) { +BOOL NSView_inst_IsRotatedOrScaledFromBase(void *id) { return [(NSView*)id isRotatedOrScaledFromBase]; } -BOOL NSView_inst_autoresizesSubviews(void *id) { +BOOL NSView_inst_AutoresizesSubviews(void *id) { return [(NSView*)id autoresizesSubviews]; } -void NSView_inst_setAutoresizesSubviews(void *id, BOOL value) { +void NSView_inst_SetAutoresizesSubviews(void *id, BOOL value) { [(NSView*)id setAutoresizesSubviews: value]; } -void* NSView_inst_constraints(void *id) { +void* NSView_inst_Constraints(void *id) { return [(NSView*)id constraints]; } -void* NSView_inst_layoutGuides(void *id) { +void* NSView_inst_LayoutGuides(void *id) { return [(NSView*)id layoutGuides]; } -NSSize NSView_inst_fittingSize(void *id) { +NSSize NSView_inst_FittingSize(void *id) { return [(NSView*)id fittingSize]; } -NSSize NSView_inst_intrinsicContentSize(void *id) { +NSSize NSView_inst_IntrinsicContentSize(void *id) { return [(NSView*)id intrinsicContentSize]; } -double NSView_inst_baselineOffsetFromBottom(void *id) { +double NSView_inst_BaselineOffsetFromBottom(void *id) { return [(NSView*)id baselineOffsetFromBottom]; } -double NSView_inst_firstBaselineOffsetFromTop(void *id) { +double NSView_inst_FirstBaselineOffsetFromTop(void *id) { return [(NSView*)id firstBaselineOffsetFromTop]; } -double NSView_inst_lastBaselineOffsetFromBottom(void *id) { +double NSView_inst_LastBaselineOffsetFromBottom(void *id) { return [(NSView*)id lastBaselineOffsetFromBottom]; } -BOOL NSView_inst_needsLayout(void *id) { +BOOL NSView_inst_NeedsLayout(void *id) { return [(NSView*)id needsLayout]; } -void NSView_inst_setNeedsLayout(void *id, BOOL value) { +void NSView_inst_SetNeedsLayout(void *id, BOOL value) { [(NSView*)id setNeedsLayout: value]; } -BOOL NSView_inst_needsUpdateConstraints(void *id) { +BOOL NSView_inst_NeedsUpdateConstraints(void *id) { return [(NSView*)id needsUpdateConstraints]; } -void NSView_inst_setNeedsUpdateConstraints(void *id, BOOL value) { +void NSView_inst_SetNeedsUpdateConstraints(void *id, BOOL value) { [(NSView*)id setNeedsUpdateConstraints: value]; } -BOOL NSView_inst_translatesAutoresizingMaskIntoConstraints(void *id) { +BOOL NSView_inst_TranslatesAutoresizingMaskIntoConstraints(void *id) { return [(NSView*)id translatesAutoresizingMaskIntoConstraints]; } -void NSView_inst_setTranslatesAutoresizingMaskIntoConstraints(void *id, BOOL value) { +void NSView_inst_SetTranslatesAutoresizingMaskIntoConstraints(void *id, BOOL value) { [(NSView*)id setTranslatesAutoresizingMaskIntoConstraints: value]; } -BOOL NSView_inst_hasAmbiguousLayout(void *id) { +BOOL NSView_inst_HasAmbiguousLayout(void *id) { return [(NSView*)id hasAmbiguousLayout]; } -NSRect NSView_inst_focusRingMaskBounds(void *id) { +NSRect NSView_inst_FocusRingMaskBounds(void *id) { return [(NSView*)id focusRingMaskBounds]; } -BOOL NSView_inst_allowsVibrancy(void *id) { +BOOL NSView_inst_AllowsVibrancy(void *id) { return [(NSView*)id allowsVibrancy]; } -BOOL NSView_inst_isInFullScreenMode(void *id) { +BOOL NSView_inst_IsInFullScreenMode(void *id) { return [(NSView*)id isInFullScreenMode]; } -BOOL NSView_inst_isHidden(void *id) { +BOOL NSView_inst_IsHidden(void *id) { return [(NSView*)id isHidden]; } -void NSView_inst_setHidden(void *id, BOOL value) { +void NSView_inst_SetHidden(void *id, BOOL value) { [(NSView*)id setHidden: value]; } -BOOL NSView_inst_isHiddenOrHasHiddenAncestor(void *id) { +BOOL NSView_inst_IsHiddenOrHasHiddenAncestor(void *id) { return [(NSView*)id isHiddenOrHasHiddenAncestor]; } -BOOL NSView_inst_inLiveResize(void *id) { +BOOL NSView_inst_InLiveResize(void *id) { return [(NSView*)id inLiveResize]; } -BOOL NSView_inst_preservesContentDuringLiveResize(void *id) { +BOOL NSView_inst_PreservesContentDuringLiveResize(void *id) { return [(NSView*)id preservesContentDuringLiveResize]; } -NSRect NSView_inst_rectPreservedDuringLiveResize(void *id) { +NSRect NSView_inst_RectPreservedDuringLiveResize(void *id) { return [(NSView*)id rectPreservedDuringLiveResize]; } -void* NSView_inst_gestureRecognizers(void *id) { +void* NSView_inst_GestureRecognizers(void *id) { return [(NSView*)id gestureRecognizers]; } -void NSView_inst_setGestureRecognizers(void *id, void* value) { +void NSView_inst_SetGestureRecognizers(void *id, void* value) { [(NSView*)id setGestureRecognizers: value]; } -BOOL NSView_inst_mouseDownCanMoveWindow(void *id) { +BOOL NSView_inst_MouseDownCanMoveWindow(void *id) { return [(NSView*)id mouseDownCanMoveWindow]; } -BOOL NSView_inst_wantsRestingTouches(void *id) { +BOOL NSView_inst_WantsRestingTouches(void *id) { return [(NSView*)id wantsRestingTouches]; } -void NSView_inst_setWantsRestingTouches(void *id, BOOL value) { +void NSView_inst_SetWantsRestingTouches(void *id, BOOL value) { [(NSView*)id setWantsRestingTouches: value]; } -BOOL NSView_inst_canBecomeKeyView(void *id) { +BOOL NSView_inst_CanBecomeKeyView(void *id) { return [(NSView*)id canBecomeKeyView]; } -BOOL NSView_inst_needsPanelToBecomeKey(void *id) { +BOOL NSView_inst_NeedsPanelToBecomeKey(void *id) { return [(NSView*)id needsPanelToBecomeKey]; } -void* NSView_inst_nextKeyView(void *id) { +void* NSView_inst_NextKeyView(void *id) { return [(NSView*)id nextKeyView]; } -void NSView_inst_setNextKeyView(void *id, void* value) { +void NSView_inst_SetNextKeyView(void *id, void* value) { [(NSView*)id setNextKeyView: value]; } -void* NSView_inst_nextValidKeyView(void *id) { +void* NSView_inst_NextValidKeyView(void *id) { return [(NSView*)id nextValidKeyView]; } -void* NSView_inst_previousKeyView(void *id) { +void* NSView_inst_PreviousKeyView(void *id) { return [(NSView*)id previousKeyView]; } -void* NSView_inst_previousValidKeyView(void *id) { +void* NSView_inst_PreviousValidKeyView(void *id) { return [(NSView*)id previousValidKeyView]; } -NSRect NSView_inst_preparedContentRect(void *id) { +NSRect NSView_inst_PreparedContentRect(void *id) { return [(NSView*)id preparedContentRect]; } -void NSView_inst_setPreparedContentRect(void *id, NSRect value) { +void NSView_inst_SetPreparedContentRect(void *id, NSRect value) { [(NSView*)id setPreparedContentRect: value]; } -void* NSView_inst_registeredDraggedTypes(void *id) { +void* NSView_inst_RegisteredDraggedTypes(void *id) { return [(NSView*)id registeredDraggedTypes]; } -BOOL NSView_inst_postsFrameChangedNotifications(void *id) { +BOOL NSView_inst_PostsFrameChangedNotifications(void *id) { return [(NSView*)id postsFrameChangedNotifications]; } -void NSView_inst_setPostsFrameChangedNotifications(void *id, BOOL value) { +void NSView_inst_SetPostsFrameChangedNotifications(void *id, BOOL value) { [(NSView*)id setPostsFrameChangedNotifications: value]; } -BOOL NSView_inst_postsBoundsChangedNotifications(void *id) { +BOOL NSView_inst_PostsBoundsChangedNotifications(void *id) { return [(NSView*)id postsBoundsChangedNotifications]; } -void NSView_inst_setPostsBoundsChangedNotifications(void *id, BOOL value) { +void NSView_inst_SetPostsBoundsChangedNotifications(void *id, BOOL value) { [(NSView*)id setPostsBoundsChangedNotifications: value]; } -long NSView_inst_tag(void *id) { +long NSView_inst_Tag(void *id) { return [(NSView*)id tag]; } -void* NSView_inst_toolTip(void *id) { +void* NSView_inst_ToolTip(void *id) { return [(NSView*)id toolTip]; } -void NSView_inst_setToolTip(void *id, void* value) { +void NSView_inst_SetToolTip(void *id, void* value) { [(NSView*)id setToolTip: value]; } -void* NSView_inst_trackingAreas(void *id) { +void* NSView_inst_TrackingAreas(void *id) { return [(NSView*)id trackingAreas]; } -BOOL NSView_inst_isDrawingFindIndicator(void *id) { +BOOL NSView_inst_IsDrawingFindIndicator(void *id) { return [(NSView*)id isDrawingFindIndicator]; } -BOOL NSView_inst_isHorizontalContentSizeConstraintActive(void *id) { +BOOL NSView_inst_IsHorizontalContentSizeConstraintActive(void *id) { return [(NSView*)id isHorizontalContentSizeConstraintActive]; } -void NSView_inst_setHorizontalContentSizeConstraintActive(void *id, BOOL value) { +void NSView_inst_SetHorizontalContentSizeConstraintActive(void *id, BOOL value) { [(NSView*)id setHorizontalContentSizeConstraintActive: value]; } -BOOL NSView_inst_isVerticalContentSizeConstraintActive(void *id) { +BOOL NSView_inst_IsVerticalContentSizeConstraintActive(void *id) { return [(NSView*)id isVerticalContentSizeConstraintActive]; } -void NSView_inst_setVerticalContentSizeConstraintActive(void *id, BOOL value) { +void NSView_inst_SetVerticalContentSizeConstraintActive(void *id, BOOL value) { [(NSView*)id setVerticalContentSizeConstraintActive: value]; } -void* NSView_inst_backgroundColor(void *id) { +void* NSView_inst_BackgroundColor(void *id) { return [(NSView*)id backgroundColor]; } -void NSView_inst_setBackgroundColor(void *id, void* value) { +void NSView_inst_SetBackgroundColor(void *id, void* value) { [(NSView*)id setBackgroundColor: value]; } @@ -7527,21 +7527,21 @@ func convertToObjCBool(b bool) C.BOOL { return C.cocoa_objc_bool_false } -// NSBundle_alloc +// NSBundle_Alloc // // See for details. -func NSBundle_alloc() NSBundle { - ret := C.NSBundle_type_alloc() +func NSBundle_Alloc() NSBundle { + ret := C.NSBundle_type_Alloc() return NSBundle_fromPointer(ret) } -// NSBundle_bundleWithURL returns an nsbundle object that corresponds to the specified file url. +// NSBundle_BundleWithURL returns an nsbundle object that corresponds to the specified file url. // // See https://developer.apple.com/documentation/foundation/nsbundle/1494992-bundlewithurl?language=objc for details. -func NSBundle_bundleWithURL(url core.NSURLRef) NSBundle { - ret := C.NSBundle_type_bundleWithURL( +func NSBundle_BundleWithURL(url core.NSURLRef) NSBundle { + ret := C.NSBundle_type_BundleWithURL( objc.RefPointer(url), ) @@ -7549,11 +7549,11 @@ func NSBundle_bundleWithURL(url core.NSURLRef) NSBundle { } -// NSBundle_bundleWithPath returns an nsbundle object that corresponds to the specified directory. +// NSBundle_BundleWithPath returns an nsbundle object that corresponds to the specified directory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1495012-bundlewithpath?language=objc for details. -func NSBundle_bundleWithPath(path core.NSStringRef) NSBundle { - ret := C.NSBundle_type_bundleWithPath( +func NSBundle_BundleWithPath(path core.NSStringRef) NSBundle { + ret := C.NSBundle_type_BundleWithPath( objc.RefPointer(path), ) @@ -7561,11 +7561,11 @@ func NSBundle_bundleWithPath(path core.NSStringRef) NSBundle { } -// NSBundle_bundleWithIdentifier returns the nsbundle instance that has the specified bundle identifier. +// NSBundle_BundleWithIdentifier returns the nsbundle instance that has the specified bundle identifier. // // See https://developer.apple.com/documentation/foundation/nsbundle/1411929-bundlewithidentifier?language=objc for details. -func NSBundle_bundleWithIdentifier(identifier core.NSStringRef) NSBundle { - ret := C.NSBundle_type_bundleWithIdentifier( +func NSBundle_BundleWithIdentifier(identifier core.NSStringRef) NSBundle { + ret := C.NSBundle_type_BundleWithIdentifier( objc.RefPointer(identifier), ) @@ -7573,11 +7573,11 @@ func NSBundle_bundleWithIdentifier(identifier core.NSStringRef) NSBundle { } -// NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL creates and returns a file url for the resource with the specified name and extension in the specified bundle. +// NSBundle_URLForResourceWithExtensionSubdirectoryInBundleWithURL creates and returns a file url for the resource with the specified name and extension in the specified bundle. // // See https://developer.apple.com/documentation/foundation/nsbundle/1416361-urlforresource?language=objc for details. -func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSURL { - ret := C.NSBundle_type_URLForResource_withExtension_subdirectory_inBundleWithURL( +func NSBundle_URLForResourceWithExtensionSubdirectoryInBundleWithURL(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSURL { + ret := C.NSBundle_type_URLForResourceWithExtensionSubdirectoryInBundleWithURL( objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -7588,11 +7588,11 @@ func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL(name cor } -// NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle. +// NSBundle_URLsForResourcesWithExtensionSubdirectoryInBundleWithURL returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle. // // See https://developer.apple.com/documentation/foundation/nsbundle/1409807-urlsforresourceswithextension?language=objc for details. -func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSArray { - ret := C.NSBundle_type_URLsForResourcesWithExtension_subdirectory_inBundleWithURL( +func NSBundle_URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) core.NSArray { + ret := C.NSBundle_type_URLsForResourcesWithExtensionSubdirectoryInBundleWithURL( objc.RefPointer(ext), objc.RefPointer(subpath), objc.RefPointer(bundleURL), @@ -7602,11 +7602,11 @@ func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL(ext cor } -// NSBundle_pathForResource_ofType_inDirectory returns the full pathname for the resource file identified by the specified name and extension and residing in a given bundle directory. +// NSBundle_PathForResourceOfTypeInDirectory returns the full pathname for the resource file identified by the specified name and extension and residing in a given bundle directory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1409523-pathforresource?language=objc for details. -func NSBundle_pathForResource_ofType_inDirectory(name core.NSStringRef, ext core.NSStringRef, bundlePath core.NSStringRef) core.NSString { - ret := C.NSBundle_type_pathForResource_ofType_inDirectory( +func NSBundle_PathForResourceOfTypeInDirectory(name core.NSStringRef, ext core.NSStringRef, bundlePath core.NSStringRef) core.NSString { + ret := C.NSBundle_type_PathForResourceOfTypeInDirectory( objc.RefPointer(name), objc.RefPointer(ext), objc.RefPointer(bundlePath), @@ -7616,11 +7616,11 @@ func NSBundle_pathForResource_ofType_inDirectory(name core.NSStringRef, ext core } -// NSBundle_pathsForResourcesOfType_inDirectory returns an array containing the pathnames for all bundle resources having the specified extension and residing in the bundle directory at the specified path. +// NSBundle_PathsForResourcesOfTypeInDirectory returns an array containing the pathnames for all bundle resources having the specified extension and residing in the bundle directory at the specified path. // // See https://developer.apple.com/documentation/foundation/nsbundle/1415876-pathsforresourcesoftype?language=objc for details. -func NSBundle_pathsForResourcesOfType_inDirectory(ext core.NSStringRef, bundlePath core.NSStringRef) core.NSArray { - ret := C.NSBundle_type_pathsForResourcesOfType_inDirectory( +func NSBundle_PathsForResourcesOfTypeInDirectory(ext core.NSStringRef, bundlePath core.NSStringRef) core.NSArray { + ret := C.NSBundle_type_PathsForResourcesOfTypeInDirectory( objc.RefPointer(ext), objc.RefPointer(bundlePath), ) @@ -7629,11 +7629,11 @@ func NSBundle_pathsForResourcesOfType_inDirectory(ext core.NSStringRef, bundlePa } -// NSBundle_preferredLocalizationsFromArray returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user. +// NSBundle_PreferredLocalizationsFromArray returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user. // // See https://developer.apple.com/documentation/foundation/nsbundle/1417249-preferredlocalizationsfromarray?language=objc for details. -func NSBundle_preferredLocalizationsFromArray(localizationsArray core.NSArrayRef) core.NSArray { - ret := C.NSBundle_type_preferredLocalizationsFromArray( +func NSBundle_PreferredLocalizationsFromArray(localizationsArray core.NSArrayRef) core.NSArray { + ret := C.NSBundle_type_PreferredLocalizationsFromArray( objc.RefPointer(localizationsArray), ) @@ -7641,11 +7641,11 @@ func NSBundle_preferredLocalizationsFromArray(localizationsArray core.NSArrayRef } -// NSBundle_preferredLocalizationsFromArray_forPreferences returns locale identifiers for which a bundle would provide localized content, given a specified list of candidates for a user's language preferences. +// NSBundle_PreferredLocalizationsFromArrayForPreferences returns locale identifiers for which a bundle would provide localized content, given a specified list of candidates for a user's language preferences. // // See https://developer.apple.com/documentation/foundation/nsbundle/1409418-preferredlocalizationsfromarray?language=objc for details. -func NSBundle_preferredLocalizationsFromArray_forPreferences(localizationsArray core.NSArrayRef, preferencesArray core.NSArrayRef) core.NSArray { - ret := C.NSBundle_type_preferredLocalizationsFromArray_forPreferences( +func NSBundle_PreferredLocalizationsFromArrayForPreferences(localizationsArray core.NSArrayRef, preferencesArray core.NSArrayRef) core.NSArray { + ret := C.NSBundle_type_PreferredLocalizationsFromArrayForPreferences( objc.RefPointer(localizationsArray), objc.RefPointer(preferencesArray), ) @@ -7654,51 +7654,51 @@ func NSBundle_preferredLocalizationsFromArray_forPreferences(localizationsArray } -// NSBundle_mainBundle returns the bundle object that contains the current executable. +// NSBundle_MainBundle returns the bundle object that contains the current executable. // // See https://developer.apple.com/documentation/foundation/nsbundle/1410786-mainbundle?language=objc for details. -func NSBundle_mainBundle() NSBundle { - ret := C.NSBundle_type_mainBundle() +func NSBundle_MainBundle() NSBundle { + ret := C.NSBundle_type_MainBundle() return NSBundle_fromPointer(ret) } -// NSBundle_allFrameworks returns an array of all of the application’s bundles that represent frameworks. +// NSBundle_AllFrameworks returns an array of all of the application’s bundles that represent frameworks. // // See https://developer.apple.com/documentation/foundation/nsbundle/1408056-allframeworks?language=objc for details. -func NSBundle_allFrameworks() core.NSArray { - ret := C.NSBundle_type_allFrameworks() +func NSBundle_AllFrameworks() core.NSArray { + ret := C.NSBundle_type_AllFrameworks() return core.NSArray_fromPointer(ret) } -// NSBundle_allBundles returns an array of all the application’s non-framework bundles. +// NSBundle_AllBundles returns an array of all the application’s non-framework bundles. // // See https://developer.apple.com/documentation/foundation/nsbundle/1413705-allbundles?language=objc for details. -func NSBundle_allBundles() core.NSArray { - ret := C.NSBundle_type_allBundles() +func NSBundle_AllBundles() core.NSArray { + ret := C.NSBundle_type_AllBundles() return core.NSArray_fromPointer(ret) } -// NSSound_alloc +// NSSound_Alloc // // See for details. -func NSSound_alloc() NSSound { - ret := C.NSSound_type_alloc() +func NSSound_Alloc() NSSound { + ret := C.NSSound_type_Alloc() return NSSound_fromPointer(ret) } -// NSSound_canInitWithPasteboard indicates whether the receiver can create an instance of itself from the data in a pasteboard. +// NSSound_CanInitWithPasteboard indicates whether the receiver can create an instance of itself from the data in a pasteboard. // // See https://developer.apple.com/documentation/appkit/nssound/1477276-caninitwithpasteboard?language=objc for details. -func NSSound_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { - ret := C.NSSound_type_canInitWithPasteboard( +func NSSound_CanInitWithPasteboard(pasteboard NSPasteboardRef) bool { + ret := C.NSSound_type_CanInitWithPasteboard( objc.RefPointer(pasteboard), ) @@ -7706,31 +7706,31 @@ func NSSound_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { } -// NSSound_soundUnfilteredTypes provides the file types the nssound class understands. +// NSSound_SoundUnfilteredTypes provides the file types the nssound class understands. // // See https://developer.apple.com/documentation/appkit/nssound/1477290-soundunfilteredtypes?language=objc for details. -func NSSound_soundUnfilteredTypes() core.NSArray { - ret := C.NSSound_type_soundUnfilteredTypes() +func NSSound_SoundUnfilteredTypes() core.NSArray { + ret := C.NSSound_type_SoundUnfilteredTypes() return core.NSArray_fromPointer(ret) } -// NSApplication_alloc +// NSApplication_Alloc // // See for details. -func NSApplication_alloc() NSApplication { - ret := C.NSApplication_type_alloc() +func NSApplication_Alloc() NSApplication { + ret := C.NSApplication_type_Alloc() return NSApplication_fromPointer(ret) } -// NSApplication_detachDrawingThread_toTarget_withObject creates and executes a new thread based on the specified target and selector. +// NSApplication_DetachDrawingThreadToTargetWithObject creates and executes a new thread based on the specified target and selector. // // See https://developer.apple.com/documentation/appkit/nsapplication/1428374-detachdrawingthread?language=objc for details. -func NSApplication_detachDrawingThread_toTarget_withObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { - C.NSApplication_type_detachDrawingThread_toTarget_withObject( +func NSApplication_DetachDrawingThreadToTargetWithObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { + C.NSApplication_type_DetachDrawingThreadToTargetWithObject( selector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(argument), @@ -7740,41 +7740,41 @@ func NSApplication_detachDrawingThread_toTarget_withObject(selector objc.Selecto } -// NSApplication_sharedApplication returns the application instance, creating it if it doesn’t exist yet. +// NSApplication_SharedApplication returns the application instance, creating it if it doesn’t exist yet. // // See https://developer.apple.com/documentation/appkit/nsapplication/1428360-sharedapplication?language=objc for details. -func NSApplication_sharedApplication() NSApplication { - ret := C.NSApplication_type_sharedApplication() +func NSApplication_SharedApplication() NSApplication { + ret := C.NSApplication_type_SharedApplication() return NSApplication_fromPointer(ret) } -// NSControl_alloc +// NSControl_Alloc // // See for details. -func NSControl_alloc() NSControl { - ret := C.NSControl_type_alloc() +func NSControl_Alloc() NSControl { + ret := C.NSControl_type_Alloc() return NSControl_fromPointer(ret) } -// NSButton_alloc +// NSButton_Alloc // // See for details. -func NSButton_alloc() NSButton { - ret := C.NSButton_type_alloc() +func NSButton_Alloc() NSButton { + ret := C.NSButton_type_Alloc() return NSButton_fromPointer(ret) } -// NSButton_checkboxWithTitle_target_action creates a standard checkbox with the title you specify. +// NSButton_CheckboxWithTitleTargetAction creates a standard checkbox with the title you specify. // // See https://developer.apple.com/documentation/appkit/nsbutton/1644525-checkboxwithtitle?language=objc for details. -func NSButton_checkboxWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { - ret := C.NSButton_type_checkboxWithTitle_target_action( +func NSButton_CheckboxWithTitleTargetAction(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { + ret := C.NSButton_type_CheckboxWithTitleTargetAction( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), @@ -7784,11 +7784,11 @@ func NSButton_checkboxWithTitle_target_action(title core.NSStringRef, target obj } -// NSButton_buttonWithImage_target_action creates a standard push button with the image you specify. +// NSButton_ButtonWithImageTargetAction creates a standard push button with the image you specify. // // See https://developer.apple.com/documentation/appkit/nsbutton/1644659-buttonwithimage?language=objc for details. -func NSButton_buttonWithImage_target_action(image NSImageRef, target objc.Ref, action objc.Selector) NSButton { - ret := C.NSButton_type_buttonWithImage_target_action( +func NSButton_ButtonWithImageTargetAction(image NSImageRef, target objc.Ref, action objc.Selector) NSButton { + ret := C.NSButton_type_ButtonWithImageTargetAction( objc.RefPointer(image), objc.RefPointer(target), action.SelectorAddress(), @@ -7798,11 +7798,11 @@ func NSButton_buttonWithImage_target_action(image NSImageRef, target objc.Ref, a } -// NSButton_radioButtonWithTitle_target_action creates a standard radio button with the title you specify. +// NSButton_RadioButtonWithTitleTargetAction creates a standard radio button with the title you specify. // // See https://developer.apple.com/documentation/appkit/nsbutton/1644340-radiobuttonwithtitle?language=objc for details. -func NSButton_radioButtonWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { - ret := C.NSButton_type_radioButtonWithTitle_target_action( +func NSButton_RadioButtonWithTitleTargetAction(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { + ret := C.NSButton_type_RadioButtonWithTitleTargetAction( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), @@ -7812,11 +7812,11 @@ func NSButton_radioButtonWithTitle_target_action(title core.NSStringRef, target } -// NSButton_buttonWithTitle_image_target_action creates a standard push button with a title and image. +// NSButton_ButtonWithTitleImageTargetAction creates a standard push button with a title and image. // // See https://developer.apple.com/documentation/appkit/nsbutton/1644719-buttonwithtitle?language=objc for details. -func NSButton_buttonWithTitle_image_target_action(title core.NSStringRef, image NSImageRef, target objc.Ref, action objc.Selector) NSButton { - ret := C.NSButton_type_buttonWithTitle_image_target_action( +func NSButton_ButtonWithTitleImageTargetAction(title core.NSStringRef, image NSImageRef, target objc.Ref, action objc.Selector) NSButton { + ret := C.NSButton_type_ButtonWithTitleImageTargetAction( objc.RefPointer(title), objc.RefPointer(image), objc.RefPointer(target), @@ -7827,11 +7827,11 @@ func NSButton_buttonWithTitle_image_target_action(title core.NSStringRef, image } -// NSButton_buttonWithTitle_target_action creates a standard push button with the title you specify. +// NSButton_ButtonWithTitleTargetAction creates a standard push button with the title you specify. // // See https://developer.apple.com/documentation/appkit/nsbutton/1644256-buttonwithtitle?language=objc for details. -func NSButton_buttonWithTitle_target_action(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { - ret := C.NSButton_type_buttonWithTitle_target_action( +func NSButton_ButtonWithTitleTargetAction(title core.NSStringRef, target objc.Ref, action objc.Selector) NSButton { + ret := C.NSButton_type_ButtonWithTitleTargetAction( objc.RefPointer(title), objc.RefPointer(target), action.SelectorAddress(), @@ -7841,21 +7841,21 @@ func NSButton_buttonWithTitle_target_action(title core.NSStringRef, target objc. } -// NSEvent_alloc +// NSEvent_Alloc // // See for details. -func NSEvent_alloc() NSEvent { - ret := C.NSEvent_type_alloc() +func NSEvent_Alloc() NSEvent { + ret := C.NSEvent_type_Alloc() return NSEvent_fromPointer(ret) } -// NSEvent_eventWithEventRef creates an event object that is based on a carbon type of event. +// NSEvent_EventWithEventRef creates an event object that is based on a carbon type of event. // // See https://developer.apple.com/documentation/appkit/nsevent/1528021-eventwitheventref?language=objc for details. -func NSEvent_eventWithEventRef(eventRef unsafe.Pointer) NSEvent { - ret := C.NSEvent_type_eventWithEventRef( +func NSEvent_EventWithEventRef(eventRef unsafe.Pointer) NSEvent { + ret := C.NSEvent_type_EventWithEventRef( eventRef, ) @@ -7863,21 +7863,21 @@ func NSEvent_eventWithEventRef(eventRef unsafe.Pointer) NSEvent { } -// NSEvent_stopPeriodicEvents stops generating periodic events for the current thread and discards any periodic events remaining in the queue. +// NSEvent_StopPeriodicEvents stops generating periodic events for the current thread and discards any periodic events remaining in the queue. // // See https://developer.apple.com/documentation/appkit/nsevent/1533746-stopperiodicevents?language=objc for details. -func NSEvent_stopPeriodicEvents() { - C.NSEvent_type_stopPeriodicEvents() +func NSEvent_StopPeriodicEvents() { + C.NSEvent_type_StopPeriodicEvents() return } -// NSEvent_removeMonitor remove the specified event monitor. +// NSEvent_RemoveMonitor remove the specified event monitor. // // See https://developer.apple.com/documentation/appkit/nsevent/1533709-removemonitor?language=objc for details. -func NSEvent_removeMonitor(eventMonitor objc.Ref) { - C.NSEvent_type_removeMonitor( +func NSEvent_RemoveMonitor(eventMonitor objc.Ref) { + C.NSEvent_type_RemoveMonitor( objc.RefPointer(eventMonitor), ) @@ -7885,41 +7885,41 @@ func NSEvent_removeMonitor(eventMonitor objc.Ref) { } -// NSEvent_pressedMouseButtons returns the indices of the currently depressed mouse buttons. +// NSEvent_PressedMouseButtons returns the indices of the currently depressed mouse buttons. // // See https://developer.apple.com/documentation/appkit/nsevent/1527943-pressedmousebuttons?language=objc for details. -func NSEvent_pressedMouseButtons() core.NSUInteger { - ret := C.NSEvent_type_pressedMouseButtons() +func NSEvent_PressedMouseButtons() core.NSUInteger { + ret := C.NSEvent_type_PressedMouseButtons() return core.NSUInteger(ret) } -// NSEvent_mouseLocation reports the current mouse position in screen coordinates. +// NSEvent_MouseLocation reports the current mouse position in screen coordinates. // // See https://developer.apple.com/documentation/appkit/nsevent/1533380-mouselocation?language=objc for details. -func NSEvent_mouseLocation() core.NSPoint { - ret := C.NSEvent_type_mouseLocation() +func NSEvent_MouseLocation() core.NSPoint { + ret := C.NSEvent_type_MouseLocation() return *(*core.NSPoint)(unsafe.Pointer(&ret)) } -// NSEvent_mouseCoalescingEnabled +// NSEvent_MouseCoalescingEnabled // // See https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc for details. -func NSEvent_mouseCoalescingEnabled() bool { - ret := C.NSEvent_type_mouseCoalescingEnabled() +func NSEvent_MouseCoalescingEnabled() bool { + ret := C.NSEvent_type_MouseCoalescingEnabled() return convertObjCBoolToGo(ret) } -// NSEvent_setMouseCoalescingEnabled +// NSEvent_SetMouseCoalescingEnabled // // See https://developer.apple.com/documentation/appkit/nsevent/2870068-mousecoalescingenabled?language=objc for details. -func NSEvent_setMouseCoalescingEnabled(value bool) { - C.NSEvent_type_setMouseCoalescingEnabled( +func NSEvent_SetMouseCoalescingEnabled(value bool) { + C.NSEvent_type_SetMouseCoalescingEnabled( convertToObjCBool(value), ) @@ -7927,31 +7927,31 @@ func NSEvent_setMouseCoalescingEnabled(value bool) { } -// NSEvent_swipeTrackingFromScrollEventsEnabled +// NSEvent_SwipeTrackingFromScrollEventsEnabled // // See https://developer.apple.com/documentation/appkit/nsevent/2870067-swipetrackingfromscrolleventsena?language=objc for details. -func NSEvent_swipeTrackingFromScrollEventsEnabled() bool { - ret := C.NSEvent_type_swipeTrackingFromScrollEventsEnabled() +func NSEvent_SwipeTrackingFromScrollEventsEnabled() bool { + ret := C.NSEvent_type_SwipeTrackingFromScrollEventsEnabled() return convertObjCBoolToGo(ret) } -// NSFont_alloc +// NSFont_Alloc // // See for details. -func NSFont_alloc() NSFont { - ret := C.NSFont_type_alloc() +func NSFont_Alloc() NSFont { + ret := C.NSFont_type_Alloc() return NSFont_fromPointer(ret) } -// NSFont_fontWithName_size creates a font object for the specified font name and font size. +// NSFont_FontWithNameSize creates a font object for the specified font name and font size. // // See https://developer.apple.com/documentation/appkit/nsfont/1525977-fontwithname?language=objc for details. -func NSFont_fontWithName_size(fontName core.NSStringRef, fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_fontWithName_size( +func NSFont_FontWithNameSize(fontName core.NSStringRef, fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_FontWithNameSize( objc.RefPointer(fontName), C.double(fontSize), ) @@ -7960,11 +7960,11 @@ func NSFont_fontWithName_size(fontName core.NSStringRef, fontSize core.CGFloat) } -// NSFont_userFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. +// NSFont_UserFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1524559-userfontofsize?language=objc for details. -func NSFont_userFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_userFontOfSize( +func NSFont_UserFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_UserFontOfSize( C.double(fontSize), ) @@ -7972,11 +7972,11 @@ func NSFont_userFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_userFixedPitchFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. +// NSFont_UserFixedPitchFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1531381-userfixedpitchfontofsize?language=objc for details. -func NSFont_userFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_userFixedPitchFontOfSize( +func NSFont_UserFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_UserFixedPitchFontOfSize( C.double(fontSize), ) @@ -7984,11 +7984,11 @@ func NSFont_userFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_systemFontOfSize returns the standard system font with the specified size. +// NSFont_SystemFontOfSize returns the standard system font with the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1530094-systemfontofsize?language=objc for details. -func NSFont_systemFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_systemFontOfSize( +func NSFont_SystemFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_SystemFontOfSize( C.double(fontSize), ) @@ -7996,11 +7996,11 @@ func NSFont_systemFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_boldSystemFontOfSize returns the standard system font in boldface type with the specified size. +// NSFont_BoldSystemFontOfSize returns the standard system font in boldface type with the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1533549-boldsystemfontofsize?language=objc for details. -func NSFont_boldSystemFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_boldSystemFontOfSize( +func NSFont_BoldSystemFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_BoldSystemFontOfSize( C.double(fontSize), ) @@ -8008,11 +8008,11 @@ func NSFont_boldSystemFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_labelFontOfSize returns the font used for standard interface labels in the specified size. +// NSFont_LabelFontOfSize returns the font used for standard interface labels in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1528213-labelfontofsize?language=objc for details. -func NSFont_labelFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_labelFontOfSize( +func NSFont_LabelFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_LabelFontOfSize( C.double(fontSize), ) @@ -8020,11 +8020,11 @@ func NSFont_labelFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_messageFontOfSize returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. +// NSFont_MessageFontOfSize returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1525777-messagefontofsize?language=objc for details. -func NSFont_messageFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_messageFontOfSize( +func NSFont_MessageFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_MessageFontOfSize( C.double(fontSize), ) @@ -8032,11 +8032,11 @@ func NSFont_messageFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_menuBarFontOfSize returns the font used for menu bar items, in the specified size. +// NSFont_MenuBarFontOfSize returns the font used for menu bar items, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1534194-menubarfontofsize?language=objc for details. -func NSFont_menuBarFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_menuBarFontOfSize( +func NSFont_MenuBarFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_MenuBarFontOfSize( C.double(fontSize), ) @@ -8044,11 +8044,11 @@ func NSFont_menuBarFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_menuFontOfSize returns the font used for menu items, in the specified size. +// NSFont_MenuFontOfSize returns the font used for menu items, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1533068-menufontofsize?language=objc for details. -func NSFont_menuFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_menuFontOfSize( +func NSFont_MenuFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_MenuFontOfSize( C.double(fontSize), ) @@ -8056,11 +8056,11 @@ func NSFont_menuFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_controlContentFontOfSize returns the font used for the content of controls in the specified size. +// NSFont_ControlContentFontOfSize returns the font used for the content of controls in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1527070-controlcontentfontofsize?language=objc for details. -func NSFont_controlContentFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_controlContentFontOfSize( +func NSFont_ControlContentFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_ControlContentFontOfSize( C.double(fontSize), ) @@ -8068,11 +8068,11 @@ func NSFont_controlContentFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_titleBarFontOfSize returns the font used for window title bars, in the specified size. +// NSFont_TitleBarFontOfSize returns the font used for window title bars, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1530200-titlebarfontofsize?language=objc for details. -func NSFont_titleBarFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_titleBarFontOfSize( +func NSFont_TitleBarFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_TitleBarFontOfSize( C.double(fontSize), ) @@ -8080,11 +8080,11 @@ func NSFont_titleBarFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_paletteFontOfSize returns the font used for palette window title bars, in the specified size. +// NSFont_PaletteFontOfSize returns the font used for palette window title bars, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1535462-palettefontofsize?language=objc for details. -func NSFont_paletteFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_paletteFontOfSize( +func NSFont_PaletteFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_PaletteFontOfSize( C.double(fontSize), ) @@ -8092,11 +8092,11 @@ func NSFont_paletteFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_toolTipsFontOfSize returns the font used for tool tips labels, in the specified size. +// NSFont_ToolTipsFontOfSize returns the font used for tool tips labels, in the specified size. // // See https://developer.apple.com/documentation/appkit/nsfont/1527704-tooltipsfontofsize?language=objc for details. -func NSFont_toolTipsFontOfSize(fontSize core.CGFloat) NSFont { - ret := C.NSFont_type_toolTipsFontOfSize( +func NSFont_ToolTipsFontOfSize(fontSize core.CGFloat) NSFont { + ret := C.NSFont_type_ToolTipsFontOfSize( C.double(fontSize), ) @@ -8104,11 +8104,11 @@ func NSFont_toolTipsFontOfSize(fontSize core.CGFloat) NSFont { } -// NSFont_setUserFont sets the font used by default for documents and other text under the user’s control to the specified font. +// NSFont_SetUserFont sets the font used by default for documents and other text under the user’s control to the specified font. // // See https://developer.apple.com/documentation/appkit/nsfont/1526068-setuserfont?language=objc for details. -func NSFont_setUserFont(font NSFontRef) { - C.NSFont_type_setUserFont( +func NSFont_SetUserFont(font NSFontRef) { + C.NSFont_type_SetUserFont( objc.RefPointer(font), ) @@ -8116,11 +8116,11 @@ func NSFont_setUserFont(font NSFontRef) { } -// NSFont_setUserFixedPitchFont sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. +// NSFont_SetUserFixedPitchFont sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. // // See https://developer.apple.com/documentation/appkit/nsfont/1529050-setuserfixedpitchfont?language=objc for details. -func NSFont_setUserFixedPitchFont(font NSFontRef) { - C.NSFont_type_setUserFixedPitchFont( +func NSFont_SetUserFixedPitchFont(font NSFontRef) { + C.NSFont_type_SetUserFixedPitchFont( objc.RefPointer(font), ) @@ -8128,51 +8128,51 @@ func NSFont_setUserFixedPitchFont(font NSFontRef) { } -// NSFont_systemFontSize returns the size of the standard system font. +// NSFont_SystemFontSize returns the size of the standard system font. // // See https://developer.apple.com/documentation/appkit/nsfont/1531931-systemfontsize?language=objc for details. -func NSFont_systemFontSize() core.CGFloat { - ret := C.NSFont_type_systemFontSize() +func NSFont_SystemFontSize() core.CGFloat { + ret := C.NSFont_type_SystemFontSize() return core.CGFloat(ret) } -// NSFont_smallSystemFontSize returns the size of the standard small system font. +// NSFont_SmallSystemFontSize returns the size of the standard small system font. // // See https://developer.apple.com/documentation/appkit/nsfont/1535612-smallsystemfontsize?language=objc for details. -func NSFont_smallSystemFontSize() core.CGFloat { - ret := C.NSFont_type_smallSystemFontSize() +func NSFont_SmallSystemFontSize() core.CGFloat { + ret := C.NSFont_type_SmallSystemFontSize() return core.CGFloat(ret) } -// NSFont_labelFontSize returns the size of the standard label font. +// NSFont_LabelFontSize returns the size of the standard label font. // // See https://developer.apple.com/documentation/appkit/nsfont/1534629-labelfontsize?language=objc for details. -func NSFont_labelFontSize() core.CGFloat { - ret := C.NSFont_type_labelFontSize() +func NSFont_LabelFontSize() core.CGFloat { + ret := C.NSFont_type_LabelFontSize() return core.CGFloat(ret) } -// NSImage_alloc +// NSImage_Alloc // // See for details. -func NSImage_alloc() NSImage { - ret := C.NSImage_type_alloc() +func NSImage_Alloc() NSImage { + ret := C.NSImage_type_Alloc() return NSImage_fromPointer(ret) } -// NSImage_imageWithSystemSymbolName_accessibilityDescription creates a symbol image with the system symbol name and accessibility description that you specify. +// NSImage_ImageWithSystemSymbolNameAccessibilityDescription creates a symbol image with the system symbol name and accessibility description that you specify. // // See https://developer.apple.com/documentation/appkit/nsimage/3622472-imagewithsystemsymbolname?language=objc for details. -func NSImage_imageWithSystemSymbolName_accessibilityDescription(symbolName core.NSStringRef, description core.NSStringRef) NSImage { - ret := C.NSImage_type_imageWithSystemSymbolName_accessibilityDescription( +func NSImage_ImageWithSystemSymbolNameAccessibilityDescription(symbolName core.NSStringRef, description core.NSStringRef) NSImage { + ret := C.NSImage_type_ImageWithSystemSymbolNameAccessibilityDescription( objc.RefPointer(symbolName), objc.RefPointer(description), ) @@ -8181,11 +8181,11 @@ func NSImage_imageWithSystemSymbolName_accessibilityDescription(symbolName core. } -// NSImage_canInitWithPasteboard tests whether the image can create an instance of itself using pasteboard data. +// NSImage_CanInitWithPasteboard tests whether the image can create an instance of itself using pasteboard data. // // See https://developer.apple.com/documentation/appkit/nsimage/1520039-caninitwithpasteboard?language=objc for details. -func NSImage_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { - ret := C.NSImage_type_canInitWithPasteboard( +func NSImage_CanInitWithPasteboard(pasteboard NSPasteboardRef) bool { + ret := C.NSImage_type_CanInitWithPasteboard( objc.RefPointer(pasteboard), ) @@ -8193,41 +8193,41 @@ func NSImage_canInitWithPasteboard(pasteboard NSPasteboardRef) bool { } -// NSImage_imageTypes returns an array of uti strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. +// NSImage_ImageTypes returns an array of uti strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. // // See https://developer.apple.com/documentation/appkit/nsimage/1519988-imagetypes?language=objc for details. -func NSImage_imageTypes() core.NSArray { - ret := C.NSImage_type_imageTypes() +func NSImage_ImageTypes() core.NSArray { + ret := C.NSImage_type_ImageTypes() return core.NSArray_fromPointer(ret) } -// NSImage_imageUnfilteredTypes returns an array of uti strings identifying the image types supported directly by the registered image representation objects. +// NSImage_ImageUnfilteredTypes returns an array of uti strings identifying the image types supported directly by the registered image representation objects. // // See https://developer.apple.com/documentation/appkit/nsimage/1519899-imageunfilteredtypes?language=objc for details. -func NSImage_imageUnfilteredTypes() core.NSArray { - ret := C.NSImage_type_imageUnfilteredTypes() +func NSImage_ImageUnfilteredTypes() core.NSArray { + ret := C.NSImage_type_ImageUnfilteredTypes() return core.NSArray_fromPointer(ret) } -// NSImageView_alloc +// NSImageView_Alloc // // See for details. -func NSImageView_alloc() NSImageView { - ret := C.NSImageView_type_alloc() +func NSImageView_Alloc() NSImageView { + ret := C.NSImageView_type_Alloc() return NSImageView_fromPointer(ret) } -// NSImageView_imageViewWithImage +// NSImageView_ImageViewWithImage // // See https://developer.apple.com/documentation/appkit/nsimageview/1644708-imageviewwithimage?language=objc for details. -func NSImageView_imageViewWithImage(image NSImageRef) NSImageView { - ret := C.NSImageView_type_imageViewWithImage( +func NSImageView_ImageViewWithImage(image NSImageRef) NSImageView { + ret := C.NSImageView_type_ImageViewWithImage( objc.RefPointer(image), ) @@ -8235,31 +8235,31 @@ func NSImageView_imageViewWithImage(image NSImageRef) NSImageView { } -// NSNib_alloc +// NSNib_Alloc // // See for details. -func NSNib_alloc() NSNib { - ret := C.NSNib_type_alloc() +func NSNib_Alloc() NSNib { + ret := C.NSNib_type_Alloc() return NSNib_fromPointer(ret) } -// NSPasteboard_alloc +// NSPasteboard_Alloc // // See for details. -func NSPasteboard_alloc() NSPasteboard { - ret := C.NSPasteboard_type_alloc() +func NSPasteboard_Alloc() NSPasteboard { + ret := C.NSPasteboard_type_Alloc() return NSPasteboard_fromPointer(ret) } -// NSPasteboard_pasteboardByFilteringFile creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. +// NSPasteboard_PasteboardByFilteringFile creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1532744-pasteboardbyfilteringfile?language=objc for details. -func NSPasteboard_pasteboardByFilteringFile(filename core.NSStringRef) NSPasteboard { - ret := C.NSPasteboard_type_pasteboardByFilteringFile( +func NSPasteboard_PasteboardByFilteringFile(filename core.NSStringRef) NSPasteboard { + ret := C.NSPasteboard_type_PasteboardByFilteringFile( objc.RefPointer(filename), ) @@ -8267,11 +8267,11 @@ func NSPasteboard_pasteboardByFilteringFile(filename core.NSStringRef) NSPastebo } -// NSPasteboard_pasteboardByFilteringTypesInPasteboard creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. +// NSPasteboard_PasteboardByFilteringTypesInPasteboard creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1530088-pasteboardbyfilteringtypesinpast?language=objc for details. -func NSPasteboard_pasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) NSPasteboard { - ret := C.NSPasteboard_type_pasteboardByFilteringTypesInPasteboard( +func NSPasteboard_PasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) NSPasteboard { + ret := C.NSPasteboard_type_PasteboardByFilteringTypesInPasteboard( objc.RefPointer(pboard), ) @@ -8279,61 +8279,61 @@ func NSPasteboard_pasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) } -// NSPasteboard_pasteboardWithUniqueName creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. +// NSPasteboard_PasteboardWithUniqueName creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1528936-pasteboardwithuniquename?language=objc for details. -func NSPasteboard_pasteboardWithUniqueName() NSPasteboard { - ret := C.NSPasteboard_type_pasteboardWithUniqueName() +func NSPasteboard_PasteboardWithUniqueName() NSPasteboard { + ret := C.NSPasteboard_type_PasteboardWithUniqueName() return NSPasteboard_fromPointer(ret) } -// NSPasteboard_generalPasteboard returns the shared pasteboard object to use for general content. +// NSPasteboard_GeneralPasteboard returns the shared pasteboard object to use for general content. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1530091-generalpasteboard?language=objc for details. -func NSPasteboard_generalPasteboard() NSPasteboard { - ret := C.NSPasteboard_type_generalPasteboard() +func NSPasteboard_GeneralPasteboard() NSPasteboard { + ret := C.NSPasteboard_type_GeneralPasteboard() return NSPasteboard_fromPointer(ret) } -// NSLayoutManager_alloc +// NSLayoutManager_Alloc // // See for details. -func NSLayoutManager_alloc() NSLayoutManager { - ret := C.NSLayoutManager_type_alloc() +func NSLayoutManager_Alloc() NSLayoutManager { + ret := C.NSLayoutManager_type_Alloc() return NSLayoutManager_fromPointer(ret) } -// NSMenu_alloc +// NSMenu_Alloc // // See for details. -func NSMenu_alloc() NSMenu { - ret := C.NSMenu_type_alloc() +func NSMenu_Alloc() NSMenu { + ret := C.NSMenu_type_Alloc() return NSMenu_fromPointer(ret) } -// NSMenu_menuBarVisible returns a boolean value that indicates whether the menu bar is visible. +// NSMenu_MenuBarVisible returns a boolean value that indicates whether the menu bar is visible. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518236-menubarvisible?language=objc for details. -func NSMenu_menuBarVisible() bool { - ret := C.NSMenu_type_menuBarVisible() +func NSMenu_MenuBarVisible() bool { + ret := C.NSMenu_type_MenuBarVisible() return convertObjCBoolToGo(ret) } -// NSMenu_setMenuBarVisible sets whether the menu bar is visible and selectable by the user. +// NSMenu_SetMenuBarVisible sets whether the menu bar is visible and selectable by the user. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518200-setmenubarvisible?language=objc for details. -func NSMenu_setMenuBarVisible(visible bool) { - C.NSMenu_type_setMenuBarVisible( +func NSMenu_SetMenuBarVisible(visible bool) { + C.NSMenu_type_SetMenuBarVisible( convertToObjCBool(visible), ) @@ -8341,11 +8341,11 @@ func NSMenu_setMenuBarVisible(visible bool) { } -// NSMenu_popUpContextMenu_withEvent_forView displays a contextual menu over a view for an event. +// NSMenu_PopUpContextMenuWithEventForView displays a contextual menu over a view for an event. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518170-popupcontextmenu?language=objc for details. -func NSMenu_popUpContextMenu_withEvent_forView(menu NSMenuRef, event NSEventRef, view NSViewRef) { - C.NSMenu_type_popUpContextMenu_withEvent_forView( +func NSMenu_PopUpContextMenuWithEventForView(menu NSMenuRef, event NSEventRef, view NSViewRef) { + C.NSMenu_type_PopUpContextMenuWithEventForView( objc.RefPointer(menu), objc.RefPointer(event), objc.RefPointer(view), @@ -8355,11 +8355,11 @@ func NSMenu_popUpContextMenu_withEvent_forView(menu NSMenuRef, event NSEventRef, } -// NSMenu_popUpContextMenu_withEvent_forView_withFont displays a contextual menu over a view for an event using a specified font. +// NSMenu_PopUpContextMenuWithEventForViewWithFont displays a contextual menu over a view for an event using a specified font. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518165-popupcontextmenu?language=objc for details. -func NSMenu_popUpContextMenu_withEvent_forView_withFont(menu NSMenuRef, event NSEventRef, view NSViewRef, font NSFontRef) { - C.NSMenu_type_popUpContextMenu_withEvent_forView_withFont( +func NSMenu_PopUpContextMenuWithEventForViewWithFont(menu NSMenuRef, event NSEventRef, view NSViewRef, font NSFontRef) { + C.NSMenu_type_PopUpContextMenuWithEventForViewWithFont( objc.RefPointer(menu), objc.RefPointer(event), objc.RefPointer(view), @@ -8370,51 +8370,51 @@ func NSMenu_popUpContextMenu_withEvent_forView_withFont(menu NSMenuRef, event NS } -// NSPopover_alloc +// NSPopover_Alloc // // See for details. -func NSPopover_alloc() NSPopover { - ret := C.NSPopover_type_alloc() +func NSPopover_Alloc() NSPopover { + ret := C.NSPopover_type_Alloc() return NSPopover_fromPointer(ret) } -// NSMenuItem_alloc +// NSMenuItem_Alloc // // See for details. -func NSMenuItem_alloc() NSMenuItem { - ret := C.NSMenuItem_type_alloc() +func NSMenuItem_Alloc() NSMenuItem { + ret := C.NSMenuItem_type_Alloc() return NSMenuItem_fromPointer(ret) } -// NSMenuItem_separatorItem returns a menu item that is used to separate logical groups of menu commands. +// NSMenuItem_SeparatorItem returns a menu item that is used to separate logical groups of menu commands. // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514838-separatoritem?language=objc for details. -func NSMenuItem_separatorItem() NSMenuItem { - ret := C.NSMenuItem_type_separatorItem() +func NSMenuItem_SeparatorItem() NSMenuItem { + ret := C.NSMenuItem_type_SeparatorItem() return NSMenuItem_fromPointer(ret) } -// NSMenuItem_usesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. +// NSMenuItem_UsesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc for details. -func NSMenuItem_usesUserKeyEquivalents() bool { - ret := C.NSMenuItem_type_usesUserKeyEquivalents() +func NSMenuItem_UsesUserKeyEquivalents() bool { + ret := C.NSMenuItem_type_UsesUserKeyEquivalents() return convertObjCBoolToGo(ret) } -// NSMenuItem_setUsesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. +// NSMenuItem_SetUsesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514811-usesuserkeyequivalents?language=objc for details. -func NSMenuItem_setUsesUserKeyEquivalents(value bool) { - C.NSMenuItem_type_setUsesUserKeyEquivalents( +func NSMenuItem_SetUsesUserKeyEquivalents(value bool) { + C.NSMenuItem_type_SetUsesUserKeyEquivalents( convertToObjCBool(value), ) @@ -8422,21 +8422,21 @@ func NSMenuItem_setUsesUserKeyEquivalents(value bool) { } -// NSRunningApplication_alloc +// NSRunningApplication_Alloc // // See for details. -func NSRunningApplication_alloc() NSRunningApplication { - ret := C.NSRunningApplication_type_alloc() +func NSRunningApplication_Alloc() NSRunningApplication { + ret := C.NSRunningApplication_type_Alloc() return NSRunningApplication_fromPointer(ret) } -// NSRunningApplication_runningApplicationsWithBundleIdentifier returns an array of currently running applications with the specified bundle identifier. +// NSRunningApplication_RunningApplicationsWithBundleIdentifier returns an array of currently running applications with the specified bundle identifier. // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1530798-runningapplicationswithbundleide?language=objc for details. -func NSRunningApplication_runningApplicationsWithBundleIdentifier(bundleIdentifier core.NSStringRef) core.NSArray { - ret := C.NSRunningApplication_type_runningApplicationsWithBundleIdentifier( +func NSRunningApplication_RunningApplicationsWithBundleIdentifier(bundleIdentifier core.NSStringRef) core.NSArray { + ret := C.NSRunningApplication_type_RunningApplicationsWithBundleIdentifier( objc.RefPointer(bundleIdentifier), ) @@ -8444,141 +8444,141 @@ func NSRunningApplication_runningApplicationsWithBundleIdentifier(bundleIdentifi } -// NSRunningApplication_terminateAutomaticallyTerminableApplications terminates invisibly running applications as if triggered by system memory pressure. +// NSRunningApplication_TerminateAutomaticallyTerminableApplications terminates invisibly running applications as if triggered by system memory pressure. // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1529538-terminateautomaticallyterminable?language=objc for details. -func NSRunningApplication_terminateAutomaticallyTerminableApplications() { - C.NSRunningApplication_type_terminateAutomaticallyTerminableApplications() +func NSRunningApplication_TerminateAutomaticallyTerminableApplications() { + C.NSRunningApplication_type_TerminateAutomaticallyTerminableApplications() return } -// NSRunningApplication_currentApplication returns an nsrunningapplication representing this application. +// NSRunningApplication_CurrentApplication returns an nsrunningapplication representing this application. // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1533604-currentapplication?language=objc for details. -func NSRunningApplication_currentApplication() NSRunningApplication { - ret := C.NSRunningApplication_type_currentApplication() +func NSRunningApplication_CurrentApplication() NSRunningApplication { + ret := C.NSRunningApplication_type_CurrentApplication() return NSRunningApplication_fromPointer(ret) } -// NSScreen_alloc +// NSScreen_Alloc // // See for details. -func NSScreen_alloc() NSScreen { - ret := C.NSScreen_type_alloc() +func NSScreen_Alloc() NSScreen { + ret := C.NSScreen_type_Alloc() return NSScreen_fromPointer(ret) } -// NSScreen_mainScreen returns the screen object containing the window with the keyboard focus. +// NSScreen_MainScreen returns the screen object containing the window with the keyboard focus. // // See https://developer.apple.com/documentation/appkit/nsscreen/1388371-mainscreen?language=objc for details. -func NSScreen_mainScreen() NSScreen { - ret := C.NSScreen_type_mainScreen() +func NSScreen_MainScreen() NSScreen { + ret := C.NSScreen_type_MainScreen() return NSScreen_fromPointer(ret) } -// NSScreen_deepestScreen returns a screen object representing the screen that can best represent color. +// NSScreen_DeepestScreen returns a screen object representing the screen that can best represent color. // // See https://developer.apple.com/documentation/appkit/nsscreen/1388374-deepestscreen?language=objc for details. -func NSScreen_deepestScreen() NSScreen { - ret := C.NSScreen_type_deepestScreen() +func NSScreen_DeepestScreen() NSScreen { + ret := C.NSScreen_type_DeepestScreen() return NSScreen_fromPointer(ret) } -// NSScreen_screens returns an array of screen objects representing all of the screens available on the system. +// NSScreen_Screens returns an array of screen objects representing all of the screens available on the system. // // See https://developer.apple.com/documentation/appkit/nsscreen/1388393-screens?language=objc for details. -func NSScreen_screens() core.NSArray { - ret := C.NSScreen_type_screens() +func NSScreen_Screens() core.NSArray { + ret := C.NSScreen_type_Screens() return core.NSArray_fromPointer(ret) } -// NSScreen_screensHaveSeparateSpaces returns a boolean value indicating whether each screen can have its own set of spaces. +// NSScreen_ScreensHaveSeparateSpaces returns a boolean value indicating whether each screen can have its own set of spaces. // // See https://developer.apple.com/documentation/appkit/nsscreen/1388365-screenshaveseparatespaces?language=objc for details. -func NSScreen_screensHaveSeparateSpaces() bool { - ret := C.NSScreen_type_screensHaveSeparateSpaces() +func NSScreen_ScreensHaveSeparateSpaces() bool { + ret := C.NSScreen_type_ScreensHaveSeparateSpaces() return convertObjCBoolToGo(ret) } -// NSStatusBar_alloc +// NSStatusBar_Alloc // // See for details. -func NSStatusBar_alloc() NSStatusBar { - ret := C.NSStatusBar_type_alloc() +func NSStatusBar_Alloc() NSStatusBar { + ret := C.NSStatusBar_type_Alloc() return NSStatusBar_fromPointer(ret) } -// NSStatusBar_systemStatusBar returns the system-wide status bar located in the menu bar. +// NSStatusBar_SystemStatusBar returns the system-wide status bar located in the menu bar. // // See https://developer.apple.com/documentation/appkit/nsstatusbar/1530619-systemstatusbar?language=objc for details. -func NSStatusBar_systemStatusBar() NSStatusBar { - ret := C.NSStatusBar_type_systemStatusBar() +func NSStatusBar_SystemStatusBar() NSStatusBar { + ret := C.NSStatusBar_type_SystemStatusBar() return NSStatusBar_fromPointer(ret) } -// NSStatusBarButton_alloc +// NSStatusBarButton_Alloc // // See for details. -func NSStatusBarButton_alloc() NSStatusBarButton { - ret := C.NSStatusBarButton_type_alloc() +func NSStatusBarButton_Alloc() NSStatusBarButton { + ret := C.NSStatusBarButton_type_Alloc() return NSStatusBarButton_fromPointer(ret) } -// NSStatusItem_alloc +// NSStatusItem_Alloc // // See for details. -func NSStatusItem_alloc() NSStatusItem { - ret := C.NSStatusItem_type_alloc() +func NSStatusItem_Alloc() NSStatusItem { + ret := C.NSStatusItem_type_Alloc() return NSStatusItem_fromPointer(ret) } -// NSText_alloc +// NSText_Alloc // // See for details. -func NSText_alloc() NSText { - ret := C.NSText_type_alloc() +func NSText_Alloc() NSText { + ret := C.NSText_type_Alloc() return NSText_fromPointer(ret) } -// NSTextField_alloc +// NSTextField_Alloc // // See for details. -func NSTextField_alloc() NSTextField { - ret := C.NSTextField_type_alloc() +func NSTextField_Alloc() NSTextField { + ret := C.NSTextField_type_Alloc() return NSTextField_fromPointer(ret) } -// NSTextField_labelWithAttributedString creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. +// NSTextField_LabelWithAttributedString creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. // // See https://developer.apple.com/documentation/appkit/nstextfield/1644658-labelwithattributedstring?language=objc for details. -func NSTextField_labelWithAttributedString(attributedStringValue core.NSAttributedStringRef) NSTextField { - ret := C.NSTextField_type_labelWithAttributedString( +func NSTextField_LabelWithAttributedString(attributedStringValue core.NSAttributedStringRef) NSTextField { + ret := C.NSTextField_type_LabelWithAttributedString( objc.RefPointer(attributedStringValue), ) @@ -8586,11 +8586,11 @@ func NSTextField_labelWithAttributedString(attributedStringValue core.NSAttribut } -// NSTextField_labelWithString initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. +// NSTextField_LabelWithString initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. // // See https://developer.apple.com/documentation/appkit/nstextfield/1644377-labelwithstring?language=objc for details. -func NSTextField_labelWithString(stringValue core.NSStringRef) NSTextField { - ret := C.NSTextField_type_labelWithString( +func NSTextField_LabelWithString(stringValue core.NSStringRef) NSTextField { + ret := C.NSTextField_type_LabelWithString( objc.RefPointer(stringValue), ) @@ -8598,11 +8598,11 @@ func NSTextField_labelWithString(stringValue core.NSStringRef) NSTextField { } -// NSTextField_textFieldWithString initializes a single-line editable text field for user input using the system default font and standard visual appearance. +// NSTextField_TextFieldWithString initializes a single-line editable text field for user input using the system default font and standard visual appearance. // // See https://developer.apple.com/documentation/appkit/nstextfield/1644706-textfieldwithstring?language=objc for details. -func NSTextField_textFieldWithString(stringValue core.NSStringRef) NSTextField { - ret := C.NSTextField_type_textFieldWithString( +func NSTextField_TextFieldWithString(stringValue core.NSStringRef) NSTextField { + ret := C.NSTextField_type_TextFieldWithString( objc.RefPointer(stringValue), ) @@ -8610,11 +8610,11 @@ func NSTextField_textFieldWithString(stringValue core.NSStringRef) NSTextField { } -// NSTextField_wrappingLabelWithString initializes a text field for use as a multiline static label with selectable text that uses the system default font. +// NSTextField_WrappingLabelWithString initializes a text field for use as a multiline static label with selectable text that uses the system default font. // // See https://developer.apple.com/documentation/appkit/nstextfield/1644543-wrappinglabelwithstring?language=objc for details. -func NSTextField_wrappingLabelWithString(stringValue core.NSStringRef) NSTextField { - ret := C.NSTextField_type_wrappingLabelWithString( +func NSTextField_WrappingLabelWithString(stringValue core.NSStringRef) NSTextField { + ret := C.NSTextField_type_WrappingLabelWithString( objc.RefPointer(stringValue), ) @@ -8622,51 +8622,51 @@ func NSTextField_wrappingLabelWithString(stringValue core.NSStringRef) NSTextFie } -// NSTextContainer_alloc +// NSTextContainer_Alloc // // See for details. -func NSTextContainer_alloc() NSTextContainer { - ret := C.NSTextContainer_type_alloc() +func NSTextContainer_Alloc() NSTextContainer { + ret := C.NSTextContainer_type_Alloc() return NSTextContainer_fromPointer(ret) } -// NSViewController_alloc +// NSViewController_Alloc // // See for details. -func NSViewController_alloc() NSViewController { - ret := C.NSViewController_type_alloc() +func NSViewController_Alloc() NSViewController { + ret := C.NSViewController_type_Alloc() return NSViewController_fromPointer(ret) } -// NSVisualEffectView_alloc +// NSVisualEffectView_Alloc // // See for details. -func NSVisualEffectView_alloc() NSVisualEffectView { - ret := C.NSVisualEffectView_type_alloc() +func NSVisualEffectView_Alloc() NSVisualEffectView { + ret := C.NSVisualEffectView_type_Alloc() return NSVisualEffectView_fromPointer(ret) } -// NSWindow_alloc +// NSWindow_Alloc // // See for details. -func NSWindow_alloc() NSWindow { - ret := C.NSWindow_type_alloc() +func NSWindow_Alloc() NSWindow { + ret := C.NSWindow_type_Alloc() return NSWindow_fromPointer(ret) } -// NSWindow_windowWithContentViewController creates a titled window that contains the specified content view controller. +// NSWindow_WindowWithContentViewController creates a titled window that contains the specified content view controller. // // See https://developer.apple.com/documentation/appkit/nswindow/1419551-windowwithcontentviewcontroller?language=objc for details. -func NSWindow_windowWithContentViewController(contentViewController NSViewControllerRef) NSWindow { - ret := C.NSWindow_type_windowWithContentViewController( +func NSWindow_WindowWithContentViewController(contentViewController NSViewControllerRef) NSWindow { + ret := C.NSWindow_type_WindowWithContentViewController( objc.RefPointer(contentViewController), ) @@ -8674,11 +8674,11 @@ func NSWindow_windowWithContentViewController(contentViewController NSViewContro } -// NSWindow_contentRectForFrameRect_styleMask returns the content rectangle used by a window with a given frame rectangle and window style. +// NSWindow_ContentRectForFrameRectStyleMask returns the content rectangle used by a window with a given frame rectangle and window style. // // See https://developer.apple.com/documentation/appkit/nswindow/1419586-contentrectforframerect?language=objc for details. -func NSWindow_contentRectForFrameRect_styleMask(fRect core.NSRect, style core.NSUInteger) core.NSRect { - ret := C.NSWindow_type_contentRectForFrameRect_styleMask( +func NSWindow_ContentRectForFrameRectStyleMask(fRect core.NSRect, style core.NSUInteger) core.NSRect { + ret := C.NSWindow_type_ContentRectForFrameRectStyleMask( *(*C.NSRect)(unsafe.Pointer(&fRect)), C.ulong(style), ) @@ -8687,11 +8687,11 @@ func NSWindow_contentRectForFrameRect_styleMask(fRect core.NSRect, style core.NS } -// NSWindow_frameRectForContentRect_styleMask returns the frame rectangle used by a window with a given content rectangle and window style. +// NSWindow_FrameRectForContentRectStyleMask returns the frame rectangle used by a window with a given content rectangle and window style. // // See https://developer.apple.com/documentation/appkit/nswindow/1419372-framerectforcontentrect?language=objc for details. -func NSWindow_frameRectForContentRect_styleMask(cRect core.NSRect, style core.NSUInteger) core.NSRect { - ret := C.NSWindow_type_frameRectForContentRect_styleMask( +func NSWindow_FrameRectForContentRectStyleMask(cRect core.NSRect, style core.NSUInteger) core.NSRect { + ret := C.NSWindow_type_FrameRectForContentRectStyleMask( *(*C.NSRect)(unsafe.Pointer(&cRect)), C.ulong(style), ) @@ -8700,11 +8700,11 @@ func NSWindow_frameRectForContentRect_styleMask(cRect core.NSRect, style core.NS } -// NSWindow_minFrameWidthWithTitle_styleMask returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. +// NSWindow_MinFrameWidthWithTitleStyleMask returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. // // See https://developer.apple.com/documentation/appkit/nswindow/1419294-minframewidthwithtitle?language=objc for details. -func NSWindow_minFrameWidthWithTitle_styleMask(title core.NSStringRef, style core.NSUInteger) core.CGFloat { - ret := C.NSWindow_type_minFrameWidthWithTitle_styleMask( +func NSWindow_MinFrameWidthWithTitleStyleMask(title core.NSStringRef, style core.NSUInteger) core.CGFloat { + ret := C.NSWindow_type_MinFrameWidthWithTitleStyleMask( objc.RefPointer(title), C.ulong(style), ) @@ -8713,11 +8713,11 @@ func NSWindow_minFrameWidthWithTitle_styleMask(title core.NSStringRef, style cor } -// NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. +// NSWindow_WindowNumberAtPointBelowWindowWithWindowNumber returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. // // See https://developer.apple.com/documentation/appkit/nswindow/1419210-windownumberatpoint?language=objc for details. -func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber(point core.NSPoint, windowNumber core.NSInteger) core.NSInteger { - ret := C.NSWindow_type_windowNumberAtPoint_belowWindowWithWindowNumber( +func NSWindow_WindowNumberAtPointBelowWindowWithWindowNumber(point core.NSPoint, windowNumber core.NSInteger) core.NSInteger { + ret := C.NSWindow_type_WindowNumberAtPointBelowWindowWithWindowNumber( *(*C.NSPoint)(unsafe.Pointer(&point)), C.long(windowNumber), ) @@ -8726,21 +8726,21 @@ func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber(point core.NSPoint } -// NSWindow_allowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. +// NSWindow_AllowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. // // See https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc for details. -func NSWindow_allowsAutomaticWindowTabbing() bool { - ret := C.NSWindow_type_allowsAutomaticWindowTabbing() +func NSWindow_AllowsAutomaticWindowTabbing() bool { + ret := C.NSWindow_type_AllowsAutomaticWindowTabbing() return convertObjCBoolToGo(ret) } -// NSWindow_setAllowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. +// NSWindow_SetAllowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. // // See https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing?language=objc for details. -func NSWindow_setAllowsAutomaticWindowTabbing(value bool) { - C.NSWindow_type_setAllowsAutomaticWindowTabbing( +func NSWindow_SetAllowsAutomaticWindowTabbing(value bool) { + C.NSWindow_type_SetAllowsAutomaticWindowTabbing( convertToObjCBool(value), ) @@ -8748,41 +8748,41 @@ func NSWindow_setAllowsAutomaticWindowTabbing(value bool) { } -// NSWorkspace_alloc +// NSWorkspace_Alloc // // See for details. -func NSWorkspace_alloc() NSWorkspace { - ret := C.NSWorkspace_type_alloc() +func NSWorkspace_Alloc() NSWorkspace { + ret := C.NSWorkspace_type_Alloc() return NSWorkspace_fromPointer(ret) } -// NSWorkspace_sharedWorkspace returns the shared workspace object. +// NSWorkspace_SharedWorkspace returns the shared workspace object. // // See https://developer.apple.com/documentation/appkit/nsworkspace/1530344-sharedworkspace?language=objc for details. -func NSWorkspace_sharedWorkspace() NSWorkspace { - ret := C.NSWorkspace_type_sharedWorkspace() +func NSWorkspace_SharedWorkspace() NSWorkspace { + ret := C.NSWorkspace_type_SharedWorkspace() return NSWorkspace_fromPointer(ret) } -// NSColor_alloc +// NSColor_Alloc // // See for details. -func NSColor_alloc() NSColor { - ret := C.NSColor_type_alloc() +func NSColor_Alloc() NSColor { + ret := C.NSColor_type_Alloc() return NSColor_fromPointer(ret) } -// NSColor_colorFromPasteboard creates a color object from color data currently on the pasteboard. +// NSColor_ColorFromPasteboard creates a color object from color data currently on the pasteboard. // // See https://developer.apple.com/documentation/appkit/nscolor/1535057-colorfrompasteboard?language=objc for details. -func NSColor_colorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { - ret := C.NSColor_type_colorFromPasteboard( +func NSColor_ColorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { + ret := C.NSColor_type_ColorFromPasteboard( objc.RefPointer(pasteBoard), ) @@ -8790,11 +8790,11 @@ func NSColor_colorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { } -// NSColor_colorWithRed_green_blue_alpha +// NSColor_ColorWithRedGreenBlueAlpha // // See for details. -func NSColor_colorWithRed_green_blue_alpha(red core.CGFloat, green core.CGFloat, blue core.CGFloat, alpha core.CGFloat) NSColor { - ret := C.NSColor_type_colorWithRed_green_blue_alpha( +func NSColor_ColorWithRedGreenBlueAlpha(red core.CGFloat, green core.CGFloat, blue core.CGFloat, alpha core.CGFloat) NSColor { + ret := C.NSColor_type_ColorWithRedGreenBlueAlpha( C.double(red), C.double(green), C.double(blue), @@ -8805,21 +8805,21 @@ func NSColor_colorWithRed_green_blue_alpha(red core.CGFloat, green core.CGFloat, } -// NSColor_ignoresAlpha returns a boolean value that indicates whether the app supports alpha. +// NSColor_IgnoresAlpha returns a boolean value that indicates whether the app supports alpha. // // See https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc for details. -func NSColor_ignoresAlpha() bool { - ret := C.NSColor_type_ignoresAlpha() +func NSColor_IgnoresAlpha() bool { + ret := C.NSColor_type_IgnoresAlpha() return convertObjCBoolToGo(ret) } -// NSColor_setIgnoresAlpha returns a boolean value that indicates whether the app supports alpha. +// NSColor_SetIgnoresAlpha returns a boolean value that indicates whether the app supports alpha. // // See https://developer.apple.com/documentation/appkit/nscolor/1533565-ignoresalpha?language=objc for details. -func NSColor_setIgnoresAlpha(value bool) { - C.NSColor_type_setIgnoresAlpha( +func NSColor_SetIgnoresAlpha(value bool) { + C.NSColor_type_SetIgnoresAlpha( convertToObjCBool(value), ) @@ -8827,121 +8827,121 @@ func NSColor_setIgnoresAlpha(value bool) { } -// NSColor_systemCyanColor +// NSColor_SystemCyanColor // // See https://developer.apple.com/documentation/appkit/nscolor/3816005-systemcyancolor?language=objc for details. -func NSColor_systemCyanColor() NSColor { - ret := C.NSColor_type_systemCyanColor() +func NSColor_SystemCyanColor() NSColor { + ret := C.NSColor_type_SystemCyanColor() return NSColor_fromPointer(ret) } -// NSColor_systemMintColor +// NSColor_SystemMintColor // // See https://developer.apple.com/documentation/appkit/nscolor/3816006-systemmintcolor?language=objc for details. -func NSColor_systemMintColor() NSColor { - ret := C.NSColor_type_systemMintColor() +func NSColor_SystemMintColor() NSColor { + ret := C.NSColor_type_SystemMintColor() return NSColor_fromPointer(ret) } -// NSColor_clearColor returns a color object whose grayscale and alpha values are both 0.0. +// NSColor_ClearColor returns a color object whose grayscale and alpha values are both 0.0. // // See https://developer.apple.com/documentation/appkit/nscolor/1527217-clearcolor?language=objc for details. -func NSColor_clearColor() NSColor { - ret := C.NSColor_type_clearColor() +func NSColor_ClearColor() NSColor { + ret := C.NSColor_type_ClearColor() return NSColor_fromPointer(ret) } -// NSTextView_alloc +// NSTextView_Alloc // // See for details. -func NSTextView_alloc() NSTextView { - ret := C.NSTextView_type_alloc() +func NSTextView_Alloc() NSTextView { + ret := C.NSTextView_type_Alloc() return NSTextView_fromPointer(ret) } -// NSTextView_registerForServices registers send and return types for the services facility. +// NSTextView_RegisterForServices registers send and return types for the services facility. // // See https://developer.apple.com/documentation/appkit/nstextview/1449507-registerforservices?language=objc for details. -func NSTextView_registerForServices() { - C.NSTextView_type_registerForServices() +func NSTextView_RegisterForServices() { + C.NSTextView_type_RegisterForServices() return } -// NSTextView_fieldEditor +// NSTextView_FieldEditor // // See https://developer.apple.com/documentation/appkit/nstextview/2990525-fieldeditor?language=objc for details. -func NSTextView_fieldEditor() NSTextView { - ret := C.NSTextView_type_fieldEditor() +func NSTextView_FieldEditor() NSTextView { + ret := C.NSTextView_type_FieldEditor() return NSTextView_fromPointer(ret) } -// NSTextView_stronglyReferencesTextStorage +// NSTextView_StronglyReferencesTextStorage // // See https://developer.apple.com/documentation/appkit/nstextview/2269433-stronglyreferencestextstorage?language=objc for details. -func NSTextView_stronglyReferencesTextStorage() bool { - ret := C.NSTextView_type_stronglyReferencesTextStorage() +func NSTextView_StronglyReferencesTextStorage() bool { + ret := C.NSTextView_type_StronglyReferencesTextStorage() return convertObjCBoolToGo(ret) } -// NSView_alloc +// NSView_Alloc // // See for details. -func NSView_alloc() NSView { - ret := C.NSView_type_alloc() +func NSView_Alloc() NSView { + ret := C.NSView_type_Alloc() return NSView_fromPointer(ret) } -// NSView_requiresConstraintBasedLayout returns a boolean value indicating whether the view depends on the constraint-based layout system. +// NSView_RequiresConstraintBasedLayout returns a boolean value indicating whether the view depends on the constraint-based layout system. // // See https://developer.apple.com/documentation/appkit/nsview/1526926-requiresconstraintbasedlayout?language=objc for details. -func NSView_requiresConstraintBasedLayout() bool { - ret := C.NSView_type_requiresConstraintBasedLayout() +func NSView_RequiresConstraintBasedLayout() bool { + ret := C.NSView_type_RequiresConstraintBasedLayout() return convertObjCBoolToGo(ret) } -// NSView_focusView returns the currently focused nsview object, or nil if there is none. +// NSView_FocusView returns the currently focused nsview object, or nil if there is none. // // See https://developer.apple.com/documentation/appkit/nsview/1483662-focusview?language=objc for details. -func NSView_focusView() NSView { - ret := C.NSView_type_focusView() +func NSView_FocusView() NSView { + ret := C.NSView_type_FocusView() return NSView_fromPointer(ret) } -// NSView_defaultMenu overridden by subclasses to return the default pop-up menu for instances of the receiving class. +// NSView_DefaultMenu overridden by subclasses to return the default pop-up menu for instances of the receiving class. // // See https://developer.apple.com/documentation/appkit/nsview/1483417-defaultmenu?language=objc for details. -func NSView_defaultMenu() NSMenu { - ret := C.NSView_type_defaultMenu() +func NSView_DefaultMenu() NSMenu { + ret := C.NSView_type_DefaultMenu() return NSMenu_fromPointer(ret) } -// NSView_compatibleWithResponsiveScrolling +// NSView_CompatibleWithResponsiveScrolling // // See https://developer.apple.com/documentation/appkit/nsview/2870005-compatiblewithresponsivescrollin?language=objc for details. -func NSView_compatibleWithResponsiveScrolling() bool { - ret := C.NSView_type_compatibleWithResponsiveScrolling() +func NSView_CompatibleWithResponsiveScrolling() bool { + ret := C.NSView_type_CompatibleWithResponsiveScrolling() return convertObjCBoolToGo(ret) @@ -8981,14 +8981,14 @@ func (x gen_NSBundle) URLForAuxiliaryExecutable( } -// URLForResource_withExtension returns the file url for the resource identified by the specified name and file extension. +// URLForResourceWithExtension returns the file url for the resource identified by the specified name and file extension. // // See https://developer.apple.com/documentation/foundation/nsbundle/1411540-urlforresource?language=objc for details. -func (x gen_NSBundle) URLForResource_withExtension( +func (x gen_NSBundle) URLForResourceWithExtension( name core.NSStringRef, ext core.NSStringRef, ) core.NSURL { - ret := C.NSBundle_inst_URLForResource_withExtension( + ret := C.NSBundle_inst_URLForResourceWithExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -8998,15 +8998,15 @@ func (x gen_NSBundle) URLForResource_withExtension( } -// URLForResource_withExtension_subdirectory returns the file url for the resource file identified by the specified name and extension and residing in a given bundle directory. +// URLForResourceWithExtensionSubdirectory returns the file url for the resource file identified by the specified name and extension and residing in a given bundle directory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1416712-urlforresource?language=objc for details. -func (x gen_NSBundle) URLForResource_withExtension_subdirectory( +func (x gen_NSBundle) URLForResourceWithExtensionSubdirectory( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ) core.NSURL { - ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory( + ret := C.NSBundle_inst_URLForResourceWithExtensionSubdirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -9017,16 +9017,16 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory( } -// URLForResource_withExtension_subdirectory_localization returns the file url for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. +// URLForResourceWithExtensionSubdirectoryLocalization returns the file url for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. // // See https://developer.apple.com/documentation/foundation/nsbundle/1417378-urlforresource?language=objc for details. -func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( +func (x gen_NSBundle) URLForResourceWithExtensionSubdirectoryLocalization( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) core.NSURL { - ret := C.NSBundle_inst_URLForResource_withExtension_subdirectory_localization( + ret := C.NSBundle_inst_URLForResourceWithExtensionSubdirectoryLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -9038,14 +9038,14 @@ func (x gen_NSBundle) URLForResource_withExtension_subdirectory_localization( } -// URLsForResourcesWithExtension_subdirectory returns an array of file urls for all resources identified by the specified file extension and located in the specified bundle subdirectory. +// URLsForResourcesWithExtensionSubdirectory returns an array of file urls for all resources identified by the specified file extension and located in the specified bundle subdirectory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1407424-urlsforresourceswithextension?language=objc for details. -func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( +func (x gen_NSBundle) URLsForResourcesWithExtensionSubdirectory( ext core.NSStringRef, subpath core.NSStringRef, ) core.NSArray { - ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory( + ret := C.NSBundle_inst_URLsForResourcesWithExtensionSubdirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -9055,15 +9055,15 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory( } -// URLsForResourcesWithExtension_subdirectory_localization returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. +// URLsForResourcesWithExtensionSubdirectoryLocalization returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. // // See https://developer.apple.com/documentation/foundation/nsbundle/1414688-urlsforresourceswithextension?language=objc for details. -func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( +func (x gen_NSBundle) URLsForResourcesWithExtensionSubdirectoryLocalization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) core.NSArray { - ret := C.NSBundle_inst_URLsForResourcesWithExtension_subdirectory_localization( + ret := C.NSBundle_inst_URLsForResourcesWithExtensionSubdirectoryLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -9080,7 +9080,7 @@ func (x gen_NSBundle) URLsForResourcesWithExtension_subdirectory_localization( func (x gen_NSBundle) InitWithPath_asNSBundle( path core.NSStringRef, ) NSBundle { - ret := C.NSBundle_inst_initWithPath( + ret := C.NSBundle_inst_InitWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -9095,7 +9095,7 @@ func (x gen_NSBundle) InitWithPath_asNSBundle( func (x gen_NSBundle) InitWithURL_asNSBundle( url core.NSURLRef, ) NSBundle { - ret := C.NSBundle_inst_initWithURL( + ret := C.NSBundle_inst_InitWithURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -9108,7 +9108,7 @@ func (x gen_NSBundle) InitWithURL_asNSBundle( // // See https://developer.apple.com/documentation/foundation/nsbundle/1415927-load?language=objc for details. func (x gen_NSBundle) Load() bool { - ret := C.NSBundle_inst_load( + ret := C.NSBundle_inst_Load( unsafe.Pointer(x.Pointer()), ) @@ -9116,15 +9116,15 @@ func (x gen_NSBundle) Load() bool { } -// LoadNibNamed_owner_options unarchives the contents of a nib file located in the receiver's bundle. +// LoadNibNamedOwnerOptions unarchives the contents of a nib file located in the receiver's bundle. // // See https://developer.apple.com/documentation/foundation/nsbundle/1618147-loadnibnamed?language=objc for details. -func (x gen_NSBundle) LoadNibNamed_owner_options( +func (x gen_NSBundle) LoadNibNamedOwnerOptions( name core.NSStringRef, owner objc.Ref, options core.NSDictionaryRef, ) core.NSArray { - ret := C.NSBundle_inst_loadNibNamed_owner_options( + ret := C.NSBundle_inst_LoadNibNamedOwnerOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(owner), @@ -9135,15 +9135,15 @@ func (x gen_NSBundle) LoadNibNamed_owner_options( } -// LocalizedAttributedStringForKey_value_table +// LocalizedAttributedStringForKeyValueTable // // See https://developer.apple.com/documentation/foundation/nsbundle/3746904-localizedattributedstringforkey?language=objc for details. -func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( +func (x gen_NSBundle) LocalizedAttributedStringForKeyValueTable( key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef, ) core.NSAttributedString { - ret := C.NSBundle_inst_localizedAttributedStringForKey_value_table( + ret := C.NSBundle_inst_LocalizedAttributedStringForKeyValueTable( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(value), @@ -9154,15 +9154,15 @@ func (x gen_NSBundle) LocalizedAttributedStringForKey_value_table( } -// LocalizedStringForKey_value_table returns a localized version of the string designated by the specified key and residing in the specified table. +// LocalizedStringForKeyValueTable returns a localized version of the string designated by the specified key and residing in the specified table. // // See https://developer.apple.com/documentation/foundation/nsbundle/1417694-localizedstringforkey?language=objc for details. -func (x gen_NSBundle) LocalizedStringForKey_value_table( +func (x gen_NSBundle) LocalizedStringForKeyValueTable( key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef, ) core.NSString { - ret := C.NSBundle_inst_localizedStringForKey_value_table( + ret := C.NSBundle_inst_LocalizedStringForKeyValueTable( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(value), @@ -9179,7 +9179,7 @@ func (x gen_NSBundle) LocalizedStringForKey_value_table( func (x gen_NSBundle) ObjectForInfoDictionaryKey( key core.NSStringRef, ) objc.Object { - ret := C.NSBundle_inst_objectForInfoDictionaryKey( + ret := C.NSBundle_inst_ObjectForInfoDictionaryKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -9194,7 +9194,7 @@ func (x gen_NSBundle) ObjectForInfoDictionaryKey( func (x gen_NSBundle) PathForAuxiliaryExecutable( executableName core.NSStringRef, ) core.NSString { - ret := C.NSBundle_inst_pathForAuxiliaryExecutable( + ret := C.NSBundle_inst_PathForAuxiliaryExecutable( unsafe.Pointer(x.Pointer()), objc.RefPointer(executableName), ) @@ -9203,14 +9203,14 @@ func (x gen_NSBundle) PathForAuxiliaryExecutable( } -// PathForResource_ofType returns the full pathname for the resource identified by the specified name and file extension. +// PathForResourceOfType returns the full pathname for the resource identified by the specified name and file extension. // // See https://developer.apple.com/documentation/foundation/nsbundle/1410989-pathforresource?language=objc for details. -func (x gen_NSBundle) PathForResource_ofType( +func (x gen_NSBundle) PathForResourceOfType( name core.NSStringRef, ext core.NSStringRef, ) core.NSString { - ret := C.NSBundle_inst_pathForResource_ofType( + ret := C.NSBundle_inst_PathForResourceOfType( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -9220,15 +9220,15 @@ func (x gen_NSBundle) PathForResource_ofType( } -// PathForResource_ofType_inDirectory returns the full pathname for the resource identified by the specified name and file extension and located in the specified bundle subdirectory. +// PathForResourceOfTypeInDirectory returns the full pathname for the resource identified by the specified name and file extension and located in the specified bundle subdirectory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1409670-pathforresource?language=objc for details. -func (x gen_NSBundle) PathForResource_ofType_inDirectory( +func (x gen_NSBundle) PathForResourceOfTypeInDirectory( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ) core.NSString { - ret := C.NSBundle_inst_pathForResource_ofType_inDirectory( + ret := C.NSBundle_inst_PathForResourceOfTypeInDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -9239,16 +9239,16 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory( } -// PathForResource_ofType_inDirectory_forLocalization returns the full pathname for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. +// PathForResourceOfTypeInDirectoryForLocalization returns the full pathname for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. // // See https://developer.apple.com/documentation/foundation/nsbundle/1413471-pathforresource?language=objc for details. -func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( +func (x gen_NSBundle) PathForResourceOfTypeInDirectoryForLocalization( name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) core.NSString { - ret := C.NSBundle_inst_pathForResource_ofType_inDirectory_forLocalization( + ret := C.NSBundle_inst_PathForResourceOfTypeInDirectoryForLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(name), objc.RefPointer(ext), @@ -9260,14 +9260,14 @@ func (x gen_NSBundle) PathForResource_ofType_inDirectory_forLocalization( } -// PathsForResourcesOfType_inDirectory returns an array containing the pathnames for all bundle resources having the specified filename extension and residing in the resource subdirectory. +// PathsForResourcesOfTypeInDirectory returns an array containing the pathnames for all bundle resources having the specified filename extension and residing in the resource subdirectory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1413058-pathsforresourcesoftype?language=objc for details. -func (x gen_NSBundle) PathsForResourcesOfType_inDirectory( +func (x gen_NSBundle) PathsForResourcesOfTypeInDirectory( ext core.NSStringRef, subpath core.NSStringRef, ) core.NSArray { - ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory( + ret := C.NSBundle_inst_PathsForResourcesOfTypeInDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -9277,15 +9277,15 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory( } -// PathsForResourcesOfType_inDirectory_forLocalization returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. +// PathsForResourcesOfTypeInDirectoryForLocalization returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. // // See https://developer.apple.com/documentation/foundation/nsbundle/1416940-pathsforresourcesoftype?language=objc for details. -func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( +func (x gen_NSBundle) PathsForResourcesOfTypeInDirectoryForLocalization( ext core.NSStringRef, subpath core.NSStringRef, localizationName core.NSStringRef, ) core.NSArray { - ret := C.NSBundle_inst_pathsForResourcesOfType_inDirectory_forLocalization( + ret := C.NSBundle_inst_PathsForResourcesOfTypeInDirectoryForLocalization( unsafe.Pointer(x.Pointer()), objc.RefPointer(ext), objc.RefPointer(subpath), @@ -9300,7 +9300,7 @@ func (x gen_NSBundle) PathsForResourcesOfType_inDirectory_forLocalization( // // See https://developer.apple.com/documentation/foundation/nsbundle/1412388-unload?language=objc for details. func (x gen_NSBundle) Unload() bool { - ret := C.NSBundle_inst_unload( + ret := C.NSBundle_inst_Unload( unsafe.Pointer(x.Pointer()), ) @@ -9312,7 +9312,7 @@ func (x gen_NSBundle) Unload() bool { // // See for details. func (x gen_NSBundle) Init_asNSBundle() NSBundle { - ret := C.NSBundle_inst_init( + ret := C.NSBundle_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -9324,7 +9324,7 @@ func (x gen_NSBundle) Init_asNSBundle() NSBundle { // // See https://developer.apple.com/documentation/foundation/nsbundle/1414821-resourceurl?language=objc for details. func (x gen_NSBundle) ResourceURL() core.NSURL { - ret := C.NSBundle_inst_resourceURL( + ret := C.NSBundle_inst_ResourceURL( unsafe.Pointer(x.Pointer()), ) @@ -9336,7 +9336,7 @@ func (x gen_NSBundle) ResourceURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1410470-executableurl?language=objc for details. func (x gen_NSBundle) ExecutableURL() core.NSURL { - ret := C.NSBundle_inst_executableURL( + ret := C.NSBundle_inst_ExecutableURL( unsafe.Pointer(x.Pointer()), ) @@ -9348,7 +9348,7 @@ func (x gen_NSBundle) ExecutableURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1417617-privateframeworksurl?language=objc for details. func (x gen_NSBundle) PrivateFrameworksURL() core.NSURL { - ret := C.NSBundle_inst_privateFrameworksURL( + ret := C.NSBundle_inst_PrivateFrameworksURL( unsafe.Pointer(x.Pointer()), ) @@ -9360,7 +9360,7 @@ func (x gen_NSBundle) PrivateFrameworksURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1411774-sharedframeworksurl?language=objc for details. func (x gen_NSBundle) SharedFrameworksURL() core.NSURL { - ret := C.NSBundle_inst_sharedFrameworksURL( + ret := C.NSBundle_inst_SharedFrameworksURL( unsafe.Pointer(x.Pointer()), ) @@ -9372,7 +9372,7 @@ func (x gen_NSBundle) SharedFrameworksURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1409603-builtinpluginsurl?language=objc for details. func (x gen_NSBundle) BuiltInPlugInsURL() core.NSURL { - ret := C.NSBundle_inst_builtInPlugInsURL( + ret := C.NSBundle_inst_BuiltInPlugInsURL( unsafe.Pointer(x.Pointer()), ) @@ -9384,7 +9384,7 @@ func (x gen_NSBundle) BuiltInPlugInsURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1416823-sharedsupporturl?language=objc for details. func (x gen_NSBundle) SharedSupportURL() core.NSURL { - ret := C.NSBundle_inst_sharedSupportURL( + ret := C.NSBundle_inst_SharedSupportURL( unsafe.Pointer(x.Pointer()), ) @@ -9396,7 +9396,7 @@ func (x gen_NSBundle) SharedSupportURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1407276-appstorereceipturl?language=objc for details. func (x gen_NSBundle) AppStoreReceiptURL() core.NSURL { - ret := C.NSBundle_inst_appStoreReceiptURL( + ret := C.NSBundle_inst_AppStoreReceiptURL( unsafe.Pointer(x.Pointer()), ) @@ -9408,7 +9408,7 @@ func (x gen_NSBundle) AppStoreReceiptURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1417723-resourcepath?language=objc for details. func (x gen_NSBundle) ResourcePath() core.NSString { - ret := C.NSBundle_inst_resourcePath( + ret := C.NSBundle_inst_ResourcePath( unsafe.Pointer(x.Pointer()), ) @@ -9420,7 +9420,7 @@ func (x gen_NSBundle) ResourcePath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1409078-executablepath?language=objc for details. func (x gen_NSBundle) ExecutablePath() core.NSString { - ret := C.NSBundle_inst_executablePath( + ret := C.NSBundle_inst_ExecutablePath( unsafe.Pointer(x.Pointer()), ) @@ -9432,7 +9432,7 @@ func (x gen_NSBundle) ExecutablePath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1415562-privateframeworkspath?language=objc for details. func (x gen_NSBundle) PrivateFrameworksPath() core.NSString { - ret := C.NSBundle_inst_privateFrameworksPath( + ret := C.NSBundle_inst_PrivateFrameworksPath( unsafe.Pointer(x.Pointer()), ) @@ -9444,7 +9444,7 @@ func (x gen_NSBundle) PrivateFrameworksPath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1417226-sharedframeworkspath?language=objc for details. func (x gen_NSBundle) SharedFrameworksPath() core.NSString { - ret := C.NSBundle_inst_sharedFrameworksPath( + ret := C.NSBundle_inst_SharedFrameworksPath( unsafe.Pointer(x.Pointer()), ) @@ -9456,7 +9456,7 @@ func (x gen_NSBundle) SharedFrameworksPath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1408900-builtinpluginspath?language=objc for details. func (x gen_NSBundle) BuiltInPlugInsPath() core.NSString { - ret := C.NSBundle_inst_builtInPlugInsPath( + ret := C.NSBundle_inst_BuiltInPlugInsPath( unsafe.Pointer(x.Pointer()), ) @@ -9468,7 +9468,7 @@ func (x gen_NSBundle) BuiltInPlugInsPath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1411609-sharedsupportpath?language=objc for details. func (x gen_NSBundle) SharedSupportPath() core.NSString { - ret := C.NSBundle_inst_sharedSupportPath( + ret := C.NSBundle_inst_SharedSupportPath( unsafe.Pointer(x.Pointer()), ) @@ -9480,7 +9480,7 @@ func (x gen_NSBundle) SharedSupportPath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1415654-bundleurl?language=objc for details. func (x gen_NSBundle) BundleURL() core.NSURL { - ret := C.NSBundle_inst_bundleURL( + ret := C.NSBundle_inst_BundleURL( unsafe.Pointer(x.Pointer()), ) @@ -9492,7 +9492,7 @@ func (x gen_NSBundle) BundleURL() core.NSURL { // // See https://developer.apple.com/documentation/foundation/nsbundle/1407973-bundlepath?language=objc for details. func (x gen_NSBundle) BundlePath() core.NSString { - ret := C.NSBundle_inst_bundlePath( + ret := C.NSBundle_inst_BundlePath( unsafe.Pointer(x.Pointer()), ) @@ -9504,7 +9504,7 @@ func (x gen_NSBundle) BundlePath() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1418023-bundleidentifier?language=objc for details. func (x gen_NSBundle) BundleIdentifier() core.NSString { - ret := C.NSBundle_inst_bundleIdentifier( + ret := C.NSBundle_inst_BundleIdentifier( unsafe.Pointer(x.Pointer()), ) @@ -9516,7 +9516,7 @@ func (x gen_NSBundle) BundleIdentifier() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1413477-infodictionary?language=objc for details. func (x gen_NSBundle) InfoDictionary() core.NSDictionary { - ret := C.NSBundle_inst_infoDictionary( + ret := C.NSBundle_inst_InfoDictionary( unsafe.Pointer(x.Pointer()), ) @@ -9528,7 +9528,7 @@ func (x gen_NSBundle) InfoDictionary() core.NSDictionary { // // See https://developer.apple.com/documentation/foundation/nsbundle/1417415-localizations?language=objc for details. func (x gen_NSBundle) Localizations() core.NSArray { - ret := C.NSBundle_inst_localizations( + ret := C.NSBundle_inst_Localizations( unsafe.Pointer(x.Pointer()), ) @@ -9540,7 +9540,7 @@ func (x gen_NSBundle) Localizations() core.NSArray { // // See https://developer.apple.com/documentation/foundation/nsbundle/1413220-preferredlocalizations?language=objc for details. func (x gen_NSBundle) PreferredLocalizations() core.NSArray { - ret := C.NSBundle_inst_preferredLocalizations( + ret := C.NSBundle_inst_PreferredLocalizations( unsafe.Pointer(x.Pointer()), ) @@ -9552,7 +9552,7 @@ func (x gen_NSBundle) PreferredLocalizations() core.NSArray { // // See https://developer.apple.com/documentation/foundation/nsbundle/1417526-developmentlocalization?language=objc for details. func (x gen_NSBundle) DevelopmentLocalization() core.NSString { - ret := C.NSBundle_inst_developmentLocalization( + ret := C.NSBundle_inst_DevelopmentLocalization( unsafe.Pointer(x.Pointer()), ) @@ -9564,7 +9564,7 @@ func (x gen_NSBundle) DevelopmentLocalization() core.NSString { // // See https://developer.apple.com/documentation/foundation/nsbundle/1407645-localizedinfodictionary?language=objc for details. func (x gen_NSBundle) LocalizedInfoDictionary() core.NSDictionary { - ret := C.NSBundle_inst_localizedInfoDictionary( + ret := C.NSBundle_inst_LocalizedInfoDictionary( unsafe.Pointer(x.Pointer()), ) @@ -9576,7 +9576,7 @@ func (x gen_NSBundle) LocalizedInfoDictionary() core.NSDictionary { // // See https://developer.apple.com/documentation/foundation/nsbundle/1415499-executablearchitectures?language=objc for details. func (x gen_NSBundle) ExecutableArchitectures() core.NSArray { - ret := C.NSBundle_inst_executableArchitectures( + ret := C.NSBundle_inst_ExecutableArchitectures( unsafe.Pointer(x.Pointer()), ) @@ -9588,7 +9588,7 @@ func (x gen_NSBundle) ExecutableArchitectures() core.NSArray { // // See https://developer.apple.com/documentation/foundation/nsbundle/1413594-loaded?language=objc for details. func (x gen_NSBundle) IsLoaded() bool { - ret := C.NSBundle_inst_isLoaded( + ret := C.NSBundle_inst_IsLoaded( unsafe.Pointer(x.Pointer()), ) @@ -9615,14 +9615,14 @@ func NSSound_fromRef(ref objc.Ref) NSSound { return NSSound_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithContentsOfFile_byReference initializes the receiver with the audio data located at a given filepath. +// InitWithContentsOfFileByReference initializes the receiver with the audio data located at a given filepath. // // See https://developer.apple.com/documentation/appkit/nssound/1477274-initwithcontentsoffile?language=objc for details. -func (x gen_NSSound) InitWithContentsOfFile_byReference_asNSSound( +func (x gen_NSSound) InitWithContentsOfFileByReference_asNSSound( path core.NSStringRef, byRef bool, ) NSSound { - ret := C.NSSound_inst_initWithContentsOfFile_byReference( + ret := C.NSSound_inst_InitWithContentsOfFileByReference( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(byRef), @@ -9632,14 +9632,14 @@ func (x gen_NSSound) InitWithContentsOfFile_byReference_asNSSound( } -// InitWithContentsOfURL_byReference initializes the receiver with the audio data located at a given url. +// InitWithContentsOfURLByReference initializes the receiver with the audio data located at a given url. // // See https://developer.apple.com/documentation/appkit/nssound/1477288-initwithcontentsofurl?language=objc for details. -func (x gen_NSSound) InitWithContentsOfURL_byReference_asNSSound( +func (x gen_NSSound) InitWithContentsOfURLByReference_asNSSound( url core.NSURLRef, byRef bool, ) NSSound { - ret := C.NSSound_inst_initWithContentsOfURL_byReference( + ret := C.NSSound_inst_InitWithContentsOfURLByReference( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), convertToObjCBool(byRef), @@ -9655,7 +9655,7 @@ func (x gen_NSSound) InitWithContentsOfURL_byReference_asNSSound( func (x gen_NSSound) InitWithData_asNSSound( data core.NSDataRef, ) NSSound { - ret := C.NSSound_inst_initWithData( + ret := C.NSSound_inst_InitWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -9670,7 +9670,7 @@ func (x gen_NSSound) InitWithData_asNSSound( func (x gen_NSSound) InitWithPasteboard_asNSSound( pasteboard NSPasteboardRef, ) NSSound { - ret := C.NSSound_inst_initWithPasteboard( + ret := C.NSSound_inst_InitWithPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) @@ -9683,7 +9683,7 @@ func (x gen_NSSound) InitWithPasteboard_asNSSound( // // See https://developer.apple.com/documentation/appkit/nssound/1477307-pause?language=objc for details. func (x gen_NSSound) Pause() bool { - ret := C.NSSound_inst_pause( + ret := C.NSSound_inst_Pause( unsafe.Pointer(x.Pointer()), ) @@ -9695,7 +9695,7 @@ func (x gen_NSSound) Pause() bool { // // See https://developer.apple.com/documentation/appkit/nssound/1477322-play?language=objc for details. func (x gen_NSSound) Play() bool { - ret := C.NSSound_inst_play( + ret := C.NSSound_inst_Play( unsafe.Pointer(x.Pointer()), ) @@ -9707,7 +9707,7 @@ func (x gen_NSSound) Play() bool { // // See https://developer.apple.com/documentation/appkit/nssound/1477336-resume?language=objc for details. func (x gen_NSSound) Resume() bool { - ret := C.NSSound_inst_resume( + ret := C.NSSound_inst_Resume( unsafe.Pointer(x.Pointer()), ) @@ -9719,7 +9719,7 @@ func (x gen_NSSound) Resume() bool { // // See https://developer.apple.com/documentation/appkit/nssound/1477282-stop?language=objc for details. func (x gen_NSSound) Stop() bool { - ret := C.NSSound_inst_stop( + ret := C.NSSound_inst_Stop( unsafe.Pointer(x.Pointer()), ) @@ -9733,7 +9733,7 @@ func (x gen_NSSound) Stop() bool { func (x gen_NSSound) WriteToPasteboard( pasteboard NSPasteboardRef, ) { - C.NSSound_inst_writeToPasteboard( + C.NSSound_inst_WriteToPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) @@ -9746,7 +9746,7 @@ func (x gen_NSSound) WriteToPasteboard( // // See for details. func (x gen_NSSound) Init_asNSSound() NSSound { - ret := C.NSSound_inst_init( + ret := C.NSSound_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -9758,7 +9758,7 @@ func (x gen_NSSound) Init_asNSSound() NSSound { // // See https://developer.apple.com/documentation/appkit/nssound/1477300-delegate?language=objc for details. func (x gen_NSSound) Delegate() objc.Object { - ret := C.NSSound_inst_delegate( + ret := C.NSSound_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -9772,7 +9772,7 @@ func (x gen_NSSound) Delegate() objc.Object { func (x gen_NSSound) SetDelegate( value objc.Ref, ) { - C.NSSound_inst_setDelegate( + C.NSSound_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -9785,7 +9785,7 @@ func (x gen_NSSound) SetDelegate( // // See https://developer.apple.com/documentation/appkit/nssound/1477311-loops?language=objc for details. func (x gen_NSSound) Loops() bool { - ret := C.NSSound_inst_loops( + ret := C.NSSound_inst_Loops( unsafe.Pointer(x.Pointer()), ) @@ -9799,7 +9799,7 @@ func (x gen_NSSound) Loops() bool { func (x gen_NSSound) SetLoops( value bool, ) { - C.NSSound_inst_setLoops( + C.NSSound_inst_SetLoops( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -9812,7 +9812,7 @@ func (x gen_NSSound) SetLoops( // // See https://developer.apple.com/documentation/appkit/nssound/1477302-playing?language=objc for details. func (x gen_NSSound) IsPlaying() bool { - ret := C.NSSound_inst_isPlaying( + ret := C.NSSound_inst_IsPlaying( unsafe.Pointer(x.Pointer()), ) @@ -9845,7 +9845,7 @@ func NSApplication_fromRef(ref objc.Ref) NSApplication { func (x gen_NSApplication) ActivateContextHelpMode( sender objc.Ref, ) { - C.NSApplication_inst_activateContextHelpMode( + C.NSApplication_inst_ActivateContextHelpMode( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -9860,7 +9860,7 @@ func (x gen_NSApplication) ActivateContextHelpMode( func (x gen_NSApplication) ActivateIgnoringOtherApps( flag bool, ) { - C.NSApplication_inst_activateIgnoringOtherApps( + C.NSApplication_inst_ActivateIgnoringOtherApps( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -9873,7 +9873,7 @@ func (x gen_NSApplication) ActivateIgnoringOtherApps( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428703-activationpolicy?language=objc for details. func (x gen_NSApplication) ActivationPolicy() core.NSInteger { - ret := C.NSApplication_inst_activationPolicy( + ret := C.NSApplication_inst_ActivationPolicy( unsafe.Pointer(x.Pointer()), ) @@ -9887,7 +9887,7 @@ func (x gen_NSApplication) ActivationPolicy() core.NSInteger { func (x gen_NSApplication) CancelUserAttentionRequest( request core.NSInteger, ) { - C.NSApplication_inst_cancelUserAttentionRequest( + C.NSApplication_inst_CancelUserAttentionRequest( unsafe.Pointer(x.Pointer()), C.long(request), ) @@ -9900,7 +9900,7 @@ func (x gen_NSApplication) CancelUserAttentionRequest( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428428-deactivate?language=objc for details. func (x gen_NSApplication) Deactivate() { - C.NSApplication_inst_deactivate( + C.NSApplication_inst_Deactivate( unsafe.Pointer(x.Pointer()), ) @@ -9912,7 +9912,7 @@ func (x gen_NSApplication) Deactivate() { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428376-disablerelaunchonlogin?language=objc for details. func (x gen_NSApplication) DisableRelaunchOnLogin() { - C.NSApplication_inst_disableRelaunchOnLogin( + C.NSApplication_inst_DisableRelaunchOnLogin( unsafe.Pointer(x.Pointer()), ) @@ -9924,7 +9924,7 @@ func (x gen_NSApplication) DisableRelaunchOnLogin() { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428453-enablerelaunchonlogin?language=objc for details. func (x gen_NSApplication) EnableRelaunchOnLogin() { - C.NSApplication_inst_enableRelaunchOnLogin( + C.NSApplication_inst_EnableRelaunchOnLogin( unsafe.Pointer(x.Pointer()), ) @@ -9936,7 +9936,7 @@ func (x gen_NSApplication) EnableRelaunchOnLogin() { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428771-finishlaunching?language=objc for details. func (x gen_NSApplication) FinishLaunching() { - C.NSApplication_inst_finishLaunching( + C.NSApplication_inst_FinishLaunching( unsafe.Pointer(x.Pointer()), ) @@ -9950,7 +9950,7 @@ func (x gen_NSApplication) FinishLaunching() { func (x gen_NSApplication) HideOtherApplications( sender objc.Ref, ) { - C.NSApplication_inst_hideOtherApplications( + C.NSApplication_inst_HideOtherApplications( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -9959,14 +9959,14 @@ func (x gen_NSApplication) HideOtherApplications( } -// PostEvent_atStart adds a given event to the receiver’s event queue. +// PostEventAtStart adds a given event to the receiver’s event queue. // // See https://developer.apple.com/documentation/appkit/nsapplication/1428710-postevent?language=objc for details. -func (x gen_NSApplication) PostEvent_atStart( +func (x gen_NSApplication) PostEventAtStart( event NSEventRef, flag bool, ) { - C.NSApplication_inst_postEvent_atStart( + C.NSApplication_inst_PostEventAtStart( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), convertToObjCBool(flag), @@ -9980,7 +9980,7 @@ func (x gen_NSApplication) PostEvent_atStart( // // See https://developer.apple.com/documentation/appkit/nsapplication/2967172-registerforremotenotifications?language=objc for details. func (x gen_NSApplication) RegisterForRemoteNotifications() { - C.NSApplication_inst_registerForRemoteNotifications( + C.NSApplication_inst_RegisterForRemoteNotifications( unsafe.Pointer(x.Pointer()), ) @@ -9994,7 +9994,7 @@ func (x gen_NSApplication) RegisterForRemoteNotifications() { func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { - C.NSApplication_inst_registerUserInterfaceItemSearchHandler( + C.NSApplication_inst_RegisterUserInterfaceItemSearchHandler( unsafe.Pointer(x.Pointer()), objc.RefPointer(handler), ) @@ -10009,7 +10009,7 @@ func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( func (x gen_NSApplication) ReplyToApplicationShouldTerminate( shouldTerminate bool, ) { - C.NSApplication_inst_replyToApplicationShouldTerminate( + C.NSApplication_inst_ReplyToApplicationShouldTerminate( unsafe.Pointer(x.Pointer()), convertToObjCBool(shouldTerminate), ) @@ -10022,7 +10022,7 @@ func (x gen_NSApplication) ReplyToApplicationShouldTerminate( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428631-run?language=objc for details. func (x gen_NSApplication) Run() { - C.NSApplication_inst_run( + C.NSApplication_inst_Run( unsafe.Pointer(x.Pointer()), ) @@ -10030,15 +10030,15 @@ func (x gen_NSApplication) Run() { } -// SendAction_to_from sends the given action message to the given target. +// SendActionToFrom sends the given action message to the given target. // // See https://developer.apple.com/documentation/appkit/nsapplication/1428509-sendaction?language=objc for details. -func (x gen_NSApplication) SendAction_to_from( +func (x gen_NSApplication) SendActionToFrom( action objc.Selector, target objc.Ref, sender objc.Ref, ) bool { - ret := C.NSApplication_inst_sendAction_to_from( + ret := C.NSApplication_inst_SendActionToFrom( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), @@ -10055,7 +10055,7 @@ func (x gen_NSApplication) SendAction_to_from( func (x gen_NSApplication) SendEvent( event NSEventRef, ) { - C.NSApplication_inst_sendEvent( + C.NSApplication_inst_SendEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -10070,7 +10070,7 @@ func (x gen_NSApplication) SendEvent( func (x gen_NSApplication) SetActivationPolicy( activationPolicy core.NSInteger, ) bool { - ret := C.NSApplication_inst_setActivationPolicy( + ret := C.NSApplication_inst_SetActivationPolicy( unsafe.Pointer(x.Pointer()), C.long(activationPolicy), ) @@ -10085,7 +10085,7 @@ func (x gen_NSApplication) SetActivationPolicy( func (x gen_NSApplication) ShowHelp( sender objc.Ref, ) { - C.NSApplication_inst_showHelp( + C.NSApplication_inst_ShowHelp( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10100,7 +10100,7 @@ func (x gen_NSApplication) ShowHelp( func (x gen_NSApplication) Stop( sender objc.Ref, ) { - C.NSApplication_inst_stop( + C.NSApplication_inst_Stop( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10115,7 +10115,7 @@ func (x gen_NSApplication) Stop( func (x gen_NSApplication) TargetForAction( action objc.Selector, ) objc.Object { - ret := C.NSApplication_inst_targetForAction( + ret := C.NSApplication_inst_TargetForAction( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), ) @@ -10124,15 +10124,15 @@ func (x gen_NSApplication) TargetForAction( } -// TargetForAction_to_from searches for an object that can receive the message specified by the given selector. +// TargetForActionToFrom searches for an object that can receive the message specified by the given selector. // // See https://developer.apple.com/documentation/appkit/nsapplication/1428658-targetforaction?language=objc for details. -func (x gen_NSApplication) TargetForAction_to_from( +func (x gen_NSApplication) TargetForActionToFrom( action objc.Selector, target objc.Ref, sender objc.Ref, ) objc.Object { - ret := C.NSApplication_inst_targetForAction_to_from( + ret := C.NSApplication_inst_TargetForActionToFrom( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), @@ -10149,7 +10149,7 @@ func (x gen_NSApplication) TargetForAction_to_from( func (x gen_NSApplication) Terminate( sender objc.Ref, ) { - C.NSApplication_inst_terminate( + C.NSApplication_inst_Terminate( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10164,7 +10164,7 @@ func (x gen_NSApplication) Terminate( func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( sender objc.Ref, ) { - C.NSApplication_inst_toggleTouchBarCustomizationPalette( + C.NSApplication_inst_ToggleTouchBarCustomizationPalette( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10173,14 +10173,14 @@ func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( } -// TryToPerform_with dispatches an action message to the specified target. +// TryToPerformWith dispatches an action message to the specified target. // // See https://developer.apple.com/documentation/appkit/nsapplication/1428366-trytoperform?language=objc for details. -func (x gen_NSApplication) TryToPerform_with( +func (x gen_NSApplication) TryToPerformWith( action objc.Selector, object objc.Ref, ) bool { - ret := C.NSApplication_inst_tryToPerform_with( + ret := C.NSApplication_inst_TryToPerformWith( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(object), @@ -10196,7 +10196,7 @@ func (x gen_NSApplication) TryToPerform_with( func (x gen_NSApplication) UnhideAllApplications( sender objc.Ref, ) { - C.NSApplication_inst_unhideAllApplications( + C.NSApplication_inst_UnhideAllApplications( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10209,7 +10209,7 @@ func (x gen_NSApplication) UnhideAllApplications( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428747-unregisterforremotenotifications?language=objc for details. func (x gen_NSApplication) UnregisterForRemoteNotifications() { - C.NSApplication_inst_unregisterForRemoteNotifications( + C.NSApplication_inst_UnregisterForRemoteNotifications( unsafe.Pointer(x.Pointer()), ) @@ -10223,7 +10223,7 @@ func (x gen_NSApplication) UnregisterForRemoteNotifications() { func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( handler objc.Ref, ) { - C.NSApplication_inst_unregisterUserInterfaceItemSearchHandler( + C.NSApplication_inst_UnregisterUserInterfaceItemSearchHandler( unsafe.Pointer(x.Pointer()), objc.RefPointer(handler), ) @@ -10236,7 +10236,7 @@ func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( // // See for details. func (x gen_NSApplication) Init_asNSApplication() NSApplication { - ret := C.NSApplication_inst_init( + ret := C.NSApplication_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -10248,7 +10248,7 @@ func (x gen_NSApplication) Init_asNSApplication() NSApplication { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428705-delegate?language=objc for details. func (x gen_NSApplication) Delegate() objc.Object { - ret := C.NSApplication_inst_delegate( + ret := C.NSApplication_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -10262,7 +10262,7 @@ func (x gen_NSApplication) Delegate() objc.Object { func (x gen_NSApplication) SetDelegate( value objc.Ref, ) { - C.NSApplication_inst_setDelegate( + C.NSApplication_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10275,7 +10275,7 @@ func (x gen_NSApplication) SetDelegate( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428668-currentevent?language=objc for details. func (x gen_NSApplication) CurrentEvent() NSEvent { - ret := C.NSApplication_inst_currentEvent( + ret := C.NSApplication_inst_CurrentEvent( unsafe.Pointer(x.Pointer()), ) @@ -10287,7 +10287,7 @@ func (x gen_NSApplication) CurrentEvent() NSEvent { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428759-running?language=objc for details. func (x gen_NSApplication) IsRunning() bool { - ret := C.NSApplication_inst_isRunning( + ret := C.NSApplication_inst_IsRunning( unsafe.Pointer(x.Pointer()), ) @@ -10299,7 +10299,7 @@ func (x gen_NSApplication) IsRunning() bool { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428493-active?language=objc for details. func (x gen_NSApplication) IsActive() bool { - ret := C.NSApplication_inst_isActive( + ret := C.NSApplication_inst_IsActive( unsafe.Pointer(x.Pointer()), ) @@ -10311,7 +10311,7 @@ func (x gen_NSApplication) IsActive() bool { // // See https://developer.apple.com/documentation/appkit/nsapplication/2967173-registeredforremotenotifications?language=objc for details. func (x gen_NSApplication) IsRegisteredForRemoteNotifications() bool { - ret := C.NSApplication_inst_isRegisteredForRemoteNotifications( + ret := C.NSApplication_inst_IsRegisteredForRemoteNotifications( unsafe.Pointer(x.Pointer()), ) @@ -10323,7 +10323,7 @@ func (x gen_NSApplication) IsRegisteredForRemoteNotifications() bool { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428744-applicationiconimage?language=objc for details. func (x gen_NSApplication) ApplicationIconImage() NSImage { - ret := C.NSApplication_inst_applicationIconImage( + ret := C.NSApplication_inst_ApplicationIconImage( unsafe.Pointer(x.Pointer()), ) @@ -10337,7 +10337,7 @@ func (x gen_NSApplication) ApplicationIconImage() NSImage { func (x gen_NSApplication) SetApplicationIconImage( value NSImageRef, ) { - C.NSApplication_inst_setApplicationIconImage( + C.NSApplication_inst_SetApplicationIconImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10350,7 +10350,7 @@ func (x gen_NSApplication) SetApplicationIconImage( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428644-helpmenu?language=objc for details. func (x gen_NSApplication) HelpMenu() NSMenu { - ret := C.NSApplication_inst_helpMenu( + ret := C.NSApplication_inst_HelpMenu( unsafe.Pointer(x.Pointer()), ) @@ -10364,7 +10364,7 @@ func (x gen_NSApplication) HelpMenu() NSMenu { func (x gen_NSApplication) SetHelpMenu( value NSMenuRef, ) { - C.NSApplication_inst_setHelpMenu( + C.NSApplication_inst_SetHelpMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10377,7 +10377,7 @@ func (x gen_NSApplication) SetHelpMenu( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428467-servicesprovider?language=objc for details. func (x gen_NSApplication) ServicesProvider() objc.Object { - ret := C.NSApplication_inst_servicesProvider( + ret := C.NSApplication_inst_ServicesProvider( unsafe.Pointer(x.Pointer()), ) @@ -10391,7 +10391,7 @@ func (x gen_NSApplication) ServicesProvider() objc.Object { func (x gen_NSApplication) SetServicesProvider( value objc.Ref, ) { - C.NSApplication_inst_setServicesProvider( + C.NSApplication_inst_SetServicesProvider( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10404,7 +10404,7 @@ func (x gen_NSApplication) SetServicesProvider( // // See https://developer.apple.com/documentation/appkit/nsapplication/1428469-fullkeyboardaccessenabled?language=objc for details. func (x gen_NSApplication) IsFullKeyboardAccessEnabled() bool { - ret := C.NSApplication_inst_isFullKeyboardAccessEnabled( + ret := C.NSApplication_inst_IsFullKeyboardAccessEnabled( unsafe.Pointer(x.Pointer()), ) @@ -10416,7 +10416,7 @@ func (x gen_NSApplication) IsFullKeyboardAccessEnabled() bool { // // See https://developer.apple.com/documentation/appkit/nsapplication/1494283-ordereddocuments?language=objc for details. func (x gen_NSApplication) OrderedDocuments() core.NSArray { - ret := C.NSApplication_inst_orderedDocuments( + ret := C.NSApplication_inst_OrderedDocuments( unsafe.Pointer(x.Pointer()), ) @@ -10428,7 +10428,7 @@ func (x gen_NSApplication) OrderedDocuments() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsapplication/1494287-orderedwindows?language=objc for details. func (x gen_NSApplication) OrderedWindows() core.NSArray { - ret := C.NSApplication_inst_orderedWindows( + ret := C.NSApplication_inst_OrderedWindows( unsafe.Pointer(x.Pointer()), ) @@ -10440,7 +10440,7 @@ func (x gen_NSApplication) OrderedWindows() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsapplication/1428634-mainmenu?language=objc for details. func (x gen_NSApplication) MainMenu() NSMenu { - ret := C.NSApplication_inst_mainMenu( + ret := C.NSApplication_inst_MainMenu( unsafe.Pointer(x.Pointer()), ) @@ -10454,7 +10454,7 @@ func (x gen_NSApplication) MainMenu() NSMenu { func (x gen_NSApplication) SetMainMenu( value NSMenuRef, ) { - C.NSApplication_inst_setMainMenu( + C.NSApplication_inst_SetMainMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10486,7 +10486,7 @@ func NSControl_fromRef(ref objc.Ref) NSControl { // // See https://developer.apple.com/documentation/appkit/nscontrol/1428867-abortediting?language=objc for details. func (x gen_NSControl) AbortEditing() bool { - ret := C.NSControl_inst_abortEditing( + ret := C.NSControl_inst_AbortEditing( unsafe.Pointer(x.Pointer()), ) @@ -10498,7 +10498,7 @@ func (x gen_NSControl) AbortEditing() bool { // // See https://developer.apple.com/documentation/appkit/nscontrol/1428980-currenteditor?language=objc for details. func (x gen_NSControl) CurrentEditor() NSText { - ret := C.NSControl_inst_currentEditor( + ret := C.NSControl_inst_CurrentEditor( unsafe.Pointer(x.Pointer()), ) @@ -10506,14 +10506,14 @@ func (x gen_NSControl) CurrentEditor() NSText { } -// DrawWithExpansionFrame_inView performs custom expansion tool tip drawing. +// DrawWithExpansionFrameInView performs custom expansion tool tip drawing. // // See https://developer.apple.com/documentation/appkit/nscontrol/1428895-drawwithexpansionframe?language=objc for details. -func (x gen_NSControl) DrawWithExpansionFrame_inView( +func (x gen_NSControl) DrawWithExpansionFrameInView( contentFrame core.NSRect, view NSViewRef, ) { - C.NSControl_inst_drawWithExpansionFrame_inView( + C.NSControl_inst_DrawWithExpansionFrameInView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentFrame)), objc.RefPointer(view), @@ -10523,16 +10523,16 @@ func (x gen_NSControl) DrawWithExpansionFrame_inView( } -// EditWithFrame_editor_delegate_event begins editing of the receiver’s text using the specified field editor. +// EditWithFrameEditorDelegateEvent begins editing of the receiver’s text using the specified field editor. // // See https://developer.apple.com/documentation/appkit/nscontrol/1428919-editwithframe?language=objc for details. -func (x gen_NSControl) EditWithFrame_editor_delegate_event( +func (x gen_NSControl) EditWithFrameEditorDelegateEvent( rect core.NSRect, textObj NSTextRef, delegate objc.Ref, event NSEventRef, ) { - C.NSControl_inst_editWithFrame_editor_delegate_event( + C.NSControl_inst_EditWithFrameEditorDelegateEvent( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(textObj), @@ -10550,7 +10550,7 @@ func (x gen_NSControl) EditWithFrame_editor_delegate_event( func (x gen_NSControl) EndEditing( textObj NSTextRef, ) { - C.NSControl_inst_endEditing( + C.NSControl_inst_EndEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObj), ) @@ -10565,7 +10565,7 @@ func (x gen_NSControl) EndEditing( func (x gen_NSControl) ExpansionFrameWithFrame( contentFrame core.NSRect, ) core.NSRect { - ret := C.NSControl_inst_expansionFrameWithFrame( + ret := C.NSControl_inst_ExpansionFrameWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentFrame)), ) @@ -10580,7 +10580,7 @@ func (x gen_NSControl) ExpansionFrameWithFrame( func (x gen_NSControl) InitWithFrame_asNSControl( frameRect core.NSRect, ) NSControl { - ret := C.NSControl_inst_initWithFrame( + ret := C.NSControl_inst_InitWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -10595,7 +10595,7 @@ func (x gen_NSControl) InitWithFrame_asNSControl( func (x gen_NSControl) MouseDown( event NSEventRef, ) { - C.NSControl_inst_mouseDown( + C.NSControl_inst_MouseDown( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -10610,7 +10610,7 @@ func (x gen_NSControl) MouseDown( func (x gen_NSControl) PerformClick( sender objc.Ref, ) { - C.NSControl_inst_performClick( + C.NSControl_inst_PerformClick( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10619,17 +10619,17 @@ func (x gen_NSControl) PerformClick( } -// SelectWithFrame_editor_delegate_start_length selects the specified text range in the receiver's field editor. +// SelectWithFrameEditorDelegateStartLength selects the specified text range in the receiver's field editor. // // See https://developer.apple.com/documentation/appkit/nscontrol/1428968-selectwithframe?language=objc for details. -func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( +func (x gen_NSControl) SelectWithFrameEditorDelegateStartLength( rect core.NSRect, textObj NSTextRef, delegate objc.Ref, selStart core.NSInteger, selLength core.NSInteger, ) { - C.NSControl_inst_selectWithFrame_editor_delegate_start_length( + C.NSControl_inst_SelectWithFrameEditorDelegateStartLength( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(textObj), @@ -10642,14 +10642,14 @@ func (x gen_NSControl) SelectWithFrame_editor_delegate_start_length( } -// SendAction_to causes the specified action to be sent to the target. +// SendActionTo causes the specified action to be sent to the target. // // See https://developer.apple.com/documentation/appkit/nscontrol/1428851-sendaction?language=objc for details. -func (x gen_NSControl) SendAction_to( +func (x gen_NSControl) SendActionTo( action objc.Selector, target objc.Ref, ) bool { - ret := C.NSControl_inst_sendAction_to( + ret := C.NSControl_inst_SendActionTo( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(target), @@ -10665,7 +10665,7 @@ func (x gen_NSControl) SendAction_to( func (x gen_NSControl) SizeThatFits( size core.NSSize, ) core.NSSize { - ret := C.NSControl_inst_sizeThatFits( + ret := C.NSControl_inst_SizeThatFits( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -10678,7 +10678,7 @@ func (x gen_NSControl) SizeThatFits( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428877-sizetofit?language=objc for details. func (x gen_NSControl) SizeToFit() { - C.NSControl_inst_sizeToFit( + C.NSControl_inst_SizeToFit( unsafe.Pointer(x.Pointer()), ) @@ -10692,7 +10692,7 @@ func (x gen_NSControl) SizeToFit() { func (x gen_NSControl) TakeDoubleValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeDoubleValueFrom( + C.NSControl_inst_TakeDoubleValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10707,7 +10707,7 @@ func (x gen_NSControl) TakeDoubleValueFrom( func (x gen_NSControl) TakeFloatValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeFloatValueFrom( + C.NSControl_inst_TakeFloatValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10722,7 +10722,7 @@ func (x gen_NSControl) TakeFloatValueFrom( func (x gen_NSControl) TakeIntValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeIntValueFrom( + C.NSControl_inst_TakeIntValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10737,7 +10737,7 @@ func (x gen_NSControl) TakeIntValueFrom( func (x gen_NSControl) TakeIntegerValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeIntegerValueFrom( + C.NSControl_inst_TakeIntegerValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10752,7 +10752,7 @@ func (x gen_NSControl) TakeIntegerValueFrom( func (x gen_NSControl) TakeObjectValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeObjectValueFrom( + C.NSControl_inst_TakeObjectValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10767,7 +10767,7 @@ func (x gen_NSControl) TakeObjectValueFrom( func (x gen_NSControl) TakeStringValueFrom( sender objc.Ref, ) { - C.NSControl_inst_takeStringValueFrom( + C.NSControl_inst_TakeStringValueFrom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -10780,7 +10780,7 @@ func (x gen_NSControl) TakeStringValueFrom( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428855-validateediting?language=objc for details. func (x gen_NSControl) ValidateEditing() { - C.NSControl_inst_validateEditing( + C.NSControl_inst_ValidateEditing( unsafe.Pointer(x.Pointer()), ) @@ -10792,7 +10792,7 @@ func (x gen_NSControl) ValidateEditing() { // // See for details. func (x gen_NSControl) Init_asNSControl() NSControl { - ret := C.NSControl_inst_init( + ret := C.NSControl_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -10804,7 +10804,7 @@ func (x gen_NSControl) Init_asNSControl() NSControl { // // See https://developer.apple.com/documentation/appkit/nscontrol/1428970-enabled?language=objc for details. func (x gen_NSControl) IsEnabled() bool { - ret := C.NSControl_inst_isEnabled( + ret := C.NSControl_inst_IsEnabled( unsafe.Pointer(x.Pointer()), ) @@ -10818,7 +10818,7 @@ func (x gen_NSControl) IsEnabled() bool { func (x gen_NSControl) SetEnabled( value bool, ) { - C.NSControl_inst_setEnabled( + C.NSControl_inst_SetEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -10831,7 +10831,7 @@ func (x gen_NSControl) SetEnabled( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428939-intvalue?language=objc for details. func (x gen_NSControl) IntValue() int32 { - ret := C.NSControl_inst_intValue( + ret := C.NSControl_inst_IntValue( unsafe.Pointer(x.Pointer()), ) @@ -10845,7 +10845,7 @@ func (x gen_NSControl) IntValue() int32 { func (x gen_NSControl) SetIntValue( value int32, ) { - C.NSControl_inst_setIntValue( + C.NSControl_inst_SetIntValue( unsafe.Pointer(x.Pointer()), C.int(value), ) @@ -10858,7 +10858,7 @@ func (x gen_NSControl) SetIntValue( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428969-integervalue?language=objc for details. func (x gen_NSControl) IntegerValue() core.NSInteger { - ret := C.NSControl_inst_integerValue( + ret := C.NSControl_inst_IntegerValue( unsafe.Pointer(x.Pointer()), ) @@ -10872,7 +10872,7 @@ func (x gen_NSControl) IntegerValue() core.NSInteger { func (x gen_NSControl) SetIntegerValue( value core.NSInteger, ) { - C.NSControl_inst_setIntegerValue( + C.NSControl_inst_SetIntegerValue( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -10885,7 +10885,7 @@ func (x gen_NSControl) SetIntegerValue( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428849-objectvalue?language=objc for details. func (x gen_NSControl) ObjectValue() objc.Object { - ret := C.NSControl_inst_objectValue( + ret := C.NSControl_inst_ObjectValue( unsafe.Pointer(x.Pointer()), ) @@ -10899,7 +10899,7 @@ func (x gen_NSControl) ObjectValue() objc.Object { func (x gen_NSControl) SetObjectValue( value objc.Ref, ) { - C.NSControl_inst_setObjectValue( + C.NSControl_inst_SetObjectValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10912,7 +10912,7 @@ func (x gen_NSControl) SetObjectValue( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428950-stringvalue?language=objc for details. func (x gen_NSControl) StringValue() core.NSString { - ret := C.NSControl_inst_stringValue( + ret := C.NSControl_inst_StringValue( unsafe.Pointer(x.Pointer()), ) @@ -10926,7 +10926,7 @@ func (x gen_NSControl) StringValue() core.NSString { func (x gen_NSControl) SetStringValue( value core.NSStringRef, ) { - C.NSControl_inst_setStringValue( + C.NSControl_inst_SetStringValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10939,7 +10939,7 @@ func (x gen_NSControl) SetStringValue( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428916-attributedstringvalue?language=objc for details. func (x gen_NSControl) AttributedStringValue() core.NSAttributedString { - ret := C.NSControl_inst_attributedStringValue( + ret := C.NSControl_inst_AttributedStringValue( unsafe.Pointer(x.Pointer()), ) @@ -10953,7 +10953,7 @@ func (x gen_NSControl) AttributedStringValue() core.NSAttributedString { func (x gen_NSControl) SetAttributedStringValue( value core.NSAttributedStringRef, ) { - C.NSControl_inst_setAttributedStringValue( + C.NSControl_inst_SetAttributedStringValue( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10966,7 +10966,7 @@ func (x gen_NSControl) SetAttributedStringValue( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428914-font?language=objc for details. func (x gen_NSControl) Font() NSFont { - ret := C.NSControl_inst_font( + ret := C.NSControl_inst_Font( unsafe.Pointer(x.Pointer()), ) @@ -10980,7 +10980,7 @@ func (x gen_NSControl) Font() NSFont { func (x gen_NSControl) SetFont( value NSFontRef, ) { - C.NSControl_inst_setFont( + C.NSControl_inst_SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -10993,7 +10993,7 @@ func (x gen_NSControl) SetFont( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428929-usessinglelinemode?language=objc for details. func (x gen_NSControl) UsesSingleLineMode() bool { - ret := C.NSControl_inst_usesSingleLineMode( + ret := C.NSControl_inst_UsesSingleLineMode( unsafe.Pointer(x.Pointer()), ) @@ -11007,7 +11007,7 @@ func (x gen_NSControl) UsesSingleLineMode() bool { func (x gen_NSControl) SetUsesSingleLineMode( value bool, ) { - C.NSControl_inst_setUsesSingleLineMode( + C.NSControl_inst_SetUsesSingleLineMode( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11020,7 +11020,7 @@ func (x gen_NSControl) SetUsesSingleLineMode( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428962-allowsexpansiontooltips?language=objc for details. func (x gen_NSControl) AllowsExpansionToolTips() bool { - ret := C.NSControl_inst_allowsExpansionToolTips( + ret := C.NSControl_inst_AllowsExpansionToolTips( unsafe.Pointer(x.Pointer()), ) @@ -11034,7 +11034,7 @@ func (x gen_NSControl) AllowsExpansionToolTips() bool { func (x gen_NSControl) SetAllowsExpansionToolTips( value bool, ) { - C.NSControl_inst_setAllowsExpansionToolTips( + C.NSControl_inst_SetAllowsExpansionToolTips( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11047,7 +11047,7 @@ func (x gen_NSControl) SetAllowsExpansionToolTips( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428927-highlighted?language=objc for details. func (x gen_NSControl) IsHighlighted() bool { - ret := C.NSControl_inst_isHighlighted( + ret := C.NSControl_inst_IsHighlighted( unsafe.Pointer(x.Pointer()), ) @@ -11061,7 +11061,7 @@ func (x gen_NSControl) IsHighlighted() bool { func (x gen_NSControl) SetHighlighted( value bool, ) { - C.NSControl_inst_setHighlighted( + C.NSControl_inst_SetHighlighted( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11074,7 +11074,7 @@ func (x gen_NSControl) SetHighlighted( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428956-action?language=objc for details. func (x gen_NSControl) Action() objc.Selector { - ret := C.NSControl_inst_action( + ret := C.NSControl_inst_Action( unsafe.Pointer(x.Pointer()), ) @@ -11088,7 +11088,7 @@ func (x gen_NSControl) Action() objc.Selector { func (x gen_NSControl) SetAction( value objc.Selector, ) { - C.NSControl_inst_setAction( + C.NSControl_inst_SetAction( unsafe.Pointer(x.Pointer()), value.SelectorAddress(), ) @@ -11101,7 +11101,7 @@ func (x gen_NSControl) SetAction( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428885-target?language=objc for details. func (x gen_NSControl) Target() objc.Object { - ret := C.NSControl_inst_target( + ret := C.NSControl_inst_Target( unsafe.Pointer(x.Pointer()), ) @@ -11115,7 +11115,7 @@ func (x gen_NSControl) Target() objc.Object { func (x gen_NSControl) SetTarget( value objc.Ref, ) { - C.NSControl_inst_setTarget( + C.NSControl_inst_SetTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11128,7 +11128,7 @@ func (x gen_NSControl) SetTarget( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428952-continuous?language=objc for details. func (x gen_NSControl) IsContinuous() bool { - ret := C.NSControl_inst_isContinuous( + ret := C.NSControl_inst_IsContinuous( unsafe.Pointer(x.Pointer()), ) @@ -11142,7 +11142,7 @@ func (x gen_NSControl) IsContinuous() bool { func (x gen_NSControl) SetContinuous( value bool, ) { - C.NSControl_inst_setContinuous( + C.NSControl_inst_SetContinuous( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11155,7 +11155,7 @@ func (x gen_NSControl) SetContinuous( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428910-tag?language=objc for details. func (x gen_NSControl) Tag() core.NSInteger { - ret := C.NSControl_inst_tag( + ret := C.NSControl_inst_Tag( unsafe.Pointer(x.Pointer()), ) @@ -11169,7 +11169,7 @@ func (x gen_NSControl) Tag() core.NSInteger { func (x gen_NSControl) SetTag( value core.NSInteger, ) { - C.NSControl_inst_setTag( + C.NSControl_inst_SetTag( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -11182,7 +11182,7 @@ func (x gen_NSControl) SetTag( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428976-refusesfirstresponder?language=objc for details. func (x gen_NSControl) RefusesFirstResponder() bool { - ret := C.NSControl_inst_refusesFirstResponder( + ret := C.NSControl_inst_RefusesFirstResponder( unsafe.Pointer(x.Pointer()), ) @@ -11196,7 +11196,7 @@ func (x gen_NSControl) RefusesFirstResponder() bool { func (x gen_NSControl) SetRefusesFirstResponder( value bool, ) { - C.NSControl_inst_setRefusesFirstResponder( + C.NSControl_inst_SetRefusesFirstResponder( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11209,7 +11209,7 @@ func (x gen_NSControl) SetRefusesFirstResponder( // // See https://developer.apple.com/documentation/appkit/nscontrol/1428863-ignoresmulticlick?language=objc for details. func (x gen_NSControl) IgnoresMultiClick() bool { - ret := C.NSControl_inst_ignoresMultiClick( + ret := C.NSControl_inst_IgnoresMultiClick( unsafe.Pointer(x.Pointer()), ) @@ -11223,7 +11223,7 @@ func (x gen_NSControl) IgnoresMultiClick() bool { func (x gen_NSControl) SetIgnoresMultiClick( value bool, ) { - C.NSControl_inst_setIgnoresMultiClick( + C.NSControl_inst_SetIgnoresMultiClick( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11257,7 +11257,7 @@ func NSButton_fromRef(ref objc.Ref) NSButton { func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) { - C.NSButton_inst_compressWithPrioritizedCompressionOptions( + C.NSButton_inst_CompressWithPrioritizedCompressionOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(prioritizedOptions), ) @@ -11272,7 +11272,7 @@ func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( func (x gen_NSButton) Highlight( flag bool, ) { - C.NSButton_inst_highlight( + C.NSButton_inst_Highlight( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -11287,7 +11287,7 @@ func (x gen_NSButton) Highlight( func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( prioritizedOptions core.NSArrayRef, ) core.NSSize { - ret := C.NSButton_inst_minimumSizeWithPrioritizedCompressionOptions( + ret := C.NSButton_inst_MinimumSizeWithPrioritizedCompressionOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(prioritizedOptions), ) @@ -11302,7 +11302,7 @@ func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( func (x gen_NSButton) PerformKeyEquivalent( key NSEventRef, ) bool { - ret := C.NSButton_inst_performKeyEquivalent( + ret := C.NSButton_inst_PerformKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -11315,7 +11315,7 @@ func (x gen_NSButton) PerformKeyEquivalent( // // See https://developer.apple.com/documentation/appkit/nsbutton/1530594-setnextstate?language=objc for details. func (x gen_NSButton) SetNextState() { - C.NSButton_inst_setNextState( + C.NSButton_inst_SetNextState( unsafe.Pointer(x.Pointer()), ) @@ -11327,7 +11327,7 @@ func (x gen_NSButton) SetNextState() { // // See for details. func (x gen_NSButton) Init_asNSButton() NSButton { - ret := C.NSButton_inst_init( + ret := C.NSButton_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -11339,7 +11339,7 @@ func (x gen_NSButton) Init_asNSButton() NSButton { // // See https://developer.apple.com/documentation/appkit/nsbutton/3000781-contenttintcolor?language=objc for details. func (x gen_NSButton) ContentTintColor() NSColor { - ret := C.NSButton_inst_contentTintColor( + ret := C.NSButton_inst_ContentTintColor( unsafe.Pointer(x.Pointer()), ) @@ -11353,7 +11353,7 @@ func (x gen_NSButton) ContentTintColor() NSColor { func (x gen_NSButton) SetContentTintColor( value NSColorRef, ) { - C.NSButton_inst_setContentTintColor( + C.NSButton_inst_SetContentTintColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11366,7 +11366,7 @@ func (x gen_NSButton) SetContentTintColor( // // See https://developer.apple.com/documentation/appkit/nsbutton/3622469-hasdestructiveaction?language=objc for details. func (x gen_NSButton) HasDestructiveAction() bool { - ret := C.NSButton_inst_hasDestructiveAction( + ret := C.NSButton_inst_HasDestructiveAction( unsafe.Pointer(x.Pointer()), ) @@ -11380,7 +11380,7 @@ func (x gen_NSButton) HasDestructiveAction() bool { func (x gen_NSButton) SetHasDestructiveAction( value bool, ) { - C.NSButton_inst_setHasDestructiveAction( + C.NSButton_inst_SetHasDestructiveAction( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11393,7 +11393,7 @@ func (x gen_NSButton) SetHasDestructiveAction( // // See https://developer.apple.com/documentation/appkit/nsbutton/1529588-alternatetitle?language=objc for details. func (x gen_NSButton) AlternateTitle() core.NSString { - ret := C.NSButton_inst_alternateTitle( + ret := C.NSButton_inst_AlternateTitle( unsafe.Pointer(x.Pointer()), ) @@ -11407,7 +11407,7 @@ func (x gen_NSButton) AlternateTitle() core.NSString { func (x gen_NSButton) SetAlternateTitle( value core.NSStringRef, ) { - C.NSButton_inst_setAlternateTitle( + C.NSButton_inst_SetAlternateTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11420,7 +11420,7 @@ func (x gen_NSButton) SetAlternateTitle( // // See https://developer.apple.com/documentation/appkit/nsbutton/1524640-attributedtitle?language=objc for details. func (x gen_NSButton) AttributedTitle() core.NSAttributedString { - ret := C.NSButton_inst_attributedTitle( + ret := C.NSButton_inst_AttributedTitle( unsafe.Pointer(x.Pointer()), ) @@ -11434,7 +11434,7 @@ func (x gen_NSButton) AttributedTitle() core.NSAttributedString { func (x gen_NSButton) SetAttributedTitle( value core.NSAttributedStringRef, ) { - C.NSButton_inst_setAttributedTitle( + C.NSButton_inst_SetAttributedTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11447,7 +11447,7 @@ func (x gen_NSButton) SetAttributedTitle( // // See https://developer.apple.com/documentation/appkit/nsbutton/1526723-attributedalternatetitle?language=objc for details. func (x gen_NSButton) AttributedAlternateTitle() core.NSAttributedString { - ret := C.NSButton_inst_attributedAlternateTitle( + ret := C.NSButton_inst_AttributedAlternateTitle( unsafe.Pointer(x.Pointer()), ) @@ -11461,7 +11461,7 @@ func (x gen_NSButton) AttributedAlternateTitle() core.NSAttributedString { func (x gen_NSButton) SetAttributedAlternateTitle( value core.NSAttributedStringRef, ) { - C.NSButton_inst_setAttributedAlternateTitle( + C.NSButton_inst_SetAttributedAlternateTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11474,7 +11474,7 @@ func (x gen_NSButton) SetAttributedAlternateTitle( // // See https://developer.apple.com/documentation/appkit/nsbutton/1524430-title?language=objc for details. func (x gen_NSButton) Title() core.NSString { - ret := C.NSButton_inst_title( + ret := C.NSButton_inst_Title( unsafe.Pointer(x.Pointer()), ) @@ -11488,7 +11488,7 @@ func (x gen_NSButton) Title() core.NSString { func (x gen_NSButton) SetTitle( value core.NSStringRef, ) { - C.NSButton_inst_setTitle( + C.NSButton_inst_SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11501,7 +11501,7 @@ func (x gen_NSButton) SetTitle( // // See https://developer.apple.com/documentation/appkit/nsbutton/1530910-sound?language=objc for details. func (x gen_NSButton) Sound() NSSound { - ret := C.NSButton_inst_sound( + ret := C.NSButton_inst_Sound( unsafe.Pointer(x.Pointer()), ) @@ -11515,7 +11515,7 @@ func (x gen_NSButton) Sound() NSSound { func (x gen_NSButton) SetSound( value NSSoundRef, ) { - C.NSButton_inst_setSound( + C.NSButton_inst_SetSound( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11528,7 +11528,7 @@ func (x gen_NSButton) SetSound( // // See https://developer.apple.com/documentation/appkit/nsbutton/1532300-springloaded?language=objc for details. func (x gen_NSButton) IsSpringLoaded() bool { - ret := C.NSButton_inst_isSpringLoaded( + ret := C.NSButton_inst_IsSpringLoaded( unsafe.Pointer(x.Pointer()), ) @@ -11542,7 +11542,7 @@ func (x gen_NSButton) IsSpringLoaded() bool { func (x gen_NSButton) SetSpringLoaded( value bool, ) { - C.NSButton_inst_setSpringLoaded( + C.NSButton_inst_SetSpringLoaded( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11555,7 +11555,7 @@ func (x gen_NSButton) SetSpringLoaded( // // See https://developer.apple.com/documentation/appkit/nsbutton/1534413-maxacceleratorlevel?language=objc for details. func (x gen_NSButton) MaxAcceleratorLevel() core.NSInteger { - ret := C.NSButton_inst_maxAcceleratorLevel( + ret := C.NSButton_inst_MaxAcceleratorLevel( unsafe.Pointer(x.Pointer()), ) @@ -11569,7 +11569,7 @@ func (x gen_NSButton) MaxAcceleratorLevel() core.NSInteger { func (x gen_NSButton) SetMaxAcceleratorLevel( value core.NSInteger, ) { - C.NSButton_inst_setMaxAcceleratorLevel( + C.NSButton_inst_SetMaxAcceleratorLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -11582,7 +11582,7 @@ func (x gen_NSButton) SetMaxAcceleratorLevel( // // See https://developer.apple.com/documentation/appkit/nsbutton/1534221-image?language=objc for details. func (x gen_NSButton) Image() NSImage { - ret := C.NSButton_inst_image( + ret := C.NSButton_inst_Image( unsafe.Pointer(x.Pointer()), ) @@ -11596,7 +11596,7 @@ func (x gen_NSButton) Image() NSImage { func (x gen_NSButton) SetImage( value NSImageRef, ) { - C.NSButton_inst_setImage( + C.NSButton_inst_SetImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11609,7 +11609,7 @@ func (x gen_NSButton) SetImage( // // See https://developer.apple.com/documentation/appkit/nsbutton/1533935-alternateimage?language=objc for details. func (x gen_NSButton) AlternateImage() NSImage { - ret := C.NSButton_inst_alternateImage( + ret := C.NSButton_inst_AlternateImage( unsafe.Pointer(x.Pointer()), ) @@ -11623,7 +11623,7 @@ func (x gen_NSButton) AlternateImage() NSImage { func (x gen_NSButton) SetAlternateImage( value NSImageRef, ) { - C.NSButton_inst_setAlternateImage( + C.NSButton_inst_SetAlternateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11636,7 +11636,7 @@ func (x gen_NSButton) SetAlternateImage( // // See https://developer.apple.com/documentation/appkit/nsbutton/1525565-bordered?language=objc for details. func (x gen_NSButton) IsBordered() bool { - ret := C.NSButton_inst_isBordered( + ret := C.NSButton_inst_IsBordered( unsafe.Pointer(x.Pointer()), ) @@ -11650,7 +11650,7 @@ func (x gen_NSButton) IsBordered() bool { func (x gen_NSButton) SetBordered( value bool, ) { - C.NSButton_inst_setBordered( + C.NSButton_inst_SetBordered( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11663,7 +11663,7 @@ func (x gen_NSButton) SetBordered( // // See https://developer.apple.com/documentation/appkit/nsbutton/1529659-transparent?language=objc for details. func (x gen_NSButton) IsTransparent() bool { - ret := C.NSButton_inst_isTransparent( + ret := C.NSButton_inst_IsTransparent( unsafe.Pointer(x.Pointer()), ) @@ -11677,7 +11677,7 @@ func (x gen_NSButton) IsTransparent() bool { func (x gen_NSButton) SetTransparent( value bool, ) { - C.NSButton_inst_setTransparent( + C.NSButton_inst_SetTransparent( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11690,7 +11690,7 @@ func (x gen_NSButton) SetTransparent( // // See https://developer.apple.com/documentation/appkit/nsbutton/2561000-bezelcolor?language=objc for details. func (x gen_NSButton) BezelColor() NSColor { - ret := C.NSButton_inst_bezelColor( + ret := C.NSButton_inst_BezelColor( unsafe.Pointer(x.Pointer()), ) @@ -11704,7 +11704,7 @@ func (x gen_NSButton) BezelColor() NSColor { func (x gen_NSButton) SetBezelColor( value NSColorRef, ) { - C.NSButton_inst_setBezelColor( + C.NSButton_inst_SetBezelColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11717,7 +11717,7 @@ func (x gen_NSButton) SetBezelColor( // // See https://developer.apple.com/documentation/appkit/nsbutton/1532248-showsborderonlywhilemouseinside?language=objc for details. func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() bool { - ret := C.NSButton_inst_showsBorderOnlyWhileMouseInside( + ret := C.NSButton_inst_ShowsBorderOnlyWhileMouseInside( unsafe.Pointer(x.Pointer()), ) @@ -11731,7 +11731,7 @@ func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() bool { func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( value bool, ) { - C.NSButton_inst_setShowsBorderOnlyWhileMouseInside( + C.NSButton_inst_SetShowsBorderOnlyWhileMouseInside( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11744,7 +11744,7 @@ func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( // // See https://developer.apple.com/documentation/appkit/nsbutton/2092414-imagehugstitle?language=objc for details. func (x gen_NSButton) ImageHugsTitle() bool { - ret := C.NSButton_inst_imageHugsTitle( + ret := C.NSButton_inst_ImageHugsTitle( unsafe.Pointer(x.Pointer()), ) @@ -11758,7 +11758,7 @@ func (x gen_NSButton) ImageHugsTitle() bool { func (x gen_NSButton) SetImageHugsTitle( value bool, ) { - C.NSButton_inst_setImageHugsTitle( + C.NSButton_inst_SetImageHugsTitle( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11771,7 +11771,7 @@ func (x gen_NSButton) SetImageHugsTitle( // // See https://developer.apple.com/documentation/appkit/nsbutton/1528670-allowsmixedstate?language=objc for details. func (x gen_NSButton) AllowsMixedState() bool { - ret := C.NSButton_inst_allowsMixedState( + ret := C.NSButton_inst_AllowsMixedState( unsafe.Pointer(x.Pointer()), ) @@ -11785,7 +11785,7 @@ func (x gen_NSButton) AllowsMixedState() bool { func (x gen_NSButton) SetAllowsMixedState( value bool, ) { - C.NSButton_inst_setAllowsMixedState( + C.NSButton_inst_SetAllowsMixedState( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -11798,7 +11798,7 @@ func (x gen_NSButton) SetAllowsMixedState( // // See https://developer.apple.com/documentation/appkit/nsbutton/1528907-state?language=objc for details. func (x gen_NSButton) State() core.NSInteger { - ret := C.NSButton_inst_state( + ret := C.NSButton_inst_State( unsafe.Pointer(x.Pointer()), ) @@ -11812,7 +11812,7 @@ func (x gen_NSButton) State() core.NSInteger { func (x gen_NSButton) SetState( value core.NSInteger, ) { - C.NSButton_inst_setState( + C.NSButton_inst_SetState( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -11825,7 +11825,7 @@ func (x gen_NSButton) SetState( // // See https://developer.apple.com/documentation/appkit/nsbutton/1525368-keyequivalent?language=objc for details. func (x gen_NSButton) KeyEquivalent() core.NSString { - ret := C.NSButton_inst_keyEquivalent( + ret := C.NSButton_inst_KeyEquivalent( unsafe.Pointer(x.Pointer()), ) @@ -11839,7 +11839,7 @@ func (x gen_NSButton) KeyEquivalent() core.NSString { func (x gen_NSButton) SetKeyEquivalent( value core.NSStringRef, ) { - C.NSButton_inst_setKeyEquivalent( + C.NSButton_inst_SetKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -11871,7 +11871,7 @@ func NSEvent_fromRef(ref objc.Ref) NSEvent { // // See for details. func (x gen_NSEvent) Init_asNSEvent() NSEvent { - ret := C.NSEvent_inst_init( + ret := C.NSEvent_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -11883,7 +11883,7 @@ func (x gen_NSEvent) Init_asNSEvent() NSEvent { // // See https://developer.apple.com/documentation/appkit/nsevent/1529068-locationinwindow?language=objc for details. func (x gen_NSEvent) LocationInWindow() core.NSPoint { - ret := C.NSEvent_inst_locationInWindow( + ret := C.NSEvent_inst_LocationInWindow( unsafe.Pointer(x.Pointer()), ) @@ -11895,7 +11895,7 @@ func (x gen_NSEvent) LocationInWindow() core.NSPoint { // // See https://developer.apple.com/documentation/appkit/nsevent/1530808-window?language=objc for details. func (x gen_NSEvent) Window() NSWindow { - ret := C.NSEvent_inst_window( + ret := C.NSEvent_inst_Window( unsafe.Pointer(x.Pointer()), ) @@ -11907,7 +11907,7 @@ func (x gen_NSEvent) Window() NSWindow { // // See https://developer.apple.com/documentation/appkit/nsevent/1531361-windownumber?language=objc for details. func (x gen_NSEvent) WindowNumber() core.NSInteger { - ret := C.NSEvent_inst_windowNumber( + ret := C.NSEvent_inst_WindowNumber( unsafe.Pointer(x.Pointer()), ) @@ -11919,7 +11919,7 @@ func (x gen_NSEvent) WindowNumber() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1525143-eventref?language=objc for details. func (x gen_NSEvent) EventRef() unsafe.Pointer { - ret := C.NSEvent_inst_eventRef( + ret := C.NSEvent_inst_EventRef( unsafe.Pointer(x.Pointer()), ) @@ -11931,7 +11931,7 @@ func (x gen_NSEvent) EventRef() unsafe.Pointer { // // See https://developer.apple.com/documentation/appkit/nsevent/1534183-characters?language=objc for details. func (x gen_NSEvent) Characters() core.NSString { - ret := C.NSEvent_inst_characters( + ret := C.NSEvent_inst_Characters( unsafe.Pointer(x.Pointer()), ) @@ -11943,7 +11943,7 @@ func (x gen_NSEvent) Characters() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsevent/1524605-charactersignoringmodifiers?language=objc for details. func (x gen_NSEvent) CharactersIgnoringModifiers() core.NSString { - ret := C.NSEvent_inst_charactersIgnoringModifiers( + ret := C.NSEvent_inst_CharactersIgnoringModifiers( unsafe.Pointer(x.Pointer()), ) @@ -11955,7 +11955,7 @@ func (x gen_NSEvent) CharactersIgnoringModifiers() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsevent/1528049-arepeat?language=objc for details. func (x gen_NSEvent) IsARepeat() bool { - ret := C.NSEvent_inst_isARepeat( + ret := C.NSEvent_inst_IsARepeat( unsafe.Pointer(x.Pointer()), ) @@ -11967,7 +11967,7 @@ func (x gen_NSEvent) IsARepeat() bool { // // See https://developer.apple.com/documentation/appkit/nsevent/1527828-buttonnumber?language=objc for details. func (x gen_NSEvent) ButtonNumber() core.NSInteger { - ret := C.NSEvent_inst_buttonNumber( + ret := C.NSEvent_inst_ButtonNumber( unsafe.Pointer(x.Pointer()), ) @@ -11979,7 +11979,7 @@ func (x gen_NSEvent) ButtonNumber() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1528200-clickcount?language=objc for details. func (x gen_NSEvent) ClickCount() core.NSInteger { - ret := C.NSEvent_inst_clickCount( + ret := C.NSEvent_inst_ClickCount( unsafe.Pointer(x.Pointer()), ) @@ -11991,7 +11991,7 @@ func (x gen_NSEvent) ClickCount() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1535220-eventnumber?language=objc for details. func (x gen_NSEvent) EventNumber() core.NSInteger { - ret := C.NSEvent_inst_eventNumber( + ret := C.NSEvent_inst_EventNumber( unsafe.Pointer(x.Pointer()), ) @@ -12003,7 +12003,7 @@ func (x gen_NSEvent) EventNumber() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1533974-trackingnumber?language=objc for details. func (x gen_NSEvent) TrackingNumber() core.NSInteger { - ret := C.NSEvent_inst_trackingNumber( + ret := C.NSEvent_inst_TrackingNumber( unsafe.Pointer(x.Pointer()), ) @@ -12015,7 +12015,7 @@ func (x gen_NSEvent) TrackingNumber() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1526810-userdata?language=objc for details. func (x gen_NSEvent) UserData() unsafe.Pointer { - ret := C.NSEvent_inst_userData( + ret := C.NSEvent_inst_UserData( unsafe.Pointer(x.Pointer()), ) @@ -12027,7 +12027,7 @@ func (x gen_NSEvent) UserData() unsafe.Pointer { // // See https://developer.apple.com/documentation/appkit/nsevent/1528289-data1?language=objc for details. func (x gen_NSEvent) Data1() core.NSInteger { - ret := C.NSEvent_inst_data1( + ret := C.NSEvent_inst_Data1( unsafe.Pointer(x.Pointer()), ) @@ -12039,7 +12039,7 @@ func (x gen_NSEvent) Data1() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1528647-data2?language=objc for details. func (x gen_NSEvent) Data2() core.NSInteger { - ret := C.NSEvent_inst_data2( + ret := C.NSEvent_inst_Data2( unsafe.Pointer(x.Pointer()), ) @@ -12051,7 +12051,7 @@ func (x gen_NSEvent) Data2() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1534871-deltax?language=objc for details. func (x gen_NSEvent) DeltaX() core.CGFloat { - ret := C.NSEvent_inst_deltaX( + ret := C.NSEvent_inst_DeltaX( unsafe.Pointer(x.Pointer()), ) @@ -12063,7 +12063,7 @@ func (x gen_NSEvent) DeltaX() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1534158-deltay?language=objc for details. func (x gen_NSEvent) DeltaY() core.CGFloat { - ret := C.NSEvent_inst_deltaY( + ret := C.NSEvent_inst_DeltaY( unsafe.Pointer(x.Pointer()), ) @@ -12075,7 +12075,7 @@ func (x gen_NSEvent) DeltaY() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1531528-deltaz?language=objc for details. func (x gen_NSEvent) DeltaZ() core.CGFloat { - ret := C.NSEvent_inst_deltaZ( + ret := C.NSEvent_inst_DeltaZ( unsafe.Pointer(x.Pointer()), ) @@ -12087,7 +12087,7 @@ func (x gen_NSEvent) DeltaZ() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1527242-stage?language=objc for details. func (x gen_NSEvent) Stage() core.NSInteger { - ret := C.NSEvent_inst_stage( + ret := C.NSEvent_inst_Stage( unsafe.Pointer(x.Pointer()), ) @@ -12099,7 +12099,7 @@ func (x gen_NSEvent) Stage() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1526739-stagetransition?language=objc for details. func (x gen_NSEvent) StageTransition() core.CGFloat { - ret := C.NSEvent_inst_stageTransition( + ret := C.NSEvent_inst_StageTransition( unsafe.Pointer(x.Pointer()), ) @@ -12111,7 +12111,7 @@ func (x gen_NSEvent) StageTransition() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1534648-capabilitymask?language=objc for details. func (x gen_NSEvent) CapabilityMask() core.NSUInteger { - ret := C.NSEvent_inst_capabilityMask( + ret := C.NSEvent_inst_CapabilityMask( unsafe.Pointer(x.Pointer()), ) @@ -12123,7 +12123,7 @@ func (x gen_NSEvent) CapabilityMask() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1530014-deviceid?language=objc for details. func (x gen_NSEvent) DeviceID() core.NSUInteger { - ret := C.NSEvent_inst_deviceID( + ret := C.NSEvent_inst_DeviceID( unsafe.Pointer(x.Pointer()), ) @@ -12135,7 +12135,7 @@ func (x gen_NSEvent) DeviceID() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1531702-enteringproximity?language=objc for details. func (x gen_NSEvent) IsEnteringProximity() bool { - ret := C.NSEvent_inst_isEnteringProximity( + ret := C.NSEvent_inst_IsEnteringProximity( unsafe.Pointer(x.Pointer()), ) @@ -12147,7 +12147,7 @@ func (x gen_NSEvent) IsEnteringProximity() bool { // // See https://developer.apple.com/documentation/appkit/nsevent/1528818-pointingdeviceid?language=objc for details. func (x gen_NSEvent) PointingDeviceID() core.NSUInteger { - ret := C.NSEvent_inst_pointingDeviceID( + ret := C.NSEvent_inst_PointingDeviceID( unsafe.Pointer(x.Pointer()), ) @@ -12159,7 +12159,7 @@ func (x gen_NSEvent) PointingDeviceID() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1533420-pointingdeviceserialnumber?language=objc for details. func (x gen_NSEvent) PointingDeviceSerialNumber() core.NSUInteger { - ret := C.NSEvent_inst_pointingDeviceSerialNumber( + ret := C.NSEvent_inst_PointingDeviceSerialNumber( unsafe.Pointer(x.Pointer()), ) @@ -12171,7 +12171,7 @@ func (x gen_NSEvent) PointingDeviceSerialNumber() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1528299-systemtabletid?language=objc for details. func (x gen_NSEvent) SystemTabletID() core.NSUInteger { - ret := C.NSEvent_inst_systemTabletID( + ret := C.NSEvent_inst_SystemTabletID( unsafe.Pointer(x.Pointer()), ) @@ -12183,7 +12183,7 @@ func (x gen_NSEvent) SystemTabletID() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1527003-tabletid?language=objc for details. func (x gen_NSEvent) TabletID() core.NSUInteger { - ret := C.NSEvent_inst_tabletID( + ret := C.NSEvent_inst_TabletID( unsafe.Pointer(x.Pointer()), ) @@ -12195,7 +12195,7 @@ func (x gen_NSEvent) TabletID() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1525177-vendorid?language=objc for details. func (x gen_NSEvent) VendorID() core.NSUInteger { - ret := C.NSEvent_inst_vendorID( + ret := C.NSEvent_inst_VendorID( unsafe.Pointer(x.Pointer()), ) @@ -12207,7 +12207,7 @@ func (x gen_NSEvent) VendorID() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1527736-vendorpointingdevicetype?language=objc for details. func (x gen_NSEvent) VendorPointingDeviceType() core.NSUInteger { - ret := C.NSEvent_inst_vendorPointingDeviceType( + ret := C.NSEvent_inst_VendorPointingDeviceType( unsafe.Pointer(x.Pointer()), ) @@ -12219,7 +12219,7 @@ func (x gen_NSEvent) VendorPointingDeviceType() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1530617-absolutex?language=objc for details. func (x gen_NSEvent) AbsoluteX() core.NSInteger { - ret := C.NSEvent_inst_absoluteX( + ret := C.NSEvent_inst_AbsoluteX( unsafe.Pointer(x.Pointer()), ) @@ -12231,7 +12231,7 @@ func (x gen_NSEvent) AbsoluteX() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1528904-absolutey?language=objc for details. func (x gen_NSEvent) AbsoluteY() core.NSInteger { - ret := C.NSEvent_inst_absoluteY( + ret := C.NSEvent_inst_AbsoluteY( unsafe.Pointer(x.Pointer()), ) @@ -12243,7 +12243,7 @@ func (x gen_NSEvent) AbsoluteY() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1532154-absolutez?language=objc for details. func (x gen_NSEvent) AbsoluteZ() core.NSInteger { - ret := C.NSEvent_inst_absoluteZ( + ret := C.NSEvent_inst_AbsoluteZ( unsafe.Pointer(x.Pointer()), ) @@ -12255,7 +12255,7 @@ func (x gen_NSEvent) AbsoluteZ() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsevent/1534226-tilt?language=objc for details. func (x gen_NSEvent) Tilt() core.NSPoint { - ret := C.NSEvent_inst_tilt( + ret := C.NSEvent_inst_Tilt( unsafe.Pointer(x.Pointer()), ) @@ -12267,7 +12267,7 @@ func (x gen_NSEvent) Tilt() core.NSPoint { // // See https://developer.apple.com/documentation/appkit/nsevent/1530551-vendordefined?language=objc for details. func (x gen_NSEvent) VendorDefined() objc.Object { - ret := C.NSEvent_inst_vendorDefined( + ret := C.NSEvent_inst_VendorDefined( unsafe.Pointer(x.Pointer()), ) @@ -12279,7 +12279,7 @@ func (x gen_NSEvent) VendorDefined() objc.Object { // // See https://developer.apple.com/documentation/appkit/nsevent/1531642-magnification?language=objc for details. func (x gen_NSEvent) Magnification() core.CGFloat { - ret := C.NSEvent_inst_magnification( + ret := C.NSEvent_inst_Magnification( unsafe.Pointer(x.Pointer()), ) @@ -12291,7 +12291,7 @@ func (x gen_NSEvent) Magnification() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1525758-hasprecisescrollingdeltas?language=objc for details. func (x gen_NSEvent) HasPreciseScrollingDeltas() bool { - ret := C.NSEvent_inst_hasPreciseScrollingDeltas( + ret := C.NSEvent_inst_HasPreciseScrollingDeltas( unsafe.Pointer(x.Pointer()), ) @@ -12303,7 +12303,7 @@ func (x gen_NSEvent) HasPreciseScrollingDeltas() bool { // // See https://developer.apple.com/documentation/appkit/nsevent/1524505-scrollingdeltax?language=objc for details. func (x gen_NSEvent) ScrollingDeltaX() core.CGFloat { - ret := C.NSEvent_inst_scrollingDeltaX( + ret := C.NSEvent_inst_ScrollingDeltaX( unsafe.Pointer(x.Pointer()), ) @@ -12315,7 +12315,7 @@ func (x gen_NSEvent) ScrollingDeltaX() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1535387-scrollingdeltay?language=objc for details. func (x gen_NSEvent) ScrollingDeltaY() core.CGFloat { - ret := C.NSEvent_inst_scrollingDeltaY( + ret := C.NSEvent_inst_ScrollingDeltaY( unsafe.Pointer(x.Pointer()), ) @@ -12327,7 +12327,7 @@ func (x gen_NSEvent) ScrollingDeltaY() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsevent/1525151-directioninvertedfromdevice?language=objc for details. func (x gen_NSEvent) IsDirectionInvertedFromDevice() bool { - ret := C.NSEvent_inst_isDirectionInvertedFromDevice( + ret := C.NSEvent_inst_IsDirectionInvertedFromDevice( unsafe.Pointer(x.Pointer()), ) @@ -12360,7 +12360,7 @@ func NSFont_fromRef(ref objc.Ref) NSFont { func (x gen_NSFont) FontWithSize( fontSize core.CGFloat, ) NSFont { - ret := C.NSFont_inst_fontWithSize( + ret := C.NSFont_inst_FontWithSize( unsafe.Pointer(x.Pointer()), C.double(fontSize), ) @@ -12373,7 +12373,7 @@ func (x gen_NSFont) FontWithSize( // // See https://developer.apple.com/documentation/appkit/nsfont/1531373-set?language=objc for details. func (x gen_NSFont) Set() { - C.NSFont_inst_set( + C.NSFont_inst_Set( unsafe.Pointer(x.Pointer()), ) @@ -12385,7 +12385,7 @@ func (x gen_NSFont) Set() { // // See for details. func (x gen_NSFont) Init_asNSFont() NSFont { - ret := C.NSFont_inst_init( + ret := C.NSFont_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -12397,7 +12397,7 @@ func (x gen_NSFont) Init_asNSFont() NSFont { // // See https://developer.apple.com/documentation/appkit/nsfont/1524511-pointsize?language=objc for details. func (x gen_NSFont) PointSize() core.CGFloat { - ret := C.NSFont_inst_pointSize( + ret := C.NSFont_inst_PointSize( unsafe.Pointer(x.Pointer()), ) @@ -12409,7 +12409,7 @@ func (x gen_NSFont) PointSize() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsfont/1529210-fixedpitch?language=objc for details. func (x gen_NSFont) IsFixedPitch() bool { - ret := C.NSFont_inst_isFixedPitch( + ret := C.NSFont_inst_IsFixedPitch( unsafe.Pointer(x.Pointer()), ) @@ -12421,7 +12421,7 @@ func (x gen_NSFont) IsFixedPitch() bool { // // See https://developer.apple.com/documentation/appkit/nsfont/1527635-mostcompatiblestringencoding?language=objc for details. func (x gen_NSFont) MostCompatibleStringEncoding() core.NSStringEncoding { - ret := C.NSFont_inst_mostCompatibleStringEncoding( + ret := C.NSFont_inst_MostCompatibleStringEncoding( unsafe.Pointer(x.Pointer()), ) @@ -12433,7 +12433,7 @@ func (x gen_NSFont) MostCompatibleStringEncoding() core.NSStringEncoding { // // See https://developer.apple.com/documentation/appkit/nsfont/1533968-numberofglyphs?language=objc for details. func (x gen_NSFont) NumberOfGlyphs() core.NSUInteger { - ret := C.NSFont_inst_numberOfGlyphs( + ret := C.NSFont_inst_NumberOfGlyphs( unsafe.Pointer(x.Pointer()), ) @@ -12445,7 +12445,7 @@ func (x gen_NSFont) NumberOfGlyphs() core.NSUInteger { // // See https://developer.apple.com/documentation/appkit/nsfont/1531660-displayname?language=objc for details. func (x gen_NSFont) DisplayName() core.NSString { - ret := C.NSFont_inst_displayName( + ret := C.NSFont_inst_DisplayName( unsafe.Pointer(x.Pointer()), ) @@ -12457,7 +12457,7 @@ func (x gen_NSFont) DisplayName() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsfont/1529585-familyname?language=objc for details. func (x gen_NSFont) FamilyName() core.NSString { - ret := C.NSFont_inst_familyName( + ret := C.NSFont_inst_FamilyName( unsafe.Pointer(x.Pointer()), ) @@ -12469,7 +12469,7 @@ func (x gen_NSFont) FamilyName() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsfont/1526183-fontname?language=objc for details. func (x gen_NSFont) FontName() core.NSString { - ret := C.NSFont_inst_fontName( + ret := C.NSFont_inst_FontName( unsafe.Pointer(x.Pointer()), ) @@ -12481,7 +12481,7 @@ func (x gen_NSFont) FontName() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsfont/1534644-vertical?language=objc for details. func (x gen_NSFont) IsVertical() bool { - ret := C.NSFont_inst_isVertical( + ret := C.NSFont_inst_IsVertical( unsafe.Pointer(x.Pointer()), ) @@ -12493,7 +12493,7 @@ func (x gen_NSFont) IsVertical() bool { // // See https://developer.apple.com/documentation/appkit/nsfont/1535152-verticalfont?language=objc for details. func (x gen_NSFont) VerticalFont() NSFont { - ret := C.NSFont_inst_verticalFont( + ret := C.NSFont_inst_VerticalFont( unsafe.Pointer(x.Pointer()), ) @@ -12526,7 +12526,7 @@ func NSImage_fromRef(ref objc.Ref) NSImage { func (x gen_NSImage) AddRepresentations( imageReps core.NSArrayRef, ) { - C.NSImage_inst_addRepresentations( + C.NSImage_inst_AddRepresentations( unsafe.Pointer(x.Pointer()), objc.RefPointer(imageReps), ) @@ -12539,7 +12539,7 @@ func (x gen_NSImage) AddRepresentations( // // See https://developer.apple.com/documentation/appkit/nsimage/1520041-cancelincrementalload?language=objc for details. func (x gen_NSImage) CancelIncrementalLoad() { - C.NSImage_inst_cancelIncrementalLoad( + C.NSImage_inst_CancelIncrementalLoad( unsafe.Pointer(x.Pointer()), ) @@ -12553,7 +12553,7 @@ func (x gen_NSImage) CancelIncrementalLoad() { func (x gen_NSImage) DrawInRect( rect core.NSRect, ) { - C.NSImage_inst_drawInRect( + C.NSImage_inst_DrawInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -12568,7 +12568,7 @@ func (x gen_NSImage) DrawInRect( func (x gen_NSImage) InitByReferencingFile_asNSImage( fileName core.NSStringRef, ) NSImage { - ret := C.NSImage_inst_initByReferencingFile( + ret := C.NSImage_inst_InitByReferencingFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileName), ) @@ -12583,7 +12583,7 @@ func (x gen_NSImage) InitByReferencingFile_asNSImage( func (x gen_NSImage) InitByReferencingURL_asNSImage( url core.NSURLRef, ) NSImage { - ret := C.NSImage_inst_initByReferencingURL( + ret := C.NSImage_inst_InitByReferencingURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -12598,7 +12598,7 @@ func (x gen_NSImage) InitByReferencingURL_asNSImage( func (x gen_NSImage) InitWithContentsOfFile_asNSImage( fileName core.NSStringRef, ) NSImage { - ret := C.NSImage_inst_initWithContentsOfFile( + ret := C.NSImage_inst_InitWithContentsOfFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileName), ) @@ -12613,7 +12613,7 @@ func (x gen_NSImage) InitWithContentsOfFile_asNSImage( func (x gen_NSImage) InitWithContentsOfURL_asNSImage( url core.NSURLRef, ) NSImage { - ret := C.NSImage_inst_initWithContentsOfURL( + ret := C.NSImage_inst_InitWithContentsOfURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -12628,7 +12628,7 @@ func (x gen_NSImage) InitWithContentsOfURL_asNSImage( func (x gen_NSImage) InitWithData_asNSImage( data core.NSDataRef, ) NSImage { - ret := C.NSImage_inst_initWithData( + ret := C.NSImage_inst_InitWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -12643,7 +12643,7 @@ func (x gen_NSImage) InitWithData_asNSImage( func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( data core.NSDataRef, ) NSImage { - ret := C.NSImage_inst_initWithDataIgnoringOrientation( + ret := C.NSImage_inst_InitWithDataIgnoringOrientation( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -12658,7 +12658,7 @@ func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( func (x gen_NSImage) InitWithPasteboard_asNSImage( pasteboard NSPasteboardRef, ) NSImage { - ret := C.NSImage_inst_initWithPasteboard( + ret := C.NSImage_inst_InitWithPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteboard), ) @@ -12673,7 +12673,7 @@ func (x gen_NSImage) InitWithPasteboard_asNSImage( func (x gen_NSImage) InitWithSize_asNSImage( size core.NSSize, ) NSImage { - ret := C.NSImage_inst_initWithSize( + ret := C.NSImage_inst_InitWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -12686,7 +12686,7 @@ func (x gen_NSImage) InitWithSize_asNSImage( // // See https://developer.apple.com/documentation/appkit/nsimage/1807274-istemplate?language=objc for details. func (x gen_NSImage) IsTemplate() bool { - ret := C.NSImage_inst_isTemplate( + ret := C.NSImage_inst_IsTemplate( unsafe.Pointer(x.Pointer()), ) @@ -12700,7 +12700,7 @@ func (x gen_NSImage) IsTemplate() bool { func (x gen_NSImage) LayerContentsForContentsScale( layerContentsScale core.CGFloat, ) objc.Object { - ret := C.NSImage_inst_layerContentsForContentsScale( + ret := C.NSImage_inst_LayerContentsForContentsScale( unsafe.Pointer(x.Pointer()), C.double(layerContentsScale), ) @@ -12713,7 +12713,7 @@ func (x gen_NSImage) LayerContentsForContentsScale( // // See https://developer.apple.com/documentation/appkit/nsimage/1519891-lockfocus?language=objc for details. func (x gen_NSImage) LockFocus() { - C.NSImage_inst_lockFocus( + C.NSImage_inst_LockFocus( unsafe.Pointer(x.Pointer()), ) @@ -12727,7 +12727,7 @@ func (x gen_NSImage) LockFocus() { func (x gen_NSImage) LockFocusFlipped( flipped bool, ) { - C.NSImage_inst_lockFocusFlipped( + C.NSImage_inst_LockFocusFlipped( unsafe.Pointer(x.Pointer()), convertToObjCBool(flipped), ) @@ -12740,7 +12740,7 @@ func (x gen_NSImage) LockFocusFlipped( // // See https://developer.apple.com/documentation/appkit/nsimage/1519890-recache?language=objc for details. func (x gen_NSImage) Recache() { - C.NSImage_inst_recache( + C.NSImage_inst_Recache( unsafe.Pointer(x.Pointer()), ) @@ -12754,7 +12754,7 @@ func (x gen_NSImage) Recache() { func (x gen_NSImage) RecommendedLayerContentsScale( preferredContentsScale core.CGFloat, ) core.CGFloat { - ret := C.NSImage_inst_recommendedLayerContentsScale( + ret := C.NSImage_inst_RecommendedLayerContentsScale( unsafe.Pointer(x.Pointer()), C.double(preferredContentsScale), ) @@ -12767,7 +12767,7 @@ func (x gen_NSImage) RecommendedLayerContentsScale( // // See https://developer.apple.com/documentation/appkit/nsimage/1519853-unlockfocus?language=objc for details. func (x gen_NSImage) UnlockFocus() { - C.NSImage_inst_unlockFocus( + C.NSImage_inst_UnlockFocus( unsafe.Pointer(x.Pointer()), ) @@ -12779,7 +12779,7 @@ func (x gen_NSImage) UnlockFocus() { // // See for details. func (x gen_NSImage) Init_asNSImage() NSImage { - ret := C.NSImage_inst_init( + ret := C.NSImage_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -12791,7 +12791,7 @@ func (x gen_NSImage) Init_asNSImage() NSImage { // // See https://developer.apple.com/documentation/appkit/nsimage/1519926-delegate?language=objc for details. func (x gen_NSImage) Delegate() objc.Object { - ret := C.NSImage_inst_delegate( + ret := C.NSImage_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -12805,7 +12805,7 @@ func (x gen_NSImage) Delegate() objc.Object { func (x gen_NSImage) SetDelegate( value objc.Ref, ) { - C.NSImage_inst_setDelegate( + C.NSImage_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -12818,7 +12818,7 @@ func (x gen_NSImage) SetDelegate( // // See https://developer.apple.com/documentation/appkit/nsimage/1519987-size?language=objc for details. func (x gen_NSImage) Size() core.NSSize { - ret := C.NSImage_inst_size( + ret := C.NSImage_inst_Size( unsafe.Pointer(x.Pointer()), ) @@ -12832,7 +12832,7 @@ func (x gen_NSImage) Size() core.NSSize { func (x gen_NSImage) SetSize( value core.NSSize, ) { - C.NSImage_inst_setSize( + C.NSImage_inst_SetSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -12847,7 +12847,7 @@ func (x gen_NSImage) SetSize( func (x gen_NSImage) SetTemplate( value bool, ) { - C.NSImage_inst_setTemplate( + C.NSImage_inst_SetTemplate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12860,7 +12860,7 @@ func (x gen_NSImage) SetTemplate( // // See https://developer.apple.com/documentation/appkit/nsimage/1519858-representations?language=objc for details. func (x gen_NSImage) Representations() core.NSArray { - ret := C.NSImage_inst_representations( + ret := C.NSImage_inst_Representations( unsafe.Pointer(x.Pointer()), ) @@ -12872,7 +12872,7 @@ func (x gen_NSImage) Representations() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsimage/1520010-preferscolormatch?language=objc for details. func (x gen_NSImage) PrefersColorMatch() bool { - ret := C.NSImage_inst_prefersColorMatch( + ret := C.NSImage_inst_PrefersColorMatch( unsafe.Pointer(x.Pointer()), ) @@ -12886,7 +12886,7 @@ func (x gen_NSImage) PrefersColorMatch() bool { func (x gen_NSImage) SetPrefersColorMatch( value bool, ) { - C.NSImage_inst_setPrefersColorMatch( + C.NSImage_inst_SetPrefersColorMatch( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12899,7 +12899,7 @@ func (x gen_NSImage) SetPrefersColorMatch( // // See https://developer.apple.com/documentation/appkit/nsimage/1519868-usesepsonresolutionmismatch?language=objc for details. func (x gen_NSImage) UsesEPSOnResolutionMismatch() bool { - ret := C.NSImage_inst_usesEPSOnResolutionMismatch( + ret := C.NSImage_inst_UsesEPSOnResolutionMismatch( unsafe.Pointer(x.Pointer()), ) @@ -12913,7 +12913,7 @@ func (x gen_NSImage) UsesEPSOnResolutionMismatch() bool { func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( value bool, ) { - C.NSImage_inst_setUsesEPSOnResolutionMismatch( + C.NSImage_inst_SetUsesEPSOnResolutionMismatch( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12926,7 +12926,7 @@ func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( // // See https://developer.apple.com/documentation/appkit/nsimage/1519963-matchesonmultipleresolution?language=objc for details. func (x gen_NSImage) MatchesOnMultipleResolution() bool { - ret := C.NSImage_inst_matchesOnMultipleResolution( + ret := C.NSImage_inst_MatchesOnMultipleResolution( unsafe.Pointer(x.Pointer()), ) @@ -12940,7 +12940,7 @@ func (x gen_NSImage) MatchesOnMultipleResolution() bool { func (x gen_NSImage) SetMatchesOnMultipleResolution( value bool, ) { - C.NSImage_inst_setMatchesOnMultipleResolution( + C.NSImage_inst_SetMatchesOnMultipleResolution( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -12953,7 +12953,7 @@ func (x gen_NSImage) SetMatchesOnMultipleResolution( // // See https://developer.apple.com/documentation/appkit/nsimage/1519991-valid?language=objc for details. func (x gen_NSImage) IsValid() bool { - ret := C.NSImage_inst_isValid( + ret := C.NSImage_inst_IsValid( unsafe.Pointer(x.Pointer()), ) @@ -12965,7 +12965,7 @@ func (x gen_NSImage) IsValid() bool { // // See https://developer.apple.com/documentation/appkit/nsimage/1520059-backgroundcolor?language=objc for details. func (x gen_NSImage) BackgroundColor() NSColor { - ret := C.NSImage_inst_backgroundColor( + ret := C.NSImage_inst_BackgroundColor( unsafe.Pointer(x.Pointer()), ) @@ -12979,7 +12979,7 @@ func (x gen_NSImage) BackgroundColor() NSColor { func (x gen_NSImage) SetBackgroundColor( value NSColorRef, ) { - C.NSImage_inst_setBackgroundColor( + C.NSImage_inst_SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -12992,7 +12992,7 @@ func (x gen_NSImage) SetBackgroundColor( // // See https://developer.apple.com/documentation/appkit/nsimage/1519905-alignmentrect?language=objc for details. func (x gen_NSImage) AlignmentRect() core.NSRect { - ret := C.NSImage_inst_alignmentRect( + ret := C.NSImage_inst_AlignmentRect( unsafe.Pointer(x.Pointer()), ) @@ -13006,7 +13006,7 @@ func (x gen_NSImage) AlignmentRect() core.NSRect { func (x gen_NSImage) SetAlignmentRect( value core.NSRect, ) { - C.NSImage_inst_setAlignmentRect( + C.NSImage_inst_SetAlignmentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -13031,7 +13031,7 @@ func (x gen_NSImage) TIFFRepresentation() core.NSData { // // See https://developer.apple.com/documentation/appkit/nsimage/1519943-accessibilitydescription?language=objc for details. func (x gen_NSImage) AccessibilityDescription() core.NSString { - ret := C.NSImage_inst_accessibilityDescription( + ret := C.NSImage_inst_AccessibilityDescription( unsafe.Pointer(x.Pointer()), ) @@ -13045,7 +13045,7 @@ func (x gen_NSImage) AccessibilityDescription() core.NSString { func (x gen_NSImage) SetAccessibilityDescription( value core.NSStringRef, ) { - C.NSImage_inst_setAccessibilityDescription( + C.NSImage_inst_SetAccessibilityDescription( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13058,7 +13058,7 @@ func (x gen_NSImage) SetAccessibilityDescription( // // See https://developer.apple.com/documentation/appkit/nsimage/1519848-matchesonlyonbestfittingaxis?language=objc for details. func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() bool { - ret := C.NSImage_inst_matchesOnlyOnBestFittingAxis( + ret := C.NSImage_inst_MatchesOnlyOnBestFittingAxis( unsafe.Pointer(x.Pointer()), ) @@ -13072,7 +13072,7 @@ func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() bool { func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis( value bool, ) { - C.NSImage_inst_setMatchesOnlyOnBestFittingAxis( + C.NSImage_inst_SetMatchesOnlyOnBestFittingAxis( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13104,7 +13104,7 @@ func NSImageView_fromRef(ref objc.Ref) NSImageView { // // See for details. func (x gen_NSImageView) Init_asNSImageView() NSImageView { - ret := C.NSImageView_inst_init( + ret := C.NSImageView_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -13116,7 +13116,7 @@ func (x gen_NSImageView) Init_asNSImageView() NSImageView { // // See https://developer.apple.com/documentation/appkit/nsimageview/1404952-image?language=objc for details. func (x gen_NSImageView) Image() NSImage { - ret := C.NSImageView_inst_image( + ret := C.NSImageView_inst_Image( unsafe.Pointer(x.Pointer()), ) @@ -13130,7 +13130,7 @@ func (x gen_NSImageView) Image() NSImage { func (x gen_NSImageView) SetImage( value NSImageRef, ) { - C.NSImageView_inst_setImage( + C.NSImageView_inst_SetImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13143,7 +13143,7 @@ func (x gen_NSImageView) SetImage( // // See https://developer.apple.com/documentation/appkit/nsimageview/1404950-animates?language=objc for details. func (x gen_NSImageView) Animates() bool { - ret := C.NSImageView_inst_animates( + ret := C.NSImageView_inst_Animates( unsafe.Pointer(x.Pointer()), ) @@ -13157,7 +13157,7 @@ func (x gen_NSImageView) Animates() bool { func (x gen_NSImageView) SetAnimates( value bool, ) { - C.NSImageView_inst_setAnimates( + C.NSImageView_inst_SetAnimates( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13170,7 +13170,7 @@ func (x gen_NSImageView) SetAnimates( // // See https://developer.apple.com/documentation/appkit/nsimageview/1404954-editable?language=objc for details. func (x gen_NSImageView) IsEditable() bool { - ret := C.NSImageView_inst_isEditable( + ret := C.NSImageView_inst_IsEditable( unsafe.Pointer(x.Pointer()), ) @@ -13184,7 +13184,7 @@ func (x gen_NSImageView) IsEditable() bool { func (x gen_NSImageView) SetEditable( value bool, ) { - C.NSImageView_inst_setEditable( + C.NSImageView_inst_SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13197,7 +13197,7 @@ func (x gen_NSImageView) SetEditable( // // See https://developer.apple.com/documentation/appkit/nsimageview/1404961-allowscutcopypaste?language=objc for details. func (x gen_NSImageView) AllowsCutCopyPaste() bool { - ret := C.NSImageView_inst_allowsCutCopyPaste( + ret := C.NSImageView_inst_AllowsCutCopyPaste( unsafe.Pointer(x.Pointer()), ) @@ -13211,7 +13211,7 @@ func (x gen_NSImageView) AllowsCutCopyPaste() bool { func (x gen_NSImageView) SetAllowsCutCopyPaste( value bool, ) { - C.NSImageView_inst_setAllowsCutCopyPaste( + C.NSImageView_inst_SetAllowsCutCopyPaste( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13224,7 +13224,7 @@ func (x gen_NSImageView) SetAllowsCutCopyPaste( // // See https://developer.apple.com/documentation/appkit/nsimageview/3000783-contenttintcolor?language=objc for details. func (x gen_NSImageView) ContentTintColor() NSColor { - ret := C.NSImageView_inst_contentTintColor( + ret := C.NSImageView_inst_ContentTintColor( unsafe.Pointer(x.Pointer()), ) @@ -13238,7 +13238,7 @@ func (x gen_NSImageView) ContentTintColor() NSColor { func (x gen_NSImageView) SetContentTintColor( value NSColorRef, ) { - C.NSImageView_inst_setContentTintColor( + C.NSImageView_inst_SetContentTintColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13266,14 +13266,14 @@ func NSNib_fromRef(ref objc.Ref) NSNib { return NSNib_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithNibData_bundle initializes an instance with nib data and specified bundle for locating resources. +// InitWithNibDataBundle initializes an instance with nib data and specified bundle for locating resources. // // See https://developer.apple.com/documentation/appkit/nsnib/1535865-initwithnibdata?language=objc for details. -func (x gen_NSNib) InitWithNibData_bundle_asNSNib( +func (x gen_NSNib) InitWithNibDataBundle_asNSNib( nibData core.NSDataRef, bundle NSBundleRef, ) NSNib { - ret := C.NSNib_inst_initWithNibData_bundle( + ret := C.NSNib_inst_InitWithNibDataBundle( unsafe.Pointer(x.Pointer()), objc.RefPointer(nibData), objc.RefPointer(bundle), @@ -13283,14 +13283,14 @@ func (x gen_NSNib) InitWithNibData_bundle_asNSNib( } -// InstantiateWithOwner_topLevelObjects instantiates objects in the nib file with the specified owner. +// InstantiateWithOwnerTopLevelObjects instantiates objects in the nib file with the specified owner. // // See https://developer.apple.com/documentation/appkit/nsnib/1527173-instantiatewithowner?language=objc for details. -func (x gen_NSNib) InstantiateWithOwner_topLevelObjects( +func (x gen_NSNib) InstantiateWithOwnerTopLevelObjects( owner objc.Ref, topLevelObjects core.NSArrayRef, ) bool { - ret := C.NSNib_inst_instantiateWithOwner_topLevelObjects( + ret := C.NSNib_inst_InstantiateWithOwnerTopLevelObjects( unsafe.Pointer(x.Pointer()), objc.RefPointer(owner), objc.RefPointer(topLevelObjects), @@ -13304,7 +13304,7 @@ func (x gen_NSNib) InstantiateWithOwner_topLevelObjects( // // See for details. func (x gen_NSNib) Init_asNSNib() NSNib { - ret := C.NSNib_inst_init( + ret := C.NSNib_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -13331,14 +13331,14 @@ func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard { return NSPasteboard_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddTypes_owner adds promises for the specified types to the first pasteboard item. +// AddTypesOwner adds promises for the specified types to the first pasteboard item. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1533580-addtypes?language=objc for details. -func (x gen_NSPasteboard) AddTypes_owner( +func (x gen_NSPasteboard) AddTypesOwner( newTypes core.NSArrayRef, newOwner objc.Ref, ) core.NSInteger { - ret := C.NSPasteboard_inst_addTypes_owner( + ret := C.NSPasteboard_inst_AddTypesOwner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), @@ -13354,7 +13354,7 @@ func (x gen_NSPasteboard) AddTypes_owner( func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( types core.NSArrayRef, ) bool { - ret := C.NSPasteboard_inst_canReadItemWithDataConformingToTypes( + ret := C.NSPasteboard_inst_CanReadItemWithDataConformingToTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(types), ) @@ -13363,14 +13363,14 @@ func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( } -// CanReadObjectForClasses_options returns a boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. +// CanReadObjectForClassesOptions returns a boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1533360-canreadobjectforclasses?language=objc for details. -func (x gen_NSPasteboard) CanReadObjectForClasses_options( +func (x gen_NSPasteboard) CanReadObjectForClassesOptions( classArray core.NSArrayRef, options core.NSDictionaryRef, ) bool { - ret := C.NSPasteboard_inst_canReadObjectForClasses_options( + ret := C.NSPasteboard_inst_CanReadObjectForClassesOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(classArray), objc.RefPointer(options), @@ -13384,7 +13384,7 @@ func (x gen_NSPasteboard) CanReadObjectForClasses_options( // // See https://developer.apple.com/documentation/appkit/nspasteboard/1533599-clearcontents?language=objc for details. func (x gen_NSPasteboard) ClearContents() core.NSInteger { - ret := C.NSPasteboard_inst_clearContents( + ret := C.NSPasteboard_inst_ClearContents( unsafe.Pointer(x.Pointer()), ) @@ -13392,14 +13392,14 @@ func (x gen_NSPasteboard) ClearContents() core.NSInteger { } -// DeclareTypes_owner prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. +// DeclareTypesOwner prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1533561-declaretypes?language=objc for details. -func (x gen_NSPasteboard) DeclareTypes_owner( +func (x gen_NSPasteboard) DeclareTypesOwner( newTypes core.NSArrayRef, newOwner objc.Ref, ) core.NSInteger { - ret := C.NSPasteboard_inst_declareTypes_owner( + ret := C.NSPasteboard_inst_DeclareTypesOwner( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), objc.RefPointer(newOwner), @@ -13409,14 +13409,14 @@ func (x gen_NSPasteboard) DeclareTypes_owner( } -// ReadObjectsForClasses_options reads from the receiver objects that best match the specified array of classes. +// ReadObjectsForClassesOptions reads from the receiver objects that best match the specified array of classes. // // See https://developer.apple.com/documentation/appkit/nspasteboard/1524454-readobjectsforclasses?language=objc for details. -func (x gen_NSPasteboard) ReadObjectsForClasses_options( +func (x gen_NSPasteboard) ReadObjectsForClassesOptions( classArray core.NSArrayRef, options core.NSDictionaryRef, ) core.NSArray { - ret := C.NSPasteboard_inst_readObjectsForClasses_options( + ret := C.NSPasteboard_inst_ReadObjectsForClassesOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(classArray), objc.RefPointer(options), @@ -13430,7 +13430,7 @@ func (x gen_NSPasteboard) ReadObjectsForClasses_options( // // See https://developer.apple.com/documentation/appkit/nspasteboard/1527044-releaseglobally?language=objc for details. func (x gen_NSPasteboard) ReleaseGlobally() { - C.NSPasteboard_inst_releaseGlobally( + C.NSPasteboard_inst_ReleaseGlobally( unsafe.Pointer(x.Pointer()), ) @@ -13444,7 +13444,7 @@ func (x gen_NSPasteboard) ReleaseGlobally() { func (x gen_NSPasteboard) WriteFileContents( filename core.NSStringRef, ) bool { - ret := C.NSPasteboard_inst_writeFileContents( + ret := C.NSPasteboard_inst_WriteFileContents( unsafe.Pointer(x.Pointer()), objc.RefPointer(filename), ) @@ -13459,7 +13459,7 @@ func (x gen_NSPasteboard) WriteFileContents( func (x gen_NSPasteboard) WriteObjects( objects core.NSArrayRef, ) bool { - ret := C.NSPasteboard_inst_writeObjects( + ret := C.NSPasteboard_inst_WriteObjects( unsafe.Pointer(x.Pointer()), objc.RefPointer(objects), ) @@ -13472,7 +13472,7 @@ func (x gen_NSPasteboard) WriteObjects( // // See for details. func (x gen_NSPasteboard) Init_asNSPasteboard() NSPasteboard { - ret := C.NSPasteboard_inst_init( + ret := C.NSPasteboard_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -13484,7 +13484,7 @@ func (x gen_NSPasteboard) Init_asNSPasteboard() NSPasteboard { // // See https://developer.apple.com/documentation/appkit/nspasteboard/1529995-pasteboarditems?language=objc for details. func (x gen_NSPasteboard) PasteboardItems() core.NSArray { - ret := C.NSPasteboard_inst_pasteboardItems( + ret := C.NSPasteboard_inst_PasteboardItems( unsafe.Pointer(x.Pointer()), ) @@ -13496,7 +13496,7 @@ func (x gen_NSPasteboard) PasteboardItems() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nspasteboard/1529599-types?language=objc for details. func (x gen_NSPasteboard) Types() core.NSArray { - ret := C.NSPasteboard_inst_types( + ret := C.NSPasteboard_inst_Types( unsafe.Pointer(x.Pointer()), ) @@ -13508,7 +13508,7 @@ func (x gen_NSPasteboard) Types() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nspasteboard/1533544-changecount?language=objc for details. func (x gen_NSPasteboard) ChangeCount() core.NSInteger { - ret := C.NSPasteboard_inst_changeCount( + ret := C.NSPasteboard_inst_ChangeCount( unsafe.Pointer(x.Pointer()), ) @@ -13541,7 +13541,7 @@ func NSLayoutManager_fromRef(ref objc.Ref) NSLayoutManager { func (x gen_NSLayoutManager) AddTextContainer( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_addTextContainer( + C.NSLayoutManager_inst_AddTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) @@ -13556,7 +13556,7 @@ func (x gen_NSLayoutManager) AddTextContainer( func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( glyphIndex core.NSUInteger, ) core.NSSize { - ret := C.NSLayoutManager_inst_attachmentSizeForGlyphAtIndex( + ret := C.NSLayoutManager_inst_AttachmentSizeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -13571,7 +13571,7 @@ func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( glyphIndex core.NSUInteger, ) core.NSUInteger { - ret := C.NSLayoutManager_inst_characterIndexForGlyphAtIndex( + ret := C.NSLayoutManager_inst_CharacterIndexForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -13586,7 +13586,7 @@ func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( theFont NSFontRef, ) core.CGFloat { - ret := C.NSLayoutManager_inst_defaultBaselineOffsetForFont( + ret := C.NSLayoutManager_inst_DefaultBaselineOffsetForFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(theFont), ) @@ -13601,7 +13601,7 @@ func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( func (x gen_NSLayoutManager) DefaultLineHeightForFont( theFont NSFontRef, ) core.CGFloat { - ret := C.NSLayoutManager_inst_defaultLineHeightForFont( + ret := C.NSLayoutManager_inst_DefaultLineHeightForFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(theFont), ) @@ -13616,7 +13616,7 @@ func (x gen_NSLayoutManager) DefaultLineHeightForFont( func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( glyphIndex core.NSUInteger, ) bool { - ret := C.NSLayoutManager_inst_drawsOutsideLineFragmentForGlyphAtIndex( + ret := C.NSLayoutManager_inst_DrawsOutsideLineFragmentForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -13625,14 +13625,14 @@ func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( } -// EnsureLayoutForBoundingRect_inTextContainer forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. +// EnsureLayoutForBoundingRectInTextContainer forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402962-ensurelayoutforboundingrect?language=objc for details. -func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( +func (x gen_NSLayoutManager) EnsureLayoutForBoundingRectInTextContainer( bounds core.NSRect, container NSTextContainerRef, ) { - C.NSLayoutManager_inst_ensureLayoutForBoundingRect_inTextContainer( + C.NSLayoutManager_inst_EnsureLayoutForBoundingRectInTextContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&bounds)), objc.RefPointer(container), @@ -13648,7 +13648,7 @@ func (x gen_NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer( func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_ensureLayoutForTextContainer( + C.NSLayoutManager_inst_EnsureLayoutForTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) @@ -13661,7 +13661,7 @@ func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403067-firstunlaidcharacterindex?language=objc for details. func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() core.NSUInteger { - ret := C.NSLayoutManager_inst_firstUnlaidCharacterIndex( + ret := C.NSLayoutManager_inst_FirstUnlaidCharacterIndex( unsafe.Pointer(x.Pointer()), ) @@ -13673,7 +13673,7 @@ func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() core.NSUInteger { // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403245-firstunlaidglyphindex?language=objc for details. func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() core.NSUInteger { - ret := C.NSLayoutManager_inst_firstUnlaidGlyphIndex( + ret := C.NSLayoutManager_inst_FirstUnlaidGlyphIndex( unsafe.Pointer(x.Pointer()), ) @@ -13687,7 +13687,7 @@ func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() core.NSUInteger { func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( charIndex core.NSUInteger, ) core.NSUInteger { - ret := C.NSLayoutManager_inst_glyphIndexForCharacterAtIndex( + ret := C.NSLayoutManager_inst_GlyphIndexForCharacterAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(charIndex), ) @@ -13700,7 +13700,7 @@ func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402975-init?language=objc for details. func (x gen_NSLayoutManager) Init_asNSLayoutManager() NSLayoutManager { - ret := C.NSLayoutManager_inst_init( + ret := C.NSLayoutManager_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -13708,14 +13708,14 @@ func (x gen_NSLayoutManager) Init_asNSLayoutManager() NSLayoutManager { } -// InsertTextContainer_atIndex inserts a text container at the specified index in the list of text containers. +// InsertTextContainerAtIndex inserts a text container at the specified index in the list of text containers. // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403010-inserttextcontainer?language=objc for details. -func (x gen_NSLayoutManager) InsertTextContainer_atIndex( +func (x gen_NSLayoutManager) InsertTextContainerAtIndex( container NSTextContainerRef, index core.NSUInteger, ) { - C.NSLayoutManager_inst_insertTextContainer_atIndex( + C.NSLayoutManager_inst_InsertTextContainerAtIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), C.ulong(index), @@ -13731,7 +13731,7 @@ func (x gen_NSLayoutManager) InsertTextContainer_atIndex( func (x gen_NSLayoutManager) IsValidGlyphIndex( glyphIndex core.NSUInteger, ) bool { - ret := C.NSLayoutManager_inst_isValidGlyphIndex( + ret := C.NSLayoutManager_inst_IsValidGlyphIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -13746,7 +13746,7 @@ func (x gen_NSLayoutManager) IsValidGlyphIndex( func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( window NSWindowRef, ) bool { - ret := C.NSLayoutManager_inst_layoutManagerOwnsFirstResponderInWindow( + ret := C.NSLayoutManager_inst_LayoutManagerOwnsFirstResponderInWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(window), ) @@ -13761,7 +13761,7 @@ func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( glyphIndex core.NSUInteger, ) bool { - ret := C.NSLayoutManager_inst_notShownAttributeForGlyphAtIndex( + ret := C.NSLayoutManager_inst_NotShownAttributeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(glyphIndex), ) @@ -13776,7 +13776,7 @@ func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( index core.NSUInteger, ) { - C.NSLayoutManager_inst_removeTextContainerAtIndex( + C.NSLayoutManager_inst_RemoveTextContainerAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(index), ) @@ -13785,14 +13785,14 @@ func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( } -// SetDrawsOutsideLineFragment_forGlyphAtIndex indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. +// SetDrawsOutsideLineFragmentForGlyphAtIndex indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402964-setdrawsoutsidelinefragment?language=objc for details. -func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( +func (x gen_NSLayoutManager) SetDrawsOutsideLineFragmentForGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, ) { - C.NSLayoutManager_inst_setDrawsOutsideLineFragment_forGlyphAtIndex( + C.NSLayoutManager_inst_SetDrawsOutsideLineFragmentForGlyphAtIndex( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), C.ulong(glyphIndex), @@ -13802,15 +13802,15 @@ func (x gen_NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex( } -// SetExtraLineFragmentRect_usedRect_textContainer sets the bounds and container for the extra line fragment. +// SetExtraLineFragmentRectUsedRectTextContainer sets the bounds and container for the extra line fragment. // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403071-setextralinefragmentrect?language=objc for details. -func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( +func (x gen_NSLayoutManager) SetExtraLineFragmentRectUsedRectTextContainer( fragmentRect core.NSRect, usedRect core.NSRect, container NSTextContainerRef, ) { - C.NSLayoutManager_inst_setExtraLineFragmentRect_usedRect_textContainer( + C.NSLayoutManager_inst_SetExtraLineFragmentRectUsedRectTextContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&fragmentRect)), *(*C.NSRect)(unsafe.Pointer(&usedRect)), @@ -13821,14 +13821,14 @@ func (x gen_NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer( } -// SetNotShownAttribute_forGlyphAtIndex sets the visibility of the glyph at the specified index. +// SetNotShownAttributeForGlyphAtIndex sets the visibility of the glyph at the specified index. // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403078-setnotshownattribute?language=objc for details. -func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( +func (x gen_NSLayoutManager) SetNotShownAttributeForGlyphAtIndex( flag bool, glyphIndex core.NSUInteger, ) { - C.NSLayoutManager_inst_setNotShownAttribute_forGlyphAtIndex( + C.NSLayoutManager_inst_SetNotShownAttributeForGlyphAtIndex( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), C.ulong(glyphIndex), @@ -13844,7 +13844,7 @@ func (x gen_NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex( func (x gen_NSLayoutManager) TextContainerChangedGeometry( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_textContainerChangedGeometry( + C.NSLayoutManager_inst_TextContainerChangedGeometry( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) @@ -13859,7 +13859,7 @@ func (x gen_NSLayoutManager) TextContainerChangedGeometry( func (x gen_NSLayoutManager) TextContainerChangedTextView( container NSTextContainerRef, ) { - C.NSLayoutManager_inst_textContainerChangedTextView( + C.NSLayoutManager_inst_TextContainerChangedTextView( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) @@ -13874,7 +13874,7 @@ func (x gen_NSLayoutManager) TextContainerChangedTextView( func (x gen_NSLayoutManager) UsedRectForTextContainer( container NSTextContainerRef, ) core.NSRect { - ret := C.NSLayoutManager_inst_usedRectForTextContainer( + ret := C.NSLayoutManager_inst_UsedRectForTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(container), ) @@ -13887,7 +13887,7 @@ func (x gen_NSLayoutManager) UsedRectForTextContainer( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402920-delegate?language=objc for details. func (x gen_NSLayoutManager) Delegate() objc.Object { - ret := C.NSLayoutManager_inst_delegate( + ret := C.NSLayoutManager_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -13901,7 +13901,7 @@ func (x gen_NSLayoutManager) Delegate() objc.Object { func (x gen_NSLayoutManager) SetDelegate( value objc.Ref, ) { - C.NSLayoutManager_inst_setDelegate( + C.NSLayoutManager_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -13914,7 +13914,7 @@ func (x gen_NSLayoutManager) SetDelegate( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403197-allowsnoncontiguouslayout?language=objc for details. func (x gen_NSLayoutManager) AllowsNonContiguousLayout() bool { - ret := C.NSLayoutManager_inst_allowsNonContiguousLayout( + ret := C.NSLayoutManager_inst_AllowsNonContiguousLayout( unsafe.Pointer(x.Pointer()), ) @@ -13928,7 +13928,7 @@ func (x gen_NSLayoutManager) AllowsNonContiguousLayout() bool { func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( value bool, ) { - C.NSLayoutManager_inst_setAllowsNonContiguousLayout( + C.NSLayoutManager_inst_SetAllowsNonContiguousLayout( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13941,7 +13941,7 @@ func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403207-hasnoncontiguouslayout?language=objc for details. func (x gen_NSLayoutManager) HasNonContiguousLayout() bool { - ret := C.NSLayoutManager_inst_hasNonContiguousLayout( + ret := C.NSLayoutManager_inst_HasNonContiguousLayout( unsafe.Pointer(x.Pointer()), ) @@ -13953,7 +13953,7 @@ func (x gen_NSLayoutManager) HasNonContiguousLayout() bool { // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403254-showsinvisiblecharacters?language=objc for details. func (x gen_NSLayoutManager) ShowsInvisibleCharacters() bool { - ret := C.NSLayoutManager_inst_showsInvisibleCharacters( + ret := C.NSLayoutManager_inst_ShowsInvisibleCharacters( unsafe.Pointer(x.Pointer()), ) @@ -13967,7 +13967,7 @@ func (x gen_NSLayoutManager) ShowsInvisibleCharacters() bool { func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( value bool, ) { - C.NSLayoutManager_inst_setShowsInvisibleCharacters( + C.NSLayoutManager_inst_SetShowsInvisibleCharacters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -13980,7 +13980,7 @@ func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402912-showscontrolcharacters?language=objc for details. func (x gen_NSLayoutManager) ShowsControlCharacters() bool { - ret := C.NSLayoutManager_inst_showsControlCharacters( + ret := C.NSLayoutManager_inst_ShowsControlCharacters( unsafe.Pointer(x.Pointer()), ) @@ -13994,7 +13994,7 @@ func (x gen_NSLayoutManager) ShowsControlCharacters() bool { func (x gen_NSLayoutManager) SetShowsControlCharacters( value bool, ) { - C.NSLayoutManager_inst_setShowsControlCharacters( + C.NSLayoutManager_inst_SetShowsControlCharacters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14007,7 +14007,7 @@ func (x gen_NSLayoutManager) SetShowsControlCharacters( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403156-usesfontleading?language=objc for details. func (x gen_NSLayoutManager) UsesFontLeading() bool { - ret := C.NSLayoutManager_inst_usesFontLeading( + ret := C.NSLayoutManager_inst_UsesFontLeading( unsafe.Pointer(x.Pointer()), ) @@ -14021,7 +14021,7 @@ func (x gen_NSLayoutManager) UsesFontLeading() bool { func (x gen_NSLayoutManager) SetUsesFontLeading( value bool, ) { - C.NSLayoutManager_inst_setUsesFontLeading( + C.NSLayoutManager_inst_SetUsesFontLeading( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14034,7 +14034,7 @@ func (x gen_NSLayoutManager) SetUsesFontLeading( // // See https://developer.apple.com/documentation/appkit/nslayoutmanager/1402952-backgroundlayoutenabled?language=objc for details. func (x gen_NSLayoutManager) BackgroundLayoutEnabled() bool { - ret := C.NSLayoutManager_inst_backgroundLayoutEnabled( + ret := C.NSLayoutManager_inst_BackgroundLayoutEnabled( unsafe.Pointer(x.Pointer()), ) @@ -14048,7 +14048,7 @@ func (x gen_NSLayoutManager) BackgroundLayoutEnabled() bool { func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( value bool, ) { - C.NSLayoutManager_inst_setBackgroundLayoutEnabled( + C.NSLayoutManager_inst_SetBackgroundLayoutEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14061,7 +14061,7 @@ func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/3021179-limitslayoutforsuspiciouscontent?language=objc for details. func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() bool { - ret := C.NSLayoutManager_inst_limitsLayoutForSuspiciousContents( + ret := C.NSLayoutManager_inst_LimitsLayoutForSuspiciousContents( unsafe.Pointer(x.Pointer()), ) @@ -14075,7 +14075,7 @@ func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() bool { func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( value bool, ) { - C.NSLayoutManager_inst_setLimitsLayoutForSuspiciousContents( + C.NSLayoutManager_inst_SetLimitsLayoutForSuspiciousContents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14088,7 +14088,7 @@ func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/3180380-usesdefaulthyphenation?language=objc for details. func (x gen_NSLayoutManager) UsesDefaultHyphenation() bool { - ret := C.NSLayoutManager_inst_usesDefaultHyphenation( + ret := C.NSLayoutManager_inst_UsesDefaultHyphenation( unsafe.Pointer(x.Pointer()), ) @@ -14102,7 +14102,7 @@ func (x gen_NSLayoutManager) UsesDefaultHyphenation() bool { func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( value bool, ) { - C.NSLayoutManager_inst_setUsesDefaultHyphenation( + C.NSLayoutManager_inst_SetUsesDefaultHyphenation( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14115,7 +14115,7 @@ func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403144-textcontainers?language=objc for details. func (x gen_NSLayoutManager) TextContainers() core.NSArray { - ret := C.NSLayoutManager_inst_textContainers( + ret := C.NSLayoutManager_inst_TextContainers( unsafe.Pointer(x.Pointer()), ) @@ -14127,7 +14127,7 @@ func (x gen_NSLayoutManager) TextContainers() core.NSArray { // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402937-numberofglyphs?language=objc for details. func (x gen_NSLayoutManager) NumberOfGlyphs() core.NSUInteger { - ret := C.NSLayoutManager_inst_numberOfGlyphs( + ret := C.NSLayoutManager_inst_NumberOfGlyphs( unsafe.Pointer(x.Pointer()), ) @@ -14139,7 +14139,7 @@ func (x gen_NSLayoutManager) NumberOfGlyphs() core.NSUInteger { // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403175-extralinefragmentrect?language=objc for details. func (x gen_NSLayoutManager) ExtraLineFragmentRect() core.NSRect { - ret := C.NSLayoutManager_inst_extraLineFragmentRect( + ret := C.NSLayoutManager_inst_ExtraLineFragmentRect( unsafe.Pointer(x.Pointer()), ) @@ -14151,7 +14151,7 @@ func (x gen_NSLayoutManager) ExtraLineFragmentRect() core.NSRect { // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1403165-extralinefragmenttextcontainer?language=objc for details. func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() NSTextContainer { - ret := C.NSLayoutManager_inst_extraLineFragmentTextContainer( + ret := C.NSLayoutManager_inst_ExtraLineFragmentTextContainer( unsafe.Pointer(x.Pointer()), ) @@ -14163,7 +14163,7 @@ func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() NSTextContainer { // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402988-extralinefragmentusedrect?language=objc for details. func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() core.NSRect { - ret := C.NSLayoutManager_inst_extraLineFragmentUsedRect( + ret := C.NSLayoutManager_inst_ExtraLineFragmentUsedRect( unsafe.Pointer(x.Pointer()), ) @@ -14175,7 +14175,7 @@ func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nslayoutmanager/1402995-firsttextview?language=objc for details. func (x gen_NSLayoutManager) FirstTextView() NSTextView { - ret := C.NSLayoutManager_inst_firstTextView( + ret := C.NSLayoutManager_inst_FirstTextView( unsafe.Pointer(x.Pointer()), ) @@ -14187,7 +14187,7 @@ func (x gen_NSLayoutManager) FirstTextView() NSTextView { // // See https://developer.apple.com/documentation/appkit/nslayoutmanager/1403089-textviewforbeginningofselection?language=objc for details. func (x gen_NSLayoutManager) TextViewForBeginningOfSelection() NSTextView { - ret := C.NSLayoutManager_inst_textViewForBeginningOfSelection( + ret := C.NSLayoutManager_inst_TextViewForBeginningOfSelection( unsafe.Pointer(x.Pointer()), ) @@ -14220,7 +14220,7 @@ func NSMenu_fromRef(ref objc.Ref) NSMenu { func (x gen_NSMenu) AddItem( newItem NSMenuItemRef, ) { - C.NSMenu_inst_addItem( + C.NSMenu_inst_AddItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(newItem), ) @@ -14229,15 +14229,15 @@ func (x gen_NSMenu) AddItem( } -// AddItemWithTitle_action_keyEquivalent creates a new menu item and adds it to the end of the menu. +// AddItemWithTitleActionKeyEquivalent creates a new menu item and adds it to the end of the menu. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518181-additemwithtitle?language=objc for details. -func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( +func (x gen_NSMenu) AddItemWithTitleActionKeyEquivalent( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, ) NSMenuItem { - ret := C.NSMenu_inst_addItemWithTitle_action_keyEquivalent( + ret := C.NSMenu_inst_AddItemWithTitleActionKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), @@ -14252,7 +14252,7 @@ func (x gen_NSMenu) AddItemWithTitle_action_keyEquivalent( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518150-canceltracking?language=objc for details. func (x gen_NSMenu) CancelTracking() { - C.NSMenu_inst_cancelTracking( + C.NSMenu_inst_CancelTracking( unsafe.Pointer(x.Pointer()), ) @@ -14264,7 +14264,7 @@ func (x gen_NSMenu) CancelTracking() { // // See https://developer.apple.com/documentation/appkit/nsmenu/1518244-canceltrackingwithoutanimation?language=objc for details. func (x gen_NSMenu) CancelTrackingWithoutAnimation() { - C.NSMenu_inst_cancelTrackingWithoutAnimation( + C.NSMenu_inst_CancelTrackingWithoutAnimation( unsafe.Pointer(x.Pointer()), ) @@ -14278,7 +14278,7 @@ func (x gen_NSMenu) CancelTrackingWithoutAnimation() { func (x gen_NSMenu) IndexOfItem( item NSMenuItemRef, ) core.NSInteger { - ret := C.NSMenu_inst_indexOfItem( + ret := C.NSMenu_inst_IndexOfItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -14293,7 +14293,7 @@ func (x gen_NSMenu) IndexOfItem( func (x gen_NSMenu) IndexOfItemWithRepresentedObject( object objc.Ref, ) core.NSInteger { - ret := C.NSMenu_inst_indexOfItemWithRepresentedObject( + ret := C.NSMenu_inst_IndexOfItemWithRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(object), ) @@ -14308,7 +14308,7 @@ func (x gen_NSMenu) IndexOfItemWithRepresentedObject( func (x gen_NSMenu) IndexOfItemWithSubmenu( submenu NSMenuRef, ) core.NSInteger { - ret := C.NSMenu_inst_indexOfItemWithSubmenu( + ret := C.NSMenu_inst_IndexOfItemWithSubmenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(submenu), ) @@ -14323,7 +14323,7 @@ func (x gen_NSMenu) IndexOfItemWithSubmenu( func (x gen_NSMenu) IndexOfItemWithTag( tag core.NSInteger, ) core.NSInteger { - ret := C.NSMenu_inst_indexOfItemWithTag( + ret := C.NSMenu_inst_IndexOfItemWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) @@ -14332,14 +14332,14 @@ func (x gen_NSMenu) IndexOfItemWithTag( } -// IndexOfItemWithTarget_andAction returns the index of the first menu item in the menu that has a specified action and target. +// IndexOfItemWithTargetAndAction returns the index of the first menu item in the menu that has a specified action and target. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518153-indexofitemwithtarget?language=objc for details. -func (x gen_NSMenu) IndexOfItemWithTarget_andAction( +func (x gen_NSMenu) IndexOfItemWithTargetAndAction( target objc.Ref, actionSelector objc.Selector, ) core.NSInteger { - ret := C.NSMenu_inst_indexOfItemWithTarget_andAction( + ret := C.NSMenu_inst_IndexOfItemWithTargetAndAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), actionSelector.SelectorAddress(), @@ -14355,7 +14355,7 @@ func (x gen_NSMenu) IndexOfItemWithTarget_andAction( func (x gen_NSMenu) IndexOfItemWithTitle( title core.NSStringRef, ) core.NSInteger { - ret := C.NSMenu_inst_indexOfItemWithTitle( + ret := C.NSMenu_inst_IndexOfItemWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) @@ -14370,7 +14370,7 @@ func (x gen_NSMenu) IndexOfItemWithTitle( func (x gen_NSMenu) InitWithTitle_asNSMenu( title core.NSStringRef, ) NSMenu { - ret := C.NSMenu_inst_initWithTitle( + ret := C.NSMenu_inst_InitWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) @@ -14379,14 +14379,14 @@ func (x gen_NSMenu) InitWithTitle_asNSMenu( } -// InsertItem_atIndex inserts a menu item into the menu at a specific location. +// InsertItemAtIndex inserts a menu item into the menu at a specific location. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518201-insertitem?language=objc for details. -func (x gen_NSMenu) InsertItem_atIndex( +func (x gen_NSMenu) InsertItemAtIndex( newItem NSMenuItemRef, index core.NSInteger, ) { - C.NSMenu_inst_insertItem_atIndex( + C.NSMenu_inst_InsertItemAtIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(newItem), C.long(index), @@ -14396,16 +14396,16 @@ func (x gen_NSMenu) InsertItem_atIndex( } -// InsertItemWithTitle_action_keyEquivalent_atIndex creates and adds a menu item at a specified location in the menu. +// InsertItemWithTitleActionKeyEquivalentAtIndex creates and adds a menu item at a specified location in the menu. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518146-insertitemwithtitle?language=objc for details. -func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( +func (x gen_NSMenu) InsertItemWithTitleActionKeyEquivalentAtIndex( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, index core.NSInteger, ) NSMenuItem { - ret := C.NSMenu_inst_insertItemWithTitle_action_keyEquivalent_atIndex( + ret := C.NSMenu_inst_InsertItemWithTitleActionKeyEquivalentAtIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), @@ -14423,7 +14423,7 @@ func (x gen_NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex( func (x gen_NSMenu) ItemAtIndex( index core.NSInteger, ) NSMenuItem { - ret := C.NSMenu_inst_itemAtIndex( + ret := C.NSMenu_inst_ItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -14438,7 +14438,7 @@ func (x gen_NSMenu) ItemAtIndex( func (x gen_NSMenu) ItemChanged( item NSMenuItemRef, ) { - C.NSMenu_inst_itemChanged( + C.NSMenu_inst_ItemChanged( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -14453,7 +14453,7 @@ func (x gen_NSMenu) ItemChanged( func (x gen_NSMenu) ItemWithTag( tag core.NSInteger, ) NSMenuItem { - ret := C.NSMenu_inst_itemWithTag( + ret := C.NSMenu_inst_ItemWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) @@ -14468,7 +14468,7 @@ func (x gen_NSMenu) ItemWithTag( func (x gen_NSMenu) ItemWithTitle( title core.NSStringRef, ) NSMenuItem { - ret := C.NSMenu_inst_itemWithTitle( + ret := C.NSMenu_inst_ItemWithTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(title), ) @@ -14483,7 +14483,7 @@ func (x gen_NSMenu) ItemWithTitle( func (x gen_NSMenu) PerformActionForItemAtIndex( index core.NSInteger, ) { - C.NSMenu_inst_performActionForItemAtIndex( + C.NSMenu_inst_PerformActionForItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -14498,7 +14498,7 @@ func (x gen_NSMenu) PerformActionForItemAtIndex( func (x gen_NSMenu) PerformKeyEquivalent( event NSEventRef, ) bool { - ret := C.NSMenu_inst_performKeyEquivalent( + ret := C.NSMenu_inst_PerformKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -14507,15 +14507,15 @@ func (x gen_NSMenu) PerformKeyEquivalent( } -// PopUpMenuPositioningItem_atLocation_inView pops up the menu at the specified location. +// PopUpMenuPositioningItemAtLocationInView pops up the menu at the specified location. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518212-popupmenupositioningitem?language=objc for details. -func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( +func (x gen_NSMenu) PopUpMenuPositioningItemAtLocationInView( item NSMenuItemRef, location core.NSPoint, view NSViewRef, ) bool { - ret := C.NSMenu_inst_popUpMenuPositioningItem_atLocation_inView( + ret := C.NSMenu_inst_PopUpMenuPositioningItemAtLocationInView( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), *(*C.NSPoint)(unsafe.Pointer(&location)), @@ -14530,7 +14530,7 @@ func (x gen_NSMenu) PopUpMenuPositioningItem_atLocation_inView( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518234-removeallitems?language=objc for details. func (x gen_NSMenu) RemoveAllItems() { - C.NSMenu_inst_removeAllItems( + C.NSMenu_inst_RemoveAllItems( unsafe.Pointer(x.Pointer()), ) @@ -14544,7 +14544,7 @@ func (x gen_NSMenu) RemoveAllItems() { func (x gen_NSMenu) RemoveItem( item NSMenuItemRef, ) { - C.NSMenu_inst_removeItem( + C.NSMenu_inst_RemoveItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -14559,7 +14559,7 @@ func (x gen_NSMenu) RemoveItem( func (x gen_NSMenu) RemoveItemAtIndex( index core.NSInteger, ) { - C.NSMenu_inst_removeItemAtIndex( + C.NSMenu_inst_RemoveItemAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -14568,14 +14568,14 @@ func (x gen_NSMenu) RemoveItemAtIndex( } -// SetSubmenu_forItem assigns a menu to be a submenu of the menu controlled by a given menu item. +// SetSubmenuForItem assigns a menu to be a submenu of the menu controlled by a given menu item. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518194-setsubmenu?language=objc for details. -func (x gen_NSMenu) SetSubmenu_forItem( +func (x gen_NSMenu) SetSubmenuForItem( menu NSMenuRef, item NSMenuItemRef, ) { - C.NSMenu_inst_setSubmenu_forItem( + C.NSMenu_inst_SetSubmenuForItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(menu), objc.RefPointer(item), @@ -14591,7 +14591,7 @@ func (x gen_NSMenu) SetSubmenu_forItem( func (x gen_NSMenu) SubmenuAction( sender objc.Ref, ) { - C.NSMenu_inst_submenuAction( + C.NSMenu_inst_SubmenuAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -14604,7 +14604,7 @@ func (x gen_NSMenu) SubmenuAction( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518249-update?language=objc for details. func (x gen_NSMenu) Update() { - C.NSMenu_inst_update( + C.NSMenu_inst_Update( unsafe.Pointer(x.Pointer()), ) @@ -14616,7 +14616,7 @@ func (x gen_NSMenu) Update() { // // See for details. func (x gen_NSMenu) Init_asNSMenu() NSMenu { - ret := C.NSMenu_inst_init( + ret := C.NSMenu_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -14628,7 +14628,7 @@ func (x gen_NSMenu) Init_asNSMenu() NSMenu { // // See https://developer.apple.com/documentation/appkit/nsmenu/1518141-menubarheight?language=objc for details. func (x gen_NSMenu) MenuBarHeight() core.CGFloat { - ret := C.NSMenu_inst_menuBarHeight( + ret := C.NSMenu_inst_MenuBarHeight( unsafe.Pointer(x.Pointer()), ) @@ -14640,7 +14640,7 @@ func (x gen_NSMenu) MenuBarHeight() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsmenu/1518202-numberofitems?language=objc for details. func (x gen_NSMenu) NumberOfItems() core.NSInteger { - ret := C.NSMenu_inst_numberOfItems( + ret := C.NSMenu_inst_NumberOfItems( unsafe.Pointer(x.Pointer()), ) @@ -14652,7 +14652,7 @@ func (x gen_NSMenu) NumberOfItems() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsmenu/1518186-itemarray?language=objc for details. func (x gen_NSMenu) ItemArray() core.NSArray { - ret := C.NSMenu_inst_itemArray( + ret := C.NSMenu_inst_ItemArray( unsafe.Pointer(x.Pointer()), ) @@ -14666,7 +14666,7 @@ func (x gen_NSMenu) ItemArray() core.NSArray { func (x gen_NSMenu) SetItemArray( value core.NSArrayRef, ) { - C.NSMenu_inst_setItemArray( + C.NSMenu_inst_SetItemArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14679,7 +14679,7 @@ func (x gen_NSMenu) SetItemArray( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518204-supermenu?language=objc for details. func (x gen_NSMenu) Supermenu() NSMenu { - ret := C.NSMenu_inst_supermenu( + ret := C.NSMenu_inst_Supermenu( unsafe.Pointer(x.Pointer()), ) @@ -14693,7 +14693,7 @@ func (x gen_NSMenu) Supermenu() NSMenu { func (x gen_NSMenu) SetSupermenu( value NSMenuRef, ) { - C.NSMenu_inst_setSupermenu( + C.NSMenu_inst_SetSupermenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14706,7 +14706,7 @@ func (x gen_NSMenu) SetSupermenu( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518227-autoenablesitems?language=objc for details. func (x gen_NSMenu) AutoenablesItems() bool { - ret := C.NSMenu_inst_autoenablesItems( + ret := C.NSMenu_inst_AutoenablesItems( unsafe.Pointer(x.Pointer()), ) @@ -14720,7 +14720,7 @@ func (x gen_NSMenu) AutoenablesItems() bool { func (x gen_NSMenu) SetAutoenablesItems( value bool, ) { - C.NSMenu_inst_setAutoenablesItems( + C.NSMenu_inst_SetAutoenablesItems( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14733,7 +14733,7 @@ func (x gen_NSMenu) SetAutoenablesItems( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518230-font?language=objc for details. func (x gen_NSMenu) Font() NSFont { - ret := C.NSMenu_inst_font( + ret := C.NSMenu_inst_Font( unsafe.Pointer(x.Pointer()), ) @@ -14747,7 +14747,7 @@ func (x gen_NSMenu) Font() NSFont { func (x gen_NSMenu) SetFont( value NSFontRef, ) { - C.NSMenu_inst_setFont( + C.NSMenu_inst_SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14760,7 +14760,7 @@ func (x gen_NSMenu) SetFont( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518192-title?language=objc for details. func (x gen_NSMenu) Title() core.NSString { - ret := C.NSMenu_inst_title( + ret := C.NSMenu_inst_Title( unsafe.Pointer(x.Pointer()), ) @@ -14774,7 +14774,7 @@ func (x gen_NSMenu) Title() core.NSString { func (x gen_NSMenu) SetTitle( value core.NSStringRef, ) { - C.NSMenu_inst_setTitle( + C.NSMenu_inst_SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14787,7 +14787,7 @@ func (x gen_NSMenu) SetTitle( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518221-minimumwidth?language=objc for details. func (x gen_NSMenu) MinimumWidth() core.CGFloat { - ret := C.NSMenu_inst_minimumWidth( + ret := C.NSMenu_inst_MinimumWidth( unsafe.Pointer(x.Pointer()), ) @@ -14801,7 +14801,7 @@ func (x gen_NSMenu) MinimumWidth() core.CGFloat { func (x gen_NSMenu) SetMinimumWidth( value core.CGFloat, ) { - C.NSMenu_inst_setMinimumWidth( + C.NSMenu_inst_SetMinimumWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -14814,7 +14814,7 @@ func (x gen_NSMenu) SetMinimumWidth( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518185-size?language=objc for details. func (x gen_NSMenu) Size() core.NSSize { - ret := C.NSMenu_inst_size( + ret := C.NSMenu_inst_Size( unsafe.Pointer(x.Pointer()), ) @@ -14826,7 +14826,7 @@ func (x gen_NSMenu) Size() core.NSSize { // // See https://developer.apple.com/documentation/appkit/nsmenu/1518220-allowscontextmenuplugins?language=objc for details. func (x gen_NSMenu) AllowsContextMenuPlugIns() bool { - ret := C.NSMenu_inst_allowsContextMenuPlugIns( + ret := C.NSMenu_inst_AllowsContextMenuPlugIns( unsafe.Pointer(x.Pointer()), ) @@ -14840,7 +14840,7 @@ func (x gen_NSMenu) AllowsContextMenuPlugIns() bool { func (x gen_NSMenu) SetAllowsContextMenuPlugIns( value bool, ) { - C.NSMenu_inst_setAllowsContextMenuPlugIns( + C.NSMenu_inst_SetAllowsContextMenuPlugIns( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14853,7 +14853,7 @@ func (x gen_NSMenu) SetAllowsContextMenuPlugIns( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518253-showsstatecolumn?language=objc for details. func (x gen_NSMenu) ShowsStateColumn() bool { - ret := C.NSMenu_inst_showsStateColumn( + ret := C.NSMenu_inst_ShowsStateColumn( unsafe.Pointer(x.Pointer()), ) @@ -14867,7 +14867,7 @@ func (x gen_NSMenu) ShowsStateColumn() bool { func (x gen_NSMenu) SetShowsStateColumn( value bool, ) { - C.NSMenu_inst_setShowsStateColumn( + C.NSMenu_inst_SetShowsStateColumn( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -14880,7 +14880,7 @@ func (x gen_NSMenu) SetShowsStateColumn( // // See https://developer.apple.com/documentation/appkit/nsmenu/1518222-highlighteditem?language=objc for details. func (x gen_NSMenu) HighlightedItem() NSMenuItem { - ret := C.NSMenu_inst_highlightedItem( + ret := C.NSMenu_inst_HighlightedItem( unsafe.Pointer(x.Pointer()), ) @@ -14892,7 +14892,7 @@ func (x gen_NSMenu) HighlightedItem() NSMenuItem { // // See https://developer.apple.com/documentation/appkit/nsmenu/1518169-delegate?language=objc for details. func (x gen_NSMenu) Delegate() objc.Object { - ret := C.NSMenu_inst_delegate( + ret := C.NSMenu_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -14906,7 +14906,7 @@ func (x gen_NSMenu) Delegate() objc.Object { func (x gen_NSMenu) SetDelegate( value objc.Ref, ) { - C.NSMenu_inst_setDelegate( + C.NSMenu_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -14938,7 +14938,7 @@ func NSPopover_fromRef(ref objc.Ref) NSPopover { // // See https://developer.apple.com/documentation/appkit/nspopover/1526823-close?language=objc for details. func (x gen_NSPopover) Close() { - C.NSPopover_inst_close( + C.NSPopover_inst_Close( unsafe.Pointer(x.Pointer()), ) @@ -14950,7 +14950,7 @@ func (x gen_NSPopover) Close() { // // See https://developer.apple.com/documentation/appkit/nspopover/1526851-init?language=objc for details. func (x gen_NSPopover) Init_asNSPopover() NSPopover { - ret := C.NSPopover_inst_init( + ret := C.NSPopover_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -14964,7 +14964,7 @@ func (x gen_NSPopover) Init_asNSPopover() NSPopover { func (x gen_NSPopover) PerformClose( sender objc.Ref, ) { - C.NSPopover_inst_performClose( + C.NSPopover_inst_PerformClose( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -14977,7 +14977,7 @@ func (x gen_NSPopover) PerformClose( // // See https://developer.apple.com/documentation/appkit/nspopover/1533539-behavior?language=objc for details. func (x gen_NSPopover) Behavior() core.NSInteger { - ret := C.NSPopover_inst_behavior( + ret := C.NSPopover_inst_Behavior( unsafe.Pointer(x.Pointer()), ) @@ -14991,7 +14991,7 @@ func (x gen_NSPopover) Behavior() core.NSInteger { func (x gen_NSPopover) SetBehavior( value core.NSInteger, ) { - C.NSPopover_inst_setBehavior( + C.NSPopover_inst_SetBehavior( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -15004,7 +15004,7 @@ func (x gen_NSPopover) SetBehavior( // // See https://developer.apple.com/documentation/appkit/nspopover/1526090-positioningrect?language=objc for details. func (x gen_NSPopover) PositioningRect() core.NSRect { - ret := C.NSPopover_inst_positioningRect( + ret := C.NSPopover_inst_PositioningRect( unsafe.Pointer(x.Pointer()), ) @@ -15018,7 +15018,7 @@ func (x gen_NSPopover) PositioningRect() core.NSRect { func (x gen_NSPopover) SetPositioningRect( value core.NSRect, ) { - C.NSPopover_inst_setPositioningRect( + C.NSPopover_inst_SetPositioningRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -15031,7 +15031,7 @@ func (x gen_NSPopover) SetPositioningRect( // // See https://developer.apple.com/documentation/appkit/nspopover/1526527-animates?language=objc for details. func (x gen_NSPopover) Animates() bool { - ret := C.NSPopover_inst_animates( + ret := C.NSPopover_inst_Animates( unsafe.Pointer(x.Pointer()), ) @@ -15045,7 +15045,7 @@ func (x gen_NSPopover) Animates() bool { func (x gen_NSPopover) SetAnimates( value bool, ) { - C.NSPopover_inst_setAnimates( + C.NSPopover_inst_SetAnimates( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15058,7 +15058,7 @@ func (x gen_NSPopover) SetAnimates( // // See https://developer.apple.com/documentation/appkit/nspopover/1524677-contentsize?language=objc for details. func (x gen_NSPopover) ContentSize() core.NSSize { - ret := C.NSPopover_inst_contentSize( + ret := C.NSPopover_inst_ContentSize( unsafe.Pointer(x.Pointer()), ) @@ -15072,7 +15072,7 @@ func (x gen_NSPopover) ContentSize() core.NSSize { func (x gen_NSPopover) SetContentSize( value core.NSSize, ) { - C.NSPopover_inst_setContentSize( + C.NSPopover_inst_SetContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -15085,7 +15085,7 @@ func (x gen_NSPopover) SetContentSize( // // See https://developer.apple.com/documentation/appkit/nspopover/1535120-shown?language=objc for details. func (x gen_NSPopover) IsShown() bool { - ret := C.NSPopover_inst_isShown( + ret := C.NSPopover_inst_IsShown( unsafe.Pointer(x.Pointer()), ) @@ -15097,7 +15097,7 @@ func (x gen_NSPopover) IsShown() bool { // // See https://developer.apple.com/documentation/appkit/nspopover/1534278-detached?language=objc for details. func (x gen_NSPopover) IsDetached() bool { - ret := C.NSPopover_inst_isDetached( + ret := C.NSPopover_inst_IsDetached( unsafe.Pointer(x.Pointer()), ) @@ -15124,15 +15124,15 @@ func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem { return NSMenuItem_fromPointer(unsafe.Pointer(ref.Pointer())) } -// InitWithTitle_action_keyEquivalent returns an initialized instance of nsmenuitem. +// InitWithTitleActionKeyEquivalent returns an initialized instance of nsmenuitem. // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc for details. -func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent_asNSMenuItem( +func (x gen_NSMenuItem) InitWithTitleActionKeyEquivalent_asNSMenuItem( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, ) NSMenuItem { - ret := C.NSMenuItem_inst_initWithTitle_action_keyEquivalent( + ret := C.NSMenuItem_inst_InitWithTitleActionKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), selector.SelectorAddress(), @@ -15147,7 +15147,7 @@ func (x gen_NSMenuItem) InitWithTitle_action_keyEquivalent_asNSMenuItem( // // See for details. func (x gen_NSMenuItem) Init_asNSMenuItem() NSMenuItem { - ret := C.NSMenuItem_inst_init( + ret := C.NSMenuItem_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -15159,7 +15159,7 @@ func (x gen_NSMenuItem) Init_asNSMenuItem() NSMenuItem { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc for details. func (x gen_NSMenuItem) IsEnabled() bool { - ret := C.NSMenuItem_inst_isEnabled( + ret := C.NSMenuItem_inst_IsEnabled( unsafe.Pointer(x.Pointer()), ) @@ -15173,7 +15173,7 @@ func (x gen_NSMenuItem) IsEnabled() bool { func (x gen_NSMenuItem) SetEnabled( value bool, ) { - C.NSMenuItem_inst_setEnabled( + C.NSMenuItem_inst_SetEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15186,7 +15186,7 @@ func (x gen_NSMenuItem) SetEnabled( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc for details. func (x gen_NSMenuItem) IsHidden() bool { - ret := C.NSMenuItem_inst_isHidden( + ret := C.NSMenuItem_inst_IsHidden( unsafe.Pointer(x.Pointer()), ) @@ -15200,7 +15200,7 @@ func (x gen_NSMenuItem) IsHidden() bool { func (x gen_NSMenuItem) SetHidden( value bool, ) { - C.NSMenuItem_inst_setHidden( + C.NSMenuItem_inst_SetHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15213,7 +15213,7 @@ func (x gen_NSMenuItem) SetHidden( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514832-hiddenorhashiddenancestor?language=objc for details. func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() bool { - ret := C.NSMenuItem_inst_isHiddenOrHasHiddenAncestor( + ret := C.NSMenuItem_inst_IsHiddenOrHasHiddenAncestor( unsafe.Pointer(x.Pointer()), ) @@ -15225,7 +15225,7 @@ func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() bool { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc for details. func (x gen_NSMenuItem) Target() objc.Object { - ret := C.NSMenuItem_inst_target( + ret := C.NSMenuItem_inst_Target( unsafe.Pointer(x.Pointer()), ) @@ -15239,7 +15239,7 @@ func (x gen_NSMenuItem) Target() objc.Object { func (x gen_NSMenuItem) SetTarget( value objc.Ref, ) { - C.NSMenuItem_inst_setTarget( + C.NSMenuItem_inst_SetTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15252,7 +15252,7 @@ func (x gen_NSMenuItem) SetTarget( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc for details. func (x gen_NSMenuItem) Action() objc.Selector { - ret := C.NSMenuItem_inst_action( + ret := C.NSMenuItem_inst_Action( unsafe.Pointer(x.Pointer()), ) @@ -15266,7 +15266,7 @@ func (x gen_NSMenuItem) Action() objc.Selector { func (x gen_NSMenuItem) SetAction( value objc.Selector, ) { - C.NSMenuItem_inst_setAction( + C.NSMenuItem_inst_SetAction( unsafe.Pointer(x.Pointer()), value.SelectorAddress(), ) @@ -15279,7 +15279,7 @@ func (x gen_NSMenuItem) SetAction( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc for details. func (x gen_NSMenuItem) Title() core.NSString { - ret := C.NSMenuItem_inst_title( + ret := C.NSMenuItem_inst_Title( unsafe.Pointer(x.Pointer()), ) @@ -15293,7 +15293,7 @@ func (x gen_NSMenuItem) Title() core.NSString { func (x gen_NSMenuItem) SetTitle( value core.NSStringRef, ) { - C.NSMenuItem_inst_setTitle( + C.NSMenuItem_inst_SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15306,7 +15306,7 @@ func (x gen_NSMenuItem) SetTitle( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc for details. func (x gen_NSMenuItem) AttributedTitle() core.NSAttributedString { - ret := C.NSMenuItem_inst_attributedTitle( + ret := C.NSMenuItem_inst_AttributedTitle( unsafe.Pointer(x.Pointer()), ) @@ -15320,7 +15320,7 @@ func (x gen_NSMenuItem) AttributedTitle() core.NSAttributedString { func (x gen_NSMenuItem) SetAttributedTitle( value core.NSAttributedStringRef, ) { - C.NSMenuItem_inst_setAttributedTitle( + C.NSMenuItem_inst_SetAttributedTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15333,7 +15333,7 @@ func (x gen_NSMenuItem) SetAttributedTitle( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514840-tag?language=objc for details. func (x gen_NSMenuItem) Tag() core.NSInteger { - ret := C.NSMenuItem_inst_tag( + ret := C.NSMenuItem_inst_Tag( unsafe.Pointer(x.Pointer()), ) @@ -15347,7 +15347,7 @@ func (x gen_NSMenuItem) Tag() core.NSInteger { func (x gen_NSMenuItem) SetTag( value core.NSInteger, ) { - C.NSMenuItem_inst_setTag( + C.NSMenuItem_inst_SetTag( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -15360,7 +15360,7 @@ func (x gen_NSMenuItem) SetTag( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc for details. func (x gen_NSMenuItem) State() core.NSInteger { - ret := C.NSMenuItem_inst_state( + ret := C.NSMenuItem_inst_State( unsafe.Pointer(x.Pointer()), ) @@ -15374,7 +15374,7 @@ func (x gen_NSMenuItem) State() core.NSInteger { func (x gen_NSMenuItem) SetState( value core.NSInteger, ) { - C.NSMenuItem_inst_setState( + C.NSMenuItem_inst_SetState( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -15387,7 +15387,7 @@ func (x gen_NSMenuItem) SetState( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc for details. func (x gen_NSMenuItem) Image() NSImage { - ret := C.NSMenuItem_inst_image( + ret := C.NSMenuItem_inst_Image( unsafe.Pointer(x.Pointer()), ) @@ -15401,7 +15401,7 @@ func (x gen_NSMenuItem) Image() NSImage { func (x gen_NSMenuItem) SetImage( value NSImageRef, ) { - C.NSMenuItem_inst_setImage( + C.NSMenuItem_inst_SetImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15414,7 +15414,7 @@ func (x gen_NSMenuItem) SetImage( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514861-onstateimage?language=objc for details. func (x gen_NSMenuItem) OnStateImage() NSImage { - ret := C.NSMenuItem_inst_onStateImage( + ret := C.NSMenuItem_inst_OnStateImage( unsafe.Pointer(x.Pointer()), ) @@ -15428,7 +15428,7 @@ func (x gen_NSMenuItem) OnStateImage() NSImage { func (x gen_NSMenuItem) SetOnStateImage( value NSImageRef, ) { - C.NSMenuItem_inst_setOnStateImage( + C.NSMenuItem_inst_SetOnStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15441,7 +15441,7 @@ func (x gen_NSMenuItem) SetOnStateImage( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514821-offstateimage?language=objc for details. func (x gen_NSMenuItem) OffStateImage() NSImage { - ret := C.NSMenuItem_inst_offStateImage( + ret := C.NSMenuItem_inst_OffStateImage( unsafe.Pointer(x.Pointer()), ) @@ -15455,7 +15455,7 @@ func (x gen_NSMenuItem) OffStateImage() NSImage { func (x gen_NSMenuItem) SetOffStateImage( value NSImageRef, ) { - C.NSMenuItem_inst_setOffStateImage( + C.NSMenuItem_inst_SetOffStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15468,7 +15468,7 @@ func (x gen_NSMenuItem) SetOffStateImage( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514827-mixedstateimage?language=objc for details. func (x gen_NSMenuItem) MixedStateImage() NSImage { - ret := C.NSMenuItem_inst_mixedStateImage( + ret := C.NSMenuItem_inst_MixedStateImage( unsafe.Pointer(x.Pointer()), ) @@ -15482,7 +15482,7 @@ func (x gen_NSMenuItem) MixedStateImage() NSImage { func (x gen_NSMenuItem) SetMixedStateImage( value NSImageRef, ) { - C.NSMenuItem_inst_setMixedStateImage( + C.NSMenuItem_inst_SetMixedStateImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15495,7 +15495,7 @@ func (x gen_NSMenuItem) SetMixedStateImage( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc for details. func (x gen_NSMenuItem) Submenu() NSMenu { - ret := C.NSMenuItem_inst_submenu( + ret := C.NSMenuItem_inst_Submenu( unsafe.Pointer(x.Pointer()), ) @@ -15509,7 +15509,7 @@ func (x gen_NSMenuItem) Submenu() NSMenu { func (x gen_NSMenuItem) SetSubmenu( value NSMenuRef, ) { - C.NSMenuItem_inst_setSubmenu( + C.NSMenuItem_inst_SetSubmenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15522,7 +15522,7 @@ func (x gen_NSMenuItem) SetSubmenu( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514817-hassubmenu?language=objc for details. func (x gen_NSMenuItem) HasSubmenu() bool { - ret := C.NSMenuItem_inst_hasSubmenu( + ret := C.NSMenuItem_inst_HasSubmenu( unsafe.Pointer(x.Pointer()), ) @@ -15534,7 +15534,7 @@ func (x gen_NSMenuItem) HasSubmenu() bool { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514813-parentitem?language=objc for details. func (x gen_NSMenuItem) ParentItem() NSMenuItem { - ret := C.NSMenuItem_inst_parentItem( + ret := C.NSMenuItem_inst_ParentItem( unsafe.Pointer(x.Pointer()), ) @@ -15546,7 +15546,7 @@ func (x gen_NSMenuItem) ParentItem() NSMenuItem { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514837-separatoritem?language=objc for details. func (x gen_NSMenuItem) IsSeparatorItem() bool { - ret := C.NSMenuItem_inst_isSeparatorItem( + ret := C.NSMenuItem_inst_IsSeparatorItem( unsafe.Pointer(x.Pointer()), ) @@ -15558,7 +15558,7 @@ func (x gen_NSMenuItem) IsSeparatorItem() bool { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514830-menu?language=objc for details. func (x gen_NSMenuItem) Menu() NSMenu { - ret := C.NSMenuItem_inst_menu( + ret := C.NSMenuItem_inst_Menu( unsafe.Pointer(x.Pointer()), ) @@ -15572,7 +15572,7 @@ func (x gen_NSMenuItem) Menu() NSMenu { func (x gen_NSMenuItem) SetMenu( value NSMenuRef, ) { - C.NSMenuItem_inst_setMenu( + C.NSMenuItem_inst_SetMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15585,7 +15585,7 @@ func (x gen_NSMenuItem) SetMenu( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514842-keyequivalent?language=objc for details. func (x gen_NSMenuItem) KeyEquivalent() core.NSString { - ret := C.NSMenuItem_inst_keyEquivalent( + ret := C.NSMenuItem_inst_KeyEquivalent( unsafe.Pointer(x.Pointer()), ) @@ -15599,7 +15599,7 @@ func (x gen_NSMenuItem) KeyEquivalent() core.NSString { func (x gen_NSMenuItem) SetKeyEquivalent( value core.NSStringRef, ) { - C.NSMenuItem_inst_setKeyEquivalent( + C.NSMenuItem_inst_SetKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15612,7 +15612,7 @@ func (x gen_NSMenuItem) SetKeyEquivalent( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514850-userkeyequivalent?language=objc for details. func (x gen_NSMenuItem) UserKeyEquivalent() core.NSString { - ret := C.NSMenuItem_inst_userKeyEquivalent( + ret := C.NSMenuItem_inst_UserKeyEquivalent( unsafe.Pointer(x.Pointer()), ) @@ -15624,7 +15624,7 @@ func (x gen_NSMenuItem) UserKeyEquivalent() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514823-alternate?language=objc for details. func (x gen_NSMenuItem) IsAlternate() bool { - ret := C.NSMenuItem_inst_isAlternate( + ret := C.NSMenuItem_inst_IsAlternate( unsafe.Pointer(x.Pointer()), ) @@ -15638,7 +15638,7 @@ func (x gen_NSMenuItem) IsAlternate() bool { func (x gen_NSMenuItem) SetAlternate( value bool, ) { - C.NSMenuItem_inst_setAlternate( + C.NSMenuItem_inst_SetAlternate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15651,7 +15651,7 @@ func (x gen_NSMenuItem) SetAlternate( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514809-indentationlevel?language=objc for details. func (x gen_NSMenuItem) IndentationLevel() core.NSInteger { - ret := C.NSMenuItem_inst_indentationLevel( + ret := C.NSMenuItem_inst_IndentationLevel( unsafe.Pointer(x.Pointer()), ) @@ -15665,7 +15665,7 @@ func (x gen_NSMenuItem) IndentationLevel() core.NSInteger { func (x gen_NSMenuItem) SetIndentationLevel( value core.NSInteger, ) { - C.NSMenuItem_inst_setIndentationLevel( + C.NSMenuItem_inst_SetIndentationLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -15678,7 +15678,7 @@ func (x gen_NSMenuItem) SetIndentationLevel( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc for details. func (x gen_NSMenuItem) ToolTip() core.NSString { - ret := C.NSMenuItem_inst_toolTip( + ret := C.NSMenuItem_inst_ToolTip( unsafe.Pointer(x.Pointer()), ) @@ -15692,7 +15692,7 @@ func (x gen_NSMenuItem) ToolTip() core.NSString { func (x gen_NSMenuItem) SetToolTip( value core.NSStringRef, ) { - C.NSMenuItem_inst_setToolTip( + C.NSMenuItem_inst_SetToolTip( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15705,7 +15705,7 @@ func (x gen_NSMenuItem) SetToolTip( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514834-representedobject?language=objc for details. func (x gen_NSMenuItem) RepresentedObject() objc.Object { - ret := C.NSMenuItem_inst_representedObject( + ret := C.NSMenuItem_inst_RepresentedObject( unsafe.Pointer(x.Pointer()), ) @@ -15719,7 +15719,7 @@ func (x gen_NSMenuItem) RepresentedObject() objc.Object { func (x gen_NSMenuItem) SetRepresentedObject( value objc.Ref, ) { - C.NSMenuItem_inst_setRepresentedObject( + C.NSMenuItem_inst_SetRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15732,7 +15732,7 @@ func (x gen_NSMenuItem) SetRepresentedObject( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514835-view?language=objc for details. func (x gen_NSMenuItem) View() NSView { - ret := C.NSMenuItem_inst_view( + ret := C.NSMenuItem_inst_View( unsafe.Pointer(x.Pointer()), ) @@ -15746,7 +15746,7 @@ func (x gen_NSMenuItem) View() NSView { func (x gen_NSMenuItem) SetView( value NSViewRef, ) { - C.NSMenuItem_inst_setView( + C.NSMenuItem_inst_SetView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -15759,7 +15759,7 @@ func (x gen_NSMenuItem) SetView( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514856-highlighted?language=objc for details. func (x gen_NSMenuItem) IsHighlighted() bool { - ret := C.NSMenuItem_inst_isHighlighted( + ret := C.NSMenuItem_inst_IsHighlighted( unsafe.Pointer(x.Pointer()), ) @@ -15771,7 +15771,7 @@ func (x gen_NSMenuItem) IsHighlighted() bool { // // See https://developer.apple.com/documentation/appkit/nsmenuitem/3787554-allowsautomatickeyequivalentloca?language=objc for details. func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() bool { - ret := C.NSMenuItem_inst_allowsAutomaticKeyEquivalentLocalization( + ret := C.NSMenuItem_inst_AllowsAutomaticKeyEquivalentLocalization( unsafe.Pointer(x.Pointer()), ) @@ -15785,7 +15785,7 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() bool { func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( value bool, ) { - C.NSMenuItem_inst_setAllowsAutomaticKeyEquivalentLocalization( + C.NSMenuItem_inst_SetAllowsAutomaticKeyEquivalentLocalization( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15798,7 +15798,7 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/3787555-allowsautomatickeyequivalentmirr?language=objc for details. func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() bool { - ret := C.NSMenuItem_inst_allowsAutomaticKeyEquivalentMirroring( + ret := C.NSMenuItem_inst_AllowsAutomaticKeyEquivalentMirroring( unsafe.Pointer(x.Pointer()), ) @@ -15812,7 +15812,7 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() bool { func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( value bool, ) { - C.NSMenuItem_inst_setAllowsAutomaticKeyEquivalentMirroring( + C.NSMenuItem_inst_SetAllowsAutomaticKeyEquivalentMirroring( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15825,7 +15825,7 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( // // See https://developer.apple.com/documentation/appkit/nsmenuitem/2880316-allowskeyequivalentwhenhidden?language=objc for details. func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() bool { - ret := C.NSMenuItem_inst_allowsKeyEquivalentWhenHidden( + ret := C.NSMenuItem_inst_AllowsKeyEquivalentWhenHidden( unsafe.Pointer(x.Pointer()), ) @@ -15839,7 +15839,7 @@ func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() bool { func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden( value bool, ) { - C.NSMenuItem_inst_setAllowsKeyEquivalentWhenHidden( + C.NSMenuItem_inst_SetAllowsKeyEquivalentWhenHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -15871,7 +15871,7 @@ func NSRunningApplication_fromRef(ref objc.Ref) NSRunningApplication { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1530370-forceterminate?language=objc for details. func (x gen_NSRunningApplication) ForceTerminate() bool { - ret := C.NSRunningApplication_inst_forceTerminate( + ret := C.NSRunningApplication_inst_ForceTerminate( unsafe.Pointer(x.Pointer()), ) @@ -15883,7 +15883,7 @@ func (x gen_NSRunningApplication) ForceTerminate() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1526608-hide?language=objc for details. func (x gen_NSRunningApplication) Hide() bool { - ret := C.NSRunningApplication_inst_hide( + ret := C.NSRunningApplication_inst_Hide( unsafe.Pointer(x.Pointer()), ) @@ -15895,7 +15895,7 @@ func (x gen_NSRunningApplication) Hide() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1528922-terminate?language=objc for details. func (x gen_NSRunningApplication) Terminate() bool { - ret := C.NSRunningApplication_inst_terminate( + ret := C.NSRunningApplication_inst_Terminate( unsafe.Pointer(x.Pointer()), ) @@ -15907,7 +15907,7 @@ func (x gen_NSRunningApplication) Terminate() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1534676-unhide?language=objc for details. func (x gen_NSRunningApplication) Unhide() bool { - ret := C.NSRunningApplication_inst_unhide( + ret := C.NSRunningApplication_inst_Unhide( unsafe.Pointer(x.Pointer()), ) @@ -15919,7 +15919,7 @@ func (x gen_NSRunningApplication) Unhide() bool { // // See for details. func (x gen_NSRunningApplication) Init_asNSRunningApplication() NSRunningApplication { - ret := C.NSRunningApplication_inst_init( + ret := C.NSRunningApplication_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -15931,7 +15931,7 @@ func (x gen_NSRunningApplication) Init_asNSRunningApplication() NSRunningApplica // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1528778-active?language=objc for details. func (x gen_NSRunningApplication) IsActive() bool { - ret := C.NSRunningApplication_inst_isActive( + ret := C.NSRunningApplication_inst_IsActive( unsafe.Pointer(x.Pointer()), ) @@ -15943,7 +15943,7 @@ func (x gen_NSRunningApplication) IsActive() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1533103-activationpolicy?language=objc for details. func (x gen_NSRunningApplication) ActivationPolicy() core.NSInteger { - ret := C.NSRunningApplication_inst_activationPolicy( + ret := C.NSRunningApplication_inst_ActivationPolicy( unsafe.Pointer(x.Pointer()), ) @@ -15955,7 +15955,7 @@ func (x gen_NSRunningApplication) ActivationPolicy() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1525949-hidden?language=objc for details. func (x gen_NSRunningApplication) IsHidden() bool { - ret := C.NSRunningApplication_inst_isHidden( + ret := C.NSRunningApplication_inst_IsHidden( unsafe.Pointer(x.Pointer()), ) @@ -15967,7 +15967,7 @@ func (x gen_NSRunningApplication) IsHidden() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1526751-localizedname?language=objc for details. func (x gen_NSRunningApplication) LocalizedName() core.NSString { - ret := C.NSRunningApplication_inst_localizedName( + ret := C.NSRunningApplication_inst_LocalizedName( unsafe.Pointer(x.Pointer()), ) @@ -15979,7 +15979,7 @@ func (x gen_NSRunningApplication) LocalizedName() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1529885-icon?language=objc for details. func (x gen_NSRunningApplication) Icon() NSImage { - ret := C.NSRunningApplication_inst_icon( + ret := C.NSRunningApplication_inst_Icon( unsafe.Pointer(x.Pointer()), ) @@ -15991,7 +15991,7 @@ func (x gen_NSRunningApplication) Icon() NSImage { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc for details. func (x gen_NSRunningApplication) BundleIdentifier() core.NSString { - ret := C.NSRunningApplication_inst_bundleIdentifier( + ret := C.NSRunningApplication_inst_BundleIdentifier( unsafe.Pointer(x.Pointer()), ) @@ -16003,7 +16003,7 @@ func (x gen_NSRunningApplication) BundleIdentifier() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1535500-bundleurl?language=objc for details. func (x gen_NSRunningApplication) BundleURL() core.NSURL { - ret := C.NSRunningApplication_inst_bundleURL( + ret := C.NSRunningApplication_inst_BundleURL( unsafe.Pointer(x.Pointer()), ) @@ -16015,7 +16015,7 @@ func (x gen_NSRunningApplication) BundleURL() core.NSURL { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1524287-executablearchitecture?language=objc for details. func (x gen_NSRunningApplication) ExecutableArchitecture() core.NSInteger { - ret := C.NSRunningApplication_inst_executableArchitecture( + ret := C.NSRunningApplication_inst_ExecutableArchitecture( unsafe.Pointer(x.Pointer()), ) @@ -16027,7 +16027,7 @@ func (x gen_NSRunningApplication) ExecutableArchitecture() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1531062-executableurl?language=objc for details. func (x gen_NSRunningApplication) ExecutableURL() core.NSURL { - ret := C.NSRunningApplication_inst_executableURL( + ret := C.NSRunningApplication_inst_ExecutableURL( unsafe.Pointer(x.Pointer()), ) @@ -16039,7 +16039,7 @@ func (x gen_NSRunningApplication) ExecutableURL() core.NSURL { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1532002-finishedlaunching?language=objc for details. func (x gen_NSRunningApplication) IsFinishedLaunching() bool { - ret := C.NSRunningApplication_inst_isFinishedLaunching( + ret := C.NSRunningApplication_inst_IsFinishedLaunching( unsafe.Pointer(x.Pointer()), ) @@ -16051,7 +16051,7 @@ func (x gen_NSRunningApplication) IsFinishedLaunching() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1525915-ownsmenubar?language=objc for details. func (x gen_NSRunningApplication) OwnsMenuBar() bool { - ret := C.NSRunningApplication_inst_ownsMenuBar( + ret := C.NSRunningApplication_inst_OwnsMenuBar( unsafe.Pointer(x.Pointer()), ) @@ -16063,7 +16063,7 @@ func (x gen_NSRunningApplication) OwnsMenuBar() bool { // // See https://developer.apple.com/documentation/appkit/nsrunningapplication/1532239-terminated?language=objc for details. func (x gen_NSRunningApplication) IsTerminated() bool { - ret := C.NSRunningApplication_inst_isTerminated( + ret := C.NSRunningApplication_inst_IsTerminated( unsafe.Pointer(x.Pointer()), ) @@ -16096,7 +16096,7 @@ func NSScreen_fromRef(ref objc.Ref) NSScreen { func (x gen_NSScreen) ConvertRectFromBacking( rect core.NSRect, ) core.NSRect { - ret := C.NSScreen_inst_convertRectFromBacking( + ret := C.NSScreen_inst_ConvertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -16111,7 +16111,7 @@ func (x gen_NSScreen) ConvertRectFromBacking( func (x gen_NSScreen) ConvertRectToBacking( rect core.NSRect, ) core.NSRect { - ret := C.NSScreen_inst_convertRectToBacking( + ret := C.NSScreen_inst_ConvertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -16124,7 +16124,7 @@ func (x gen_NSScreen) ConvertRectToBacking( // // See for details. func (x gen_NSScreen) Init_asNSScreen() NSScreen { - ret := C.NSScreen_inst_init( + ret := C.NSScreen_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -16136,7 +16136,7 @@ func (x gen_NSScreen) Init_asNSScreen() NSScreen { // // See https://developer.apple.com/documentation/appkit/nsscreen/1388387-frame?language=objc for details. func (x gen_NSScreen) Frame() core.NSRect { - ret := C.NSScreen_inst_frame( + ret := C.NSScreen_inst_Frame( unsafe.Pointer(x.Pointer()), ) @@ -16148,7 +16148,7 @@ func (x gen_NSScreen) Frame() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nsscreen/1388360-devicedescription?language=objc for details. func (x gen_NSScreen) DeviceDescription() core.NSDictionary { - ret := C.NSScreen_inst_deviceDescription( + ret := C.NSScreen_inst_DeviceDescription( unsafe.Pointer(x.Pointer()), ) @@ -16160,7 +16160,7 @@ func (x gen_NSScreen) DeviceDescription() core.NSDictionary { // // See https://developer.apple.com/documentation/appkit/nsscreen/1388369-visibleframe?language=objc for details. func (x gen_NSScreen) VisibleFrame() core.NSRect { - ret := C.NSScreen_inst_visibleFrame( + ret := C.NSScreen_inst_VisibleFrame( unsafe.Pointer(x.Pointer()), ) @@ -16172,7 +16172,7 @@ func (x gen_NSScreen) VisibleFrame() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nsscreen/1388385-backingscalefactor?language=objc for details. func (x gen_NSScreen) BackingScaleFactor() core.CGFloat { - ret := C.NSScreen_inst_backingScaleFactor( + ret := C.NSScreen_inst_BackingScaleFactor( unsafe.Pointer(x.Pointer()), ) @@ -16184,7 +16184,7 @@ func (x gen_NSScreen) BackingScaleFactor() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsscreen/3180381-maximumpotentialextendeddynamicr?language=objc for details. func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() core.CGFloat { - ret := C.NSScreen_inst_maximumPotentialExtendedDynamicRangeColorComponentValue( + ret := C.NSScreen_inst_MaximumPotentialExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), ) @@ -16196,7 +16196,7 @@ func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() // // See https://developer.apple.com/documentation/appkit/nsscreen/1388362-maximumextendeddynamicrangecolor?language=objc for details. func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() core.CGFloat { - ret := C.NSScreen_inst_maximumExtendedDynamicRangeColorComponentValue( + ret := C.NSScreen_inst_MaximumExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), ) @@ -16208,7 +16208,7 @@ func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() core.CGFl // // See https://developer.apple.com/documentation/appkit/nsscreen/3180382-maximumreferenceextendeddynamicr?language=objc for details. func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() core.CGFloat { - ret := C.NSScreen_inst_maximumReferenceExtendedDynamicRangeColorComponentValue( + ret := C.NSScreen_inst_MaximumReferenceExtendedDynamicRangeColorComponentValue( unsafe.Pointer(x.Pointer()), ) @@ -16220,7 +16220,7 @@ func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() // // See https://developer.apple.com/documentation/appkit/nsscreen/3228043-localizedname?language=objc for details. func (x gen_NSScreen) LocalizedName() core.NSString { - ret := C.NSScreen_inst_localizedName( + ret := C.NSScreen_inst_LocalizedName( unsafe.Pointer(x.Pointer()), ) @@ -16232,7 +16232,7 @@ func (x gen_NSScreen) LocalizedName() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsscreen/3824745-maximumframespersecond?language=objc for details. func (x gen_NSScreen) MaximumFramesPerSecond() core.NSInteger { - ret := C.NSScreen_inst_maximumFramesPerSecond( + ret := C.NSScreen_inst_MaximumFramesPerSecond( unsafe.Pointer(x.Pointer()), ) @@ -16265,7 +16265,7 @@ func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar { func (x gen_NSStatusBar) RemoveStatusItem( item NSStatusItemRef, ) { - C.NSStatusBar_inst_removeStatusItem( + C.NSStatusBar_inst_RemoveStatusItem( unsafe.Pointer(x.Pointer()), objc.RefPointer(item), ) @@ -16280,7 +16280,7 @@ func (x gen_NSStatusBar) RemoveStatusItem( func (x gen_NSStatusBar) StatusItemWithLength( length core.CGFloat, ) NSStatusItem { - ret := C.NSStatusBar_inst_statusItemWithLength( + ret := C.NSStatusBar_inst_StatusItemWithLength( unsafe.Pointer(x.Pointer()), C.double(length), ) @@ -16293,7 +16293,7 @@ func (x gen_NSStatusBar) StatusItemWithLength( // // See for details. func (x gen_NSStatusBar) Init_asNSStatusBar() NSStatusBar { - ret := C.NSStatusBar_inst_init( + ret := C.NSStatusBar_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -16305,7 +16305,7 @@ func (x gen_NSStatusBar) Init_asNSStatusBar() NSStatusBar { // // See https://developer.apple.com/documentation/appkit/nsstatusbar/1530580-vertical?language=objc for details. func (x gen_NSStatusBar) IsVertical() bool { - ret := C.NSStatusBar_inst_isVertical( + ret := C.NSStatusBar_inst_IsVertical( unsafe.Pointer(x.Pointer()), ) @@ -16317,7 +16317,7 @@ func (x gen_NSStatusBar) IsVertical() bool { // // See https://developer.apple.com/documentation/appkit/nsstatusbar/1534591-thickness?language=objc for details. func (x gen_NSStatusBar) Thickness() core.CGFloat { - ret := C.NSStatusBar_inst_thickness( + ret := C.NSStatusBar_inst_Thickness( unsafe.Pointer(x.Pointer()), ) @@ -16348,7 +16348,7 @@ func NSStatusBarButton_fromRef(ref objc.Ref) NSStatusBarButton { // // See for details. func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() NSStatusBarButton { - ret := C.NSStatusBarButton_inst_init( + ret := C.NSStatusBarButton_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -16360,7 +16360,7 @@ func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() NSStatusBarButton { // // See https://developer.apple.com/documentation/appkit/nsstatusbarbutton/1409292-appearsdisabled?language=objc for details. func (x gen_NSStatusBarButton) AppearsDisabled() bool { - ret := C.NSStatusBarButton_inst_appearsDisabled( + ret := C.NSStatusBarButton_inst_AppearsDisabled( unsafe.Pointer(x.Pointer()), ) @@ -16374,7 +16374,7 @@ func (x gen_NSStatusBarButton) AppearsDisabled() bool { func (x gen_NSStatusBarButton) SetAppearsDisabled( value bool, ) { - C.NSStatusBarButton_inst_setAppearsDisabled( + C.NSStatusBarButton_inst_SetAppearsDisabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -16406,7 +16406,7 @@ func NSStatusItem_fromRef(ref objc.Ref) NSStatusItem { // // See for details. func (x gen_NSStatusItem) Init_asNSStatusItem() NSStatusItem { - ret := C.NSStatusItem_inst_init( + ret := C.NSStatusItem_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -16418,7 +16418,7 @@ func (x gen_NSStatusItem) Init_asNSStatusItem() NSStatusItem { // // See https://developer.apple.com/documentation/appkit/nsstatusitem/1525951-statusbar?language=objc for details. func (x gen_NSStatusItem) StatusBar() NSStatusBar { - ret := C.NSStatusItem_inst_statusBar( + ret := C.NSStatusItem_inst_StatusBar( unsafe.Pointer(x.Pointer()), ) @@ -16430,7 +16430,7 @@ func (x gen_NSStatusItem) StatusBar() NSStatusBar { // // See https://developer.apple.com/documentation/appkit/nsstatusitem/1535056-button?language=objc for details. func (x gen_NSStatusItem) Button() NSStatusBarButton { - ret := C.NSStatusItem_inst_button( + ret := C.NSStatusItem_inst_Button( unsafe.Pointer(x.Pointer()), ) @@ -16442,7 +16442,7 @@ func (x gen_NSStatusItem) Button() NSStatusBarButton { // // See https://developer.apple.com/documentation/appkit/nsstatusitem/1535918-menu?language=objc for details. func (x gen_NSStatusItem) Menu() NSMenu { - ret := C.NSStatusItem_inst_menu( + ret := C.NSStatusItem_inst_Menu( unsafe.Pointer(x.Pointer()), ) @@ -16456,7 +16456,7 @@ func (x gen_NSStatusItem) Menu() NSMenu { func (x gen_NSStatusItem) SetMenu( value NSMenuRef, ) { - C.NSStatusItem_inst_setMenu( + C.NSStatusItem_inst_SetMenu( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16469,7 +16469,7 @@ func (x gen_NSStatusItem) SetMenu( // // See https://developer.apple.com/documentation/appkit/nsstatusitem/1644025-visible?language=objc for details. func (x gen_NSStatusItem) IsVisible() bool { - ret := C.NSStatusItem_inst_isVisible( + ret := C.NSStatusItem_inst_IsVisible( unsafe.Pointer(x.Pointer()), ) @@ -16483,7 +16483,7 @@ func (x gen_NSStatusItem) IsVisible() bool { func (x gen_NSStatusItem) SetVisible( value bool, ) { - C.NSStatusItem_inst_setVisible( + C.NSStatusItem_inst_SetVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -16496,7 +16496,7 @@ func (x gen_NSStatusItem) SetVisible( // // See https://developer.apple.com/documentation/appkit/nsstatusitem/1529402-length?language=objc for details. func (x gen_NSStatusItem) Length() core.CGFloat { - ret := C.NSStatusItem_inst_length( + ret := C.NSStatusItem_inst_Length( unsafe.Pointer(x.Pointer()), ) @@ -16510,7 +16510,7 @@ func (x gen_NSStatusItem) Length() core.CGFloat { func (x gen_NSStatusItem) SetLength( value core.CGFloat, ) { - C.NSStatusItem_inst_setLength( + C.NSStatusItem_inst_SetLength( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -16544,7 +16544,7 @@ func NSText_fromRef(ref objc.Ref) NSText { func (x gen_NSText) AlignCenter( sender objc.Ref, ) { - C.NSText_inst_alignCenter( + C.NSText_inst_AlignCenter( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16559,7 +16559,7 @@ func (x gen_NSText) AlignCenter( func (x gen_NSText) AlignLeft( sender objc.Ref, ) { - C.NSText_inst_alignLeft( + C.NSText_inst_AlignLeft( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16574,7 +16574,7 @@ func (x gen_NSText) AlignLeft( func (x gen_NSText) AlignRight( sender objc.Ref, ) { - C.NSText_inst_alignRight( + C.NSText_inst_AlignRight( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16589,7 +16589,7 @@ func (x gen_NSText) AlignRight( func (x gen_NSText) ChangeFont( sender objc.Ref, ) { - C.NSText_inst_changeFont( + C.NSText_inst_ChangeFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16604,7 +16604,7 @@ func (x gen_NSText) ChangeFont( func (x gen_NSText) CheckSpelling( sender objc.Ref, ) { - C.NSText_inst_checkSpelling( + C.NSText_inst_CheckSpelling( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16619,7 +16619,7 @@ func (x gen_NSText) CheckSpelling( func (x gen_NSText) Copy( sender objc.Ref, ) { - C.NSText_inst_copy( + C.NSText_inst_Copy( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16634,7 +16634,7 @@ func (x gen_NSText) Copy( func (x gen_NSText) CopyFont( sender objc.Ref, ) { - C.NSText_inst_copyFont( + C.NSText_inst_CopyFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16649,7 +16649,7 @@ func (x gen_NSText) CopyFont( func (x gen_NSText) CopyRuler( sender objc.Ref, ) { - C.NSText_inst_copyRuler( + C.NSText_inst_CopyRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16664,7 +16664,7 @@ func (x gen_NSText) CopyRuler( func (x gen_NSText) Cut( sender objc.Ref, ) { - C.NSText_inst_cut( + C.NSText_inst_Cut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16679,7 +16679,7 @@ func (x gen_NSText) Cut( func (x gen_NSText) Delete( sender objc.Ref, ) { - C.NSText_inst_delete( + C.NSText_inst_Delete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16694,7 +16694,7 @@ func (x gen_NSText) Delete( func (x gen_NSText) InitWithFrame_asNSText( frameRect core.NSRect, ) NSText { - ret := C.NSText_inst_initWithFrame( + ret := C.NSText_inst_InitWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -16709,7 +16709,7 @@ func (x gen_NSText) InitWithFrame_asNSText( func (x gen_NSText) Paste( sender objc.Ref, ) { - C.NSText_inst_paste( + C.NSText_inst_Paste( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16724,7 +16724,7 @@ func (x gen_NSText) Paste( func (x gen_NSText) PasteFont( sender objc.Ref, ) { - C.NSText_inst_pasteFont( + C.NSText_inst_PasteFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16739,7 +16739,7 @@ func (x gen_NSText) PasteFont( func (x gen_NSText) PasteRuler( sender objc.Ref, ) { - C.NSText_inst_pasteRuler( + C.NSText_inst_PasteRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16754,7 +16754,7 @@ func (x gen_NSText) PasteRuler( func (x gen_NSText) ReadRTFDFromFile( path core.NSStringRef, ) bool { - ret := C.NSText_inst_readRTFDFromFile( + ret := C.NSText_inst_ReadRTFDFromFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -16769,7 +16769,7 @@ func (x gen_NSText) ReadRTFDFromFile( func (x gen_NSText) SelectAll( sender objc.Ref, ) { - C.NSText_inst_selectAll( + C.NSText_inst_SelectAll( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16784,7 +16784,7 @@ func (x gen_NSText) SelectAll( func (x gen_NSText) ShowGuessPanel( sender objc.Ref, ) { - C.NSText_inst_showGuessPanel( + C.NSText_inst_ShowGuessPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16797,7 +16797,7 @@ func (x gen_NSText) ShowGuessPanel( // // See https://developer.apple.com/documentation/appkit/nstext/1533991-sizetofit?language=objc for details. func (x gen_NSText) SizeToFit() { - C.NSText_inst_sizeToFit( + C.NSText_inst_SizeToFit( unsafe.Pointer(x.Pointer()), ) @@ -16811,7 +16811,7 @@ func (x gen_NSText) SizeToFit() { func (x gen_NSText) Subscript( sender objc.Ref, ) { - C.NSText_inst_subscript( + C.NSText_inst_Subscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16826,7 +16826,7 @@ func (x gen_NSText) Subscript( func (x gen_NSText) Superscript( sender objc.Ref, ) { - C.NSText_inst_superscript( + C.NSText_inst_Superscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16841,7 +16841,7 @@ func (x gen_NSText) Superscript( func (x gen_NSText) ToggleRuler( sender objc.Ref, ) { - C.NSText_inst_toggleRuler( + C.NSText_inst_ToggleRuler( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16856,7 +16856,7 @@ func (x gen_NSText) ToggleRuler( func (x gen_NSText) Underline( sender objc.Ref, ) { - C.NSText_inst_underline( + C.NSText_inst_Underline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16871,7 +16871,7 @@ func (x gen_NSText) Underline( func (x gen_NSText) Unscript( sender objc.Ref, ) { - C.NSText_inst_unscript( + C.NSText_inst_Unscript( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -16880,14 +16880,14 @@ func (x gen_NSText) Unscript( } -// WriteRTFDToFile_atomically writes the receiver’s text as rtf with attachments to a file or directory at path. +// WriteRTFDToFileAtomically writes the receiver’s text as rtf with attachments to a file or directory at path. // // See https://developer.apple.com/documentation/appkit/nstext/1527085-writertfdtofile?language=objc for details. -func (x gen_NSText) WriteRTFDToFile_atomically( +func (x gen_NSText) WriteRTFDToFileAtomically( path core.NSStringRef, flag bool, ) bool { - ret := C.NSText_inst_writeRTFDToFile_atomically( + ret := C.NSText_inst_WriteRTFDToFileAtomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(flag), @@ -16901,7 +16901,7 @@ func (x gen_NSText) WriteRTFDToFile_atomically( // // See for details. func (x gen_NSText) Init_asNSText() NSText { - ret := C.NSText_inst_init( + ret := C.NSText_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -16913,7 +16913,7 @@ func (x gen_NSText) Init_asNSText() NSText { // // See https://developer.apple.com/documentation/appkit/nstext/1528601-string?language=objc for details. func (x gen_NSText) String() core.NSString { - ret := C.NSText_inst_string( + ret := C.NSText_inst_String( unsafe.Pointer(x.Pointer()), ) @@ -16927,7 +16927,7 @@ func (x gen_NSText) String() core.NSString { func (x gen_NSText) SetString( value core.NSStringRef, ) { - C.NSText_inst_setString( + C.NSText_inst_SetString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16940,7 +16940,7 @@ func (x gen_NSText) SetString( // // See https://developer.apple.com/documentation/appkit/nstext/1535324-backgroundcolor?language=objc for details. func (x gen_NSText) BackgroundColor() NSColor { - ret := C.NSText_inst_backgroundColor( + ret := C.NSText_inst_BackgroundColor( unsafe.Pointer(x.Pointer()), ) @@ -16954,7 +16954,7 @@ func (x gen_NSText) BackgroundColor() NSColor { func (x gen_NSText) SetBackgroundColor( value NSColorRef, ) { - C.NSText_inst_setBackgroundColor( + C.NSText_inst_SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -16967,7 +16967,7 @@ func (x gen_NSText) SetBackgroundColor( // // See https://developer.apple.com/documentation/appkit/nstext/1531772-drawsbackground?language=objc for details. func (x gen_NSText) DrawsBackground() bool { - ret := C.NSText_inst_drawsBackground( + ret := C.NSText_inst_DrawsBackground( unsafe.Pointer(x.Pointer()), ) @@ -16981,7 +16981,7 @@ func (x gen_NSText) DrawsBackground() bool { func (x gen_NSText) SetDrawsBackground( value bool, ) { - C.NSText_inst_setDrawsBackground( + C.NSText_inst_SetDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -16994,7 +16994,7 @@ func (x gen_NSText) SetDrawsBackground( // // See https://developer.apple.com/documentation/appkit/nstext/1529876-editable?language=objc for details. func (x gen_NSText) IsEditable() bool { - ret := C.NSText_inst_isEditable( + ret := C.NSText_inst_IsEditable( unsafe.Pointer(x.Pointer()), ) @@ -17008,7 +17008,7 @@ func (x gen_NSText) IsEditable() bool { func (x gen_NSText) SetEditable( value bool, ) { - C.NSText_inst_setEditable( + C.NSText_inst_SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17021,7 +17021,7 @@ func (x gen_NSText) SetEditable( // // See https://developer.apple.com/documentation/appkit/nstext/1535368-selectable?language=objc for details. func (x gen_NSText) IsSelectable() bool { - ret := C.NSText_inst_isSelectable( + ret := C.NSText_inst_IsSelectable( unsafe.Pointer(x.Pointer()), ) @@ -17035,7 +17035,7 @@ func (x gen_NSText) IsSelectable() bool { func (x gen_NSText) SetSelectable( value bool, ) { - C.NSText_inst_setSelectable( + C.NSText_inst_SetSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17048,7 +17048,7 @@ func (x gen_NSText) SetSelectable( // // See https://developer.apple.com/documentation/appkit/nstext/1533080-fieldeditor?language=objc for details. func (x gen_NSText) IsFieldEditor() bool { - ret := C.NSText_inst_isFieldEditor( + ret := C.NSText_inst_IsFieldEditor( unsafe.Pointer(x.Pointer()), ) @@ -17062,7 +17062,7 @@ func (x gen_NSText) IsFieldEditor() bool { func (x gen_NSText) SetFieldEditor( value bool, ) { - C.NSText_inst_setFieldEditor( + C.NSText_inst_SetFieldEditor( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17075,7 +17075,7 @@ func (x gen_NSText) SetFieldEditor( // // See https://developer.apple.com/documentation/appkit/nstext/1531003-richtext?language=objc for details. func (x gen_NSText) IsRichText() bool { - ret := C.NSText_inst_isRichText( + ret := C.NSText_inst_IsRichText( unsafe.Pointer(x.Pointer()), ) @@ -17089,7 +17089,7 @@ func (x gen_NSText) IsRichText() bool { func (x gen_NSText) SetRichText( value bool, ) { - C.NSText_inst_setRichText( + C.NSText_inst_SetRichText( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17102,7 +17102,7 @@ func (x gen_NSText) SetRichText( // // See https://developer.apple.com/documentation/appkit/nstext/1531887-importsgraphics?language=objc for details. func (x gen_NSText) ImportsGraphics() bool { - ret := C.NSText_inst_importsGraphics( + ret := C.NSText_inst_ImportsGraphics( unsafe.Pointer(x.Pointer()), ) @@ -17116,7 +17116,7 @@ func (x gen_NSText) ImportsGraphics() bool { func (x gen_NSText) SetImportsGraphics( value bool, ) { - C.NSText_inst_setImportsGraphics( + C.NSText_inst_SetImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17129,7 +17129,7 @@ func (x gen_NSText) SetImportsGraphics( // // See https://developer.apple.com/documentation/appkit/nstext/1527431-usesfontpanel?language=objc for details. func (x gen_NSText) UsesFontPanel() bool { - ret := C.NSText_inst_usesFontPanel( + ret := C.NSText_inst_UsesFontPanel( unsafe.Pointer(x.Pointer()), ) @@ -17143,7 +17143,7 @@ func (x gen_NSText) UsesFontPanel() bool { func (x gen_NSText) SetUsesFontPanel( value bool, ) { - C.NSText_inst_setUsesFontPanel( + C.NSText_inst_SetUsesFontPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17156,7 +17156,7 @@ func (x gen_NSText) SetUsesFontPanel( // // See https://developer.apple.com/documentation/appkit/nstext/1533732-rulervisible?language=objc for details. func (x gen_NSText) IsRulerVisible() bool { - ret := C.NSText_inst_isRulerVisible( + ret := C.NSText_inst_IsRulerVisible( unsafe.Pointer(x.Pointer()), ) @@ -17168,7 +17168,7 @@ func (x gen_NSText) IsRulerVisible() bool { // // See https://developer.apple.com/documentation/appkit/nstext/1534646-font?language=objc for details. func (x gen_NSText) Font() NSFont { - ret := C.NSText_inst_font( + ret := C.NSText_inst_Font( unsafe.Pointer(x.Pointer()), ) @@ -17182,7 +17182,7 @@ func (x gen_NSText) Font() NSFont { func (x gen_NSText) SetFont( value NSFontRef, ) { - C.NSText_inst_setFont( + C.NSText_inst_SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17195,7 +17195,7 @@ func (x gen_NSText) SetFont( // // See https://developer.apple.com/documentation/appkit/nstext/1534875-textcolor?language=objc for details. func (x gen_NSText) TextColor() NSColor { - ret := C.NSText_inst_textColor( + ret := C.NSText_inst_TextColor( unsafe.Pointer(x.Pointer()), ) @@ -17209,7 +17209,7 @@ func (x gen_NSText) TextColor() NSColor { func (x gen_NSText) SetTextColor( value NSColorRef, ) { - C.NSText_inst_setTextColor( + C.NSText_inst_SetTextColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17222,7 +17222,7 @@ func (x gen_NSText) SetTextColor( // // See https://developer.apple.com/documentation/appkit/nstext/1535900-maxsize?language=objc for details. func (x gen_NSText) MaxSize() core.NSSize { - ret := C.NSText_inst_maxSize( + ret := C.NSText_inst_MaxSize( unsafe.Pointer(x.Pointer()), ) @@ -17236,7 +17236,7 @@ func (x gen_NSText) MaxSize() core.NSSize { func (x gen_NSText) SetMaxSize( value core.NSSize, ) { - C.NSText_inst_setMaxSize( + C.NSText_inst_SetMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -17249,7 +17249,7 @@ func (x gen_NSText) SetMaxSize( // // See https://developer.apple.com/documentation/appkit/nstext/1526222-minsize?language=objc for details. func (x gen_NSText) MinSize() core.NSSize { - ret := C.NSText_inst_minSize( + ret := C.NSText_inst_MinSize( unsafe.Pointer(x.Pointer()), ) @@ -17263,7 +17263,7 @@ func (x gen_NSText) MinSize() core.NSSize { func (x gen_NSText) SetMinSize( value core.NSSize, ) { - C.NSText_inst_setMinSize( + C.NSText_inst_SetMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -17276,7 +17276,7 @@ func (x gen_NSText) SetMinSize( // // See https://developer.apple.com/documentation/appkit/nstext/1535082-verticallyresizable?language=objc for details. func (x gen_NSText) IsVerticallyResizable() bool { - ret := C.NSText_inst_isVerticallyResizable( + ret := C.NSText_inst_IsVerticallyResizable( unsafe.Pointer(x.Pointer()), ) @@ -17290,7 +17290,7 @@ func (x gen_NSText) IsVerticallyResizable() bool { func (x gen_NSText) SetVerticallyResizable( value bool, ) { - C.NSText_inst_setVerticallyResizable( + C.NSText_inst_SetVerticallyResizable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17303,7 +17303,7 @@ func (x gen_NSText) SetVerticallyResizable( // // See https://developer.apple.com/documentation/appkit/nstext/1527489-horizontallyresizable?language=objc for details. func (x gen_NSText) IsHorizontallyResizable() bool { - ret := C.NSText_inst_isHorizontallyResizable( + ret := C.NSText_inst_IsHorizontallyResizable( unsafe.Pointer(x.Pointer()), ) @@ -17317,7 +17317,7 @@ func (x gen_NSText) IsHorizontallyResizable() bool { func (x gen_NSText) SetHorizontallyResizable( value bool, ) { - C.NSText_inst_setHorizontallyResizable( + C.NSText_inst_SetHorizontallyResizable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17330,7 +17330,7 @@ func (x gen_NSText) SetHorizontallyResizable( // // See https://developer.apple.com/documentation/appkit/nstext/1529480-delegate?language=objc for details. func (x gen_NSText) Delegate() objc.Object { - ret := C.NSText_inst_delegate( + ret := C.NSText_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -17344,7 +17344,7 @@ func (x gen_NSText) Delegate() objc.Object { func (x gen_NSText) SetDelegate( value objc.Ref, ) { - C.NSText_inst_setDelegate( + C.NSText_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17378,7 +17378,7 @@ func NSTextField_fromRef(ref objc.Ref) NSTextField { func (x gen_NSTextField) SelectText( sender objc.Ref, ) { - C.NSTextField_inst_selectText( + C.NSTextField_inst_SelectText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -17393,7 +17393,7 @@ func (x gen_NSTextField) SelectText( func (x gen_NSTextField) TextShouldBeginEditing( textObject NSTextRef, ) bool { - ret := C.NSTextField_inst_textShouldBeginEditing( + ret := C.NSTextField_inst_TextShouldBeginEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObject), ) @@ -17408,7 +17408,7 @@ func (x gen_NSTextField) TextShouldBeginEditing( func (x gen_NSTextField) TextShouldEndEditing( textObject NSTextRef, ) bool { - ret := C.NSTextField_inst_textShouldEndEditing( + ret := C.NSTextField_inst_TextShouldEndEditing( unsafe.Pointer(x.Pointer()), objc.RefPointer(textObject), ) @@ -17421,7 +17421,7 @@ func (x gen_NSTextField) TextShouldEndEditing( // // See for details. func (x gen_NSTextField) Init_asNSTextField() NSTextField { - ret := C.NSTextField_inst_init( + ret := C.NSTextField_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -17433,7 +17433,7 @@ func (x gen_NSTextField) Init_asNSTextField() NSTextField { // // See https://developer.apple.com/documentation/appkit/nstextfield/1399422-selectable?language=objc for details. func (x gen_NSTextField) IsSelectable() bool { - ret := C.NSTextField_inst_isSelectable( + ret := C.NSTextField_inst_IsSelectable( unsafe.Pointer(x.Pointer()), ) @@ -17447,7 +17447,7 @@ func (x gen_NSTextField) IsSelectable() bool { func (x gen_NSTextField) SetSelectable( value bool, ) { - C.NSTextField_inst_setSelectable( + C.NSTextField_inst_SetSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17460,7 +17460,7 @@ func (x gen_NSTextField) SetSelectable( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399407-editable?language=objc for details. func (x gen_NSTextField) IsEditable() bool { - ret := C.NSTextField_inst_isEditable( + ret := C.NSTextField_inst_IsEditable( unsafe.Pointer(x.Pointer()), ) @@ -17474,7 +17474,7 @@ func (x gen_NSTextField) IsEditable() bool { func (x gen_NSTextField) SetEditable( value bool, ) { - C.NSTextField_inst_setEditable( + C.NSTextField_inst_SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17487,7 +17487,7 @@ func (x gen_NSTextField) SetEditable( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399401-allowseditingtextattributes?language=objc for details. func (x gen_NSTextField) AllowsEditingTextAttributes() bool { - ret := C.NSTextField_inst_allowsEditingTextAttributes( + ret := C.NSTextField_inst_AllowsEditingTextAttributes( unsafe.Pointer(x.Pointer()), ) @@ -17501,7 +17501,7 @@ func (x gen_NSTextField) AllowsEditingTextAttributes() bool { func (x gen_NSTextField) SetAllowsEditingTextAttributes( value bool, ) { - C.NSTextField_inst_setAllowsEditingTextAttributes( + C.NSTextField_inst_SetAllowsEditingTextAttributes( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17514,7 +17514,7 @@ func (x gen_NSTextField) SetAllowsEditingTextAttributes( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399428-importsgraphics?language=objc for details. func (x gen_NSTextField) ImportsGraphics() bool { - ret := C.NSTextField_inst_importsGraphics( + ret := C.NSTextField_inst_ImportsGraphics( unsafe.Pointer(x.Pointer()), ) @@ -17528,7 +17528,7 @@ func (x gen_NSTextField) ImportsGraphics() bool { func (x gen_NSTextField) SetImportsGraphics( value bool, ) { - C.NSTextField_inst_setImportsGraphics( + C.NSTextField_inst_SetImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17541,7 +17541,7 @@ func (x gen_NSTextField) SetImportsGraphics( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399391-placeholderstring?language=objc for details. func (x gen_NSTextField) PlaceholderString() core.NSString { - ret := C.NSTextField_inst_placeholderString( + ret := C.NSTextField_inst_PlaceholderString( unsafe.Pointer(x.Pointer()), ) @@ -17555,7 +17555,7 @@ func (x gen_NSTextField) PlaceholderString() core.NSString { func (x gen_NSTextField) SetPlaceholderString( value core.NSStringRef, ) { - C.NSTextField_inst_setPlaceholderString( + C.NSTextField_inst_SetPlaceholderString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17568,7 +17568,7 @@ func (x gen_NSTextField) SetPlaceholderString( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399387-placeholderattributedstring?language=objc for details. func (x gen_NSTextField) PlaceholderAttributedString() core.NSAttributedString { - ret := C.NSTextField_inst_placeholderAttributedString( + ret := C.NSTextField_inst_PlaceholderAttributedString( unsafe.Pointer(x.Pointer()), ) @@ -17582,7 +17582,7 @@ func (x gen_NSTextField) PlaceholderAttributedString() core.NSAttributedString { func (x gen_NSTextField) SetPlaceholderAttributedString( value core.NSAttributedStringRef, ) { - C.NSTextField_inst_setPlaceholderAttributedString( + C.NSTextField_inst_SetPlaceholderAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17595,7 +17595,7 @@ func (x gen_NSTextField) SetPlaceholderAttributedString( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399405-allowsdefaulttighteningfortrunca?language=objc for details. func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() bool { - ret := C.NSTextField_inst_allowsDefaultTighteningForTruncation( + ret := C.NSTextField_inst_AllowsDefaultTighteningForTruncation( unsafe.Pointer(x.Pointer()), ) @@ -17609,7 +17609,7 @@ func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() bool { func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( value bool, ) { - C.NSTextField_inst_setAllowsDefaultTighteningForTruncation( + C.NSTextField_inst_SetAllowsDefaultTighteningForTruncation( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17622,7 +17622,7 @@ func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399424-maximumnumberoflines?language=objc for details. func (x gen_NSTextField) MaximumNumberOfLines() core.NSInteger { - ret := C.NSTextField_inst_maximumNumberOfLines( + ret := C.NSTextField_inst_MaximumNumberOfLines( unsafe.Pointer(x.Pointer()), ) @@ -17636,7 +17636,7 @@ func (x gen_NSTextField) MaximumNumberOfLines() core.NSInteger { func (x gen_NSTextField) SetMaximumNumberOfLines( value core.NSInteger, ) { - C.NSTextField_inst_setMaximumNumberOfLines( + C.NSTextField_inst_SetMaximumNumberOfLines( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -17649,7 +17649,7 @@ func (x gen_NSTextField) SetMaximumNumberOfLines( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399395-preferredmaxlayoutwidth?language=objc for details. func (x gen_NSTextField) PreferredMaxLayoutWidth() core.CGFloat { - ret := C.NSTextField_inst_preferredMaxLayoutWidth( + ret := C.NSTextField_inst_PreferredMaxLayoutWidth( unsafe.Pointer(x.Pointer()), ) @@ -17663,7 +17663,7 @@ func (x gen_NSTextField) PreferredMaxLayoutWidth() core.CGFloat { func (x gen_NSTextField) SetPreferredMaxLayoutWidth( value core.CGFloat, ) { - C.NSTextField_inst_setPreferredMaxLayoutWidth( + C.NSTextField_inst_SetPreferredMaxLayoutWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -17676,7 +17676,7 @@ func (x gen_NSTextField) SetPreferredMaxLayoutWidth( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399409-textcolor?language=objc for details. func (x gen_NSTextField) TextColor() NSColor { - ret := C.NSTextField_inst_textColor( + ret := C.NSTextField_inst_TextColor( unsafe.Pointer(x.Pointer()), ) @@ -17690,7 +17690,7 @@ func (x gen_NSTextField) TextColor() NSColor { func (x gen_NSTextField) SetTextColor( value NSColorRef, ) { - C.NSTextField_inst_setTextColor( + C.NSTextField_inst_SetTextColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17703,7 +17703,7 @@ func (x gen_NSTextField) SetTextColor( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399389-backgroundcolor?language=objc for details. func (x gen_NSTextField) BackgroundColor() NSColor { - ret := C.NSTextField_inst_backgroundColor( + ret := C.NSTextField_inst_BackgroundColor( unsafe.Pointer(x.Pointer()), ) @@ -17717,7 +17717,7 @@ func (x gen_NSTextField) BackgroundColor() NSColor { func (x gen_NSTextField) SetBackgroundColor( value NSColorRef, ) { - C.NSTextField_inst_setBackgroundColor( + C.NSTextField_inst_SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17730,7 +17730,7 @@ func (x gen_NSTextField) SetBackgroundColor( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399416-drawsbackground?language=objc for details. func (x gen_NSTextField) DrawsBackground() bool { - ret := C.NSTextField_inst_drawsBackground( + ret := C.NSTextField_inst_DrawsBackground( unsafe.Pointer(x.Pointer()), ) @@ -17744,7 +17744,7 @@ func (x gen_NSTextField) DrawsBackground() bool { func (x gen_NSTextField) SetDrawsBackground( value bool, ) { - C.NSTextField_inst_setDrawsBackground( + C.NSTextField_inst_SetDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17757,7 +17757,7 @@ func (x gen_NSTextField) SetDrawsBackground( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399435-bezeled?language=objc for details. func (x gen_NSTextField) IsBezeled() bool { - ret := C.NSTextField_inst_isBezeled( + ret := C.NSTextField_inst_IsBezeled( unsafe.Pointer(x.Pointer()), ) @@ -17771,7 +17771,7 @@ func (x gen_NSTextField) IsBezeled() bool { func (x gen_NSTextField) SetBezeled( value bool, ) { - C.NSTextField_inst_setBezeled( + C.NSTextField_inst_SetBezeled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17784,7 +17784,7 @@ func (x gen_NSTextField) SetBezeled( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399403-bordered?language=objc for details. func (x gen_NSTextField) IsBordered() bool { - ret := C.NSTextField_inst_isBordered( + ret := C.NSTextField_inst_IsBordered( unsafe.Pointer(x.Pointer()), ) @@ -17798,7 +17798,7 @@ func (x gen_NSTextField) IsBordered() bool { func (x gen_NSTextField) SetBordered( value bool, ) { - C.NSTextField_inst_setBordered( + C.NSTextField_inst_SetBordered( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17811,7 +17811,7 @@ func (x gen_NSTextField) SetBordered( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399393-acceptsfirstresponder?language=objc for details. func (x gen_NSTextField) AcceptsFirstResponder() bool { - ret := C.NSTextField_inst_acceptsFirstResponder( + ret := C.NSTextField_inst_AcceptsFirstResponder( unsafe.Pointer(x.Pointer()), ) @@ -17823,7 +17823,7 @@ func (x gen_NSTextField) AcceptsFirstResponder() bool { // // See https://developer.apple.com/documentation/appkit/nstextfield/2539553-allowscharacterpickertouchbarite?language=objc for details. func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() bool { - ret := C.NSTextField_inst_allowsCharacterPickerTouchBarItem( + ret := C.NSTextField_inst_AllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), ) @@ -17837,7 +17837,7 @@ func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() bool { func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( value bool, ) { - C.NSTextField_inst_setAllowsCharacterPickerTouchBarItem( + C.NSTextField_inst_SetAllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17850,7 +17850,7 @@ func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( // // See https://developer.apple.com/documentation/appkit/nstextfield/2539554-automatictextcompletionenabled?language=objc for details. func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() bool { - ret := C.NSTextField_inst_isAutomaticTextCompletionEnabled( + ret := C.NSTextField_inst_IsAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -17864,7 +17864,7 @@ func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() bool { func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( value bool, ) { - C.NSTextField_inst_setAutomaticTextCompletionEnabled( + C.NSTextField_inst_SetAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -17877,7 +17877,7 @@ func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextfield/1399437-delegate?language=objc for details. func (x gen_NSTextField) Delegate() objc.Object { - ret := C.NSTextField_inst_delegate( + ret := C.NSTextField_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -17891,7 +17891,7 @@ func (x gen_NSTextField) Delegate() objc.Object { func (x gen_NSTextField) SetDelegate( value objc.Ref, ) { - C.NSTextField_inst_setDelegate( + C.NSTextField_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17925,7 +17925,7 @@ func NSTextContainer_fromRef(ref objc.Ref) NSTextContainer { func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( size core.NSSize, ) NSTextContainer { - ret := C.NSTextContainer_inst_initWithSize( + ret := C.NSTextContainer_inst_InitWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -17940,7 +17940,7 @@ func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( func (x gen_NSTextContainer) ReplaceLayoutManager( newLayoutManager NSLayoutManagerRef, ) { - C.NSTextContainer_inst_replaceLayoutManager( + C.NSTextContainer_inst_ReplaceLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(newLayoutManager), ) @@ -17953,7 +17953,7 @@ func (x gen_NSTextContainer) ReplaceLayoutManager( // // See for details. func (x gen_NSTextContainer) Init_asNSTextContainer() NSTextContainer { - ret := C.NSTextContainer_inst_init( + ret := C.NSTextContainer_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -17965,7 +17965,7 @@ func (x gen_NSTextContainer) Init_asNSTextContainer() NSTextContainer { // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444517-layoutmanager?language=objc for details. func (x gen_NSTextContainer) LayoutManager() NSLayoutManager { - ret := C.NSTextContainer_inst_layoutManager( + ret := C.NSTextContainer_inst_LayoutManager( unsafe.Pointer(x.Pointer()), ) @@ -17979,7 +17979,7 @@ func (x gen_NSTextContainer) LayoutManager() NSLayoutManager { func (x gen_NSTextContainer) SetLayoutManager( value NSLayoutManagerRef, ) { - C.NSTextContainer_inst_setLayoutManager( + C.NSTextContainer_inst_SetLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -17992,7 +17992,7 @@ func (x gen_NSTextContainer) SetLayoutManager( // // See https://developer.apple.com/documentation/appkit/nstextcontainer/1444537-textview?language=objc for details. func (x gen_NSTextContainer) TextView() NSTextView { - ret := C.NSTextContainer_inst_textView( + ret := C.NSTextContainer_inst_TextView( unsafe.Pointer(x.Pointer()), ) @@ -18006,7 +18006,7 @@ func (x gen_NSTextContainer) TextView() NSTextView { func (x gen_NSTextContainer) SetTextView( value NSTextViewRef, ) { - C.NSTextContainer_inst_setTextView( + C.NSTextContainer_inst_SetTextView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18019,7 +18019,7 @@ func (x gen_NSTextContainer) SetTextView( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444553-size?language=objc for details. func (x gen_NSTextContainer) Size() core.NSSize { - ret := C.NSTextContainer_inst_size( + ret := C.NSTextContainer_inst_Size( unsafe.Pointer(x.Pointer()), ) @@ -18033,7 +18033,7 @@ func (x gen_NSTextContainer) Size() core.NSSize { func (x gen_NSTextContainer) SetSize( value core.NSSize, ) { - C.NSTextContainer_inst_setSize( + C.NSTextContainer_inst_SetSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18046,7 +18046,7 @@ func (x gen_NSTextContainer) SetSize( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444569-exclusionpaths?language=objc for details. func (x gen_NSTextContainer) ExclusionPaths() core.NSArray { - ret := C.NSTextContainer_inst_exclusionPaths( + ret := C.NSTextContainer_inst_ExclusionPaths( unsafe.Pointer(x.Pointer()), ) @@ -18060,7 +18060,7 @@ func (x gen_NSTextContainer) ExclusionPaths() core.NSArray { func (x gen_NSTextContainer) SetExclusionPaths( value core.NSArrayRef, ) { - C.NSTextContainer_inst_setExclusionPaths( + C.NSTextContainer_inst_SetExclusionPaths( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18073,7 +18073,7 @@ func (x gen_NSTextContainer) SetExclusionPaths( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444563-widthtrackstextview?language=objc for details. func (x gen_NSTextContainer) WidthTracksTextView() bool { - ret := C.NSTextContainer_inst_widthTracksTextView( + ret := C.NSTextContainer_inst_WidthTracksTextView( unsafe.Pointer(x.Pointer()), ) @@ -18087,7 +18087,7 @@ func (x gen_NSTextContainer) WidthTracksTextView() bool { func (x gen_NSTextContainer) SetWidthTracksTextView( value bool, ) { - C.NSTextContainer_inst_setWidthTracksTextView( + C.NSTextContainer_inst_SetWidthTracksTextView( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18100,7 +18100,7 @@ func (x gen_NSTextContainer) SetWidthTracksTextView( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444559-heighttrackstextview?language=objc for details. func (x gen_NSTextContainer) HeightTracksTextView() bool { - ret := C.NSTextContainer_inst_heightTracksTextView( + ret := C.NSTextContainer_inst_HeightTracksTextView( unsafe.Pointer(x.Pointer()), ) @@ -18114,7 +18114,7 @@ func (x gen_NSTextContainer) HeightTracksTextView() bool { func (x gen_NSTextContainer) SetHeightTracksTextView( value bool, ) { - C.NSTextContainer_inst_setHeightTracksTextView( + C.NSTextContainer_inst_SetHeightTracksTextView( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18127,7 +18127,7 @@ func (x gen_NSTextContainer) SetHeightTracksTextView( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444531-maximumnumberoflines?language=objc for details. func (x gen_NSTextContainer) MaximumNumberOfLines() core.NSUInteger { - ret := C.NSTextContainer_inst_maximumNumberOfLines( + ret := C.NSTextContainer_inst_MaximumNumberOfLines( unsafe.Pointer(x.Pointer()), ) @@ -18141,7 +18141,7 @@ func (x gen_NSTextContainer) MaximumNumberOfLines() core.NSUInteger { func (x gen_NSTextContainer) SetMaximumNumberOfLines( value core.NSUInteger, ) { - C.NSTextContainer_inst_setMaximumNumberOfLines( + C.NSTextContainer_inst_SetMaximumNumberOfLines( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -18154,7 +18154,7 @@ func (x gen_NSTextContainer) SetMaximumNumberOfLines( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444527-linefragmentpadding?language=objc for details. func (x gen_NSTextContainer) LineFragmentPadding() core.CGFloat { - ret := C.NSTextContainer_inst_lineFragmentPadding( + ret := C.NSTextContainer_inst_LineFragmentPadding( unsafe.Pointer(x.Pointer()), ) @@ -18168,7 +18168,7 @@ func (x gen_NSTextContainer) LineFragmentPadding() core.CGFloat { func (x gen_NSTextContainer) SetLineFragmentPadding( value core.CGFloat, ) { - C.NSTextContainer_inst_setLineFragmentPadding( + C.NSTextContainer_inst_SetLineFragmentPadding( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -18181,7 +18181,7 @@ func (x gen_NSTextContainer) SetLineFragmentPadding( // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444525-simplerectangulartextcontainer?language=objc for details. func (x gen_NSTextContainer) IsSimpleRectangularTextContainer() bool { - ret := C.NSTextContainer_inst_isSimpleRectangularTextContainer( + ret := C.NSTextContainer_inst_IsSimpleRectangularTextContainer( unsafe.Pointer(x.Pointer()), ) @@ -18214,7 +18214,7 @@ func NSViewController_fromRef(ref objc.Ref) NSViewController { func (x gen_NSViewController) AddChildViewController( childViewController NSViewControllerRef, ) { - C.NSViewController_inst_addChildViewController( + C.NSViewController_inst_AddChildViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(childViewController), ) @@ -18227,7 +18227,7 @@ func (x gen_NSViewController) AddChildViewController( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434485-commitediting?language=objc for details. func (x gen_NSViewController) CommitEditing() bool { - ret := C.NSViewController_inst_commitEditing( + ret := C.NSViewController_inst_CommitEditing( unsafe.Pointer(x.Pointer()), ) @@ -18235,15 +18235,15 @@ func (x gen_NSViewController) CommitEditing() bool { } -// CommitEditingWithDelegate_didCommitSelector_contextInfo attempt to commit any currently edited results of the receiver. +// CommitEditingWithDelegateDidCommitSelectorContextInfo attempt to commit any currently edited results of the receiver. // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434464-commiteditingwithdelegate?language=objc for details. -func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo( +func (x gen_NSViewController) CommitEditingWithDelegateDidCommitSelectorContextInfo( delegate objc.Ref, didCommitSelector objc.Selector, contextInfo unsafe.Pointer, ) { - C.NSViewController_inst_commitEditingWithDelegate_didCommitSelector_contextInfo( + C.NSViewController_inst_CommitEditingWithDelegateDidCommitSelectorContextInfo( unsafe.Pointer(x.Pointer()), objc.RefPointer(delegate), didCommitSelector.SelectorAddress(), @@ -18258,7 +18258,7 @@ func (x gen_NSViewController) CommitEditingWithDelegate_didCommitSelector_contex // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434487-discardediting?language=objc for details. func (x gen_NSViewController) DiscardEditing() { - C.NSViewController_inst_discardEditing( + C.NSViewController_inst_DiscardEditing( unsafe.Pointer(x.Pointer()), ) @@ -18272,7 +18272,7 @@ func (x gen_NSViewController) DiscardEditing() { func (x gen_NSViewController) DismissController( sender objc.Ref, ) { - C.NSViewController_inst_dismissController( + C.NSViewController_inst_DismissController( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -18287,7 +18287,7 @@ func (x gen_NSViewController) DismissController( func (x gen_NSViewController) DismissViewController( viewController NSViewControllerRef, ) { - C.NSViewController_inst_dismissViewController( + C.NSViewController_inst_DismissViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) @@ -18296,14 +18296,14 @@ func (x gen_NSViewController) DismissViewController( } -// InsertChildViewController_atIndex inserts a specified child view controller into the childviewcontrollers array at a specified position. +// InsertChildViewControllerAtIndex inserts a specified child view controller into the childviewcontrollers array at a specified position. // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434437-insertchildviewcontroller?language=objc for details. -func (x gen_NSViewController) InsertChildViewController_atIndex( +func (x gen_NSViewController) InsertChildViewControllerAtIndex( childViewController NSViewControllerRef, index core.NSInteger, ) { - C.NSViewController_inst_insertChildViewController_atIndex( + C.NSViewController_inst_InsertChildViewControllerAtIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(childViewController), C.long(index), @@ -18317,7 +18317,7 @@ func (x gen_NSViewController) InsertChildViewController_atIndex( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434405-loadview?language=objc for details. func (x gen_NSViewController) LoadView() { - C.NSViewController_inst_loadView( + C.NSViewController_inst_LoadView( unsafe.Pointer(x.Pointer()), ) @@ -18331,7 +18331,7 @@ func (x gen_NSViewController) LoadView() { func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( viewController NSViewControllerRef, ) { - C.NSViewController_inst_preferredContentSizeDidChangeForViewController( + C.NSViewController_inst_PreferredContentSizeDidChangeForViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) @@ -18340,14 +18340,14 @@ func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( } -// PresentViewController_animator presents another view controller using a specified, custom animator for presentation and dismissal. +// PresentViewControllerAnimator presents another view controller using a specified, custom animator for presentation and dismissal. // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434431-presentviewcontroller?language=objc for details. -func (x gen_NSViewController) PresentViewController_animator( +func (x gen_NSViewController) PresentViewControllerAnimator( viewController NSViewControllerRef, animator objc.Ref, ) { - C.NSViewController_inst_presentViewController_animator( + C.NSViewController_inst_PresentViewControllerAnimator( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), objc.RefPointer(animator), @@ -18363,7 +18363,7 @@ func (x gen_NSViewController) PresentViewController_animator( func (x gen_NSViewController) PresentViewControllerAsModalWindow( viewController NSViewControllerRef, ) { - C.NSViewController_inst_presentViewControllerAsModalWindow( + C.NSViewController_inst_PresentViewControllerAsModalWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) @@ -18378,7 +18378,7 @@ func (x gen_NSViewController) PresentViewControllerAsModalWindow( func (x gen_NSViewController) PresentViewControllerAsSheet( viewController NSViewControllerRef, ) { - C.NSViewController_inst_presentViewControllerAsSheet( + C.NSViewController_inst_PresentViewControllerAsSheet( unsafe.Pointer(x.Pointer()), objc.RefPointer(viewController), ) @@ -18393,7 +18393,7 @@ func (x gen_NSViewController) PresentViewControllerAsSheet( func (x gen_NSViewController) RemoveChildViewControllerAtIndex( index core.NSInteger, ) { - C.NSViewController_inst_removeChildViewControllerAtIndex( + C.NSViewController_inst_RemoveChildViewControllerAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -18406,7 +18406,7 @@ func (x gen_NSViewController) RemoveChildViewControllerAtIndex( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434466-removefromparentviewcontroller?language=objc for details. func (x gen_NSViewController) RemoveFromParentViewController() { - C.NSViewController_inst_removeFromParentViewController( + C.NSViewController_inst_RemoveFromParentViewController( unsafe.Pointer(x.Pointer()), ) @@ -18418,7 +18418,7 @@ func (x gen_NSViewController) RemoveFromParentViewController() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434400-updateviewconstraints?language=objc for details. func (x gen_NSViewController) UpdateViewConstraints() { - C.NSViewController_inst_updateViewConstraints( + C.NSViewController_inst_UpdateViewConstraints( unsafe.Pointer(x.Pointer()), ) @@ -18430,7 +18430,7 @@ func (x gen_NSViewController) UpdateViewConstraints() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434455-viewdidappear?language=objc for details. func (x gen_NSViewController) ViewDidAppear() { - C.NSViewController_inst_viewDidAppear( + C.NSViewController_inst_ViewDidAppear( unsafe.Pointer(x.Pointer()), ) @@ -18442,7 +18442,7 @@ func (x gen_NSViewController) ViewDidAppear() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434416-viewdiddisappear?language=objc for details. func (x gen_NSViewController) ViewDidDisappear() { - C.NSViewController_inst_viewDidDisappear( + C.NSViewController_inst_ViewDidDisappear( unsafe.Pointer(x.Pointer()), ) @@ -18454,7 +18454,7 @@ func (x gen_NSViewController) ViewDidDisappear() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434451-viewdidlayout?language=objc for details. func (x gen_NSViewController) ViewDidLayout() { - C.NSViewController_inst_viewDidLayout( + C.NSViewController_inst_ViewDidLayout( unsafe.Pointer(x.Pointer()), ) @@ -18466,7 +18466,7 @@ func (x gen_NSViewController) ViewDidLayout() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434476-viewdidload?language=objc for details. func (x gen_NSViewController) ViewDidLoad() { - C.NSViewController_inst_viewDidLoad( + C.NSViewController_inst_ViewDidLoad( unsafe.Pointer(x.Pointer()), ) @@ -18478,7 +18478,7 @@ func (x gen_NSViewController) ViewDidLoad() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434415-viewwillappear?language=objc for details. func (x gen_NSViewController) ViewWillAppear() { - C.NSViewController_inst_viewWillAppear( + C.NSViewController_inst_ViewWillAppear( unsafe.Pointer(x.Pointer()), ) @@ -18490,7 +18490,7 @@ func (x gen_NSViewController) ViewWillAppear() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434483-viewwilldisappear?language=objc for details. func (x gen_NSViewController) ViewWillDisappear() { - C.NSViewController_inst_viewWillDisappear( + C.NSViewController_inst_ViewWillDisappear( unsafe.Pointer(x.Pointer()), ) @@ -18502,7 +18502,7 @@ func (x gen_NSViewController) ViewWillDisappear() { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434495-viewwilllayout?language=objc for details. func (x gen_NSViewController) ViewWillLayout() { - C.NSViewController_inst_viewWillLayout( + C.NSViewController_inst_ViewWillLayout( unsafe.Pointer(x.Pointer()), ) @@ -18516,7 +18516,7 @@ func (x gen_NSViewController) ViewWillLayout() { func (x gen_NSViewController) ViewWillTransitionToSize( newSize core.NSSize, ) { - C.NSViewController_inst_viewWillTransitionToSize( + C.NSViewController_inst_ViewWillTransitionToSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) @@ -18529,7 +18529,7 @@ func (x gen_NSViewController) ViewWillTransitionToSize( // // See for details. func (x gen_NSViewController) Init_asNSViewController() NSViewController { - ret := C.NSViewController_inst_init( + ret := C.NSViewController_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -18541,7 +18541,7 @@ func (x gen_NSViewController) Init_asNSViewController() NSViewController { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434453-representedobject?language=objc for details. func (x gen_NSViewController) RepresentedObject() objc.Object { - ret := C.NSViewController_inst_representedObject( + ret := C.NSViewController_inst_RepresentedObject( unsafe.Pointer(x.Pointer()), ) @@ -18555,7 +18555,7 @@ func (x gen_NSViewController) RepresentedObject() objc.Object { func (x gen_NSViewController) SetRepresentedObject( value objc.Ref, ) { - C.NSViewController_inst_setRepresentedObject( + C.NSViewController_inst_SetRepresentedObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18568,7 +18568,7 @@ func (x gen_NSViewController) SetRepresentedObject( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434433-nibbundle?language=objc for details. func (x gen_NSViewController) NibBundle() NSBundle { - ret := C.NSViewController_inst_nibBundle( + ret := C.NSViewController_inst_NibBundle( unsafe.Pointer(x.Pointer()), ) @@ -18580,7 +18580,7 @@ func (x gen_NSViewController) NibBundle() NSBundle { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434401-view?language=objc for details. func (x gen_NSViewController) View() NSView { - ret := C.NSViewController_inst_view( + ret := C.NSViewController_inst_View( unsafe.Pointer(x.Pointer()), ) @@ -18594,7 +18594,7 @@ func (x gen_NSViewController) View() NSView { func (x gen_NSViewController) SetView( value NSViewRef, ) { - C.NSViewController_inst_setView( + C.NSViewController_inst_SetView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18607,7 +18607,7 @@ func (x gen_NSViewController) SetView( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434426-title?language=objc for details. func (x gen_NSViewController) Title() core.NSString { - ret := C.NSViewController_inst_title( + ret := C.NSViewController_inst_Title( unsafe.Pointer(x.Pointer()), ) @@ -18621,7 +18621,7 @@ func (x gen_NSViewController) Title() core.NSString { func (x gen_NSViewController) SetTitle( value core.NSStringRef, ) { - C.NSViewController_inst_setTitle( + C.NSViewController_inst_SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18634,7 +18634,7 @@ func (x gen_NSViewController) SetTitle( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434435-viewloaded?language=objc for details. func (x gen_NSViewController) IsViewLoaded() bool { - ret := C.NSViewController_inst_isViewLoaded( + ret := C.NSViewController_inst_IsViewLoaded( unsafe.Pointer(x.Pointer()), ) @@ -18646,7 +18646,7 @@ func (x gen_NSViewController) IsViewLoaded() bool { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434409-preferredcontentsize?language=objc for details. func (x gen_NSViewController) PreferredContentSize() core.NSSize { - ret := C.NSViewController_inst_preferredContentSize( + ret := C.NSViewController_inst_PreferredContentSize( unsafe.Pointer(x.Pointer()), ) @@ -18660,7 +18660,7 @@ func (x gen_NSViewController) PreferredContentSize() core.NSSize { func (x gen_NSViewController) SetPreferredContentSize( value core.NSSize, ) { - C.NSViewController_inst_setPreferredContentSize( + C.NSViewController_inst_SetPreferredContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -18673,7 +18673,7 @@ func (x gen_NSViewController) SetPreferredContentSize( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434432-childviewcontrollers?language=objc for details. func (x gen_NSViewController) ChildViewControllers() core.NSArray { - ret := C.NSViewController_inst_childViewControllers( + ret := C.NSViewController_inst_ChildViewControllers( unsafe.Pointer(x.Pointer()), ) @@ -18687,7 +18687,7 @@ func (x gen_NSViewController) ChildViewControllers() core.NSArray { func (x gen_NSViewController) SetChildViewControllers( value core.NSArrayRef, ) { - C.NSViewController_inst_setChildViewControllers( + C.NSViewController_inst_SetChildViewControllers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18700,7 +18700,7 @@ func (x gen_NSViewController) SetChildViewControllers( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434491-parentviewcontroller?language=objc for details. func (x gen_NSViewController) ParentViewController() NSViewController { - ret := C.NSViewController_inst_parentViewController( + ret := C.NSViewController_inst_ParentViewController( unsafe.Pointer(x.Pointer()), ) @@ -18712,7 +18712,7 @@ func (x gen_NSViewController) ParentViewController() NSViewController { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434497-presentedviewcontrollers?language=objc for details. func (x gen_NSViewController) PresentedViewControllers() core.NSArray { - ret := C.NSViewController_inst_presentedViewControllers( + ret := C.NSViewController_inst_PresentedViewControllers( unsafe.Pointer(x.Pointer()), ) @@ -18724,7 +18724,7 @@ func (x gen_NSViewController) PresentedViewControllers() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434439-presentingviewcontroller?language=objc for details. func (x gen_NSViewController) PresentingViewController() NSViewController { - ret := C.NSViewController_inst_presentingViewController( + ret := C.NSViewController_inst_PresentingViewController( unsafe.Pointer(x.Pointer()), ) @@ -18736,7 +18736,7 @@ func (x gen_NSViewController) PresentingViewController() NSViewController { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434468-preferredscreenorigin?language=objc for details. func (x gen_NSViewController) PreferredScreenOrigin() core.NSPoint { - ret := C.NSViewController_inst_preferredScreenOrigin( + ret := C.NSViewController_inst_PreferredScreenOrigin( unsafe.Pointer(x.Pointer()), ) @@ -18750,7 +18750,7 @@ func (x gen_NSViewController) PreferredScreenOrigin() core.NSPoint { func (x gen_NSViewController) SetPreferredScreenOrigin( value core.NSPoint, ) { - C.NSViewController_inst_setPreferredScreenOrigin( + C.NSViewController_inst_SetPreferredScreenOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&value)), ) @@ -18763,7 +18763,7 @@ func (x gen_NSViewController) SetPreferredScreenOrigin( // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434403-preferredmaximumsize?language=objc for details. func (x gen_NSViewController) PreferredMaximumSize() core.NSSize { - ret := C.NSViewController_inst_preferredMaximumSize( + ret := C.NSViewController_inst_PreferredMaximumSize( unsafe.Pointer(x.Pointer()), ) @@ -18775,7 +18775,7 @@ func (x gen_NSViewController) PreferredMaximumSize() core.NSSize { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434418-preferredminimumsize?language=objc for details. func (x gen_NSViewController) PreferredMinimumSize() core.NSSize { - ret := C.NSViewController_inst_preferredMinimumSize( + ret := C.NSViewController_inst_PreferredMinimumSize( unsafe.Pointer(x.Pointer()), ) @@ -18787,7 +18787,7 @@ func (x gen_NSViewController) PreferredMinimumSize() core.NSSize { // // See https://developer.apple.com/documentation/appkit/nsviewcontroller/1434479-sourceitemview?language=objc for details. func (x gen_NSViewController) SourceItemView() NSView { - ret := C.NSViewController_inst_sourceItemView( + ret := C.NSViewController_inst_SourceItemView( unsafe.Pointer(x.Pointer()), ) @@ -18801,7 +18801,7 @@ func (x gen_NSViewController) SourceItemView() NSView { func (x gen_NSViewController) SetSourceItemView( value NSViewRef, ) { - C.NSViewController_inst_setSourceItemView( + C.NSViewController_inst_SetSourceItemView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18833,7 +18833,7 @@ func NSVisualEffectView_fromRef(ref objc.Ref) NSVisualEffectView { // // See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1534300-viewdidmovetowindow?language=objc for details. func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { - C.NSVisualEffectView_inst_viewDidMoveToWindow( + C.NSVisualEffectView_inst_ViewDidMoveToWindow( unsafe.Pointer(x.Pointer()), ) @@ -18847,7 +18847,7 @@ func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { func (x gen_NSVisualEffectView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { - C.NSVisualEffectView_inst_viewWillMoveToWindow( + C.NSVisualEffectView_inst_ViewWillMoveToWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(newWindow), ) @@ -18860,7 +18860,7 @@ func (x gen_NSVisualEffectView) ViewWillMoveToWindow( // // See for details. func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() NSVisualEffectView { - ret := C.NSVisualEffectView_inst_init( + ret := C.NSVisualEffectView_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -18872,7 +18872,7 @@ func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() NSVisualEffectView { // // See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1644721-emphasized?language=objc for details. func (x gen_NSVisualEffectView) IsEmphasized() bool { - ret := C.NSVisualEffectView_inst_isEmphasized( + ret := C.NSVisualEffectView_inst_IsEmphasized( unsafe.Pointer(x.Pointer()), ) @@ -18886,7 +18886,7 @@ func (x gen_NSVisualEffectView) IsEmphasized() bool { func (x gen_NSVisualEffectView) SetEmphasized( value bool, ) { - C.NSVisualEffectView_inst_setEmphasized( + C.NSVisualEffectView_inst_SetEmphasized( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -18899,7 +18899,7 @@ func (x gen_NSVisualEffectView) SetEmphasized( // // See https://developer.apple.com/documentation/appkit/nsvisualeffectview/1535318-maskimage?language=objc for details. func (x gen_NSVisualEffectView) MaskImage() NSImage { - ret := C.NSVisualEffectView_inst_maskImage( + ret := C.NSVisualEffectView_inst_MaskImage( unsafe.Pointer(x.Pointer()), ) @@ -18913,7 +18913,7 @@ func (x gen_NSVisualEffectView) MaskImage() NSImage { func (x gen_NSVisualEffectView) SetMaskImage( value NSImageRef, ) { - C.NSVisualEffectView_inst_setMaskImage( + C.NSVisualEffectView_inst_SetMaskImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -18941,14 +18941,14 @@ func NSWindow_fromRef(ref objc.Ref) NSWindow { return NSWindow_fromPointer(unsafe.Pointer(ref.Pointer())) } -// AddChildWindow_ordered adds a given window as a child window of the window. +// AddChildWindowOrdered adds a given window as a child window of the window. // // See https://developer.apple.com/documentation/appkit/nswindow/1419152-addchildwindow?language=objc for details. -func (x gen_NSWindow) AddChildWindow_ordered( +func (x gen_NSWindow) AddChildWindowOrdered( childWin NSWindowRef, place core.NSUInteger, ) { - C.NSWindow_inst_addChildWindow_ordered( + C.NSWindow_inst_AddChildWindowOrdered( unsafe.Pointer(x.Pointer()), objc.RefPointer(childWin), C.ulong(place), @@ -18958,14 +18958,14 @@ func (x gen_NSWindow) AddChildWindow_ordered( } -// AddTabbedWindow_ordered adds the provided window as a new tab in a tabbed window using the specified ordering instruction. +// AddTabbedWindowOrdered adds the provided window as a new tab in a tabbed window using the specified ordering instruction. // // See https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow?language=objc for details. -func (x gen_NSWindow) AddTabbedWindow_ordered( +func (x gen_NSWindow) AddTabbedWindowOrdered( window NSWindowRef, ordered core.NSUInteger, ) { - C.NSWindow_inst_addTabbedWindow_ordered( + C.NSWindow_inst_AddTabbedWindowOrdered( unsafe.Pointer(x.Pointer()), objc.RefPointer(window), C.ulong(ordered), @@ -18979,7 +18979,7 @@ func (x gen_NSWindow) AddTabbedWindow_ordered( // // See https://developer.apple.com/documentation/appkit/nswindow/1419338-becomekeywindow?language=objc for details. func (x gen_NSWindow) BecomeKeyWindow() { - C.NSWindow_inst_becomeKeyWindow( + C.NSWindow_inst_BecomeKeyWindow( unsafe.Pointer(x.Pointer()), ) @@ -18991,7 +18991,7 @@ func (x gen_NSWindow) BecomeKeyWindow() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419084-becomemainwindow?language=objc for details. func (x gen_NSWindow) BecomeMainWindow() { - C.NSWindow_inst_becomeMainWindow( + C.NSWindow_inst_BecomeMainWindow( unsafe.Pointer(x.Pointer()), ) @@ -19005,7 +19005,7 @@ func (x gen_NSWindow) BecomeMainWindow() { func (x gen_NSWindow) CascadeTopLeftFromPoint( topLeftPoint core.NSPoint, ) core.NSPoint { - ret := C.NSWindow_inst_cascadeTopLeftFromPoint( + ret := C.NSWindow_inst_CascadeTopLeftFromPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&topLeftPoint)), ) @@ -19018,7 +19018,7 @@ func (x gen_NSWindow) CascadeTopLeftFromPoint( // // See https://developer.apple.com/documentation/appkit/nswindow/1419090-center?language=objc for details. func (x gen_NSWindow) Center() { - C.NSWindow_inst_center( + C.NSWindow_inst_Center( unsafe.Pointer(x.Pointer()), ) @@ -19030,7 +19030,7 @@ func (x gen_NSWindow) Center() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419662-close?language=objc for details. func (x gen_NSWindow) Close() { - C.NSWindow_inst_close( + C.NSWindow_inst_Close( unsafe.Pointer(x.Pointer()), ) @@ -19038,14 +19038,14 @@ func (x gen_NSWindow) Close() { } -// ConstrainFrameRect_toScreen modifies and returns a frame rectangle so that its top edge lies on a specific screen. +// ConstrainFrameRectToScreen modifies and returns a frame rectangle so that its top edge lies on a specific screen. // // See https://developer.apple.com/documentation/appkit/nswindow/1419779-constrainframerect?language=objc for details. -func (x gen_NSWindow) ConstrainFrameRect_toScreen( +func (x gen_NSWindow) ConstrainFrameRectToScreen( frameRect core.NSRect, screen NSScreenRef, ) core.NSRect { - ret := C.NSWindow_inst_constrainFrameRect_toScreen( + ret := C.NSWindow_inst_ConstrainFrameRectToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), objc.RefPointer(screen), @@ -19061,7 +19061,7 @@ func (x gen_NSWindow) ConstrainFrameRect_toScreen( func (x gen_NSWindow) ContentRectForFrameRect( frameRect core.NSRect, ) core.NSRect { - ret := C.NSWindow_inst_contentRectForFrameRect( + ret := C.NSWindow_inst_ContentRectForFrameRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -19076,7 +19076,7 @@ func (x gen_NSWindow) ContentRectForFrameRect( func (x gen_NSWindow) ConvertPointFromBacking( point core.NSPoint, ) core.NSPoint { - ret := C.NSWindow_inst_convertPointFromBacking( + ret := C.NSWindow_inst_ConvertPointFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -19091,7 +19091,7 @@ func (x gen_NSWindow) ConvertPointFromBacking( func (x gen_NSWindow) ConvertPointFromScreen( point core.NSPoint, ) core.NSPoint { - ret := C.NSWindow_inst_convertPointFromScreen( + ret := C.NSWindow_inst_ConvertPointFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -19106,7 +19106,7 @@ func (x gen_NSWindow) ConvertPointFromScreen( func (x gen_NSWindow) ConvertPointToBacking( point core.NSPoint, ) core.NSPoint { - ret := C.NSWindow_inst_convertPointToBacking( + ret := C.NSWindow_inst_ConvertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -19121,7 +19121,7 @@ func (x gen_NSWindow) ConvertPointToBacking( func (x gen_NSWindow) ConvertPointToScreen( point core.NSPoint, ) core.NSPoint { - ret := C.NSWindow_inst_convertPointToScreen( + ret := C.NSWindow_inst_ConvertPointToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -19136,7 +19136,7 @@ func (x gen_NSWindow) ConvertPointToScreen( func (x gen_NSWindow) ConvertRectFromBacking( rect core.NSRect, ) core.NSRect { - ret := C.NSWindow_inst_convertRectFromBacking( + ret := C.NSWindow_inst_ConvertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19151,7 +19151,7 @@ func (x gen_NSWindow) ConvertRectFromBacking( func (x gen_NSWindow) ConvertRectFromScreen( rect core.NSRect, ) core.NSRect { - ret := C.NSWindow_inst_convertRectFromScreen( + ret := C.NSWindow_inst_ConvertRectFromScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19166,7 +19166,7 @@ func (x gen_NSWindow) ConvertRectFromScreen( func (x gen_NSWindow) ConvertRectToBacking( rect core.NSRect, ) core.NSRect { - ret := C.NSWindow_inst_convertRectToBacking( + ret := C.NSWindow_inst_ConvertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19181,7 +19181,7 @@ func (x gen_NSWindow) ConvertRectToBacking( func (x gen_NSWindow) ConvertRectToScreen( rect core.NSRect, ) core.NSRect { - ret := C.NSWindow_inst_convertRectToScreen( + ret := C.NSWindow_inst_ConvertRectToScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19196,7 +19196,7 @@ func (x gen_NSWindow) ConvertRectToScreen( func (x gen_NSWindow) DataWithEPSInsideRect( rect core.NSRect, ) core.NSData { - ret := C.NSWindow_inst_dataWithEPSInsideRect( + ret := C.NSWindow_inst_DataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19211,7 +19211,7 @@ func (x gen_NSWindow) DataWithEPSInsideRect( func (x gen_NSWindow) DataWithPDFInsideRect( rect core.NSRect, ) core.NSData { - ret := C.NSWindow_inst_dataWithPDFInsideRect( + ret := C.NSWindow_inst_DataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -19226,7 +19226,7 @@ func (x gen_NSWindow) DataWithPDFInsideRect( func (x gen_NSWindow) Deminiaturize( sender objc.Ref, ) { - C.NSWindow_inst_deminiaturize( + C.NSWindow_inst_Deminiaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19239,7 +19239,7 @@ func (x gen_NSWindow) Deminiaturize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419639-disablecursorrects?language=objc for details. func (x gen_NSWindow) DisableCursorRects() { - C.NSWindow_inst_disableCursorRects( + C.NSWindow_inst_DisableCursorRects( unsafe.Pointer(x.Pointer()), ) @@ -19251,7 +19251,7 @@ func (x gen_NSWindow) DisableCursorRects() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419242-disablekeyequivalentfordefaultbu?language=objc for details. func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { - C.NSWindow_inst_disableKeyEquivalentForDefaultButtonCell( + C.NSWindow_inst_DisableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), ) @@ -19263,7 +19263,7 @@ func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419483-disablescreenupdatesuntilflush?language=objc for details. func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { - C.NSWindow_inst_disableScreenUpdatesUntilFlush( + C.NSWindow_inst_DisableScreenUpdatesUntilFlush( unsafe.Pointer(x.Pointer()), ) @@ -19275,7 +19275,7 @@ func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { // // See https://developer.apple.com/documentation/appkit/nswindow/1526239-disablesnapshotrestoration?language=objc for details. func (x gen_NSWindow) DisableSnapshotRestoration() { - C.NSWindow_inst_disableSnapshotRestoration( + C.NSWindow_inst_DisableSnapshotRestoration( unsafe.Pointer(x.Pointer()), ) @@ -19287,7 +19287,7 @@ func (x gen_NSWindow) DisableSnapshotRestoration() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419269-discardcursorrects?language=objc for details. func (x gen_NSWindow) DiscardCursorRects() { - C.NSWindow_inst_discardCursorRects( + C.NSWindow_inst_DiscardCursorRects( unsafe.Pointer(x.Pointer()), ) @@ -19299,7 +19299,7 @@ func (x gen_NSWindow) DiscardCursorRects() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419358-display?language=objc for details. func (x gen_NSWindow) Display() { - C.NSWindow_inst_display( + C.NSWindow_inst_Display( unsafe.Pointer(x.Pointer()), ) @@ -19311,7 +19311,7 @@ func (x gen_NSWindow) Display() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419096-displayifneeded?language=objc for details. func (x gen_NSWindow) DisplayIfNeeded() { - C.NSWindow_inst_displayIfNeeded( + C.NSWindow_inst_DisplayIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -19319,10 +19319,10 @@ func (x gen_NSWindow) DisplayIfNeeded() { } -// DragImage_at_offset_event_pasteboard_source_slideBack begins a dragging session. +// DragImageAtOffsetEventPasteboardSourceSlideBack begins a dragging session. // // See https://developer.apple.com/documentation/appkit/nswindow/1419224-dragimage?language=objc for details. -func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( +func (x gen_NSWindow) DragImageAtOffsetEventPasteboardSourceSlideBack( image NSImageRef, baseLocation core.NSPoint, initialOffset core.NSSize, @@ -19331,7 +19331,7 @@ func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( sourceObj objc.Ref, slideFlag bool, ) { - C.NSWindow_inst_dragImage_at_offset_event_pasteboard_source_slideBack( + C.NSWindow_inst_DragImageAtOffsetEventPasteboardSourceSlideBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(image), *(*C.NSPoint)(unsafe.Pointer(&baseLocation)), @@ -19350,7 +19350,7 @@ func (x gen_NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack( // // See https://developer.apple.com/documentation/appkit/nswindow/1419202-enablecursorrects?language=objc for details. func (x gen_NSWindow) EnableCursorRects() { - C.NSWindow_inst_enableCursorRects( + C.NSWindow_inst_EnableCursorRects( unsafe.Pointer(x.Pointer()), ) @@ -19362,7 +19362,7 @@ func (x gen_NSWindow) EnableCursorRects() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419276-enablekeyequivalentfordefaultbut?language=objc for details. func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { - C.NSWindow_inst_enableKeyEquivalentForDefaultButtonCell( + C.NSWindow_inst_EnableKeyEquivalentForDefaultButtonCell( unsafe.Pointer(x.Pointer()), ) @@ -19374,7 +19374,7 @@ func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { // // See https://developer.apple.com/documentation/appkit/nswindow/1525288-enablesnapshotrestoration?language=objc for details. func (x gen_NSWindow) EnableSnapshotRestoration() { - C.NSWindow_inst_enableSnapshotRestoration( + C.NSWindow_inst_EnableSnapshotRestoration( unsafe.Pointer(x.Pointer()), ) @@ -19388,7 +19388,7 @@ func (x gen_NSWindow) EnableSnapshotRestoration() { func (x gen_NSWindow) EndEditingFor( object objc.Ref, ) { - C.NSWindow_inst_endEditingFor( + C.NSWindow_inst_EndEditingFor( unsafe.Pointer(x.Pointer()), objc.RefPointer(object), ) @@ -19403,7 +19403,7 @@ func (x gen_NSWindow) EndEditingFor( func (x gen_NSWindow) EndSheet( sheetWindow NSWindowRef, ) { - C.NSWindow_inst_endSheet( + C.NSWindow_inst_EndSheet( unsafe.Pointer(x.Pointer()), objc.RefPointer(sheetWindow), ) @@ -19412,14 +19412,14 @@ func (x gen_NSWindow) EndSheet( } -// FieldEditor_forObject returns the window’s field editor, creating it if requested. +// FieldEditorForObject returns the window’s field editor, creating it if requested. // // See https://developer.apple.com/documentation/appkit/nswindow/1419647-fieldeditor?language=objc for details. -func (x gen_NSWindow) FieldEditor_forObject( +func (x gen_NSWindow) FieldEditorForObject( createFlag bool, object objc.Ref, ) NSText { - ret := C.NSWindow_inst_fieldEditor_forObject( + ret := C.NSWindow_inst_FieldEditorForObject( unsafe.Pointer(x.Pointer()), convertToObjCBool(createFlag), objc.RefPointer(object), @@ -19435,7 +19435,7 @@ func (x gen_NSWindow) FieldEditor_forObject( func (x gen_NSWindow) FrameRectForContentRect( contentRect core.NSRect, ) core.NSRect { - ret := C.NSWindow_inst_frameRectForContentRect( + ret := C.NSWindow_inst_FrameRectForContentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), ) @@ -19444,16 +19444,16 @@ func (x gen_NSWindow) FrameRectForContentRect( } -// InitWithContentRect_styleMask_backing_defer initializes the window with the specified values. +// InitWithContentRectStyleMaskBackingDefer initializes the window with the specified values. // // See https://developer.apple.com/documentation/appkit/nswindow/1419477-initwithcontentrect?language=objc for details. -func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( +func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDefer_asNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, flag bool, ) NSWindow { - ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer( + ret := C.NSWindow_inst_InitWithContentRectStyleMaskBackingDefer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), C.ulong(style), @@ -19465,17 +19465,17 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_asNSWindow( } -// InitWithContentRect_styleMask_backing_defer_screen initializes an allocated window with the specified values. +// InitWithContentRectStyleMaskBackingDeferScreen initializes an allocated window with the specified values. // // See https://developer.apple.com/documentation/appkit/nswindow/1419755-initwithcontentrect?language=objc for details. -func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWindow( +func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDeferScreen_asNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, flag bool, screen NSScreenRef, ) NSWindow { - ret := C.NSWindow_inst_initWithContentRect_styleMask_backing_defer_screen( + ret := C.NSWindow_inst_InitWithContentRectStyleMaskBackingDeferScreen( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&contentRect)), C.ulong(style), @@ -19494,7 +19494,7 @@ func (x gen_NSWindow) InitWithContentRect_styleMask_backing_defer_screen_asNSWin func (x gen_NSWindow) InvalidateCursorRectsForView( view NSViewRef, ) { - C.NSWindow_inst_invalidateCursorRectsForView( + C.NSWindow_inst_InvalidateCursorRectsForView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -19507,7 +19507,7 @@ func (x gen_NSWindow) InvalidateCursorRectsForView( // // See https://developer.apple.com/documentation/appkit/nswindow/1419529-invalidateshadow?language=objc for details. func (x gen_NSWindow) InvalidateShadow() { - C.NSWindow_inst_invalidateShadow( + C.NSWindow_inst_InvalidateShadow( unsafe.Pointer(x.Pointer()), ) @@ -19519,7 +19519,7 @@ func (x gen_NSWindow) InvalidateShadow() { // // See https://developer.apple.com/documentation/appkit/nswindow/1526910-layoutifneeded?language=objc for details. func (x gen_NSWindow) LayoutIfNeeded() { - C.NSWindow_inst_layoutIfNeeded( + C.NSWindow_inst_LayoutIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -19533,7 +19533,7 @@ func (x gen_NSWindow) LayoutIfNeeded() { func (x gen_NSWindow) MakeKeyAndOrderFront( sender objc.Ref, ) { - C.NSWindow_inst_makeKeyAndOrderFront( + C.NSWindow_inst_MakeKeyAndOrderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19546,7 +19546,7 @@ func (x gen_NSWindow) MakeKeyAndOrderFront( // // See https://developer.apple.com/documentation/appkit/nswindow/1419368-makekeywindow?language=objc for details. func (x gen_NSWindow) MakeKeyWindow() { - C.NSWindow_inst_makeKeyWindow( + C.NSWindow_inst_MakeKeyWindow( unsafe.Pointer(x.Pointer()), ) @@ -19558,7 +19558,7 @@ func (x gen_NSWindow) MakeKeyWindow() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419271-makemainwindow?language=objc for details. func (x gen_NSWindow) MakeMainWindow() { - C.NSWindow_inst_makeMainWindow( + C.NSWindow_inst_MakeMainWindow( unsafe.Pointer(x.Pointer()), ) @@ -19572,7 +19572,7 @@ func (x gen_NSWindow) MakeMainWindow() { func (x gen_NSWindow) MergeAllWindows( sender objc.Ref, ) { - C.NSWindow_inst_mergeAllWindows( + C.NSWindow_inst_MergeAllWindows( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19587,7 +19587,7 @@ func (x gen_NSWindow) MergeAllWindows( func (x gen_NSWindow) Miniaturize( sender objc.Ref, ) { - C.NSWindow_inst_miniaturize( + C.NSWindow_inst_Miniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19602,7 +19602,7 @@ func (x gen_NSWindow) Miniaturize( func (x gen_NSWindow) MoveTabToNewWindow( sender objc.Ref, ) { - C.NSWindow_inst_moveTabToNewWindow( + C.NSWindow_inst_MoveTabToNewWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19617,7 +19617,7 @@ func (x gen_NSWindow) MoveTabToNewWindow( func (x gen_NSWindow) OrderBack( sender objc.Ref, ) { - C.NSWindow_inst_orderBack( + C.NSWindow_inst_OrderBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19632,7 +19632,7 @@ func (x gen_NSWindow) OrderBack( func (x gen_NSWindow) OrderFront( sender objc.Ref, ) { - C.NSWindow_inst_orderFront( + C.NSWindow_inst_OrderFront( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19645,7 +19645,7 @@ func (x gen_NSWindow) OrderFront( // // See https://developer.apple.com/documentation/appkit/nswindow/1419444-orderfrontregardless?language=objc for details. func (x gen_NSWindow) OrderFrontRegardless() { - C.NSWindow_inst_orderFrontRegardless( + C.NSWindow_inst_OrderFrontRegardless( unsafe.Pointer(x.Pointer()), ) @@ -19659,7 +19659,7 @@ func (x gen_NSWindow) OrderFrontRegardless() { func (x gen_NSWindow) OrderOut( sender objc.Ref, ) { - C.NSWindow_inst_orderOut( + C.NSWindow_inst_OrderOut( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19668,14 +19668,14 @@ func (x gen_NSWindow) OrderOut( } -// OrderWindow_relativeTo repositions the window’s window device in the window server’s screen list. +// OrderWindowRelativeTo repositions the window’s window device in the window server’s screen list. // // See https://developer.apple.com/documentation/appkit/nswindow/1419672-orderwindow?language=objc for details. -func (x gen_NSWindow) OrderWindow_relativeTo( +func (x gen_NSWindow) OrderWindowRelativeTo( place core.NSUInteger, otherWin core.NSInteger, ) { - C.NSWindow_inst_orderWindow_relativeTo( + C.NSWindow_inst_OrderWindowRelativeTo( unsafe.Pointer(x.Pointer()), C.ulong(place), C.long(otherWin), @@ -19691,7 +19691,7 @@ func (x gen_NSWindow) OrderWindow_relativeTo( func (x gen_NSWindow) PerformClose( sender objc.Ref, ) { - C.NSWindow_inst_performClose( + C.NSWindow_inst_PerformClose( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19706,7 +19706,7 @@ func (x gen_NSWindow) PerformClose( func (x gen_NSWindow) PerformMiniaturize( sender objc.Ref, ) { - C.NSWindow_inst_performMiniaturize( + C.NSWindow_inst_PerformMiniaturize( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19721,7 +19721,7 @@ func (x gen_NSWindow) PerformMiniaturize( func (x gen_NSWindow) PerformWindowDragWithEvent( event NSEventRef, ) { - C.NSWindow_inst_performWindowDragWithEvent( + C.NSWindow_inst_PerformWindowDragWithEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -19736,7 +19736,7 @@ func (x gen_NSWindow) PerformWindowDragWithEvent( func (x gen_NSWindow) PerformZoom( sender objc.Ref, ) { - C.NSWindow_inst_performZoom( + C.NSWindow_inst_PerformZoom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19745,14 +19745,14 @@ func (x gen_NSWindow) PerformZoom( } -// PostEvent_atStart forwards the message to the global application object. +// PostEventAtStart forwards the message to the global application object. // // See https://developer.apple.com/documentation/appkit/nswindow/1419376-postevent?language=objc for details. -func (x gen_NSWindow) PostEvent_atStart( +func (x gen_NSWindow) PostEventAtStart( event NSEventRef, flag bool, ) { - C.NSWindow_inst_postEvent_atStart( + C.NSWindow_inst_PostEventAtStart( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), convertToObjCBool(flag), @@ -19768,7 +19768,7 @@ func (x gen_NSWindow) PostEvent_atStart( func (x gen_NSWindow) Print( sender objc.Ref, ) { - C.NSWindow_inst_print( + C.NSWindow_inst_Print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19781,7 +19781,7 @@ func (x gen_NSWindow) Print( // // See https://developer.apple.com/documentation/appkit/nswindow/1419350-recalculatekeyviewloop?language=objc for details. func (x gen_NSWindow) RecalculateKeyViewLoop() { - C.NSWindow_inst_recalculateKeyViewLoop( + C.NSWindow_inst_RecalculateKeyViewLoop( unsafe.Pointer(x.Pointer()), ) @@ -19795,7 +19795,7 @@ func (x gen_NSWindow) RecalculateKeyViewLoop() { func (x gen_NSWindow) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { - C.NSWindow_inst_registerForDraggedTypes( + C.NSWindow_inst_RegisterForDraggedTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), ) @@ -19810,7 +19810,7 @@ func (x gen_NSWindow) RegisterForDraggedTypes( func (x gen_NSWindow) RemoveChildWindow( childWin NSWindowRef, ) { - C.NSWindow_inst_removeChildWindow( + C.NSWindow_inst_RemoveChildWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(childWin), ) @@ -19825,7 +19825,7 @@ func (x gen_NSWindow) RemoveChildWindow( func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( index core.NSInteger, ) { - C.NSWindow_inst_removeTitlebarAccessoryViewControllerAtIndex( + C.NSWindow_inst_RemoveTitlebarAccessoryViewControllerAtIndex( unsafe.Pointer(x.Pointer()), C.long(index), ) @@ -19838,7 +19838,7 @@ func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( // // See https://developer.apple.com/documentation/appkit/nswindow/1419464-resetcursorrects?language=objc for details. func (x gen_NSWindow) ResetCursorRects() { - C.NSWindow_inst_resetCursorRects( + C.NSWindow_inst_ResetCursorRects( unsafe.Pointer(x.Pointer()), ) @@ -19850,7 +19850,7 @@ func (x gen_NSWindow) ResetCursorRects() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419047-resignkeywindow?language=objc for details. func (x gen_NSWindow) ResignKeyWindow() { - C.NSWindow_inst_resignKeyWindow( + C.NSWindow_inst_ResignKeyWindow( unsafe.Pointer(x.Pointer()), ) @@ -19862,7 +19862,7 @@ func (x gen_NSWindow) ResignKeyWindow() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419212-resignmainwindow?language=objc for details. func (x gen_NSWindow) ResignMainWindow() { - C.NSWindow_inst_resignMainWindow( + C.NSWindow_inst_ResignMainWindow( unsafe.Pointer(x.Pointer()), ) @@ -19876,7 +19876,7 @@ func (x gen_NSWindow) ResignMainWindow() { func (x gen_NSWindow) RunToolbarCustomizationPalette( sender objc.Ref, ) { - C.NSWindow_inst_runToolbarCustomizationPalette( + C.NSWindow_inst_RunToolbarCustomizationPalette( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19891,7 +19891,7 @@ func (x gen_NSWindow) RunToolbarCustomizationPalette( func (x gen_NSWindow) SelectKeyViewFollowingView( view NSViewRef, ) { - C.NSWindow_inst_selectKeyViewFollowingView( + C.NSWindow_inst_SelectKeyViewFollowingView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -19906,7 +19906,7 @@ func (x gen_NSWindow) SelectKeyViewFollowingView( func (x gen_NSWindow) SelectKeyViewPrecedingView( view NSViewRef, ) { - C.NSWindow_inst_selectKeyViewPrecedingView( + C.NSWindow_inst_SelectKeyViewPrecedingView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -19921,7 +19921,7 @@ func (x gen_NSWindow) SelectKeyViewPrecedingView( func (x gen_NSWindow) SelectNextKeyView( sender objc.Ref, ) { - C.NSWindow_inst_selectNextKeyView( + C.NSWindow_inst_SelectNextKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19936,7 +19936,7 @@ func (x gen_NSWindow) SelectNextKeyView( func (x gen_NSWindow) SelectNextTab( sender objc.Ref, ) { - C.NSWindow_inst_selectNextTab( + C.NSWindow_inst_SelectNextTab( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19951,7 +19951,7 @@ func (x gen_NSWindow) SelectNextTab( func (x gen_NSWindow) SelectPreviousKeyView( sender objc.Ref, ) { - C.NSWindow_inst_selectPreviousKeyView( + C.NSWindow_inst_SelectPreviousKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19966,7 +19966,7 @@ func (x gen_NSWindow) SelectPreviousKeyView( func (x gen_NSWindow) SelectPreviousTab( sender objc.Ref, ) { - C.NSWindow_inst_selectPreviousTab( + C.NSWindow_inst_SelectPreviousTab( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -19981,7 +19981,7 @@ func (x gen_NSWindow) SelectPreviousTab( func (x gen_NSWindow) SendEvent( event NSEventRef, ) { - C.NSWindow_inst_sendEvent( + C.NSWindow_inst_SendEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -19996,7 +19996,7 @@ func (x gen_NSWindow) SendEvent( func (x gen_NSWindow) SetContentSize( size core.NSSize, ) { - C.NSWindow_inst_setContentSize( + C.NSWindow_inst_SetContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -20011,7 +20011,7 @@ func (x gen_NSWindow) SetContentSize( func (x gen_NSWindow) SetDynamicDepthLimit( flag bool, ) { - C.NSWindow_inst_setDynamicDepthLimit( + C.NSWindow_inst_SetDynamicDepthLimit( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -20020,14 +20020,14 @@ func (x gen_NSWindow) SetDynamicDepthLimit( } -// SetFrame_display sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. +// SetFrameDisplay sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. // // See https://developer.apple.com/documentation/appkit/nswindow/1419753-setframe?language=objc for details. -func (x gen_NSWindow) SetFrame_display( +func (x gen_NSWindow) SetFrameDisplay( frameRect core.NSRect, flag bool, ) { - C.NSWindow_inst_setFrame_display( + C.NSWindow_inst_SetFrameDisplay( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), convertToObjCBool(flag), @@ -20037,15 +20037,15 @@ func (x gen_NSWindow) SetFrame_display( } -// SetFrame_display_animate sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen. +// SetFrameDisplayAnimate sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen. // // See https://developer.apple.com/documentation/appkit/nswindow/1419519-setframe?language=objc for details. -func (x gen_NSWindow) SetFrame_display_animate( +func (x gen_NSWindow) SetFrameDisplayAnimate( frameRect core.NSRect, displayFlag bool, animateFlag bool, ) { - C.NSWindow_inst_setFrame_display_animate( + C.NSWindow_inst_SetFrameDisplayAnimate( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), convertToObjCBool(displayFlag), @@ -20062,7 +20062,7 @@ func (x gen_NSWindow) SetFrame_display_animate( func (x gen_NSWindow) SetFrameOrigin( point core.NSPoint, ) { - C.NSWindow_inst_setFrameOrigin( + C.NSWindow_inst_SetFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -20077,7 +20077,7 @@ func (x gen_NSWindow) SetFrameOrigin( func (x gen_NSWindow) SetFrameTopLeftPoint( point core.NSPoint, ) { - C.NSWindow_inst_setFrameTopLeftPoint( + C.NSWindow_inst_SetFrameTopLeftPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -20092,7 +20092,7 @@ func (x gen_NSWindow) SetFrameTopLeftPoint( func (x gen_NSWindow) SetIsMiniaturized( flag bool, ) { - C.NSWindow_inst_setIsMiniaturized( + C.NSWindow_inst_SetIsMiniaturized( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -20107,7 +20107,7 @@ func (x gen_NSWindow) SetIsMiniaturized( func (x gen_NSWindow) SetIsVisible( flag bool, ) { - C.NSWindow_inst_setIsVisible( + C.NSWindow_inst_SetIsVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -20122,7 +20122,7 @@ func (x gen_NSWindow) SetIsVisible( func (x gen_NSWindow) SetIsZoomed( flag bool, ) { - C.NSWindow_inst_setIsZoomed( + C.NSWindow_inst_SetIsZoomed( unsafe.Pointer(x.Pointer()), convertToObjCBool(flag), ) @@ -20137,7 +20137,7 @@ func (x gen_NSWindow) SetIsZoomed( func (x gen_NSWindow) SetTitleWithRepresentedFilename( filename core.NSStringRef, ) { - C.NSWindow_inst_setTitleWithRepresentedFilename( + C.NSWindow_inst_SetTitleWithRepresentedFilename( unsafe.Pointer(x.Pointer()), objc.RefPointer(filename), ) @@ -20152,7 +20152,7 @@ func (x gen_NSWindow) SetTitleWithRepresentedFilename( func (x gen_NSWindow) ToggleFullScreen( sender objc.Ref, ) { - C.NSWindow_inst_toggleFullScreen( + C.NSWindow_inst_ToggleFullScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20167,7 +20167,7 @@ func (x gen_NSWindow) ToggleFullScreen( func (x gen_NSWindow) ToggleTabBar( sender objc.Ref, ) { - C.NSWindow_inst_toggleTabBar( + C.NSWindow_inst_ToggleTabBar( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20182,7 +20182,7 @@ func (x gen_NSWindow) ToggleTabBar( func (x gen_NSWindow) ToggleTabOverview( sender objc.Ref, ) { - C.NSWindow_inst_toggleTabOverview( + C.NSWindow_inst_ToggleTabOverview( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20197,7 +20197,7 @@ func (x gen_NSWindow) ToggleTabOverview( func (x gen_NSWindow) ToggleToolbarShown( sender objc.Ref, ) { - C.NSWindow_inst_toggleToolbarShown( + C.NSWindow_inst_ToggleToolbarShown( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20206,14 +20206,14 @@ func (x gen_NSWindow) ToggleToolbarShown( } -// TryToPerform_with dispatches action messages with a given argument. +// TryToPerformWith dispatches action messages with a given argument. // // See https://developer.apple.com/documentation/appkit/nswindow/1419428-trytoperform?language=objc for details. -func (x gen_NSWindow) TryToPerform_with( +func (x gen_NSWindow) TryToPerformWith( action objc.Selector, object objc.Ref, ) bool { - ret := C.NSWindow_inst_tryToPerform_with( + ret := C.NSWindow_inst_TryToPerformWith( unsafe.Pointer(x.Pointer()), action.SelectorAddress(), objc.RefPointer(object), @@ -20227,7 +20227,7 @@ func (x gen_NSWindow) TryToPerform_with( // // See https://developer.apple.com/documentation/appkit/nswindow/1419456-unregisterdraggedtypes?language=objc for details. func (x gen_NSWindow) UnregisterDraggedTypes() { - C.NSWindow_inst_unregisterDraggedTypes( + C.NSWindow_inst_UnregisterDraggedTypes( unsafe.Pointer(x.Pointer()), ) @@ -20239,7 +20239,7 @@ func (x gen_NSWindow) UnregisterDraggedTypes() { // // See https://developer.apple.com/documentation/appkit/nswindow/1419577-update?language=objc for details. func (x gen_NSWindow) Update() { - C.NSWindow_inst_update( + C.NSWindow_inst_Update( unsafe.Pointer(x.Pointer()), ) @@ -20251,7 +20251,7 @@ func (x gen_NSWindow) Update() { // // See https://developer.apple.com/documentation/appkit/nswindow/1526915-updateconstraintsifneeded?language=objc for details. func (x gen_NSWindow) UpdateConstraintsIfNeeded() { - C.NSWindow_inst_updateConstraintsIfNeeded( + C.NSWindow_inst_UpdateConstraintsIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -20265,7 +20265,7 @@ func (x gen_NSWindow) UpdateConstraintsIfNeeded() { func (x gen_NSWindow) VisualizeConstraints( constraints core.NSArrayRef, ) { - C.NSWindow_inst_visualizeConstraints( + C.NSWindow_inst_VisualizeConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) @@ -20280,7 +20280,7 @@ func (x gen_NSWindow) VisualizeConstraints( func (x gen_NSWindow) Zoom( sender objc.Ref, ) { - C.NSWindow_inst_zoom( + C.NSWindow_inst_Zoom( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -20293,7 +20293,7 @@ func (x gen_NSWindow) Zoom( // // See for details. func (x gen_NSWindow) Init_asNSWindow() NSWindow { - ret := C.NSWindow_inst_init( + ret := C.NSWindow_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -20305,7 +20305,7 @@ func (x gen_NSWindow) Init_asNSWindow() NSWindow { // // See https://developer.apple.com/documentation/appkit/nswindow/1419060-delegate?language=objc for details. func (x gen_NSWindow) Delegate() objc.Object { - ret := C.NSWindow_inst_delegate( + ret := C.NSWindow_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -20319,7 +20319,7 @@ func (x gen_NSWindow) Delegate() objc.Object { func (x gen_NSWindow) SetDelegate( value objc.Ref, ) { - C.NSWindow_inst_setDelegate( + C.NSWindow_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20332,7 +20332,7 @@ func (x gen_NSWindow) SetDelegate( // // See https://developer.apple.com/documentation/appkit/nswindow/1419615-contentviewcontroller?language=objc for details. func (x gen_NSWindow) ContentViewController() NSViewController { - ret := C.NSWindow_inst_contentViewController( + ret := C.NSWindow_inst_ContentViewController( unsafe.Pointer(x.Pointer()), ) @@ -20346,7 +20346,7 @@ func (x gen_NSWindow) ContentViewController() NSViewController { func (x gen_NSWindow) SetContentViewController( value NSViewControllerRef, ) { - C.NSWindow_inst_setContentViewController( + C.NSWindow_inst_SetContentViewController( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20359,7 +20359,7 @@ func (x gen_NSWindow) SetContentViewController( // // See https://developer.apple.com/documentation/appkit/nswindow/1419160-contentview?language=objc for details. func (x gen_NSWindow) ContentView() NSView { - ret := C.NSWindow_inst_contentView( + ret := C.NSWindow_inst_ContentView( unsafe.Pointer(x.Pointer()), ) @@ -20373,7 +20373,7 @@ func (x gen_NSWindow) ContentView() NSView { func (x gen_NSWindow) SetContentView( value NSViewRef, ) { - C.NSWindow_inst_setContentView( + C.NSWindow_inst_SetContentView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20386,7 +20386,7 @@ func (x gen_NSWindow) SetContentView( // // See https://developer.apple.com/documentation/appkit/nswindow/1419078-stylemask?language=objc for details. func (x gen_NSWindow) StyleMask() core.NSUInteger { - ret := C.NSWindow_inst_styleMask( + ret := C.NSWindow_inst_StyleMask( unsafe.Pointer(x.Pointer()), ) @@ -20400,7 +20400,7 @@ func (x gen_NSWindow) StyleMask() core.NSUInteger { func (x gen_NSWindow) SetStyleMask( value core.NSUInteger, ) { - C.NSWindow_inst_setStyleMask( + C.NSWindow_inst_SetStyleMask( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -20413,7 +20413,7 @@ func (x gen_NSWindow) SetStyleMask( // // See https://developer.apple.com/documentation/appkit/nswindow/1419220-workswhenmodal?language=objc for details. func (x gen_NSWindow) WorksWhenModal() bool { - ret := C.NSWindow_inst_worksWhenModal( + ret := C.NSWindow_inst_WorksWhenModal( unsafe.Pointer(x.Pointer()), ) @@ -20425,7 +20425,7 @@ func (x gen_NSWindow) WorksWhenModal() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419186-alphavalue?language=objc for details. func (x gen_NSWindow) AlphaValue() core.CGFloat { - ret := C.NSWindow_inst_alphaValue( + ret := C.NSWindow_inst_AlphaValue( unsafe.Pointer(x.Pointer()), ) @@ -20439,7 +20439,7 @@ func (x gen_NSWindow) AlphaValue() core.CGFloat { func (x gen_NSWindow) SetAlphaValue( value core.CGFloat, ) { - C.NSWindow_inst_setAlphaValue( + C.NSWindow_inst_SetAlphaValue( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -20452,7 +20452,7 @@ func (x gen_NSWindow) SetAlphaValue( // // See https://developer.apple.com/documentation/appkit/nswindow/1419751-backgroundcolor?language=objc for details. func (x gen_NSWindow) BackgroundColor() NSColor { - ret := C.NSWindow_inst_backgroundColor( + ret := C.NSWindow_inst_BackgroundColor( unsafe.Pointer(x.Pointer()), ) @@ -20466,7 +20466,7 @@ func (x gen_NSWindow) BackgroundColor() NSColor { func (x gen_NSWindow) SetBackgroundColor( value NSColorRef, ) { - C.NSWindow_inst_setBackgroundColor( + C.NSWindow_inst_SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -20479,7 +20479,7 @@ func (x gen_NSWindow) SetBackgroundColor( // // See https://developer.apple.com/documentation/appkit/nswindow/1419725-canhide?language=objc for details. func (x gen_NSWindow) CanHide() bool { - ret := C.NSWindow_inst_canHide( + ret := C.NSWindow_inst_CanHide( unsafe.Pointer(x.Pointer()), ) @@ -20493,7 +20493,7 @@ func (x gen_NSWindow) CanHide() bool { func (x gen_NSWindow) SetCanHide( value bool, ) { - C.NSWindow_inst_setCanHide( + C.NSWindow_inst_SetCanHide( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20506,7 +20506,7 @@ func (x gen_NSWindow) SetCanHide( // // See https://developer.apple.com/documentation/appkit/nswindow/1419707-onactivespace?language=objc for details. func (x gen_NSWindow) IsOnActiveSpace() bool { - ret := C.NSWindow_inst_isOnActiveSpace( + ret := C.NSWindow_inst_IsOnActiveSpace( unsafe.Pointer(x.Pointer()), ) @@ -20518,7 +20518,7 @@ func (x gen_NSWindow) IsOnActiveSpace() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate?language=objc for details. func (x gen_NSWindow) HidesOnDeactivate() bool { - ret := C.NSWindow_inst_hidesOnDeactivate( + ret := C.NSWindow_inst_HidesOnDeactivate( unsafe.Pointer(x.Pointer()), ) @@ -20532,7 +20532,7 @@ func (x gen_NSWindow) HidesOnDeactivate() bool { func (x gen_NSWindow) SetHidesOnDeactivate( value bool, ) { - C.NSWindow_inst_setHidesOnDeactivate( + C.NSWindow_inst_SetHidesOnDeactivate( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20545,7 +20545,7 @@ func (x gen_NSWindow) SetHidesOnDeactivate( // // See https://developer.apple.com/documentation/appkit/nswindow/1419471-collectionbehavior?language=objc for details. func (x gen_NSWindow) CollectionBehavior() core.NSUInteger { - ret := C.NSWindow_inst_collectionBehavior( + ret := C.NSWindow_inst_CollectionBehavior( unsafe.Pointer(x.Pointer()), ) @@ -20559,7 +20559,7 @@ func (x gen_NSWindow) CollectionBehavior() core.NSUInteger { func (x gen_NSWindow) SetCollectionBehavior( value core.NSUInteger, ) { - C.NSWindow_inst_setCollectionBehavior( + C.NSWindow_inst_SetCollectionBehavior( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -20572,7 +20572,7 @@ func (x gen_NSWindow) SetCollectionBehavior( // // See https://developer.apple.com/documentation/appkit/nswindow/1419086-opaque?language=objc for details. func (x gen_NSWindow) IsOpaque() bool { - ret := C.NSWindow_inst_isOpaque( + ret := C.NSWindow_inst_IsOpaque( unsafe.Pointer(x.Pointer()), ) @@ -20586,7 +20586,7 @@ func (x gen_NSWindow) IsOpaque() bool { func (x gen_NSWindow) SetOpaque( value bool, ) { - C.NSWindow_inst_setOpaque( + C.NSWindow_inst_SetOpaque( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20599,7 +20599,7 @@ func (x gen_NSWindow) SetOpaque( // // See https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc for details. func (x gen_NSWindow) HasShadow() bool { - ret := C.NSWindow_inst_hasShadow( + ret := C.NSWindow_inst_HasShadow( unsafe.Pointer(x.Pointer()), ) @@ -20613,7 +20613,7 @@ func (x gen_NSWindow) HasShadow() bool { func (x gen_NSWindow) SetHasShadow( value bool, ) { - C.NSWindow_inst_setHasShadow( + C.NSWindow_inst_SetHasShadow( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20626,7 +20626,7 @@ func (x gen_NSWindow) SetHasShadow( // // See https://developer.apple.com/documentation/appkit/nswindow/1419743-preventsapplicationterminationwh?language=objc for details. func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() bool { - ret := C.NSWindow_inst_preventsApplicationTerminationWhenModal( + ret := C.NSWindow_inst_PreventsApplicationTerminationWhenModal( unsafe.Pointer(x.Pointer()), ) @@ -20640,7 +20640,7 @@ func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() bool { func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( value bool, ) { - C.NSWindow_inst_setPreventsApplicationTerminationWhenModal( + C.NSWindow_inst_SetPreventsApplicationTerminationWhenModal( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20653,7 +20653,7 @@ func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( // // See https://developer.apple.com/documentation/appkit/nswindow/1419330-hasdynamicdepthlimit?language=objc for details. func (x gen_NSWindow) HasDynamicDepthLimit() bool { - ret := C.NSWindow_inst_hasDynamicDepthLimit( + ret := C.NSWindow_inst_HasDynamicDepthLimit( unsafe.Pointer(x.Pointer()), ) @@ -20665,7 +20665,7 @@ func (x gen_NSWindow) HasDynamicDepthLimit() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419068-windownumber?language=objc for details. func (x gen_NSWindow) WindowNumber() core.NSInteger { - ret := C.NSWindow_inst_windowNumber( + ret := C.NSWindow_inst_WindowNumber( unsafe.Pointer(x.Pointer()), ) @@ -20677,7 +20677,7 @@ func (x gen_NSWindow) WindowNumber() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nswindow/1419741-devicedescription?language=objc for details. func (x gen_NSWindow) DeviceDescription() core.NSDictionary { - ret := C.NSWindow_inst_deviceDescription( + ret := C.NSWindow_inst_DeviceDescription( unsafe.Pointer(x.Pointer()), ) @@ -20689,7 +20689,7 @@ func (x gen_NSWindow) DeviceDescription() core.NSDictionary { // // See https://developer.apple.com/documentation/appkit/nswindow/1419179-canbecomevisiblewithoutlogin?language=objc for details. func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() bool { - ret := C.NSWindow_inst_canBecomeVisibleWithoutLogin( + ret := C.NSWindow_inst_CanBecomeVisibleWithoutLogin( unsafe.Pointer(x.Pointer()), ) @@ -20703,7 +20703,7 @@ func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() bool { func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( value bool, ) { - C.NSWindow_inst_setCanBecomeVisibleWithoutLogin( + C.NSWindow_inst_SetCanBecomeVisibleWithoutLogin( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20716,7 +20716,7 @@ func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( // // See https://developer.apple.com/documentation/appkit/nswindow/1419599-backingtype?language=objc for details. func (x gen_NSWindow) BackingType() core.NSUInteger { - ret := C.NSWindow_inst_backingType( + ret := C.NSWindow_inst_BackingType( unsafe.Pointer(x.Pointer()), ) @@ -20730,7 +20730,7 @@ func (x gen_NSWindow) BackingType() core.NSUInteger { func (x gen_NSWindow) SetBackingType( value core.NSUInteger, ) { - C.NSWindow_inst_setBackingType( + C.NSWindow_inst_SetBackingType( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -20743,7 +20743,7 @@ func (x gen_NSWindow) SetBackingType( // // See https://developer.apple.com/documentation/appkit/nswindow/1419467-attachedsheet?language=objc for details. func (x gen_NSWindow) AttachedSheet() NSWindow { - ret := C.NSWindow_inst_attachedSheet( + ret := C.NSWindow_inst_AttachedSheet( unsafe.Pointer(x.Pointer()), ) @@ -20755,7 +20755,7 @@ func (x gen_NSWindow) AttachedSheet() NSWindow { // // See https://developer.apple.com/documentation/appkit/nswindow/1419364-sheet?language=objc for details. func (x gen_NSWindow) IsSheet() bool { - ret := C.NSWindow_inst_isSheet( + ret := C.NSWindow_inst_IsSheet( unsafe.Pointer(x.Pointer()), ) @@ -20767,7 +20767,7 @@ func (x gen_NSWindow) IsSheet() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419052-sheetparent?language=objc for details. func (x gen_NSWindow) SheetParent() NSWindow { - ret := C.NSWindow_inst_sheetParent( + ret := C.NSWindow_inst_SheetParent( unsafe.Pointer(x.Pointer()), ) @@ -20779,7 +20779,7 @@ func (x gen_NSWindow) SheetParent() NSWindow { // // See https://developer.apple.com/documentation/appkit/nswindow/1419765-sheets?language=objc for details. func (x gen_NSWindow) Sheets() core.NSArray { - ret := C.NSWindow_inst_sheets( + ret := C.NSWindow_inst_Sheets( unsafe.Pointer(x.Pointer()), ) @@ -20791,7 +20791,7 @@ func (x gen_NSWindow) Sheets() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nswindow/1419697-frame?language=objc for details. func (x gen_NSWindow) Frame() core.NSRect { - ret := C.NSWindow_inst_frame( + ret := C.NSWindow_inst_Frame( unsafe.Pointer(x.Pointer()), ) @@ -20803,7 +20803,7 @@ func (x gen_NSWindow) Frame() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nswindow/1419507-aspectratio?language=objc for details. func (x gen_NSWindow) AspectRatio() core.NSSize { - ret := C.NSWindow_inst_aspectRatio( + ret := C.NSWindow_inst_AspectRatio( unsafe.Pointer(x.Pointer()), ) @@ -20817,7 +20817,7 @@ func (x gen_NSWindow) AspectRatio() core.NSSize { func (x gen_NSWindow) SetAspectRatio( value core.NSSize, ) { - C.NSWindow_inst_setAspectRatio( + C.NSWindow_inst_SetAspectRatio( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -20830,7 +20830,7 @@ func (x gen_NSWindow) SetAspectRatio( // // See https://developer.apple.com/documentation/appkit/nswindow/1419206-minsize?language=objc for details. func (x gen_NSWindow) MinSize() core.NSSize { - ret := C.NSWindow_inst_minSize( + ret := C.NSWindow_inst_MinSize( unsafe.Pointer(x.Pointer()), ) @@ -20844,7 +20844,7 @@ func (x gen_NSWindow) MinSize() core.NSSize { func (x gen_NSWindow) SetMinSize( value core.NSSize, ) { - C.NSWindow_inst_setMinSize( + C.NSWindow_inst_SetMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -20857,7 +20857,7 @@ func (x gen_NSWindow) SetMinSize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419595-maxsize?language=objc for details. func (x gen_NSWindow) MaxSize() core.NSSize { - ret := C.NSWindow_inst_maxSize( + ret := C.NSWindow_inst_MaxSize( unsafe.Pointer(x.Pointer()), ) @@ -20871,7 +20871,7 @@ func (x gen_NSWindow) MaxSize() core.NSSize { func (x gen_NSWindow) SetMaxSize( value core.NSSize, ) { - C.NSWindow_inst_setMaxSize( + C.NSWindow_inst_SetMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -20884,7 +20884,7 @@ func (x gen_NSWindow) SetMaxSize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419398-zoomed?language=objc for details. func (x gen_NSWindow) IsZoomed() bool { - ret := C.NSWindow_inst_isZoomed( + ret := C.NSWindow_inst_IsZoomed( unsafe.Pointer(x.Pointer()), ) @@ -20896,7 +20896,7 @@ func (x gen_NSWindow) IsZoomed() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419390-resizeincrements?language=objc for details. func (x gen_NSWindow) ResizeIncrements() core.NSSize { - ret := C.NSWindow_inst_resizeIncrements( + ret := C.NSWindow_inst_ResizeIncrements( unsafe.Pointer(x.Pointer()), ) @@ -20910,7 +20910,7 @@ func (x gen_NSWindow) ResizeIncrements() core.NSSize { func (x gen_NSWindow) SetResizeIncrements( value core.NSSize, ) { - C.NSWindow_inst_setResizeIncrements( + C.NSWindow_inst_SetResizeIncrements( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -20923,7 +20923,7 @@ func (x gen_NSWindow) SetResizeIncrements( // // See https://developer.apple.com/documentation/appkit/nswindow/1419588-preservescontentduringliveresize?language=objc for details. func (x gen_NSWindow) PreservesContentDuringLiveResize() bool { - ret := C.NSWindow_inst_preservesContentDuringLiveResize( + ret := C.NSWindow_inst_PreservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -20937,7 +20937,7 @@ func (x gen_NSWindow) PreservesContentDuringLiveResize() bool { func (x gen_NSWindow) SetPreservesContentDuringLiveResize( value bool, ) { - C.NSWindow_inst_setPreservesContentDuringLiveResize( + C.NSWindow_inst_SetPreservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -20950,7 +20950,7 @@ func (x gen_NSWindow) SetPreservesContentDuringLiveResize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419378-inliveresize?language=objc for details. func (x gen_NSWindow) InLiveResize() bool { - ret := C.NSWindow_inst_inLiveResize( + ret := C.NSWindow_inst_InLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -20962,7 +20962,7 @@ func (x gen_NSWindow) InLiveResize() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419148-contentaspectratio?language=objc for details. func (x gen_NSWindow) ContentAspectRatio() core.NSSize { - ret := C.NSWindow_inst_contentAspectRatio( + ret := C.NSWindow_inst_ContentAspectRatio( unsafe.Pointer(x.Pointer()), ) @@ -20976,7 +20976,7 @@ func (x gen_NSWindow) ContentAspectRatio() core.NSSize { func (x gen_NSWindow) SetContentAspectRatio( value core.NSSize, ) { - C.NSWindow_inst_setContentAspectRatio( + C.NSWindow_inst_SetContentAspectRatio( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -20989,7 +20989,7 @@ func (x gen_NSWindow) SetContentAspectRatio( // // See https://developer.apple.com/documentation/appkit/nswindow/1419670-contentminsize?language=objc for details. func (x gen_NSWindow) ContentMinSize() core.NSSize { - ret := C.NSWindow_inst_contentMinSize( + ret := C.NSWindow_inst_ContentMinSize( unsafe.Pointer(x.Pointer()), ) @@ -21003,7 +21003,7 @@ func (x gen_NSWindow) ContentMinSize() core.NSSize { func (x gen_NSWindow) SetContentMinSize( value core.NSSize, ) { - C.NSWindow_inst_setContentMinSize( + C.NSWindow_inst_SetContentMinSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -21016,7 +21016,7 @@ func (x gen_NSWindow) SetContentMinSize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419154-contentmaxsize?language=objc for details. func (x gen_NSWindow) ContentMaxSize() core.NSSize { - ret := C.NSWindow_inst_contentMaxSize( + ret := C.NSWindow_inst_ContentMaxSize( unsafe.Pointer(x.Pointer()), ) @@ -21030,7 +21030,7 @@ func (x gen_NSWindow) ContentMaxSize() core.NSSize { func (x gen_NSWindow) SetContentMaxSize( value core.NSSize, ) { - C.NSWindow_inst_setContentMaxSize( + C.NSWindow_inst_SetContentMaxSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -21043,7 +21043,7 @@ func (x gen_NSWindow) SetContentMaxSize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419649-contentresizeincrements?language=objc for details. func (x gen_NSWindow) ContentResizeIncrements() core.NSSize { - ret := C.NSWindow_inst_contentResizeIncrements( + ret := C.NSWindow_inst_ContentResizeIncrements( unsafe.Pointer(x.Pointer()), ) @@ -21057,7 +21057,7 @@ func (x gen_NSWindow) ContentResizeIncrements() core.NSSize { func (x gen_NSWindow) SetContentResizeIncrements( value core.NSSize, ) { - C.NSWindow_inst_setContentResizeIncrements( + C.NSWindow_inst_SetContentResizeIncrements( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -21070,7 +21070,7 @@ func (x gen_NSWindow) SetContentResizeIncrements( // // See https://developer.apple.com/documentation/appkit/nswindow/1419094-contentlayoutguide?language=objc for details. func (x gen_NSWindow) ContentLayoutGuide() objc.Object { - ret := C.NSWindow_inst_contentLayoutGuide( + ret := C.NSWindow_inst_ContentLayoutGuide( unsafe.Pointer(x.Pointer()), ) @@ -21082,7 +21082,7 @@ func (x gen_NSWindow) ContentLayoutGuide() objc.Object { // // See https://developer.apple.com/documentation/appkit/nswindow/1419124-contentlayoutrect?language=objc for details. func (x gen_NSWindow) ContentLayoutRect() core.NSRect { - ret := C.NSWindow_inst_contentLayoutRect( + ret := C.NSWindow_inst_ContentLayoutRect( unsafe.Pointer(x.Pointer()), ) @@ -21094,7 +21094,7 @@ func (x gen_NSWindow) ContentLayoutRect() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nswindow/1419438-maxfullscreencontentsize?language=objc for details. func (x gen_NSWindow) MaxFullScreenContentSize() core.NSSize { - ret := C.NSWindow_inst_maxFullScreenContentSize( + ret := C.NSWindow_inst_MaxFullScreenContentSize( unsafe.Pointer(x.Pointer()), ) @@ -21108,7 +21108,7 @@ func (x gen_NSWindow) MaxFullScreenContentSize() core.NSSize { func (x gen_NSWindow) SetMaxFullScreenContentSize( value core.NSSize, ) { - C.NSWindow_inst_setMaxFullScreenContentSize( + C.NSWindow_inst_SetMaxFullScreenContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -21121,7 +21121,7 @@ func (x gen_NSWindow) SetMaxFullScreenContentSize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419627-minfullscreencontentsize?language=objc for details. func (x gen_NSWindow) MinFullScreenContentSize() core.NSSize { - ret := C.NSWindow_inst_minFullScreenContentSize( + ret := C.NSWindow_inst_MinFullScreenContentSize( unsafe.Pointer(x.Pointer()), ) @@ -21135,7 +21135,7 @@ func (x gen_NSWindow) MinFullScreenContentSize() core.NSSize { func (x gen_NSWindow) SetMinFullScreenContentSize( value core.NSSize, ) { - C.NSWindow_inst_setMinFullScreenContentSize( + C.NSWindow_inst_SetMinFullScreenContentSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -21148,7 +21148,7 @@ func (x gen_NSWindow) SetMinFullScreenContentSize( // // See https://developer.apple.com/documentation/appkit/nswindow/1419511-level?language=objc for details. func (x gen_NSWindow) Level() core.NSInteger { - ret := C.NSWindow_inst_level( + ret := C.NSWindow_inst_Level( unsafe.Pointer(x.Pointer()), ) @@ -21162,7 +21162,7 @@ func (x gen_NSWindow) Level() core.NSInteger { func (x gen_NSWindow) SetLevel( value core.NSInteger, ) { - C.NSWindow_inst_setLevel( + C.NSWindow_inst_SetLevel( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -21175,7 +21175,7 @@ func (x gen_NSWindow) SetLevel( // // See https://developer.apple.com/documentation/appkit/nswindow/1419132-visible?language=objc for details. func (x gen_NSWindow) IsVisible() bool { - ret := C.NSWindow_inst_isVisible( + ret := C.NSWindow_inst_IsVisible( unsafe.Pointer(x.Pointer()), ) @@ -21187,7 +21187,7 @@ func (x gen_NSWindow) IsVisible() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419735-keywindow?language=objc for details. func (x gen_NSWindow) IsKeyWindow() bool { - ret := C.NSWindow_inst_isKeyWindow( + ret := C.NSWindow_inst_IsKeyWindow( unsafe.Pointer(x.Pointer()), ) @@ -21199,7 +21199,7 @@ func (x gen_NSWindow) IsKeyWindow() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419543-canbecomekeywindow?language=objc for details. func (x gen_NSWindow) CanBecomeKeyWindow() bool { - ret := C.NSWindow_inst_canBecomeKeyWindow( + ret := C.NSWindow_inst_CanBecomeKeyWindow( unsafe.Pointer(x.Pointer()), ) @@ -21211,7 +21211,7 @@ func (x gen_NSWindow) CanBecomeKeyWindow() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419130-mainwindow?language=objc for details. func (x gen_NSWindow) IsMainWindow() bool { - ret := C.NSWindow_inst_isMainWindow( + ret := C.NSWindow_inst_IsMainWindow( unsafe.Pointer(x.Pointer()), ) @@ -21223,7 +21223,7 @@ func (x gen_NSWindow) IsMainWindow() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419162-canbecomemainwindow?language=objc for details. func (x gen_NSWindow) CanBecomeMainWindow() bool { - ret := C.NSWindow_inst_canBecomeMainWindow( + ret := C.NSWindow_inst_CanBecomeMainWindow( unsafe.Pointer(x.Pointer()), ) @@ -21235,7 +21235,7 @@ func (x gen_NSWindow) CanBecomeMainWindow() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419236-childwindows?language=objc for details. func (x gen_NSWindow) ChildWindows() core.NSArray { - ret := C.NSWindow_inst_childWindows( + ret := C.NSWindow_inst_ChildWindows( unsafe.Pointer(x.Pointer()), ) @@ -21247,7 +21247,7 @@ func (x gen_NSWindow) ChildWindows() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nswindow/1419695-parentwindow?language=objc for details. func (x gen_NSWindow) ParentWindow() NSWindow { - ret := C.NSWindow_inst_parentWindow( + ret := C.NSWindow_inst_ParentWindow( unsafe.Pointer(x.Pointer()), ) @@ -21261,7 +21261,7 @@ func (x gen_NSWindow) ParentWindow() NSWindow { func (x gen_NSWindow) SetParentWindow( value NSWindowRef, ) { - C.NSWindow_inst_setParentWindow( + C.NSWindow_inst_SetParentWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21274,7 +21274,7 @@ func (x gen_NSWindow) SetParentWindow( // // See https://developer.apple.com/documentation/appkit/nswindow/1419175-excludedfromwindowsmenu?language=objc for details. func (x gen_NSWindow) IsExcludedFromWindowsMenu() bool { - ret := C.NSWindow_inst_isExcludedFromWindowsMenu( + ret := C.NSWindow_inst_IsExcludedFromWindowsMenu( unsafe.Pointer(x.Pointer()), ) @@ -21288,7 +21288,7 @@ func (x gen_NSWindow) IsExcludedFromWindowsMenu() bool { func (x gen_NSWindow) SetExcludedFromWindowsMenu( value bool, ) { - C.NSWindow_inst_setExcludedFromWindowsMenu( + C.NSWindow_inst_SetExcludedFromWindowsMenu( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21301,7 +21301,7 @@ func (x gen_NSWindow) SetExcludedFromWindowsMenu( // // See https://developer.apple.com/documentation/appkit/nswindow/1419668-arecursorrectsenabled?language=objc for details. func (x gen_NSWindow) AreCursorRectsEnabled() bool { - ret := C.NSWindow_inst_areCursorRectsEnabled( + ret := C.NSWindow_inst_AreCursorRectsEnabled( unsafe.Pointer(x.Pointer()), ) @@ -21313,7 +21313,7 @@ func (x gen_NSWindow) AreCursorRectsEnabled() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419196-showstoolbarbutton?language=objc for details. func (x gen_NSWindow) ShowsToolbarButton() bool { - ret := C.NSWindow_inst_showsToolbarButton( + ret := C.NSWindow_inst_ShowsToolbarButton( unsafe.Pointer(x.Pointer()), ) @@ -21327,7 +21327,7 @@ func (x gen_NSWindow) ShowsToolbarButton() bool { func (x gen_NSWindow) SetShowsToolbarButton( value bool, ) { - C.NSWindow_inst_setShowsToolbarButton( + C.NSWindow_inst_SetShowsToolbarButton( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21340,7 +21340,7 @@ func (x gen_NSWindow) SetShowsToolbarButton( // // See https://developer.apple.com/documentation/appkit/nswindow/1419167-titlebarappearstransparent?language=objc for details. func (x gen_NSWindow) TitlebarAppearsTransparent() bool { - ret := C.NSWindow_inst_titlebarAppearsTransparent( + ret := C.NSWindow_inst_TitlebarAppearsTransparent( unsafe.Pointer(x.Pointer()), ) @@ -21354,7 +21354,7 @@ func (x gen_NSWindow) TitlebarAppearsTransparent() bool { func (x gen_NSWindow) SetTitlebarAppearsTransparent( value bool, ) { - C.NSWindow_inst_setTitlebarAppearsTransparent( + C.NSWindow_inst_SetTitlebarAppearsTransparent( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21367,7 +21367,7 @@ func (x gen_NSWindow) SetTitlebarAppearsTransparent( // // See https://developer.apple.com/documentation/appkit/nswindow/1419547-titlebaraccessoryviewcontrollers?language=objc for details. func (x gen_NSWindow) TitlebarAccessoryViewControllers() core.NSArray { - ret := C.NSWindow_inst_titlebarAccessoryViewControllers( + ret := C.NSWindow_inst_TitlebarAccessoryViewControllers( unsafe.Pointer(x.Pointer()), ) @@ -21381,7 +21381,7 @@ func (x gen_NSWindow) TitlebarAccessoryViewControllers() core.NSArray { func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( value core.NSArrayRef, ) { - C.NSWindow_inst_setTitlebarAccessoryViewControllers( + C.NSWindow_inst_SetTitlebarAccessoryViewControllers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21394,7 +21394,7 @@ func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( // // See https://developer.apple.com/documentation/appkit/nswindow/1792044-tabbedwindows?language=objc for details. func (x gen_NSWindow) TabbedWindows() core.NSArray { - ret := C.NSWindow_inst_tabbedWindows( + ret := C.NSWindow_inst_TabbedWindows( unsafe.Pointer(x.Pointer()), ) @@ -21406,7 +21406,7 @@ func (x gen_NSWindow) TabbedWindows() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nswindow/1419138-allowstooltipswhenapplicationisi?language=objc for details. func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() bool { - ret := C.NSWindow_inst_allowsToolTipsWhenApplicationIsInactive( + ret := C.NSWindow_inst_AllowsToolTipsWhenApplicationIsInactive( unsafe.Pointer(x.Pointer()), ) @@ -21420,7 +21420,7 @@ func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() bool { func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( value bool, ) { - C.NSWindow_inst_setAllowsToolTipsWhenApplicationIsInactive( + C.NSWindow_inst_SetAllowsToolTipsWhenApplicationIsInactive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21433,7 +21433,7 @@ func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( // // See https://developer.apple.com/documentation/appkit/nswindow/1419298-currentevent?language=objc for details. func (x gen_NSWindow) CurrentEvent() NSEvent { - ret := C.NSWindow_inst_currentEvent( + ret := C.NSWindow_inst_CurrentEvent( unsafe.Pointer(x.Pointer()), ) @@ -21445,7 +21445,7 @@ func (x gen_NSWindow) CurrentEvent() NSEvent { // // See https://developer.apple.com/documentation/appkit/nswindow/1419479-initialfirstresponder?language=objc for details. func (x gen_NSWindow) InitialFirstResponder() NSView { - ret := C.NSWindow_inst_initialFirstResponder( + ret := C.NSWindow_inst_InitialFirstResponder( unsafe.Pointer(x.Pointer()), ) @@ -21459,7 +21459,7 @@ func (x gen_NSWindow) InitialFirstResponder() NSView { func (x gen_NSWindow) SetInitialFirstResponder( value NSViewRef, ) { - C.NSWindow_inst_setInitialFirstResponder( + C.NSWindow_inst_SetInitialFirstResponder( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21472,7 +21472,7 @@ func (x gen_NSWindow) SetInitialFirstResponder( // // See https://developer.apple.com/documentation/appkit/nswindow/1419214-autorecalculateskeyviewloop?language=objc for details. func (x gen_NSWindow) AutorecalculatesKeyViewLoop() bool { - ret := C.NSWindow_inst_autorecalculatesKeyViewLoop( + ret := C.NSWindow_inst_AutorecalculatesKeyViewLoop( unsafe.Pointer(x.Pointer()), ) @@ -21486,7 +21486,7 @@ func (x gen_NSWindow) AutorecalculatesKeyViewLoop() bool { func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( value bool, ) { - C.NSWindow_inst_setAutorecalculatesKeyViewLoop( + C.NSWindow_inst_SetAutorecalculatesKeyViewLoop( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21499,7 +21499,7 @@ func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( // // See https://developer.apple.com/documentation/appkit/nswindow/1419340-acceptsmousemovedevents?language=objc for details. func (x gen_NSWindow) AcceptsMouseMovedEvents() bool { - ret := C.NSWindow_inst_acceptsMouseMovedEvents( + ret := C.NSWindow_inst_AcceptsMouseMovedEvents( unsafe.Pointer(x.Pointer()), ) @@ -21513,7 +21513,7 @@ func (x gen_NSWindow) AcceptsMouseMovedEvents() bool { func (x gen_NSWindow) SetAcceptsMouseMovedEvents( value bool, ) { - C.NSWindow_inst_setAcceptsMouseMovedEvents( + C.NSWindow_inst_SetAcceptsMouseMovedEvents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21526,7 +21526,7 @@ func (x gen_NSWindow) SetAcceptsMouseMovedEvents( // // See https://developer.apple.com/documentation/appkit/nswindow/1419354-ignoresmouseevents?language=objc for details. func (x gen_NSWindow) IgnoresMouseEvents() bool { - ret := C.NSWindow_inst_ignoresMouseEvents( + ret := C.NSWindow_inst_IgnoresMouseEvents( unsafe.Pointer(x.Pointer()), ) @@ -21540,7 +21540,7 @@ func (x gen_NSWindow) IgnoresMouseEvents() bool { func (x gen_NSWindow) SetIgnoresMouseEvents( value bool, ) { - C.NSWindow_inst_setIgnoresMouseEvents( + C.NSWindow_inst_SetIgnoresMouseEvents( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21553,7 +21553,7 @@ func (x gen_NSWindow) SetIgnoresMouseEvents( // // See https://developer.apple.com/documentation/appkit/nswindow/1419280-mouselocationoutsideofeventstrea?language=objc for details. func (x gen_NSWindow) MouseLocationOutsideOfEventStream() core.NSPoint { - ret := C.NSWindow_inst_mouseLocationOutsideOfEventStream( + ret := C.NSWindow_inst_MouseLocationOutsideOfEventStream( unsafe.Pointer(x.Pointer()), ) @@ -21565,7 +21565,7 @@ func (x gen_NSWindow) MouseLocationOutsideOfEventStream() core.NSPoint { // // See https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable?language=objc for details. func (x gen_NSWindow) IsRestorable() bool { - ret := C.NSWindow_inst_isRestorable( + ret := C.NSWindow_inst_IsRestorable( unsafe.Pointer(x.Pointer()), ) @@ -21579,7 +21579,7 @@ func (x gen_NSWindow) IsRestorable() bool { func (x gen_NSWindow) SetRestorable( value bool, ) { - C.NSWindow_inst_setRestorable( + C.NSWindow_inst_SetRestorable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21592,7 +21592,7 @@ func (x gen_NSWindow) SetRestorable( // // See https://developer.apple.com/documentation/appkit/nswindow/1419609-viewsneeddisplay?language=objc for details. func (x gen_NSWindow) ViewsNeedDisplay() bool { - ret := C.NSWindow_inst_viewsNeedDisplay( + ret := C.NSWindow_inst_ViewsNeedDisplay( unsafe.Pointer(x.Pointer()), ) @@ -21606,7 +21606,7 @@ func (x gen_NSWindow) ViewsNeedDisplay() bool { func (x gen_NSWindow) SetViewsNeedDisplay( value bool, ) { - C.NSWindow_inst_setViewsNeedDisplay( + C.NSWindow_inst_SetViewsNeedDisplay( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21619,7 +21619,7 @@ func (x gen_NSWindow) SetViewsNeedDisplay( // // See https://developer.apple.com/documentation/appkit/nswindow/1419300-allowsconcurrentviewdrawing?language=objc for details. func (x gen_NSWindow) AllowsConcurrentViewDrawing() bool { - ret := C.NSWindow_inst_allowsConcurrentViewDrawing( + ret := C.NSWindow_inst_AllowsConcurrentViewDrawing( unsafe.Pointer(x.Pointer()), ) @@ -21633,7 +21633,7 @@ func (x gen_NSWindow) AllowsConcurrentViewDrawing() bool { func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( value bool, ) { - C.NSWindow_inst_setAllowsConcurrentViewDrawing( + C.NSWindow_inst_SetAllowsConcurrentViewDrawing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21646,7 +21646,7 @@ func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( // // See https://developer.apple.com/documentation/appkit/nswindow/1419311-documentedited?language=objc for details. func (x gen_NSWindow) IsDocumentEdited() bool { - ret := C.NSWindow_inst_isDocumentEdited( + ret := C.NSWindow_inst_IsDocumentEdited( unsafe.Pointer(x.Pointer()), ) @@ -21660,7 +21660,7 @@ func (x gen_NSWindow) IsDocumentEdited() bool { func (x gen_NSWindow) SetDocumentEdited( value bool, ) { - C.NSWindow_inst_setDocumentEdited( + C.NSWindow_inst_SetDocumentEdited( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21673,7 +21673,7 @@ func (x gen_NSWindow) SetDocumentEdited( // // See https://developer.apple.com/documentation/appkit/nswindow/1419459-backingscalefactor?language=objc for details. func (x gen_NSWindow) BackingScaleFactor() core.CGFloat { - ret := C.NSWindow_inst_backingScaleFactor( + ret := C.NSWindow_inst_BackingScaleFactor( unsafe.Pointer(x.Pointer()), ) @@ -21685,7 +21685,7 @@ func (x gen_NSWindow) BackingScaleFactor() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nswindow/1419404-title?language=objc for details. func (x gen_NSWindow) Title() core.NSString { - ret := C.NSWindow_inst_title( + ret := C.NSWindow_inst_Title( unsafe.Pointer(x.Pointer()), ) @@ -21699,7 +21699,7 @@ func (x gen_NSWindow) Title() core.NSString { func (x gen_NSWindow) SetTitle( value core.NSStringRef, ) { - C.NSWindow_inst_setTitle( + C.NSWindow_inst_SetTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21712,7 +21712,7 @@ func (x gen_NSWindow) SetTitle( // // See https://developer.apple.com/documentation/appkit/nswindow/3608198-subtitle?language=objc for details. func (x gen_NSWindow) Subtitle() core.NSString { - ret := C.NSWindow_inst_subtitle( + ret := C.NSWindow_inst_Subtitle( unsafe.Pointer(x.Pointer()), ) @@ -21726,7 +21726,7 @@ func (x gen_NSWindow) Subtitle() core.NSString { func (x gen_NSWindow) SetSubtitle( value core.NSStringRef, ) { - C.NSWindow_inst_setSubtitle( + C.NSWindow_inst_SetSubtitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21739,7 +21739,7 @@ func (x gen_NSWindow) SetSubtitle( // // See https://developer.apple.com/documentation/appkit/nswindow/1419635-titlevisibility?language=objc for details. func (x gen_NSWindow) TitleVisibility() core.NSInteger { - ret := C.NSWindow_inst_titleVisibility( + ret := C.NSWindow_inst_TitleVisibility( unsafe.Pointer(x.Pointer()), ) @@ -21753,7 +21753,7 @@ func (x gen_NSWindow) TitleVisibility() core.NSInteger { func (x gen_NSWindow) SetTitleVisibility( value core.NSInteger, ) { - C.NSWindow_inst_setTitleVisibility( + C.NSWindow_inst_SetTitleVisibility( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -21766,7 +21766,7 @@ func (x gen_NSWindow) SetTitleVisibility( // // See https://developer.apple.com/documentation/appkit/nswindow/1419631-representedfilename?language=objc for details. func (x gen_NSWindow) RepresentedFilename() core.NSString { - ret := C.NSWindow_inst_representedFilename( + ret := C.NSWindow_inst_RepresentedFilename( unsafe.Pointer(x.Pointer()), ) @@ -21780,7 +21780,7 @@ func (x gen_NSWindow) RepresentedFilename() core.NSString { func (x gen_NSWindow) SetRepresentedFilename( value core.NSStringRef, ) { - C.NSWindow_inst_setRepresentedFilename( + C.NSWindow_inst_SetRepresentedFilename( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21793,7 +21793,7 @@ func (x gen_NSWindow) SetRepresentedFilename( // // See https://developer.apple.com/documentation/appkit/nswindow/1419066-representedurl?language=objc for details. func (x gen_NSWindow) RepresentedURL() core.NSURL { - ret := C.NSWindow_inst_representedURL( + ret := C.NSWindow_inst_RepresentedURL( unsafe.Pointer(x.Pointer()), ) @@ -21807,7 +21807,7 @@ func (x gen_NSWindow) RepresentedURL() core.NSURL { func (x gen_NSWindow) SetRepresentedURL( value core.NSURLRef, ) { - C.NSWindow_inst_setRepresentedURL( + C.NSWindow_inst_SetRepresentedURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21820,7 +21820,7 @@ func (x gen_NSWindow) SetRepresentedURL( // // See https://developer.apple.com/documentation/appkit/nswindow/1419232-screen?language=objc for details. func (x gen_NSWindow) Screen() NSScreen { - ret := C.NSWindow_inst_screen( + ret := C.NSWindow_inst_Screen( unsafe.Pointer(x.Pointer()), ) @@ -21832,7 +21832,7 @@ func (x gen_NSWindow) Screen() NSScreen { // // See https://developer.apple.com/documentation/appkit/nswindow/1419080-deepestscreen?language=objc for details. func (x gen_NSWindow) DeepestScreen() NSScreen { - ret := C.NSWindow_inst_deepestScreen( + ret := C.NSWindow_inst_DeepestScreen( unsafe.Pointer(x.Pointer()), ) @@ -21844,7 +21844,7 @@ func (x gen_NSWindow) DeepestScreen() NSScreen { // // See https://developer.apple.com/documentation/appkit/nswindow/1419430-displayswhenscreenprofilechanges?language=objc for details. func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() bool { - ret := C.NSWindow_inst_displaysWhenScreenProfileChanges( + ret := C.NSWindow_inst_DisplaysWhenScreenProfileChanges( unsafe.Pointer(x.Pointer()), ) @@ -21858,7 +21858,7 @@ func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() bool { func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( value bool, ) { - C.NSWindow_inst_setDisplaysWhenScreenProfileChanges( + C.NSWindow_inst_SetDisplaysWhenScreenProfileChanges( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21871,7 +21871,7 @@ func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( // // See https://developer.apple.com/documentation/appkit/nswindow/1419072-movablebywindowbackground?language=objc for details. func (x gen_NSWindow) IsMovableByWindowBackground() bool { - ret := C.NSWindow_inst_isMovableByWindowBackground( + ret := C.NSWindow_inst_IsMovableByWindowBackground( unsafe.Pointer(x.Pointer()), ) @@ -21885,7 +21885,7 @@ func (x gen_NSWindow) IsMovableByWindowBackground() bool { func (x gen_NSWindow) SetMovableByWindowBackground( value bool, ) { - C.NSWindow_inst_setMovableByWindowBackground( + C.NSWindow_inst_SetMovableByWindowBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21898,7 +21898,7 @@ func (x gen_NSWindow) SetMovableByWindowBackground( // // See https://developer.apple.com/documentation/appkit/nswindow/1419579-movable?language=objc for details. func (x gen_NSWindow) IsMovable() bool { - ret := C.NSWindow_inst_isMovable( + ret := C.NSWindow_inst_IsMovable( unsafe.Pointer(x.Pointer()), ) @@ -21912,7 +21912,7 @@ func (x gen_NSWindow) IsMovable() bool { func (x gen_NSWindow) SetMovable( value bool, ) { - C.NSWindow_inst_setMovable( + C.NSWindow_inst_SetMovable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21925,7 +21925,7 @@ func (x gen_NSWindow) SetMovable( // // See https://developer.apple.com/documentation/appkit/nswindow/1419062-releasedwhenclosed?language=objc for details. func (x gen_NSWindow) IsReleasedWhenClosed() bool { - ret := C.NSWindow_inst_isReleasedWhenClosed( + ret := C.NSWindow_inst_IsReleasedWhenClosed( unsafe.Pointer(x.Pointer()), ) @@ -21939,7 +21939,7 @@ func (x gen_NSWindow) IsReleasedWhenClosed() bool { func (x gen_NSWindow) SetReleasedWhenClosed( value bool, ) { - C.NSWindow_inst_setReleasedWhenClosed( + C.NSWindow_inst_SetReleasedWhenClosed( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -21952,7 +21952,7 @@ func (x gen_NSWindow) SetReleasedWhenClosed( // // See https://developer.apple.com/documentation/appkit/nswindow/1419699-miniaturized?language=objc for details. func (x gen_NSWindow) IsMiniaturized() bool { - ret := C.NSWindow_inst_isMiniaturized( + ret := C.NSWindow_inst_IsMiniaturized( unsafe.Pointer(x.Pointer()), ) @@ -21964,7 +21964,7 @@ func (x gen_NSWindow) IsMiniaturized() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1419185-miniwindowimage?language=objc for details. func (x gen_NSWindow) MiniwindowImage() NSImage { - ret := C.NSWindow_inst_miniwindowImage( + ret := C.NSWindow_inst_MiniwindowImage( unsafe.Pointer(x.Pointer()), ) @@ -21978,7 +21978,7 @@ func (x gen_NSWindow) MiniwindowImage() NSImage { func (x gen_NSWindow) SetMiniwindowImage( value NSImageRef, ) { - C.NSWindow_inst_setMiniwindowImage( + C.NSWindow_inst_SetMiniwindowImage( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -21991,7 +21991,7 @@ func (x gen_NSWindow) SetMiniwindowImage( // // See https://developer.apple.com/documentation/appkit/nswindow/1419571-miniwindowtitle?language=objc for details. func (x gen_NSWindow) MiniwindowTitle() core.NSString { - ret := C.NSWindow_inst_miniwindowTitle( + ret := C.NSWindow_inst_MiniwindowTitle( unsafe.Pointer(x.Pointer()), ) @@ -22005,7 +22005,7 @@ func (x gen_NSWindow) MiniwindowTitle() core.NSString { func (x gen_NSWindow) SetMiniwindowTitle( value core.NSStringRef, ) { - C.NSWindow_inst_setMiniwindowTitle( + C.NSWindow_inst_SetMiniwindowTitle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -22018,7 +22018,7 @@ func (x gen_NSWindow) SetMiniwindowTitle( // // See https://developer.apple.com/documentation/appkit/nswindow/1449574-hasclosebox?language=objc for details. func (x gen_NSWindow) HasCloseBox() bool { - ret := C.NSWindow_inst_hasCloseBox( + ret := C.NSWindow_inst_HasCloseBox( unsafe.Pointer(x.Pointer()), ) @@ -22030,7 +22030,7 @@ func (x gen_NSWindow) HasCloseBox() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449568-hastitlebar?language=objc for details. func (x gen_NSWindow) HasTitleBar() bool { - ret := C.NSWindow_inst_hasTitleBar( + ret := C.NSWindow_inst_HasTitleBar( unsafe.Pointer(x.Pointer()), ) @@ -22042,7 +22042,7 @@ func (x gen_NSWindow) HasTitleBar() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449576-modalpanel?language=objc for details. func (x gen_NSWindow) IsModalPanel() bool { - ret := C.NSWindow_inst_isModalPanel( + ret := C.NSWindow_inst_IsModalPanel( unsafe.Pointer(x.Pointer()), ) @@ -22054,7 +22054,7 @@ func (x gen_NSWindow) IsModalPanel() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449579-floatingpanel?language=objc for details. func (x gen_NSWindow) IsFloatingPanel() bool { - ret := C.NSWindow_inst_isFloatingPanel( + ret := C.NSWindow_inst_IsFloatingPanel( unsafe.Pointer(x.Pointer()), ) @@ -22066,7 +22066,7 @@ func (x gen_NSWindow) IsFloatingPanel() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449587-zoomable?language=objc for details. func (x gen_NSWindow) IsZoomable() bool { - ret := C.NSWindow_inst_isZoomable( + ret := C.NSWindow_inst_IsZoomable( unsafe.Pointer(x.Pointer()), ) @@ -22078,7 +22078,7 @@ func (x gen_NSWindow) IsZoomable() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449572-resizable?language=objc for details. func (x gen_NSWindow) IsResizable() bool { - ret := C.NSWindow_inst_isResizable( + ret := C.NSWindow_inst_IsResizable( unsafe.Pointer(x.Pointer()), ) @@ -22090,7 +22090,7 @@ func (x gen_NSWindow) IsResizable() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449583-miniaturizable?language=objc for details. func (x gen_NSWindow) IsMiniaturizable() bool { - ret := C.NSWindow_inst_isMiniaturizable( + ret := C.NSWindow_inst_IsMiniaturizable( unsafe.Pointer(x.Pointer()), ) @@ -22102,7 +22102,7 @@ func (x gen_NSWindow) IsMiniaturizable() bool { // // See https://developer.apple.com/documentation/appkit/nswindow/1449577-orderedindex?language=objc for details. func (x gen_NSWindow) OrderedIndex() core.NSInteger { - ret := C.NSWindow_inst_orderedIndex( + ret := C.NSWindow_inst_OrderedIndex( unsafe.Pointer(x.Pointer()), ) @@ -22116,7 +22116,7 @@ func (x gen_NSWindow) OrderedIndex() core.NSInteger { func (x gen_NSWindow) SetOrderedIndex( value core.NSInteger, ) { - C.NSWindow_inst_setOrderedIndex( + C.NSWindow_inst_SetOrderedIndex( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -22210,7 +22210,7 @@ func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( fileURLs core.NSArrayRef, ) { - C.NSWorkspace_inst_activateFileViewerSelectingURLs( + C.NSWorkspace_inst_ActivateFileViewerSelectingURLs( unsafe.Pointer(x.Pointer()), objc.RefPointer(fileURLs), ) @@ -22225,7 +22225,7 @@ func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( func (x gen_NSWorkspace) DesktopImageOptionsForScreen( screen NSScreenRef, ) core.NSDictionary { - ret := C.NSWorkspace_inst_desktopImageOptionsForScreen( + ret := C.NSWorkspace_inst_DesktopImageOptionsForScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), ) @@ -22240,7 +22240,7 @@ func (x gen_NSWorkspace) DesktopImageOptionsForScreen( func (x gen_NSWorkspace) DesktopImageURLForScreen( screen NSScreenRef, ) core.NSURL { - ret := C.NSWorkspace_inst_desktopImageURLForScreen( + ret := C.NSWorkspace_inst_DesktopImageURLForScreen( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), ) @@ -22255,7 +22255,7 @@ func (x gen_NSWorkspace) DesktopImageURLForScreen( func (x gen_NSWorkspace) ExtendPowerOffBy( requested core.NSInteger, ) core.NSInteger { - ret := C.NSWorkspace_inst_extendPowerOffBy( + ret := C.NSWorkspace_inst_ExtendPowerOffBy( unsafe.Pointer(x.Pointer()), C.long(requested), ) @@ -22268,7 +22268,7 @@ func (x gen_NSWorkspace) ExtendPowerOffBy( // // See https://developer.apple.com/documentation/appkit/nsworkspace/1530417-hideotherapplications?language=objc for details. func (x gen_NSWorkspace) HideOtherApplications() { - C.NSWorkspace_inst_hideOtherApplications( + C.NSWorkspace_inst_HideOtherApplications( unsafe.Pointer(x.Pointer()), ) @@ -22282,7 +22282,7 @@ func (x gen_NSWorkspace) HideOtherApplications() { func (x gen_NSWorkspace) IconForFile( fullPath core.NSStringRef, ) NSImage { - ret := C.NSWorkspace_inst_iconForFile( + ret := C.NSWorkspace_inst_IconForFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), ) @@ -22297,7 +22297,7 @@ func (x gen_NSWorkspace) IconForFile( func (x gen_NSWorkspace) IconForFiles( fullPaths core.NSArrayRef, ) NSImage { - ret := C.NSWorkspace_inst_iconForFiles( + ret := C.NSWorkspace_inst_IconForFiles( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPaths), ) @@ -22312,7 +22312,7 @@ func (x gen_NSWorkspace) IconForFiles( func (x gen_NSWorkspace) IsFilePackageAtPath( fullPath core.NSStringRef, ) bool { - ret := C.NSWorkspace_inst_isFilePackageAtPath( + ret := C.NSWorkspace_inst_IsFilePackageAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), ) @@ -22327,7 +22327,7 @@ func (x gen_NSWorkspace) IsFilePackageAtPath( func (x gen_NSWorkspace) NoteFileSystemChanged( path core.NSStringRef, ) { - C.NSWorkspace_inst_noteFileSystemChanged( + C.NSWorkspace_inst_NoteFileSystemChanged( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -22342,7 +22342,7 @@ func (x gen_NSWorkspace) NoteFileSystemChanged( func (x gen_NSWorkspace) OpenURL( url core.NSURLRef, ) bool { - ret := C.NSWorkspace_inst_openURL( + ret := C.NSWorkspace_inst_OpenURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -22351,14 +22351,14 @@ func (x gen_NSWorkspace) OpenURL( } -// SelectFile_inFileViewerRootedAtPath selects the file at the specified path. +// SelectFileInFileViewerRootedAtPath selects the file at the specified path. // // See https://developer.apple.com/documentation/appkit/nsworkspace/1524399-selectfile?language=objc for details. -func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( +func (x gen_NSWorkspace) SelectFileInFileViewerRootedAtPath( fullPath core.NSStringRef, rootFullPath core.NSStringRef, ) bool { - ret := C.NSWorkspace_inst_selectFile_inFileViewerRootedAtPath( + ret := C.NSWorkspace_inst_SelectFileInFileViewerRootedAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(fullPath), objc.RefPointer(rootFullPath), @@ -22374,7 +22374,7 @@ func (x gen_NSWorkspace) SelectFile_inFileViewerRootedAtPath( func (x gen_NSWorkspace) ShowSearchResultsForQueryString( queryString core.NSStringRef, ) bool { - ret := C.NSWorkspace_inst_showSearchResultsForQueryString( + ret := C.NSWorkspace_inst_ShowSearchResultsForQueryString( unsafe.Pointer(x.Pointer()), objc.RefPointer(queryString), ) @@ -22389,7 +22389,7 @@ func (x gen_NSWorkspace) ShowSearchResultsForQueryString( func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( path core.NSStringRef, ) bool { - ret := C.NSWorkspace_inst_unmountAndEjectDeviceAtPath( + ret := C.NSWorkspace_inst_UnmountAndEjectDeviceAtPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -22402,7 +22402,7 @@ func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( // // See for details. func (x gen_NSWorkspace) Init_asNSWorkspace() NSWorkspace { - ret := C.NSWorkspace_inst_init( + ret := C.NSWorkspace_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -22414,7 +22414,7 @@ func (x gen_NSWorkspace) Init_asNSWorkspace() NSWorkspace { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc for details. func (x gen_NSWorkspace) FrontmostApplication() NSRunningApplication { - ret := C.NSWorkspace_inst_frontmostApplication( + ret := C.NSWorkspace_inst_FrontmostApplication( unsafe.Pointer(x.Pointer()), ) @@ -22426,7 +22426,7 @@ func (x gen_NSWorkspace) FrontmostApplication() NSRunningApplication { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1534059-runningapplications?language=objc for details. func (x gen_NSWorkspace) RunningApplications() core.NSArray { - ret := C.NSWorkspace_inst_runningApplications( + ret := C.NSWorkspace_inst_RunningApplications( unsafe.Pointer(x.Pointer()), ) @@ -22438,7 +22438,7 @@ func (x gen_NSWorkspace) RunningApplications() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1525848-menubarowningapplication?language=objc for details. func (x gen_NSWorkspace) MenuBarOwningApplication() NSRunningApplication { - ret := C.NSWorkspace_inst_menuBarOwningApplication( + ret := C.NSWorkspace_inst_MenuBarOwningApplication( unsafe.Pointer(x.Pointer()), ) @@ -22450,7 +22450,7 @@ func (x gen_NSWorkspace) MenuBarOwningApplication() NSRunningApplication { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1533953-filelabels?language=objc for details. func (x gen_NSWorkspace) FileLabels() core.NSArray { - ret := C.NSWorkspace_inst_fileLabels( + ret := C.NSWorkspace_inst_FileLabels( unsafe.Pointer(x.Pointer()), ) @@ -22462,7 +22462,7 @@ func (x gen_NSWorkspace) FileLabels() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1527553-filelabelcolors?language=objc for details. func (x gen_NSWorkspace) FileLabelColors() core.NSArray { - ret := C.NSWorkspace_inst_fileLabelColors( + ret := C.NSWorkspace_inst_FileLabelColors( unsafe.Pointer(x.Pointer()), ) @@ -22474,7 +22474,7 @@ func (x gen_NSWorkspace) FileLabelColors() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1524656-accessibilitydisplayshoulddiffer?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() bool { - ret := C.NSWorkspace_inst_accessibilityDisplayShouldDifferentiateWithoutColor( + ret := C.NSWorkspace_inst_AccessibilityDisplayShouldDifferentiateWithoutColor( unsafe.Pointer(x.Pointer()), ) @@ -22486,7 +22486,7 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() b // // See https://developer.apple.com/documentation/appkit/nsworkspace/1526290-accessibilitydisplayshouldincrea?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() bool { - ret := C.NSWorkspace_inst_accessibilityDisplayShouldIncreaseContrast( + ret := C.NSWorkspace_inst_AccessibilityDisplayShouldIncreaseContrast( unsafe.Pointer(x.Pointer()), ) @@ -22498,7 +22498,7 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() bool { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1533006-accessibilitydisplayshouldreduce?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() bool { - ret := C.NSWorkspace_inst_accessibilityDisplayShouldReduceTransparency( + ret := C.NSWorkspace_inst_AccessibilityDisplayShouldReduceTransparency( unsafe.Pointer(x.Pointer()), ) @@ -22510,7 +22510,7 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() bool { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1644068-accessibilitydisplayshouldinvert?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() bool { - ret := C.NSWorkspace_inst_accessibilityDisplayShouldInvertColors( + ret := C.NSWorkspace_inst_AccessibilityDisplayShouldInvertColors( unsafe.Pointer(x.Pointer()), ) @@ -22522,7 +22522,7 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() bool { // // See https://developer.apple.com/documentation/appkit/nsworkspace/1644069-accessibilitydisplayshouldreduce?language=objc for details. func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() bool { - ret := C.NSWorkspace_inst_accessibilityDisplayShouldReduceMotion( + ret := C.NSWorkspace_inst_AccessibilityDisplayShouldReduceMotion( unsafe.Pointer(x.Pointer()), ) @@ -22534,7 +22534,7 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() bool { // // See https://developer.apple.com/documentation/appkit/nsworkspace/2880322-switchcontrolenabled?language=objc for details. func (x gen_NSWorkspace) IsSwitchControlEnabled() bool { - ret := C.NSWorkspace_inst_isSwitchControlEnabled( + ret := C.NSWorkspace_inst_IsSwitchControlEnabled( unsafe.Pointer(x.Pointer()), ) @@ -22546,7 +22546,7 @@ func (x gen_NSWorkspace) IsSwitchControlEnabled() bool { // // See https://developer.apple.com/documentation/appkit/nsworkspace/2880317-voiceoverenabled?language=objc for details. func (x gen_NSWorkspace) IsVoiceOverEnabled() bool { - ret := C.NSWorkspace_inst_isVoiceOverEnabled( + ret := C.NSWorkspace_inst_IsVoiceOverEnabled( unsafe.Pointer(x.Pointer()), ) @@ -22573,14 +22573,14 @@ func NSColor_fromRef(ref objc.Ref) NSColor { return NSColor_fromPointer(unsafe.Pointer(ref.Pointer())) } -// BlendedColorWithFraction_ofColor creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. +// BlendedColorWithFractionOfColor creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. // // See https://developer.apple.com/documentation/appkit/nscolor/1524689-blendedcolorwithfraction?language=objc for details. -func (x gen_NSColor) BlendedColorWithFraction_ofColor( +func (x gen_NSColor) BlendedColorWithFractionOfColor( fraction core.CGFloat, color NSColorRef, ) NSColor { - ret := C.NSColor_inst_blendedColorWithFraction_ofColor( + ret := C.NSColor_inst_BlendedColorWithFractionOfColor( unsafe.Pointer(x.Pointer()), C.double(fraction), objc.RefPointer(color), @@ -22596,7 +22596,7 @@ func (x gen_NSColor) BlendedColorWithFraction_ofColor( func (x gen_NSColor) ColorWithAlphaComponent( alpha core.CGFloat, ) NSColor { - ret := C.NSColor_inst_colorWithAlphaComponent( + ret := C.NSColor_inst_ColorWithAlphaComponent( unsafe.Pointer(x.Pointer()), C.double(alpha), ) @@ -22611,7 +22611,7 @@ func (x gen_NSColor) ColorWithAlphaComponent( func (x gen_NSColor) DrawSwatchInRect( rect core.NSRect, ) { - C.NSColor_inst_drawSwatchInRect( + C.NSColor_inst_DrawSwatchInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -22626,7 +22626,7 @@ func (x gen_NSColor) DrawSwatchInRect( func (x gen_NSColor) HighlightWithLevel( val core.CGFloat, ) NSColor { - ret := C.NSColor_inst_highlightWithLevel( + ret := C.NSColor_inst_HighlightWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) @@ -22639,7 +22639,7 @@ func (x gen_NSColor) HighlightWithLevel( // // See https://developer.apple.com/documentation/appkit/nscolor/1527089-set?language=objc for details. func (x gen_NSColor) Set() { - C.NSColor_inst_set( + C.NSColor_inst_Set( unsafe.Pointer(x.Pointer()), ) @@ -22651,7 +22651,7 @@ func (x gen_NSColor) Set() { // // See https://developer.apple.com/documentation/appkit/nscolor/1524755-setfill?language=objc for details. func (x gen_NSColor) SetFill() { - C.NSColor_inst_setFill( + C.NSColor_inst_SetFill( unsafe.Pointer(x.Pointer()), ) @@ -22663,7 +22663,7 @@ func (x gen_NSColor) SetFill() { // // See https://developer.apple.com/documentation/appkit/nscolor/1531019-setstroke?language=objc for details. func (x gen_NSColor) SetStroke() { - C.NSColor_inst_setStroke( + C.NSColor_inst_SetStroke( unsafe.Pointer(x.Pointer()), ) @@ -22677,7 +22677,7 @@ func (x gen_NSColor) SetStroke() { func (x gen_NSColor) ShadowWithLevel( val core.CGFloat, ) NSColor { - ret := C.NSColor_inst_shadowWithLevel( + ret := C.NSColor_inst_ShadowWithLevel( unsafe.Pointer(x.Pointer()), C.double(val), ) @@ -22692,7 +22692,7 @@ func (x gen_NSColor) ShadowWithLevel( func (x gen_NSColor) WriteToPasteboard( pasteBoard NSPasteboardRef, ) { - C.NSColor_inst_writeToPasteboard( + C.NSColor_inst_WriteToPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pasteBoard), ) @@ -22705,7 +22705,7 @@ func (x gen_NSColor) WriteToPasteboard( // // See for details. func (x gen_NSColor) Init_asNSColor() NSColor { - ret := C.NSColor_inst_init( + ret := C.NSColor_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -22717,7 +22717,7 @@ func (x gen_NSColor) Init_asNSColor() NSColor { // // See https://developer.apple.com/documentation/appkit/nscolor/1531308-numberofcomponents?language=objc for details. func (x gen_NSColor) NumberOfComponents() core.NSInteger { - ret := C.NSColor_inst_numberOfComponents( + ret := C.NSColor_inst_NumberOfComponents( unsafe.Pointer(x.Pointer()), ) @@ -22729,7 +22729,7 @@ func (x gen_NSColor) NumberOfComponents() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nscolor/1532504-alphacomponent?language=objc for details. func (x gen_NSColor) AlphaComponent() core.CGFloat { - ret := C.NSColor_inst_alphaComponent( + ret := C.NSColor_inst_AlphaComponent( unsafe.Pointer(x.Pointer()), ) @@ -22741,7 +22741,7 @@ func (x gen_NSColor) AlphaComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1534051-whitecomponent?language=objc for details. func (x gen_NSColor) WhiteComponent() core.CGFloat { - ret := C.NSColor_inst_whiteComponent( + ret := C.NSColor_inst_WhiteComponent( unsafe.Pointer(x.Pointer()), ) @@ -22753,7 +22753,7 @@ func (x gen_NSColor) WhiteComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1530483-redcomponent?language=objc for details. func (x gen_NSColor) RedComponent() core.CGFloat { - ret := C.NSColor_inst_redComponent( + ret := C.NSColor_inst_RedComponent( unsafe.Pointer(x.Pointer()), ) @@ -22765,7 +22765,7 @@ func (x gen_NSColor) RedComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1525935-greencomponent?language=objc for details. func (x gen_NSColor) GreenComponent() core.CGFloat { - ret := C.NSColor_inst_greenComponent( + ret := C.NSColor_inst_GreenComponent( unsafe.Pointer(x.Pointer()), ) @@ -22777,7 +22777,7 @@ func (x gen_NSColor) GreenComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1534229-bluecomponent?language=objc for details. func (x gen_NSColor) BlueComponent() core.CGFloat { - ret := C.NSColor_inst_blueComponent( + ret := C.NSColor_inst_BlueComponent( unsafe.Pointer(x.Pointer()), ) @@ -22789,7 +22789,7 @@ func (x gen_NSColor) BlueComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1528234-cyancomponent?language=objc for details. func (x gen_NSColor) CyanComponent() core.CGFloat { - ret := C.NSColor_inst_cyanComponent( + ret := C.NSColor_inst_CyanComponent( unsafe.Pointer(x.Pointer()), ) @@ -22801,7 +22801,7 @@ func (x gen_NSColor) CyanComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1535560-magentacomponent?language=objc for details. func (x gen_NSColor) MagentaComponent() core.CGFloat { - ret := C.NSColor_inst_magentaComponent( + ret := C.NSColor_inst_MagentaComponent( unsafe.Pointer(x.Pointer()), ) @@ -22813,7 +22813,7 @@ func (x gen_NSColor) MagentaComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1531965-yellowcomponent?language=objc for details. func (x gen_NSColor) YellowComponent() core.CGFloat { - ret := C.NSColor_inst_yellowComponent( + ret := C.NSColor_inst_YellowComponent( unsafe.Pointer(x.Pointer()), ) @@ -22825,7 +22825,7 @@ func (x gen_NSColor) YellowComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1526883-blackcomponent?language=objc for details. func (x gen_NSColor) BlackComponent() core.CGFloat { - ret := C.NSColor_inst_blackComponent( + ret := C.NSColor_inst_BlackComponent( unsafe.Pointer(x.Pointer()), ) @@ -22837,7 +22837,7 @@ func (x gen_NSColor) BlackComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1531780-huecomponent?language=objc for details. func (x gen_NSColor) HueComponent() core.CGFloat { - ret := C.NSColor_inst_hueComponent( + ret := C.NSColor_inst_HueComponent( unsafe.Pointer(x.Pointer()), ) @@ -22849,7 +22849,7 @@ func (x gen_NSColor) HueComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1526326-saturationcomponent?language=objc for details. func (x gen_NSColor) SaturationComponent() core.CGFloat { - ret := C.NSColor_inst_saturationComponent( + ret := C.NSColor_inst_SaturationComponent( unsafe.Pointer(x.Pointer()), ) @@ -22861,7 +22861,7 @@ func (x gen_NSColor) SaturationComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1529355-brightnesscomponent?language=objc for details. func (x gen_NSColor) BrightnessComponent() core.CGFloat { - ret := C.NSColor_inst_brightnessComponent( + ret := C.NSColor_inst_BrightnessComponent( unsafe.Pointer(x.Pointer()), ) @@ -22873,7 +22873,7 @@ func (x gen_NSColor) BrightnessComponent() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nscolor/1535351-localizedcatalognamecomponent?language=objc for details. func (x gen_NSColor) LocalizedCatalogNameComponent() core.NSString { - ret := C.NSColor_inst_localizedCatalogNameComponent( + ret := C.NSColor_inst_LocalizedCatalogNameComponent( unsafe.Pointer(x.Pointer()), ) @@ -22885,7 +22885,7 @@ func (x gen_NSColor) LocalizedCatalogNameComponent() core.NSString { // // See https://developer.apple.com/documentation/appkit/nscolor/1527286-localizedcolornamecomponent?language=objc for details. func (x gen_NSColor) LocalizedColorNameComponent() core.NSString { - ret := C.NSColor_inst_localizedColorNameComponent( + ret := C.NSColor_inst_LocalizedColorNameComponent( unsafe.Pointer(x.Pointer()), ) @@ -22918,7 +22918,7 @@ func NSTextView_fromRef(ref objc.Ref) NSTextView { func (x gen_NSTextView) AlignJustified( sender objc.Ref, ) { - C.NSTextView_inst_alignJustified( + C.NSTextView_inst_AlignJustified( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -22931,7 +22931,7 @@ func (x gen_NSTextView) AlignJustified( // // See https://developer.apple.com/documentation/appkit/nstextview/1449384-breakundocoalescing?language=objc for details. func (x gen_NSTextView) BreakUndoCoalescing() { - C.NSTextView_inst_breakUndoCoalescing( + C.NSTextView_inst_BreakUndoCoalescing( unsafe.Pointer(x.Pointer()), ) @@ -22945,7 +22945,7 @@ func (x gen_NSTextView) BreakUndoCoalescing() { func (x gen_NSTextView) ChangeAttributes( sender objc.Ref, ) { - C.NSTextView_inst_changeAttributes( + C.NSTextView_inst_ChangeAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -22960,7 +22960,7 @@ func (x gen_NSTextView) ChangeAttributes( func (x gen_NSTextView) ChangeColor( sender objc.Ref, ) { - C.NSTextView_inst_changeColor( + C.NSTextView_inst_ChangeColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -22975,7 +22975,7 @@ func (x gen_NSTextView) ChangeColor( func (x gen_NSTextView) ChangeDocumentBackgroundColor( sender objc.Ref, ) { - C.NSTextView_inst_changeDocumentBackgroundColor( + C.NSTextView_inst_ChangeDocumentBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -22990,7 +22990,7 @@ func (x gen_NSTextView) ChangeDocumentBackgroundColor( func (x gen_NSTextView) ChangeLayoutOrientation( sender objc.Ref, ) { - C.NSTextView_inst_changeLayoutOrientation( + C.NSTextView_inst_ChangeLayoutOrientation( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23005,7 +23005,7 @@ func (x gen_NSTextView) ChangeLayoutOrientation( func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( point core.NSPoint, ) core.NSUInteger { - ret := C.NSTextView_inst_characterIndexForInsertionAtPoint( + ret := C.NSTextView_inst_CharacterIndexForInsertionAtPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -23020,7 +23020,7 @@ func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( func (x gen_NSTextView) CheckTextInDocument( sender objc.Ref, ) { - C.NSTextView_inst_checkTextInDocument( + C.NSTextView_inst_CheckTextInDocument( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23035,7 +23035,7 @@ func (x gen_NSTextView) CheckTextInDocument( func (x gen_NSTextView) CheckTextInSelection( sender objc.Ref, ) { - C.NSTextView_inst_checkTextInSelection( + C.NSTextView_inst_CheckTextInSelection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23048,7 +23048,7 @@ func (x gen_NSTextView) CheckTextInSelection( // // See https://developer.apple.com/documentation/appkit/nstextview/1449202-cleanupafterdragoperation?language=objc for details. func (x gen_NSTextView) CleanUpAfterDragOperation() { - C.NSTextView_inst_cleanUpAfterDragOperation( + C.NSTextView_inst_CleanUpAfterDragOperation( unsafe.Pointer(x.Pointer()), ) @@ -23056,14 +23056,14 @@ func (x gen_NSTextView) CleanUpAfterDragOperation() { } -// ClickedOnLink_atIndex causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. +// ClickedOnLinkAtIndex causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. // // See https://developer.apple.com/documentation/appkit/nstextview/1449497-clickedonlink?language=objc for details. -func (x gen_NSTextView) ClickedOnLink_atIndex( +func (x gen_NSTextView) ClickedOnLinkAtIndex( link objc.Ref, charIndex core.NSUInteger, ) { - C.NSTextView_inst_clickedOnLink_atIndex( + C.NSTextView_inst_ClickedOnLinkAtIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(link), C.ulong(charIndex), @@ -23079,7 +23079,7 @@ func (x gen_NSTextView) ClickedOnLink_atIndex( func (x gen_NSTextView) Complete( sender objc.Ref, ) { - C.NSTextView_inst_complete( + C.NSTextView_inst_Complete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23092,7 +23092,7 @@ func (x gen_NSTextView) Complete( // // See https://developer.apple.com/documentation/appkit/nstextview/1449296-didchangetext?language=objc for details. func (x gen_NSTextView) DidChangeText() { - C.NSTextView_inst_didChangeText( + C.NSTextView_inst_DidChangeText( unsafe.Pointer(x.Pointer()), ) @@ -23100,15 +23100,15 @@ func (x gen_NSTextView) DidChangeText() { } -// DragSelectionWithEvent_offset_slideBack begins dragging the current selected text range. +// DragSelectionWithEventOffsetSlideBack begins dragging the current selected text range. // // See https://developer.apple.com/documentation/appkit/nstextview/1449413-dragselectionwithevent?language=objc for details. -func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( +func (x gen_NSTextView) DragSelectionWithEventOffsetSlideBack( event NSEventRef, mouseOffset core.NSSize, slideBack bool, ) bool { - ret := C.NSTextView_inst_dragSelectionWithEvent_offset_slideBack( + ret := C.NSTextView_inst_DragSelectionWithEventOffsetSlideBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), *(*C.NSSize)(unsafe.Pointer(&mouseOffset)), @@ -23119,15 +23119,15 @@ func (x gen_NSTextView) DragSelectionWithEvent_offset_slideBack( } -// DrawInsertionPointInRect_color_turnedOn draws or erases the insertion point. +// DrawInsertionPointInRectColorTurnedOn draws or erases the insertion point. // // See https://developer.apple.com/documentation/appkit/nstextview/1449232-drawinsertionpointinrect?language=objc for details. -func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( +func (x gen_NSTextView) DrawInsertionPointInRectColorTurnedOn( rect core.NSRect, color NSColorRef, flag bool, ) { - C.NSTextView_inst_drawInsertionPointInRect_color_turnedOn( + C.NSTextView_inst_DrawInsertionPointInRectColorTurnedOn( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(color), @@ -23144,7 +23144,7 @@ func (x gen_NSTextView) DrawInsertionPointInRect_color_turnedOn( func (x gen_NSTextView) DrawViewBackgroundInRect( rect core.NSRect, ) { - C.NSTextView_inst_drawViewBackgroundInRect( + C.NSTextView_inst_DrawViewBackgroundInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -23159,7 +23159,7 @@ func (x gen_NSTextView) DrawViewBackgroundInRect( func (x gen_NSTextView) InitWithFrame_asNSTextView( frameRect core.NSRect, ) NSTextView { - ret := C.NSTextView_inst_initWithFrame( + ret := C.NSTextView_inst_InitWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -23168,14 +23168,14 @@ func (x gen_NSTextView) InitWithFrame_asNSTextView( } -// InitWithFrame_textContainer initializes a text view. +// InitWithFrameTextContainer initializes a text view. // // See https://developer.apple.com/documentation/appkit/nstextview/1449347-initwithframe?language=objc for details. -func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( +func (x gen_NSTextView) InitWithFrameTextContainer_asNSTextView( frameRect core.NSRect, container NSTextContainerRef, ) NSTextView { - ret := C.NSTextView_inst_initWithFrame_textContainer( + ret := C.NSTextView_inst_InitWithFrameTextContainer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), objc.RefPointer(container), @@ -23189,7 +23189,7 @@ func (x gen_NSTextView) InitWithFrame_textContainer_asNSTextView( // // See https://developer.apple.com/documentation/appkit/nstextview/1449546-invalidatetextcontainerorigin?language=objc for details. func (x gen_NSTextView) InvalidateTextContainerOrigin() { - C.NSTextView_inst_invalidateTextContainerOrigin( + C.NSTextView_inst_InvalidateTextContainerOrigin( unsafe.Pointer(x.Pointer()), ) @@ -23203,7 +23203,7 @@ func (x gen_NSTextView) InvalidateTextContainerOrigin() { func (x gen_NSTextView) LoosenKerning( sender objc.Ref, ) { - C.NSTextView_inst_loosenKerning( + C.NSTextView_inst_LoosenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23218,7 +23218,7 @@ func (x gen_NSTextView) LoosenKerning( func (x gen_NSTextView) LowerBaseline( sender objc.Ref, ) { - C.NSTextView_inst_lowerBaseline( + C.NSTextView_inst_LowerBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23233,7 +23233,7 @@ func (x gen_NSTextView) LowerBaseline( func (x gen_NSTextView) OrderFrontLinkPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontLinkPanel( + C.NSTextView_inst_OrderFrontLinkPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23248,7 +23248,7 @@ func (x gen_NSTextView) OrderFrontLinkPanel( func (x gen_NSTextView) OrderFrontListPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontListPanel( + C.NSTextView_inst_OrderFrontListPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23263,7 +23263,7 @@ func (x gen_NSTextView) OrderFrontListPanel( func (x gen_NSTextView) OrderFrontSharingServicePicker( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSharingServicePicker( + C.NSTextView_inst_OrderFrontSharingServicePicker( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23278,7 +23278,7 @@ func (x gen_NSTextView) OrderFrontSharingServicePicker( func (x gen_NSTextView) OrderFrontSpacingPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSpacingPanel( + C.NSTextView_inst_OrderFrontSpacingPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23293,7 +23293,7 @@ func (x gen_NSTextView) OrderFrontSpacingPanel( func (x gen_NSTextView) OrderFrontSubstitutionsPanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontSubstitutionsPanel( + C.NSTextView_inst_OrderFrontSubstitutionsPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23308,7 +23308,7 @@ func (x gen_NSTextView) OrderFrontSubstitutionsPanel( func (x gen_NSTextView) OrderFrontTablePanel( sender objc.Ref, ) { - C.NSTextView_inst_orderFrontTablePanel( + C.NSTextView_inst_OrderFrontTablePanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23323,7 +23323,7 @@ func (x gen_NSTextView) OrderFrontTablePanel( func (x gen_NSTextView) Outline( sender objc.Ref, ) { - C.NSTextView_inst_outline( + C.NSTextView_inst_Outline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23338,7 +23338,7 @@ func (x gen_NSTextView) Outline( func (x gen_NSTextView) PasteAsPlainText( sender objc.Ref, ) { - C.NSTextView_inst_pasteAsPlainText( + C.NSTextView_inst_PasteAsPlainText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23353,7 +23353,7 @@ func (x gen_NSTextView) PasteAsPlainText( func (x gen_NSTextView) PasteAsRichText( sender objc.Ref, ) { - C.NSTextView_inst_pasteAsRichText( + C.NSTextView_inst_PasteAsRichText( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23368,7 +23368,7 @@ func (x gen_NSTextView) PasteAsRichText( func (x gen_NSTextView) PerformFindPanelAction( sender objc.Ref, ) { - C.NSTextView_inst_performFindPanelAction( + C.NSTextView_inst_PerformFindPanelAction( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23383,7 +23383,7 @@ func (x gen_NSTextView) PerformFindPanelAction( func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( ranges core.NSArrayRef, ) core.NSArray { - ret := C.NSTextView_inst_quickLookPreviewableItemsInRanges( + ret := C.NSTextView_inst_QuickLookPreviewableItemsInRanges( unsafe.Pointer(x.Pointer()), objc.RefPointer(ranges), ) @@ -23398,7 +23398,7 @@ func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( func (x gen_NSTextView) RaiseBaseline( sender objc.Ref, ) { - C.NSTextView_inst_raiseBaseline( + C.NSTextView_inst_RaiseBaseline( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23413,7 +23413,7 @@ func (x gen_NSTextView) RaiseBaseline( func (x gen_NSTextView) ReadSelectionFromPasteboard( pboard NSPasteboardRef, ) bool { - ret := C.NSTextView_inst_readSelectionFromPasteboard( + ret := C.NSTextView_inst_ReadSelectionFromPasteboard( unsafe.Pointer(x.Pointer()), objc.RefPointer(pboard), ) @@ -23428,7 +23428,7 @@ func (x gen_NSTextView) ReadSelectionFromPasteboard( func (x gen_NSTextView) ReplaceTextContainer( newContainer NSTextContainerRef, ) { - C.NSTextView_inst_replaceTextContainer( + C.NSTextView_inst_ReplaceTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(newContainer), ) @@ -23443,7 +23443,7 @@ func (x gen_NSTextView) ReplaceTextContainer( func (x gen_NSTextView) SetConstrainedFrameSize( desiredSize core.NSSize, ) { - C.NSTextView_inst_setConstrainedFrameSize( + C.NSTextView_inst_SetConstrainedFrameSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&desiredSize)), ) @@ -23452,14 +23452,14 @@ func (x gen_NSTextView) SetConstrainedFrameSize( } -// SetNeedsDisplayInRect_avoidAdditionalLayout marks the receiver as requiring display. +// SetNeedsDisplayInRectAvoidAdditionalLayout marks the receiver as requiring display. // // See https://developer.apple.com/documentation/appkit/nstextview/1449279-setneedsdisplayinrect?language=objc for details. -func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( +func (x gen_NSTextView) SetNeedsDisplayInRectAvoidAdditionalLayout( rect core.NSRect, flag bool, ) { - C.NSTextView_inst_setNeedsDisplayInRect_avoidAdditionalLayout( + C.NSTextView_inst_SetNeedsDisplayInRectAvoidAdditionalLayout( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), convertToObjCBool(flag), @@ -23469,14 +23469,14 @@ func (x gen_NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout( } -// ShouldChangeTextInRanges_replacementStrings initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. +// ShouldChangeTextInRangesReplacementStrings initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. // // See https://developer.apple.com/documentation/appkit/nstextview/1449311-shouldchangetextinranges?language=objc for details. -func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( +func (x gen_NSTextView) ShouldChangeTextInRangesReplacementStrings( affectedRanges core.NSArrayRef, replacementStrings core.NSArrayRef, ) bool { - ret := C.NSTextView_inst_shouldChangeTextInRanges_replacementStrings( + ret := C.NSTextView_inst_ShouldChangeTextInRangesReplacementStrings( unsafe.Pointer(x.Pointer()), objc.RefPointer(affectedRanges), objc.RefPointer(replacementStrings), @@ -23492,7 +23492,7 @@ func (x gen_NSTextView) ShouldChangeTextInRanges_replacementStrings( func (x gen_NSTextView) StartSpeaking( sender objc.Ref, ) { - C.NSTextView_inst_startSpeaking( + C.NSTextView_inst_StartSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23507,7 +23507,7 @@ func (x gen_NSTextView) StartSpeaking( func (x gen_NSTextView) StopSpeaking( sender objc.Ref, ) { - C.NSTextView_inst_stopSpeaking( + C.NSTextView_inst_StopSpeaking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23522,7 +23522,7 @@ func (x gen_NSTextView) StopSpeaking( func (x gen_NSTextView) TightenKerning( sender objc.Ref, ) { - C.NSTextView_inst_tightenKerning( + C.NSTextView_inst_TightenKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23537,7 +23537,7 @@ func (x gen_NSTextView) TightenKerning( func (x gen_NSTextView) ToggleAutomaticDashSubstitution( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticDashSubstitution( + C.NSTextView_inst_ToggleAutomaticDashSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23552,7 +23552,7 @@ func (x gen_NSTextView) ToggleAutomaticDashSubstitution( func (x gen_NSTextView) ToggleAutomaticDataDetection( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticDataDetection( + C.NSTextView_inst_ToggleAutomaticDataDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23567,7 +23567,7 @@ func (x gen_NSTextView) ToggleAutomaticDataDetection( func (x gen_NSTextView) ToggleAutomaticLinkDetection( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticLinkDetection( + C.NSTextView_inst_ToggleAutomaticLinkDetection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23582,7 +23582,7 @@ func (x gen_NSTextView) ToggleAutomaticLinkDetection( func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticQuoteSubstitution( + C.NSTextView_inst_ToggleAutomaticQuoteSubstitution( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23597,7 +23597,7 @@ func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticSpellingCorrection( + C.NSTextView_inst_ToggleAutomaticSpellingCorrection( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23612,7 +23612,7 @@ func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( func (x gen_NSTextView) ToggleAutomaticTextCompletion( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticTextCompletion( + C.NSTextView_inst_ToggleAutomaticTextCompletion( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23627,7 +23627,7 @@ func (x gen_NSTextView) ToggleAutomaticTextCompletion( func (x gen_NSTextView) ToggleAutomaticTextReplacement( sender objc.Ref, ) { - C.NSTextView_inst_toggleAutomaticTextReplacement( + C.NSTextView_inst_ToggleAutomaticTextReplacement( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23642,7 +23642,7 @@ func (x gen_NSTextView) ToggleAutomaticTextReplacement( func (x gen_NSTextView) ToggleContinuousSpellChecking( sender objc.Ref, ) { - C.NSTextView_inst_toggleContinuousSpellChecking( + C.NSTextView_inst_ToggleContinuousSpellChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23657,7 +23657,7 @@ func (x gen_NSTextView) ToggleContinuousSpellChecking( func (x gen_NSTextView) ToggleGrammarChecking( sender objc.Ref, ) { - C.NSTextView_inst_toggleGrammarChecking( + C.NSTextView_inst_ToggleGrammarChecking( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23672,7 +23672,7 @@ func (x gen_NSTextView) ToggleGrammarChecking( func (x gen_NSTextView) ToggleQuickLookPreviewPanel( sender objc.Ref, ) { - C.NSTextView_inst_toggleQuickLookPreviewPanel( + C.NSTextView_inst_ToggleQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23687,7 +23687,7 @@ func (x gen_NSTextView) ToggleQuickLookPreviewPanel( func (x gen_NSTextView) ToggleSmartInsertDelete( sender objc.Ref, ) { - C.NSTextView_inst_toggleSmartInsertDelete( + C.NSTextView_inst_ToggleSmartInsertDelete( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23702,7 +23702,7 @@ func (x gen_NSTextView) ToggleSmartInsertDelete( func (x gen_NSTextView) TurnOffKerning( sender objc.Ref, ) { - C.NSTextView_inst_turnOffKerning( + C.NSTextView_inst_TurnOffKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23717,7 +23717,7 @@ func (x gen_NSTextView) TurnOffKerning( func (x gen_NSTextView) TurnOffLigatures( sender objc.Ref, ) { - C.NSTextView_inst_turnOffLigatures( + C.NSTextView_inst_TurnOffLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23730,7 +23730,7 @@ func (x gen_NSTextView) TurnOffLigatures( // // See https://developer.apple.com/documentation/appkit/nstextview/2544833-updatecandidates?language=objc for details. func (x gen_NSTextView) UpdateCandidates() { - C.NSTextView_inst_updateCandidates( + C.NSTextView_inst_UpdateCandidates( unsafe.Pointer(x.Pointer()), ) @@ -23742,7 +23742,7 @@ func (x gen_NSTextView) UpdateCandidates() { // // See https://developer.apple.com/documentation/appkit/nstextview/1449181-updatedragtyperegistration?language=objc for details. func (x gen_NSTextView) UpdateDragTypeRegistration() { - C.NSTextView_inst_updateDragTypeRegistration( + C.NSTextView_inst_UpdateDragTypeRegistration( unsafe.Pointer(x.Pointer()), ) @@ -23754,7 +23754,7 @@ func (x gen_NSTextView) UpdateDragTypeRegistration() { // // See https://developer.apple.com/documentation/appkit/nstextview/1449401-updatefontpanel?language=objc for details. func (x gen_NSTextView) UpdateFontPanel() { - C.NSTextView_inst_updateFontPanel( + C.NSTextView_inst_UpdateFontPanel( unsafe.Pointer(x.Pointer()), ) @@ -23768,7 +23768,7 @@ func (x gen_NSTextView) UpdateFontPanel() { func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( restartFlag bool, ) { - C.NSTextView_inst_updateInsertionPointStateAndRestartTimer( + C.NSTextView_inst_UpdateInsertionPointStateAndRestartTimer( unsafe.Pointer(x.Pointer()), convertToObjCBool(restartFlag), ) @@ -23781,7 +23781,7 @@ func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( // // See https://developer.apple.com/documentation/appkit/nstextview/1449409-updatequicklookpreviewpanel?language=objc for details. func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { - C.NSTextView_inst_updateQuickLookPreviewPanel( + C.NSTextView_inst_UpdateQuickLookPreviewPanel( unsafe.Pointer(x.Pointer()), ) @@ -23793,7 +23793,7 @@ func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { // // See https://developer.apple.com/documentation/appkit/nstextview/1449323-updateruler?language=objc for details. func (x gen_NSTextView) UpdateRuler() { - C.NSTextView_inst_updateRuler( + C.NSTextView_inst_UpdateRuler( unsafe.Pointer(x.Pointer()), ) @@ -23805,7 +23805,7 @@ func (x gen_NSTextView) UpdateRuler() { // // See https://developer.apple.com/documentation/appkit/nstextview/2544676-updatetexttouchbaritems?language=objc for details. func (x gen_NSTextView) UpdateTextTouchBarItems() { - C.NSTextView_inst_updateTextTouchBarItems( + C.NSTextView_inst_UpdateTextTouchBarItems( unsafe.Pointer(x.Pointer()), ) @@ -23817,7 +23817,7 @@ func (x gen_NSTextView) UpdateTextTouchBarItems() { // // See https://developer.apple.com/documentation/appkit/nstextview/2544834-updatetouchbaritemidentifiers?language=objc for details. func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { - C.NSTextView_inst_updateTouchBarItemIdentifiers( + C.NSTextView_inst_UpdateTouchBarItemIdentifiers( unsafe.Pointer(x.Pointer()), ) @@ -23831,7 +23831,7 @@ func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { func (x gen_NSTextView) UseAllLigatures( sender objc.Ref, ) { - C.NSTextView_inst_useAllLigatures( + C.NSTextView_inst_UseAllLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23846,7 +23846,7 @@ func (x gen_NSTextView) UseAllLigatures( func (x gen_NSTextView) UseStandardKerning( sender objc.Ref, ) { - C.NSTextView_inst_useStandardKerning( + C.NSTextView_inst_UseStandardKerning( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23861,7 +23861,7 @@ func (x gen_NSTextView) UseStandardKerning( func (x gen_NSTextView) UseStandardLigatures( sender objc.Ref, ) { - C.NSTextView_inst_useStandardLigatures( + C.NSTextView_inst_UseStandardLigatures( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -23870,14 +23870,14 @@ func (x gen_NSTextView) UseStandardLigatures( } -// WriteSelectionToPasteboard_types writes the current selection to the specified pasteboard under each given type. +// WriteSelectionToPasteboardTypes writes the current selection to the specified pasteboard under each given type. // // See https://developer.apple.com/documentation/appkit/nstextview/1449277-writeselectiontopasteboard?language=objc for details. -func (x gen_NSTextView) WriteSelectionToPasteboard_types( +func (x gen_NSTextView) WriteSelectionToPasteboardTypes( pboard NSPasteboardRef, types core.NSArrayRef, ) bool { - ret := C.NSTextView_inst_writeSelectionToPasteboard_types( + ret := C.NSTextView_inst_WriteSelectionToPasteboardTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(pboard), objc.RefPointer(types), @@ -23891,7 +23891,7 @@ func (x gen_NSTextView) WriteSelectionToPasteboard_types( // // See for details. func (x gen_NSTextView) Init_asNSTextView() NSTextView { - ret := C.NSTextView_inst_init( + ret := C.NSTextView_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -23903,7 +23903,7 @@ func (x gen_NSTextView) Init_asNSTextView() NSTextView { // // See https://developer.apple.com/documentation/appkit/nstextview/1449521-delegate?language=objc for details. func (x gen_NSTextView) Delegate() objc.Object { - ret := C.NSTextView_inst_delegate( + ret := C.NSTextView_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -23917,7 +23917,7 @@ func (x gen_NSTextView) Delegate() objc.Object { func (x gen_NSTextView) SetDelegate( value objc.Ref, ) { - C.NSTextView_inst_setDelegate( + C.NSTextView_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -23930,7 +23930,7 @@ func (x gen_NSTextView) SetDelegate( // // See https://developer.apple.com/documentation/appkit/nstextview/1449364-textcontainer?language=objc for details. func (x gen_NSTextView) TextContainer() NSTextContainer { - ret := C.NSTextView_inst_textContainer( + ret := C.NSTextView_inst_TextContainer( unsafe.Pointer(x.Pointer()), ) @@ -23944,7 +23944,7 @@ func (x gen_NSTextView) TextContainer() NSTextContainer { func (x gen_NSTextView) SetTextContainer( value NSTextContainerRef, ) { - C.NSTextView_inst_setTextContainer( + C.NSTextView_inst_SetTextContainer( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -23957,7 +23957,7 @@ func (x gen_NSTextView) SetTextContainer( // // See https://developer.apple.com/documentation/appkit/nstextview/1449168-textcontainerinset?language=objc for details. func (x gen_NSTextView) TextContainerInset() core.NSSize { - ret := C.NSTextView_inst_textContainerInset( + ret := C.NSTextView_inst_TextContainerInset( unsafe.Pointer(x.Pointer()), ) @@ -23971,7 +23971,7 @@ func (x gen_NSTextView) TextContainerInset() core.NSSize { func (x gen_NSTextView) SetTextContainerInset( value core.NSSize, ) { - C.NSTextView_inst_setTextContainerInset( + C.NSTextView_inst_SetTextContainerInset( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -23984,7 +23984,7 @@ func (x gen_NSTextView) SetTextContainerInset( // // See https://developer.apple.com/documentation/appkit/nstextview/1449477-textcontainerorigin?language=objc for details. func (x gen_NSTextView) TextContainerOrigin() core.NSPoint { - ret := C.NSTextView_inst_textContainerOrigin( + ret := C.NSTextView_inst_TextContainerOrigin( unsafe.Pointer(x.Pointer()), ) @@ -23996,7 +23996,7 @@ func (x gen_NSTextView) TextContainerOrigin() core.NSPoint { // // See https://developer.apple.com/documentation/appkit/nstextview/1449148-layoutmanager?language=objc for details. func (x gen_NSTextView) LayoutManager() NSLayoutManager { - ret := C.NSTextView_inst_layoutManager( + ret := C.NSTextView_inst_LayoutManager( unsafe.Pointer(x.Pointer()), ) @@ -24008,7 +24008,7 @@ func (x gen_NSTextView) LayoutManager() NSLayoutManager { // // See https://developer.apple.com/documentation/appkit/nstextview/1449501-backgroundcolor?language=objc for details. func (x gen_NSTextView) BackgroundColor() NSColor { - ret := C.NSTextView_inst_backgroundColor( + ret := C.NSTextView_inst_BackgroundColor( unsafe.Pointer(x.Pointer()), ) @@ -24022,7 +24022,7 @@ func (x gen_NSTextView) BackgroundColor() NSColor { func (x gen_NSTextView) SetBackgroundColor( value NSColorRef, ) { - C.NSTextView_inst_setBackgroundColor( + C.NSTextView_inst_SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24035,7 +24035,7 @@ func (x gen_NSTextView) SetBackgroundColor( // // See https://developer.apple.com/documentation/appkit/nstextview/1449530-drawsbackground?language=objc for details. func (x gen_NSTextView) DrawsBackground() bool { - ret := C.NSTextView_inst_drawsBackground( + ret := C.NSTextView_inst_DrawsBackground( unsafe.Pointer(x.Pointer()), ) @@ -24049,7 +24049,7 @@ func (x gen_NSTextView) DrawsBackground() bool { func (x gen_NSTextView) SetDrawsBackground( value bool, ) { - C.NSTextView_inst_setDrawsBackground( + C.NSTextView_inst_SetDrawsBackground( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24062,7 +24062,7 @@ func (x gen_NSTextView) SetDrawsBackground( // // See https://developer.apple.com/documentation/appkit/nstextview/1449397-allowsdocumentbackgroundcolorcha?language=objc for details. func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() bool { - ret := C.NSTextView_inst_allowsDocumentBackgroundColorChange( + ret := C.NSTextView_inst_AllowsDocumentBackgroundColorChange( unsafe.Pointer(x.Pointer()), ) @@ -24076,7 +24076,7 @@ func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() bool { func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( value bool, ) { - C.NSTextView_inst_setAllowsDocumentBackgroundColorChange( + C.NSTextView_inst_SetAllowsDocumentBackgroundColorChange( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24089,7 +24089,7 @@ func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( // // See https://developer.apple.com/documentation/appkit/nstextview/1449152-shoulddrawinsertionpoint?language=objc for details. func (x gen_NSTextView) ShouldDrawInsertionPoint() bool { - ret := C.NSTextView_inst_shouldDrawInsertionPoint( + ret := C.NSTextView_inst_ShouldDrawInsertionPoint( unsafe.Pointer(x.Pointer()), ) @@ -24101,7 +24101,7 @@ func (x gen_NSTextView) ShouldDrawInsertionPoint() bool { // // See https://developer.apple.com/documentation/appkit/nstextview/1449370-allowedinputsourcelocales?language=objc for details. func (x gen_NSTextView) AllowedInputSourceLocales() core.NSArray { - ret := C.NSTextView_inst_allowedInputSourceLocales( + ret := C.NSTextView_inst_AllowedInputSourceLocales( unsafe.Pointer(x.Pointer()), ) @@ -24115,7 +24115,7 @@ func (x gen_NSTextView) AllowedInputSourceLocales() core.NSArray { func (x gen_NSTextView) SetAllowedInputSourceLocales( value core.NSArrayRef, ) { - C.NSTextView_inst_setAllowedInputSourceLocales( + C.NSTextView_inst_SetAllowedInputSourceLocales( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24128,7 +24128,7 @@ func (x gen_NSTextView) SetAllowedInputSourceLocales( // // See https://developer.apple.com/documentation/appkit/nstextview/1449450-allowsundo?language=objc for details. func (x gen_NSTextView) AllowsUndo() bool { - ret := C.NSTextView_inst_allowsUndo( + ret := C.NSTextView_inst_AllowsUndo( unsafe.Pointer(x.Pointer()), ) @@ -24142,7 +24142,7 @@ func (x gen_NSTextView) AllowsUndo() bool { func (x gen_NSTextView) SetAllowsUndo( value bool, ) { - C.NSTextView_inst_setAllowsUndo( + C.NSTextView_inst_SetAllowsUndo( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24155,7 +24155,7 @@ func (x gen_NSTextView) SetAllowsUndo( // // See https://developer.apple.com/documentation/appkit/nstextview/1449345-editable?language=objc for details. func (x gen_NSTextView) IsEditable() bool { - ret := C.NSTextView_inst_isEditable( + ret := C.NSTextView_inst_IsEditable( unsafe.Pointer(x.Pointer()), ) @@ -24169,7 +24169,7 @@ func (x gen_NSTextView) IsEditable() bool { func (x gen_NSTextView) SetEditable( value bool, ) { - C.NSTextView_inst_setEditable( + C.NSTextView_inst_SetEditable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24182,7 +24182,7 @@ func (x gen_NSTextView) SetEditable( // // See https://developer.apple.com/documentation/appkit/nstextview/1449297-selectable?language=objc for details. func (x gen_NSTextView) IsSelectable() bool { - ret := C.NSTextView_inst_isSelectable( + ret := C.NSTextView_inst_IsSelectable( unsafe.Pointer(x.Pointer()), ) @@ -24196,7 +24196,7 @@ func (x gen_NSTextView) IsSelectable() bool { func (x gen_NSTextView) SetSelectable( value bool, ) { - C.NSTextView_inst_setSelectable( + C.NSTextView_inst_SetSelectable( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24209,7 +24209,7 @@ func (x gen_NSTextView) SetSelectable( // // See https://developer.apple.com/documentation/appkit/nstextview/1449156-fieldeditor?language=objc for details. func (x gen_NSTextView) IsFieldEditor() bool { - ret := C.NSTextView_inst_isFieldEditor( + ret := C.NSTextView_inst_IsFieldEditor( unsafe.Pointer(x.Pointer()), ) @@ -24223,7 +24223,7 @@ func (x gen_NSTextView) IsFieldEditor() bool { func (x gen_NSTextView) SetFieldEditor( value bool, ) { - C.NSTextView_inst_setFieldEditor( + C.NSTextView_inst_SetFieldEditor( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24236,7 +24236,7 @@ func (x gen_NSTextView) SetFieldEditor( // // See https://developer.apple.com/documentation/appkit/nstextview/1449538-richtext?language=objc for details. func (x gen_NSTextView) IsRichText() bool { - ret := C.NSTextView_inst_isRichText( + ret := C.NSTextView_inst_IsRichText( unsafe.Pointer(x.Pointer()), ) @@ -24250,7 +24250,7 @@ func (x gen_NSTextView) IsRichText() bool { func (x gen_NSTextView) SetRichText( value bool, ) { - C.NSTextView_inst_setRichText( + C.NSTextView_inst_SetRichText( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24263,7 +24263,7 @@ func (x gen_NSTextView) SetRichText( // // See https://developer.apple.com/documentation/appkit/nstextview/1449266-importsgraphics?language=objc for details. func (x gen_NSTextView) ImportsGraphics() bool { - ret := C.NSTextView_inst_importsGraphics( + ret := C.NSTextView_inst_ImportsGraphics( unsafe.Pointer(x.Pointer()), ) @@ -24277,7 +24277,7 @@ func (x gen_NSTextView) ImportsGraphics() bool { func (x gen_NSTextView) SetImportsGraphics( value bool, ) { - C.NSTextView_inst_setImportsGraphics( + C.NSTextView_inst_SetImportsGraphics( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24290,7 +24290,7 @@ func (x gen_NSTextView) SetImportsGraphics( // // See https://developer.apple.com/documentation/appkit/nstextview/1449425-allowsimageediting?language=objc for details. func (x gen_NSTextView) AllowsImageEditing() bool { - ret := C.NSTextView_inst_allowsImageEditing( + ret := C.NSTextView_inst_AllowsImageEditing( unsafe.Pointer(x.Pointer()), ) @@ -24304,7 +24304,7 @@ func (x gen_NSTextView) AllowsImageEditing() bool { func (x gen_NSTextView) SetAllowsImageEditing( value bool, ) { - C.NSTextView_inst_setAllowsImageEditing( + C.NSTextView_inst_SetAllowsImageEditing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24317,7 +24317,7 @@ func (x gen_NSTextView) SetAllowsImageEditing( // // See https://developer.apple.com/documentation/appkit/nstextview/1449258-automaticquotesubstitutionenable?language=objc for details. func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() bool { - ret := C.NSTextView_inst_isAutomaticQuoteSubstitutionEnabled( + ret := C.NSTextView_inst_IsAutomaticQuoteSubstitutionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24331,7 +24331,7 @@ func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() bool { func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticQuoteSubstitutionEnabled( + C.NSTextView_inst_SetAutomaticQuoteSubstitutionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24344,7 +24344,7 @@ func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449170-automaticlinkdetectionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() bool { - ret := C.NSTextView_inst_isAutomaticLinkDetectionEnabled( + ret := C.NSTextView_inst_IsAutomaticLinkDetectionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24358,7 +24358,7 @@ func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() bool { func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticLinkDetectionEnabled( + C.NSTextView_inst_SetAutomaticLinkDetectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24371,7 +24371,7 @@ func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449204-displayslinktooltips?language=objc for details. func (x gen_NSTextView) DisplaysLinkToolTips() bool { - ret := C.NSTextView_inst_displaysLinkToolTips( + ret := C.NSTextView_inst_DisplaysLinkToolTips( unsafe.Pointer(x.Pointer()), ) @@ -24385,7 +24385,7 @@ func (x gen_NSTextView) DisplaysLinkToolTips() bool { func (x gen_NSTextView) SetDisplaysLinkToolTips( value bool, ) { - C.NSTextView_inst_setDisplaysLinkToolTips( + C.NSTextView_inst_SetDisplaysLinkToolTips( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24398,7 +24398,7 @@ func (x gen_NSTextView) SetDisplaysLinkToolTips( // // See https://developer.apple.com/documentation/appkit/nstextview/2544655-automatictextcompletionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() bool { - ret := C.NSTextView_inst_isAutomaticTextCompletionEnabled( + ret := C.NSTextView_inst_IsAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24412,7 +24412,7 @@ func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() bool { func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticTextCompletionEnabled( + C.NSTextView_inst_SetAutomaticTextCompletionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24425,7 +24425,7 @@ func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/3237223-usesadaptivecolormappingfordarka?language=objc for details. func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() bool { - ret := C.NSTextView_inst_usesAdaptiveColorMappingForDarkAppearance( + ret := C.NSTextView_inst_UsesAdaptiveColorMappingForDarkAppearance( unsafe.Pointer(x.Pointer()), ) @@ -24439,7 +24439,7 @@ func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() bool { func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( value bool, ) { - C.NSTextView_inst_setUsesAdaptiveColorMappingForDarkAppearance( + C.NSTextView_inst_SetUsesAdaptiveColorMappingForDarkAppearance( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24452,7 +24452,7 @@ func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( // // See https://developer.apple.com/documentation/appkit/nstextview/1449357-usesrolloverbuttonforselection?language=objc for details. func (x gen_NSTextView) UsesRolloverButtonForSelection() bool { - ret := C.NSTextView_inst_usesRolloverButtonForSelection( + ret := C.NSTextView_inst_UsesRolloverButtonForSelection( unsafe.Pointer(x.Pointer()), ) @@ -24466,7 +24466,7 @@ func (x gen_NSTextView) UsesRolloverButtonForSelection() bool { func (x gen_NSTextView) SetUsesRolloverButtonForSelection( value bool, ) { - C.NSTextView_inst_setUsesRolloverButtonForSelection( + C.NSTextView_inst_SetUsesRolloverButtonForSelection( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24479,7 +24479,7 @@ func (x gen_NSTextView) SetUsesRolloverButtonForSelection( // // See https://developer.apple.com/documentation/appkit/nstextview/1449218-usesruler?language=objc for details. func (x gen_NSTextView) UsesRuler() bool { - ret := C.NSTextView_inst_usesRuler( + ret := C.NSTextView_inst_UsesRuler( unsafe.Pointer(x.Pointer()), ) @@ -24493,7 +24493,7 @@ func (x gen_NSTextView) UsesRuler() bool { func (x gen_NSTextView) SetUsesRuler( value bool, ) { - C.NSTextView_inst_setUsesRuler( + C.NSTextView_inst_SetUsesRuler( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24506,7 +24506,7 @@ func (x gen_NSTextView) SetUsesRuler( // // See https://developer.apple.com/documentation/appkit/nstextview/1449406-rulervisible?language=objc for details. func (x gen_NSTextView) IsRulerVisible() bool { - ret := C.NSTextView_inst_isRulerVisible( + ret := C.NSTextView_inst_IsRulerVisible( unsafe.Pointer(x.Pointer()), ) @@ -24520,7 +24520,7 @@ func (x gen_NSTextView) IsRulerVisible() bool { func (x gen_NSTextView) SetRulerVisible( value bool, ) { - C.NSTextView_inst_setRulerVisible( + C.NSTextView_inst_SetRulerVisible( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24533,7 +24533,7 @@ func (x gen_NSTextView) SetRulerVisible( // // See https://developer.apple.com/documentation/appkit/nstextview/1449407-usesinspectorbar?language=objc for details. func (x gen_NSTextView) UsesInspectorBar() bool { - ret := C.NSTextView_inst_usesInspectorBar( + ret := C.NSTextView_inst_UsesInspectorBar( unsafe.Pointer(x.Pointer()), ) @@ -24547,7 +24547,7 @@ func (x gen_NSTextView) UsesInspectorBar() bool { func (x gen_NSTextView) SetUsesInspectorBar( value bool, ) { - C.NSTextView_inst_setUsesInspectorBar( + C.NSTextView_inst_SetUsesInspectorBar( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24560,7 +24560,7 @@ func (x gen_NSTextView) SetUsesInspectorBar( // // See https://developer.apple.com/documentation/appkit/nstextview/1449129-selectedranges?language=objc for details. func (x gen_NSTextView) SelectedRanges() core.NSArray { - ret := C.NSTextView_inst_selectedRanges( + ret := C.NSTextView_inst_SelectedRanges( unsafe.Pointer(x.Pointer()), ) @@ -24574,7 +24574,7 @@ func (x gen_NSTextView) SelectedRanges() core.NSArray { func (x gen_NSTextView) SetSelectedRanges( value core.NSArrayRef, ) { - C.NSTextView_inst_setSelectedRanges( + C.NSTextView_inst_SetSelectedRanges( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24587,7 +24587,7 @@ func (x gen_NSTextView) SetSelectedRanges( // // See https://developer.apple.com/documentation/appkit/nstextview/1449309-insertionpointcolor?language=objc for details. func (x gen_NSTextView) InsertionPointColor() NSColor { - ret := C.NSTextView_inst_insertionPointColor( + ret := C.NSTextView_inst_InsertionPointColor( unsafe.Pointer(x.Pointer()), ) @@ -24601,7 +24601,7 @@ func (x gen_NSTextView) InsertionPointColor() NSColor { func (x gen_NSTextView) SetInsertionPointColor( value NSColorRef, ) { - C.NSTextView_inst_setInsertionPointColor( + C.NSTextView_inst_SetInsertionPointColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24614,7 +24614,7 @@ func (x gen_NSTextView) SetInsertionPointColor( // // See https://developer.apple.com/documentation/appkit/nstextview/1449270-selectedtextattributes?language=objc for details. func (x gen_NSTextView) SelectedTextAttributes() core.NSDictionary { - ret := C.NSTextView_inst_selectedTextAttributes( + ret := C.NSTextView_inst_SelectedTextAttributes( unsafe.Pointer(x.Pointer()), ) @@ -24628,7 +24628,7 @@ func (x gen_NSTextView) SelectedTextAttributes() core.NSDictionary { func (x gen_NSTextView) SetSelectedTextAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setSelectedTextAttributes( + C.NSTextView_inst_SetSelectedTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24641,7 +24641,7 @@ func (x gen_NSTextView) SetSelectedTextAttributes( // // See https://developer.apple.com/documentation/appkit/nstextview/1449179-markedtextattributes?language=objc for details. func (x gen_NSTextView) MarkedTextAttributes() core.NSDictionary { - ret := C.NSTextView_inst_markedTextAttributes( + ret := C.NSTextView_inst_MarkedTextAttributes( unsafe.Pointer(x.Pointer()), ) @@ -24655,7 +24655,7 @@ func (x gen_NSTextView) MarkedTextAttributes() core.NSDictionary { func (x gen_NSTextView) SetMarkedTextAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setMarkedTextAttributes( + C.NSTextView_inst_SetMarkedTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24668,7 +24668,7 @@ func (x gen_NSTextView) SetMarkedTextAttributes( // // See https://developer.apple.com/documentation/appkit/nstextview/1449452-linktextattributes?language=objc for details. func (x gen_NSTextView) LinkTextAttributes() core.NSDictionary { - ret := C.NSTextView_inst_linkTextAttributes( + ret := C.NSTextView_inst_LinkTextAttributes( unsafe.Pointer(x.Pointer()), ) @@ -24682,7 +24682,7 @@ func (x gen_NSTextView) LinkTextAttributes() core.NSDictionary { func (x gen_NSTextView) SetLinkTextAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setLinkTextAttributes( + C.NSTextView_inst_SetLinkTextAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24695,7 +24695,7 @@ func (x gen_NSTextView) SetLinkTextAttributes( // // See https://developer.apple.com/documentation/appkit/nstextview/1449361-readablepasteboardtypes?language=objc for details. func (x gen_NSTextView) ReadablePasteboardTypes() core.NSArray { - ret := C.NSTextView_inst_readablePasteboardTypes( + ret := C.NSTextView_inst_ReadablePasteboardTypes( unsafe.Pointer(x.Pointer()), ) @@ -24707,7 +24707,7 @@ func (x gen_NSTextView) ReadablePasteboardTypes() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nstextview/1449222-writablepasteboardtypes?language=objc for details. func (x gen_NSTextView) WritablePasteboardTypes() core.NSArray { - ret := C.NSTextView_inst_writablePasteboardTypes( + ret := C.NSTextView_inst_WritablePasteboardTypes( unsafe.Pointer(x.Pointer()), ) @@ -24719,7 +24719,7 @@ func (x gen_NSTextView) WritablePasteboardTypes() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nstextview/1449487-typingattributes?language=objc for details. func (x gen_NSTextView) TypingAttributes() core.NSDictionary { - ret := C.NSTextView_inst_typingAttributes( + ret := C.NSTextView_inst_TypingAttributes( unsafe.Pointer(x.Pointer()), ) @@ -24733,7 +24733,7 @@ func (x gen_NSTextView) TypingAttributes() core.NSDictionary { func (x gen_NSTextView) SetTypingAttributes( value core.NSDictionaryRef, ) { - C.NSTextView_inst_setTypingAttributes( + C.NSTextView_inst_SetTypingAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -24746,7 +24746,7 @@ func (x gen_NSTextView) SetTypingAttributes( // // See https://developer.apple.com/documentation/appkit/nstextview/1449368-coalescingundo?language=objc for details. func (x gen_NSTextView) IsCoalescingUndo() bool { - ret := C.NSTextView_inst_isCoalescingUndo( + ret := C.NSTextView_inst_IsCoalescingUndo( unsafe.Pointer(x.Pointer()), ) @@ -24758,7 +24758,7 @@ func (x gen_NSTextView) IsCoalescingUndo() bool { // // See https://developer.apple.com/documentation/appkit/nstextview/1449234-acceptabledragtypes?language=objc for details. func (x gen_NSTextView) AcceptableDragTypes() core.NSArray { - ret := C.NSTextView_inst_acceptableDragTypes( + ret := C.NSTextView_inst_AcceptableDragTypes( unsafe.Pointer(x.Pointer()), ) @@ -24770,7 +24770,7 @@ func (x gen_NSTextView) AcceptableDragTypes() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nstextview/1449503-rangesforusercharacterattributec?language=objc for details. func (x gen_NSTextView) RangesForUserCharacterAttributeChange() core.NSArray { - ret := C.NSTextView_inst_rangesForUserCharacterAttributeChange( + ret := C.NSTextView_inst_RangesForUserCharacterAttributeChange( unsafe.Pointer(x.Pointer()), ) @@ -24782,7 +24782,7 @@ func (x gen_NSTextView) RangesForUserCharacterAttributeChange() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nstextview/1449161-rangesforuserparagraphattributec?language=objc for details. func (x gen_NSTextView) RangesForUserParagraphAttributeChange() core.NSArray { - ret := C.NSTextView_inst_rangesForUserParagraphAttributeChange( + ret := C.NSTextView_inst_RangesForUserParagraphAttributeChange( unsafe.Pointer(x.Pointer()), ) @@ -24794,7 +24794,7 @@ func (x gen_NSTextView) RangesForUserParagraphAttributeChange() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nstextview/1449434-rangesforusertextchange?language=objc for details. func (x gen_NSTextView) RangesForUserTextChange() core.NSArray { - ret := C.NSTextView_inst_rangesForUserTextChange( + ret := C.NSTextView_inst_RangesForUserTextChange( unsafe.Pointer(x.Pointer()), ) @@ -24806,7 +24806,7 @@ func (x gen_NSTextView) RangesForUserTextChange() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nstextview/1449236-smartinsertdeleteenabled?language=objc for details. func (x gen_NSTextView) SmartInsertDeleteEnabled() bool { - ret := C.NSTextView_inst_smartInsertDeleteEnabled( + ret := C.NSTextView_inst_SmartInsertDeleteEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24820,7 +24820,7 @@ func (x gen_NSTextView) SmartInsertDeleteEnabled() bool { func (x gen_NSTextView) SetSmartInsertDeleteEnabled( value bool, ) { - C.NSTextView_inst_setSmartInsertDeleteEnabled( + C.NSTextView_inst_SetSmartInsertDeleteEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24833,7 +24833,7 @@ func (x gen_NSTextView) SetSmartInsertDeleteEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449430-continuousspellcheckingenabled?language=objc for details. func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() bool { - ret := C.NSTextView_inst_isContinuousSpellCheckingEnabled( + ret := C.NSTextView_inst_IsContinuousSpellCheckingEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24847,7 +24847,7 @@ func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() bool { func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( value bool, ) { - C.NSTextView_inst_setContinuousSpellCheckingEnabled( + C.NSTextView_inst_SetContinuousSpellCheckingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24860,7 +24860,7 @@ func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449513-spellcheckerdocumenttag?language=objc for details. func (x gen_NSTextView) SpellCheckerDocumentTag() core.NSInteger { - ret := C.NSTextView_inst_spellCheckerDocumentTag( + ret := C.NSTextView_inst_SpellCheckerDocumentTag( unsafe.Pointer(x.Pointer()), ) @@ -24872,7 +24872,7 @@ func (x gen_NSTextView) SpellCheckerDocumentTag() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nstextview/1449166-grammarcheckingenabled?language=objc for details. func (x gen_NSTextView) IsGrammarCheckingEnabled() bool { - ret := C.NSTextView_inst_isGrammarCheckingEnabled( + ret := C.NSTextView_inst_IsGrammarCheckingEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24886,7 +24886,7 @@ func (x gen_NSTextView) IsGrammarCheckingEnabled() bool { func (x gen_NSTextView) SetGrammarCheckingEnabled( value bool, ) { - C.NSTextView_inst_setGrammarCheckingEnabled( + C.NSTextView_inst_SetGrammarCheckingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24899,7 +24899,7 @@ func (x gen_NSTextView) SetGrammarCheckingEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449163-acceptsglyphinfo?language=objc for details. func (x gen_NSTextView) AcceptsGlyphInfo() bool { - ret := C.NSTextView_inst_acceptsGlyphInfo( + ret := C.NSTextView_inst_AcceptsGlyphInfo( unsafe.Pointer(x.Pointer()), ) @@ -24913,7 +24913,7 @@ func (x gen_NSTextView) AcceptsGlyphInfo() bool { func (x gen_NSTextView) SetAcceptsGlyphInfo( value bool, ) { - C.NSTextView_inst_setAcceptsGlyphInfo( + C.NSTextView_inst_SetAcceptsGlyphInfo( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24926,7 +24926,7 @@ func (x gen_NSTextView) SetAcceptsGlyphInfo( // // See https://developer.apple.com/documentation/appkit/nstextview/1449534-usesfontpanel?language=objc for details. func (x gen_NSTextView) UsesFontPanel() bool { - ret := C.NSTextView_inst_usesFontPanel( + ret := C.NSTextView_inst_UsesFontPanel( unsafe.Pointer(x.Pointer()), ) @@ -24940,7 +24940,7 @@ func (x gen_NSTextView) UsesFontPanel() bool { func (x gen_NSTextView) SetUsesFontPanel( value bool, ) { - C.NSTextView_inst_setUsesFontPanel( + C.NSTextView_inst_SetUsesFontPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24953,7 +24953,7 @@ func (x gen_NSTextView) SetUsesFontPanel( // // See https://developer.apple.com/documentation/appkit/nstextview/1449293-usesfindpanel?language=objc for details. func (x gen_NSTextView) UsesFindPanel() bool { - ret := C.NSTextView_inst_usesFindPanel( + ret := C.NSTextView_inst_UsesFindPanel( unsafe.Pointer(x.Pointer()), ) @@ -24967,7 +24967,7 @@ func (x gen_NSTextView) UsesFindPanel() bool { func (x gen_NSTextView) SetUsesFindPanel( value bool, ) { - C.NSTextView_inst_setUsesFindPanel( + C.NSTextView_inst_SetUsesFindPanel( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -24980,7 +24980,7 @@ func (x gen_NSTextView) SetUsesFindPanel( // // See https://developer.apple.com/documentation/appkit/nstextview/1449403-automaticdashsubstitutionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() bool { - ret := C.NSTextView_inst_isAutomaticDashSubstitutionEnabled( + ret := C.NSTextView_inst_IsAutomaticDashSubstitutionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -24994,7 +24994,7 @@ func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() bool { func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticDashSubstitutionEnabled( + C.NSTextView_inst_SetAutomaticDashSubstitutionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25007,7 +25007,7 @@ func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449192-automaticdatadetectionenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() bool { - ret := C.NSTextView_inst_isAutomaticDataDetectionEnabled( + ret := C.NSTextView_inst_IsAutomaticDataDetectionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -25021,7 +25021,7 @@ func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() bool { func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticDataDetectionEnabled( + C.NSTextView_inst_SetAutomaticDataDetectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25034,7 +25034,7 @@ func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449254-automaticspellingcorrectionenabl?language=objc for details. func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() bool { - ret := C.NSTextView_inst_isAutomaticSpellingCorrectionEnabled( + ret := C.NSTextView_inst_IsAutomaticSpellingCorrectionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -25048,7 +25048,7 @@ func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() bool { func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticSpellingCorrectionEnabled( + C.NSTextView_inst_SetAutomaticSpellingCorrectionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25061,7 +25061,7 @@ func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled?language=objc for details. func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() bool { - ret := C.NSTextView_inst_isAutomaticTextReplacementEnabled( + ret := C.NSTextView_inst_IsAutomaticTextReplacementEnabled( unsafe.Pointer(x.Pointer()), ) @@ -25075,7 +25075,7 @@ func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() bool { func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( value bool, ) { - C.NSTextView_inst_setAutomaticTextReplacementEnabled( + C.NSTextView_inst_SetAutomaticTextReplacementEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25088,7 +25088,7 @@ func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/1449456-usesfindbar?language=objc for details. func (x gen_NSTextView) UsesFindBar() bool { - ret := C.NSTextView_inst_usesFindBar( + ret := C.NSTextView_inst_UsesFindBar( unsafe.Pointer(x.Pointer()), ) @@ -25102,7 +25102,7 @@ func (x gen_NSTextView) UsesFindBar() bool { func (x gen_NSTextView) SetUsesFindBar( value bool, ) { - C.NSTextView_inst_setUsesFindBar( + C.NSTextView_inst_SetUsesFindBar( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25115,7 +25115,7 @@ func (x gen_NSTextView) SetUsesFindBar( // // See https://developer.apple.com/documentation/appkit/nstextview/1449458-incrementalsearchingenabled?language=objc for details. func (x gen_NSTextView) IsIncrementalSearchingEnabled() bool { - ret := C.NSTextView_inst_isIncrementalSearchingEnabled( + ret := C.NSTextView_inst_IsIncrementalSearchingEnabled( unsafe.Pointer(x.Pointer()), ) @@ -25129,7 +25129,7 @@ func (x gen_NSTextView) IsIncrementalSearchingEnabled() bool { func (x gen_NSTextView) SetIncrementalSearchingEnabled( value bool, ) { - C.NSTextView_inst_setIncrementalSearchingEnabled( + C.NSTextView_inst_SetIncrementalSearchingEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25142,7 +25142,7 @@ func (x gen_NSTextView) SetIncrementalSearchingEnabled( // // See https://developer.apple.com/documentation/appkit/nstextview/2544680-allowscharacterpickertouchbarite?language=objc for details. func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() bool { - ret := C.NSTextView_inst_allowsCharacterPickerTouchBarItem( + ret := C.NSTextView_inst_AllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), ) @@ -25156,7 +25156,7 @@ func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() bool { func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( value bool, ) { - C.NSTextView_inst_setAllowsCharacterPickerTouchBarItem( + C.NSTextView_inst_SetAllowsCharacterPickerTouchBarItem( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -25169,7 +25169,7 @@ func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( // // See for details. func (x gen_NSTextView) Font() NSFont { - ret := C.NSTextView_inst_font( + ret := C.NSTextView_inst_Font( unsafe.Pointer(x.Pointer()), ) @@ -25183,7 +25183,7 @@ func (x gen_NSTextView) Font() NSFont { func (x gen_NSTextView) SetFont( value NSFontRef, ) { - C.NSTextView_inst_setFont( + C.NSTextView_inst_SetFont( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -25217,7 +25217,7 @@ func NSView_fromRef(ref objc.Ref) NSView { func (x gen_NSView) AcceptsFirstMouse( event NSEventRef, ) bool { - ret := C.NSView_inst_acceptsFirstMouse( + ret := C.NSView_inst_AcceptsFirstMouse( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -25232,7 +25232,7 @@ func (x gen_NSView) AcceptsFirstMouse( func (x gen_NSView) AddConstraints( constraints core.NSArrayRef, ) { - C.NSView_inst_addConstraints( + C.NSView_inst_AddConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) @@ -25247,7 +25247,7 @@ func (x gen_NSView) AddConstraints( func (x gen_NSView) AddSubview( view NSViewRef, ) { - C.NSView_inst_addSubview( + C.NSView_inst_AddSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -25256,15 +25256,15 @@ func (x gen_NSView) AddSubview( } -// AddSubview_positioned_relativeTo inserts a view among the view’s subviews so it’s displayed immediately above or below another view. +// AddSubviewPositionedRelativeTo inserts a view among the view’s subviews so it’s displayed immediately above or below another view. // // See https://developer.apple.com/documentation/appkit/nsview/1483640-addsubview?language=objc for details. -func (x gen_NSView) AddSubview_positioned_relativeTo( +func (x gen_NSView) AddSubviewPositionedRelativeTo( view NSViewRef, place core.NSUInteger, otherView NSViewRef, ) { - C.NSView_inst_addSubview_positioned_relativeTo( + C.NSView_inst_AddSubviewPositionedRelativeTo( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), C.ulong(place), @@ -25281,7 +25281,7 @@ func (x gen_NSView) AddSubview_positioned_relativeTo( func (x gen_NSView) AdjustScroll( newVisible core.NSRect, ) core.NSRect { - ret := C.NSView_inst_adjustScroll( + ret := C.NSView_inst_AdjustScroll( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&newVisible)), ) @@ -25296,7 +25296,7 @@ func (x gen_NSView) AdjustScroll( func (x gen_NSView) AlignmentRectForFrame( frame core.NSRect, ) core.NSRect { - ret := C.NSView_inst_alignmentRectForFrame( + ret := C.NSView_inst_AlignmentRectForFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frame)), ) @@ -25311,7 +25311,7 @@ func (x gen_NSView) AlignmentRectForFrame( func (x gen_NSView) AncestorSharedWithView( view NSViewRef, ) NSView { - ret := C.NSView_inst_ancestorSharedWithView( + ret := C.NSView_inst_AncestorSharedWithView( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -25326,7 +25326,7 @@ func (x gen_NSView) AncestorSharedWithView( func (x gen_NSView) Autoscroll( event NSEventRef, ) bool { - ret := C.NSView_inst_autoscroll( + ret := C.NSView_inst_Autoscroll( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -25339,7 +25339,7 @@ func (x gen_NSView) Autoscroll( // // See https://developer.apple.com/documentation/appkit/nsview/1483423-begindocument?language=objc for details. func (x gen_NSView) BeginDocument() { - C.NSView_inst_beginDocument( + C.NSView_inst_BeginDocument( unsafe.Pointer(x.Pointer()), ) @@ -25347,14 +25347,14 @@ func (x gen_NSView) BeginDocument() { } -// BeginPageInRect_atPlacement called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. +// BeginPageInRectAtPlacement called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. // // See https://developer.apple.com/documentation/appkit/nsview/1483438-beginpageinrect?language=objc for details. -func (x gen_NSView) BeginPageInRect_atPlacement( +func (x gen_NSView) BeginPageInRectAtPlacement( rect core.NSRect, location core.NSPoint, ) { - C.NSView_inst_beginPageInRect_atPlacement( + C.NSView_inst_BeginPageInRectAtPlacement( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), *(*C.NSPoint)(unsafe.Pointer(&location)), @@ -25370,7 +25370,7 @@ func (x gen_NSView) BeginPageInRect_atPlacement( func (x gen_NSView) CenterScanRect( rect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_centerScanRect( + ret := C.NSView_inst_CenterScanRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25379,14 +25379,14 @@ func (x gen_NSView) CenterScanRect( } -// ConvertPoint_fromView converts a point from the coordinate system of a given view to that of the view. +// ConvertPointFromView converts a point from the coordinate system of a given view to that of the view. // // See https://developer.apple.com/documentation/appkit/nsview/1483269-convertpoint?language=objc for details. -func (x gen_NSView) ConvertPoint_fromView( +func (x gen_NSView) ConvertPointFromView( point core.NSPoint, view NSViewRef, ) core.NSPoint { - ret := C.NSView_inst_convertPoint_fromView( + ret := C.NSView_inst_ConvertPointFromView( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), @@ -25396,14 +25396,14 @@ func (x gen_NSView) ConvertPoint_fromView( } -// ConvertPoint_toView converts a point from the view’s coordinate system to that of a given view. +// ConvertPointToView converts a point from the view’s coordinate system to that of a given view. // // See https://developer.apple.com/documentation/appkit/nsview/1483406-convertpoint?language=objc for details. -func (x gen_NSView) ConvertPoint_toView( +func (x gen_NSView) ConvertPointToView( point core.NSPoint, view NSViewRef, ) core.NSPoint { - ret := C.NSView_inst_convertPoint_toView( + ret := C.NSView_inst_ConvertPointToView( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), objc.RefPointer(view), @@ -25419,7 +25419,7 @@ func (x gen_NSView) ConvertPoint_toView( func (x gen_NSView) ConvertPointFromBacking( point core.NSPoint, ) core.NSPoint { - ret := C.NSView_inst_convertPointFromBacking( + ret := C.NSView_inst_ConvertPointFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -25434,7 +25434,7 @@ func (x gen_NSView) ConvertPointFromBacking( func (x gen_NSView) ConvertPointFromLayer( point core.NSPoint, ) core.NSPoint { - ret := C.NSView_inst_convertPointFromLayer( + ret := C.NSView_inst_ConvertPointFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -25449,7 +25449,7 @@ func (x gen_NSView) ConvertPointFromLayer( func (x gen_NSView) ConvertPointToBacking( point core.NSPoint, ) core.NSPoint { - ret := C.NSView_inst_convertPointToBacking( + ret := C.NSView_inst_ConvertPointToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -25464,7 +25464,7 @@ func (x gen_NSView) ConvertPointToBacking( func (x gen_NSView) ConvertPointToLayer( point core.NSPoint, ) core.NSPoint { - ret := C.NSView_inst_convertPointToLayer( + ret := C.NSView_inst_ConvertPointToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -25473,14 +25473,14 @@ func (x gen_NSView) ConvertPointToLayer( } -// ConvertRect_fromView converts a rectangle from the coordinate system of another view to that of the view. +// ConvertRectFromView converts a rectangle from the coordinate system of another view to that of the view. // // See https://developer.apple.com/documentation/appkit/nsview/1483785-convertrect?language=objc for details. -func (x gen_NSView) ConvertRect_fromView( +func (x gen_NSView) ConvertRectFromView( rect core.NSRect, view NSViewRef, ) core.NSRect { - ret := C.NSView_inst_convertRect_fromView( + ret := C.NSView_inst_ConvertRectFromView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(view), @@ -25490,14 +25490,14 @@ func (x gen_NSView) ConvertRect_fromView( } -// ConvertRect_toView converts a rectangle from the view’s coordinate system to that of another view. +// ConvertRectToView converts a rectangle from the view’s coordinate system to that of another view. // // See https://developer.apple.com/documentation/appkit/nsview/1483217-convertrect?language=objc for details. -func (x gen_NSView) ConvertRect_toView( +func (x gen_NSView) ConvertRectToView( rect core.NSRect, view NSViewRef, ) core.NSRect { - ret := C.NSView_inst_convertRect_toView( + ret := C.NSView_inst_ConvertRectToView( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(view), @@ -25513,7 +25513,7 @@ func (x gen_NSView) ConvertRect_toView( func (x gen_NSView) ConvertRectFromBacking( rect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_convertRectFromBacking( + ret := C.NSView_inst_ConvertRectFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25528,7 +25528,7 @@ func (x gen_NSView) ConvertRectFromBacking( func (x gen_NSView) ConvertRectFromLayer( rect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_convertRectFromLayer( + ret := C.NSView_inst_ConvertRectFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25543,7 +25543,7 @@ func (x gen_NSView) ConvertRectFromLayer( func (x gen_NSView) ConvertRectToBacking( rect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_convertRectToBacking( + ret := C.NSView_inst_ConvertRectToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25558,7 +25558,7 @@ func (x gen_NSView) ConvertRectToBacking( func (x gen_NSView) ConvertRectToLayer( rect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_convertRectToLayer( + ret := C.NSView_inst_ConvertRectToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25567,14 +25567,14 @@ func (x gen_NSView) ConvertRectToLayer( } -// ConvertSize_fromView converts a size from another view’s coordinate system to that of the view. +// ConvertSizeFromView converts a size from another view’s coordinate system to that of the view. // // See https://developer.apple.com/documentation/appkit/nsview/1483307-convertsize?language=objc for details. -func (x gen_NSView) ConvertSize_fromView( +func (x gen_NSView) ConvertSizeFromView( size core.NSSize, view NSViewRef, ) core.NSSize { - ret := C.NSView_inst_convertSize_fromView( + ret := C.NSView_inst_ConvertSizeFromView( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), objc.RefPointer(view), @@ -25584,14 +25584,14 @@ func (x gen_NSView) ConvertSize_fromView( } -// ConvertSize_toView converts a size from the view’s coordinate system to that of another view. +// ConvertSizeToView converts a size from the view’s coordinate system to that of another view. // // See https://developer.apple.com/documentation/appkit/nsview/1483744-convertsize?language=objc for details. -func (x gen_NSView) ConvertSize_toView( +func (x gen_NSView) ConvertSizeToView( size core.NSSize, view NSViewRef, ) core.NSSize { - ret := C.NSView_inst_convertSize_toView( + ret := C.NSView_inst_ConvertSizeToView( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), objc.RefPointer(view), @@ -25607,7 +25607,7 @@ func (x gen_NSView) ConvertSize_toView( func (x gen_NSView) ConvertSizeFromBacking( size core.NSSize, ) core.NSSize { - ret := C.NSView_inst_convertSizeFromBacking( + ret := C.NSView_inst_ConvertSizeFromBacking( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -25622,7 +25622,7 @@ func (x gen_NSView) ConvertSizeFromBacking( func (x gen_NSView) ConvertSizeFromLayer( size core.NSSize, ) core.NSSize { - ret := C.NSView_inst_convertSizeFromLayer( + ret := C.NSView_inst_ConvertSizeFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -25637,7 +25637,7 @@ func (x gen_NSView) ConvertSizeFromLayer( func (x gen_NSView) ConvertSizeToBacking( size core.NSSize, ) core.NSSize { - ret := C.NSView_inst_convertSizeToBacking( + ret := C.NSView_inst_ConvertSizeToBacking( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -25652,7 +25652,7 @@ func (x gen_NSView) ConvertSizeToBacking( func (x gen_NSView) ConvertSizeToLayer( size core.NSSize, ) core.NSSize { - ret := C.NSView_inst_convertSizeToLayer( + ret := C.NSView_inst_ConvertSizeToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -25667,7 +25667,7 @@ func (x gen_NSView) ConvertSizeToLayer( func (x gen_NSView) DataWithEPSInsideRect( rect core.NSRect, ) core.NSData { - ret := C.NSView_inst_dataWithEPSInsideRect( + ret := C.NSView_inst_DataWithEPSInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25682,7 +25682,7 @@ func (x gen_NSView) DataWithEPSInsideRect( func (x gen_NSView) DataWithPDFInsideRect( rect core.NSRect, ) core.NSData { - ret := C.NSView_inst_dataWithPDFInsideRect( + ret := C.NSView_inst_DataWithPDFInsideRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25697,7 +25697,7 @@ func (x gen_NSView) DataWithPDFInsideRect( func (x gen_NSView) DidAddSubview( subview NSViewRef, ) { - C.NSView_inst_didAddSubview( + C.NSView_inst_DidAddSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(subview), ) @@ -25706,14 +25706,14 @@ func (x gen_NSView) DidAddSubview( } -// DidCloseMenu_withEvent called after a contextual menu that was displayed from the receiving view has been closed. +// DidCloseMenuWithEvent called after a contextual menu that was displayed from the receiving view has been closed. // // See https://developer.apple.com/documentation/appkit/nsview/1483770-didclosemenu?language=objc for details. -func (x gen_NSView) DidCloseMenu_withEvent( +func (x gen_NSView) DidCloseMenuWithEvent( menu NSMenuRef, event NSEventRef, ) { - C.NSView_inst_didCloseMenu_withEvent( + C.NSView_inst_DidCloseMenuWithEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(menu), objc.RefPointer(event), @@ -25727,7 +25727,7 @@ func (x gen_NSView) DidCloseMenu_withEvent( // // See https://developer.apple.com/documentation/appkit/nsview/1483733-discardcursorrects?language=objc for details. func (x gen_NSView) DiscardCursorRects() { - C.NSView_inst_discardCursorRects( + C.NSView_inst_DiscardCursorRects( unsafe.Pointer(x.Pointer()), ) @@ -25739,7 +25739,7 @@ func (x gen_NSView) DiscardCursorRects() { // // See https://developer.apple.com/documentation/appkit/nsview/1483487-display?language=objc for details. func (x gen_NSView) Display() { - C.NSView_inst_display( + C.NSView_inst_Display( unsafe.Pointer(x.Pointer()), ) @@ -25751,7 +25751,7 @@ func (x gen_NSView) Display() { // // See https://developer.apple.com/documentation/appkit/nsview/1483566-displayifneeded?language=objc for details. func (x gen_NSView) DisplayIfNeeded() { - C.NSView_inst_displayIfNeeded( + C.NSView_inst_DisplayIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -25763,7 +25763,7 @@ func (x gen_NSView) DisplayIfNeeded() { // // See https://developer.apple.com/documentation/appkit/nsview/1483526-displayifneededignoringopacity?language=objc for details. func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { - C.NSView_inst_displayIfNeededIgnoringOpacity( + C.NSView_inst_DisplayIfNeededIgnoringOpacity( unsafe.Pointer(x.Pointer()), ) @@ -25777,7 +25777,7 @@ func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { func (x gen_NSView) DisplayIfNeededInRect( rect core.NSRect, ) { - C.NSView_inst_displayIfNeededInRect( + C.NSView_inst_DisplayIfNeededInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25792,7 +25792,7 @@ func (x gen_NSView) DisplayIfNeededInRect( func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( rect core.NSRect, ) { - C.NSView_inst_displayIfNeededInRectIgnoringOpacity( + C.NSView_inst_DisplayIfNeededInRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25807,7 +25807,7 @@ func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( func (x gen_NSView) DisplayRect( rect core.NSRect, ) { - C.NSView_inst_displayRect( + C.NSView_inst_DisplayRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25822,7 +25822,7 @@ func (x gen_NSView) DisplayRect( func (x gen_NSView) DisplayRectIgnoringOpacity( rect core.NSRect, ) { - C.NSView_inst_displayRectIgnoringOpacity( + C.NSView_inst_DisplayRectIgnoringOpacity( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -25835,7 +25835,7 @@ func (x gen_NSView) DisplayRectIgnoringOpacity( // // See https://developer.apple.com/documentation/appkit/nsview/1483335-drawfocusringmask?language=objc for details. func (x gen_NSView) DrawFocusRingMask() { - C.NSView_inst_drawFocusRingMask( + C.NSView_inst_DrawFocusRingMask( unsafe.Pointer(x.Pointer()), ) @@ -25849,7 +25849,7 @@ func (x gen_NSView) DrawFocusRingMask() { func (x gen_NSView) DrawPageBorderWithSize( borderSize core.NSSize, ) { - C.NSView_inst_drawPageBorderWithSize( + C.NSView_inst_DrawPageBorderWithSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&borderSize)), ) @@ -25864,7 +25864,7 @@ func (x gen_NSView) DrawPageBorderWithSize( func (x gen_NSView) DrawRect( dirtyRect core.NSRect, ) { - C.NSView_inst_drawRect( + C.NSView_inst_DrawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&dirtyRect)), ) @@ -25877,7 +25877,7 @@ func (x gen_NSView) DrawRect( // // See https://developer.apple.com/documentation/appkit/nsview/1483610-enddocument?language=objc for details. func (x gen_NSView) EndDocument() { - C.NSView_inst_endDocument( + C.NSView_inst_EndDocument( unsafe.Pointer(x.Pointer()), ) @@ -25889,7 +25889,7 @@ func (x gen_NSView) EndDocument() { // // See https://developer.apple.com/documentation/appkit/nsview/1483549-endpage?language=objc for details. func (x gen_NSView) EndPage() { - C.NSView_inst_endPage( + C.NSView_inst_EndPage( unsafe.Pointer(x.Pointer()), ) @@ -25897,14 +25897,14 @@ func (x gen_NSView) EndPage() { } -// EnterFullScreenMode_withOptions sets the view to full screen mode. +// EnterFullScreenModeWithOptions sets the view to full screen mode. // // See https://developer.apple.com/documentation/appkit/nsview/1483780-enterfullscreenmode?language=objc for details. -func (x gen_NSView) EnterFullScreenMode_withOptions( +func (x gen_NSView) EnterFullScreenModeWithOptions( screen NSScreenRef, options core.NSDictionaryRef, ) bool { - ret := C.NSView_inst_enterFullScreenMode_withOptions( + ret := C.NSView_inst_EnterFullScreenModeWithOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(screen), objc.RefPointer(options), @@ -25918,7 +25918,7 @@ func (x gen_NSView) EnterFullScreenMode_withOptions( // // See https://developer.apple.com/documentation/appkit/nsview/1526934-exerciseambiguityinlayout?language=objc for details. func (x gen_NSView) ExerciseAmbiguityInLayout() { - C.NSView_inst_exerciseAmbiguityInLayout( + C.NSView_inst_ExerciseAmbiguityInLayout( unsafe.Pointer(x.Pointer()), ) @@ -25932,7 +25932,7 @@ func (x gen_NSView) ExerciseAmbiguityInLayout() { func (x gen_NSView) ExitFullScreenModeWithOptions( options core.NSDictionaryRef, ) { - C.NSView_inst_exitFullScreenModeWithOptions( + C.NSView_inst_ExitFullScreenModeWithOptions( unsafe.Pointer(x.Pointer()), objc.RefPointer(options), ) @@ -25947,7 +25947,7 @@ func (x gen_NSView) ExitFullScreenModeWithOptions( func (x gen_NSView) FrameForAlignmentRect( alignmentRect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_frameForAlignmentRect( + ret := C.NSView_inst_FrameForAlignmentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&alignmentRect)), ) @@ -25962,7 +25962,7 @@ func (x gen_NSView) FrameForAlignmentRect( func (x gen_NSView) HitTest( point core.NSPoint, ) NSView { - ret := C.NSView_inst_hitTest( + ret := C.NSView_inst_HitTest( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -25977,7 +25977,7 @@ func (x gen_NSView) HitTest( func (x gen_NSView) InitWithFrame_asNSView( frameRect core.NSRect, ) NSView { - ret := C.NSView_inst_initWithFrame( + ret := C.NSView_inst_InitWithFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) @@ -25990,7 +25990,7 @@ func (x gen_NSView) InitWithFrame_asNSView( // // See https://developer.apple.com/documentation/appkit/nsview/1526864-invalidateintrinsiccontentsize?language=objc for details. func (x gen_NSView) InvalidateIntrinsicContentSize() { - C.NSView_inst_invalidateIntrinsicContentSize( + C.NSView_inst_InvalidateIntrinsicContentSize( unsafe.Pointer(x.Pointer()), ) @@ -26004,7 +26004,7 @@ func (x gen_NSView) InvalidateIntrinsicContentSize() { func (x gen_NSView) IsDescendantOf( view NSViewRef, ) bool { - ret := C.NSView_inst_isDescendantOf( + ret := C.NSView_inst_IsDescendantOf( unsafe.Pointer(x.Pointer()), objc.RefPointer(view), ) @@ -26017,7 +26017,7 @@ func (x gen_NSView) IsDescendantOf( // // See https://developer.apple.com/documentation/appkit/nsview/1526146-layout?language=objc for details. func (x gen_NSView) Layout() { - C.NSView_inst_layout( + C.NSView_inst_Layout( unsafe.Pointer(x.Pointer()), ) @@ -26029,7 +26029,7 @@ func (x gen_NSView) Layout() { // // See https://developer.apple.com/documentation/appkit/nsview/1526871-layoutsubtreeifneeded?language=objc for details. func (x gen_NSView) LayoutSubtreeIfNeeded() { - C.NSView_inst_layoutSubtreeIfNeeded( + C.NSView_inst_LayoutSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -26043,7 +26043,7 @@ func (x gen_NSView) LayoutSubtreeIfNeeded() { func (x gen_NSView) LocationOfPrintRect( rect core.NSRect, ) core.NSPoint { - ret := C.NSView_inst_locationOfPrintRect( + ret := C.NSView_inst_LocationOfPrintRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -26056,7 +26056,7 @@ func (x gen_NSView) LocationOfPrintRect( // // See https://developer.apple.com/documentation/appkit/nsview/1483687-makebackinglayer?language=objc for details. func (x gen_NSView) MakeBackingLayer() core.CALayer { - ret := C.NSView_inst_makeBackingLayer( + ret := C.NSView_inst_MakeBackingLayer( unsafe.Pointer(x.Pointer()), ) @@ -26070,7 +26070,7 @@ func (x gen_NSView) MakeBackingLayer() core.CALayer { func (x gen_NSView) MenuForEvent( event NSEventRef, ) NSMenu { - ret := C.NSView_inst_menuForEvent( + ret := C.NSView_inst_MenuForEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -26079,14 +26079,14 @@ func (x gen_NSView) MenuForEvent( } -// Mouse_inRect returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. +// MouseInRect returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. // // See https://developer.apple.com/documentation/appkit/nsview/1483237-mouse?language=objc for details. -func (x gen_NSView) Mouse_inRect( +func (x gen_NSView) MouseInRect( point core.NSPoint, rect core.NSRect, ) bool { - ret := C.NSView_inst_mouse_inRect( + ret := C.NSView_inst_MouseInRect( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), *(*C.NSRect)(unsafe.Pointer(&rect)), @@ -26102,7 +26102,7 @@ func (x gen_NSView) Mouse_inRect( func (x gen_NSView) NeedsToDrawRect( rect core.NSRect, ) bool { - ret := C.NSView_inst_needsToDrawRect( + ret := C.NSView_inst_NeedsToDrawRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -26115,7 +26115,7 @@ func (x gen_NSView) NeedsToDrawRect( // // See https://developer.apple.com/documentation/appkit/nsview/1483809-notefocusringmaskchanged?language=objc for details. func (x gen_NSView) NoteFocusRingMaskChanged() { - C.NSView_inst_noteFocusRingMaskChanged( + C.NSView_inst_NoteFocusRingMaskChanged( unsafe.Pointer(x.Pointer()), ) @@ -26129,7 +26129,7 @@ func (x gen_NSView) NoteFocusRingMaskChanged() { func (x gen_NSView) PerformKeyEquivalent( event NSEventRef, ) bool { - ret := C.NSView_inst_performKeyEquivalent( + ret := C.NSView_inst_PerformKeyEquivalent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -26144,7 +26144,7 @@ func (x gen_NSView) PerformKeyEquivalent( func (x gen_NSView) PrepareContentInRect( rect core.NSRect, ) { - C.NSView_inst_prepareContentInRect( + C.NSView_inst_PrepareContentInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -26157,7 +26157,7 @@ func (x gen_NSView) PrepareContentInRect( // // See https://developer.apple.com/documentation/appkit/nsview/1483626-prepareforreuse?language=objc for details. func (x gen_NSView) PrepareForReuse() { - C.NSView_inst_prepareForReuse( + C.NSView_inst_PrepareForReuse( unsafe.Pointer(x.Pointer()), ) @@ -26171,7 +26171,7 @@ func (x gen_NSView) PrepareForReuse() { func (x gen_NSView) Print( sender objc.Ref, ) { - C.NSView_inst_print( + C.NSView_inst_Print( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -26186,7 +26186,7 @@ func (x gen_NSView) Print( func (x gen_NSView) RectForPage( page core.NSInteger, ) core.NSRect { - ret := C.NSView_inst_rectForPage( + ret := C.NSView_inst_RectForPage( unsafe.Pointer(x.Pointer()), C.long(page), ) @@ -26195,14 +26195,14 @@ func (x gen_NSView) RectForPage( } -// RectForSmartMagnificationAtPoint_inRect returns the appropriate rectangle to use when magnifying around the specified point. +// RectForSmartMagnificationAtPointInRect returns the appropriate rectangle to use when magnifying around the specified point. // // See https://developer.apple.com/documentation/appkit/nsview/1483305-rectforsmartmagnificationatpoint?language=objc for details. -func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( +func (x gen_NSView) RectForSmartMagnificationAtPointInRect( location core.NSPoint, visibleRect core.NSRect, ) core.NSRect { - ret := C.NSView_inst_rectForSmartMagnificationAtPoint_inRect( + ret := C.NSView_inst_RectForSmartMagnificationAtPointInRect( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&location)), *(*C.NSRect)(unsafe.Pointer(&visibleRect)), @@ -26218,7 +26218,7 @@ func (x gen_NSView) RectForSmartMagnificationAtPoint_inRect( func (x gen_NSView) RegisterForDraggedTypes( newTypes core.NSArrayRef, ) { - C.NSView_inst_registerForDraggedTypes( + C.NSView_inst_RegisterForDraggedTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(newTypes), ) @@ -26231,7 +26231,7 @@ func (x gen_NSView) RegisterForDraggedTypes( // // See https://developer.apple.com/documentation/appkit/nsview/1483801-removealltooltips?language=objc for details. func (x gen_NSView) RemoveAllToolTips() { - C.NSView_inst_removeAllToolTips( + C.NSView_inst_RemoveAllToolTips( unsafe.Pointer(x.Pointer()), ) @@ -26245,7 +26245,7 @@ func (x gen_NSView) RemoveAllToolTips() { func (x gen_NSView) RemoveConstraints( constraints core.NSArrayRef, ) { - C.NSView_inst_removeConstraints( + C.NSView_inst_RemoveConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(constraints), ) @@ -26258,7 +26258,7 @@ func (x gen_NSView) RemoveConstraints( // // See https://developer.apple.com/documentation/appkit/nsview/1483265-removefromsuperview?language=objc for details. func (x gen_NSView) RemoveFromSuperview() { - C.NSView_inst_removeFromSuperview( + C.NSView_inst_RemoveFromSuperview( unsafe.Pointer(x.Pointer()), ) @@ -26270,7 +26270,7 @@ func (x gen_NSView) RemoveFromSuperview() { // // See https://developer.apple.com/documentation/appkit/nsview/1483644-removefromsuperviewwithoutneedin?language=objc for details. func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { - C.NSView_inst_removeFromSuperviewWithoutNeedingDisplay( + C.NSView_inst_RemoveFromSuperviewWithoutNeedingDisplay( unsafe.Pointer(x.Pointer()), ) @@ -26278,14 +26278,14 @@ func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { } -// ReplaceSubview_with replaces one of the view’s subviews with another view. +// ReplaceSubviewWith replaces one of the view’s subviews with another view. // // See https://developer.apple.com/documentation/appkit/nsview/1483632-replacesubview?language=objc for details. -func (x gen_NSView) ReplaceSubview_with( +func (x gen_NSView) ReplaceSubviewWith( oldView NSViewRef, newView NSViewRef, ) { - C.NSView_inst_replaceSubview_with( + C.NSView_inst_ReplaceSubviewWith( unsafe.Pointer(x.Pointer()), objc.RefPointer(oldView), objc.RefPointer(newView), @@ -26299,7 +26299,7 @@ func (x gen_NSView) ReplaceSubview_with( // // See https://developer.apple.com/documentation/appkit/nsview/1483448-resetcursorrects?language=objc for details. func (x gen_NSView) ResetCursorRects() { - C.NSView_inst_resetCursorRects( + C.NSView_inst_ResetCursorRects( unsafe.Pointer(x.Pointer()), ) @@ -26313,7 +26313,7 @@ func (x gen_NSView) ResetCursorRects() { func (x gen_NSView) ResizeSubviewsWithOldSize( oldSize core.NSSize, ) { - C.NSView_inst_resizeSubviewsWithOldSize( + C.NSView_inst_ResizeSubviewsWithOldSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) @@ -26328,7 +26328,7 @@ func (x gen_NSView) ResizeSubviewsWithOldSize( func (x gen_NSView) ResizeWithOldSuperviewSize( oldSize core.NSSize, ) { - C.NSView_inst_resizeWithOldSuperviewSize( + C.NSView_inst_ResizeWithOldSuperviewSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&oldSize)), ) @@ -26343,7 +26343,7 @@ func (x gen_NSView) ResizeWithOldSuperviewSize( func (x gen_NSView) RotateByAngle( angle core.CGFloat, ) { - C.NSView_inst_rotateByAngle( + C.NSView_inst_RotateByAngle( unsafe.Pointer(x.Pointer()), C.double(angle), ) @@ -26358,7 +26358,7 @@ func (x gen_NSView) RotateByAngle( func (x gen_NSView) ScaleUnitSquareToSize( newUnitSize core.NSSize, ) { - C.NSView_inst_scaleUnitSquareToSize( + C.NSView_inst_ScaleUnitSquareToSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newUnitSize)), ) @@ -26373,7 +26373,7 @@ func (x gen_NSView) ScaleUnitSquareToSize( func (x gen_NSView) ScrollPoint( point core.NSPoint, ) { - C.NSView_inst_scrollPoint( + C.NSView_inst_ScrollPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&point)), ) @@ -26388,7 +26388,7 @@ func (x gen_NSView) ScrollPoint( func (x gen_NSView) ScrollRectToVisible( rect core.NSRect, ) bool { - ret := C.NSView_inst_scrollRectToVisible( + ret := C.NSView_inst_ScrollRectToVisible( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -26403,7 +26403,7 @@ func (x gen_NSView) ScrollRectToVisible( func (x gen_NSView) SetBoundsOrigin( newOrigin core.NSPoint, ) { - C.NSView_inst_setBoundsOrigin( + C.NSView_inst_SetBoundsOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) @@ -26418,7 +26418,7 @@ func (x gen_NSView) SetBoundsOrigin( func (x gen_NSView) SetBoundsSize( newSize core.NSSize, ) { - C.NSView_inst_setBoundsSize( + C.NSView_inst_SetBoundsSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) @@ -26433,7 +26433,7 @@ func (x gen_NSView) SetBoundsSize( func (x gen_NSView) SetFrameOrigin( newOrigin core.NSPoint, ) { - C.NSView_inst_setFrameOrigin( + C.NSView_inst_SetFrameOrigin( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&newOrigin)), ) @@ -26448,7 +26448,7 @@ func (x gen_NSView) SetFrameOrigin( func (x gen_NSView) SetFrameSize( newSize core.NSSize, ) { - C.NSView_inst_setFrameSize( + C.NSView_inst_SetFrameSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&newSize)), ) @@ -26463,7 +26463,7 @@ func (x gen_NSView) SetFrameSize( func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( rect core.NSRect, ) { - C.NSView_inst_setKeyboardFocusRingNeedsDisplayInRect( + C.NSView_inst_SetKeyboardFocusRingNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -26478,7 +26478,7 @@ func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( func (x gen_NSView) SetNeedsDisplayInRect( invalidRect core.NSRect, ) { - C.NSView_inst_setNeedsDisplayInRect( + C.NSView_inst_SetNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&invalidRect)), ) @@ -26493,7 +26493,7 @@ func (x gen_NSView) SetNeedsDisplayInRect( func (x gen_NSView) ShouldDelayWindowOrderingForEvent( event NSEventRef, ) bool { - ret := C.NSView_inst_shouldDelayWindowOrderingForEvent( + ret := C.NSView_inst_ShouldDelayWindowOrderingForEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -26502,14 +26502,14 @@ func (x gen_NSView) ShouldDelayWindowOrderingForEvent( } -// ShowDefinitionForAttributedString_atPoint shows a window displaying the definition of the attributed string at the specified point. +// ShowDefinitionForAttributedStringAtPoint shows a window displaying the definition of the attributed string at the specified point. // // See https://developer.apple.com/documentation/appkit/nsview/1483747-showdefinitionforattributedstrin?language=objc for details. -func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( +func (x gen_NSView) ShowDefinitionForAttributedStringAtPoint( attrString core.NSAttributedStringRef, textBaselineOrigin core.NSPoint, ) { - C.NSView_inst_showDefinitionForAttributedString_atPoint( + C.NSView_inst_ShowDefinitionForAttributedStringAtPoint( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrString), *(*C.NSPoint)(unsafe.Pointer(&textBaselineOrigin)), @@ -26525,7 +26525,7 @@ func (x gen_NSView) ShowDefinitionForAttributedString_atPoint( func (x gen_NSView) TranslateOriginToPoint( translation core.NSPoint, ) { - C.NSView_inst_translateOriginToPoint( + C.NSView_inst_TranslateOriginToPoint( unsafe.Pointer(x.Pointer()), *(*C.NSPoint)(unsafe.Pointer(&translation)), ) @@ -26534,14 +26534,14 @@ func (x gen_NSView) TranslateOriginToPoint( } -// TranslateRectsNeedingDisplayInRect_by translates the display rectangles by the specified delta. +// TranslateRectsNeedingDisplayInRectBy translates the display rectangles by the specified delta. // // See https://developer.apple.com/documentation/appkit/nsview/1483731-translaterectsneedingdisplayinre?language=objc for details. -func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( +func (x gen_NSView) TranslateRectsNeedingDisplayInRectBy( clipRect core.NSRect, delta core.NSSize, ) { - C.NSView_inst_translateRectsNeedingDisplayInRect_by( + C.NSView_inst_TranslateRectsNeedingDisplayInRectBy( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&clipRect)), *(*C.NSSize)(unsafe.Pointer(&delta)), @@ -26555,7 +26555,7 @@ func (x gen_NSView) TranslateRectsNeedingDisplayInRect_by( // // See https://developer.apple.com/documentation/appkit/nsview/1483602-unregisterdraggedtypes?language=objc for details. func (x gen_NSView) UnregisterDraggedTypes() { - C.NSView_inst_unregisterDraggedTypes( + C.NSView_inst_UnregisterDraggedTypes( unsafe.Pointer(x.Pointer()), ) @@ -26567,7 +26567,7 @@ func (x gen_NSView) UnregisterDraggedTypes() { // // See https://developer.apple.com/documentation/appkit/nsview/1526891-updateconstraints?language=objc for details. func (x gen_NSView) UpdateConstraints() { - C.NSView_inst_updateConstraints( + C.NSView_inst_UpdateConstraints( unsafe.Pointer(x.Pointer()), ) @@ -26579,7 +26579,7 @@ func (x gen_NSView) UpdateConstraints() { // // See https://developer.apple.com/documentation/appkit/nsview/1526939-updateconstraintsforsubtreeifnee?language=objc for details. func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { - C.NSView_inst_updateConstraintsForSubtreeIfNeeded( + C.NSView_inst_UpdateConstraintsForSubtreeIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -26591,7 +26591,7 @@ func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { // // See https://developer.apple.com/documentation/appkit/nsview/1483580-updatelayer?language=objc for details. func (x gen_NSView) UpdateLayer() { - C.NSView_inst_updateLayer( + C.NSView_inst_UpdateLayer( unsafe.Pointer(x.Pointer()), ) @@ -26603,7 +26603,7 @@ func (x gen_NSView) UpdateLayer() { // // See https://developer.apple.com/documentation/appkit/nsview/1483719-updatetrackingareas?language=objc for details. func (x gen_NSView) UpdateTrackingAreas() { - C.NSView_inst_updateTrackingAreas( + C.NSView_inst_UpdateTrackingAreas( unsafe.Pointer(x.Pointer()), ) @@ -26615,7 +26615,7 @@ func (x gen_NSView) UpdateTrackingAreas() { // // See https://developer.apple.com/documentation/appkit/nsview/1483742-viewdidchangebackingproperties?language=objc for details. func (x gen_NSView) ViewDidChangeBackingProperties() { - C.NSView_inst_viewDidChangeBackingProperties( + C.NSView_inst_ViewDidChangeBackingProperties( unsafe.Pointer(x.Pointer()), ) @@ -26627,7 +26627,7 @@ func (x gen_NSView) ViewDidChangeBackingProperties() { // // See https://developer.apple.com/documentation/appkit/nsview/2977088-viewdidchangeeffectiveappearance?language=objc for details. func (x gen_NSView) ViewDidChangeEffectiveAppearance() { - C.NSView_inst_viewDidChangeEffectiveAppearance( + C.NSView_inst_ViewDidChangeEffectiveAppearance( unsafe.Pointer(x.Pointer()), ) @@ -26639,7 +26639,7 @@ func (x gen_NSView) ViewDidChangeEffectiveAppearance() { // // See https://developer.apple.com/documentation/appkit/nsview/1483543-viewdidendliveresize?language=objc for details. func (x gen_NSView) ViewDidEndLiveResize() { - C.NSView_inst_viewDidEndLiveResize( + C.NSView_inst_ViewDidEndLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -26651,7 +26651,7 @@ func (x gen_NSView) ViewDidEndLiveResize() { // // See https://developer.apple.com/documentation/appkit/nsview/1483596-viewdidhide?language=objc for details. func (x gen_NSView) ViewDidHide() { - C.NSView_inst_viewDidHide( + C.NSView_inst_ViewDidHide( unsafe.Pointer(x.Pointer()), ) @@ -26663,7 +26663,7 @@ func (x gen_NSView) ViewDidHide() { // // See https://developer.apple.com/documentation/appkit/nsview/1483568-viewdidmovetosuperview?language=objc for details. func (x gen_NSView) ViewDidMoveToSuperview() { - C.NSView_inst_viewDidMoveToSuperview( + C.NSView_inst_ViewDidMoveToSuperview( unsafe.Pointer(x.Pointer()), ) @@ -26675,7 +26675,7 @@ func (x gen_NSView) ViewDidMoveToSuperview() { // // See https://developer.apple.com/documentation/appkit/nsview/1483329-viewdidmovetowindow?language=objc for details. func (x gen_NSView) ViewDidMoveToWindow() { - C.NSView_inst_viewDidMoveToWindow( + C.NSView_inst_ViewDidMoveToWindow( unsafe.Pointer(x.Pointer()), ) @@ -26687,7 +26687,7 @@ func (x gen_NSView) ViewDidMoveToWindow() { // // See https://developer.apple.com/documentation/appkit/nsview/1483275-viewdidunhide?language=objc for details. func (x gen_NSView) ViewDidUnhide() { - C.NSView_inst_viewDidUnhide( + C.NSView_inst_ViewDidUnhide( unsafe.Pointer(x.Pointer()), ) @@ -26699,7 +26699,7 @@ func (x gen_NSView) ViewDidUnhide() { // // See https://developer.apple.com/documentation/appkit/nsview/1483351-viewwilldraw?language=objc for details. func (x gen_NSView) ViewWillDraw() { - C.NSView_inst_viewWillDraw( + C.NSView_inst_ViewWillDraw( unsafe.Pointer(x.Pointer()), ) @@ -26713,7 +26713,7 @@ func (x gen_NSView) ViewWillDraw() { func (x gen_NSView) ViewWillMoveToSuperview( newSuperview NSViewRef, ) { - C.NSView_inst_viewWillMoveToSuperview( + C.NSView_inst_ViewWillMoveToSuperview( unsafe.Pointer(x.Pointer()), objc.RefPointer(newSuperview), ) @@ -26728,7 +26728,7 @@ func (x gen_NSView) ViewWillMoveToSuperview( func (x gen_NSView) ViewWillMoveToWindow( newWindow NSWindowRef, ) { - C.NSView_inst_viewWillMoveToWindow( + C.NSView_inst_ViewWillMoveToWindow( unsafe.Pointer(x.Pointer()), objc.RefPointer(newWindow), ) @@ -26741,7 +26741,7 @@ func (x gen_NSView) ViewWillMoveToWindow( // // See https://developer.apple.com/documentation/appkit/nsview/1483620-viewwillstartliveresize?language=objc for details. func (x gen_NSView) ViewWillStartLiveResize() { - C.NSView_inst_viewWillStartLiveResize( + C.NSView_inst_ViewWillStartLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -26755,7 +26755,7 @@ func (x gen_NSView) ViewWillStartLiveResize() { func (x gen_NSView) ViewWithTag( tag core.NSInteger, ) NSView { - ret := C.NSView_inst_viewWithTag( + ret := C.NSView_inst_ViewWithTag( unsafe.Pointer(x.Pointer()), C.long(tag), ) @@ -26764,14 +26764,14 @@ func (x gen_NSView) ViewWithTag( } -// WillOpenMenu_withEvent called just before a contextual menu for a view is opened on screen. +// WillOpenMenuWithEvent called just before a contextual menu for a view is opened on screen. // // See https://developer.apple.com/documentation/appkit/nsview/1483429-willopenmenu?language=objc for details. -func (x gen_NSView) WillOpenMenu_withEvent( +func (x gen_NSView) WillOpenMenuWithEvent( menu NSMenuRef, event NSEventRef, ) { - C.NSView_inst_willOpenMenu_withEvent( + C.NSView_inst_WillOpenMenuWithEvent( unsafe.Pointer(x.Pointer()), objc.RefPointer(menu), objc.RefPointer(event), @@ -26787,7 +26787,7 @@ func (x gen_NSView) WillOpenMenu_withEvent( func (x gen_NSView) WillRemoveSubview( subview NSViewRef, ) { - C.NSView_inst_willRemoveSubview( + C.NSView_inst_WillRemoveSubview( unsafe.Pointer(x.Pointer()), objc.RefPointer(subview), ) @@ -26796,14 +26796,14 @@ func (x gen_NSView) WillRemoveSubview( } -// WriteEPSInsideRect_toPasteboard writes eps data that draws the region of the view within a specified rectangle onto a pasteboard. +// WriteEPSInsideRectToPasteboard writes eps data that draws the region of the view within a specified rectangle onto a pasteboard. // // See https://developer.apple.com/documentation/appkit/nsview/1483235-writeepsinsiderect?language=objc for details. -func (x gen_NSView) WriteEPSInsideRect_toPasteboard( +func (x gen_NSView) WriteEPSInsideRectToPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, ) { - C.NSView_inst_writeEPSInsideRect_toPasteboard( + C.NSView_inst_WriteEPSInsideRectToPasteboard( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(pasteboard), @@ -26813,14 +26813,14 @@ func (x gen_NSView) WriteEPSInsideRect_toPasteboard( } -// WritePDFInsideRect_toPasteboard writes pdf data that draws the region of the view within a specified rectangle onto a pasteboard. +// WritePDFInsideRectToPasteboard writes pdf data that draws the region of the view within a specified rectangle onto a pasteboard. // // See https://developer.apple.com/documentation/appkit/nsview/1483499-writepdfinsiderect?language=objc for details. -func (x gen_NSView) WritePDFInsideRect_toPasteboard( +func (x gen_NSView) WritePDFInsideRectToPasteboard( rect core.NSRect, pasteboard NSPasteboardRef, ) { - C.NSView_inst_writePDFInsideRect_toPasteboard( + C.NSView_inst_WritePDFInsideRectToPasteboard( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(pasteboard), @@ -26834,7 +26834,7 @@ func (x gen_NSView) WritePDFInsideRect_toPasteboard( // // See for details. func (x gen_NSView) Init_asNSView() NSView { - ret := C.NSView_inst_init( + ret := C.NSView_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -26846,7 +26846,7 @@ func (x gen_NSView) Init_asNSView() NSView { // // See https://developer.apple.com/documentation/appkit/nsview/1483737-superview?language=objc for details. func (x gen_NSView) Superview() NSView { - ret := C.NSView_inst_superview( + ret := C.NSView_inst_Superview( unsafe.Pointer(x.Pointer()), ) @@ -26858,7 +26858,7 @@ func (x gen_NSView) Superview() NSView { // // See https://developer.apple.com/documentation/appkit/nsview/1483539-subviews?language=objc for details. func (x gen_NSView) Subviews() core.NSArray { - ret := C.NSView_inst_subviews( + ret := C.NSView_inst_Subviews( unsafe.Pointer(x.Pointer()), ) @@ -26872,7 +26872,7 @@ func (x gen_NSView) Subviews() core.NSArray { func (x gen_NSView) SetSubviews( value core.NSArrayRef, ) { - C.NSView_inst_setSubviews( + C.NSView_inst_SetSubviews( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -26885,7 +26885,7 @@ func (x gen_NSView) SetSubviews( // // See https://developer.apple.com/documentation/appkit/nsview/1483301-window?language=objc for details. func (x gen_NSView) Window() NSWindow { - ret := C.NSView_inst_window( + ret := C.NSView_inst_Window( unsafe.Pointer(x.Pointer()), ) @@ -26897,7 +26897,7 @@ func (x gen_NSView) Window() NSWindow { // // See https://developer.apple.com/documentation/appkit/nsview/1483383-opaqueancestor?language=objc for details. func (x gen_NSView) OpaqueAncestor() NSView { - ret := C.NSView_inst_opaqueAncestor( + ret := C.NSView_inst_OpaqueAncestor( unsafe.Pointer(x.Pointer()), ) @@ -26909,7 +26909,7 @@ func (x gen_NSView) OpaqueAncestor() NSView { // // See https://developer.apple.com/documentation/appkit/nsview/1514865-enclosingmenuitem?language=objc for details. func (x gen_NSView) EnclosingMenuItem() NSMenuItem { - ret := C.NSView_inst_enclosingMenuItem( + ret := C.NSView_inst_EnclosingMenuItem( unsafe.Pointer(x.Pointer()), ) @@ -26921,7 +26921,7 @@ func (x gen_NSView) EnclosingMenuItem() NSMenuItem { // // See https://developer.apple.com/documentation/appkit/nsview/1483713-frame?language=objc for details. func (x gen_NSView) Frame() core.NSRect { - ret := C.NSView_inst_frame( + ret := C.NSView_inst_Frame( unsafe.Pointer(x.Pointer()), ) @@ -26935,7 +26935,7 @@ func (x gen_NSView) Frame() core.NSRect { func (x gen_NSView) SetFrame( value core.NSRect, ) { - C.NSView_inst_setFrame( + C.NSView_inst_SetFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -26948,7 +26948,7 @@ func (x gen_NSView) SetFrame( // // See https://developer.apple.com/documentation/appkit/nsview/1483412-framerotation?language=objc for details. func (x gen_NSView) FrameRotation() core.CGFloat { - ret := C.NSView_inst_frameRotation( + ret := C.NSView_inst_FrameRotation( unsafe.Pointer(x.Pointer()), ) @@ -26962,7 +26962,7 @@ func (x gen_NSView) FrameRotation() core.CGFloat { func (x gen_NSView) SetFrameRotation( value core.CGFloat, ) { - C.NSView_inst_setFrameRotation( + C.NSView_inst_SetFrameRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -26975,7 +26975,7 @@ func (x gen_NSView) SetFrameRotation( // // See https://developer.apple.com/documentation/appkit/nsview/1483817-bounds?language=objc for details. func (x gen_NSView) Bounds() core.NSRect { - ret := C.NSView_inst_bounds( + ret := C.NSView_inst_Bounds( unsafe.Pointer(x.Pointer()), ) @@ -26989,7 +26989,7 @@ func (x gen_NSView) Bounds() core.NSRect { func (x gen_NSView) SetBounds( value core.NSRect, ) { - C.NSView_inst_setBounds( + C.NSView_inst_SetBounds( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -27002,7 +27002,7 @@ func (x gen_NSView) SetBounds( // // See https://developer.apple.com/documentation/appkit/nsview/1483746-boundsrotation?language=objc for details. func (x gen_NSView) BoundsRotation() core.CGFloat { - ret := C.NSView_inst_boundsRotation( + ret := C.NSView_inst_BoundsRotation( unsafe.Pointer(x.Pointer()), ) @@ -27016,7 +27016,7 @@ func (x gen_NSView) BoundsRotation() core.CGFloat { func (x gen_NSView) SetBoundsRotation( value core.CGFloat, ) { - C.NSView_inst_setBoundsRotation( + C.NSView_inst_SetBoundsRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -27029,7 +27029,7 @@ func (x gen_NSView) SetBoundsRotation( // // See https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc for details. func (x gen_NSView) WantsLayer() bool { - ret := C.NSView_inst_wantsLayer( + ret := C.NSView_inst_WantsLayer( unsafe.Pointer(x.Pointer()), ) @@ -27043,7 +27043,7 @@ func (x gen_NSView) WantsLayer() bool { func (x gen_NSView) SetWantsLayer( value bool, ) { - C.NSView_inst_setWantsLayer( + C.NSView_inst_SetWantsLayer( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27056,7 +27056,7 @@ func (x gen_NSView) SetWantsLayer( // // See https://developer.apple.com/documentation/appkit/nsview/1483461-wantsupdatelayer?language=objc for details. func (x gen_NSView) WantsUpdateLayer() bool { - ret := C.NSView_inst_wantsUpdateLayer( + ret := C.NSView_inst_WantsUpdateLayer( unsafe.Pointer(x.Pointer()), ) @@ -27068,7 +27068,7 @@ func (x gen_NSView) WantsUpdateLayer() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483298-layer?language=objc for details. func (x gen_NSView) Layer() core.CALayer { - ret := C.NSView_inst_layer( + ret := C.NSView_inst_Layer( unsafe.Pointer(x.Pointer()), ) @@ -27082,7 +27082,7 @@ func (x gen_NSView) Layer() core.CALayer { func (x gen_NSView) SetLayer( value core.CALayerRef, ) { - C.NSView_inst_setLayer( + C.NSView_inst_SetLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -27095,7 +27095,7 @@ func (x gen_NSView) SetLayer( // // See https://developer.apple.com/documentation/appkit/nsview/1483347-candrawsubviewsintolayer?language=objc for details. func (x gen_NSView) CanDrawSubviewsIntoLayer() bool { - ret := C.NSView_inst_canDrawSubviewsIntoLayer( + ret := C.NSView_inst_CanDrawSubviewsIntoLayer( unsafe.Pointer(x.Pointer()), ) @@ -27109,7 +27109,7 @@ func (x gen_NSView) CanDrawSubviewsIntoLayer() bool { func (x gen_NSView) SetCanDrawSubviewsIntoLayer( value bool, ) { - C.NSView_inst_setCanDrawSubviewsIntoLayer( + C.NSView_inst_SetCanDrawSubviewsIntoLayer( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27122,7 +27122,7 @@ func (x gen_NSView) SetCanDrawSubviewsIntoLayer( // // See https://developer.apple.com/documentation/appkit/nsview/1483576-layerusescoreimagefilters?language=objc for details. func (x gen_NSView) LayerUsesCoreImageFilters() bool { - ret := C.NSView_inst_layerUsesCoreImageFilters( + ret := C.NSView_inst_LayerUsesCoreImageFilters( unsafe.Pointer(x.Pointer()), ) @@ -27136,7 +27136,7 @@ func (x gen_NSView) LayerUsesCoreImageFilters() bool { func (x gen_NSView) SetLayerUsesCoreImageFilters( value bool, ) { - C.NSView_inst_setLayerUsesCoreImageFilters( + C.NSView_inst_SetLayerUsesCoreImageFilters( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27149,7 +27149,7 @@ func (x gen_NSView) SetLayerUsesCoreImageFilters( // // See https://developer.apple.com/documentation/appkit/nsview/1483560-alphavalue?language=objc for details. func (x gen_NSView) AlphaValue() core.CGFloat { - ret := C.NSView_inst_alphaValue( + ret := C.NSView_inst_AlphaValue( unsafe.Pointer(x.Pointer()), ) @@ -27163,7 +27163,7 @@ func (x gen_NSView) AlphaValue() core.CGFloat { func (x gen_NSView) SetAlphaValue( value core.CGFloat, ) { - C.NSView_inst_setAlphaValue( + C.NSView_inst_SetAlphaValue( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -27176,7 +27176,7 @@ func (x gen_NSView) SetAlphaValue( // // See https://developer.apple.com/documentation/appkit/nsview/1483367-framecenterrotation?language=objc for details. func (x gen_NSView) FrameCenterRotation() core.CGFloat { - ret := C.NSView_inst_frameCenterRotation( + ret := C.NSView_inst_FrameCenterRotation( unsafe.Pointer(x.Pointer()), ) @@ -27190,7 +27190,7 @@ func (x gen_NSView) FrameCenterRotation() core.CGFloat { func (x gen_NSView) SetFrameCenterRotation( value core.CGFloat, ) { - C.NSView_inst_setFrameCenterRotation( + C.NSView_inst_SetFrameCenterRotation( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -27203,7 +27203,7 @@ func (x gen_NSView) SetFrameCenterRotation( // // See https://developer.apple.com/documentation/appkit/nsview/1483689-backgroundfilters?language=objc for details. func (x gen_NSView) BackgroundFilters() core.NSArray { - ret := C.NSView_inst_backgroundFilters( + ret := C.NSView_inst_BackgroundFilters( unsafe.Pointer(x.Pointer()), ) @@ -27217,7 +27217,7 @@ func (x gen_NSView) BackgroundFilters() core.NSArray { func (x gen_NSView) SetBackgroundFilters( value core.NSArrayRef, ) { - C.NSView_inst_setBackgroundFilters( + C.NSView_inst_SetBackgroundFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -27230,7 +27230,7 @@ func (x gen_NSView) SetBackgroundFilters( // // See https://developer.apple.com/documentation/appkit/nsview/1483703-contentfilters?language=objc for details. func (x gen_NSView) ContentFilters() core.NSArray { - ret := C.NSView_inst_contentFilters( + ret := C.NSView_inst_ContentFilters( unsafe.Pointer(x.Pointer()), ) @@ -27244,7 +27244,7 @@ func (x gen_NSView) ContentFilters() core.NSArray { func (x gen_NSView) SetContentFilters( value core.NSArrayRef, ) { - C.NSView_inst_setContentFilters( + C.NSView_inst_SetContentFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -27257,7 +27257,7 @@ func (x gen_NSView) SetContentFilters( // // See https://developer.apple.com/documentation/appkit/nsview/1483425-candrawconcurrently?language=objc for details. func (x gen_NSView) CanDrawConcurrently() bool { - ret := C.NSView_inst_canDrawConcurrently( + ret := C.NSView_inst_CanDrawConcurrently( unsafe.Pointer(x.Pointer()), ) @@ -27271,7 +27271,7 @@ func (x gen_NSView) CanDrawConcurrently() bool { func (x gen_NSView) SetCanDrawConcurrently( value bool, ) { - C.NSView_inst_setCanDrawConcurrently( + C.NSView_inst_SetCanDrawConcurrently( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27284,7 +27284,7 @@ func (x gen_NSView) SetCanDrawConcurrently( // // See https://developer.apple.com/documentation/appkit/nsview/1483446-visiblerect?language=objc for details. func (x gen_NSView) VisibleRect() core.NSRect { - ret := C.NSView_inst_visibleRect( + ret := C.NSView_inst_VisibleRect( unsafe.Pointer(x.Pointer()), ) @@ -27296,7 +27296,7 @@ func (x gen_NSView) VisibleRect() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nsview/1483365-wantsdefaultclipping?language=objc for details. func (x gen_NSView) WantsDefaultClipping() bool { - ret := C.NSView_inst_wantsDefaultClipping( + ret := C.NSView_inst_WantsDefaultClipping( unsafe.Pointer(x.Pointer()), ) @@ -27308,7 +27308,7 @@ func (x gen_NSView) WantsDefaultClipping() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483753-printjobtitle?language=objc for details. func (x gen_NSView) PrintJobTitle() core.NSString { - ret := C.NSView_inst_printJobTitle( + ret := C.NSView_inst_PrintJobTitle( unsafe.Pointer(x.Pointer()), ) @@ -27320,7 +27320,7 @@ func (x gen_NSView) PrintJobTitle() core.NSString { // // See https://developer.apple.com/documentation/appkit/nsview/1483674-pageheader?language=objc for details. func (x gen_NSView) PageHeader() core.NSAttributedString { - ret := C.NSView_inst_pageHeader( + ret := C.NSView_inst_PageHeader( unsafe.Pointer(x.Pointer()), ) @@ -27332,7 +27332,7 @@ func (x gen_NSView) PageHeader() core.NSAttributedString { // // See https://developer.apple.com/documentation/appkit/nsview/1483355-pagefooter?language=objc for details. func (x gen_NSView) PageFooter() core.NSAttributedString { - ret := C.NSView_inst_pageFooter( + ret := C.NSView_inst_PageFooter( unsafe.Pointer(x.Pointer()), ) @@ -27344,7 +27344,7 @@ func (x gen_NSView) PageFooter() core.NSAttributedString { // // See https://developer.apple.com/documentation/appkit/nsview/1483691-heightadjustlimit?language=objc for details. func (x gen_NSView) HeightAdjustLimit() core.CGFloat { - ret := C.NSView_inst_heightAdjustLimit( + ret := C.NSView_inst_HeightAdjustLimit( unsafe.Pointer(x.Pointer()), ) @@ -27356,7 +27356,7 @@ func (x gen_NSView) HeightAdjustLimit() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsview/1483392-widthadjustlimit?language=objc for details. func (x gen_NSView) WidthAdjustLimit() core.CGFloat { - ret := C.NSView_inst_widthAdjustLimit( + ret := C.NSView_inst_WidthAdjustLimit( unsafe.Pointer(x.Pointer()), ) @@ -27368,7 +27368,7 @@ func (x gen_NSView) WidthAdjustLimit() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsview/1483360-needsdisplay?language=objc for details. func (x gen_NSView) NeedsDisplay() bool { - ret := C.NSView_inst_needsDisplay( + ret := C.NSView_inst_NeedsDisplay( unsafe.Pointer(x.Pointer()), ) @@ -27382,7 +27382,7 @@ func (x gen_NSView) NeedsDisplay() bool { func (x gen_NSView) SetNeedsDisplay( value bool, ) { - C.NSView_inst_setNeedsDisplay( + C.NSView_inst_SetNeedsDisplay( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27395,7 +27395,7 @@ func (x gen_NSView) SetNeedsDisplay( // // See https://developer.apple.com/documentation/appkit/nsview/1483558-opaque?language=objc for details. func (x gen_NSView) IsOpaque() bool { - ret := C.NSView_inst_isOpaque( + ret := C.NSView_inst_IsOpaque( unsafe.Pointer(x.Pointer()), ) @@ -27407,7 +27407,7 @@ func (x gen_NSView) IsOpaque() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483532-flipped?language=objc for details. func (x gen_NSView) IsFlipped() bool { - ret := C.NSView_inst_isFlipped( + ret := C.NSView_inst_IsFlipped( unsafe.Pointer(x.Pointer()), ) @@ -27419,7 +27419,7 @@ func (x gen_NSView) IsFlipped() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483709-rotatedfrombase?language=objc for details. func (x gen_NSView) IsRotatedFromBase() bool { - ret := C.NSView_inst_isRotatedFromBase( + ret := C.NSView_inst_IsRotatedFromBase( unsafe.Pointer(x.Pointer()), ) @@ -27431,7 +27431,7 @@ func (x gen_NSView) IsRotatedFromBase() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483390-rotatedorscaledfrombase?language=objc for details. func (x gen_NSView) IsRotatedOrScaledFromBase() bool { - ret := C.NSView_inst_isRotatedOrScaledFromBase( + ret := C.NSView_inst_IsRotatedOrScaledFromBase( unsafe.Pointer(x.Pointer()), ) @@ -27443,7 +27443,7 @@ func (x gen_NSView) IsRotatedOrScaledFromBase() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483358-autoresizessubviews?language=objc for details. func (x gen_NSView) AutoresizesSubviews() bool { - ret := C.NSView_inst_autoresizesSubviews( + ret := C.NSView_inst_AutoresizesSubviews( unsafe.Pointer(x.Pointer()), ) @@ -27457,7 +27457,7 @@ func (x gen_NSView) AutoresizesSubviews() bool { func (x gen_NSView) SetAutoresizesSubviews( value bool, ) { - C.NSView_inst_setAutoresizesSubviews( + C.NSView_inst_SetAutoresizesSubviews( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27470,7 +27470,7 @@ func (x gen_NSView) SetAutoresizesSubviews( // // See https://developer.apple.com/documentation/appkit/nsview/1526917-constraints?language=objc for details. func (x gen_NSView) Constraints() core.NSArray { - ret := C.NSView_inst_constraints( + ret := C.NSView_inst_Constraints( unsafe.Pointer(x.Pointer()), ) @@ -27482,7 +27482,7 @@ func (x gen_NSView) Constraints() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsview/1534395-layoutguides?language=objc for details. func (x gen_NSView) LayoutGuides() core.NSArray { - ret := C.NSView_inst_layoutGuides( + ret := C.NSView_inst_LayoutGuides( unsafe.Pointer(x.Pointer()), ) @@ -27494,7 +27494,7 @@ func (x gen_NSView) LayoutGuides() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsview/1526904-fittingsize?language=objc for details. func (x gen_NSView) FittingSize() core.NSSize { - ret := C.NSView_inst_fittingSize( + ret := C.NSView_inst_FittingSize( unsafe.Pointer(x.Pointer()), ) @@ -27506,7 +27506,7 @@ func (x gen_NSView) FittingSize() core.NSSize { // // See https://developer.apple.com/documentation/appkit/nsview/1526996-intrinsiccontentsize?language=objc for details. func (x gen_NSView) IntrinsicContentSize() core.NSSize { - ret := C.NSView_inst_intrinsicContentSize( + ret := C.NSView_inst_IntrinsicContentSize( unsafe.Pointer(x.Pointer()), ) @@ -27518,7 +27518,7 @@ func (x gen_NSView) IntrinsicContentSize() core.NSSize { // // See https://developer.apple.com/documentation/appkit/nsview/1526949-baselineoffsetfrombottom?language=objc for details. func (x gen_NSView) BaselineOffsetFromBottom() core.CGFloat { - ret := C.NSView_inst_baselineOffsetFromBottom( + ret := C.NSView_inst_BaselineOffsetFromBottom( unsafe.Pointer(x.Pointer()), ) @@ -27530,7 +27530,7 @@ func (x gen_NSView) BaselineOffsetFromBottom() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsview/1526963-firstbaselineoffsetfromtop?language=objc for details. func (x gen_NSView) FirstBaselineOffsetFromTop() core.CGFloat { - ret := C.NSView_inst_firstBaselineOffsetFromTop( + ret := C.NSView_inst_FirstBaselineOffsetFromTop( unsafe.Pointer(x.Pointer()), ) @@ -27542,7 +27542,7 @@ func (x gen_NSView) FirstBaselineOffsetFromTop() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsview/1525942-lastbaselineoffsetfrombottom?language=objc for details. func (x gen_NSView) LastBaselineOffsetFromBottom() core.CGFloat { - ret := C.NSView_inst_lastBaselineOffsetFromBottom( + ret := C.NSView_inst_LastBaselineOffsetFromBottom( unsafe.Pointer(x.Pointer()), ) @@ -27554,7 +27554,7 @@ func (x gen_NSView) LastBaselineOffsetFromBottom() core.CGFloat { // // See https://developer.apple.com/documentation/appkit/nsview/1526912-needslayout?language=objc for details. func (x gen_NSView) NeedsLayout() bool { - ret := C.NSView_inst_needsLayout( + ret := C.NSView_inst_NeedsLayout( unsafe.Pointer(x.Pointer()), ) @@ -27568,7 +27568,7 @@ func (x gen_NSView) NeedsLayout() bool { func (x gen_NSView) SetNeedsLayout( value bool, ) { - C.NSView_inst_setNeedsLayout( + C.NSView_inst_SetNeedsLayout( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27581,7 +27581,7 @@ func (x gen_NSView) SetNeedsLayout( // // See https://developer.apple.com/documentation/appkit/nsview/1526856-needsupdateconstraints?language=objc for details. func (x gen_NSView) NeedsUpdateConstraints() bool { - ret := C.NSView_inst_needsUpdateConstraints( + ret := C.NSView_inst_NeedsUpdateConstraints( unsafe.Pointer(x.Pointer()), ) @@ -27595,7 +27595,7 @@ func (x gen_NSView) NeedsUpdateConstraints() bool { func (x gen_NSView) SetNeedsUpdateConstraints( value bool, ) { - C.NSView_inst_setNeedsUpdateConstraints( + C.NSView_inst_SetNeedsUpdateConstraints( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27608,7 +27608,7 @@ func (x gen_NSView) SetNeedsUpdateConstraints( // // See https://developer.apple.com/documentation/appkit/nsview/1526961-translatesautoresizingmaskintoco?language=objc for details. func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() bool { - ret := C.NSView_inst_translatesAutoresizingMaskIntoConstraints( + ret := C.NSView_inst_TranslatesAutoresizingMaskIntoConstraints( unsafe.Pointer(x.Pointer()), ) @@ -27622,7 +27622,7 @@ func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() bool { func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( value bool, ) { - C.NSView_inst_setTranslatesAutoresizingMaskIntoConstraints( + C.NSView_inst_SetTranslatesAutoresizingMaskIntoConstraints( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27635,7 +27635,7 @@ func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( // // See https://developer.apple.com/documentation/appkit/nsview/1526907-hasambiguouslayout?language=objc for details. func (x gen_NSView) HasAmbiguousLayout() bool { - ret := C.NSView_inst_hasAmbiguousLayout( + ret := C.NSView_inst_HasAmbiguousLayout( unsafe.Pointer(x.Pointer()), ) @@ -27647,7 +27647,7 @@ func (x gen_NSView) HasAmbiguousLayout() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483287-focusringmaskbounds?language=objc for details. func (x gen_NSView) FocusRingMaskBounds() core.NSRect { - ret := C.NSView_inst_focusRingMaskBounds( + ret := C.NSView_inst_FocusRingMaskBounds( unsafe.Pointer(x.Pointer()), ) @@ -27659,7 +27659,7 @@ func (x gen_NSView) FocusRingMaskBounds() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nsview/1483793-allowsvibrancy?language=objc for details. func (x gen_NSView) AllowsVibrancy() bool { - ret := C.NSView_inst_allowsVibrancy( + ret := C.NSView_inst_AllowsVibrancy( unsafe.Pointer(x.Pointer()), ) @@ -27671,7 +27671,7 @@ func (x gen_NSView) AllowsVibrancy() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483337-infullscreenmode?language=objc for details. func (x gen_NSView) IsInFullScreenMode() bool { - ret := C.NSView_inst_isInFullScreenMode( + ret := C.NSView_inst_IsInFullScreenMode( unsafe.Pointer(x.Pointer()), ) @@ -27683,7 +27683,7 @@ func (x gen_NSView) IsInFullScreenMode() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483369-hidden?language=objc for details. func (x gen_NSView) IsHidden() bool { - ret := C.NSView_inst_isHidden( + ret := C.NSView_inst_IsHidden( unsafe.Pointer(x.Pointer()), ) @@ -27697,7 +27697,7 @@ func (x gen_NSView) IsHidden() bool { func (x gen_NSView) SetHidden( value bool, ) { - C.NSView_inst_setHidden( + C.NSView_inst_SetHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27710,7 +27710,7 @@ func (x gen_NSView) SetHidden( // // See https://developer.apple.com/documentation/appkit/nsview/1483473-hiddenorhashiddenancestor?language=objc for details. func (x gen_NSView) IsHiddenOrHasHiddenAncestor() bool { - ret := C.NSView_inst_isHiddenOrHasHiddenAncestor( + ret := C.NSView_inst_IsHiddenOrHasHiddenAncestor( unsafe.Pointer(x.Pointer()), ) @@ -27722,7 +27722,7 @@ func (x gen_NSView) IsHiddenOrHasHiddenAncestor() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483267-inliveresize?language=objc for details. func (x gen_NSView) InLiveResize() bool { - ret := C.NSView_inst_inLiveResize( + ret := C.NSView_inst_InLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -27734,7 +27734,7 @@ func (x gen_NSView) InLiveResize() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483795-preservescontentduringliveresize?language=objc for details. func (x gen_NSView) PreservesContentDuringLiveResize() bool { - ret := C.NSView_inst_preservesContentDuringLiveResize( + ret := C.NSView_inst_PreservesContentDuringLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -27746,7 +27746,7 @@ func (x gen_NSView) PreservesContentDuringLiveResize() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483528-rectpreservedduringliveresize?language=objc for details. func (x gen_NSView) RectPreservedDuringLiveResize() core.NSRect { - ret := C.NSView_inst_rectPreservedDuringLiveResize( + ret := C.NSView_inst_RectPreservedDuringLiveResize( unsafe.Pointer(x.Pointer()), ) @@ -27758,7 +27758,7 @@ func (x gen_NSView) RectPreservedDuringLiveResize() core.NSRect { // // See https://developer.apple.com/documentation/appkit/nsview/1483658-gesturerecognizers?language=objc for details. func (x gen_NSView) GestureRecognizers() core.NSArray { - ret := C.NSView_inst_gestureRecognizers( + ret := C.NSView_inst_GestureRecognizers( unsafe.Pointer(x.Pointer()), ) @@ -27772,7 +27772,7 @@ func (x gen_NSView) GestureRecognizers() core.NSArray { func (x gen_NSView) SetGestureRecognizers( value core.NSArrayRef, ) { - C.NSView_inst_setGestureRecognizers( + C.NSView_inst_SetGestureRecognizers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -27785,7 +27785,7 @@ func (x gen_NSView) SetGestureRecognizers( // // See https://developer.apple.com/documentation/appkit/nsview/1483666-mousedowncanmovewindow?language=objc for details. func (x gen_NSView) MouseDownCanMoveWindow() bool { - ret := C.NSView_inst_mouseDownCanMoveWindow( + ret := C.NSView_inst_MouseDownCanMoveWindow( unsafe.Pointer(x.Pointer()), ) @@ -27797,7 +27797,7 @@ func (x gen_NSView) MouseDownCanMoveWindow() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483594-wantsrestingtouches?language=objc for details. func (x gen_NSView) WantsRestingTouches() bool { - ret := C.NSView_inst_wantsRestingTouches( + ret := C.NSView_inst_WantsRestingTouches( unsafe.Pointer(x.Pointer()), ) @@ -27811,7 +27811,7 @@ func (x gen_NSView) WantsRestingTouches() bool { func (x gen_NSView) SetWantsRestingTouches( value bool, ) { - C.NSView_inst_setWantsRestingTouches( + C.NSView_inst_SetWantsRestingTouches( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27824,7 +27824,7 @@ func (x gen_NSView) SetWantsRestingTouches( // // See https://developer.apple.com/documentation/appkit/nsview/1483759-canbecomekeyview?language=objc for details. func (x gen_NSView) CanBecomeKeyView() bool { - ret := C.NSView_inst_canBecomeKeyView( + ret := C.NSView_inst_CanBecomeKeyView( unsafe.Pointer(x.Pointer()), ) @@ -27836,7 +27836,7 @@ func (x gen_NSView) CanBecomeKeyView() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483512-needspaneltobecomekey?language=objc for details. func (x gen_NSView) NeedsPanelToBecomeKey() bool { - ret := C.NSView_inst_needsPanelToBecomeKey( + ret := C.NSView_inst_NeedsPanelToBecomeKey( unsafe.Pointer(x.Pointer()), ) @@ -27848,7 +27848,7 @@ func (x gen_NSView) NeedsPanelToBecomeKey() bool { // // See https://developer.apple.com/documentation/appkit/nsview/1483465-nextkeyview?language=objc for details. func (x gen_NSView) NextKeyView() NSView { - ret := C.NSView_inst_nextKeyView( + ret := C.NSView_inst_NextKeyView( unsafe.Pointer(x.Pointer()), ) @@ -27862,7 +27862,7 @@ func (x gen_NSView) NextKeyView() NSView { func (x gen_NSView) SetNextKeyView( value NSViewRef, ) { - C.NSView_inst_setNextKeyView( + C.NSView_inst_SetNextKeyView( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -27875,7 +27875,7 @@ func (x gen_NSView) SetNextKeyView( // // See https://developer.apple.com/documentation/appkit/nsview/1483572-nextvalidkeyview?language=objc for details. func (x gen_NSView) NextValidKeyView() NSView { - ret := C.NSView_inst_nextValidKeyView( + ret := C.NSView_inst_NextValidKeyView( unsafe.Pointer(x.Pointer()), ) @@ -27887,7 +27887,7 @@ func (x gen_NSView) NextValidKeyView() NSView { // // See https://developer.apple.com/documentation/appkit/nsview/1483646-previouskeyview?language=objc for details. func (x gen_NSView) PreviousKeyView() NSView { - ret := C.NSView_inst_previousKeyView( + ret := C.NSView_inst_PreviousKeyView( unsafe.Pointer(x.Pointer()), ) @@ -27899,7 +27899,7 @@ func (x gen_NSView) PreviousKeyView() NSView { // // See https://developer.apple.com/documentation/appkit/nsview/1483371-previousvalidkeyview?language=objc for details. func (x gen_NSView) PreviousValidKeyView() NSView { - ret := C.NSView_inst_previousValidKeyView( + ret := C.NSView_inst_PreviousValidKeyView( unsafe.Pointer(x.Pointer()), ) @@ -27911,7 +27911,7 @@ func (x gen_NSView) PreviousValidKeyView() NSView { // // See https://developer.apple.com/documentation/appkit/nsview/1483215-preparedcontentrect?language=objc for details. func (x gen_NSView) PreparedContentRect() core.NSRect { - ret := C.NSView_inst_preparedContentRect( + ret := C.NSView_inst_PreparedContentRect( unsafe.Pointer(x.Pointer()), ) @@ -27925,7 +27925,7 @@ func (x gen_NSView) PreparedContentRect() core.NSRect { func (x gen_NSView) SetPreparedContentRect( value core.NSRect, ) { - C.NSView_inst_setPreparedContentRect( + C.NSView_inst_SetPreparedContentRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -27938,7 +27938,7 @@ func (x gen_NSView) SetPreparedContentRect( // // See https://developer.apple.com/documentation/appkit/nsview/1483564-registereddraggedtypes?language=objc for details. func (x gen_NSView) RegisteredDraggedTypes() core.NSArray { - ret := C.NSView_inst_registeredDraggedTypes( + ret := C.NSView_inst_RegisteredDraggedTypes( unsafe.Pointer(x.Pointer()), ) @@ -27950,7 +27950,7 @@ func (x gen_NSView) RegisteredDraggedTypes() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsview/1483524-postsframechangednotifications?language=objc for details. func (x gen_NSView) PostsFrameChangedNotifications() bool { - ret := C.NSView_inst_postsFrameChangedNotifications( + ret := C.NSView_inst_PostsFrameChangedNotifications( unsafe.Pointer(x.Pointer()), ) @@ -27964,7 +27964,7 @@ func (x gen_NSView) PostsFrameChangedNotifications() bool { func (x gen_NSView) SetPostsFrameChangedNotifications( value bool, ) { - C.NSView_inst_setPostsFrameChangedNotifications( + C.NSView_inst_SetPostsFrameChangedNotifications( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -27977,7 +27977,7 @@ func (x gen_NSView) SetPostsFrameChangedNotifications( // // See https://developer.apple.com/documentation/appkit/nsview/1483239-postsboundschangednotifications?language=objc for details. func (x gen_NSView) PostsBoundsChangedNotifications() bool { - ret := C.NSView_inst_postsBoundsChangedNotifications( + ret := C.NSView_inst_PostsBoundsChangedNotifications( unsafe.Pointer(x.Pointer()), ) @@ -27991,7 +27991,7 @@ func (x gen_NSView) PostsBoundsChangedNotifications() bool { func (x gen_NSView) SetPostsBoundsChangedNotifications( value bool, ) { - C.NSView_inst_setPostsBoundsChangedNotifications( + C.NSView_inst_SetPostsBoundsChangedNotifications( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -28004,7 +28004,7 @@ func (x gen_NSView) SetPostsBoundsChangedNotifications( // // See https://developer.apple.com/documentation/appkit/nsview/1483248-tag?language=objc for details. func (x gen_NSView) Tag() core.NSInteger { - ret := C.NSView_inst_tag( + ret := C.NSView_inst_Tag( unsafe.Pointer(x.Pointer()), ) @@ -28016,7 +28016,7 @@ func (x gen_NSView) Tag() core.NSInteger { // // See https://developer.apple.com/documentation/appkit/nsview/1483541-tooltip?language=objc for details. func (x gen_NSView) ToolTip() core.NSString { - ret := C.NSView_inst_toolTip( + ret := C.NSView_inst_ToolTip( unsafe.Pointer(x.Pointer()), ) @@ -28030,7 +28030,7 @@ func (x gen_NSView) ToolTip() core.NSString { func (x gen_NSView) SetToolTip( value core.NSStringRef, ) { - C.NSView_inst_setToolTip( + C.NSView_inst_SetToolTip( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -28043,7 +28043,7 @@ func (x gen_NSView) SetToolTip( // // See https://developer.apple.com/documentation/appkit/nsview/1483333-trackingareas?language=objc for details. func (x gen_NSView) TrackingAreas() core.NSArray { - ret := C.NSView_inst_trackingAreas( + ret := C.NSView_inst_TrackingAreas( unsafe.Pointer(x.Pointer()), ) @@ -28055,7 +28055,7 @@ func (x gen_NSView) TrackingAreas() core.NSArray { // // See https://developer.apple.com/documentation/appkit/nsview/1483317-drawingfindindicator?language=objc for details. func (x gen_NSView) IsDrawingFindIndicator() bool { - ret := C.NSView_inst_isDrawingFindIndicator( + ret := C.NSView_inst_IsDrawingFindIndicator( unsafe.Pointer(x.Pointer()), ) @@ -28067,7 +28067,7 @@ func (x gen_NSView) IsDrawingFindIndicator() bool { // // See https://developer.apple.com/documentation/appkit/nsview/3353053-horizontalcontentsizeconstrainta?language=objc for details. func (x gen_NSView) IsHorizontalContentSizeConstraintActive() bool { - ret := C.NSView_inst_isHorizontalContentSizeConstraintActive( + ret := C.NSView_inst_IsHorizontalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), ) @@ -28081,7 +28081,7 @@ func (x gen_NSView) IsHorizontalContentSizeConstraintActive() bool { func (x gen_NSView) SetHorizontalContentSizeConstraintActive( value bool, ) { - C.NSView_inst_setHorizontalContentSizeConstraintActive( + C.NSView_inst_SetHorizontalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -28094,7 +28094,7 @@ func (x gen_NSView) SetHorizontalContentSizeConstraintActive( // // See https://developer.apple.com/documentation/appkit/nsview/3353054-verticalcontentsizeconstraintact?language=objc for details. func (x gen_NSView) IsVerticalContentSizeConstraintActive() bool { - ret := C.NSView_inst_isVerticalContentSizeConstraintActive( + ret := C.NSView_inst_IsVerticalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), ) @@ -28108,7 +28108,7 @@ func (x gen_NSView) IsVerticalContentSizeConstraintActive() bool { func (x gen_NSView) SetVerticalContentSizeConstraintActive( value bool, ) { - C.NSView_inst_setVerticalContentSizeConstraintActive( + C.NSView_inst_SetVerticalContentSizeConstraintActive( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -28121,7 +28121,7 @@ func (x gen_NSView) SetVerticalContentSizeConstraintActive( // // See for details. func (x gen_NSView) BackgroundColor() NSColor { - ret := C.NSView_inst_backgroundColor( + ret := C.NSView_inst_BackgroundColor( unsafe.Pointer(x.Pointer()), ) @@ -28135,7 +28135,7 @@ func (x gen_NSView) BackgroundColor() NSColor { func (x gen_NSView) SetBackgroundColor( value NSColorRef, ) { - C.NSView_inst_setBackgroundColor( + C.NSView_inst_SetBackgroundColor( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index cae5de08..00967ef1 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -22,211 +22,211 @@ bool core_convertObjCBool(BOOL b) { } -void* CALayer_type_alloc() { +void* CALayer_type_Alloc() { return [CALayer alloc]; } -void* CALayer_type_layer() { +void* CALayer_type_Layer() { return [CALayer layer]; } -BOOL CALayer_type_needsDisplayForKey(void* key) { +BOOL CALayer_type_NeedsDisplayForKey(void* key) { return [CALayer needsDisplayForKey: key]; } -void* CALayer_type_defaultActionForKey(void* event) { +void* CALayer_type_DefaultActionForKey(void* event) { return [CALayer defaultActionForKey: event]; } -void* CALayer_type_defaultValueForKey(void* key) { +void* CALayer_type_DefaultValueForKey(void* key) { return [CALayer defaultValueForKey: key]; } -void* NSArray_type_alloc() { +void* NSArray_type_Alloc() { return [NSArray alloc]; } -void* NSArray_type_array() { +void* NSArray_type_Array() { return [NSArray array]; } -void* NSArray_type_arrayWithArray(void* array) { +void* NSArray_type_ArrayWithArray(void* array) { return [NSArray arrayWithArray: array]; } -void* NSAttributedString_type_alloc() { +void* NSAttributedString_type_Alloc() { return [NSAttributedString alloc]; } -void* NSAttributedString_type_textTypes() { +void* NSAttributedString_type_TextTypes() { return [NSAttributedString textTypes]; } -void* NSAttributedString_type_textUnfilteredTypes() { +void* NSAttributedString_type_TextUnfilteredTypes() { return [NSAttributedString textUnfilteredTypes]; } -void* NSData_type_alloc() { +void* NSData_type_Alloc() { return [NSData alloc]; } -void* NSData_type_data() { +void* NSData_type_Data() { return [NSData data]; } -void* NSData_type_dataWithBytes_length(void* bytes, unsigned long length) { +void* NSData_type_DataWithBytesLength(void* bytes, unsigned long length) { return [NSData dataWithBytes: bytes length: length]; } -void* NSData_type_dataWithBytesNoCopy_length(void* bytes, unsigned long length) { +void* NSData_type_DataWithBytesNoCopyLength(void* bytes, unsigned long length) { return [NSData dataWithBytesNoCopy: bytes length: length]; } -void* NSData_type_dataWithBytesNoCopy_length_freeWhenDone(void* bytes, unsigned long length, BOOL b) { +void* NSData_type_DataWithBytesNoCopyLengthFreeWhenDone(void* bytes, unsigned long length, BOOL b) { return [NSData dataWithBytesNoCopy: bytes length: length freeWhenDone: b]; } -void* NSData_type_dataWithData(void* data) { +void* NSData_type_DataWithData(void* data) { return [NSData dataWithData: data]; } -void* NSData_type_dataWithContentsOfFile(void* path) { +void* NSData_type_DataWithContentsOfFile(void* path) { return [NSData dataWithContentsOfFile: path]; } -void* NSData_type_dataWithContentsOfURL(void* url) { +void* NSData_type_DataWithContentsOfURL(void* url) { return [NSData dataWithContentsOfURL: url]; } -void* NSDictionary_type_alloc() { +void* NSDictionary_type_Alloc() { return [NSDictionary alloc]; } -void* NSDictionary_type_dictionary() { +void* NSDictionary_type_Dictionary() { return [NSDictionary dictionary]; } -void* NSDictionary_type_dictionaryWithObjects_forKeys(void* objects, void* keys) { +void* NSDictionary_type_DictionaryWithObjectsForKeys(void* objects, void* keys) { return [NSDictionary dictionaryWithObjects: objects forKeys: keys]; } -void* NSDictionary_type_dictionaryWithDictionary(void* dict) { +void* NSDictionary_type_DictionaryWithDictionary(void* dict) { return [NSDictionary dictionaryWithDictionary: dict]; } -void* NSDictionary_type_sharedKeySetForKeys(void* keys) { +void* NSDictionary_type_SharedKeySetForKeys(void* keys) { return [NSDictionary sharedKeySetForKeys: keys]; } -void* NSNumber_type_alloc() { +void* NSNumber_type_Alloc() { return [NSNumber alloc]; } -void* NSNumber_type_numberWithBool(BOOL value) { +void* NSNumber_type_NumberWithBool(BOOL value) { return [NSNumber numberWithBool: value]; } -void* NSNumber_type_numberWithInt(int value) { +void* NSNumber_type_NumberWithInt(int value) { return [NSNumber numberWithInt: value]; } -void* NSNumber_type_numberWithInteger(long value) { +void* NSNumber_type_NumberWithInteger(long value) { return [NSNumber numberWithInteger: value]; } -void* NSNumber_type_numberWithUnsignedInt(int value) { +void* NSNumber_type_NumberWithUnsignedInt(int value) { return [NSNumber numberWithUnsignedInt: value]; } -void* NSNumber_type_numberWithUnsignedInteger(unsigned long value) { +void* NSNumber_type_NumberWithUnsignedInteger(unsigned long value) { return [NSNumber numberWithUnsignedInteger: value]; } -void* NSRunLoop_type_alloc() { +void* NSRunLoop_type_Alloc() { return [NSRunLoop alloc]; } -void* NSRunLoop_type_currentRunLoop() { +void* NSRunLoop_type_CurrentRunLoop() { return [NSRunLoop currentRunLoop]; } -void* NSRunLoop_type_mainRunLoop() { +void* NSRunLoop_type_MainRunLoop() { return [NSRunLoop mainRunLoop]; } -void* NSString_type_alloc() { +void* NSString_type_Alloc() { return [NSString alloc]; } -void* NSString_type_string() { +void* NSString_type_String() { return [NSString string]; } -void* NSString_type_localizedUserNotificationStringForKey_arguments(void* key, void* arguments) { +void* NSString_type_LocalizedUserNotificationStringForKeyArguments(void* key, void* arguments) { return [NSString localizedUserNotificationStringForKey: key arguments: arguments]; } -void* NSString_type_stringWithString(void* string) { +void* NSString_type_StringWithString(void* string) { return [NSString stringWithString: string]; } -void* NSString_type_localizedNameOfStringEncoding(unsigned long encoding) { +void* NSString_type_LocalizedNameOfStringEncoding(unsigned long encoding) { return [NSString localizedNameOfStringEncoding: encoding]; } -void* NSString_type_pathWithComponents(void* components) { +void* NSString_type_PathWithComponents(void* components) { return [NSString pathWithComponents: components]; } -unsigned long NSString_type_defaultCStringEncoding() { +unsigned long NSString_type_DefaultCStringEncoding() { return [NSString defaultCStringEncoding]; } -void* NSThread_type_alloc() { +void* NSThread_type_Alloc() { return [NSThread alloc]; } -void NSThread_type_detachNewThreadSelector_toTarget_withObject(void* selector, void* target, void* argument) { +void NSThread_type_DetachNewThreadSelectorToTargetWithObject(void* selector, void* target, void* argument) { [NSThread detachNewThreadSelector: selector toTarget: target withObject: argument]; } -void NSThread_type_exit() { +void NSThread_type_Exit() { [NSThread exit]; } -BOOL NSThread_type_isMultiThreaded() { +BOOL NSThread_type_IsMultiThreaded() { return [NSThread isMultiThreaded]; } -BOOL NSThread_type_isMainThread() { +BOOL NSThread_type_IsMainThread() { return [NSThread isMainThread]; } -void* NSThread_type_mainThread() { +void* NSThread_type_MainThread() { return [NSThread mainThread]; } -void* NSThread_type_currentThread() { +void* NSThread_type_CurrentThread() { return [NSThread currentThread]; } -void* NSThread_type_callStackReturnAddresses() { +void* NSThread_type_CallStackReturnAddresses() { return [NSThread callStackReturnAddresses]; } -void* NSThread_type_callStackSymbols() { +void* NSThread_type_CallStackSymbols() { return [NSThread callStackSymbols]; } -void* NSURL_type_alloc() { +void* NSURL_type_Alloc() { return [NSURL alloc]; } @@ -234,1064 +234,1064 @@ void* NSURL_type_URLWithString(void* URLString) { return [NSURL URLWithString: URLString]; } -void* NSURL_type_URLWithString_relativeToURL(void* URLString, void* baseURL) { +void* NSURL_type_URLWithStringRelativeToURL(void* URLString, void* baseURL) { return [NSURL URLWithString: URLString relativeToURL: baseURL]; } -void* NSURL_type_fileURLWithPath_isDirectory(void* path, BOOL isDir) { +void* NSURL_type_FileURLWithPathIsDirectory(void* path, BOOL isDir) { return [NSURL fileURLWithPath: path isDirectory: isDir]; } -void* NSURL_type_fileURLWithPath_relativeToURL(void* path, void* baseURL) { +void* NSURL_type_FileURLWithPathRelativeToURL(void* path, void* baseURL) { return [NSURL fileURLWithPath: path relativeToURL: baseURL]; } -void* NSURL_type_fileURLWithPath_isDirectory_relativeToURL(void* path, BOOL isDir, void* baseURL) { +void* NSURL_type_FileURLWithPathIsDirectoryRelativeToURL(void* path, BOOL isDir, void* baseURL) { return [NSURL fileURLWithPath: path isDirectory: isDir relativeToURL: baseURL]; } -void* NSURL_type_fileURLWithPath(void* path) { +void* NSURL_type_FileURLWithPath(void* path) { return [NSURL fileURLWithPath: path]; } -void* NSURL_type_fileURLWithPathComponents(void* components) { +void* NSURL_type_FileURLWithPathComponents(void* components) { return [NSURL fileURLWithPathComponents: components]; } -void* NSURL_type_absoluteURLWithDataRepresentation_relativeToURL(void* data, void* baseURL) { +void* NSURL_type_AbsoluteURLWithDataRepresentationRelativeToURL(void* data, void* baseURL) { return [NSURL absoluteURLWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_type_URLWithDataRepresentation_relativeToURL(void* data, void* baseURL) { +void* NSURL_type_URLWithDataRepresentationRelativeToURL(void* data, void* baseURL) { return [NSURL URLWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_type_resourceValuesForKeys_fromBookmarkData(void* keys, void* bookmarkData) { +void* NSURL_type_ResourceValuesForKeysFromBookmarkData(void* keys, void* bookmarkData) { return [NSURL resourceValuesForKeys: keys fromBookmarkData: bookmarkData]; } -void* NSURLRequest_type_alloc() { +void* NSURLRequest_type_Alloc() { return [NSURLRequest alloc]; } -void* NSURLRequest_type_requestWithURL(void* URL) { +void* NSURLRequest_type_RequestWithURL(void* URL) { return [NSURLRequest requestWithURL: URL]; } -BOOL NSURLRequest_type_supportsSecureCoding() { +BOOL NSURLRequest_type_SupportsSecureCoding() { return [NSURLRequest supportsSecureCoding]; } -void* NSUserDefaults_type_alloc() { +void* NSUserDefaults_type_Alloc() { return [NSUserDefaults alloc]; } -void NSUserDefaults_type_resetStandardUserDefaults() { +void NSUserDefaults_type_ResetStandardUserDefaults() { [NSUserDefaults resetStandardUserDefaults]; } -void* NSUserDefaults_type_standardUserDefaults() { +void* NSUserDefaults_type_StandardUserDefaults() { return [NSUserDefaults standardUserDefaults]; } -void* CALayer_inst_actionForKey(void *id, void* event) { +void* CALayer_inst_ActionForKey(void *id, void* event) { return [(CALayer*)id actionForKey: event]; } -void CALayer_inst_addSublayer(void *id, void* layer) { +void CALayer_inst_AddSublayer(void *id, void* layer) { [(CALayer*)id addSublayer: layer]; } -void* CALayer_inst_animationKeys(void *id) { +void* CALayer_inst_AnimationKeys(void *id) { return [(CALayer*)id animationKeys]; } -BOOL CALayer_inst_contentsAreFlipped(void *id) { +BOOL CALayer_inst_ContentsAreFlipped(void *id) { return [(CALayer*)id contentsAreFlipped]; } -NSRect CALayer_inst_convertRect_fromLayer(void *id, NSRect r, void* l) { +NSRect CALayer_inst_ConvertRectFromLayer(void *id, NSRect r, void* l) { return [(CALayer*)id convertRect: r fromLayer: l]; } -NSRect CALayer_inst_convertRect_toLayer(void *id, NSRect r, void* l) { +NSRect CALayer_inst_ConvertRectToLayer(void *id, NSRect r, void* l) { return [(CALayer*)id convertRect: r toLayer: l]; } -void CALayer_inst_display(void *id) { +void CALayer_inst_Display(void *id) { [(CALayer*)id display]; } -void CALayer_inst_displayIfNeeded(void *id) { +void CALayer_inst_DisplayIfNeeded(void *id) { [(CALayer*)id displayIfNeeded]; } -void* CALayer_inst_init(void *id) { +void* CALayer_inst_Init(void *id) { return [(CALayer*)id init]; } -void* CALayer_inst_initWithLayer(void *id, void* layer) { +void* CALayer_inst_InitWithLayer(void *id, void* layer) { return [(CALayer*)id initWithLayer: layer]; } -void CALayer_inst_insertSublayer_above(void *id, void* layer, void* sibling) { +void CALayer_inst_InsertSublayerAbove(void *id, void* layer, void* sibling) { [(CALayer*)id insertSublayer: layer above: sibling]; } -void CALayer_inst_insertSublayer_atIndex(void *id, void* layer, int idx) { +void CALayer_inst_InsertSublayerAtIndex(void *id, void* layer, int idx) { [(CALayer*)id insertSublayer: layer atIndex: idx]; } -void CALayer_inst_insertSublayer_below(void *id, void* layer, void* sibling) { +void CALayer_inst_InsertSublayerBelow(void *id, void* layer, void* sibling) { [(CALayer*)id insertSublayer: layer below: sibling]; } -void CALayer_inst_layoutIfNeeded(void *id) { +void CALayer_inst_LayoutIfNeeded(void *id) { [(CALayer*)id layoutIfNeeded]; } -void CALayer_inst_layoutSublayers(void *id) { +void CALayer_inst_LayoutSublayers(void *id) { [(CALayer*)id layoutSublayers]; } -void* CALayer_inst_modelLayer(void *id) { +void* CALayer_inst_ModelLayer(void *id) { return [(CALayer*)id modelLayer]; } -BOOL CALayer_inst_needsDisplay(void *id) { +BOOL CALayer_inst_NeedsDisplay(void *id) { return [(CALayer*)id needsDisplay]; } -BOOL CALayer_inst_needsLayout(void *id) { +BOOL CALayer_inst_NeedsLayout(void *id) { return [(CALayer*)id needsLayout]; } -NSSize CALayer_inst_preferredFrameSize(void *id) { +NSSize CALayer_inst_PreferredFrameSize(void *id) { return [(CALayer*)id preferredFrameSize]; } -void* CALayer_inst_presentationLayer(void *id) { +void* CALayer_inst_PresentationLayer(void *id) { return [(CALayer*)id presentationLayer]; } -void CALayer_inst_removeAllAnimations(void *id) { +void CALayer_inst_RemoveAllAnimations(void *id) { [(CALayer*)id removeAllAnimations]; } -void CALayer_inst_removeAnimationForKey(void *id, void* key) { +void CALayer_inst_RemoveAnimationForKey(void *id, void* key) { [(CALayer*)id removeAnimationForKey: key]; } -void CALayer_inst_removeFromSuperlayer(void *id) { +void CALayer_inst_RemoveFromSuperlayer(void *id) { [(CALayer*)id removeFromSuperlayer]; } -void CALayer_inst_replaceSublayer_with(void *id, void* oldLayer, void* newLayer) { +void CALayer_inst_ReplaceSublayerWith(void *id, void* oldLayer, void* newLayer) { [(CALayer*)id replaceSublayer: oldLayer with: newLayer]; } -void CALayer_inst_resizeSublayersWithOldSize(void *id, NSSize size) { +void CALayer_inst_ResizeSublayersWithOldSize(void *id, NSSize size) { [(CALayer*)id resizeSublayersWithOldSize: size]; } -void CALayer_inst_resizeWithOldSuperlayerSize(void *id, NSSize size) { +void CALayer_inst_ResizeWithOldSuperlayerSize(void *id, NSSize size) { [(CALayer*)id resizeWithOldSuperlayerSize: size]; } -void CALayer_inst_scrollRectToVisible(void *id, NSRect r) { +void CALayer_inst_ScrollRectToVisible(void *id, NSRect r) { [(CALayer*)id scrollRectToVisible: r]; } -void CALayer_inst_setNeedsDisplay(void *id) { +void CALayer_inst_SetNeedsDisplay(void *id) { [(CALayer*)id setNeedsDisplay]; } -void CALayer_inst_setNeedsDisplayInRect(void *id, NSRect r) { +void CALayer_inst_SetNeedsDisplayInRect(void *id, NSRect r) { [(CALayer*)id setNeedsDisplayInRect: r]; } -void CALayer_inst_setNeedsLayout(void *id) { +void CALayer_inst_SetNeedsLayout(void *id) { [(CALayer*)id setNeedsLayout]; } -BOOL CALayer_inst_shouldArchiveValueForKey(void *id, void* key) { +BOOL CALayer_inst_ShouldArchiveValueForKey(void *id, void* key) { return [(CALayer*)id shouldArchiveValueForKey: key]; } -void* CALayer_inst_delegate(void *id) { +void* CALayer_inst_Delegate(void *id) { return [(CALayer*)id delegate]; } -void CALayer_inst_setDelegate(void *id, void* value) { +void CALayer_inst_SetDelegate(void *id, void* value) { [(CALayer*)id setDelegate: value]; } -void* CALayer_inst_contents(void *id) { +void* CALayer_inst_Contents(void *id) { return [(CALayer*)id contents]; } -void CALayer_inst_setContents(void *id, void* value) { +void CALayer_inst_SetContents(void *id, void* value) { [(CALayer*)id setContents: value]; } -NSRect CALayer_inst_contentsRect(void *id) { +NSRect CALayer_inst_ContentsRect(void *id) { return [(CALayer*)id contentsRect]; } -void CALayer_inst_setContentsRect(void *id, NSRect value) { +void CALayer_inst_SetContentsRect(void *id, NSRect value) { [(CALayer*)id setContentsRect: value]; } -NSRect CALayer_inst_contentsCenter(void *id) { +NSRect CALayer_inst_ContentsCenter(void *id) { return [(CALayer*)id contentsCenter]; } -void CALayer_inst_setContentsCenter(void *id, NSRect value) { +void CALayer_inst_SetContentsCenter(void *id, NSRect value) { [(CALayer*)id setContentsCenter: value]; } -BOOL CALayer_inst_isHidden(void *id) { +BOOL CALayer_inst_IsHidden(void *id) { return [(CALayer*)id isHidden]; } -void CALayer_inst_setHidden(void *id, BOOL value) { +void CALayer_inst_SetHidden(void *id, BOOL value) { [(CALayer*)id setHidden: value]; } -BOOL CALayer_inst_masksToBounds(void *id) { +BOOL CALayer_inst_MasksToBounds(void *id) { return [(CALayer*)id masksToBounds]; } -void CALayer_inst_setMasksToBounds(void *id, BOOL value) { +void CALayer_inst_SetMasksToBounds(void *id, BOOL value) { [(CALayer*)id setMasksToBounds: value]; } -void* CALayer_inst_mask(void *id) { +void* CALayer_inst_Mask(void *id) { return [(CALayer*)id mask]; } -void CALayer_inst_setMask(void *id, void* value) { +void CALayer_inst_SetMask(void *id, void* value) { [(CALayer*)id setMask: value]; } -BOOL CALayer_inst_isDoubleSided(void *id) { +BOOL CALayer_inst_IsDoubleSided(void *id) { return [(CALayer*)id isDoubleSided]; } -void CALayer_inst_setDoubleSided(void *id, BOOL value) { +void CALayer_inst_SetDoubleSided(void *id, BOOL value) { [(CALayer*)id setDoubleSided: value]; } -double CALayer_inst_cornerRadius(void *id) { +double CALayer_inst_CornerRadius(void *id) { return [(CALayer*)id cornerRadius]; } -void CALayer_inst_setCornerRadius(void *id, double value) { +void CALayer_inst_SetCornerRadius(void *id, double value) { [(CALayer*)id setCornerRadius: value]; } -double CALayer_inst_borderWidth(void *id) { +double CALayer_inst_BorderWidth(void *id) { return [(CALayer*)id borderWidth]; } -void CALayer_inst_setBorderWidth(void *id, double value) { +void CALayer_inst_SetBorderWidth(void *id, double value) { [(CALayer*)id setBorderWidth: value]; } -double CALayer_inst_shadowRadius(void *id) { +double CALayer_inst_ShadowRadius(void *id) { return [(CALayer*)id shadowRadius]; } -void CALayer_inst_setShadowRadius(void *id, double value) { +void CALayer_inst_SetShadowRadius(void *id, double value) { [(CALayer*)id setShadowRadius: value]; } -NSSize CALayer_inst_shadowOffset(void *id) { +NSSize CALayer_inst_ShadowOffset(void *id) { return [(CALayer*)id shadowOffset]; } -void CALayer_inst_setShadowOffset(void *id, NSSize value) { +void CALayer_inst_SetShadowOffset(void *id, NSSize value) { [(CALayer*)id setShadowOffset: value]; } -void* CALayer_inst_style(void *id) { +void* CALayer_inst_Style(void *id) { return [(CALayer*)id style]; } -void CALayer_inst_setStyle(void *id, void* value) { +void CALayer_inst_SetStyle(void *id, void* value) { [(CALayer*)id setStyle: value]; } -BOOL CALayer_inst_allowsEdgeAntialiasing(void *id) { +BOOL CALayer_inst_AllowsEdgeAntialiasing(void *id) { return [(CALayer*)id allowsEdgeAntialiasing]; } -void CALayer_inst_setAllowsEdgeAntialiasing(void *id, BOOL value) { +void CALayer_inst_SetAllowsEdgeAntialiasing(void *id, BOOL value) { [(CALayer*)id setAllowsEdgeAntialiasing: value]; } -BOOL CALayer_inst_allowsGroupOpacity(void *id) { +BOOL CALayer_inst_AllowsGroupOpacity(void *id) { return [(CALayer*)id allowsGroupOpacity]; } -void CALayer_inst_setAllowsGroupOpacity(void *id, BOOL value) { +void CALayer_inst_SetAllowsGroupOpacity(void *id, BOOL value) { [(CALayer*)id setAllowsGroupOpacity: value]; } -void* CALayer_inst_filters(void *id) { +void* CALayer_inst_Filters(void *id) { return [(CALayer*)id filters]; } -void CALayer_inst_setFilters(void *id, void* value) { +void CALayer_inst_SetFilters(void *id, void* value) { [(CALayer*)id setFilters: value]; } -void* CALayer_inst_compositingFilter(void *id) { +void* CALayer_inst_CompositingFilter(void *id) { return [(CALayer*)id compositingFilter]; } -void CALayer_inst_setCompositingFilter(void *id, void* value) { +void CALayer_inst_SetCompositingFilter(void *id, void* value) { [(CALayer*)id setCompositingFilter: value]; } -void* CALayer_inst_backgroundFilters(void *id) { +void* CALayer_inst_BackgroundFilters(void *id) { return [(CALayer*)id backgroundFilters]; } -void CALayer_inst_setBackgroundFilters(void *id, void* value) { +void CALayer_inst_SetBackgroundFilters(void *id, void* value) { [(CALayer*)id setBackgroundFilters: value]; } -BOOL CALayer_inst_isOpaque(void *id) { +BOOL CALayer_inst_IsOpaque(void *id) { return [(CALayer*)id isOpaque]; } -void CALayer_inst_setOpaque(void *id, BOOL value) { +void CALayer_inst_SetOpaque(void *id, BOOL value) { [(CALayer*)id setOpaque: value]; } -BOOL CALayer_inst_isGeometryFlipped(void *id) { +BOOL CALayer_inst_IsGeometryFlipped(void *id) { return [(CALayer*)id isGeometryFlipped]; } -void CALayer_inst_setGeometryFlipped(void *id, BOOL value) { +void CALayer_inst_SetGeometryFlipped(void *id, BOOL value) { [(CALayer*)id setGeometryFlipped: value]; } -BOOL CALayer_inst_drawsAsynchronously(void *id) { +BOOL CALayer_inst_DrawsAsynchronously(void *id) { return [(CALayer*)id drawsAsynchronously]; } -void CALayer_inst_setDrawsAsynchronously(void *id, BOOL value) { +void CALayer_inst_SetDrawsAsynchronously(void *id, BOOL value) { [(CALayer*)id setDrawsAsynchronously: value]; } -BOOL CALayer_inst_shouldRasterize(void *id) { +BOOL CALayer_inst_ShouldRasterize(void *id) { return [(CALayer*)id shouldRasterize]; } -void CALayer_inst_setShouldRasterize(void *id, BOOL value) { +void CALayer_inst_SetShouldRasterize(void *id, BOOL value) { [(CALayer*)id setShouldRasterize: value]; } -double CALayer_inst_rasterizationScale(void *id) { +double CALayer_inst_RasterizationScale(void *id) { return [(CALayer*)id rasterizationScale]; } -void CALayer_inst_setRasterizationScale(void *id, double value) { +void CALayer_inst_SetRasterizationScale(void *id, double value) { [(CALayer*)id setRasterizationScale: value]; } -NSRect CALayer_inst_frame(void *id) { +NSRect CALayer_inst_Frame(void *id) { return [(CALayer*)id frame]; } -void CALayer_inst_setFrame(void *id, NSRect value) { +void CALayer_inst_SetFrame(void *id, NSRect value) { [(CALayer*)id setFrame: value]; } -NSRect CALayer_inst_bounds(void *id) { +NSRect CALayer_inst_Bounds(void *id) { return [(CALayer*)id bounds]; } -void CALayer_inst_setBounds(void *id, NSRect value) { +void CALayer_inst_SetBounds(void *id, NSRect value) { [(CALayer*)id setBounds: value]; } -double CALayer_inst_zPosition(void *id) { +double CALayer_inst_ZPosition(void *id) { return [(CALayer*)id zPosition]; } -void CALayer_inst_setZPosition(void *id, double value) { +void CALayer_inst_SetZPosition(void *id, double value) { [(CALayer*)id setZPosition: value]; } -double CALayer_inst_anchorPointZ(void *id) { +double CALayer_inst_AnchorPointZ(void *id) { return [(CALayer*)id anchorPointZ]; } -void CALayer_inst_setAnchorPointZ(void *id, double value) { +void CALayer_inst_SetAnchorPointZ(void *id, double value) { [(CALayer*)id setAnchorPointZ: value]; } -double CALayer_inst_contentsScale(void *id) { +double CALayer_inst_ContentsScale(void *id) { return [(CALayer*)id contentsScale]; } -void CALayer_inst_setContentsScale(void *id, double value) { +void CALayer_inst_SetContentsScale(void *id, double value) { [(CALayer*)id setContentsScale: value]; } -void* CALayer_inst_sublayers(void *id) { +void* CALayer_inst_Sublayers(void *id) { return [(CALayer*)id sublayers]; } -void CALayer_inst_setSublayers(void *id, void* value) { +void CALayer_inst_SetSublayers(void *id, void* value) { [(CALayer*)id setSublayers: value]; } -void* CALayer_inst_superlayer(void *id) { +void* CALayer_inst_Superlayer(void *id) { return [(CALayer*)id superlayer]; } -BOOL CALayer_inst_needsDisplayOnBoundsChange(void *id) { +BOOL CALayer_inst_NeedsDisplayOnBoundsChange(void *id) { return [(CALayer*)id needsDisplayOnBoundsChange]; } -void CALayer_inst_setNeedsDisplayOnBoundsChange(void *id, BOOL value) { +void CALayer_inst_SetNeedsDisplayOnBoundsChange(void *id, BOOL value) { [(CALayer*)id setNeedsDisplayOnBoundsChange: value]; } -void* CALayer_inst_layoutManager(void *id) { +void* CALayer_inst_LayoutManager(void *id) { return [(CALayer*)id layoutManager]; } -void CALayer_inst_setLayoutManager(void *id, void* value) { +void CALayer_inst_SetLayoutManager(void *id, void* value) { [(CALayer*)id setLayoutManager: value]; } -void* CALayer_inst_constraints(void *id) { +void* CALayer_inst_Constraints(void *id) { return [(CALayer*)id constraints]; } -void CALayer_inst_setConstraints(void *id, void* value) { +void CALayer_inst_SetConstraints(void *id, void* value) { [(CALayer*)id setConstraints: value]; } -void* CALayer_inst_actions(void *id) { +void* CALayer_inst_Actions(void *id) { return [(CALayer*)id actions]; } -void CALayer_inst_setActions(void *id, void* value) { +void CALayer_inst_SetActions(void *id, void* value) { [(CALayer*)id setActions: value]; } -NSRect CALayer_inst_visibleRect(void *id) { +NSRect CALayer_inst_VisibleRect(void *id) { return [(CALayer*)id visibleRect]; } -void* CALayer_inst_name(void *id) { +void* CALayer_inst_Name(void *id) { return [(CALayer*)id name]; } -void CALayer_inst_setName(void *id, void* value) { +void CALayer_inst_SetName(void *id, void* value) { [(CALayer*)id setName: value]; } -void* NSArray_inst_arrayByAddingObjectsFromArray(void *id, void* otherArray) { +void* NSArray_inst_ArrayByAddingObjectsFromArray(void *id, void* otherArray) { return [(NSArray*)id arrayByAddingObjectsFromArray: otherArray]; } -void* NSArray_inst_componentsJoinedByString(void *id, void* separator) { +void* NSArray_inst_ComponentsJoinedByString(void *id, void* separator) { return [(NSArray*)id componentsJoinedByString: separator]; } -void* NSArray_inst_descriptionWithLocale(void *id, void* locale) { +void* NSArray_inst_DescriptionWithLocale(void *id, void* locale) { return [(NSArray*)id descriptionWithLocale: locale]; } -void* NSArray_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { +void* NSArray_inst_DescriptionWithLocaleIndent(void *id, void* locale, unsigned long level) { return [(NSArray*)id descriptionWithLocale: locale indent: level]; } -void* NSArray_inst_init(void *id) { +void* NSArray_inst_Init(void *id) { return [(NSArray*)id init]; } -void* NSArray_inst_initWithArray(void *id, void* array) { +void* NSArray_inst_InitWithArray(void *id, void* array) { return [(NSArray*)id initWithArray: array]; } -void* NSArray_inst_initWithArray_copyItems(void *id, void* array, BOOL flag) { +void* NSArray_inst_InitWithArrayCopyItems(void *id, void* array, BOOL flag) { return [(NSArray*)id initWithArray: array copyItems: flag]; } -BOOL NSArray_inst_isEqualToArray(void *id, void* otherArray) { +BOOL NSArray_inst_IsEqualToArray(void *id, void* otherArray) { return [(NSArray*)id isEqualToArray: otherArray]; } -void NSArray_inst_makeObjectsPerformSelector(void *id, void* aSelector) { +void NSArray_inst_MakeObjectsPerformSelector(void *id, void* aSelector) { [(NSArray*)id makeObjectsPerformSelector: aSelector]; } -void NSArray_inst_makeObjectsPerformSelector_withObject(void *id, void* aSelector, void* argument) { +void NSArray_inst_MakeObjectsPerformSelectorWithObject(void *id, void* aSelector, void* argument) { [(NSArray*)id makeObjectsPerformSelector: aSelector withObject: argument]; } -void* NSArray_inst_pathsMatchingExtensions(void *id, void* filterTypes) { +void* NSArray_inst_PathsMatchingExtensions(void *id, void* filterTypes) { return [(NSArray*)id pathsMatchingExtensions: filterTypes]; } -void NSArray_inst_setValue_forKey(void *id, void* value, void* key) { +void NSArray_inst_SetValueForKey(void *id, void* value, void* key) { [(NSArray*)id setValue: value forKey: key]; } -void* NSArray_inst_shuffledArray(void *id) { +void* NSArray_inst_ShuffledArray(void *id) { return [(NSArray*)id shuffledArray]; } -void* NSArray_inst_sortedArrayUsingDescriptors(void *id, void* sortDescriptors) { +void* NSArray_inst_SortedArrayUsingDescriptors(void *id, void* sortDescriptors) { return [(NSArray*)id sortedArrayUsingDescriptors: sortDescriptors]; } -void* NSArray_inst_sortedArrayUsingSelector(void *id, void* comparator) { +void* NSArray_inst_SortedArrayUsingSelector(void *id, void* comparator) { return [(NSArray*)id sortedArrayUsingSelector: comparator]; } -void* NSArray_inst_valueForKey(void *id, void* key) { +void* NSArray_inst_ValueForKey(void *id, void* key) { return [(NSArray*)id valueForKey: key]; } -unsigned long NSArray_inst_count(void *id) { +unsigned long NSArray_inst_Count(void *id) { return [(NSArray*)id count]; } -void* NSArray_inst_sortedArrayHint(void *id) { +void* NSArray_inst_SortedArrayHint(void *id) { return [(NSArray*)id sortedArrayHint]; } -void* NSArray_inst_description(void *id) { +void* NSArray_inst_Description(void *id) { return [(NSArray*)id description]; } -void* NSAttributedString_inst_attributedStringByInflectingString(void *id) { +void* NSAttributedString_inst_AttributedStringByInflectingString(void *id) { return [(NSAttributedString*)id attributedStringByInflectingString]; } -void NSAttributedString_inst_drawInRect(void *id, NSRect rect) { +void NSAttributedString_inst_DrawInRect(void *id, NSRect rect) { [(NSAttributedString*)id drawInRect: rect]; } -void* NSAttributedString_inst_initWithAttributedString(void *id, void* attrStr) { +void* NSAttributedString_inst_InitWithAttributedString(void *id, void* attrStr) { return [(NSAttributedString*)id initWithAttributedString: attrStr]; } -void* NSAttributedString_inst_initWithDocFormat_documentAttributes(void *id, void* data, void* dict) { +void* NSAttributedString_inst_InitWithDocFormatDocumentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithDocFormat: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_baseURL_documentAttributes(void *id, void* data, void* base, void* dict) { +void* NSAttributedString_inst_InitWithHTMLBaseURLDocumentAttributes(void *id, void* data, void* base, void* dict) { return [(NSAttributedString*)id initWithHTML: data baseURL: base documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_documentAttributes(void *id, void* data, void* dict) { +void* NSAttributedString_inst_InitWithHTMLDocumentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithHTML: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithHTML_options_documentAttributes(void *id, void* data, void* options, void* dict) { +void* NSAttributedString_inst_InitWithHTMLOptionsDocumentAttributes(void *id, void* data, void* options, void* dict) { return [(NSAttributedString*)id initWithHTML: data options: options documentAttributes: dict]; } -void* NSAttributedString_inst_initWithRTF_documentAttributes(void *id, void* data, void* dict) { +void* NSAttributedString_inst_InitWithRTFDocumentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithRTF: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithRTFD_documentAttributes(void *id, void* data, void* dict) { +void* NSAttributedString_inst_InitWithRTFDDocumentAttributes(void *id, void* data, void* dict) { return [(NSAttributedString*)id initWithRTFD: data documentAttributes: dict]; } -void* NSAttributedString_inst_initWithString(void *id, void* str) { +void* NSAttributedString_inst_InitWithString(void *id, void* str) { return [(NSAttributedString*)id initWithString: str]; } -void* NSAttributedString_inst_initWithString_attributes(void *id, void* str, void* attrs) { +void* NSAttributedString_inst_InitWithStringAttributes(void *id, void* str, void* attrs) { return [(NSAttributedString*)id initWithString: str attributes: attrs]; } -BOOL NSAttributedString_inst_isEqualToAttributedString(void *id, void* other) { +BOOL NSAttributedString_inst_IsEqualToAttributedString(void *id, void* other) { return [(NSAttributedString*)id isEqualToAttributedString: other]; } -unsigned long NSAttributedString_inst_nextWordFromIndex_forward(void *id, unsigned long location, BOOL isForward) { +unsigned long NSAttributedString_inst_NextWordFromIndexForward(void *id, unsigned long location, BOOL isForward) { return [(NSAttributedString*)id nextWordFromIndex: location forward: isForward]; } -NSSize NSAttributedString_inst_size(void *id) { +NSSize NSAttributedString_inst_Size(void *id) { return [(NSAttributedString*)id size]; } -void* NSAttributedString_inst_init(void *id) { +void* NSAttributedString_inst_Init(void *id) { return [(NSAttributedString*)id init]; } -void* NSAttributedString_inst_string(void *id) { +void* NSAttributedString_inst_String(void *id) { return [(NSAttributedString*)id string]; } -unsigned long NSAttributedString_inst_length(void *id) { +unsigned long NSAttributedString_inst_Length(void *id) { return [(NSAttributedString*)id length]; } -void NSData_inst_getBytes_length(void *id, void* buffer, unsigned long length) { +void NSData_inst_GetBytesLength(void *id, void* buffer, unsigned long length) { [(NSData*)id getBytes: buffer length: length]; } -void* NSData_inst_initWithBytes_length(void *id, void* bytes, unsigned long length) { +void* NSData_inst_InitWithBytesLength(void *id, void* bytes, unsigned long length) { return [(NSData*)id initWithBytes: bytes length: length]; } -void* NSData_inst_initWithBytesNoCopy_length(void *id, void* bytes, unsigned long length) { +void* NSData_inst_InitWithBytesNoCopyLength(void *id, void* bytes, unsigned long length) { return [(NSData*)id initWithBytesNoCopy: bytes length: length]; } -void* NSData_inst_initWithBytesNoCopy_length_freeWhenDone(void *id, void* bytes, unsigned long length, BOOL b) { +void* NSData_inst_InitWithBytesNoCopyLengthFreeWhenDone(void *id, void* bytes, unsigned long length, BOOL b) { return [(NSData*)id initWithBytesNoCopy: bytes length: length freeWhenDone: b]; } -void* NSData_inst_initWithContentsOfFile(void *id, void* path) { +void* NSData_inst_InitWithContentsOfFile(void *id, void* path) { return [(NSData*)id initWithContentsOfFile: path]; } -void* NSData_inst_initWithContentsOfURL(void *id, void* url) { +void* NSData_inst_InitWithContentsOfURL(void *id, void* url) { return [(NSData*)id initWithContentsOfURL: url]; } -void* NSData_inst_initWithData(void *id, void* data) { +void* NSData_inst_InitWithData(void *id, void* data) { return [(NSData*)id initWithData: data]; } -BOOL NSData_inst_isEqualToData(void *id, void* other) { +BOOL NSData_inst_IsEqualToData(void *id, void* other) { return [(NSData*)id isEqualToData: other]; } -BOOL NSData_inst_writeToFile_atomically(void *id, void* path, BOOL useAuxiliaryFile) { +BOOL NSData_inst_WriteToFileAtomically(void *id, void* path, BOOL useAuxiliaryFile) { return [(NSData*)id writeToFile: path atomically: useAuxiliaryFile]; } -BOOL NSData_inst_writeToURL_atomically(void *id, void* url, BOOL atomically) { +BOOL NSData_inst_WriteToURLAtomically(void *id, void* url, BOOL atomically) { return [(NSData*)id writeToURL: url atomically: atomically]; } -void* NSData_inst_init(void *id) { +void* NSData_inst_Init(void *id) { return [(NSData*)id init]; } -void* NSData_inst_bytes(void *id) { +void* NSData_inst_Bytes(void *id) { return [(NSData*)id bytes]; } -unsigned long NSData_inst_length(void *id) { +unsigned long NSData_inst_Length(void *id) { return [(NSData*)id length]; } -void* NSData_inst_description(void *id) { +void* NSData_inst_Description(void *id) { return [(NSData*)id description]; } -void* NSDictionary_inst_descriptionWithLocale(void *id, void* locale) { +void* NSDictionary_inst_DescriptionWithLocale(void *id, void* locale) { return [(NSDictionary*)id descriptionWithLocale: locale]; } -void* NSDictionary_inst_descriptionWithLocale_indent(void *id, void* locale, unsigned long level) { +void* NSDictionary_inst_DescriptionWithLocaleIndent(void *id, void* locale, unsigned long level) { return [(NSDictionary*)id descriptionWithLocale: locale indent: level]; } -BOOL NSDictionary_inst_fileExtensionHidden(void *id) { +BOOL NSDictionary_inst_FileExtensionHidden(void *id) { return [(NSDictionary*)id fileExtensionHidden]; } -void* NSDictionary_inst_fileGroupOwnerAccountID(void *id) { +void* NSDictionary_inst_FileGroupOwnerAccountID(void *id) { return [(NSDictionary*)id fileGroupOwnerAccountID]; } -void* NSDictionary_inst_fileGroupOwnerAccountName(void *id) { +void* NSDictionary_inst_FileGroupOwnerAccountName(void *id) { return [(NSDictionary*)id fileGroupOwnerAccountName]; } -BOOL NSDictionary_inst_fileIsAppendOnly(void *id) { +BOOL NSDictionary_inst_FileIsAppendOnly(void *id) { return [(NSDictionary*)id fileIsAppendOnly]; } -BOOL NSDictionary_inst_fileIsImmutable(void *id) { +BOOL NSDictionary_inst_FileIsImmutable(void *id) { return [(NSDictionary*)id fileIsImmutable]; } -void* NSDictionary_inst_fileOwnerAccountID(void *id) { +void* NSDictionary_inst_FileOwnerAccountID(void *id) { return [(NSDictionary*)id fileOwnerAccountID]; } -void* NSDictionary_inst_fileOwnerAccountName(void *id) { +void* NSDictionary_inst_FileOwnerAccountName(void *id) { return [(NSDictionary*)id fileOwnerAccountName]; } -unsigned long NSDictionary_inst_filePosixPermissions(void *id) { +unsigned long NSDictionary_inst_FilePosixPermissions(void *id) { return [(NSDictionary*)id filePosixPermissions]; } -unsigned long NSDictionary_inst_fileSystemFileNumber(void *id) { +unsigned long NSDictionary_inst_FileSystemFileNumber(void *id) { return [(NSDictionary*)id fileSystemFileNumber]; } -long NSDictionary_inst_fileSystemNumber(void *id) { +long NSDictionary_inst_FileSystemNumber(void *id) { return [(NSDictionary*)id fileSystemNumber]; } -void* NSDictionary_inst_fileType(void *id) { +void* NSDictionary_inst_FileType(void *id) { return [(NSDictionary*)id fileType]; } -void* NSDictionary_inst_init(void *id) { +void* NSDictionary_inst_Init(void *id) { return [(NSDictionary*)id init]; } -void* NSDictionary_inst_initWithDictionary(void *id, void* otherDictionary) { +void* NSDictionary_inst_InitWithDictionary(void *id, void* otherDictionary) { return [(NSDictionary*)id initWithDictionary: otherDictionary]; } -void* NSDictionary_inst_initWithDictionary_copyItems(void *id, void* otherDictionary, BOOL flag) { +void* NSDictionary_inst_InitWithDictionaryCopyItems(void *id, void* otherDictionary, BOOL flag) { return [(NSDictionary*)id initWithDictionary: otherDictionary copyItems: flag]; } -void* NSDictionary_inst_initWithObjects_forKeys(void *id, void* objects, void* keys) { +void* NSDictionary_inst_InitWithObjectsForKeys(void *id, void* objects, void* keys) { return [(NSDictionary*)id initWithObjects: objects forKeys: keys]; } -BOOL NSDictionary_inst_isEqualToDictionary(void *id, void* otherDictionary) { +BOOL NSDictionary_inst_IsEqualToDictionary(void *id, void* otherDictionary) { return [(NSDictionary*)id isEqualToDictionary: otherDictionary]; } -void* NSDictionary_inst_keysSortedByValueUsingSelector(void *id, void* comparator) { +void* NSDictionary_inst_KeysSortedByValueUsingSelector(void *id, void* comparator) { return [(NSDictionary*)id keysSortedByValueUsingSelector: comparator]; } -unsigned long NSDictionary_inst_count(void *id) { +unsigned long NSDictionary_inst_Count(void *id) { return [(NSDictionary*)id count]; } -void* NSDictionary_inst_allKeys(void *id) { +void* NSDictionary_inst_AllKeys(void *id) { return [(NSDictionary*)id allKeys]; } -void* NSDictionary_inst_allValues(void *id) { +void* NSDictionary_inst_AllValues(void *id) { return [(NSDictionary*)id allValues]; } -void* NSDictionary_inst_description(void *id) { +void* NSDictionary_inst_Description(void *id) { return [(NSDictionary*)id description]; } -void* NSDictionary_inst_descriptionInStringsFileFormat(void *id) { +void* NSDictionary_inst_DescriptionInStringsFileFormat(void *id) { return [(NSDictionary*)id descriptionInStringsFileFormat]; } -void* NSNumber_inst_descriptionWithLocale(void *id, void* locale) { +void* NSNumber_inst_DescriptionWithLocale(void *id, void* locale) { return [(NSNumber*)id descriptionWithLocale: locale]; } -void* NSNumber_inst_initWithBool(void *id, BOOL value) { +void* NSNumber_inst_InitWithBool(void *id, BOOL value) { return [(NSNumber*)id initWithBool: value]; } -void* NSNumber_inst_initWithInt(void *id, int value) { +void* NSNumber_inst_InitWithInt(void *id, int value) { return [(NSNumber*)id initWithInt: value]; } -void* NSNumber_inst_initWithInteger(void *id, long value) { +void* NSNumber_inst_InitWithInteger(void *id, long value) { return [(NSNumber*)id initWithInteger: value]; } -void* NSNumber_inst_initWithUnsignedInt(void *id, int value) { +void* NSNumber_inst_InitWithUnsignedInt(void *id, int value) { return [(NSNumber*)id initWithUnsignedInt: value]; } -void* NSNumber_inst_initWithUnsignedInteger(void *id, unsigned long value) { +void* NSNumber_inst_InitWithUnsignedInteger(void *id, unsigned long value) { return [(NSNumber*)id initWithUnsignedInteger: value]; } -BOOL NSNumber_inst_isEqualToNumber(void *id, void* number) { +BOOL NSNumber_inst_IsEqualToNumber(void *id, void* number) { return [(NSNumber*)id isEqualToNumber: number]; } -void* NSNumber_inst_init(void *id) { +void* NSNumber_inst_Init(void *id) { return [(NSNumber*)id init]; } -BOOL NSNumber_inst_boolValue(void *id) { +BOOL NSNumber_inst_BoolValue(void *id) { return [(NSNumber*)id boolValue]; } -int NSNumber_inst_intValue(void *id) { +int NSNumber_inst_IntValue(void *id) { return [(NSNumber*)id intValue]; } -long NSNumber_inst_integerValue(void *id) { +long NSNumber_inst_IntegerValue(void *id) { return [(NSNumber*)id integerValue]; } -unsigned long NSNumber_inst_unsignedIntegerValue(void *id) { +unsigned long NSNumber_inst_UnsignedIntegerValue(void *id) { return [(NSNumber*)id unsignedIntegerValue]; } -int NSNumber_inst_unsignedIntValue(void *id) { +int NSNumber_inst_UnsignedIntValue(void *id) { return [(NSNumber*)id unsignedIntValue]; } -void* NSNumber_inst_stringValue(void *id) { +void* NSNumber_inst_StringValue(void *id) { return [(NSNumber*)id stringValue]; } -void NSRunLoop_inst_cancelPerformSelector_target_argument(void *id, void* aSelector, void* target, void* arg) { +void NSRunLoop_inst_CancelPerformSelectorTargetArgument(void *id, void* aSelector, void* target, void* arg) { [(NSRunLoop*)id cancelPerformSelector: aSelector target: target argument: arg]; } -void NSRunLoop_inst_cancelPerformSelectorsWithTarget(void *id, void* target) { +void NSRunLoop_inst_CancelPerformSelectorsWithTarget(void *id, void* target) { [(NSRunLoop*)id cancelPerformSelectorsWithTarget: target]; } -void NSRunLoop_inst_performSelector_target_argument_order_modes(void *id, void* aSelector, void* target, void* arg, unsigned long order, void* modes) { +void NSRunLoop_inst_PerformSelectorTargetArgumentOrderModes(void *id, void* aSelector, void* target, void* arg, unsigned long order, void* modes) { [(NSRunLoop*)id performSelector: aSelector target: target @@ -1300,27 +1300,27 @@ void NSRunLoop_inst_performSelector_target_argument_order_modes(void *id, void* modes: modes]; } -void NSRunLoop_inst_run(void *id) { +void NSRunLoop_inst_Run(void *id) { [(NSRunLoop*)id run]; } -void* NSRunLoop_inst_init(void *id) { +void* NSRunLoop_inst_Init(void *id) { return [(NSRunLoop*)id init]; } -BOOL NSString_inst_canBeConvertedToEncoding(void *id, unsigned long encoding) { +BOOL NSString_inst_CanBeConvertedToEncoding(void *id, unsigned long encoding) { return [(NSString*)id canBeConvertedToEncoding: encoding]; } -unsigned short NSString_inst_characterAtIndex(void *id, unsigned long index) { +unsigned short NSString_inst_CharacterAtIndex(void *id, unsigned long index) { return [(NSString*)id characterAtIndex: index]; } -unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes(void *id, void* outputName, BOOL flag, void* outputArray, void* filterTypes) { +unsigned long NSString_inst_CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes(void *id, void* outputName, BOOL flag, void* outputArray, void* filterTypes) { return [(NSString*)id completePathIntoString: outputName caseSensitive: flag @@ -1328,56 +1328,56 @@ unsigned long NSString_inst_completePathIntoString_caseSensitive_matchesIntoArra filterTypes: filterTypes]; } -void* NSString_inst_componentsSeparatedByString(void *id, void* separator) { +void* NSString_inst_ComponentsSeparatedByString(void *id, void* separator) { return [(NSString*)id componentsSeparatedByString: separator]; } -BOOL NSString_inst_containsString(void *id, void* str) { +BOOL NSString_inst_ContainsString(void *id, void* str) { return [(NSString*)id containsString: str]; } -void* NSString_inst_dataUsingEncoding(void *id, unsigned long encoding) { +void* NSString_inst_DataUsingEncoding(void *id, unsigned long encoding) { return [(NSString*)id dataUsingEncoding: encoding]; } -void* NSString_inst_dataUsingEncoding_allowLossyConversion(void *id, unsigned long encoding, BOOL lossy) { +void* NSString_inst_DataUsingEncodingAllowLossyConversion(void *id, unsigned long encoding, BOOL lossy) { return [(NSString*)id dataUsingEncoding: encoding allowLossyConversion: lossy]; } -void NSString_inst_drawInRect_withAttributes(void *id, NSRect rect, void* attrs) { +void NSString_inst_DrawInRectWithAttributes(void *id, NSRect rect, void* attrs) { [(NSString*)id drawInRect: rect withAttributes: attrs]; } -BOOL NSString_inst_hasPrefix(void *id, void* str) { +BOOL NSString_inst_HasPrefix(void *id, void* str) { return [(NSString*)id hasPrefix: str]; } -BOOL NSString_inst_hasSuffix(void *id, void* str) { +BOOL NSString_inst_HasSuffix(void *id, void* str) { return [(NSString*)id hasSuffix: str]; } -void* NSString_inst_init(void *id) { +void* NSString_inst_Init(void *id) { return [(NSString*)id init]; } -void* NSString_inst_initWithBytes_length_encoding(void *id, void* bytes, unsigned long len, unsigned long encoding) { +void* NSString_inst_InitWithBytesLengthEncoding(void *id, void* bytes, unsigned long len, unsigned long encoding) { return [(NSString*)id initWithBytes: bytes length: len encoding: encoding]; } -void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone(void *id, void* bytes, unsigned long len, unsigned long encoding, BOOL freeBuffer) { +void* NSString_inst_InitWithBytesNoCopyLengthEncodingFreeWhenDone(void *id, void* bytes, unsigned long len, unsigned long encoding, BOOL freeBuffer) { return [(NSString*)id initWithBytesNoCopy: bytes length: len @@ -1385,313 +1385,313 @@ void* NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone(void *id, v freeWhenDone: freeBuffer]; } -void* NSString_inst_initWithData_encoding(void *id, void* data, unsigned long encoding) { +void* NSString_inst_InitWithDataEncoding(void *id, void* data, unsigned long encoding) { return [(NSString*)id initWithData: data encoding: encoding]; } -void* NSString_inst_initWithString(void *id, void* aString) { +void* NSString_inst_InitWithString(void *id, void* aString) { return [(NSString*)id initWithString: aString]; } -BOOL NSString_inst_isEqualToString(void *id, void* aString) { +BOOL NSString_inst_IsEqualToString(void *id, void* aString) { return [(NSString*)id isEqualToString: aString]; } -unsigned long NSString_inst_lengthOfBytesUsingEncoding(void *id, unsigned long enc) { +unsigned long NSString_inst_LengthOfBytesUsingEncoding(void *id, unsigned long enc) { return [(NSString*)id lengthOfBytesUsingEncoding: enc]; } -BOOL NSString_inst_localizedCaseInsensitiveContainsString(void *id, void* str) { +BOOL NSString_inst_LocalizedCaseInsensitiveContainsString(void *id, void* str) { return [(NSString*)id localizedCaseInsensitiveContainsString: str]; } -BOOL NSString_inst_localizedStandardContainsString(void *id, void* str) { +BOOL NSString_inst_LocalizedStandardContainsString(void *id, void* str) { return [(NSString*)id localizedStandardContainsString: str]; } -unsigned long NSString_inst_maximumLengthOfBytesUsingEncoding(void *id, unsigned long enc) { +unsigned long NSString_inst_MaximumLengthOfBytesUsingEncoding(void *id, unsigned long enc) { return [(NSString*)id maximumLengthOfBytesUsingEncoding: enc]; } -void* NSString_inst_propertyList(void *id) { +void* NSString_inst_PropertyList(void *id) { return [(NSString*)id propertyList]; } -void* NSString_inst_propertyListFromStringsFileFormat(void *id) { +void* NSString_inst_PropertyListFromStringsFileFormat(void *id) { return [(NSString*)id propertyListFromStringsFileFormat]; } -NSSize NSString_inst_sizeWithAttributes(void *id, void* attrs) { +NSSize NSString_inst_SizeWithAttributes(void *id, void* attrs) { return [(NSString*)id sizeWithAttributes: attrs]; } -void* NSString_inst_stringByAppendingPathComponent(void *id, void* str) { +void* NSString_inst_StringByAppendingPathComponent(void *id, void* str) { return [(NSString*)id stringByAppendingPathComponent: str]; } -void* NSString_inst_stringByAppendingPathExtension(void *id, void* str) { +void* NSString_inst_StringByAppendingPathExtension(void *id, void* str) { return [(NSString*)id stringByAppendingPathExtension: str]; } -void* NSString_inst_stringByAppendingString(void *id, void* aString) { +void* NSString_inst_StringByAppendingString(void *id, void* aString) { return [(NSString*)id stringByAppendingString: aString]; } -void* NSString_inst_stringByPaddingToLength_withString_startingAtIndex(void *id, unsigned long newLength, void* padString, unsigned long padIndex) { +void* NSString_inst_StringByPaddingToLengthWithStringStartingAtIndex(void *id, unsigned long newLength, void* padString, unsigned long padIndex) { return [(NSString*)id stringByPaddingToLength: newLength withString: padString startingAtIndex: padIndex]; } -void* NSString_inst_stringByReplacingOccurrencesOfString_withString(void *id, void* target, void* replacement) { +void* NSString_inst_StringByReplacingOccurrencesOfStringWithString(void *id, void* target, void* replacement) { return [(NSString*)id stringByReplacingOccurrencesOfString: target withString: replacement]; } -void* NSString_inst_stringsByAppendingPaths(void *id, void* paths) { +void* NSString_inst_StringsByAppendingPaths(void *id, void* paths) { return [(NSString*)id stringsByAppendingPaths: paths]; } -void* NSString_inst_substringFromIndex(void *id, unsigned long from) { +void* NSString_inst_SubstringFromIndex(void *id, unsigned long from) { return [(NSString*)id substringFromIndex: from]; } -void* NSString_inst_substringToIndex(void *id, unsigned long to) { +void* NSString_inst_SubstringToIndex(void *id, unsigned long to) { return [(NSString*)id substringToIndex: to]; } -void* NSString_inst_variantFittingPresentationWidth(void *id, long width) { +void* NSString_inst_VariantFittingPresentationWidth(void *id, long width) { return [(NSString*)id variantFittingPresentationWidth: width]; } -unsigned long NSString_inst_length(void *id) { +unsigned long NSString_inst_Length(void *id) { return [(NSString*)id length]; } -unsigned long NSString_inst_hash(void *id) { +unsigned long NSString_inst_Hash(void *id) { return [(NSString*)id hash]; } -void* NSString_inst_lowercaseString(void *id) { +void* NSString_inst_LowercaseString(void *id) { return [(NSString*)id lowercaseString]; } -void* NSString_inst_localizedLowercaseString(void *id) { +void* NSString_inst_LocalizedLowercaseString(void *id) { return [(NSString*)id localizedLowercaseString]; } -void* NSString_inst_uppercaseString(void *id) { +void* NSString_inst_UppercaseString(void *id) { return [(NSString*)id uppercaseString]; } -void* NSString_inst_localizedUppercaseString(void *id) { +void* NSString_inst_LocalizedUppercaseString(void *id) { return [(NSString*)id localizedUppercaseString]; } -void* NSString_inst_capitalizedString(void *id) { +void* NSString_inst_CapitalizedString(void *id) { return [(NSString*)id capitalizedString]; } -void* NSString_inst_localizedCapitalizedString(void *id) { +void* NSString_inst_LocalizedCapitalizedString(void *id) { return [(NSString*)id localizedCapitalizedString]; } -void* NSString_inst_decomposedStringWithCanonicalMapping(void *id) { +void* NSString_inst_DecomposedStringWithCanonicalMapping(void *id) { return [(NSString*)id decomposedStringWithCanonicalMapping]; } -void* NSString_inst_decomposedStringWithCompatibilityMapping(void *id) { +void* NSString_inst_DecomposedStringWithCompatibilityMapping(void *id) { return [(NSString*)id decomposedStringWithCompatibilityMapping]; } -void* NSString_inst_precomposedStringWithCanonicalMapping(void *id) { +void* NSString_inst_PrecomposedStringWithCanonicalMapping(void *id) { return [(NSString*)id precomposedStringWithCanonicalMapping]; } -void* NSString_inst_precomposedStringWithCompatibilityMapping(void *id) { +void* NSString_inst_PrecomposedStringWithCompatibilityMapping(void *id) { return [(NSString*)id precomposedStringWithCompatibilityMapping]; } -int NSString_inst_intValue(void *id) { +int NSString_inst_IntValue(void *id) { return [(NSString*)id intValue]; } -long NSString_inst_integerValue(void *id) { +long NSString_inst_IntegerValue(void *id) { return [(NSString*)id integerValue]; } -BOOL NSString_inst_boolValue(void *id) { +BOOL NSString_inst_BoolValue(void *id) { return [(NSString*)id boolValue]; } -void* NSString_inst_description(void *id) { +void* NSString_inst_Description(void *id) { return [(NSString*)id description]; } -unsigned long NSString_inst_fastestEncoding(void *id) { +unsigned long NSString_inst_FastestEncoding(void *id) { return [(NSString*)id fastestEncoding]; } -unsigned long NSString_inst_smallestEncoding(void *id) { +unsigned long NSString_inst_SmallestEncoding(void *id) { return [(NSString*)id smallestEncoding]; } -void* NSString_inst_pathComponents(void *id) { +void* NSString_inst_PathComponents(void *id) { return [(NSString*)id pathComponents]; } -BOOL NSString_inst_isAbsolutePath(void *id) { +BOOL NSString_inst_IsAbsolutePath(void *id) { return [(NSString*)id isAbsolutePath]; } -void* NSString_inst_lastPathComponent(void *id) { +void* NSString_inst_LastPathComponent(void *id) { return [(NSString*)id lastPathComponent]; } -void* NSString_inst_pathExtension(void *id) { +void* NSString_inst_PathExtension(void *id) { return [(NSString*)id pathExtension]; } -void* NSString_inst_stringByAbbreviatingWithTildeInPath(void *id) { +void* NSString_inst_StringByAbbreviatingWithTildeInPath(void *id) { return [(NSString*)id stringByAbbreviatingWithTildeInPath]; } -void* NSString_inst_stringByDeletingLastPathComponent(void *id) { +void* NSString_inst_StringByDeletingLastPathComponent(void *id) { return [(NSString*)id stringByDeletingLastPathComponent]; } -void* NSString_inst_stringByDeletingPathExtension(void *id) { +void* NSString_inst_StringByDeletingPathExtension(void *id) { return [(NSString*)id stringByDeletingPathExtension]; } -void* NSString_inst_stringByExpandingTildeInPath(void *id) { +void* NSString_inst_StringByExpandingTildeInPath(void *id) { return [(NSString*)id stringByExpandingTildeInPath]; } -void* NSString_inst_stringByResolvingSymlinksInPath(void *id) { +void* NSString_inst_StringByResolvingSymlinksInPath(void *id) { return [(NSString*)id stringByResolvingSymlinksInPath]; } -void* NSString_inst_stringByStandardizingPath(void *id) { +void* NSString_inst_StringByStandardizingPath(void *id) { return [(NSString*)id stringByStandardizingPath]; } -void* NSString_inst_stringByRemovingPercentEncoding(void *id) { +void* NSString_inst_StringByRemovingPercentEncoding(void *id) { return [(NSString*)id stringByRemovingPercentEncoding]; } -void NSThread_inst_cancel(void *id) { +void NSThread_inst_Cancel(void *id) { [(NSThread*)id cancel]; } -void* NSThread_inst_init(void *id) { +void* NSThread_inst_Init(void *id) { return [(NSThread*)id init]; } -void* NSThread_inst_initWithTarget_selector_object(void *id, void* target, void* selector, void* argument) { +void* NSThread_inst_InitWithTargetSelectorObject(void *id, void* target, void* selector, void* argument) { return [(NSThread*)id initWithTarget: target selector: selector object: argument]; } -void NSThread_inst_main(void *id) { +void NSThread_inst_Main(void *id) { [(NSThread*)id main]; } -void NSThread_inst_start(void *id) { +void NSThread_inst_Start(void *id) { [(NSThread*)id start]; } -BOOL NSThread_inst_isExecuting(void *id) { +BOOL NSThread_inst_IsExecuting(void *id) { return [(NSThread*)id isExecuting]; } -BOOL NSThread_inst_isFinished(void *id) { +BOOL NSThread_inst_IsFinished(void *id) { return [(NSThread*)id isFinished]; } -BOOL NSThread_inst_isCancelled(void *id) { +BOOL NSThread_inst_IsCancelled(void *id) { return [(NSThread*)id isCancelled]; } -BOOL NSThread_inst_isMainThread(void *id) { +BOOL NSThread_inst_IsMainThread(void *id) { return [(NSThread*)id isMainThread]; } -void* NSThread_inst_name(void *id) { +void* NSThread_inst_Name(void *id) { return [(NSThread*)id name]; } -void NSThread_inst_setName(void *id, void* value) { +void NSThread_inst_SetName(void *id, void* value) { [(NSThread*)id setName: value]; } -unsigned long NSThread_inst_stackSize(void *id) { +unsigned long NSThread_inst_StackSize(void *id) { return [(NSThread*)id stackSize]; } -void NSThread_inst_setStackSize(void *id, unsigned long value) { +void NSThread_inst_SetStackSize(void *id, unsigned long value) { [(NSThread*)id setStackSize: value]; } @@ -1701,7 +1701,7 @@ void* NSURL_inst_URLByAppendingPathComponent(void *id, void* pathComponent) { URLByAppendingPathComponent: pathComponent]; } -void* NSURL_inst_URLByAppendingPathComponent_isDirectory(void *id, void* pathComponent, BOOL isDirectory) { +void* NSURL_inst_URLByAppendingPathComponentIsDirectory(void *id, void* pathComponent, BOOL isDirectory) { return [(NSURL*)id URLByAppendingPathComponent: pathComponent isDirectory: isDirectory]; @@ -1712,184 +1712,184 @@ void* NSURL_inst_URLByAppendingPathExtension(void *id, void* pathExtension) { URLByAppendingPathExtension: pathExtension]; } -void* NSURL_inst_fileReferenceURL(void *id) { +void* NSURL_inst_FileReferenceURL(void *id) { return [(NSURL*)id fileReferenceURL]; } -void* NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { +void* NSURL_inst_InitAbsoluteURLWithDataRepresentationRelativeToURL(void *id, void* data, void* baseURL) { return [(NSURL*)id initAbsoluteURLWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_inst_initFileURLWithPath(void *id, void* path) { +void* NSURL_inst_InitFileURLWithPath(void *id, void* path) { return [(NSURL*)id initFileURLWithPath: path]; } -void* NSURL_inst_initFileURLWithPath_isDirectory(void *id, void* path, BOOL isDir) { +void* NSURL_inst_InitFileURLWithPathIsDirectory(void *id, void* path, BOOL isDir) { return [(NSURL*)id initFileURLWithPath: path isDirectory: isDir]; } -void* NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL(void *id, void* path, BOOL isDir, void* baseURL) { +void* NSURL_inst_InitFileURLWithPathIsDirectoryRelativeToURL(void *id, void* path, BOOL isDir, void* baseURL) { return [(NSURL*)id initFileURLWithPath: path isDirectory: isDir relativeToURL: baseURL]; } -void* NSURL_inst_initFileURLWithPath_relativeToURL(void *id, void* path, void* baseURL) { +void* NSURL_inst_InitFileURLWithPathRelativeToURL(void *id, void* path, void* baseURL) { return [(NSURL*)id initFileURLWithPath: path relativeToURL: baseURL]; } -void* NSURL_inst_initWithDataRepresentation_relativeToURL(void *id, void* data, void* baseURL) { +void* NSURL_inst_InitWithDataRepresentationRelativeToURL(void *id, void* data, void* baseURL) { return [(NSURL*)id initWithDataRepresentation: data relativeToURL: baseURL]; } -void* NSURL_inst_initWithString(void *id, void* URLString) { +void* NSURL_inst_InitWithString(void *id, void* URLString) { return [(NSURL*)id initWithString: URLString]; } -void* NSURL_inst_initWithString_relativeToURL(void *id, void* URLString, void* baseURL) { +void* NSURL_inst_InitWithStringRelativeToURL(void *id, void* URLString, void* baseURL) { return [(NSURL*)id initWithString: URLString relativeToURL: baseURL]; } -BOOL NSURL_inst_isFileReferenceURL(void *id) { +BOOL NSURL_inst_IsFileReferenceURL(void *id) { return [(NSURL*)id isFileReferenceURL]; } -void NSURL_inst_removeAllCachedResourceValues(void *id) { +void NSURL_inst_RemoveAllCachedResourceValues(void *id) { [(NSURL*)id removeAllCachedResourceValues]; } -BOOL NSURL_inst_startAccessingSecurityScopedResource(void *id) { +BOOL NSURL_inst_StartAccessingSecurityScopedResource(void *id) { return [(NSURL*)id startAccessingSecurityScopedResource]; } -void NSURL_inst_stopAccessingSecurityScopedResource(void *id) { +void NSURL_inst_StopAccessingSecurityScopedResource(void *id) { [(NSURL*)id stopAccessingSecurityScopedResource]; } -void* NSURL_inst_init(void *id) { +void* NSURL_inst_Init(void *id) { return [(NSURL*)id init]; } -void* NSURL_inst_dataRepresentation(void *id) { +void* NSURL_inst_DataRepresentation(void *id) { return [(NSURL*)id dataRepresentation]; } -BOOL NSURL_inst_isFileURL(void *id) { +BOOL NSURL_inst_IsFileURL(void *id) { return [(NSURL*)id isFileURL]; } -void* NSURL_inst_absoluteString(void *id) { +void* NSURL_inst_AbsoluteString(void *id) { return [(NSURL*)id absoluteString]; } -void* NSURL_inst_absoluteURL(void *id) { +void* NSURL_inst_AbsoluteURL(void *id) { return [(NSURL*)id absoluteURL]; } -void* NSURL_inst_baseURL(void *id) { +void* NSURL_inst_BaseURL(void *id) { return [(NSURL*)id baseURL]; } -void* NSURL_inst_fragment(void *id) { +void* NSURL_inst_Fragment(void *id) { return [(NSURL*)id fragment]; } -void* NSURL_inst_host(void *id) { +void* NSURL_inst_Host(void *id) { return [(NSURL*)id host]; } -void* NSURL_inst_lastPathComponent(void *id) { +void* NSURL_inst_LastPathComponent(void *id) { return [(NSURL*)id lastPathComponent]; } -void* NSURL_inst_password(void *id) { +void* NSURL_inst_Password(void *id) { return [(NSURL*)id password]; } -void* NSURL_inst_path(void *id) { +void* NSURL_inst_Path(void *id) { return [(NSURL*)id path]; } -void* NSURL_inst_pathComponents(void *id) { +void* NSURL_inst_PathComponents(void *id) { return [(NSURL*)id pathComponents]; } -void* NSURL_inst_pathExtension(void *id) { +void* NSURL_inst_PathExtension(void *id) { return [(NSURL*)id pathExtension]; } -void* NSURL_inst_port(void *id) { +void* NSURL_inst_Port(void *id) { return [(NSURL*)id port]; } -void* NSURL_inst_query(void *id) { +void* NSURL_inst_Query(void *id) { return [(NSURL*)id query]; } -void* NSURL_inst_relativePath(void *id) { +void* NSURL_inst_RelativePath(void *id) { return [(NSURL*)id relativePath]; } -void* NSURL_inst_relativeString(void *id) { +void* NSURL_inst_RelativeString(void *id) { return [(NSURL*)id relativeString]; } -void* NSURL_inst_resourceSpecifier(void *id) { +void* NSURL_inst_ResourceSpecifier(void *id) { return [(NSURL*)id resourceSpecifier]; } -void* NSURL_inst_scheme(void *id) { +void* NSURL_inst_Scheme(void *id) { return [(NSURL*)id scheme]; } -void* NSURL_inst_standardizedURL(void *id) { +void* NSURL_inst_StandardizedURL(void *id) { return [(NSURL*)id standardizedURL]; } -void* NSURL_inst_user(void *id) { +void* NSURL_inst_User(void *id) { return [(NSURL*)id user]; } -void* NSURL_inst_filePathURL(void *id) { +void* NSURL_inst_FilePathURL(void *id) { return [(NSURL*)id filePathURL]; } @@ -1914,22 +1914,22 @@ void* NSURL_inst_URLByStandardizingPath(void *id) { URLByStandardizingPath]; } -BOOL NSURL_inst_hasDirectoryPath(void *id) { +BOOL NSURL_inst_HasDirectoryPath(void *id) { return [(NSURL*)id hasDirectoryPath]; } -void* NSURLRequest_inst_initWithURL(void *id, void* URL) { +void* NSURLRequest_inst_InitWithURL(void *id, void* URL) { return [(NSURLRequest*)id initWithURL: URL]; } -void* NSURLRequest_inst_valueForHTTPHeaderField(void *id, void* field) { +void* NSURLRequest_inst_ValueForHTTPHeaderField(void *id, void* field) { return [(NSURLRequest*)id valueForHTTPHeaderField: field]; } -void* NSURLRequest_inst_init(void *id) { +void* NSURLRequest_inst_Init(void *id) { return [(NSURLRequest*)id init]; } @@ -1949,12 +1949,12 @@ void* NSURLRequest_inst_HTTPBody(void *id) { HTTPBody]; } -void* NSURLRequest_inst_mainDocumentURL(void *id) { +void* NSURLRequest_inst_MainDocumentURL(void *id) { return [(NSURLRequest*)id mainDocumentURL]; } -void* NSURLRequest_inst_allHTTPHeaderFields(void *id) { +void* NSURLRequest_inst_AllHTTPHeaderFields(void *id) { return [(NSURLRequest*)id allHTTPHeaderFields]; } @@ -1969,22 +1969,22 @@ BOOL NSURLRequest_inst_HTTPShouldUsePipelining(void *id) { HTTPShouldUsePipelining]; } -BOOL NSURLRequest_inst_allowsCellularAccess(void *id) { +BOOL NSURLRequest_inst_AllowsCellularAccess(void *id) { return [(NSURLRequest*)id allowsCellularAccess]; } -BOOL NSURLRequest_inst_allowsConstrainedNetworkAccess(void *id) { +BOOL NSURLRequest_inst_AllowsConstrainedNetworkAccess(void *id) { return [(NSURLRequest*)id allowsConstrainedNetworkAccess]; } -BOOL NSURLRequest_inst_allowsExpensiveNetworkAccess(void *id) { +BOOL NSURLRequest_inst_AllowsExpensiveNetworkAccess(void *id) { return [(NSURLRequest*)id allowsExpensiveNetworkAccess]; } -BOOL NSURLRequest_inst_assumesHTTP3Capable(void *id) { +BOOL NSURLRequest_inst_AssumesHTTP3Capable(void *id) { return [(NSURLRequest*)id assumesHTTP3Capable]; } @@ -1994,154 +1994,154 @@ void* NSUserDefaults_inst_URLForKey(void *id, void* defaultName) { URLForKey: defaultName]; } -void NSUserDefaults_inst_addSuiteNamed(void *id, void* suiteName) { +void NSUserDefaults_inst_AddSuiteNamed(void *id, void* suiteName) { [(NSUserDefaults*)id addSuiteNamed: suiteName]; } -void* NSUserDefaults_inst_arrayForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_ArrayForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id arrayForKey: defaultName]; } -BOOL NSUserDefaults_inst_boolForKey(void *id, void* defaultName) { +BOOL NSUserDefaults_inst_BoolForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id boolForKey: defaultName]; } -void* NSUserDefaults_inst_dataForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_DataForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id dataForKey: defaultName]; } -void* NSUserDefaults_inst_dictionaryForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_DictionaryForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id dictionaryForKey: defaultName]; } -void* NSUserDefaults_inst_dictionaryRepresentation(void *id) { +void* NSUserDefaults_inst_DictionaryRepresentation(void *id) { return [(NSUserDefaults*)id dictionaryRepresentation]; } -void* NSUserDefaults_inst_init(void *id) { +void* NSUserDefaults_inst_Init(void *id) { return [(NSUserDefaults*)id init]; } -void* NSUserDefaults_inst_initWithSuiteName(void *id, void* suitename) { +void* NSUserDefaults_inst_InitWithSuiteName(void *id, void* suitename) { return [(NSUserDefaults*)id initWithSuiteName: suitename]; } -long NSUserDefaults_inst_integerForKey(void *id, void* defaultName) { +long NSUserDefaults_inst_IntegerForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id integerForKey: defaultName]; } -void* NSUserDefaults_inst_objectForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_ObjectForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id objectForKey: defaultName]; } -BOOL NSUserDefaults_inst_objectIsForcedForKey(void *id, void* key) { +BOOL NSUserDefaults_inst_ObjectIsForcedForKey(void *id, void* key) { return [(NSUserDefaults*)id objectIsForcedForKey: key]; } -BOOL NSUserDefaults_inst_objectIsForcedForKey_inDomain(void *id, void* key, void* domain) { +BOOL NSUserDefaults_inst_ObjectIsForcedForKeyInDomain(void *id, void* key, void* domain) { return [(NSUserDefaults*)id objectIsForcedForKey: key inDomain: domain]; } -void* NSUserDefaults_inst_persistentDomainForName(void *id, void* domainName) { +void* NSUserDefaults_inst_PersistentDomainForName(void *id, void* domainName) { return [(NSUserDefaults*)id persistentDomainForName: domainName]; } -void NSUserDefaults_inst_registerDefaults(void *id, void* registrationDictionary) { +void NSUserDefaults_inst_RegisterDefaults(void *id, void* registrationDictionary) { [(NSUserDefaults*)id registerDefaults: registrationDictionary]; } -void NSUserDefaults_inst_removeObjectForKey(void *id, void* defaultName) { +void NSUserDefaults_inst_RemoveObjectForKey(void *id, void* defaultName) { [(NSUserDefaults*)id removeObjectForKey: defaultName]; } -void NSUserDefaults_inst_removePersistentDomainForName(void *id, void* domainName) { +void NSUserDefaults_inst_RemovePersistentDomainForName(void *id, void* domainName) { [(NSUserDefaults*)id removePersistentDomainForName: domainName]; } -void NSUserDefaults_inst_removeSuiteNamed(void *id, void* suiteName) { +void NSUserDefaults_inst_RemoveSuiteNamed(void *id, void* suiteName) { [(NSUserDefaults*)id removeSuiteNamed: suiteName]; } -void NSUserDefaults_inst_removeVolatileDomainForName(void *id, void* domainName) { +void NSUserDefaults_inst_RemoveVolatileDomainForName(void *id, void* domainName) { [(NSUserDefaults*)id removeVolatileDomainForName: domainName]; } -void NSUserDefaults_inst_setBool_forKey(void *id, BOOL value, void* defaultName) { +void NSUserDefaults_inst_SetBoolForKey(void *id, BOOL value, void* defaultName) { [(NSUserDefaults*)id setBool: value forKey: defaultName]; } -void NSUserDefaults_inst_setInteger_forKey(void *id, long value, void* defaultName) { +void NSUserDefaults_inst_SetIntegerForKey(void *id, long value, void* defaultName) { [(NSUserDefaults*)id setInteger: value forKey: defaultName]; } -void NSUserDefaults_inst_setObject_forKey(void *id, void* value, void* defaultName) { +void NSUserDefaults_inst_SetObjectForKey(void *id, void* value, void* defaultName) { [(NSUserDefaults*)id setObject: value forKey: defaultName]; } -void NSUserDefaults_inst_setPersistentDomain_forName(void *id, void* domain, void* domainName) { +void NSUserDefaults_inst_SetPersistentDomainForName(void *id, void* domain, void* domainName) { [(NSUserDefaults*)id setPersistentDomain: domain forName: domainName]; } -void NSUserDefaults_inst_setURL_forKey(void *id, void* url, void* defaultName) { +void NSUserDefaults_inst_SetURLForKey(void *id, void* url, void* defaultName) { [(NSUserDefaults*)id setURL: url forKey: defaultName]; } -void NSUserDefaults_inst_setVolatileDomain_forName(void *id, void* domain, void* domainName) { +void NSUserDefaults_inst_SetVolatileDomainForName(void *id, void* domain, void* domainName) { [(NSUserDefaults*)id setVolatileDomain: domain forName: domainName]; } -void* NSUserDefaults_inst_stringArrayForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_StringArrayForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id stringArrayForKey: defaultName]; } -void* NSUserDefaults_inst_stringForKey(void *id, void* defaultName) { +void* NSUserDefaults_inst_StringForKey(void *id, void* defaultName) { return [(NSUserDefaults*)id stringForKey: defaultName]; } -BOOL NSUserDefaults_inst_synchronize(void *id) { +BOOL NSUserDefaults_inst_Synchronize(void *id) { return [(NSUserDefaults*)id synchronize]; } -void* NSUserDefaults_inst_volatileDomainForName(void *id, void* domainName) { +void* NSUserDefaults_inst_VolatileDomainForName(void *id, void* domainName) { return [(NSUserDefaults*)id volatileDomainForName: domainName]; } -void* NSUserDefaults_inst_volatileDomainNames(void *id) { +void* NSUserDefaults_inst_VolatileDomainNames(void *id) { return [(NSUserDefaults*)id volatileDomainNames]; } @@ -2167,31 +2167,31 @@ func convertToObjCBool(b bool) C.BOOL { return C.core_objc_bool_false } -// CALayer_alloc +// CALayer_Alloc // // See for details. -func CALayer_alloc() CALayer { - ret := C.CALayer_type_alloc() +func CALayer_Alloc() CALayer { + ret := C.CALayer_type_Alloc() return CALayer_fromPointer(ret) } -// CALayer_layer creates and returns an instance of the layer object. +// CALayer_Layer creates and returns an instance of the layer object. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410793-layer?language=objc for details. -func CALayer_layer() CALayer { - ret := C.CALayer_type_layer() +func CALayer_Layer() CALayer { + ret := C.CALayer_type_Layer() return CALayer_fromPointer(ret) } -// CALayer_needsDisplayForKey returns a boolean indicating whether changes to the specified key require the layer to be redisplayed. +// CALayer_NeedsDisplayForKey returns a boolean indicating whether changes to the specified key require the layer to be redisplayed. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410769-needsdisplayforkey?language=objc for details. -func CALayer_needsDisplayForKey(key NSStringRef) bool { - ret := C.CALayer_type_needsDisplayForKey( +func CALayer_NeedsDisplayForKey(key NSStringRef) bool { + ret := C.CALayer_type_NeedsDisplayForKey( objc.RefPointer(key), ) @@ -2199,11 +2199,11 @@ func CALayer_needsDisplayForKey(key NSStringRef) bool { } -// CALayer_defaultActionForKey returns the default action for the current class. +// CALayer_DefaultActionForKey returns the default action for the current class. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410954-defaultactionforkey?language=objc for details. -func CALayer_defaultActionForKey(event NSStringRef) objc.Object { - ret := C.CALayer_type_defaultActionForKey( +func CALayer_DefaultActionForKey(event NSStringRef) objc.Object { + ret := C.CALayer_type_DefaultActionForKey( objc.RefPointer(event), ) @@ -2211,11 +2211,11 @@ func CALayer_defaultActionForKey(event NSStringRef) objc.Object { } -// CALayer_defaultValueForKey specifies the default value associated with the specified key. +// CALayer_DefaultValueForKey specifies the default value associated with the specified key. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410886-defaultvalueforkey?language=objc for details. -func CALayer_defaultValueForKey(key NSStringRef) objc.Object { - ret := C.CALayer_type_defaultValueForKey( +func CALayer_DefaultValueForKey(key NSStringRef) objc.Object { + ret := C.CALayer_type_DefaultValueForKey( objc.RefPointer(key), ) @@ -2223,31 +2223,31 @@ func CALayer_defaultValueForKey(key NSStringRef) objc.Object { } -// NSArray_alloc +// NSArray_Alloc // // See for details. -func NSArray_alloc() NSArray { - ret := C.NSArray_type_alloc() +func NSArray_Alloc() NSArray { + ret := C.NSArray_type_Alloc() return NSArray_fromPointer(ret) } -// NSArray_array creates and returns an empty array. +// NSArray_Array creates and returns an empty array. // // See https://developer.apple.com/documentation/foundation/nsarray/1460120-array?language=objc for details. -func NSArray_array() NSArray { - ret := C.NSArray_type_array() +func NSArray_Array() NSArray { + ret := C.NSArray_type_Array() return NSArray_fromPointer(ret) } -// NSArray_arrayWithArray creates and returns an array containing the objects in another given array. +// NSArray_ArrayWithArray creates and returns an array containing the objects in another given array. // // See https://developer.apple.com/documentation/foundation/nsarray/1460122-arraywitharray?language=objc for details. -func NSArray_arrayWithArray(array NSArrayRef) NSArray { - ret := C.NSArray_type_arrayWithArray( +func NSArray_ArrayWithArray(array NSArrayRef) NSArray { + ret := C.NSArray_type_ArrayWithArray( objc.RefPointer(array), ) @@ -2255,61 +2255,61 @@ func NSArray_arrayWithArray(array NSArrayRef) NSArray { } -// NSAttributedString_alloc +// NSAttributedString_Alloc // // See for details. -func NSAttributedString_alloc() NSAttributedString { - ret := C.NSAttributedString_type_alloc() +func NSAttributedString_Alloc() NSAttributedString { + ret := C.NSAttributedString_type_Alloc() return NSAttributedString_fromPointer(ret) } -// NSAttributedString_textTypes an array of uti strings that identify the file types that attributed strings support, either directly or through a user-installed filter service. +// NSAttributedString_TextTypes an array of uti strings that identify the file types that attributed strings support, either directly or through a user-installed filter service. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1535409-texttypes?language=objc for details. -func NSAttributedString_textTypes() NSArray { - ret := C.NSAttributedString_type_textTypes() +func NSAttributedString_TextTypes() NSArray { + ret := C.NSAttributedString_type_TextTypes() return NSArray_fromPointer(ret) } -// NSAttributedString_textUnfilteredTypes an array of uti strings that identify the file types that attributed strings support directly. +// NSAttributedString_TextUnfilteredTypes an array of uti strings that identify the file types that attributed strings support directly. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1528269-textunfilteredtypes?language=objc for details. -func NSAttributedString_textUnfilteredTypes() NSArray { - ret := C.NSAttributedString_type_textUnfilteredTypes() +func NSAttributedString_TextUnfilteredTypes() NSArray { + ret := C.NSAttributedString_type_TextUnfilteredTypes() return NSArray_fromPointer(ret) } -// NSData_alloc +// NSData_Alloc // // See for details. -func NSData_alloc() NSData { - ret := C.NSData_type_alloc() +func NSData_Alloc() NSData { + ret := C.NSData_type_Alloc() return NSData_fromPointer(ret) } -// NSData_data creates an empty data object. +// NSData_Data creates an empty data object. // // See https://developer.apple.com/documentation/foundation/nsdata/1547234-data?language=objc for details. -func NSData_data() NSData { - ret := C.NSData_type_data() +func NSData_Data() NSData { + ret := C.NSData_type_Data() return NSData_fromPointer(ret) } -// NSData_dataWithBytes_length creates a data object containing a given number of bytes copied from a given buffer. +// NSData_DataWithBytesLength creates a data object containing a given number of bytes copied from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1547231-datawithbytes?language=objc for details. -func NSData_dataWithBytes_length(bytes unsafe.Pointer, length NSUInteger) NSData { - ret := C.NSData_type_dataWithBytes_length( +func NSData_DataWithBytesLength(bytes unsafe.Pointer, length NSUInteger) NSData { + ret := C.NSData_type_DataWithBytesLength( bytes, C.ulong(length), ) @@ -2318,11 +2318,11 @@ func NSData_dataWithBytes_length(bytes unsafe.Pointer, length NSUInteger) NSData } -// NSData_dataWithBytesNoCopy_length creates a data object that holds a given number of bytes from a given buffer. +// NSData_DataWithBytesNoCopyLength creates a data object that holds a given number of bytes from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1547229-datawithbytesnocopy?language=objc for details. -func NSData_dataWithBytesNoCopy_length(bytes unsafe.Pointer, length NSUInteger) NSData { - ret := C.NSData_type_dataWithBytesNoCopy_length( +func NSData_DataWithBytesNoCopyLength(bytes unsafe.Pointer, length NSUInteger) NSData { + ret := C.NSData_type_DataWithBytesNoCopyLength( bytes, C.ulong(length), ) @@ -2331,11 +2331,11 @@ func NSData_dataWithBytesNoCopy_length(bytes unsafe.Pointer, length NSUInteger) } -// NSData_dataWithBytesNoCopy_length_freeWhenDone creates a data object that holds a given number of bytes from a given buffer. +// NSData_DataWithBytesNoCopyLengthFreeWhenDone creates a data object that holds a given number of bytes from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1547240-datawithbytesnocopy?language=objc for details. -func NSData_dataWithBytesNoCopy_length_freeWhenDone(bytes unsafe.Pointer, length NSUInteger, b bool) NSData { - ret := C.NSData_type_dataWithBytesNoCopy_length_freeWhenDone( +func NSData_DataWithBytesNoCopyLengthFreeWhenDone(bytes unsafe.Pointer, length NSUInteger, b bool) NSData { + ret := C.NSData_type_DataWithBytesNoCopyLengthFreeWhenDone( bytes, C.ulong(length), convertToObjCBool(b), @@ -2345,11 +2345,11 @@ func NSData_dataWithBytesNoCopy_length_freeWhenDone(bytes unsafe.Pointer, length } -// NSData_dataWithData creates a data object containing the contents of another data object. +// NSData_DataWithData creates a data object containing the contents of another data object. // // See https://developer.apple.com/documentation/foundation/nsdata/1547230-datawithdata?language=objc for details. -func NSData_dataWithData(data NSDataRef) NSData { - ret := C.NSData_type_dataWithData( +func NSData_DataWithData(data NSDataRef) NSData { + ret := C.NSData_type_DataWithData( objc.RefPointer(data), ) @@ -2357,11 +2357,11 @@ func NSData_dataWithData(data NSDataRef) NSData { } -// NSData_dataWithContentsOfFile creates a data object by reading every byte from the file at a given path. +// NSData_DataWithContentsOfFile creates a data object by reading every byte from the file at a given path. // // See https://developer.apple.com/documentation/foundation/nsdata/1547226-datawithcontentsoffile?language=objc for details. -func NSData_dataWithContentsOfFile(path NSStringRef) NSData { - ret := C.NSData_type_dataWithContentsOfFile( +func NSData_DataWithContentsOfFile(path NSStringRef) NSData { + ret := C.NSData_type_DataWithContentsOfFile( objc.RefPointer(path), ) @@ -2369,11 +2369,11 @@ func NSData_dataWithContentsOfFile(path NSStringRef) NSData { } -// NSData_dataWithContentsOfURL creates a data object containing the data from the location specified by a given url. +// NSData_DataWithContentsOfURL creates a data object containing the data from the location specified by a given url. // // See https://developer.apple.com/documentation/foundation/nsdata/1547245-datawithcontentsofurl?language=objc for details. -func NSData_dataWithContentsOfURL(url NSURLRef) NSData { - ret := C.NSData_type_dataWithContentsOfURL( +func NSData_DataWithContentsOfURL(url NSURLRef) NSData { + ret := C.NSData_type_DataWithContentsOfURL( objc.RefPointer(url), ) @@ -2381,31 +2381,31 @@ func NSData_dataWithContentsOfURL(url NSURLRef) NSData { } -// NSDictionary_alloc +// NSDictionary_Alloc // // See for details. -func NSDictionary_alloc() NSDictionary { - ret := C.NSDictionary_type_alloc() +func NSDictionary_Alloc() NSDictionary { + ret := C.NSDictionary_type_Alloc() return NSDictionary_fromPointer(ret) } -// NSDictionary_dictionary creates an empty dictionary. +// NSDictionary_Dictionary creates an empty dictionary. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1574180-dictionary?language=objc for details. -func NSDictionary_dictionary() NSDictionary { - ret := C.NSDictionary_type_dictionary() +func NSDictionary_Dictionary() NSDictionary { + ret := C.NSDictionary_type_Dictionary() return NSDictionary_fromPointer(ret) } -// NSDictionary_dictionaryWithObjects_forKeys creates a dictionary containing entries constructed from the contents of an array of keys and an array of values. +// NSDictionary_DictionaryWithObjectsForKeys creates a dictionary containing entries constructed from the contents of an array of keys and an array of values. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1574183-dictionarywithobjects?language=objc for details. -func NSDictionary_dictionaryWithObjects_forKeys(objects NSArrayRef, keys NSArrayRef) NSDictionary { - ret := C.NSDictionary_type_dictionaryWithObjects_forKeys( +func NSDictionary_DictionaryWithObjectsForKeys(objects NSArrayRef, keys NSArrayRef) NSDictionary { + ret := C.NSDictionary_type_DictionaryWithObjectsForKeys( objc.RefPointer(objects), objc.RefPointer(keys), ) @@ -2414,11 +2414,11 @@ func NSDictionary_dictionaryWithObjects_forKeys(objects NSArrayRef, keys NSArray } -// NSDictionary_dictionaryWithDictionary creates a dictionary containing the keys and values from another given dictionary. +// NSDictionary_DictionaryWithDictionary creates a dictionary containing the keys and values from another given dictionary. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1574191-dictionarywithdictionary?language=objc for details. -func NSDictionary_dictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { - ret := C.NSDictionary_type_dictionaryWithDictionary( +func NSDictionary_DictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { + ret := C.NSDictionary_type_DictionaryWithDictionary( objc.RefPointer(dict), ) @@ -2426,11 +2426,11 @@ func NSDictionary_dictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { } -// NSDictionary_sharedKeySetForKeys creates a shared key set object for the specified keys. +// NSDictionary_SharedKeySetForKeys creates a shared key set object for the specified keys. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1408190-sharedkeysetforkeys?language=objc for details. -func NSDictionary_sharedKeySetForKeys(keys NSArrayRef) objc.Object { - ret := C.NSDictionary_type_sharedKeySetForKeys( +func NSDictionary_SharedKeySetForKeys(keys NSArrayRef) objc.Object { + ret := C.NSDictionary_type_SharedKeySetForKeys( objc.RefPointer(keys), ) @@ -2438,21 +2438,21 @@ func NSDictionary_sharedKeySetForKeys(keys NSArrayRef) objc.Object { } -// NSNumber_alloc +// NSNumber_Alloc // // See for details. -func NSNumber_alloc() NSNumber { - ret := C.NSNumber_type_alloc() +func NSNumber_Alloc() NSNumber { + ret := C.NSNumber_type_Alloc() return NSNumber_fromPointer(ret) } -// NSNumber_numberWithBool creates and returns an nsnumber object containing a given value, treating it as a bool. +// NSNumber_NumberWithBool creates and returns an nsnumber object containing a given value, treating it as a bool. // // See https://developer.apple.com/documentation/foundation/nsnumber/1551475-numberwithbool?language=objc for details. -func NSNumber_numberWithBool(value bool) NSNumber { - ret := C.NSNumber_type_numberWithBool( +func NSNumber_NumberWithBool(value bool) NSNumber { + ret := C.NSNumber_type_NumberWithBool( convertToObjCBool(value), ) @@ -2460,11 +2460,11 @@ func NSNumber_numberWithBool(value bool) NSNumber { } -// NSNumber_numberWithInt creates and returns an nsnumber object containing a given value, treating it as a signed int. +// NSNumber_NumberWithInt creates and returns an nsnumber object containing a given value, treating it as a signed int. // // See https://developer.apple.com/documentation/foundation/nsnumber/1551470-numberwithint?language=objc for details. -func NSNumber_numberWithInt(value int32) NSNumber { - ret := C.NSNumber_type_numberWithInt( +func NSNumber_NumberWithInt(value int32) NSNumber { + ret := C.NSNumber_type_NumberWithInt( C.int(value), ) @@ -2472,11 +2472,11 @@ func NSNumber_numberWithInt(value int32) NSNumber { } -// NSNumber_numberWithInteger creates and returns an nsnumber object containing a given value, treating it as an nsinteger. +// NSNumber_NumberWithInteger creates and returns an nsnumber object containing a given value, treating it as an nsinteger. // // See https://developer.apple.com/documentation/foundation/nsnumber/1551473-numberwithinteger?language=objc for details. -func NSNumber_numberWithInteger(value NSInteger) NSNumber { - ret := C.NSNumber_type_numberWithInteger( +func NSNumber_NumberWithInteger(value NSInteger) NSNumber { + ret := C.NSNumber_type_NumberWithInteger( C.long(value), ) @@ -2484,11 +2484,11 @@ func NSNumber_numberWithInteger(value NSInteger) NSNumber { } -// NSNumber_numberWithUnsignedInt creates and returns an nsnumber object containing a given value, treating it as an unsigned int. +// NSNumber_NumberWithUnsignedInt creates and returns an nsnumber object containing a given value, treating it as an unsigned int. // // See https://developer.apple.com/documentation/foundation/nsnumber/1551472-numberwithunsignedint?language=objc for details. -func NSNumber_numberWithUnsignedInt(value int32) NSNumber { - ret := C.NSNumber_type_numberWithUnsignedInt( +func NSNumber_NumberWithUnsignedInt(value int32) NSNumber { + ret := C.NSNumber_type_NumberWithUnsignedInt( C.int(value), ) @@ -2496,11 +2496,11 @@ func NSNumber_numberWithUnsignedInt(value int32) NSNumber { } -// NSNumber_numberWithUnsignedInteger creates and returns an nsnumber object containing a given value, treating it as an nsuinteger. +// NSNumber_NumberWithUnsignedInteger creates and returns an nsnumber object containing a given value, treating it as an nsuinteger. // // See https://developer.apple.com/documentation/foundation/nsnumber/1551469-numberwithunsignedinteger?language=objc for details. -func NSNumber_numberWithUnsignedInteger(value NSUInteger) NSNumber { - ret := C.NSNumber_type_numberWithUnsignedInteger( +func NSNumber_NumberWithUnsignedInteger(value NSUInteger) NSNumber { + ret := C.NSNumber_type_NumberWithUnsignedInteger( C.ulong(value), ) @@ -2508,61 +2508,61 @@ func NSNumber_numberWithUnsignedInteger(value NSUInteger) NSNumber { } -// NSRunLoop_alloc +// NSRunLoop_Alloc // // See for details. -func NSRunLoop_alloc() NSRunLoop { - ret := C.NSRunLoop_type_alloc() +func NSRunLoop_Alloc() NSRunLoop { + ret := C.NSRunLoop_type_Alloc() return NSRunLoop_fromPointer(ret) } -// NSRunLoop_currentRunLoop returns the run loop for the current thread. +// NSRunLoop_CurrentRunLoop returns the run loop for the current thread. // // See https://developer.apple.com/documentation/foundation/nsrunloop/1412291-currentrunloop?language=objc for details. -func NSRunLoop_currentRunLoop() NSRunLoop { - ret := C.NSRunLoop_type_currentRunLoop() +func NSRunLoop_CurrentRunLoop() NSRunLoop { + ret := C.NSRunLoop_type_CurrentRunLoop() return NSRunLoop_fromPointer(ret) } -// NSRunLoop_mainRunLoop returns the run loop of the main thread. +// NSRunLoop_MainRunLoop returns the run loop of the main thread. // // See https://developer.apple.com/documentation/foundation/nsrunloop/1418388-mainrunloop?language=objc for details. -func NSRunLoop_mainRunLoop() NSRunLoop { - ret := C.NSRunLoop_type_mainRunLoop() +func NSRunLoop_MainRunLoop() NSRunLoop { + ret := C.NSRunLoop_type_MainRunLoop() return NSRunLoop_fromPointer(ret) } -// NSString_alloc +// NSString_Alloc // // See for details. -func NSString_alloc() NSString { - ret := C.NSString_type_alloc() +func NSString_Alloc() NSString { + ret := C.NSString_type_Alloc() return NSString_fromPointer(ret) } -// NSString_string returns an empty string. +// NSString_String returns an empty string. // // See https://developer.apple.com/documentation/foundation/nsstring/1497312-string?language=objc for details. -func NSString_string() NSString { - ret := C.NSString_type_string() +func NSString_String() NSString { + ret := C.NSString_type_String() return NSString_fromPointer(ret) } -// NSString_localizedUserNotificationStringForKey_arguments returns a localized string intended for display in a notification alert. +// NSString_LocalizedUserNotificationStringForKeyArguments returns a localized string intended for display in a notification alert. // // See https://developer.apple.com/documentation/foundation/nsstring/1649585-localizedusernotificationstringf?language=objc for details. -func NSString_localizedUserNotificationStringForKey_arguments(key NSStringRef, arguments NSArrayRef) NSString { - ret := C.NSString_type_localizedUserNotificationStringForKey_arguments( +func NSString_LocalizedUserNotificationStringForKeyArguments(key NSStringRef, arguments NSArrayRef) NSString { + ret := C.NSString_type_LocalizedUserNotificationStringForKeyArguments( objc.RefPointer(key), objc.RefPointer(arguments), ) @@ -2571,11 +2571,11 @@ func NSString_localizedUserNotificationStringForKey_arguments(key NSStringRef, a } -// NSString_stringWithString returns a string created by copying the characters from another given string. +// NSString_StringWithString returns a string created by copying the characters from another given string. // // See https://developer.apple.com/documentation/foundation/nsstring/1497372-stringwithstring?language=objc for details. -func NSString_stringWithString(string NSStringRef) NSString { - ret := C.NSString_type_stringWithString( +func NSString_StringWithString(string NSStringRef) NSString { + ret := C.NSString_type_StringWithString( objc.RefPointer(string), ) @@ -2583,11 +2583,11 @@ func NSString_stringWithString(string NSStringRef) NSString { } -// NSString_localizedNameOfStringEncoding returns a human-readable string giving the name of a given encoding. +// NSString_LocalizedNameOfStringEncoding returns a human-readable string giving the name of a given encoding. // // See https://developer.apple.com/documentation/foundation/nsstring/1408318-localizednameofstringencoding?language=objc for details. -func NSString_localizedNameOfStringEncoding(encoding NSStringEncoding) NSString { - ret := C.NSString_type_localizedNameOfStringEncoding( +func NSString_LocalizedNameOfStringEncoding(encoding NSStringEncoding) NSString { + ret := C.NSString_type_LocalizedNameOfStringEncoding( C.ulong(encoding), ) @@ -2595,11 +2595,11 @@ func NSString_localizedNameOfStringEncoding(encoding NSStringEncoding) NSString } -// NSString_pathWithComponents returns a string built from the strings in a given array by concatenating them with a path separator between each pair. +// NSString_PathWithComponents returns a string built from the strings in a given array by concatenating them with a path separator between each pair. // // See https://developer.apple.com/documentation/foundation/nsstring/1417198-pathwithcomponents?language=objc for details. -func NSString_pathWithComponents(components NSArrayRef) NSString { - ret := C.NSString_type_pathWithComponents( +func NSString_PathWithComponents(components NSArrayRef) NSString { + ret := C.NSString_type_PathWithComponents( objc.RefPointer(components), ) @@ -2607,31 +2607,31 @@ func NSString_pathWithComponents(components NSArrayRef) NSString { } -// NSString_defaultCStringEncoding returns the c-string encoding assumed for any method accepting a c string as an argument. +// NSString_DefaultCStringEncoding returns the c-string encoding assumed for any method accepting a c string as an argument. // // See https://developer.apple.com/documentation/foundation/nsstring/1410091-defaultcstringencoding?language=objc for details. -func NSString_defaultCStringEncoding() NSStringEncoding { - ret := C.NSString_type_defaultCStringEncoding() +func NSString_DefaultCStringEncoding() NSStringEncoding { + ret := C.NSString_type_DefaultCStringEncoding() return NSStringEncoding(ret) } -// NSThread_alloc +// NSThread_Alloc // // See for details. -func NSThread_alloc() NSThread { - ret := C.NSThread_type_alloc() +func NSThread_Alloc() NSThread { + ret := C.NSThread_type_Alloc() return NSThread_fromPointer(ret) } -// NSThread_detachNewThreadSelector_toTarget_withObject detaches a new thread and uses the specified selector as the thread entry point. +// NSThread_DetachNewThreadSelectorToTargetWithObject detaches a new thread and uses the specified selector as the thread entry point. // // See https://developer.apple.com/documentation/foundation/nsthread/1415633-detachnewthreadselector?language=objc for details. -func NSThread_detachNewThreadSelector_toTarget_withObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { - C.NSThread_type_detachNewThreadSelector_toTarget_withObject( +func NSThread_DetachNewThreadSelectorToTargetWithObject(selector objc.Selector, target objc.Ref, argument objc.Ref) { + C.NSThread_type_DetachNewThreadSelectorToTargetWithObject( selector.SelectorAddress(), objc.RefPointer(target), objc.RefPointer(argument), @@ -2641,81 +2641,81 @@ func NSThread_detachNewThreadSelector_toTarget_withObject(selector objc.Selector } -// NSThread_exit terminates the current thread. +// NSThread_Exit terminates the current thread. // // See https://developer.apple.com/documentation/foundation/nsthread/1409404-exit?language=objc for details. -func NSThread_exit() { - C.NSThread_type_exit() +func NSThread_Exit() { + C.NSThread_type_Exit() return } -// NSThread_isMultiThreaded returns whether the application is multithreaded. +// NSThread_IsMultiThreaded returns whether the application is multithreaded. // // See https://developer.apple.com/documentation/foundation/nsthread/1410702-ismultithreaded?language=objc for details. -func NSThread_isMultiThreaded() bool { - ret := C.NSThread_type_isMultiThreaded() +func NSThread_IsMultiThreaded() bool { + ret := C.NSThread_type_IsMultiThreaded() return convertObjCBoolToGo(ret) } -// NSThread_isMainThread returns a boolean value that indicates whether the current thread is the main thread. +// NSThread_IsMainThread returns a boolean value that indicates whether the current thread is the main thread. // // See https://developer.apple.com/documentation/foundation/nsthread/1412704-ismainthread?language=objc for details. -func NSThread_isMainThread() bool { - ret := C.NSThread_type_isMainThread() +func NSThread_IsMainThread() bool { + ret := C.NSThread_type_IsMainThread() return convertObjCBoolToGo(ret) } -// NSThread_mainThread returns the nsthread object representing the main thread. +// NSThread_MainThread returns the nsthread object representing the main thread. // // See https://developer.apple.com/documentation/foundation/nsthread/1414782-mainthread?language=objc for details. -func NSThread_mainThread() NSThread { - ret := C.NSThread_type_mainThread() +func NSThread_MainThread() NSThread { + ret := C.NSThread_type_MainThread() return NSThread_fromPointer(ret) } -// NSThread_currentThread returns the thread object representing the current thread of execution. +// NSThread_CurrentThread returns the thread object representing the current thread of execution. // // See https://developer.apple.com/documentation/foundation/nsthread/1410679-currentthread?language=objc for details. -func NSThread_currentThread() NSThread { - ret := C.NSThread_type_currentThread() +func NSThread_CurrentThread() NSThread { + ret := C.NSThread_type_CurrentThread() return NSThread_fromPointer(ret) } -// NSThread_callStackReturnAddresses returns an array containing the call stack return addresses. +// NSThread_CallStackReturnAddresses returns an array containing the call stack return addresses. // // See https://developer.apple.com/documentation/foundation/nsthread/1409565-callstackreturnaddresses?language=objc for details. -func NSThread_callStackReturnAddresses() NSArray { - ret := C.NSThread_type_callStackReturnAddresses() +func NSThread_CallStackReturnAddresses() NSArray { + ret := C.NSThread_type_CallStackReturnAddresses() return NSArray_fromPointer(ret) } -// NSThread_callStackSymbols returns an array containing the call stack symbols. +// NSThread_CallStackSymbols returns an array containing the call stack symbols. // // See https://developer.apple.com/documentation/foundation/nsthread/1414836-callstacksymbols?language=objc for details. -func NSThread_callStackSymbols() NSArray { - ret := C.NSThread_type_callStackSymbols() +func NSThread_CallStackSymbols() NSArray { + ret := C.NSThread_type_CallStackSymbols() return NSArray_fromPointer(ret) } -// NSURL_alloc +// NSURL_Alloc // // See for details. -func NSURL_alloc() NSURL { - ret := C.NSURL_type_alloc() +func NSURL_Alloc() NSURL { + ret := C.NSURL_type_Alloc() return NSURL_fromPointer(ret) @@ -2733,11 +2733,11 @@ func NSURL_URLWithString(URLString NSStringRef) NSURL { } -// NSURL_URLWithString_relativeToURL creates and returns an nsurl object initialized with a base url and a relative string. +// NSURL_URLWithStringRelativeToURL creates and returns an nsurl object initialized with a base url and a relative string. // // See https://developer.apple.com/documentation/foundation/nsurl/1572049-urlwithstring?language=objc for details. -func NSURL_URLWithString_relativeToURL(URLString NSStringRef, baseURL NSURLRef) NSURL { - ret := C.NSURL_type_URLWithString_relativeToURL( +func NSURL_URLWithStringRelativeToURL(URLString NSStringRef, baseURL NSURLRef) NSURL { + ret := C.NSURL_type_URLWithStringRelativeToURL( objc.RefPointer(URLString), objc.RefPointer(baseURL), ) @@ -2746,11 +2746,11 @@ func NSURL_URLWithString_relativeToURL(URLString NSStringRef, baseURL NSURLRef) } -// NSURL_fileURLWithPath_isDirectory initializes and returns a newly created nsurl object as a file url with a specified path. +// NSURL_FileURLWithPathIsDirectory initializes and returns a newly created nsurl object as a file url with a specified path. // // See https://developer.apple.com/documentation/foundation/nsurl/1414650-fileurlwithpath?language=objc for details. -func NSURL_fileURLWithPath_isDirectory(path NSStringRef, isDir bool) NSURL { - ret := C.NSURL_type_fileURLWithPath_isDirectory( +func NSURL_FileURLWithPathIsDirectory(path NSStringRef, isDir bool) NSURL { + ret := C.NSURL_type_FileURLWithPathIsDirectory( objc.RefPointer(path), convertToObjCBool(isDir), ) @@ -2759,11 +2759,11 @@ func NSURL_fileURLWithPath_isDirectory(path NSStringRef, isDir bool) NSURL { } -// NSURL_fileURLWithPath_relativeToURL +// NSURL_FileURLWithPathRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1413201-fileurlwithpath?language=objc for details. -func NSURL_fileURLWithPath_relativeToURL(path NSStringRef, baseURL NSURLRef) NSURL { - ret := C.NSURL_type_fileURLWithPath_relativeToURL( +func NSURL_FileURLWithPathRelativeToURL(path NSStringRef, baseURL NSURLRef) NSURL { + ret := C.NSURL_type_FileURLWithPathRelativeToURL( objc.RefPointer(path), objc.RefPointer(baseURL), ) @@ -2772,11 +2772,11 @@ func NSURL_fileURLWithPath_relativeToURL(path NSStringRef, baseURL NSURLRef) NSU } -// NSURL_fileURLWithPath_isDirectory_relativeToURL +// NSURL_FileURLWithPathIsDirectoryRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1413020-fileurlwithpath?language=objc for details. -func NSURL_fileURLWithPath_isDirectory_relativeToURL(path NSStringRef, isDir bool, baseURL NSURLRef) NSURL { - ret := C.NSURL_type_fileURLWithPath_isDirectory_relativeToURL( +func NSURL_FileURLWithPathIsDirectoryRelativeToURL(path NSStringRef, isDir bool, baseURL NSURLRef) NSURL { + ret := C.NSURL_type_FileURLWithPathIsDirectoryRelativeToURL( objc.RefPointer(path), convertToObjCBool(isDir), objc.RefPointer(baseURL), @@ -2786,11 +2786,11 @@ func NSURL_fileURLWithPath_isDirectory_relativeToURL(path NSStringRef, isDir boo } -// NSURL_fileURLWithPath initializes and returns a newly created nsurl object as a file url with a specified path. +// NSURL_FileURLWithPath initializes and returns a newly created nsurl object as a file url with a specified path. // // See https://developer.apple.com/documentation/foundation/nsurl/1410828-fileurlwithpath?language=objc for details. -func NSURL_fileURLWithPath(path NSStringRef) NSURL { - ret := C.NSURL_type_fileURLWithPath( +func NSURL_FileURLWithPath(path NSStringRef) NSURL { + ret := C.NSURL_type_FileURLWithPath( objc.RefPointer(path), ) @@ -2798,11 +2798,11 @@ func NSURL_fileURLWithPath(path NSStringRef) NSURL { } -// NSURL_fileURLWithPathComponents initializes and returns a newly created nsurl object as a file url with specified path components. +// NSURL_FileURLWithPathComponents initializes and returns a newly created nsurl object as a file url with specified path components. // // See https://developer.apple.com/documentation/foundation/nsurl/1414206-fileurlwithpathcomponents?language=objc for details. -func NSURL_fileURLWithPathComponents(components NSArrayRef) NSURL { - ret := C.NSURL_type_fileURLWithPathComponents( +func NSURL_FileURLWithPathComponents(components NSArrayRef) NSURL { + ret := C.NSURL_type_FileURLWithPathComponents( objc.RefPointer(components), ) @@ -2810,11 +2810,11 @@ func NSURL_fileURLWithPathComponents(components NSArrayRef) NSURL { } -// NSURL_absoluteURLWithDataRepresentation_relativeToURL +// NSURL_AbsoluteURLWithDataRepresentationRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1412404-absoluteurlwithdatarepresentatio?language=objc for details. -func NSURL_absoluteURLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { - ret := C.NSURL_type_absoluteURLWithDataRepresentation_relativeToURL( +func NSURL_AbsoluteURLWithDataRepresentationRelativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { + ret := C.NSURL_type_AbsoluteURLWithDataRepresentationRelativeToURL( objc.RefPointer(data), objc.RefPointer(baseURL), ) @@ -2823,11 +2823,11 @@ func NSURL_absoluteURLWithDataRepresentation_relativeToURL(data NSDataRef, baseU } -// NSURL_URLWithDataRepresentation_relativeToURL +// NSURL_URLWithDataRepresentationRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1572042-urlwithdatarepresentation?language=objc for details. -func NSURL_URLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { - ret := C.NSURL_type_URLWithDataRepresentation_relativeToURL( +func NSURL_URLWithDataRepresentationRelativeToURL(data NSDataRef, baseURL NSURLRef) NSURL { + ret := C.NSURL_type_URLWithDataRepresentationRelativeToURL( objc.RefPointer(data), objc.RefPointer(baseURL), ) @@ -2836,11 +2836,11 @@ func NSURL_URLWithDataRepresentation_relativeToURL(data NSDataRef, baseURL NSURL } -// NSURL_resourceValuesForKeys_fromBookmarkData returns the resource values for properties identified by a specified array of keys contained in specified bookmark data. +// NSURL_ResourceValuesForKeysFromBookmarkData returns the resource values for properties identified by a specified array of keys contained in specified bookmark data. // // See https://developer.apple.com/documentation/foundation/nsurl/1418097-resourcevaluesforkeys?language=objc for details. -func NSURL_resourceValuesForKeys_fromBookmarkData(keys NSArrayRef, bookmarkData NSDataRef) NSDictionary { - ret := C.NSURL_type_resourceValuesForKeys_fromBookmarkData( +func NSURL_ResourceValuesForKeysFromBookmarkData(keys NSArrayRef, bookmarkData NSDataRef) NSDictionary { + ret := C.NSURL_type_ResourceValuesForKeysFromBookmarkData( objc.RefPointer(keys), objc.RefPointer(bookmarkData), ) @@ -2849,21 +2849,21 @@ func NSURL_resourceValuesForKeys_fromBookmarkData(keys NSArrayRef, bookmarkData } -// NSURLRequest_alloc +// NSURLRequest_Alloc // // See for details. -func NSURLRequest_alloc() NSURLRequest { - ret := C.NSURLRequest_type_alloc() +func NSURLRequest_Alloc() NSURLRequest { + ret := C.NSURLRequest_type_Alloc() return NSURLRequest_fromPointer(ret) } -// NSURLRequest_requestWithURL creates and returns a url request for a specified url. +// NSURLRequest_RequestWithURL creates and returns a url request for a specified url. // // See https://developer.apple.com/documentation/foundation/nsurlrequest/1528603-requestwithurl?language=objc for details. -func NSURLRequest_requestWithURL(URL NSURLRef) NSURLRequest { - ret := C.NSURLRequest_type_requestWithURL( +func NSURLRequest_RequestWithURL(URL NSURLRef) NSURLRequest { + ret := C.NSURLRequest_type_RequestWithURL( objc.RefPointer(URL), ) @@ -2871,41 +2871,41 @@ func NSURLRequest_requestWithURL(URL NSURLRef) NSURLRequest { } -// NSURLRequest_supportsSecureCoding returns a boolean value indicating whether the nsurlrequest implements the nssecurecoding protocol. +// NSURLRequest_SupportsSecureCoding returns a boolean value indicating whether the nsurlrequest implements the nssecurecoding protocol. // // See https://developer.apple.com/documentation/foundation/nsurlrequest/1416510-supportssecurecoding?language=objc for details. -func NSURLRequest_supportsSecureCoding() bool { - ret := C.NSURLRequest_type_supportsSecureCoding() +func NSURLRequest_SupportsSecureCoding() bool { + ret := C.NSURLRequest_type_SupportsSecureCoding() return convertObjCBoolToGo(ret) } -// NSUserDefaults_alloc +// NSUserDefaults_Alloc // // See for details. -func NSUserDefaults_alloc() NSUserDefaults { - ret := C.NSUserDefaults_type_alloc() +func NSUserDefaults_Alloc() NSUserDefaults { + ret := C.NSUserDefaults_type_Alloc() return NSUserDefaults_fromPointer(ret) } -// NSUserDefaults_resetStandardUserDefaults this method has no effect and shouldn't be used. +// NSUserDefaults_ResetStandardUserDefaults this method has no effect and shouldn't be used. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1407708-resetstandarduserdefaults?language=objc for details. -func NSUserDefaults_resetStandardUserDefaults() { - C.NSUserDefaults_type_resetStandardUserDefaults() +func NSUserDefaults_ResetStandardUserDefaults() { + C.NSUserDefaults_type_ResetStandardUserDefaults() return } -// NSUserDefaults_standardUserDefaults returns the shared defaults object. +// NSUserDefaults_StandardUserDefaults returns the shared defaults object. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416603-standarduserdefaults?language=objc for details. -func NSUserDefaults_standardUserDefaults() NSUserDefaults { - ret := C.NSUserDefaults_type_standardUserDefaults() +func NSUserDefaults_StandardUserDefaults() NSUserDefaults { + ret := C.NSUserDefaults_type_StandardUserDefaults() return NSUserDefaults_fromPointer(ret) @@ -2936,7 +2936,7 @@ func CALayer_fromRef(ref objc.Ref) CALayer { func (x gen_CALayer) ActionForKey( event NSStringRef, ) objc.Object { - ret := C.CALayer_inst_actionForKey( + ret := C.CALayer_inst_ActionForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(event), ) @@ -2951,7 +2951,7 @@ func (x gen_CALayer) ActionForKey( func (x gen_CALayer) AddSublayer( layer CALayerRef, ) { - C.CALayer_inst_addSublayer( + C.CALayer_inst_AddSublayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) @@ -2964,7 +2964,7 @@ func (x gen_CALayer) AddSublayer( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410937-animationkeys?language=objc for details. func (x gen_CALayer) AnimationKeys() NSArray { - ret := C.CALayer_inst_animationKeys( + ret := C.CALayer_inst_AnimationKeys( unsafe.Pointer(x.Pointer()), ) @@ -2976,7 +2976,7 @@ func (x gen_CALayer) AnimationKeys() NSArray { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410777-contentsareflipped?language=objc for details. func (x gen_CALayer) ContentsAreFlipped() bool { - ret := C.CALayer_inst_contentsAreFlipped( + ret := C.CALayer_inst_ContentsAreFlipped( unsafe.Pointer(x.Pointer()), ) @@ -2984,14 +2984,14 @@ func (x gen_CALayer) ContentsAreFlipped() bool { } -// ConvertRect_fromLayer converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. +// ConvertRectFromLayer converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410948-convertrect?language=objc for details. -func (x gen_CALayer) ConvertRect_fromLayer( +func (x gen_CALayer) ConvertRectFromLayer( r NSRect, l CALayerRef, ) NSRect { - ret := C.CALayer_inst_convertRect_fromLayer( + ret := C.CALayer_inst_ConvertRectFromLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), objc.RefPointer(l), @@ -3001,14 +3001,14 @@ func (x gen_CALayer) ConvertRect_fromLayer( } -// ConvertRect_toLayer converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. +// ConvertRectToLayer converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410742-convertrect?language=objc for details. -func (x gen_CALayer) ConvertRect_toLayer( +func (x gen_CALayer) ConvertRectToLayer( r NSRect, l CALayerRef, ) NSRect { - ret := C.CALayer_inst_convertRect_toLayer( + ret := C.CALayer_inst_ConvertRectToLayer( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), objc.RefPointer(l), @@ -3022,7 +3022,7 @@ func (x gen_CALayer) ConvertRect_toLayer( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410926-display?language=objc for details. func (x gen_CALayer) Display() { - C.CALayer_inst_display( + C.CALayer_inst_Display( unsafe.Pointer(x.Pointer()), ) @@ -3034,7 +3034,7 @@ func (x gen_CALayer) Display() { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410813-displayifneeded?language=objc for details. func (x gen_CALayer) DisplayIfNeeded() { - C.CALayer_inst_displayIfNeeded( + C.CALayer_inst_DisplayIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -3046,7 +3046,7 @@ func (x gen_CALayer) DisplayIfNeeded() { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410835-init?language=objc for details. func (x gen_CALayer) Init_asCALayer() CALayer { - ret := C.CALayer_inst_init( + ret := C.CALayer_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -3060,7 +3060,7 @@ func (x gen_CALayer) Init_asCALayer() CALayer { func (x gen_CALayer) InitWithLayer_asCALayer( layer objc.Ref, ) CALayer { - ret := C.CALayer_inst_initWithLayer( + ret := C.CALayer_inst_InitWithLayer( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), ) @@ -3069,14 +3069,14 @@ func (x gen_CALayer) InitWithLayer_asCALayer( } -// InsertSublayer_above inserts the specified sublayer above a different sublayer that already belongs to the receiver. +// InsertSublayerAbove inserts the specified sublayer above a different sublayer that already belongs to the receiver. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410798-insertsublayer?language=objc for details. -func (x gen_CALayer) InsertSublayer_above( +func (x gen_CALayer) InsertSublayerAbove( layer CALayerRef, sibling CALayerRef, ) { - C.CALayer_inst_insertSublayer_above( + C.CALayer_inst_InsertSublayerAbove( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), objc.RefPointer(sibling), @@ -3086,14 +3086,14 @@ func (x gen_CALayer) InsertSublayer_above( } -// InsertSublayer_atIndex inserts the specified layer into the receiver’s list of sublayers at the specified index. +// InsertSublayerAtIndex inserts the specified layer into the receiver’s list of sublayers at the specified index. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410944-insertsublayer?language=objc for details. -func (x gen_CALayer) InsertSublayer_atIndex( +func (x gen_CALayer) InsertSublayerAtIndex( layer CALayerRef, idx int32, ) { - C.CALayer_inst_insertSublayer_atIndex( + C.CALayer_inst_InsertSublayerAtIndex( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), C.int(idx), @@ -3103,14 +3103,14 @@ func (x gen_CALayer) InsertSublayer_atIndex( } -// InsertSublayer_below inserts the specified sublayer below a different sublayer that already belongs to the receiver. +// InsertSublayerBelow inserts the specified sublayer below a different sublayer that already belongs to the receiver. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410840-insertsublayer?language=objc for details. -func (x gen_CALayer) InsertSublayer_below( +func (x gen_CALayer) InsertSublayerBelow( layer CALayerRef, sibling CALayerRef, ) { - C.CALayer_inst_insertSublayer_below( + C.CALayer_inst_InsertSublayerBelow( unsafe.Pointer(x.Pointer()), objc.RefPointer(layer), objc.RefPointer(sibling), @@ -3124,7 +3124,7 @@ func (x gen_CALayer) InsertSublayer_below( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410873-layoutifneeded?language=objc for details. func (x gen_CALayer) LayoutIfNeeded() { - C.CALayer_inst_layoutIfNeeded( + C.CALayer_inst_LayoutIfNeeded( unsafe.Pointer(x.Pointer()), ) @@ -3136,7 +3136,7 @@ func (x gen_CALayer) LayoutIfNeeded() { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410935-layoutsublayers?language=objc for details. func (x gen_CALayer) LayoutSublayers() { - C.CALayer_inst_layoutSublayers( + C.CALayer_inst_LayoutSublayers( unsafe.Pointer(x.Pointer()), ) @@ -3148,7 +3148,7 @@ func (x gen_CALayer) LayoutSublayers() { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410853-modellayer?language=objc for details. func (x gen_CALayer) ModelLayer_asCALayer() CALayer { - ret := C.CALayer_inst_modelLayer( + ret := C.CALayer_inst_ModelLayer( unsafe.Pointer(x.Pointer()), ) @@ -3160,7 +3160,7 @@ func (x gen_CALayer) ModelLayer_asCALayer() CALayer { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410958-needsdisplay?language=objc for details. func (x gen_CALayer) NeedsDisplay() bool { - ret := C.CALayer_inst_needsDisplay( + ret := C.CALayer_inst_NeedsDisplay( unsafe.Pointer(x.Pointer()), ) @@ -3172,7 +3172,7 @@ func (x gen_CALayer) NeedsDisplay() bool { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410956-needslayout?language=objc for details. func (x gen_CALayer) NeedsLayout() bool { - ret := C.CALayer_inst_needsLayout( + ret := C.CALayer_inst_NeedsLayout( unsafe.Pointer(x.Pointer()), ) @@ -3184,7 +3184,7 @@ func (x gen_CALayer) NeedsLayout() bool { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410980-preferredframesize?language=objc for details. func (x gen_CALayer) PreferredFrameSize() NSSize { - ret := C.CALayer_inst_preferredFrameSize( + ret := C.CALayer_inst_PreferredFrameSize( unsafe.Pointer(x.Pointer()), ) @@ -3196,7 +3196,7 @@ func (x gen_CALayer) PreferredFrameSize() NSSize { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410744-presentationlayer?language=objc for details. func (x gen_CALayer) PresentationLayer_asCALayer() CALayer { - ret := C.CALayer_inst_presentationLayer( + ret := C.CALayer_inst_PresentationLayer( unsafe.Pointer(x.Pointer()), ) @@ -3208,7 +3208,7 @@ func (x gen_CALayer) PresentationLayer_asCALayer() CALayer { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410810-removeallanimations?language=objc for details. func (x gen_CALayer) RemoveAllAnimations() { - C.CALayer_inst_removeAllAnimations( + C.CALayer_inst_RemoveAllAnimations( unsafe.Pointer(x.Pointer()), ) @@ -3222,7 +3222,7 @@ func (x gen_CALayer) RemoveAllAnimations() { func (x gen_CALayer) RemoveAnimationForKey( key NSStringRef, ) { - C.CALayer_inst_removeAnimationForKey( + C.CALayer_inst_RemoveAnimationForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -3235,7 +3235,7 @@ func (x gen_CALayer) RemoveAnimationForKey( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410767-removefromsuperlayer?language=objc for details. func (x gen_CALayer) RemoveFromSuperlayer() { - C.CALayer_inst_removeFromSuperlayer( + C.CALayer_inst_RemoveFromSuperlayer( unsafe.Pointer(x.Pointer()), ) @@ -3243,14 +3243,14 @@ func (x gen_CALayer) RemoveFromSuperlayer() { } -// ReplaceSublayer_with replaces the specified sublayer with a different layer object. +// ReplaceSublayerWith replaces the specified sublayer with a different layer object. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410820-replacesublayer?language=objc for details. -func (x gen_CALayer) ReplaceSublayer_with( +func (x gen_CALayer) ReplaceSublayerWith( oldLayer CALayerRef, newLayer CALayerRef, ) { - C.CALayer_inst_replaceSublayer_with( + C.CALayer_inst_ReplaceSublayerWith( unsafe.Pointer(x.Pointer()), objc.RefPointer(oldLayer), objc.RefPointer(newLayer), @@ -3266,7 +3266,7 @@ func (x gen_CALayer) ReplaceSublayer_with( func (x gen_CALayer) ResizeSublayersWithOldSize( size NSSize, ) { - C.CALayer_inst_resizeSublayersWithOldSize( + C.CALayer_inst_ResizeSublayersWithOldSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -3281,7 +3281,7 @@ func (x gen_CALayer) ResizeSublayersWithOldSize( func (x gen_CALayer) ResizeWithOldSuperlayerSize( size NSSize, ) { - C.CALayer_inst_resizeWithOldSuperlayerSize( + C.CALayer_inst_ResizeWithOldSuperlayerSize( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&size)), ) @@ -3296,7 +3296,7 @@ func (x gen_CALayer) ResizeWithOldSuperlayerSize( func (x gen_CALayer) ScrollRectToVisible( r NSRect, ) { - C.CALayer_inst_scrollRectToVisible( + C.CALayer_inst_ScrollRectToVisible( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), ) @@ -3309,7 +3309,7 @@ func (x gen_CALayer) ScrollRectToVisible( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410855-setneedsdisplay?language=objc for details. func (x gen_CALayer) SetNeedsDisplay() { - C.CALayer_inst_setNeedsDisplay( + C.CALayer_inst_SetNeedsDisplay( unsafe.Pointer(x.Pointer()), ) @@ -3323,7 +3323,7 @@ func (x gen_CALayer) SetNeedsDisplay() { func (x gen_CALayer) SetNeedsDisplayInRect( r NSRect, ) { - C.CALayer_inst_setNeedsDisplayInRect( + C.CALayer_inst_SetNeedsDisplayInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&r)), ) @@ -3336,7 +3336,7 @@ func (x gen_CALayer) SetNeedsDisplayInRect( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410946-setneedslayout?language=objc for details. func (x gen_CALayer) SetNeedsLayout() { - C.CALayer_inst_setNeedsLayout( + C.CALayer_inst_SetNeedsLayout( unsafe.Pointer(x.Pointer()), ) @@ -3350,7 +3350,7 @@ func (x gen_CALayer) SetNeedsLayout() { func (x gen_CALayer) ShouldArchiveValueForKey( key NSStringRef, ) bool { - ret := C.CALayer_inst_shouldArchiveValueForKey( + ret := C.CALayer_inst_ShouldArchiveValueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -3363,7 +3363,7 @@ func (x gen_CALayer) ShouldArchiveValueForKey( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410984-delegate?language=objc for details. func (x gen_CALayer) Delegate() objc.Object { - ret := C.CALayer_inst_delegate( + ret := C.CALayer_inst_Delegate( unsafe.Pointer(x.Pointer()), ) @@ -3377,7 +3377,7 @@ func (x gen_CALayer) Delegate() objc.Object { func (x gen_CALayer) SetDelegate( value objc.Ref, ) { - C.CALayer_inst_setDelegate( + C.CALayer_inst_SetDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3390,7 +3390,7 @@ func (x gen_CALayer) SetDelegate( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents?language=objc for details. func (x gen_CALayer) Contents() objc.Object { - ret := C.CALayer_inst_contents( + ret := C.CALayer_inst_Contents( unsafe.Pointer(x.Pointer()), ) @@ -3404,7 +3404,7 @@ func (x gen_CALayer) Contents() objc.Object { func (x gen_CALayer) SetContents( value objc.Ref, ) { - C.CALayer_inst_setContents( + C.CALayer_inst_SetContents( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3417,7 +3417,7 @@ func (x gen_CALayer) SetContents( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410866-contentsrect?language=objc for details. func (x gen_CALayer) ContentsRect() NSRect { - ret := C.CALayer_inst_contentsRect( + ret := C.CALayer_inst_ContentsRect( unsafe.Pointer(x.Pointer()), ) @@ -3431,7 +3431,7 @@ func (x gen_CALayer) ContentsRect() NSRect { func (x gen_CALayer) SetContentsRect( value NSRect, ) { - C.CALayer_inst_setContentsRect( + C.CALayer_inst_SetContentsRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -3444,7 +3444,7 @@ func (x gen_CALayer) SetContentsRect( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410740-contentscenter?language=objc for details. func (x gen_CALayer) ContentsCenter() NSRect { - ret := C.CALayer_inst_contentsCenter( + ret := C.CALayer_inst_ContentsCenter( unsafe.Pointer(x.Pointer()), ) @@ -3458,7 +3458,7 @@ func (x gen_CALayer) ContentsCenter() NSRect { func (x gen_CALayer) SetContentsCenter( value NSRect, ) { - C.CALayer_inst_setContentsCenter( + C.CALayer_inst_SetContentsCenter( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -3471,7 +3471,7 @@ func (x gen_CALayer) SetContentsCenter( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410838-hidden?language=objc for details. func (x gen_CALayer) IsHidden() bool { - ret := C.CALayer_inst_isHidden( + ret := C.CALayer_inst_IsHidden( unsafe.Pointer(x.Pointer()), ) @@ -3485,7 +3485,7 @@ func (x gen_CALayer) IsHidden() bool { func (x gen_CALayer) SetHidden( value bool, ) { - C.CALayer_inst_setHidden( + C.CALayer_inst_SetHidden( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3498,7 +3498,7 @@ func (x gen_CALayer) SetHidden( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410896-maskstobounds?language=objc for details. func (x gen_CALayer) MasksToBounds() bool { - ret := C.CALayer_inst_masksToBounds( + ret := C.CALayer_inst_MasksToBounds( unsafe.Pointer(x.Pointer()), ) @@ -3512,7 +3512,7 @@ func (x gen_CALayer) MasksToBounds() bool { func (x gen_CALayer) SetMasksToBounds( value bool, ) { - C.CALayer_inst_setMasksToBounds( + C.CALayer_inst_SetMasksToBounds( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3525,7 +3525,7 @@ func (x gen_CALayer) SetMasksToBounds( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410861-mask?language=objc for details. func (x gen_CALayer) Mask() CALayer { - ret := C.CALayer_inst_mask( + ret := C.CALayer_inst_Mask( unsafe.Pointer(x.Pointer()), ) @@ -3539,7 +3539,7 @@ func (x gen_CALayer) Mask() CALayer { func (x gen_CALayer) SetMask( value CALayerRef, ) { - C.CALayer_inst_setMask( + C.CALayer_inst_SetMask( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3552,7 +3552,7 @@ func (x gen_CALayer) SetMask( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410924-doublesided?language=objc for details. func (x gen_CALayer) IsDoubleSided() bool { - ret := C.CALayer_inst_isDoubleSided( + ret := C.CALayer_inst_IsDoubleSided( unsafe.Pointer(x.Pointer()), ) @@ -3566,7 +3566,7 @@ func (x gen_CALayer) IsDoubleSided() bool { func (x gen_CALayer) SetDoubleSided( value bool, ) { - C.CALayer_inst_setDoubleSided( + C.CALayer_inst_SetDoubleSided( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3579,7 +3579,7 @@ func (x gen_CALayer) SetDoubleSided( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410818-cornerradius?language=objc for details. func (x gen_CALayer) CornerRadius() CGFloat { - ret := C.CALayer_inst_cornerRadius( + ret := C.CALayer_inst_CornerRadius( unsafe.Pointer(x.Pointer()), ) @@ -3593,7 +3593,7 @@ func (x gen_CALayer) CornerRadius() CGFloat { func (x gen_CALayer) SetCornerRadius( value CGFloat, ) { - C.CALayer_inst_setCornerRadius( + C.CALayer_inst_SetCornerRadius( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3606,7 +3606,7 @@ func (x gen_CALayer) SetCornerRadius( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410917-borderwidth?language=objc for details. func (x gen_CALayer) BorderWidth() CGFloat { - ret := C.CALayer_inst_borderWidth( + ret := C.CALayer_inst_BorderWidth( unsafe.Pointer(x.Pointer()), ) @@ -3620,7 +3620,7 @@ func (x gen_CALayer) BorderWidth() CGFloat { func (x gen_CALayer) SetBorderWidth( value CGFloat, ) { - C.CALayer_inst_setBorderWidth( + C.CALayer_inst_SetBorderWidth( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3633,7 +3633,7 @@ func (x gen_CALayer) SetBorderWidth( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410819-shadowradius?language=objc for details. func (x gen_CALayer) ShadowRadius() CGFloat { - ret := C.CALayer_inst_shadowRadius( + ret := C.CALayer_inst_ShadowRadius( unsafe.Pointer(x.Pointer()), ) @@ -3647,7 +3647,7 @@ func (x gen_CALayer) ShadowRadius() CGFloat { func (x gen_CALayer) SetShadowRadius( value CGFloat, ) { - C.CALayer_inst_setShadowRadius( + C.CALayer_inst_SetShadowRadius( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3660,7 +3660,7 @@ func (x gen_CALayer) SetShadowRadius( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410970-shadowoffset?language=objc for details. func (x gen_CALayer) ShadowOffset() NSSize { - ret := C.CALayer_inst_shadowOffset( + ret := C.CALayer_inst_ShadowOffset( unsafe.Pointer(x.Pointer()), ) @@ -3674,7 +3674,7 @@ func (x gen_CALayer) ShadowOffset() NSSize { func (x gen_CALayer) SetShadowOffset( value NSSize, ) { - C.CALayer_inst_setShadowOffset( + C.CALayer_inst_SetShadowOffset( unsafe.Pointer(x.Pointer()), *(*C.NSSize)(unsafe.Pointer(&value)), ) @@ -3687,7 +3687,7 @@ func (x gen_CALayer) SetShadowOffset( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410875-style?language=objc for details. func (x gen_CALayer) Style() NSDictionary { - ret := C.CALayer_inst_style( + ret := C.CALayer_inst_Style( unsafe.Pointer(x.Pointer()), ) @@ -3701,7 +3701,7 @@ func (x gen_CALayer) Style() NSDictionary { func (x gen_CALayer) SetStyle( value NSDictionaryRef, ) { - C.CALayer_inst_setStyle( + C.CALayer_inst_SetStyle( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3714,7 +3714,7 @@ func (x gen_CALayer) SetStyle( // // See https://developer.apple.com/documentation/quartzcore/calayer/1621285-allowsedgeantialiasing?language=objc for details. func (x gen_CALayer) AllowsEdgeAntialiasing() bool { - ret := C.CALayer_inst_allowsEdgeAntialiasing( + ret := C.CALayer_inst_AllowsEdgeAntialiasing( unsafe.Pointer(x.Pointer()), ) @@ -3728,7 +3728,7 @@ func (x gen_CALayer) AllowsEdgeAntialiasing() bool { func (x gen_CALayer) SetAllowsEdgeAntialiasing( value bool, ) { - C.CALayer_inst_setAllowsEdgeAntialiasing( + C.CALayer_inst_SetAllowsEdgeAntialiasing( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3741,7 +3741,7 @@ func (x gen_CALayer) SetAllowsEdgeAntialiasing( // // See https://developer.apple.com/documentation/quartzcore/calayer/1621277-allowsgroupopacity?language=objc for details. func (x gen_CALayer) AllowsGroupOpacity() bool { - ret := C.CALayer_inst_allowsGroupOpacity( + ret := C.CALayer_inst_AllowsGroupOpacity( unsafe.Pointer(x.Pointer()), ) @@ -3755,7 +3755,7 @@ func (x gen_CALayer) AllowsGroupOpacity() bool { func (x gen_CALayer) SetAllowsGroupOpacity( value bool, ) { - C.CALayer_inst_setAllowsGroupOpacity( + C.CALayer_inst_SetAllowsGroupOpacity( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3768,7 +3768,7 @@ func (x gen_CALayer) SetAllowsGroupOpacity( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410901-filters?language=objc for details. func (x gen_CALayer) Filters() NSArray { - ret := C.CALayer_inst_filters( + ret := C.CALayer_inst_Filters( unsafe.Pointer(x.Pointer()), ) @@ -3782,7 +3782,7 @@ func (x gen_CALayer) Filters() NSArray { func (x gen_CALayer) SetFilters( value NSArrayRef, ) { - C.CALayer_inst_setFilters( + C.CALayer_inst_SetFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3795,7 +3795,7 @@ func (x gen_CALayer) SetFilters( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter?language=objc for details. func (x gen_CALayer) CompositingFilter() objc.Object { - ret := C.CALayer_inst_compositingFilter( + ret := C.CALayer_inst_CompositingFilter( unsafe.Pointer(x.Pointer()), ) @@ -3809,7 +3809,7 @@ func (x gen_CALayer) CompositingFilter() objc.Object { func (x gen_CALayer) SetCompositingFilter( value objc.Ref, ) { - C.CALayer_inst_setCompositingFilter( + C.CALayer_inst_SetCompositingFilter( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3822,7 +3822,7 @@ func (x gen_CALayer) SetCompositingFilter( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410827-backgroundfilters?language=objc for details. func (x gen_CALayer) BackgroundFilters() NSArray { - ret := C.CALayer_inst_backgroundFilters( + ret := C.CALayer_inst_BackgroundFilters( unsafe.Pointer(x.Pointer()), ) @@ -3836,7 +3836,7 @@ func (x gen_CALayer) BackgroundFilters() NSArray { func (x gen_CALayer) SetBackgroundFilters( value NSArrayRef, ) { - C.CALayer_inst_setBackgroundFilters( + C.CALayer_inst_SetBackgroundFilters( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -3849,7 +3849,7 @@ func (x gen_CALayer) SetBackgroundFilters( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410763-opaque?language=objc for details. func (x gen_CALayer) IsOpaque() bool { - ret := C.CALayer_inst_isOpaque( + ret := C.CALayer_inst_IsOpaque( unsafe.Pointer(x.Pointer()), ) @@ -3863,7 +3863,7 @@ func (x gen_CALayer) IsOpaque() bool { func (x gen_CALayer) SetOpaque( value bool, ) { - C.CALayer_inst_setOpaque( + C.CALayer_inst_SetOpaque( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3876,7 +3876,7 @@ func (x gen_CALayer) SetOpaque( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410960-geometryflipped?language=objc for details. func (x gen_CALayer) IsGeometryFlipped() bool { - ret := C.CALayer_inst_isGeometryFlipped( + ret := C.CALayer_inst_IsGeometryFlipped( unsafe.Pointer(x.Pointer()), ) @@ -3890,7 +3890,7 @@ func (x gen_CALayer) IsGeometryFlipped() bool { func (x gen_CALayer) SetGeometryFlipped( value bool, ) { - C.CALayer_inst_setGeometryFlipped( + C.CALayer_inst_SetGeometryFlipped( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3903,7 +3903,7 @@ func (x gen_CALayer) SetGeometryFlipped( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410974-drawsasynchronously?language=objc for details. func (x gen_CALayer) DrawsAsynchronously() bool { - ret := C.CALayer_inst_drawsAsynchronously( + ret := C.CALayer_inst_DrawsAsynchronously( unsafe.Pointer(x.Pointer()), ) @@ -3917,7 +3917,7 @@ func (x gen_CALayer) DrawsAsynchronously() bool { func (x gen_CALayer) SetDrawsAsynchronously( value bool, ) { - C.CALayer_inst_setDrawsAsynchronously( + C.CALayer_inst_SetDrawsAsynchronously( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3930,7 +3930,7 @@ func (x gen_CALayer) SetDrawsAsynchronously( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410905-shouldrasterize?language=objc for details. func (x gen_CALayer) ShouldRasterize() bool { - ret := C.CALayer_inst_shouldRasterize( + ret := C.CALayer_inst_ShouldRasterize( unsafe.Pointer(x.Pointer()), ) @@ -3944,7 +3944,7 @@ func (x gen_CALayer) ShouldRasterize() bool { func (x gen_CALayer) SetShouldRasterize( value bool, ) { - C.CALayer_inst_setShouldRasterize( + C.CALayer_inst_SetShouldRasterize( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -3957,7 +3957,7 @@ func (x gen_CALayer) SetShouldRasterize( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410801-rasterizationscale?language=objc for details. func (x gen_CALayer) RasterizationScale() CGFloat { - ret := C.CALayer_inst_rasterizationScale( + ret := C.CALayer_inst_RasterizationScale( unsafe.Pointer(x.Pointer()), ) @@ -3971,7 +3971,7 @@ func (x gen_CALayer) RasterizationScale() CGFloat { func (x gen_CALayer) SetRasterizationScale( value CGFloat, ) { - C.CALayer_inst_setRasterizationScale( + C.CALayer_inst_SetRasterizationScale( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -3984,7 +3984,7 @@ func (x gen_CALayer) SetRasterizationScale( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410779-frame?language=objc for details. func (x gen_CALayer) Frame() NSRect { - ret := C.CALayer_inst_frame( + ret := C.CALayer_inst_Frame( unsafe.Pointer(x.Pointer()), ) @@ -3998,7 +3998,7 @@ func (x gen_CALayer) Frame() NSRect { func (x gen_CALayer) SetFrame( value NSRect, ) { - C.CALayer_inst_setFrame( + C.CALayer_inst_SetFrame( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -4011,7 +4011,7 @@ func (x gen_CALayer) SetFrame( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410915-bounds?language=objc for details. func (x gen_CALayer) Bounds() NSRect { - ret := C.CALayer_inst_bounds( + ret := C.CALayer_inst_Bounds( unsafe.Pointer(x.Pointer()), ) @@ -4025,7 +4025,7 @@ func (x gen_CALayer) Bounds() NSRect { func (x gen_CALayer) SetBounds( value NSRect, ) { - C.CALayer_inst_setBounds( + C.CALayer_inst_SetBounds( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&value)), ) @@ -4038,7 +4038,7 @@ func (x gen_CALayer) SetBounds( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410884-zposition?language=objc for details. func (x gen_CALayer) ZPosition() CGFloat { - ret := C.CALayer_inst_zPosition( + ret := C.CALayer_inst_ZPosition( unsafe.Pointer(x.Pointer()), ) @@ -4052,7 +4052,7 @@ func (x gen_CALayer) ZPosition() CGFloat { func (x gen_CALayer) SetZPosition( value CGFloat, ) { - C.CALayer_inst_setZPosition( + C.CALayer_inst_SetZPosition( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -4065,7 +4065,7 @@ func (x gen_CALayer) SetZPosition( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410796-anchorpointz?language=objc for details. func (x gen_CALayer) AnchorPointZ() CGFloat { - ret := C.CALayer_inst_anchorPointZ( + ret := C.CALayer_inst_AnchorPointZ( unsafe.Pointer(x.Pointer()), ) @@ -4079,7 +4079,7 @@ func (x gen_CALayer) AnchorPointZ() CGFloat { func (x gen_CALayer) SetAnchorPointZ( value CGFloat, ) { - C.CALayer_inst_setAnchorPointZ( + C.CALayer_inst_SetAnchorPointZ( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -4092,7 +4092,7 @@ func (x gen_CALayer) SetAnchorPointZ( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410746-contentsscale?language=objc for details. func (x gen_CALayer) ContentsScale() CGFloat { - ret := C.CALayer_inst_contentsScale( + ret := C.CALayer_inst_ContentsScale( unsafe.Pointer(x.Pointer()), ) @@ -4106,7 +4106,7 @@ func (x gen_CALayer) ContentsScale() CGFloat { func (x gen_CALayer) SetContentsScale( value CGFloat, ) { - C.CALayer_inst_setContentsScale( + C.CALayer_inst_SetContentsScale( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -4119,7 +4119,7 @@ func (x gen_CALayer) SetContentsScale( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410802-sublayers?language=objc for details. func (x gen_CALayer) Sublayers() NSArray { - ret := C.CALayer_inst_sublayers( + ret := C.CALayer_inst_Sublayers( unsafe.Pointer(x.Pointer()), ) @@ -4133,7 +4133,7 @@ func (x gen_CALayer) Sublayers() NSArray { func (x gen_CALayer) SetSublayers( value NSArrayRef, ) { - C.CALayer_inst_setSublayers( + C.CALayer_inst_SetSublayers( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -4146,7 +4146,7 @@ func (x gen_CALayer) SetSublayers( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410761-superlayer?language=objc for details. func (x gen_CALayer) Superlayer() CALayer { - ret := C.CALayer_inst_superlayer( + ret := C.CALayer_inst_Superlayer( unsafe.Pointer(x.Pointer()), ) @@ -4158,7 +4158,7 @@ func (x gen_CALayer) Superlayer() CALayer { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410923-needsdisplayonboundschange?language=objc for details. func (x gen_CALayer) NeedsDisplayOnBoundsChange() bool { - ret := C.CALayer_inst_needsDisplayOnBoundsChange( + ret := C.CALayer_inst_NeedsDisplayOnBoundsChange( unsafe.Pointer(x.Pointer()), ) @@ -4172,7 +4172,7 @@ func (x gen_CALayer) NeedsDisplayOnBoundsChange() bool { func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( value bool, ) { - C.CALayer_inst_setNeedsDisplayOnBoundsChange( + C.CALayer_inst_SetNeedsDisplayOnBoundsChange( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -4185,7 +4185,7 @@ func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410749-layoutmanager?language=objc for details. func (x gen_CALayer) LayoutManager() objc.Object { - ret := C.CALayer_inst_layoutManager( + ret := C.CALayer_inst_LayoutManager( unsafe.Pointer(x.Pointer()), ) @@ -4199,7 +4199,7 @@ func (x gen_CALayer) LayoutManager() objc.Object { func (x gen_CALayer) SetLayoutManager( value objc.Ref, ) { - C.CALayer_inst_setLayoutManager( + C.CALayer_inst_SetLayoutManager( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -4212,7 +4212,7 @@ func (x gen_CALayer) SetLayoutManager( // // See https://developer.apple.com/documentation/quartzcore/calayer/1521906-constraints?language=objc for details. func (x gen_CALayer) Constraints() NSArray { - ret := C.CALayer_inst_constraints( + ret := C.CALayer_inst_Constraints( unsafe.Pointer(x.Pointer()), ) @@ -4226,7 +4226,7 @@ func (x gen_CALayer) Constraints() NSArray { func (x gen_CALayer) SetConstraints( value NSArrayRef, ) { - C.CALayer_inst_setConstraints( + C.CALayer_inst_SetConstraints( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -4239,7 +4239,7 @@ func (x gen_CALayer) SetConstraints( // // See https://developer.apple.com/documentation/quartzcore/calayer/1410789-actions?language=objc for details. func (x gen_CALayer) Actions() NSDictionary { - ret := C.CALayer_inst_actions( + ret := C.CALayer_inst_Actions( unsafe.Pointer(x.Pointer()), ) @@ -4253,7 +4253,7 @@ func (x gen_CALayer) Actions() NSDictionary { func (x gen_CALayer) SetActions( value NSDictionaryRef, ) { - C.CALayer_inst_setActions( + C.CALayer_inst_SetActions( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -4266,7 +4266,7 @@ func (x gen_CALayer) SetActions( // // See https://developer.apple.com/documentation/quartzcore/calayer/1521892-visiblerect?language=objc for details. func (x gen_CALayer) VisibleRect() NSRect { - ret := C.CALayer_inst_visibleRect( + ret := C.CALayer_inst_VisibleRect( unsafe.Pointer(x.Pointer()), ) @@ -4278,7 +4278,7 @@ func (x gen_CALayer) VisibleRect() NSRect { // // See https://developer.apple.com/documentation/quartzcore/calayer/1410879-name?language=objc for details. func (x gen_CALayer) Name() NSString { - ret := C.CALayer_inst_name( + ret := C.CALayer_inst_Name( unsafe.Pointer(x.Pointer()), ) @@ -4292,7 +4292,7 @@ func (x gen_CALayer) Name() NSString { func (x gen_CALayer) SetName( value NSStringRef, ) { - C.CALayer_inst_setName( + C.CALayer_inst_SetName( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -4326,7 +4326,7 @@ func NSArray_fromRef(ref objc.Ref) NSArray { func (x gen_NSArray) ArrayByAddingObjectsFromArray( otherArray NSArrayRef, ) NSArray { - ret := C.NSArray_inst_arrayByAddingObjectsFromArray( + ret := C.NSArray_inst_ArrayByAddingObjectsFromArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherArray), ) @@ -4341,7 +4341,7 @@ func (x gen_NSArray) ArrayByAddingObjectsFromArray( func (x gen_NSArray) ComponentsJoinedByString( separator NSStringRef, ) NSString { - ret := C.NSArray_inst_componentsJoinedByString( + ret := C.NSArray_inst_ComponentsJoinedByString( unsafe.Pointer(x.Pointer()), objc.RefPointer(separator), ) @@ -4356,7 +4356,7 @@ func (x gen_NSArray) ComponentsJoinedByString( func (x gen_NSArray) DescriptionWithLocale( locale objc.Ref, ) NSString { - ret := C.NSArray_inst_descriptionWithLocale( + ret := C.NSArray_inst_DescriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) @@ -4365,14 +4365,14 @@ func (x gen_NSArray) DescriptionWithLocale( } -// DescriptionWithLocale_indent returns a string that represents the contents of the array, formatted as a property list. +// DescriptionWithLocaleIndent returns a string that represents the contents of the array, formatted as a property list. // // See https://developer.apple.com/documentation/foundation/nsarray/1416257-descriptionwithlocale?language=objc for details. -func (x gen_NSArray) DescriptionWithLocale_indent( +func (x gen_NSArray) DescriptionWithLocaleIndent( locale objc.Ref, level NSUInteger, ) NSString { - ret := C.NSArray_inst_descriptionWithLocale_indent( + ret := C.NSArray_inst_DescriptionWithLocaleIndent( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), C.ulong(level), @@ -4386,7 +4386,7 @@ func (x gen_NSArray) DescriptionWithLocale_indent( // // See https://developer.apple.com/documentation/foundation/nsarray/1414315-init?language=objc for details. func (x gen_NSArray) Init_asNSArray() NSArray { - ret := C.NSArray_inst_init( + ret := C.NSArray_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -4400,7 +4400,7 @@ func (x gen_NSArray) Init_asNSArray() NSArray { func (x gen_NSArray) InitWithArray_asNSArray( array NSArrayRef, ) NSArray { - ret := C.NSArray_inst_initWithArray( + ret := C.NSArray_inst_InitWithArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(array), ) @@ -4409,14 +4409,14 @@ func (x gen_NSArray) InitWithArray_asNSArray( } -// InitWithArray_copyItems initializes a newly allocated array using anarray as the source of data objects for the array. +// InitWithArrayCopyItems initializes a newly allocated array using anarray as the source of data objects for the array. // // See https://developer.apple.com/documentation/foundation/nsarray/1408557-initwitharray?language=objc for details. -func (x gen_NSArray) InitWithArray_copyItems_asNSArray( +func (x gen_NSArray) InitWithArrayCopyItems_asNSArray( array NSArrayRef, flag bool, ) NSArray { - ret := C.NSArray_inst_initWithArray_copyItems( + ret := C.NSArray_inst_InitWithArrayCopyItems( unsafe.Pointer(x.Pointer()), objc.RefPointer(array), convertToObjCBool(flag), @@ -4432,7 +4432,7 @@ func (x gen_NSArray) InitWithArray_copyItems_asNSArray( func (x gen_NSArray) IsEqualToArray( otherArray NSArrayRef, ) bool { - ret := C.NSArray_inst_isEqualToArray( + ret := C.NSArray_inst_IsEqualToArray( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherArray), ) @@ -4447,7 +4447,7 @@ func (x gen_NSArray) IsEqualToArray( func (x gen_NSArray) MakeObjectsPerformSelector( aSelector objc.Selector, ) { - C.NSArray_inst_makeObjectsPerformSelector( + C.NSArray_inst_MakeObjectsPerformSelector( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), ) @@ -4456,14 +4456,14 @@ func (x gen_NSArray) MakeObjectsPerformSelector( } -// MakeObjectsPerformSelector_withObject sends the aselector message to each object in the array, starting with the first object and continuing through the array to the last object. +// MakeObjectsPerformSelectorWithObject sends the aselector message to each object in the array, starting with the first object and continuing through the array to the last object. // // See https://developer.apple.com/documentation/foundation/nsarray/1460107-makeobjectsperformselector?language=objc for details. -func (x gen_NSArray) MakeObjectsPerformSelector_withObject( +func (x gen_NSArray) MakeObjectsPerformSelectorWithObject( aSelector objc.Selector, argument objc.Ref, ) { - C.NSArray_inst_makeObjectsPerformSelector_withObject( + C.NSArray_inst_MakeObjectsPerformSelectorWithObject( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(argument), @@ -4479,7 +4479,7 @@ func (x gen_NSArray) MakeObjectsPerformSelector_withObject( func (x gen_NSArray) PathsMatchingExtensions( filterTypes NSArrayRef, ) NSArray { - ret := C.NSArray_inst_pathsMatchingExtensions( + ret := C.NSArray_inst_PathsMatchingExtensions( unsafe.Pointer(x.Pointer()), objc.RefPointer(filterTypes), ) @@ -4488,14 +4488,14 @@ func (x gen_NSArray) PathsMatchingExtensions( } -// SetValue_forKey invokes setvalue:forkey: on each of the array's items using the specified value and key. +// SetValueForKey invokes setvalue:forkey: on each of the array's items using the specified value and key. // // See https://developer.apple.com/documentation/foundation/nsarray/1408301-setvalue?language=objc for details. -func (x gen_NSArray) SetValue_forKey( +func (x gen_NSArray) SetValueForKey( value objc.Ref, key NSStringRef, ) { - C.NSArray_inst_setValue_forKey( + C.NSArray_inst_SetValueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), objc.RefPointer(key), @@ -4509,7 +4509,7 @@ func (x gen_NSArray) SetValue_forKey( // // See https://developer.apple.com/documentation/foundation/nsarray/1640855-shuffledarray?language=objc for details. func (x gen_NSArray) ShuffledArray() NSArray { - ret := C.NSArray_inst_shuffledArray( + ret := C.NSArray_inst_ShuffledArray( unsafe.Pointer(x.Pointer()), ) @@ -4523,7 +4523,7 @@ func (x gen_NSArray) ShuffledArray() NSArray { func (x gen_NSArray) SortedArrayUsingDescriptors( sortDescriptors NSArrayRef, ) NSArray { - ret := C.NSArray_inst_sortedArrayUsingDescriptors( + ret := C.NSArray_inst_SortedArrayUsingDescriptors( unsafe.Pointer(x.Pointer()), objc.RefPointer(sortDescriptors), ) @@ -4538,7 +4538,7 @@ func (x gen_NSArray) SortedArrayUsingDescriptors( func (x gen_NSArray) SortedArrayUsingSelector( comparator objc.Selector, ) NSArray { - ret := C.NSArray_inst_sortedArrayUsingSelector( + ret := C.NSArray_inst_SortedArrayUsingSelector( unsafe.Pointer(x.Pointer()), comparator.SelectorAddress(), ) @@ -4553,7 +4553,7 @@ func (x gen_NSArray) SortedArrayUsingSelector( func (x gen_NSArray) ValueForKey( key NSStringRef, ) objc.Object { - ret := C.NSArray_inst_valueForKey( + ret := C.NSArray_inst_ValueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -4566,7 +4566,7 @@ func (x gen_NSArray) ValueForKey( // // See https://developer.apple.com/documentation/foundation/nsarray/1409982-count?language=objc for details. func (x gen_NSArray) Count() NSUInteger { - ret := C.NSArray_inst_count( + ret := C.NSArray_inst_Count( unsafe.Pointer(x.Pointer()), ) @@ -4578,7 +4578,7 @@ func (x gen_NSArray) Count() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsarray/1413063-sortedarrayhint?language=objc for details. func (x gen_NSArray) SortedArrayHint() NSData { - ret := C.NSArray_inst_sortedArrayHint( + ret := C.NSArray_inst_SortedArrayHint( unsafe.Pointer(x.Pointer()), ) @@ -4590,7 +4590,7 @@ func (x gen_NSArray) SortedArrayHint() NSData { // // See https://developer.apple.com/documentation/foundation/nsarray/1413042-description?language=objc for details. func (x gen_NSArray) Description() NSString { - ret := C.NSArray_inst_description( + ret := C.NSArray_inst_Description( unsafe.Pointer(x.Pointer()), ) @@ -4621,7 +4621,7 @@ func NSAttributedString_fromRef(ref objc.Ref) NSAttributedString { // // See https://developer.apple.com/documentation/foundation/nsattributedstring/3746871-attributedstringbyinflectingstri?language=objc for details. func (x gen_NSAttributedString) AttributedStringByInflectingString() NSAttributedString { - ret := C.NSAttributedString_inst_attributedStringByInflectingString( + ret := C.NSAttributedString_inst_AttributedStringByInflectingString( unsafe.Pointer(x.Pointer()), ) @@ -4635,7 +4635,7 @@ func (x gen_NSAttributedString) AttributedStringByInflectingString() NSAttribute func (x gen_NSAttributedString) DrawInRect( rect NSRect, ) { - C.NSAttributedString_inst_drawInRect( + C.NSAttributedString_inst_DrawInRect( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), ) @@ -4650,7 +4650,7 @@ func (x gen_NSAttributedString) DrawInRect( func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( attrStr NSAttributedStringRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithAttributedString( + ret := C.NSAttributedString_inst_InitWithAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrStr), ) @@ -4659,14 +4659,14 @@ func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( } -// InitWithDocFormat_documentAttributes creates an attributed string from microsoft word format data in the specified data object. +// InitWithDocFormatDocumentAttributes creates an attributed string from microsoft word format data in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1534329-initwithdocformat?language=objc for details. -func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithDocFormatDocumentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithDocFormat_documentAttributes( + ret := C.NSAttributedString_inst_InitWithDocFormatDocumentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4676,15 +4676,15 @@ func (x gen_NSAttributedString) InitWithDocFormat_documentAttributes_asNSAttribu } -// InitWithHTML_baseURL_documentAttributes creates an attributed string from the html in the specified data object and base url. +// InitWithHTMLBaseURLDocumentAttributes creates an attributed string from the html in the specified data object and base url. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1524624-initwithhtml?language=objc for details. -func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTMLBaseURLDocumentAttributes_asNSAttributedString( data NSDataRef, base NSURLRef, dict NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithHTML_baseURL_documentAttributes( + ret := C.NSAttributedString_inst_InitWithHTMLBaseURLDocumentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(base), @@ -4695,14 +4695,14 @@ func (x gen_NSAttributedString) InitWithHTML_baseURL_documentAttributes_asNSAttr } -// InitWithHTML_documentAttributes creates an attributed string from the html in the specified data object. +// InitWithHTMLDocumentAttributes creates an attributed string from the html in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1525953-initwithhtml?language=objc for details. -func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTMLDocumentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithHTML_documentAttributes( + ret := C.NSAttributedString_inst_InitWithHTMLDocumentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4712,15 +4712,15 @@ func (x gen_NSAttributedString) InitWithHTML_documentAttributes_asNSAttributedSt } -// InitWithHTML_options_documentAttributes creates an attributed string from the html in the specified data object. +// InitWithHTMLOptionsDocumentAttributes creates an attributed string from the html in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1535412-initwithhtml?language=objc for details. -func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTMLOptionsDocumentAttributes_asNSAttributedString( data NSDataRef, options NSDictionaryRef, dict NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithHTML_options_documentAttributes( + ret := C.NSAttributedString_inst_InitWithHTMLOptionsDocumentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(options), @@ -4731,14 +4731,14 @@ func (x gen_NSAttributedString) InitWithHTML_options_documentAttributes_asNSAttr } -// InitWithRTF_documentAttributes creates an attributed string by decoding the stream of rtf commands and data in the specified data object. +// InitWithRTFDocumentAttributes creates an attributed string by decoding the stream of rtf commands and data in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1532912-initwithrtf?language=objc for details. -func (x gen_NSAttributedString) InitWithRTF_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithRTFDocumentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithRTF_documentAttributes( + ret := C.NSAttributedString_inst_InitWithRTFDocumentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4748,14 +4748,14 @@ func (x gen_NSAttributedString) InitWithRTF_documentAttributes_asNSAttributedStr } -// InitWithRTFD_documentAttributes creates an attributed string by decoding the stream of rtfd commands and data in the specified data object. +// InitWithRTFDDocumentAttributes creates an attributed string by decoding the stream of rtfd commands and data in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1530987-initwithrtfd?language=objc for details. -func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithRTFDDocumentAttributes_asNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithRTFD_documentAttributes( + ret := C.NSAttributedString_inst_InitWithRTFDDocumentAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(dict), @@ -4771,7 +4771,7 @@ func (x gen_NSAttributedString) InitWithRTFD_documentAttributes_asNSAttributedSt func (x gen_NSAttributedString) InitWithString_asNSAttributedString( str NSStringRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithString( + ret := C.NSAttributedString_inst_InitWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -4780,14 +4780,14 @@ func (x gen_NSAttributedString) InitWithString_asNSAttributedString( } -// InitWithString_attributes creates an attributed string with the specified string and attributes. +// InitWithStringAttributes creates an attributed string with the specified string and attributes. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1408136-initwithstring?language=objc for details. -func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithStringAttributes_asNSAttributedString( str NSStringRef, attrs NSDictionaryRef, ) NSAttributedString { - ret := C.NSAttributedString_inst_initWithString_attributes( + ret := C.NSAttributedString_inst_InitWithStringAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), objc.RefPointer(attrs), @@ -4803,7 +4803,7 @@ func (x gen_NSAttributedString) InitWithString_attributes_asNSAttributedString( func (x gen_NSAttributedString) IsEqualToAttributedString( other NSAttributedStringRef, ) bool { - ret := C.NSAttributedString_inst_isEqualToAttributedString( + ret := C.NSAttributedString_inst_IsEqualToAttributedString( unsafe.Pointer(x.Pointer()), objc.RefPointer(other), ) @@ -4812,14 +4812,14 @@ func (x gen_NSAttributedString) IsEqualToAttributedString( } -// NextWordFromIndex_forward returns the index of the first character of the word after or before the specified index. +// NextWordFromIndexForward returns the index of the first character of the word after or before the specified index. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1535305-nextwordfromindex?language=objc for details. -func (x gen_NSAttributedString) NextWordFromIndex_forward( +func (x gen_NSAttributedString) NextWordFromIndexForward( location NSUInteger, isForward bool, ) NSUInteger { - ret := C.NSAttributedString_inst_nextWordFromIndex_forward( + ret := C.NSAttributedString_inst_NextWordFromIndexForward( unsafe.Pointer(x.Pointer()), C.ulong(location), convertToObjCBool(isForward), @@ -4833,7 +4833,7 @@ func (x gen_NSAttributedString) NextWordFromIndex_forward( // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1528362-size?language=objc for details. func (x gen_NSAttributedString) Size() NSSize { - ret := C.NSAttributedString_inst_size( + ret := C.NSAttributedString_inst_Size( unsafe.Pointer(x.Pointer()), ) @@ -4845,7 +4845,7 @@ func (x gen_NSAttributedString) Size() NSSize { // // See for details. func (x gen_NSAttributedString) Init_asNSAttributedString() NSAttributedString { - ret := C.NSAttributedString_inst_init( + ret := C.NSAttributedString_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -4857,7 +4857,7 @@ func (x gen_NSAttributedString) Init_asNSAttributedString() NSAttributedString { // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1412616-string?language=objc for details. func (x gen_NSAttributedString) String() NSString { - ret := C.NSAttributedString_inst_string( + ret := C.NSAttributedString_inst_String( unsafe.Pointer(x.Pointer()), ) @@ -4869,7 +4869,7 @@ func (x gen_NSAttributedString) String() NSString { // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1418432-length?language=objc for details. func (x gen_NSAttributedString) Length() NSUInteger { - ret := C.NSAttributedString_inst_length( + ret := C.NSAttributedString_inst_Length( unsafe.Pointer(x.Pointer()), ) @@ -4896,14 +4896,14 @@ func NSData_fromRef(ref objc.Ref) NSData { return NSData_fromPointer(unsafe.Pointer(ref.Pointer())) } -// GetBytes_length copies a number of bytes from the start of the data object into a given buffer. +// GetBytesLength copies a number of bytes from the start of the data object into a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1411450-getbytes?language=objc for details. -func (x gen_NSData) GetBytes_length( +func (x gen_NSData) GetBytesLength( buffer unsafe.Pointer, length NSUInteger, ) { - C.NSData_inst_getBytes_length( + C.NSData_inst_GetBytesLength( unsafe.Pointer(x.Pointer()), buffer, C.ulong(length), @@ -4913,14 +4913,14 @@ func (x gen_NSData) GetBytes_length( } -// InitWithBytes_length initializes a data object filled with a given number of bytes copied from a given buffer. +// InitWithBytesLength initializes a data object filled with a given number of bytes copied from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1412793-initwithbytes?language=objc for details. -func (x gen_NSData) InitWithBytes_length_asNSData( +func (x gen_NSData) InitWithBytesLength_asNSData( bytes unsafe.Pointer, length NSUInteger, ) NSData { - ret := C.NSData_inst_initWithBytes_length( + ret := C.NSData_inst_InitWithBytesLength( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), @@ -4930,14 +4930,14 @@ func (x gen_NSData) InitWithBytes_length_asNSData( } -// InitWithBytesNoCopy_length initializes a data object filled with a given number of bytes of data from a given buffer. +// InitWithBytesNoCopyLength initializes a data object filled with a given number of bytes of data from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1409454-initwithbytesnocopy?language=objc for details. -func (x gen_NSData) InitWithBytesNoCopy_length_asNSData( +func (x gen_NSData) InitWithBytesNoCopyLength_asNSData( bytes unsafe.Pointer, length NSUInteger, ) NSData { - ret := C.NSData_inst_initWithBytesNoCopy_length( + ret := C.NSData_inst_InitWithBytesNoCopyLength( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), @@ -4947,15 +4947,15 @@ func (x gen_NSData) InitWithBytesNoCopy_length_asNSData( } -// InitWithBytesNoCopy_length_freeWhenDone initializes a newly allocated data object by adding the given number of bytes from the given buffer. +// InitWithBytesNoCopyLengthFreeWhenDone initializes a newly allocated data object by adding the given number of bytes from the given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1416020-initwithbytesnocopy?language=objc for details. -func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( +func (x gen_NSData) InitWithBytesNoCopyLengthFreeWhenDone_asNSData( bytes unsafe.Pointer, length NSUInteger, b bool, ) NSData { - ret := C.NSData_inst_initWithBytesNoCopy_length_freeWhenDone( + ret := C.NSData_inst_InitWithBytesNoCopyLengthFreeWhenDone( unsafe.Pointer(x.Pointer()), bytes, C.ulong(length), @@ -4972,7 +4972,7 @@ func (x gen_NSData) InitWithBytesNoCopy_length_freeWhenDone_asNSData( func (x gen_NSData) InitWithContentsOfFile_asNSData( path NSStringRef, ) NSData { - ret := C.NSData_inst_initWithContentsOfFile( + ret := C.NSData_inst_InitWithContentsOfFile( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -4987,7 +4987,7 @@ func (x gen_NSData) InitWithContentsOfFile_asNSData( func (x gen_NSData) InitWithContentsOfURL_asNSData( url NSURLRef, ) NSData { - ret := C.NSData_inst_initWithContentsOfURL( + ret := C.NSData_inst_InitWithContentsOfURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), ) @@ -5002,7 +5002,7 @@ func (x gen_NSData) InitWithContentsOfURL_asNSData( func (x gen_NSData) InitWithData_asNSData( data NSDataRef, ) NSData { - ret := C.NSData_inst_initWithData( + ret := C.NSData_inst_InitWithData( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), ) @@ -5017,7 +5017,7 @@ func (x gen_NSData) InitWithData_asNSData( func (x gen_NSData) IsEqualToData( other NSDataRef, ) bool { - ret := C.NSData_inst_isEqualToData( + ret := C.NSData_inst_IsEqualToData( unsafe.Pointer(x.Pointer()), objc.RefPointer(other), ) @@ -5026,14 +5026,14 @@ func (x gen_NSData) IsEqualToData( } -// WriteToFile_atomically writes the data object's bytes to the file specified by a given path. +// WriteToFileAtomically writes the data object's bytes to the file specified by a given path. // // See https://developer.apple.com/documentation/foundation/nsdata/1408033-writetofile?language=objc for details. -func (x gen_NSData) WriteToFile_atomically( +func (x gen_NSData) WriteToFileAtomically( path NSStringRef, useAuxiliaryFile bool, ) bool { - ret := C.NSData_inst_writeToFile_atomically( + ret := C.NSData_inst_WriteToFileAtomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(useAuxiliaryFile), @@ -5043,14 +5043,14 @@ func (x gen_NSData) WriteToFile_atomically( } -// WriteToURL_atomically writes the data object's bytes to the location specified by a given url. +// WriteToURLAtomically writes the data object's bytes to the location specified by a given url. // // See https://developer.apple.com/documentation/foundation/nsdata/1415134-writetourl?language=objc for details. -func (x gen_NSData) WriteToURL_atomically( +func (x gen_NSData) WriteToURLAtomically( url NSURLRef, atomically bool, ) bool { - ret := C.NSData_inst_writeToURL_atomically( + ret := C.NSData_inst_WriteToURLAtomically( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), convertToObjCBool(atomically), @@ -5064,7 +5064,7 @@ func (x gen_NSData) WriteToURL_atomically( // // See for details. func (x gen_NSData) Init_asNSData() NSData { - ret := C.NSData_inst_init( + ret := C.NSData_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -5076,7 +5076,7 @@ func (x gen_NSData) Init_asNSData() NSData { // // See https://developer.apple.com/documentation/foundation/nsdata/1410616-bytes?language=objc for details. func (x gen_NSData) Bytes() unsafe.Pointer { - ret := C.NSData_inst_bytes( + ret := C.NSData_inst_Bytes( unsafe.Pointer(x.Pointer()), ) @@ -5088,7 +5088,7 @@ func (x gen_NSData) Bytes() unsafe.Pointer { // // See https://developer.apple.com/documentation/foundation/nsdata/1416769-length?language=objc for details. func (x gen_NSData) Length() NSUInteger { - ret := C.NSData_inst_length( + ret := C.NSData_inst_Length( unsafe.Pointer(x.Pointer()), ) @@ -5100,7 +5100,7 @@ func (x gen_NSData) Length() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsdata/1412579-description?language=objc for details. func (x gen_NSData) Description() NSString { - ret := C.NSData_inst_description( + ret := C.NSData_inst_Description( unsafe.Pointer(x.Pointer()), ) @@ -5133,7 +5133,7 @@ func NSDictionary_fromRef(ref objc.Ref) NSDictionary { func (x gen_NSDictionary) DescriptionWithLocale( locale objc.Ref, ) NSString { - ret := C.NSDictionary_inst_descriptionWithLocale( + ret := C.NSDictionary_inst_DescriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) @@ -5142,14 +5142,14 @@ func (x gen_NSDictionary) DescriptionWithLocale( } -// DescriptionWithLocale_indent returns a string object that represents the contents of the dictionary, formatted as a property list. +// DescriptionWithLocaleIndent returns a string object that represents the contents of the dictionary, formatted as a property list. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1412690-descriptionwithlocale?language=objc for details. -func (x gen_NSDictionary) DescriptionWithLocale_indent( +func (x gen_NSDictionary) DescriptionWithLocaleIndent( locale objc.Ref, level NSUInteger, ) NSString { - ret := C.NSDictionary_inst_descriptionWithLocale_indent( + ret := C.NSDictionary_inst_DescriptionWithLocaleIndent( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), C.ulong(level), @@ -5163,7 +5163,7 @@ func (x gen_NSDictionary) DescriptionWithLocale_indent( // // See https://developer.apple.com/documentation/foundation/nsdictionary/1413177-fileextensionhidden?language=objc for details. func (x gen_NSDictionary) FileExtensionHidden() bool { - ret := C.NSDictionary_inst_fileExtensionHidden( + ret := C.NSDictionary_inst_FileExtensionHidden( unsafe.Pointer(x.Pointer()), ) @@ -5175,7 +5175,7 @@ func (x gen_NSDictionary) FileExtensionHidden() bool { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1413626-filegroupowneraccountid?language=objc for details. func (x gen_NSDictionary) FileGroupOwnerAccountID() NSNumber { - ret := C.NSDictionary_inst_fileGroupOwnerAccountID( + ret := C.NSDictionary_inst_FileGroupOwnerAccountID( unsafe.Pointer(x.Pointer()), ) @@ -5187,7 +5187,7 @@ func (x gen_NSDictionary) FileGroupOwnerAccountID() NSNumber { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1416788-filegroupowneraccountname?language=objc for details. func (x gen_NSDictionary) FileGroupOwnerAccountName() NSString { - ret := C.NSDictionary_inst_fileGroupOwnerAccountName( + ret := C.NSDictionary_inst_FileGroupOwnerAccountName( unsafe.Pointer(x.Pointer()), ) @@ -5199,7 +5199,7 @@ func (x gen_NSDictionary) FileGroupOwnerAccountName() NSString { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1416083-fileisappendonly?language=objc for details. func (x gen_NSDictionary) FileIsAppendOnly() bool { - ret := C.NSDictionary_inst_fileIsAppendOnly( + ret := C.NSDictionary_inst_FileIsAppendOnly( unsafe.Pointer(x.Pointer()), ) @@ -5211,7 +5211,7 @@ func (x gen_NSDictionary) FileIsAppendOnly() bool { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1416500-fileisimmutable?language=objc for details. func (x gen_NSDictionary) FileIsImmutable() bool { - ret := C.NSDictionary_inst_fileIsImmutable( + ret := C.NSDictionary_inst_FileIsImmutable( unsafe.Pointer(x.Pointer()), ) @@ -5223,7 +5223,7 @@ func (x gen_NSDictionary) FileIsImmutable() bool { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1412281-fileowneraccountid?language=objc for details. func (x gen_NSDictionary) FileOwnerAccountID() NSNumber { - ret := C.NSDictionary_inst_fileOwnerAccountID( + ret := C.NSDictionary_inst_FileOwnerAccountID( unsafe.Pointer(x.Pointer()), ) @@ -5235,7 +5235,7 @@ func (x gen_NSDictionary) FileOwnerAccountID() NSNumber { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1417533-fileowneraccountname?language=objc for details. func (x gen_NSDictionary) FileOwnerAccountName() NSString { - ret := C.NSDictionary_inst_fileOwnerAccountName( + ret := C.NSDictionary_inst_FileOwnerAccountName( unsafe.Pointer(x.Pointer()), ) @@ -5247,7 +5247,7 @@ func (x gen_NSDictionary) FileOwnerAccountName() NSString { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1409446-fileposixpermissions?language=objc for details. func (x gen_NSDictionary) FilePosixPermissions() NSUInteger { - ret := C.NSDictionary_inst_filePosixPermissions( + ret := C.NSDictionary_inst_FilePosixPermissions( unsafe.Pointer(x.Pointer()), ) @@ -5259,7 +5259,7 @@ func (x gen_NSDictionary) FilePosixPermissions() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1408396-filesystemfilenumber?language=objc for details. func (x gen_NSDictionary) FileSystemFileNumber() NSUInteger { - ret := C.NSDictionary_inst_fileSystemFileNumber( + ret := C.NSDictionary_inst_FileSystemFileNumber( unsafe.Pointer(x.Pointer()), ) @@ -5271,7 +5271,7 @@ func (x gen_NSDictionary) FileSystemFileNumber() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1415329-filesystemnumber?language=objc for details. func (x gen_NSDictionary) FileSystemNumber() NSInteger { - ret := C.NSDictionary_inst_fileSystemNumber( + ret := C.NSDictionary_inst_FileSystemNumber( unsafe.Pointer(x.Pointer()), ) @@ -5283,7 +5283,7 @@ func (x gen_NSDictionary) FileSystemNumber() NSInteger { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1416809-filetype?language=objc for details. func (x gen_NSDictionary) FileType() NSString { - ret := C.NSDictionary_inst_fileType( + ret := C.NSDictionary_inst_FileType( unsafe.Pointer(x.Pointer()), ) @@ -5295,7 +5295,7 @@ func (x gen_NSDictionary) FileType() NSString { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1418147-init?language=objc for details. func (x gen_NSDictionary) Init_asNSDictionary() NSDictionary { - ret := C.NSDictionary_inst_init( + ret := C.NSDictionary_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -5309,7 +5309,7 @@ func (x gen_NSDictionary) Init_asNSDictionary() NSDictionary { func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( otherDictionary NSDictionaryRef, ) NSDictionary { - ret := C.NSDictionary_inst_initWithDictionary( + ret := C.NSDictionary_inst_InitWithDictionary( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), ) @@ -5318,14 +5318,14 @@ func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( } -// InitWithDictionary_copyItems initializes a newly allocated dictionary using the objects contained in another given dictionary. +// InitWithDictionaryCopyItems initializes a newly allocated dictionary using the objects contained in another given dictionary. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1410124-initwithdictionary?language=objc for details. -func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( +func (x gen_NSDictionary) InitWithDictionaryCopyItems_asNSDictionary( otherDictionary NSDictionaryRef, flag bool, ) NSDictionary { - ret := C.NSDictionary_inst_initWithDictionary_copyItems( + ret := C.NSDictionary_inst_InitWithDictionaryCopyItems( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), convertToObjCBool(flag), @@ -5335,14 +5335,14 @@ func (x gen_NSDictionary) InitWithDictionary_copyItems_asNSDictionary( } -// InitWithObjects_forKeys initializes a newly allocated dictionary with key-value pairs constructed from the provided arrays of keys and objects. +// InitWithObjectsForKeys initializes a newly allocated dictionary with key-value pairs constructed from the provided arrays of keys and objects. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1410010-initwithobjects?language=objc for details. -func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( +func (x gen_NSDictionary) InitWithObjectsForKeys_asNSDictionary( objects NSArrayRef, keys NSArrayRef, ) NSDictionary { - ret := C.NSDictionary_inst_initWithObjects_forKeys( + ret := C.NSDictionary_inst_InitWithObjectsForKeys( unsafe.Pointer(x.Pointer()), objc.RefPointer(objects), objc.RefPointer(keys), @@ -5358,7 +5358,7 @@ func (x gen_NSDictionary) InitWithObjects_forKeys_asNSDictionary( func (x gen_NSDictionary) IsEqualToDictionary( otherDictionary NSDictionaryRef, ) bool { - ret := C.NSDictionary_inst_isEqualToDictionary( + ret := C.NSDictionary_inst_IsEqualToDictionary( unsafe.Pointer(x.Pointer()), objc.RefPointer(otherDictionary), ) @@ -5373,7 +5373,7 @@ func (x gen_NSDictionary) IsEqualToDictionary( func (x gen_NSDictionary) KeysSortedByValueUsingSelector( comparator objc.Selector, ) NSArray { - ret := C.NSDictionary_inst_keysSortedByValueUsingSelector( + ret := C.NSDictionary_inst_KeysSortedByValueUsingSelector( unsafe.Pointer(x.Pointer()), comparator.SelectorAddress(), ) @@ -5386,7 +5386,7 @@ func (x gen_NSDictionary) KeysSortedByValueUsingSelector( // // See https://developer.apple.com/documentation/foundation/nsdictionary/1409628-count?language=objc for details. func (x gen_NSDictionary) Count() NSUInteger { - ret := C.NSDictionary_inst_count( + ret := C.NSDictionary_inst_Count( unsafe.Pointer(x.Pointer()), ) @@ -5398,7 +5398,7 @@ func (x gen_NSDictionary) Count() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1409150-allkeys?language=objc for details. func (x gen_NSDictionary) AllKeys() NSArray { - ret := C.NSDictionary_inst_allKeys( + ret := C.NSDictionary_inst_AllKeys( unsafe.Pointer(x.Pointer()), ) @@ -5410,7 +5410,7 @@ func (x gen_NSDictionary) AllKeys() NSArray { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1408915-allvalues?language=objc for details. func (x gen_NSDictionary) AllValues() NSArray { - ret := C.NSDictionary_inst_allValues( + ret := C.NSDictionary_inst_AllValues( unsafe.Pointer(x.Pointer()), ) @@ -5422,7 +5422,7 @@ func (x gen_NSDictionary) AllValues() NSArray { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1410799-description?language=objc for details. func (x gen_NSDictionary) Description() NSString { - ret := C.NSDictionary_inst_description( + ret := C.NSDictionary_inst_Description( unsafe.Pointer(x.Pointer()), ) @@ -5434,7 +5434,7 @@ func (x gen_NSDictionary) Description() NSString { // // See https://developer.apple.com/documentation/foundation/nsdictionary/1413282-descriptioninstringsfileformat?language=objc for details. func (x gen_NSDictionary) DescriptionInStringsFileFormat() NSString { - ret := C.NSDictionary_inst_descriptionInStringsFileFormat( + ret := C.NSDictionary_inst_DescriptionInStringsFileFormat( unsafe.Pointer(x.Pointer()), ) @@ -5467,7 +5467,7 @@ func NSNumber_fromRef(ref objc.Ref) NSNumber { func (x gen_NSNumber) DescriptionWithLocale( locale objc.Ref, ) NSString { - ret := C.NSNumber_inst_descriptionWithLocale( + ret := C.NSNumber_inst_DescriptionWithLocale( unsafe.Pointer(x.Pointer()), objc.RefPointer(locale), ) @@ -5482,7 +5482,7 @@ func (x gen_NSNumber) DescriptionWithLocale( func (x gen_NSNumber) InitWithBool( value bool, ) NSNumber { - ret := C.NSNumber_inst_initWithBool( + ret := C.NSNumber_inst_InitWithBool( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -5497,7 +5497,7 @@ func (x gen_NSNumber) InitWithBool( func (x gen_NSNumber) InitWithInt( value int32, ) NSNumber { - ret := C.NSNumber_inst_initWithInt( + ret := C.NSNumber_inst_InitWithInt( unsafe.Pointer(x.Pointer()), C.int(value), ) @@ -5512,7 +5512,7 @@ func (x gen_NSNumber) InitWithInt( func (x gen_NSNumber) InitWithInteger( value NSInteger, ) NSNumber { - ret := C.NSNumber_inst_initWithInteger( + ret := C.NSNumber_inst_InitWithInteger( unsafe.Pointer(x.Pointer()), C.long(value), ) @@ -5527,7 +5527,7 @@ func (x gen_NSNumber) InitWithInteger( func (x gen_NSNumber) InitWithUnsignedInt( value int32, ) NSNumber { - ret := C.NSNumber_inst_initWithUnsignedInt( + ret := C.NSNumber_inst_InitWithUnsignedInt( unsafe.Pointer(x.Pointer()), C.int(value), ) @@ -5542,7 +5542,7 @@ func (x gen_NSNumber) InitWithUnsignedInt( func (x gen_NSNumber) InitWithUnsignedInteger( value NSUInteger, ) NSNumber { - ret := C.NSNumber_inst_initWithUnsignedInteger( + ret := C.NSNumber_inst_InitWithUnsignedInteger( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -5557,7 +5557,7 @@ func (x gen_NSNumber) InitWithUnsignedInteger( func (x gen_NSNumber) IsEqualToNumber( number NSNumberRef, ) bool { - ret := C.NSNumber_inst_isEqualToNumber( + ret := C.NSNumber_inst_IsEqualToNumber( unsafe.Pointer(x.Pointer()), objc.RefPointer(number), ) @@ -5570,7 +5570,7 @@ func (x gen_NSNumber) IsEqualToNumber( // // See for details. func (x gen_NSNumber) Init_asNSNumber() NSNumber { - ret := C.NSNumber_inst_init( + ret := C.NSNumber_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -5582,7 +5582,7 @@ func (x gen_NSNumber) Init_asNSNumber() NSNumber { // // See https://developer.apple.com/documentation/foundation/nsnumber/1410865-boolvalue?language=objc for details. func (x gen_NSNumber) BoolValue() bool { - ret := C.NSNumber_inst_boolValue( + ret := C.NSNumber_inst_BoolValue( unsafe.Pointer(x.Pointer()), ) @@ -5594,7 +5594,7 @@ func (x gen_NSNumber) BoolValue() bool { // // See https://developer.apple.com/documentation/foundation/nsnumber/1407153-intvalue?language=objc for details. func (x gen_NSNumber) IntValue() int32 { - ret := C.NSNumber_inst_intValue( + ret := C.NSNumber_inst_IntValue( unsafe.Pointer(x.Pointer()), ) @@ -5606,7 +5606,7 @@ func (x gen_NSNumber) IntValue() int32 { // // See https://developer.apple.com/documentation/foundation/nsnumber/1412554-integervalue?language=objc for details. func (x gen_NSNumber) IntegerValue() NSInteger { - ret := C.NSNumber_inst_integerValue( + ret := C.NSNumber_inst_IntegerValue( unsafe.Pointer(x.Pointer()), ) @@ -5618,7 +5618,7 @@ func (x gen_NSNumber) IntegerValue() NSInteger { // // See https://developer.apple.com/documentation/foundation/nsnumber/1413324-unsignedintegervalue?language=objc for details. func (x gen_NSNumber) UnsignedIntegerValue() NSUInteger { - ret := C.NSNumber_inst_unsignedIntegerValue( + ret := C.NSNumber_inst_UnsignedIntegerValue( unsafe.Pointer(x.Pointer()), ) @@ -5630,7 +5630,7 @@ func (x gen_NSNumber) UnsignedIntegerValue() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsnumber/1417875-unsignedintvalue?language=objc for details. func (x gen_NSNumber) UnsignedIntValue() int32 { - ret := C.NSNumber_inst_unsignedIntValue( + ret := C.NSNumber_inst_UnsignedIntValue( unsafe.Pointer(x.Pointer()), ) @@ -5642,7 +5642,7 @@ func (x gen_NSNumber) UnsignedIntValue() int32 { // // See https://developer.apple.com/documentation/foundation/nsnumber/1415802-stringvalue?language=objc for details. func (x gen_NSNumber) StringValue() NSString { - ret := C.NSNumber_inst_stringValue( + ret := C.NSNumber_inst_StringValue( unsafe.Pointer(x.Pointer()), ) @@ -5669,15 +5669,15 @@ func NSRunLoop_fromRef(ref objc.Ref) NSRunLoop { return NSRunLoop_fromPointer(unsafe.Pointer(ref.Pointer())) } -// CancelPerformSelector_target_argument cancels the sending of a previously scheduled message. +// CancelPerformSelectorTargetArgument cancels the sending of a previously scheduled message. // // See https://developer.apple.com/documentation/foundation/nsrunloop/1418077-cancelperformselector?language=objc for details. -func (x gen_NSRunLoop) CancelPerformSelector_target_argument( +func (x gen_NSRunLoop) CancelPerformSelectorTargetArgument( aSelector objc.Selector, target objc.Ref, arg objc.Ref, ) { - C.NSRunLoop_inst_cancelPerformSelector_target_argument( + C.NSRunLoop_inst_CancelPerformSelectorTargetArgument( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(target), @@ -5694,7 +5694,7 @@ func (x gen_NSRunLoop) CancelPerformSelector_target_argument( func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( target objc.Ref, ) { - C.NSRunLoop_inst_cancelPerformSelectorsWithTarget( + C.NSRunLoop_inst_CancelPerformSelectorsWithTarget( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), ) @@ -5703,17 +5703,17 @@ func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( } -// PerformSelector_target_argument_order_modes schedules the sending of a message on the receiver. +// PerformSelectorTargetArgumentOrderModes schedules the sending of a message on the receiver. // // See https://developer.apple.com/documentation/foundation/nsrunloop/1409310-performselector?language=objc for details. -func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( +func (x gen_NSRunLoop) PerformSelectorTargetArgumentOrderModes( aSelector objc.Selector, target objc.Ref, arg objc.Ref, order NSUInteger, modes NSArrayRef, ) { - C.NSRunLoop_inst_performSelector_target_argument_order_modes( + C.NSRunLoop_inst_PerformSelectorTargetArgumentOrderModes( unsafe.Pointer(x.Pointer()), aSelector.SelectorAddress(), objc.RefPointer(target), @@ -5730,7 +5730,7 @@ func (x gen_NSRunLoop) PerformSelector_target_argument_order_modes( // // See https://developer.apple.com/documentation/foundation/nsrunloop/1412430-run?language=objc for details. func (x gen_NSRunLoop) Run() { - C.NSRunLoop_inst_run( + C.NSRunLoop_inst_Run( unsafe.Pointer(x.Pointer()), ) @@ -5742,7 +5742,7 @@ func (x gen_NSRunLoop) Run() { // // See for details. func (x gen_NSRunLoop) Init_asNSRunLoop() NSRunLoop { - ret := C.NSRunLoop_inst_init( + ret := C.NSRunLoop_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -5775,7 +5775,7 @@ func NSString_fromRef(ref objc.Ref) NSString { func (x gen_NSString) CanBeConvertedToEncoding( encoding NSStringEncoding, ) bool { - ret := C.NSString_inst_canBeConvertedToEncoding( + ret := C.NSString_inst_CanBeConvertedToEncoding( unsafe.Pointer(x.Pointer()), C.ulong(encoding), ) @@ -5790,7 +5790,7 @@ func (x gen_NSString) CanBeConvertedToEncoding( func (x gen_NSString) CharacterAtIndex( index NSUInteger, ) Unichar { - ret := C.NSString_inst_characterAtIndex( + ret := C.NSString_inst_CharacterAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(index), ) @@ -5799,16 +5799,16 @@ func (x gen_NSString) CharacterAtIndex( } -// CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver. +// CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver. // // See https://developer.apple.com/documentation/foundation/nsstring/1411841-completepathintostring?language=objc for details. -func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filterTypes( +func (x gen_NSString) CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes( outputName NSStringRef, flag bool, outputArray NSArrayRef, filterTypes NSArrayRef, ) NSUInteger { - ret := C.NSString_inst_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes( + ret := C.NSString_inst_CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes( unsafe.Pointer(x.Pointer()), objc.RefPointer(outputName), convertToObjCBool(flag), @@ -5826,7 +5826,7 @@ func (x gen_NSString) CompletePathIntoString_caseSensitive_matchesIntoArray_filt func (x gen_NSString) ComponentsSeparatedByString( separator NSStringRef, ) NSArray { - ret := C.NSString_inst_componentsSeparatedByString( + ret := C.NSString_inst_ComponentsSeparatedByString( unsafe.Pointer(x.Pointer()), objc.RefPointer(separator), ) @@ -5841,7 +5841,7 @@ func (x gen_NSString) ComponentsSeparatedByString( func (x gen_NSString) ContainsString( str NSStringRef, ) bool { - ret := C.NSString_inst_containsString( + ret := C.NSString_inst_ContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5856,7 +5856,7 @@ func (x gen_NSString) ContainsString( func (x gen_NSString) DataUsingEncoding( encoding NSStringEncoding, ) NSData { - ret := C.NSString_inst_dataUsingEncoding( + ret := C.NSString_inst_DataUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(encoding), ) @@ -5865,14 +5865,14 @@ func (x gen_NSString) DataUsingEncoding( } -// DataUsingEncoding_allowLossyConversion returns an nsdata object containing a representation of the receiver encoded using a given encoding. +// DataUsingEncodingAllowLossyConversion returns an nsdata object containing a representation of the receiver encoded using a given encoding. // // See https://developer.apple.com/documentation/foundation/nsstring/1413692-datausingencoding?language=objc for details. -func (x gen_NSString) DataUsingEncoding_allowLossyConversion( +func (x gen_NSString) DataUsingEncodingAllowLossyConversion( encoding NSStringEncoding, lossy bool, ) NSData { - ret := C.NSString_inst_dataUsingEncoding_allowLossyConversion( + ret := C.NSString_inst_DataUsingEncodingAllowLossyConversion( unsafe.Pointer(x.Pointer()), C.ulong(encoding), convertToObjCBool(lossy), @@ -5882,14 +5882,14 @@ func (x gen_NSString) DataUsingEncoding_allowLossyConversion( } -// DrawInRect_withAttributes draws the attributed string inside the specified bounding rectangle. +// DrawInRectWithAttributes draws the attributed string inside the specified bounding rectangle. // // See https://developer.apple.com/documentation/foundation/nsstring/1529855-drawinrect?language=objc for details. -func (x gen_NSString) DrawInRect_withAttributes( +func (x gen_NSString) DrawInRectWithAttributes( rect NSRect, attrs NSDictionaryRef, ) { - C.NSString_inst_drawInRect_withAttributes( + C.NSString_inst_DrawInRectWithAttributes( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&rect)), objc.RefPointer(attrs), @@ -5905,7 +5905,7 @@ func (x gen_NSString) DrawInRect_withAttributes( func (x gen_NSString) HasPrefix( str NSStringRef, ) bool { - ret := C.NSString_inst_hasPrefix( + ret := C.NSString_inst_HasPrefix( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5920,7 +5920,7 @@ func (x gen_NSString) HasPrefix( func (x gen_NSString) HasSuffix( str NSStringRef, ) bool { - ret := C.NSString_inst_hasSuffix( + ret := C.NSString_inst_HasSuffix( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -5933,7 +5933,7 @@ func (x gen_NSString) HasSuffix( // // See https://developer.apple.com/documentation/foundation/nsstring/1409306-init?language=objc for details. func (x gen_NSString) Init_asNSString() NSString { - ret := C.NSString_inst_init( + ret := C.NSString_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -5941,15 +5941,15 @@ func (x gen_NSString) Init_asNSString() NSString { } -// InitWithBytes_length_encoding returns an initialized nsstring object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding. +// InitWithBytesLengthEncoding returns an initialized nsstring object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding. // // See https://developer.apple.com/documentation/foundation/nsstring/1407339-initwithbytes?language=objc for details. -func (x gen_NSString) InitWithBytes_length_encoding_asNSString( +func (x gen_NSString) InitWithBytesLengthEncoding_asNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, ) NSString { - ret := C.NSString_inst_initWithBytes_length_encoding( + ret := C.NSString_inst_InitWithBytesLengthEncoding( unsafe.Pointer(x.Pointer()), bytes, C.ulong(len), @@ -5960,16 +5960,16 @@ func (x gen_NSString) InitWithBytes_length_encoding_asNSString( } -// InitWithBytesNoCopy_length_encoding_freeWhenDone returns an initialized nsstring object that contains a given number of bytes from a given buffer of bytes interpreted in a given encoding, and optionally frees the buffer. +// InitWithBytesNoCopyLengthEncodingFreeWhenDone returns an initialized nsstring object that contains a given number of bytes from a given buffer of bytes interpreted in a given encoding, and optionally frees the buffer. // // See https://developer.apple.com/documentation/foundation/nsstring/1413830-initwithbytesnocopy?language=objc for details. -func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSString( +func (x gen_NSString) InitWithBytesNoCopyLengthEncodingFreeWhenDone_asNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, freeBuffer bool, ) NSString { - ret := C.NSString_inst_initWithBytesNoCopy_length_encoding_freeWhenDone( + ret := C.NSString_inst_InitWithBytesNoCopyLengthEncodingFreeWhenDone( unsafe.Pointer(x.Pointer()), bytes, C.ulong(len), @@ -5981,14 +5981,14 @@ func (x gen_NSString) InitWithBytesNoCopy_length_encoding_freeWhenDone_asNSStrin } -// InitWithData_encoding returns an nsstring object initialized by converting given data into utf-16 code units using a given encoding. +// InitWithDataEncoding returns an nsstring object initialized by converting given data into utf-16 code units using a given encoding. // // See https://developer.apple.com/documentation/foundation/nsstring/1416374-initwithdata?language=objc for details. -func (x gen_NSString) InitWithData_encoding_asNSString( +func (x gen_NSString) InitWithDataEncoding_asNSString( data NSDataRef, encoding NSStringEncoding, ) NSString { - ret := C.NSString_inst_initWithData_encoding( + ret := C.NSString_inst_InitWithDataEncoding( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), C.ulong(encoding), @@ -6004,7 +6004,7 @@ func (x gen_NSString) InitWithData_encoding_asNSString( func (x gen_NSString) InitWithString_asNSString( aString NSStringRef, ) NSString { - ret := C.NSString_inst_initWithString( + ret := C.NSString_inst_InitWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) @@ -6019,7 +6019,7 @@ func (x gen_NSString) InitWithString_asNSString( func (x gen_NSString) IsEqualToString( aString NSStringRef, ) bool { - ret := C.NSString_inst_isEqualToString( + ret := C.NSString_inst_IsEqualToString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) @@ -6034,7 +6034,7 @@ func (x gen_NSString) IsEqualToString( func (x gen_NSString) LengthOfBytesUsingEncoding( enc NSStringEncoding, ) NSUInteger { - ret := C.NSString_inst_lengthOfBytesUsingEncoding( + ret := C.NSString_inst_LengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(enc), ) @@ -6049,7 +6049,7 @@ func (x gen_NSString) LengthOfBytesUsingEncoding( func (x gen_NSString) LocalizedCaseInsensitiveContainsString( str NSStringRef, ) bool { - ret := C.NSString_inst_localizedCaseInsensitiveContainsString( + ret := C.NSString_inst_LocalizedCaseInsensitiveContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -6064,7 +6064,7 @@ func (x gen_NSString) LocalizedCaseInsensitiveContainsString( func (x gen_NSString) LocalizedStandardContainsString( str NSStringRef, ) bool { - ret := C.NSString_inst_localizedStandardContainsString( + ret := C.NSString_inst_LocalizedStandardContainsString( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -6079,7 +6079,7 @@ func (x gen_NSString) LocalizedStandardContainsString( func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( enc NSStringEncoding, ) NSUInteger { - ret := C.NSString_inst_maximumLengthOfBytesUsingEncoding( + ret := C.NSString_inst_MaximumLengthOfBytesUsingEncoding( unsafe.Pointer(x.Pointer()), C.ulong(enc), ) @@ -6092,7 +6092,7 @@ func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( // // See https://developer.apple.com/documentation/foundation/nsstring/1413115-propertylist?language=objc for details. func (x gen_NSString) PropertyList() objc.Object { - ret := C.NSString_inst_propertyList( + ret := C.NSString_inst_PropertyList( unsafe.Pointer(x.Pointer()), ) @@ -6104,7 +6104,7 @@ func (x gen_NSString) PropertyList() objc.Object { // // See https://developer.apple.com/documentation/foundation/nsstring/1407697-propertylistfromstringsfileforma?language=objc for details. func (x gen_NSString) PropertyListFromStringsFileFormat() NSDictionary { - ret := C.NSString_inst_propertyListFromStringsFileFormat( + ret := C.NSString_inst_PropertyListFromStringsFileFormat( unsafe.Pointer(x.Pointer()), ) @@ -6118,7 +6118,7 @@ func (x gen_NSString) PropertyListFromStringsFileFormat() NSDictionary { func (x gen_NSString) SizeWithAttributes( attrs NSDictionaryRef, ) NSSize { - ret := C.NSString_inst_sizeWithAttributes( + ret := C.NSString_inst_SizeWithAttributes( unsafe.Pointer(x.Pointer()), objc.RefPointer(attrs), ) @@ -6133,7 +6133,7 @@ func (x gen_NSString) SizeWithAttributes( func (x gen_NSString) StringByAppendingPathComponent( str NSStringRef, ) NSString { - ret := C.NSString_inst_stringByAppendingPathComponent( + ret := C.NSString_inst_StringByAppendingPathComponent( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -6148,7 +6148,7 @@ func (x gen_NSString) StringByAppendingPathComponent( func (x gen_NSString) StringByAppendingPathExtension( str NSStringRef, ) NSString { - ret := C.NSString_inst_stringByAppendingPathExtension( + ret := C.NSString_inst_StringByAppendingPathExtension( unsafe.Pointer(x.Pointer()), objc.RefPointer(str), ) @@ -6163,7 +6163,7 @@ func (x gen_NSString) StringByAppendingPathExtension( func (x gen_NSString) StringByAppendingString( aString NSStringRef, ) NSString { - ret := C.NSString_inst_stringByAppendingString( + ret := C.NSString_inst_StringByAppendingString( unsafe.Pointer(x.Pointer()), objc.RefPointer(aString), ) @@ -6172,15 +6172,15 @@ func (x gen_NSString) StringByAppendingString( } -// StringByPaddingToLength_withString_startingAtIndex returns a new string formed from the receiver by either removing characters from the end, or by appending as many occurrences as necessary of a given pad string. +// StringByPaddingToLengthWithStringStartingAtIndex returns a new string formed from the receiver by either removing characters from the end, or by appending as many occurrences as necessary of a given pad string. // // See https://developer.apple.com/documentation/foundation/nsstring/1416395-stringbypaddingtolength?language=objc for details. -func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( +func (x gen_NSString) StringByPaddingToLengthWithStringStartingAtIndex( newLength NSUInteger, padString NSStringRef, padIndex NSUInteger, ) NSString { - ret := C.NSString_inst_stringByPaddingToLength_withString_startingAtIndex( + ret := C.NSString_inst_StringByPaddingToLengthWithStringStartingAtIndex( unsafe.Pointer(x.Pointer()), C.ulong(newLength), objc.RefPointer(padString), @@ -6191,14 +6191,14 @@ func (x gen_NSString) StringByPaddingToLength_withString_startingAtIndex( } -// StringByReplacingOccurrencesOfString_withString returns a new string in which all occurrences of a target string in the receiver are replaced by another given string. +// StringByReplacingOccurrencesOfStringWithString returns a new string in which all occurrences of a target string in the receiver are replaced by another given string. // // See https://developer.apple.com/documentation/foundation/nsstring/1412937-stringbyreplacingoccurrencesofst?language=objc for details. -func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( +func (x gen_NSString) StringByReplacingOccurrencesOfStringWithString( target NSStringRef, replacement NSStringRef, ) NSString { - ret := C.NSString_inst_stringByReplacingOccurrencesOfString_withString( + ret := C.NSString_inst_StringByReplacingOccurrencesOfStringWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), objc.RefPointer(replacement), @@ -6214,7 +6214,7 @@ func (x gen_NSString) StringByReplacingOccurrencesOfString_withString( func (x gen_NSString) StringsByAppendingPaths( paths NSArrayRef, ) NSArray { - ret := C.NSString_inst_stringsByAppendingPaths( + ret := C.NSString_inst_StringsByAppendingPaths( unsafe.Pointer(x.Pointer()), objc.RefPointer(paths), ) @@ -6229,7 +6229,7 @@ func (x gen_NSString) StringsByAppendingPaths( func (x gen_NSString) SubstringFromIndex( from NSUInteger, ) NSString { - ret := C.NSString_inst_substringFromIndex( + ret := C.NSString_inst_SubstringFromIndex( unsafe.Pointer(x.Pointer()), C.ulong(from), ) @@ -6244,7 +6244,7 @@ func (x gen_NSString) SubstringFromIndex( func (x gen_NSString) SubstringToIndex( to NSUInteger, ) NSString { - ret := C.NSString_inst_substringToIndex( + ret := C.NSString_inst_SubstringToIndex( unsafe.Pointer(x.Pointer()), C.ulong(to), ) @@ -6259,7 +6259,7 @@ func (x gen_NSString) SubstringToIndex( func (x gen_NSString) VariantFittingPresentationWidth( width NSInteger, ) NSString { - ret := C.NSString_inst_variantFittingPresentationWidth( + ret := C.NSString_inst_VariantFittingPresentationWidth( unsafe.Pointer(x.Pointer()), C.long(width), ) @@ -6272,7 +6272,7 @@ func (x gen_NSString) VariantFittingPresentationWidth( // // See https://developer.apple.com/documentation/foundation/nsstring/1414212-length?language=objc for details. func (x gen_NSString) Length() NSUInteger { - ret := C.NSString_inst_length( + ret := C.NSString_inst_Length( unsafe.Pointer(x.Pointer()), ) @@ -6284,7 +6284,7 @@ func (x gen_NSString) Length() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsstring/1417245-hash?language=objc for details. func (x gen_NSString) Hash() NSUInteger { - ret := C.NSString_inst_hash( + ret := C.NSString_inst_Hash( unsafe.Pointer(x.Pointer()), ) @@ -6296,7 +6296,7 @@ func (x gen_NSString) Hash() NSUInteger { // // See https://developer.apple.com/documentation/foundation/nsstring/1408467-lowercasestring?language=objc for details. func (x gen_NSString) LowercaseString() NSString { - ret := C.NSString_inst_lowercaseString( + ret := C.NSString_inst_LowercaseString( unsafe.Pointer(x.Pointer()), ) @@ -6308,7 +6308,7 @@ func (x gen_NSString) LowercaseString() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1414125-localizedlowercasestring?language=objc for details. func (x gen_NSString) LocalizedLowercaseString() NSString { - ret := C.NSString_inst_localizedLowercaseString( + ret := C.NSString_inst_LocalizedLowercaseString( unsafe.Pointer(x.Pointer()), ) @@ -6320,7 +6320,7 @@ func (x gen_NSString) LocalizedLowercaseString() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1409855-uppercasestring?language=objc for details. func (x gen_NSString) UppercaseString() NSString { - ret := C.NSString_inst_uppercaseString( + ret := C.NSString_inst_UppercaseString( unsafe.Pointer(x.Pointer()), ) @@ -6332,7 +6332,7 @@ func (x gen_NSString) UppercaseString() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1413331-localizeduppercasestring?language=objc for details. func (x gen_NSString) LocalizedUppercaseString() NSString { - ret := C.NSString_inst_localizedUppercaseString( + ret := C.NSString_inst_LocalizedUppercaseString( unsafe.Pointer(x.Pointer()), ) @@ -6344,7 +6344,7 @@ func (x gen_NSString) LocalizedUppercaseString() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1416784-capitalizedstring?language=objc for details. func (x gen_NSString) CapitalizedString() NSString { - ret := C.NSString_inst_capitalizedString( + ret := C.NSString_inst_CapitalizedString( unsafe.Pointer(x.Pointer()), ) @@ -6356,7 +6356,7 @@ func (x gen_NSString) CapitalizedString() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1414885-localizedcapitalizedstring?language=objc for details. func (x gen_NSString) LocalizedCapitalizedString() NSString { - ret := C.NSString_inst_localizedCapitalizedString( + ret := C.NSString_inst_LocalizedCapitalizedString( unsafe.Pointer(x.Pointer()), ) @@ -6368,7 +6368,7 @@ func (x gen_NSString) LocalizedCapitalizedString() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1409474-decomposedstringwithcanonicalmap?language=objc for details. func (x gen_NSString) DecomposedStringWithCanonicalMapping() NSString { - ret := C.NSString_inst_decomposedStringWithCanonicalMapping( + ret := C.NSString_inst_DecomposedStringWithCanonicalMapping( unsafe.Pointer(x.Pointer()), ) @@ -6380,7 +6380,7 @@ func (x gen_NSString) DecomposedStringWithCanonicalMapping() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1415417-decomposedstringwithcompatibilit?language=objc for details. func (x gen_NSString) DecomposedStringWithCompatibilityMapping() NSString { - ret := C.NSString_inst_decomposedStringWithCompatibilityMapping( + ret := C.NSString_inst_DecomposedStringWithCompatibilityMapping( unsafe.Pointer(x.Pointer()), ) @@ -6392,7 +6392,7 @@ func (x gen_NSString) DecomposedStringWithCompatibilityMapping() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1412645-precomposedstringwithcanonicalma?language=objc for details. func (x gen_NSString) PrecomposedStringWithCanonicalMapping() NSString { - ret := C.NSString_inst_precomposedStringWithCanonicalMapping( + ret := C.NSString_inst_PrecomposedStringWithCanonicalMapping( unsafe.Pointer(x.Pointer()), ) @@ -6404,7 +6404,7 @@ func (x gen_NSString) PrecomposedStringWithCanonicalMapping() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1412625-precomposedstringwithcompatibili?language=objc for details. func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() NSString { - ret := C.NSString_inst_precomposedStringWithCompatibilityMapping( + ret := C.NSString_inst_PrecomposedStringWithCompatibilityMapping( unsafe.Pointer(x.Pointer()), ) @@ -6416,7 +6416,7 @@ func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1414988-intvalue?language=objc for details. func (x gen_NSString) IntValue() int32 { - ret := C.NSString_inst_intValue( + ret := C.NSString_inst_IntValue( unsafe.Pointer(x.Pointer()), ) @@ -6428,7 +6428,7 @@ func (x gen_NSString) IntValue() int32 { // // See https://developer.apple.com/documentation/foundation/nsstring/1410267-integervalue?language=objc for details. func (x gen_NSString) IntegerValue() NSInteger { - ret := C.NSString_inst_integerValue( + ret := C.NSString_inst_IntegerValue( unsafe.Pointer(x.Pointer()), ) @@ -6440,7 +6440,7 @@ func (x gen_NSString) IntegerValue() NSInteger { // // See https://developer.apple.com/documentation/foundation/nsstring/1409420-boolvalue?language=objc for details. func (x gen_NSString) BoolValue() bool { - ret := C.NSString_inst_boolValue( + ret := C.NSString_inst_BoolValue( unsafe.Pointer(x.Pointer()), ) @@ -6452,7 +6452,7 @@ func (x gen_NSString) BoolValue() bool { // // See https://developer.apple.com/documentation/foundation/nsstring/1410889-description?language=objc for details. func (x gen_NSString) Description() NSString { - ret := C.NSString_inst_description( + ret := C.NSString_inst_Description( unsafe.Pointer(x.Pointer()), ) @@ -6464,7 +6464,7 @@ func (x gen_NSString) Description() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1409567-fastestencoding?language=objc for details. func (x gen_NSString) FastestEncoding() NSStringEncoding { - ret := C.NSString_inst_fastestEncoding( + ret := C.NSString_inst_FastestEncoding( unsafe.Pointer(x.Pointer()), ) @@ -6476,7 +6476,7 @@ func (x gen_NSString) FastestEncoding() NSStringEncoding { // // See https://developer.apple.com/documentation/foundation/nsstring/1418037-smallestencoding?language=objc for details. func (x gen_NSString) SmallestEncoding() NSStringEncoding { - ret := C.NSString_inst_smallestEncoding( + ret := C.NSString_inst_SmallestEncoding( unsafe.Pointer(x.Pointer()), ) @@ -6488,7 +6488,7 @@ func (x gen_NSString) SmallestEncoding() NSStringEncoding { // // See https://developer.apple.com/documentation/foundation/nsstring/1414489-pathcomponents?language=objc for details. func (x gen_NSString) PathComponents() NSArray { - ret := C.NSString_inst_pathComponents( + ret := C.NSString_inst_PathComponents( unsafe.Pointer(x.Pointer()), ) @@ -6500,7 +6500,7 @@ func (x gen_NSString) PathComponents() NSArray { // // See https://developer.apple.com/documentation/foundation/nsstring/1409068-absolutepath?language=objc for details. func (x gen_NSString) IsAbsolutePath() bool { - ret := C.NSString_inst_isAbsolutePath( + ret := C.NSString_inst_IsAbsolutePath( unsafe.Pointer(x.Pointer()), ) @@ -6512,7 +6512,7 @@ func (x gen_NSString) IsAbsolutePath() bool { // // See https://developer.apple.com/documentation/foundation/nsstring/1416528-lastpathcomponent?language=objc for details. func (x gen_NSString) LastPathComponent() NSString { - ret := C.NSString_inst_lastPathComponent( + ret := C.NSString_inst_LastPathComponent( unsafe.Pointer(x.Pointer()), ) @@ -6524,7 +6524,7 @@ func (x gen_NSString) LastPathComponent() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1407801-pathextension?language=objc for details. func (x gen_NSString) PathExtension() NSString { - ret := C.NSString_inst_pathExtension( + ret := C.NSString_inst_PathExtension( unsafe.Pointer(x.Pointer()), ) @@ -6536,7 +6536,7 @@ func (x gen_NSString) PathExtension() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1407943-stringbyabbreviatingwithtildeinp?language=objc for details. func (x gen_NSString) StringByAbbreviatingWithTildeInPath() NSString { - ret := C.NSString_inst_stringByAbbreviatingWithTildeInPath( + ret := C.NSString_inst_StringByAbbreviatingWithTildeInPath( unsafe.Pointer(x.Pointer()), ) @@ -6548,7 +6548,7 @@ func (x gen_NSString) StringByAbbreviatingWithTildeInPath() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1411141-stringbydeletinglastpathcomponen?language=objc for details. func (x gen_NSString) StringByDeletingLastPathComponent() NSString { - ret := C.NSString_inst_stringByDeletingLastPathComponent( + ret := C.NSString_inst_StringByDeletingLastPathComponent( unsafe.Pointer(x.Pointer()), ) @@ -6560,7 +6560,7 @@ func (x gen_NSString) StringByDeletingLastPathComponent() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1418214-stringbydeletingpathextension?language=objc for details. func (x gen_NSString) StringByDeletingPathExtension() NSString { - ret := C.NSString_inst_stringByDeletingPathExtension( + ret := C.NSString_inst_StringByDeletingPathExtension( unsafe.Pointer(x.Pointer()), ) @@ -6572,7 +6572,7 @@ func (x gen_NSString) StringByDeletingPathExtension() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1407716-stringbyexpandingtildeinpath?language=objc for details. func (x gen_NSString) StringByExpandingTildeInPath() NSString { - ret := C.NSString_inst_stringByExpandingTildeInPath( + ret := C.NSString_inst_StringByExpandingTildeInPath( unsafe.Pointer(x.Pointer()), ) @@ -6584,7 +6584,7 @@ func (x gen_NSString) StringByExpandingTildeInPath() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1417783-stringbyresolvingsymlinksinpath?language=objc for details. func (x gen_NSString) StringByResolvingSymlinksInPath() NSString { - ret := C.NSString_inst_stringByResolvingSymlinksInPath( + ret := C.NSString_inst_StringByResolvingSymlinksInPath( unsafe.Pointer(x.Pointer()), ) @@ -6596,7 +6596,7 @@ func (x gen_NSString) StringByResolvingSymlinksInPath() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1407194-stringbystandardizingpath?language=objc for details. func (x gen_NSString) StringByStandardizingPath() NSString { - ret := C.NSString_inst_stringByStandardizingPath( + ret := C.NSString_inst_StringByStandardizingPath( unsafe.Pointer(x.Pointer()), ) @@ -6608,7 +6608,7 @@ func (x gen_NSString) StringByStandardizingPath() NSString { // // See https://developer.apple.com/documentation/foundation/nsstring/1409569-stringbyremovingpercentencoding?language=objc for details. func (x gen_NSString) StringByRemovingPercentEncoding() NSString { - ret := C.NSString_inst_stringByRemovingPercentEncoding( + ret := C.NSString_inst_StringByRemovingPercentEncoding( unsafe.Pointer(x.Pointer()), ) @@ -6639,7 +6639,7 @@ func NSThread_fromRef(ref objc.Ref) NSThread { // // See https://developer.apple.com/documentation/foundation/nsthread/1411303-cancel?language=objc for details. func (x gen_NSThread) Cancel() { - C.NSThread_inst_cancel( + C.NSThread_inst_Cancel( unsafe.Pointer(x.Pointer()), ) @@ -6651,7 +6651,7 @@ func (x gen_NSThread) Cancel() { // // See https://developer.apple.com/documentation/foundation/nsthread/1416464-init?language=objc for details. func (x gen_NSThread) Init_asNSThread() NSThread { - ret := C.NSThread_inst_init( + ret := C.NSThread_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -6659,15 +6659,15 @@ func (x gen_NSThread) Init_asNSThread() NSThread { } -// InitWithTarget_selector_object returns an nsthread object initialized with the given arguments. +// InitWithTargetSelectorObject returns an nsthread object initialized with the given arguments. // // See https://developer.apple.com/documentation/foundation/nsthread/1414773-initwithtarget?language=objc for details. -func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( +func (x gen_NSThread) InitWithTargetSelectorObject_asNSThread( target objc.Ref, selector objc.Selector, argument objc.Ref, ) NSThread { - ret := C.NSThread_inst_initWithTarget_selector_object( + ret := C.NSThread_inst_InitWithTargetSelectorObject( unsafe.Pointer(x.Pointer()), objc.RefPointer(target), selector.SelectorAddress(), @@ -6682,7 +6682,7 @@ func (x gen_NSThread) InitWithTarget_selector_object_asNSThread( // // See https://developer.apple.com/documentation/foundation/nsthread/1418421-main?language=objc for details. func (x gen_NSThread) Main() { - C.NSThread_inst_main( + C.NSThread_inst_Main( unsafe.Pointer(x.Pointer()), ) @@ -6694,7 +6694,7 @@ func (x gen_NSThread) Main() { // // See https://developer.apple.com/documentation/foundation/nsthread/1418166-start?language=objc for details. func (x gen_NSThread) Start() { - C.NSThread_inst_start( + C.NSThread_inst_Start( unsafe.Pointer(x.Pointer()), ) @@ -6706,7 +6706,7 @@ func (x gen_NSThread) Start() { // // See https://developer.apple.com/documentation/foundation/nsthread/1411240-executing?language=objc for details. func (x gen_NSThread) IsExecuting() bool { - ret := C.NSThread_inst_isExecuting( + ret := C.NSThread_inst_IsExecuting( unsafe.Pointer(x.Pointer()), ) @@ -6718,7 +6718,7 @@ func (x gen_NSThread) IsExecuting() bool { // // See https://developer.apple.com/documentation/foundation/nsthread/1409297-finished?language=objc for details. func (x gen_NSThread) IsFinished() bool { - ret := C.NSThread_inst_isFinished( + ret := C.NSThread_inst_IsFinished( unsafe.Pointer(x.Pointer()), ) @@ -6730,7 +6730,7 @@ func (x gen_NSThread) IsFinished() bool { // // See https://developer.apple.com/documentation/foundation/nsthread/1417366-cancelled?language=objc for details. func (x gen_NSThread) IsCancelled() bool { - ret := C.NSThread_inst_isCancelled( + ret := C.NSThread_inst_IsCancelled( unsafe.Pointer(x.Pointer()), ) @@ -6742,7 +6742,7 @@ func (x gen_NSThread) IsCancelled() bool { // // See https://developer.apple.com/documentation/foundation/nsthread/1408455-ismainthread?language=objc for details. func (x gen_NSThread) IsMainThread() bool { - ret := C.NSThread_inst_isMainThread( + ret := C.NSThread_inst_IsMainThread( unsafe.Pointer(x.Pointer()), ) @@ -6754,7 +6754,7 @@ func (x gen_NSThread) IsMainThread() bool { // // See https://developer.apple.com/documentation/foundation/nsthread/1414122-name?language=objc for details. func (x gen_NSThread) Name() NSString { - ret := C.NSThread_inst_name( + ret := C.NSThread_inst_Name( unsafe.Pointer(x.Pointer()), ) @@ -6768,7 +6768,7 @@ func (x gen_NSThread) Name() NSString { func (x gen_NSThread) SetName( value NSStringRef, ) { - C.NSThread_inst_setName( + C.NSThread_inst_SetName( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -6781,7 +6781,7 @@ func (x gen_NSThread) SetName( // // See https://developer.apple.com/documentation/foundation/nsthread/1415190-stacksize?language=objc for details. func (x gen_NSThread) StackSize() NSUInteger { - ret := C.NSThread_inst_stackSize( + ret := C.NSThread_inst_StackSize( unsafe.Pointer(x.Pointer()), ) @@ -6795,7 +6795,7 @@ func (x gen_NSThread) StackSize() NSUInteger { func (x gen_NSThread) SetStackSize( value NSUInteger, ) { - C.NSThread_inst_setStackSize( + C.NSThread_inst_SetStackSize( unsafe.Pointer(x.Pointer()), C.ulong(value), ) @@ -6838,14 +6838,14 @@ func (x gen_NSURL) URLByAppendingPathComponent( } -// URLByAppendingPathComponent_isDirectory returns a new url made by appending a path component to the original url, along with a trailing slash if the component is designated a directory. +// URLByAppendingPathComponentIsDirectory returns a new url made by appending a path component to the original url, along with a trailing slash if the component is designated a directory. // // See https://developer.apple.com/documentation/foundation/nsurl/1413953-urlbyappendingpathcomponent?language=objc for details. -func (x gen_NSURL) URLByAppendingPathComponent_isDirectory( +func (x gen_NSURL) URLByAppendingPathComponentIsDirectory( pathComponent NSStringRef, isDirectory bool, ) NSURL { - ret := C.NSURL_inst_URLByAppendingPathComponent_isDirectory( + ret := C.NSURL_inst_URLByAppendingPathComponentIsDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(pathComponent), convertToObjCBool(isDirectory), @@ -6874,7 +6874,7 @@ func (x gen_NSURL) URLByAppendingPathExtension( // // See https://developer.apple.com/documentation/foundation/nsurl/1408631-filereferenceurl?language=objc for details. func (x gen_NSURL) FileReferenceURL() NSURL { - ret := C.NSURL_inst_fileReferenceURL( + ret := C.NSURL_inst_FileReferenceURL( unsafe.Pointer(x.Pointer()), ) @@ -6882,14 +6882,14 @@ func (x gen_NSURL) FileReferenceURL() NSURL { } -// InitAbsoluteURLWithDataRepresentation_relativeToURL +// InitAbsoluteURLWithDataRepresentationRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1410750-initabsoluteurlwithdatarepresent?language=objc for details. -func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( +func (x gen_NSURL) InitAbsoluteURLWithDataRepresentationRelativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, ) NSURL { - ret := C.NSURL_inst_initAbsoluteURLWithDataRepresentation_relativeToURL( + ret := C.NSURL_inst_InitAbsoluteURLWithDataRepresentationRelativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), @@ -6905,7 +6905,7 @@ func (x gen_NSURL) InitAbsoluteURLWithDataRepresentation_relativeToURL_asNSURL( func (x gen_NSURL) InitFileURLWithPath_asNSURL( path NSStringRef, ) NSURL { - ret := C.NSURL_inst_initFileURLWithPath( + ret := C.NSURL_inst_InitFileURLWithPath( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), ) @@ -6914,14 +6914,14 @@ func (x gen_NSURL) InitFileURLWithPath_asNSURL( } -// InitFileURLWithPath_isDirectory initializes a newly created nsurl referencing the local file or directory at path. +// InitFileURLWithPathIsDirectory initializes a newly created nsurl referencing the local file or directory at path. // // See https://developer.apple.com/documentation/foundation/nsurl/1417505-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( +func (x gen_NSURL) InitFileURLWithPathIsDirectory_asNSURL( path NSStringRef, isDir bool, ) NSURL { - ret := C.NSURL_inst_initFileURLWithPath_isDirectory( + ret := C.NSURL_inst_InitFileURLWithPathIsDirectory( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(isDir), @@ -6931,15 +6931,15 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory_asNSURL( } -// InitFileURLWithPath_isDirectory_relativeToURL +// InitFileURLWithPathIsDirectoryRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1417932-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( +func (x gen_NSURL) InitFileURLWithPathIsDirectoryRelativeToURL_asNSURL( path NSStringRef, isDir bool, baseURL NSURLRef, ) NSURL { - ret := C.NSURL_inst_initFileURLWithPath_isDirectory_relativeToURL( + ret := C.NSURL_inst_InitFileURLWithPathIsDirectoryRelativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), convertToObjCBool(isDir), @@ -6950,14 +6950,14 @@ func (x gen_NSURL) InitFileURLWithPath_isDirectory_relativeToURL_asNSURL( } -// InitFileURLWithPath_relativeToURL +// InitFileURLWithPathRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1415077-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( +func (x gen_NSURL) InitFileURLWithPathRelativeToURL_asNSURL( path NSStringRef, baseURL NSURLRef, ) NSURL { - ret := C.NSURL_inst_initFileURLWithPath_relativeToURL( + ret := C.NSURL_inst_InitFileURLWithPathRelativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(path), objc.RefPointer(baseURL), @@ -6967,14 +6967,14 @@ func (x gen_NSURL) InitFileURLWithPath_relativeToURL_asNSURL( } -// InitWithDataRepresentation_relativeToURL +// InitWithDataRepresentationRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1416851-initwithdatarepresentation?language=objc for details. -func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( +func (x gen_NSURL) InitWithDataRepresentationRelativeToURL_asNSURL( data NSDataRef, baseURL NSURLRef, ) NSURL { - ret := C.NSURL_inst_initWithDataRepresentation_relativeToURL( + ret := C.NSURL_inst_InitWithDataRepresentationRelativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(baseURL), @@ -6990,7 +6990,7 @@ func (x gen_NSURL) InitWithDataRepresentation_relativeToURL_asNSURL( func (x gen_NSURL) InitWithString_asNSURL( URLString NSStringRef, ) NSURL { - ret := C.NSURL_inst_initWithString( + ret := C.NSURL_inst_InitWithString( unsafe.Pointer(x.Pointer()), objc.RefPointer(URLString), ) @@ -6999,14 +6999,14 @@ func (x gen_NSURL) InitWithString_asNSURL( } -// InitWithString_relativeToURL initializes an nsurl object with a base url and a relative string. +// InitWithStringRelativeToURL initializes an nsurl object with a base url and a relative string. // // See https://developer.apple.com/documentation/foundation/nsurl/1417949-initwithstring?language=objc for details. -func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( +func (x gen_NSURL) InitWithStringRelativeToURL_asNSURL( URLString NSStringRef, baseURL NSURLRef, ) NSURL { - ret := C.NSURL_inst_initWithString_relativeToURL( + ret := C.NSURL_inst_InitWithStringRelativeToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URLString), objc.RefPointer(baseURL), @@ -7020,7 +7020,7 @@ func (x gen_NSURL) InitWithString_relativeToURL_asNSURL( // // See https://developer.apple.com/documentation/foundation/nsurl/1408507-isfilereferenceurl?language=objc for details. func (x gen_NSURL) IsFileReferenceURL() bool { - ret := C.NSURL_inst_isFileReferenceURL( + ret := C.NSURL_inst_IsFileReferenceURL( unsafe.Pointer(x.Pointer()), ) @@ -7032,7 +7032,7 @@ func (x gen_NSURL) IsFileReferenceURL() bool { // // See https://developer.apple.com/documentation/foundation/nsurl/1417078-removeallcachedresourcevalues?language=objc for details. func (x gen_NSURL) RemoveAllCachedResourceValues() { - C.NSURL_inst_removeAllCachedResourceValues( + C.NSURL_inst_RemoveAllCachedResourceValues( unsafe.Pointer(x.Pointer()), ) @@ -7044,7 +7044,7 @@ func (x gen_NSURL) RemoveAllCachedResourceValues() { // // See https://developer.apple.com/documentation/foundation/nsurl/1417051-startaccessingsecurityscopedreso?language=objc for details. func (x gen_NSURL) StartAccessingSecurityScopedResource() bool { - ret := C.NSURL_inst_startAccessingSecurityScopedResource( + ret := C.NSURL_inst_StartAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), ) @@ -7056,7 +7056,7 @@ func (x gen_NSURL) StartAccessingSecurityScopedResource() bool { // // See https://developer.apple.com/documentation/foundation/nsurl/1413736-stopaccessingsecurityscopedresou?language=objc for details. func (x gen_NSURL) StopAccessingSecurityScopedResource() { - C.NSURL_inst_stopAccessingSecurityScopedResource( + C.NSURL_inst_StopAccessingSecurityScopedResource( unsafe.Pointer(x.Pointer()), ) @@ -7068,7 +7068,7 @@ func (x gen_NSURL) StopAccessingSecurityScopedResource() { // // See for details. func (x gen_NSURL) Init_asNSURL() NSURL { - ret := C.NSURL_inst_init( + ret := C.NSURL_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -7080,7 +7080,7 @@ func (x gen_NSURL) Init_asNSURL() NSURL { // // See https://developer.apple.com/documentation/foundation/nsurl/1407656-datarepresentation?language=objc for details. func (x gen_NSURL) DataRepresentation() NSData { - ret := C.NSURL_inst_dataRepresentation( + ret := C.NSURL_inst_DataRepresentation( unsafe.Pointer(x.Pointer()), ) @@ -7092,7 +7092,7 @@ func (x gen_NSURL) DataRepresentation() NSData { // // See https://developer.apple.com/documentation/foundation/nsurl/1408782-fileurl?language=objc for details. func (x gen_NSURL) IsFileURL() bool { - ret := C.NSURL_inst_isFileURL( + ret := C.NSURL_inst_IsFileURL( unsafe.Pointer(x.Pointer()), ) @@ -7104,7 +7104,7 @@ func (x gen_NSURL) IsFileURL() bool { // // See https://developer.apple.com/documentation/foundation/nsurl/1409868-absolutestring?language=objc for details. func (x gen_NSURL) AbsoluteString() NSString { - ret := C.NSURL_inst_absoluteString( + ret := C.NSURL_inst_AbsoluteString( unsafe.Pointer(x.Pointer()), ) @@ -7116,7 +7116,7 @@ func (x gen_NSURL) AbsoluteString() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1414266-absoluteurl?language=objc for details. func (x gen_NSURL) AbsoluteURL() NSURL { - ret := C.NSURL_inst_absoluteURL( + ret := C.NSURL_inst_AbsoluteURL( unsafe.Pointer(x.Pointer()), ) @@ -7128,7 +7128,7 @@ func (x gen_NSURL) AbsoluteURL() NSURL { // // See https://developer.apple.com/documentation/foundation/nsurl/1412311-baseurl?language=objc for details. func (x gen_NSURL) BaseURL() NSURL { - ret := C.NSURL_inst_baseURL( + ret := C.NSURL_inst_BaseURL( unsafe.Pointer(x.Pointer()), ) @@ -7140,7 +7140,7 @@ func (x gen_NSURL) BaseURL() NSURL { // // See https://developer.apple.com/documentation/foundation/nsurl/1413775-fragment?language=objc for details. func (x gen_NSURL) Fragment() NSString { - ret := C.NSURL_inst_fragment( + ret := C.NSURL_inst_Fragment( unsafe.Pointer(x.Pointer()), ) @@ -7152,7 +7152,7 @@ func (x gen_NSURL) Fragment() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1413640-host?language=objc for details. func (x gen_NSURL) Host() NSString { - ret := C.NSURL_inst_host( + ret := C.NSURL_inst_Host( unsafe.Pointer(x.Pointer()), ) @@ -7164,7 +7164,7 @@ func (x gen_NSURL) Host() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1417444-lastpathcomponent?language=objc for details. func (x gen_NSURL) LastPathComponent() NSString { - ret := C.NSURL_inst_lastPathComponent( + ret := C.NSURL_inst_LastPathComponent( unsafe.Pointer(x.Pointer()), ) @@ -7176,7 +7176,7 @@ func (x gen_NSURL) LastPathComponent() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1412096-password?language=objc for details. func (x gen_NSURL) Password() NSString { - ret := C.NSURL_inst_password( + ret := C.NSURL_inst_Password( unsafe.Pointer(x.Pointer()), ) @@ -7188,7 +7188,7 @@ func (x gen_NSURL) Password() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1408809-path?language=objc for details. func (x gen_NSURL) Path() NSString { - ret := C.NSURL_inst_path( + ret := C.NSURL_inst_Path( unsafe.Pointer(x.Pointer()), ) @@ -7200,7 +7200,7 @@ func (x gen_NSURL) Path() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1407365-pathcomponents?language=objc for details. func (x gen_NSURL) PathComponents() NSArray { - ret := C.NSURL_inst_pathComponents( + ret := C.NSURL_inst_PathComponents( unsafe.Pointer(x.Pointer()), ) @@ -7212,7 +7212,7 @@ func (x gen_NSURL) PathComponents() NSArray { // // See https://developer.apple.com/documentation/foundation/nsurl/1410208-pathextension?language=objc for details. func (x gen_NSURL) PathExtension() NSString { - ret := C.NSURL_inst_pathExtension( + ret := C.NSURL_inst_PathExtension( unsafe.Pointer(x.Pointer()), ) @@ -7224,7 +7224,7 @@ func (x gen_NSURL) PathExtension() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1413455-port?language=objc for details. func (x gen_NSURL) Port() NSNumber { - ret := C.NSURL_inst_port( + ret := C.NSURL_inst_Port( unsafe.Pointer(x.Pointer()), ) @@ -7236,7 +7236,7 @@ func (x gen_NSURL) Port() NSNumber { // // See https://developer.apple.com/documentation/foundation/nsurl/1407543-query?language=objc for details. func (x gen_NSURL) Query() NSString { - ret := C.NSURL_inst_query( + ret := C.NSURL_inst_Query( unsafe.Pointer(x.Pointer()), ) @@ -7248,7 +7248,7 @@ func (x gen_NSURL) Query() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1410263-relativepath?language=objc for details. func (x gen_NSURL) RelativePath() NSString { - ret := C.NSURL_inst_relativePath( + ret := C.NSURL_inst_RelativePath( unsafe.Pointer(x.Pointer()), ) @@ -7260,7 +7260,7 @@ func (x gen_NSURL) RelativePath() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1411417-relativestring?language=objc for details. func (x gen_NSURL) RelativeString() NSString { - ret := C.NSURL_inst_relativeString( + ret := C.NSURL_inst_RelativeString( unsafe.Pointer(x.Pointer()), ) @@ -7272,7 +7272,7 @@ func (x gen_NSURL) RelativeString() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1415309-resourcespecifier?language=objc for details. func (x gen_NSURL) ResourceSpecifier() NSString { - ret := C.NSURL_inst_resourceSpecifier( + ret := C.NSURL_inst_ResourceSpecifier( unsafe.Pointer(x.Pointer()), ) @@ -7284,7 +7284,7 @@ func (x gen_NSURL) ResourceSpecifier() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1413437-scheme?language=objc for details. func (x gen_NSURL) Scheme() NSString { - ret := C.NSURL_inst_scheme( + ret := C.NSURL_inst_Scheme( unsafe.Pointer(x.Pointer()), ) @@ -7296,7 +7296,7 @@ func (x gen_NSURL) Scheme() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1411073-standardizedurl?language=objc for details. func (x gen_NSURL) StandardizedURL() NSURL { - ret := C.NSURL_inst_standardizedURL( + ret := C.NSURL_inst_StandardizedURL( unsafe.Pointer(x.Pointer()), ) @@ -7308,7 +7308,7 @@ func (x gen_NSURL) StandardizedURL() NSURL { // // See https://developer.apple.com/documentation/foundation/nsurl/1418335-user?language=objc for details. func (x gen_NSURL) User() NSString { - ret := C.NSURL_inst_user( + ret := C.NSURL_inst_User( unsafe.Pointer(x.Pointer()), ) @@ -7320,7 +7320,7 @@ func (x gen_NSURL) User() NSString { // // See https://developer.apple.com/documentation/foundation/nsurl/1408442-filepathurl?language=objc for details. func (x gen_NSURL) FilePathURL() NSURL { - ret := C.NSURL_inst_filePathURL( + ret := C.NSURL_inst_FilePathURL( unsafe.Pointer(x.Pointer()), ) @@ -7380,7 +7380,7 @@ func (x gen_NSURL) URLByStandardizingPath() NSURL { // // See https://developer.apple.com/documentation/foundation/nsurl/1411475-hasdirectorypath?language=objc for details. func (x gen_NSURL) HasDirectoryPath() bool { - ret := C.NSURL_inst_hasDirectoryPath( + ret := C.NSURL_inst_HasDirectoryPath( unsafe.Pointer(x.Pointer()), ) @@ -7413,7 +7413,7 @@ func NSURLRequest_fromRef(ref objc.Ref) NSURLRequest { func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( URL NSURLRef, ) NSURLRequest { - ret := C.NSURLRequest_inst_initWithURL( + ret := C.NSURLRequest_inst_InitWithURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URL), ) @@ -7428,7 +7428,7 @@ func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( func (x gen_NSURLRequest) ValueForHTTPHeaderField( field NSStringRef, ) NSString { - ret := C.NSURLRequest_inst_valueForHTTPHeaderField( + ret := C.NSURLRequest_inst_ValueForHTTPHeaderField( unsafe.Pointer(x.Pointer()), objc.RefPointer(field), ) @@ -7441,7 +7441,7 @@ func (x gen_NSURLRequest) ValueForHTTPHeaderField( // // See for details. func (x gen_NSURLRequest) Init_asNSURLRequest() NSURLRequest { - ret := C.NSURLRequest_inst_init( + ret := C.NSURLRequest_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -7489,7 +7489,7 @@ func (x gen_NSURLRequest) HTTPBody() NSData { // // See https://developer.apple.com/documentation/foundation/nsurlrequest/1414134-maindocumenturl?language=objc for details. func (x gen_NSURLRequest) MainDocumentURL() NSURL { - ret := C.NSURLRequest_inst_mainDocumentURL( + ret := C.NSURLRequest_inst_MainDocumentURL( unsafe.Pointer(x.Pointer()), ) @@ -7501,7 +7501,7 @@ func (x gen_NSURLRequest) MainDocumentURL() NSURL { // // See https://developer.apple.com/documentation/foundation/nsurlrequest/1418477-allhttpheaderfields?language=objc for details. func (x gen_NSURLRequest) AllHTTPHeaderFields() NSDictionary { - ret := C.NSURLRequest_inst_allHTTPHeaderFields( + ret := C.NSURLRequest_inst_AllHTTPHeaderFields( unsafe.Pointer(x.Pointer()), ) @@ -7537,7 +7537,7 @@ func (x gen_NSURLRequest) HTTPShouldUsePipelining() bool { // // See https://developer.apple.com/documentation/foundation/nsurlrequest/1412032-allowscellularaccess?language=objc for details. func (x gen_NSURLRequest) AllowsCellularAccess() bool { - ret := C.NSURLRequest_inst_allowsCellularAccess( + ret := C.NSURLRequest_inst_AllowsCellularAccess( unsafe.Pointer(x.Pointer()), ) @@ -7549,7 +7549,7 @@ func (x gen_NSURLRequest) AllowsCellularAccess() bool { // // See https://developer.apple.com/documentation/foundation/nsurlrequest/3325678-allowsconstrainednetworkaccess?language=objc for details. func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() bool { - ret := C.NSURLRequest_inst_allowsConstrainedNetworkAccess( + ret := C.NSURLRequest_inst_AllowsConstrainedNetworkAccess( unsafe.Pointer(x.Pointer()), ) @@ -7561,7 +7561,7 @@ func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() bool { // // See https://developer.apple.com/documentation/foundation/nsurlrequest/3325679-allowsexpensivenetworkaccess?language=objc for details. func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() bool { - ret := C.NSURLRequest_inst_allowsExpensiveNetworkAccess( + ret := C.NSURLRequest_inst_AllowsExpensiveNetworkAccess( unsafe.Pointer(x.Pointer()), ) @@ -7573,7 +7573,7 @@ func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() bool { // // See https://developer.apple.com/documentation/foundation/nsurlrequest/3735880-assumeshttp3capable?language=objc for details. func (x gen_NSURLRequest) AssumesHTTP3Capable() bool { - ret := C.NSURLRequest_inst_assumesHTTP3Capable( + ret := C.NSURLRequest_inst_AssumesHTTP3Capable( unsafe.Pointer(x.Pointer()), ) @@ -7621,7 +7621,7 @@ func (x gen_NSUserDefaults) URLForKey( func (x gen_NSUserDefaults) AddSuiteNamed( suiteName NSStringRef, ) { - C.NSUserDefaults_inst_addSuiteNamed( + C.NSUserDefaults_inst_AddSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) @@ -7636,7 +7636,7 @@ func (x gen_NSUserDefaults) AddSuiteNamed( func (x gen_NSUserDefaults) ArrayForKey( defaultName NSStringRef, ) NSArray { - ret := C.NSUserDefaults_inst_arrayForKey( + ret := C.NSUserDefaults_inst_ArrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7651,7 +7651,7 @@ func (x gen_NSUserDefaults) ArrayForKey( func (x gen_NSUserDefaults) BoolForKey( defaultName NSStringRef, ) bool { - ret := C.NSUserDefaults_inst_boolForKey( + ret := C.NSUserDefaults_inst_BoolForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7666,7 +7666,7 @@ func (x gen_NSUserDefaults) BoolForKey( func (x gen_NSUserDefaults) DataForKey( defaultName NSStringRef, ) NSData { - ret := C.NSUserDefaults_inst_dataForKey( + ret := C.NSUserDefaults_inst_DataForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7681,7 +7681,7 @@ func (x gen_NSUserDefaults) DataForKey( func (x gen_NSUserDefaults) DictionaryForKey( defaultName NSStringRef, ) NSDictionary { - ret := C.NSUserDefaults_inst_dictionaryForKey( + ret := C.NSUserDefaults_inst_DictionaryForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7694,7 +7694,7 @@ func (x gen_NSUserDefaults) DictionaryForKey( // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1415919-dictionaryrepresentation?language=objc for details. func (x gen_NSUserDefaults) DictionaryRepresentation() NSDictionary { - ret := C.NSUserDefaults_inst_dictionaryRepresentation( + ret := C.NSUserDefaults_inst_DictionaryRepresentation( unsafe.Pointer(x.Pointer()), ) @@ -7706,7 +7706,7 @@ func (x gen_NSUserDefaults) DictionaryRepresentation() NSDictionary { // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414356-init?language=objc for details. func (x gen_NSUserDefaults) Init_asNSUserDefaults() NSUserDefaults { - ret := C.NSUserDefaults_inst_init( + ret := C.NSUserDefaults_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -7720,7 +7720,7 @@ func (x gen_NSUserDefaults) Init_asNSUserDefaults() NSUserDefaults { func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( suitename NSStringRef, ) NSUserDefaults { - ret := C.NSUserDefaults_inst_initWithSuiteName( + ret := C.NSUserDefaults_inst_InitWithSuiteName( unsafe.Pointer(x.Pointer()), objc.RefPointer(suitename), ) @@ -7735,7 +7735,7 @@ func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( func (x gen_NSUserDefaults) IntegerForKey( defaultName NSStringRef, ) NSInteger { - ret := C.NSUserDefaults_inst_integerForKey( + ret := C.NSUserDefaults_inst_IntegerForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7750,7 +7750,7 @@ func (x gen_NSUserDefaults) IntegerForKey( func (x gen_NSUserDefaults) ObjectForKey( defaultName NSStringRef, ) objc.Object { - ret := C.NSUserDefaults_inst_objectForKey( + ret := C.NSUserDefaults_inst_ObjectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7765,7 +7765,7 @@ func (x gen_NSUserDefaults) ObjectForKey( func (x gen_NSUserDefaults) ObjectIsForcedForKey( key NSStringRef, ) bool { - ret := C.NSUserDefaults_inst_objectIsForcedForKey( + ret := C.NSUserDefaults_inst_ObjectIsForcedForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), ) @@ -7774,14 +7774,14 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKey( } -// ObjectIsForcedForKey_inDomain returns a boolean value indicating whether the key in the specified domain is managed by an administrator. +// ObjectIsForcedForKeyInDomain returns a boolean value indicating whether the key in the specified domain is managed by an administrator. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1416306-objectisforcedforkey?language=objc for details. -func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( +func (x gen_NSUserDefaults) ObjectIsForcedForKeyInDomain( key NSStringRef, domain NSStringRef, ) bool { - ret := C.NSUserDefaults_inst_objectIsForcedForKey_inDomain( + ret := C.NSUserDefaults_inst_ObjectIsForcedForKeyInDomain( unsafe.Pointer(x.Pointer()), objc.RefPointer(key), objc.RefPointer(domain), @@ -7797,7 +7797,7 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKey_inDomain( func (x gen_NSUserDefaults) PersistentDomainForName( domainName NSStringRef, ) NSDictionary { - ret := C.NSUserDefaults_inst_persistentDomainForName( + ret := C.NSUserDefaults_inst_PersistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) @@ -7812,7 +7812,7 @@ func (x gen_NSUserDefaults) PersistentDomainForName( func (x gen_NSUserDefaults) RegisterDefaults( registrationDictionary NSDictionaryRef, ) { - C.NSUserDefaults_inst_registerDefaults( + C.NSUserDefaults_inst_RegisterDefaults( unsafe.Pointer(x.Pointer()), objc.RefPointer(registrationDictionary), ) @@ -7827,7 +7827,7 @@ func (x gen_NSUserDefaults) RegisterDefaults( func (x gen_NSUserDefaults) RemoveObjectForKey( defaultName NSStringRef, ) { - C.NSUserDefaults_inst_removeObjectForKey( + C.NSUserDefaults_inst_RemoveObjectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -7842,7 +7842,7 @@ func (x gen_NSUserDefaults) RemoveObjectForKey( func (x gen_NSUserDefaults) RemovePersistentDomainForName( domainName NSStringRef, ) { - C.NSUserDefaults_inst_removePersistentDomainForName( + C.NSUserDefaults_inst_RemovePersistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) @@ -7857,7 +7857,7 @@ func (x gen_NSUserDefaults) RemovePersistentDomainForName( func (x gen_NSUserDefaults) RemoveSuiteNamed( suiteName NSStringRef, ) { - C.NSUserDefaults_inst_removeSuiteNamed( + C.NSUserDefaults_inst_RemoveSuiteNamed( unsafe.Pointer(x.Pointer()), objc.RefPointer(suiteName), ) @@ -7872,7 +7872,7 @@ func (x gen_NSUserDefaults) RemoveSuiteNamed( func (x gen_NSUserDefaults) RemoveVolatileDomainForName( domainName NSStringRef, ) { - C.NSUserDefaults_inst_removeVolatileDomainForName( + C.NSUserDefaults_inst_RemoveVolatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) @@ -7881,14 +7881,14 @@ func (x gen_NSUserDefaults) RemoveVolatileDomainForName( } -// SetBool_forKey sets the value of the specified default key to the specified boolean value. +// SetBoolForKey sets the value of the specified default key to the specified boolean value. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408905-setbool?language=objc for details. -func (x gen_NSUserDefaults) SetBool_forKey( +func (x gen_NSUserDefaults) SetBoolForKey( value bool, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setBool_forKey( + C.NSUserDefaults_inst_SetBoolForKey( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), objc.RefPointer(defaultName), @@ -7898,14 +7898,14 @@ func (x gen_NSUserDefaults) SetBool_forKey( } -// SetInteger_forKey sets the value of the specified default key to the specified integer value. +// SetIntegerForKey sets the value of the specified default key to the specified integer value. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1413614-setinteger?language=objc for details. -func (x gen_NSUserDefaults) SetInteger_forKey( +func (x gen_NSUserDefaults) SetIntegerForKey( value NSInteger, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setInteger_forKey( + C.NSUserDefaults_inst_SetIntegerForKey( unsafe.Pointer(x.Pointer()), C.long(value), objc.RefPointer(defaultName), @@ -7915,14 +7915,14 @@ func (x gen_NSUserDefaults) SetInteger_forKey( } -// SetObject_forKey sets the value of the specified default key. +// SetObjectForKey sets the value of the specified default key. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414067-setobject?language=objc for details. -func (x gen_NSUserDefaults) SetObject_forKey( +func (x gen_NSUserDefaults) SetObjectForKey( value objc.Ref, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setObject_forKey( + C.NSUserDefaults_inst_SetObjectForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), objc.RefPointer(defaultName), @@ -7932,14 +7932,14 @@ func (x gen_NSUserDefaults) SetObject_forKey( } -// SetPersistentDomain_forName sets a dictionary for the specified persistent domain. +// SetPersistentDomainForName sets a dictionary for the specified persistent domain. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1408187-setpersistentdomain?language=objc for details. -func (x gen_NSUserDefaults) SetPersistentDomain_forName( +func (x gen_NSUserDefaults) SetPersistentDomainForName( domain NSDictionaryRef, domainName NSStringRef, ) { - C.NSUserDefaults_inst_setPersistentDomain_forName( + C.NSUserDefaults_inst_SetPersistentDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domain), objc.RefPointer(domainName), @@ -7949,14 +7949,14 @@ func (x gen_NSUserDefaults) SetPersistentDomain_forName( } -// SetURL_forKey sets the value of the specified default key to the specified url. +// SetURLForKey sets the value of the specified default key to the specified url. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414194-seturl?language=objc for details. -func (x gen_NSUserDefaults) SetURL_forKey( +func (x gen_NSUserDefaults) SetURLForKey( url NSURLRef, defaultName NSStringRef, ) { - C.NSUserDefaults_inst_setURL_forKey( + C.NSUserDefaults_inst_SetURLForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(url), objc.RefPointer(defaultName), @@ -7966,14 +7966,14 @@ func (x gen_NSUserDefaults) SetURL_forKey( } -// SetVolatileDomain_forName sets the dictionary for the specified volatile domain. +// SetVolatileDomainForName sets the dictionary for the specified volatile domain. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1413720-setvolatiledomain?language=objc for details. -func (x gen_NSUserDefaults) SetVolatileDomain_forName( +func (x gen_NSUserDefaults) SetVolatileDomainForName( domain NSDictionaryRef, domainName NSStringRef, ) { - C.NSUserDefaults_inst_setVolatileDomain_forName( + C.NSUserDefaults_inst_SetVolatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domain), objc.RefPointer(domainName), @@ -7989,7 +7989,7 @@ func (x gen_NSUserDefaults) SetVolatileDomain_forName( func (x gen_NSUserDefaults) StringArrayForKey( defaultName NSStringRef, ) NSArray { - ret := C.NSUserDefaults_inst_stringArrayForKey( + ret := C.NSUserDefaults_inst_StringArrayForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -8004,7 +8004,7 @@ func (x gen_NSUserDefaults) StringArrayForKey( func (x gen_NSUserDefaults) StringForKey( defaultName NSStringRef, ) NSString { - ret := C.NSUserDefaults_inst_stringForKey( + ret := C.NSUserDefaults_inst_StringForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(defaultName), ) @@ -8017,7 +8017,7 @@ func (x gen_NSUserDefaults) StringForKey( // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414005-synchronize?language=objc for details. func (x gen_NSUserDefaults) Synchronize() bool { - ret := C.NSUserDefaults_inst_synchronize( + ret := C.NSUserDefaults_inst_Synchronize( unsafe.Pointer(x.Pointer()), ) @@ -8031,7 +8031,7 @@ func (x gen_NSUserDefaults) Synchronize() bool { func (x gen_NSUserDefaults) VolatileDomainForName( domainName NSStringRef, ) NSDictionary { - ret := C.NSUserDefaults_inst_volatileDomainForName( + ret := C.NSUserDefaults_inst_VolatileDomainForName( unsafe.Pointer(x.Pointer()), objc.RefPointer(domainName), ) @@ -8044,7 +8044,7 @@ func (x gen_NSUserDefaults) VolatileDomainForName( // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414231-volatiledomainnames?language=objc for details. func (x gen_NSUserDefaults) VolatileDomainNames() NSArray { - ret := C.NSUserDefaults_inst_volatileDomainNames( + ret := C.NSUserDefaults_inst_VolatileDomainNames( unsafe.Pointer(x.Pointer()), ) diff --git a/gen/gen.go b/gen/gen.go index 35b0ff61..9d65d92a 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -32,7 +32,26 @@ func selectorNameToGoIdent(generatedNames map[string]string, sel string) string if ident, ok := generatedNames[sel]; ok { return ident } - ident := strings.ReplaceAll(sel, ":", "_") + // convert to idiomatic Go name (e.g. "sendAction:to:from" -> "SendActionToFrom") + var ident string + + // for every colon, capitalize the next letter + // walk runes: + // - if rune is a colon, skip it and capitalize the next letter + // - else, add it to the ident + capNext := true + for _, r := range sel { + if r == ':' { + capNext = true + continue + } + if capNext { + ident += string(unicode.ToUpper(r)) + capNext = false + } else { + ident += string(r) + } + } if strings.HasSuffix(sel, ":") { trimmedSel := strings.TrimSuffix(sel, ":") diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index 013fd922..deffd495 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -22,79 +22,79 @@ bool webkit_convertObjCBool(BOOL b) { } -void* WKNavigation_type_alloc() { +void* WKNavigation_type_Alloc() { return [WKNavigation alloc]; } -void* WKUserScript_type_alloc() { +void* WKUserScript_type_Alloc() { return [WKUserScript alloc]; } -void* WKWebView_type_alloc() { +void* WKWebView_type_Alloc() { return [WKWebView alloc]; } -BOOL WKWebView_type_handlesURLScheme(void* urlScheme) { +BOOL WKWebView_type_HandlesURLScheme(void* urlScheme) { return [WKWebView handlesURLScheme: urlScheme]; } -void* WKWebViewConfiguration_type_alloc() { +void* WKWebViewConfiguration_type_Alloc() { return [WKWebViewConfiguration alloc]; } -void* WKPreferences_type_alloc() { +void* WKPreferences_type_Alloc() { return [WKPreferences alloc]; } -void* WKNavigation_inst_init(void *id) { +void* WKNavigation_inst_Init(void *id) { return [(WKNavigation*)id init]; } -void* WKUserScript_inst_init(void *id) { +void* WKUserScript_inst_Init(void *id) { return [(WKUserScript*)id init]; } -void* WKUserScript_inst_source(void *id) { +void* WKUserScript_inst_Source(void *id) { return [(WKUserScript*)id source]; } -BOOL WKUserScript_inst_isForMainFrameOnly(void *id) { +BOOL WKUserScript_inst_IsForMainFrameOnly(void *id) { return [(WKUserScript*)id isForMainFrameOnly]; } -void* WKWebView_inst_goBack(void *id) { +void* WKWebView_inst_GoBack(void *id) { return [(WKWebView*)id goBack]; } -void WKWebView_inst_goBack_(void *id, void* sender) { +void WKWebView_inst_GoBack(void *id, void* sender) { [(WKWebView*)id goBack: sender]; } -void* WKWebView_inst_goForward(void *id) { +void* WKWebView_inst_GoForward(void *id) { return [(WKWebView*)id goForward]; } -void WKWebView_inst_goForward_(void *id, void* sender) { +void WKWebView_inst_GoForward(void *id, void* sender) { [(WKWebView*)id goForward: sender]; } -void* WKWebView_inst_initWithFrame_configuration(void *id, NSRect frame, void* configuration) { +void* WKWebView_inst_InitWithFrameConfiguration(void *id, NSRect frame, void* configuration) { return [(WKWebView*)id initWithFrame: frame configuration: configuration]; } -void* WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL(void *id, void* data, void* MIMEType, void* characterEncodingName, void* baseURL) { +void* WKWebView_inst_LoadDataMIMETypeCharacterEncodingNameBaseURL(void *id, void* data, void* MIMEType, void* characterEncodingName, void* baseURL) { return [(WKWebView*)id loadData: data MIMEType: MIMEType @@ -102,71 +102,71 @@ void* WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL(void *id, v baseURL: baseURL]; } -void* WKWebView_inst_loadFileRequest_allowingReadAccessToURL(void *id, void* request, void* readAccessURL) { +void* WKWebView_inst_LoadFileRequestAllowingReadAccessToURL(void *id, void* request, void* readAccessURL) { return [(WKWebView*)id loadFileRequest: request allowingReadAccessToURL: readAccessURL]; } -void* WKWebView_inst_loadFileURL_allowingReadAccessToURL(void *id, void* URL, void* readAccessURL) { +void* WKWebView_inst_LoadFileURLAllowingReadAccessToURL(void *id, void* URL, void* readAccessURL) { return [(WKWebView*)id loadFileURL: URL allowingReadAccessToURL: readAccessURL]; } -void* WKWebView_inst_loadHTMLString_baseURL(void *id, void* string, void* baseURL) { +void* WKWebView_inst_LoadHTMLStringBaseURL(void *id, void* string, void* baseURL) { return [(WKWebView*)id loadHTMLString: string baseURL: baseURL]; } -void* WKWebView_inst_loadRequest(void *id, void* request) { +void* WKWebView_inst_LoadRequest(void *id, void* request) { return [(WKWebView*)id loadRequest: request]; } -void* WKWebView_inst_loadSimulatedRequest_responseHTMLString(void *id, void* request, void* string) { +void* WKWebView_inst_LoadSimulatedRequestResponseHTMLString(void *id, void* request, void* string) { return [(WKWebView*)id loadSimulatedRequest: request responseHTMLString: string]; } -void* WKWebView_inst_reload(void *id) { +void* WKWebView_inst_Reload(void *id) { return [(WKWebView*)id reload]; } -void WKWebView_inst_reload_(void *id, void* sender) { +void WKWebView_inst_Reload(void *id, void* sender) { [(WKWebView*)id reload: sender]; } -void* WKWebView_inst_reloadFromOrigin(void *id) { +void* WKWebView_inst_ReloadFromOrigin(void *id) { return [(WKWebView*)id reloadFromOrigin]; } -void WKWebView_inst_reloadFromOrigin_(void *id, void* sender) { +void WKWebView_inst_ReloadFromOrigin(void *id, void* sender) { [(WKWebView*)id reloadFromOrigin: sender]; } -void WKWebView_inst_stopLoading(void *id) { +void WKWebView_inst_StopLoading(void *id) { [(WKWebView*)id stopLoading]; } -void WKWebView_inst_stopLoading_(void *id, void* sender) { +void WKWebView_inst_StopLoading(void *id, void* sender) { [(WKWebView*)id stopLoading: sender]; } -void* WKWebView_inst_init(void *id) { +void* WKWebView_inst_Init(void *id) { return [(WKWebView*)id init]; } -void* WKWebView_inst_configuration(void *id) { +void* WKWebView_inst_Configuration(void *id) { return [(WKWebView*)id configuration]; } @@ -176,27 +176,27 @@ void* WKWebView_inst_UIDelegate(void *id) { UIDelegate]; } -void WKWebView_inst_setUIDelegate(void *id, void* value) { +void WKWebView_inst_SetUIDelegate(void *id, void* value) { [(WKWebView*)id setUIDelegate: value]; } -void* WKWebView_inst_navigationDelegate(void *id) { +void* WKWebView_inst_NavigationDelegate(void *id) { return [(WKWebView*)id navigationDelegate]; } -void WKWebView_inst_setNavigationDelegate(void *id, void* value) { +void WKWebView_inst_SetNavigationDelegate(void *id, void* value) { [(WKWebView*)id setNavigationDelegate: value]; } -BOOL WKWebView_inst_isLoading(void *id) { +BOOL WKWebView_inst_IsLoading(void *id) { return [(WKWebView*)id isLoading]; } -void* WKWebView_inst_title(void *id) { +void* WKWebView_inst_Title(void *id) { return [(WKWebView*)id title]; } @@ -206,254 +206,254 @@ void* WKWebView_inst_URL(void *id) { URL]; } -void* WKWebView_inst_mediaType(void *id) { +void* WKWebView_inst_MediaType(void *id) { return [(WKWebView*)id mediaType]; } -void WKWebView_inst_setMediaType(void *id, void* value) { +void WKWebView_inst_SetMediaType(void *id, void* value) { [(WKWebView*)id setMediaType: value]; } -void* WKWebView_inst_customUserAgent(void *id) { +void* WKWebView_inst_CustomUserAgent(void *id) { return [(WKWebView*)id customUserAgent]; } -void WKWebView_inst_setCustomUserAgent(void *id, void* value) { +void WKWebView_inst_SetCustomUserAgent(void *id, void* value) { [(WKWebView*)id setCustomUserAgent: value]; } -BOOL WKWebView_inst_hasOnlySecureContent(void *id) { +BOOL WKWebView_inst_HasOnlySecureContent(void *id) { return [(WKWebView*)id hasOnlySecureContent]; } -BOOL WKWebView_inst_allowsMagnification(void *id) { +BOOL WKWebView_inst_AllowsMagnification(void *id) { return [(WKWebView*)id allowsMagnification]; } -void WKWebView_inst_setAllowsMagnification(void *id, BOOL value) { +void WKWebView_inst_SetAllowsMagnification(void *id, BOOL value) { [(WKWebView*)id setAllowsMagnification: value]; } -double WKWebView_inst_magnification(void *id) { +double WKWebView_inst_Magnification(void *id) { return [(WKWebView*)id magnification]; } -void WKWebView_inst_setMagnification(void *id, double value) { +void WKWebView_inst_SetMagnification(void *id, double value) { [(WKWebView*)id setMagnification: value]; } -BOOL WKWebView_inst_allowsBackForwardNavigationGestures(void *id) { +BOOL WKWebView_inst_AllowsBackForwardNavigationGestures(void *id) { return [(WKWebView*)id allowsBackForwardNavigationGestures]; } -void WKWebView_inst_setAllowsBackForwardNavigationGestures(void *id, BOOL value) { +void WKWebView_inst_SetAllowsBackForwardNavigationGestures(void *id, BOOL value) { [(WKWebView*)id setAllowsBackForwardNavigationGestures: value]; } -BOOL WKWebView_inst_canGoBack(void *id) { +BOOL WKWebView_inst_CanGoBack(void *id) { return [(WKWebView*)id canGoBack]; } -BOOL WKWebView_inst_canGoForward(void *id) { +BOOL WKWebView_inst_CanGoForward(void *id) { return [(WKWebView*)id canGoForward]; } -BOOL WKWebView_inst_allowsLinkPreview(void *id) { +BOOL WKWebView_inst_AllowsLinkPreview(void *id) { return [(WKWebView*)id allowsLinkPreview]; } -void WKWebView_inst_setAllowsLinkPreview(void *id, BOOL value) { +void WKWebView_inst_SetAllowsLinkPreview(void *id, BOOL value) { [(WKWebView*)id setAllowsLinkPreview: value]; } -void* WKWebView_inst_interactionState(void *id) { +void* WKWebView_inst_InteractionState(void *id) { return [(WKWebView*)id interactionState]; } -void WKWebView_inst_setInteractionState(void *id, void* value) { +void WKWebView_inst_SetInteractionState(void *id, void* value) { [(WKWebView*)id setInteractionState: value]; } -void WKWebViewConfiguration_inst_setURLSchemeHandler_forURLScheme(void *id, void* urlSchemeHandler, void* urlScheme) { +void WKWebViewConfiguration_inst_SetURLSchemeHandlerForURLScheme(void *id, void* urlSchemeHandler, void* urlScheme) { [(WKWebViewConfiguration*)id setURLSchemeHandler: urlSchemeHandler forURLScheme: urlScheme]; } -void* WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme(void *id, void* urlScheme) { +void* WKWebViewConfiguration_inst_UrlSchemeHandlerForURLScheme(void *id, void* urlScheme) { return [(WKWebViewConfiguration*)id urlSchemeHandlerForURLScheme: urlScheme]; } -void* WKWebViewConfiguration_inst_init(void *id) { +void* WKWebViewConfiguration_inst_Init(void *id) { return [(WKWebViewConfiguration*)id init]; } -void* WKWebViewConfiguration_inst_applicationNameForUserAgent(void *id) { +void* WKWebViewConfiguration_inst_ApplicationNameForUserAgent(void *id) { return [(WKWebViewConfiguration*)id applicationNameForUserAgent]; } -void WKWebViewConfiguration_inst_setApplicationNameForUserAgent(void *id, void* value) { +void WKWebViewConfiguration_inst_SetApplicationNameForUserAgent(void *id, void* value) { [(WKWebViewConfiguration*)id setApplicationNameForUserAgent: value]; } -BOOL WKWebViewConfiguration_inst_limitsNavigationsToAppBoundDomains(void *id) { +BOOL WKWebViewConfiguration_inst_LimitsNavigationsToAppBoundDomains(void *id) { return [(WKWebViewConfiguration*)id limitsNavigationsToAppBoundDomains]; } -void WKWebViewConfiguration_inst_setLimitsNavigationsToAppBoundDomains(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetLimitsNavigationsToAppBoundDomains(void *id, BOOL value) { [(WKWebViewConfiguration*)id setLimitsNavigationsToAppBoundDomains: value]; } -void* WKWebViewConfiguration_inst_preferences(void *id) { +void* WKWebViewConfiguration_inst_Preferences(void *id) { return [(WKWebViewConfiguration*)id preferences]; } -void WKWebViewConfiguration_inst_setPreferences(void *id, void* value) { +void WKWebViewConfiguration_inst_SetPreferences(void *id, void* value) { [(WKWebViewConfiguration*)id setPreferences: value]; } -BOOL WKWebViewConfiguration_inst_ignoresViewportScaleLimits(void *id) { +BOOL WKWebViewConfiguration_inst_IgnoresViewportScaleLimits(void *id) { return [(WKWebViewConfiguration*)id ignoresViewportScaleLimits]; } -void WKWebViewConfiguration_inst_setIgnoresViewportScaleLimits(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetIgnoresViewportScaleLimits(void *id, BOOL value) { [(WKWebViewConfiguration*)id setIgnoresViewportScaleLimits: value]; } -BOOL WKWebViewConfiguration_inst_suppressesIncrementalRendering(void *id) { +BOOL WKWebViewConfiguration_inst_SuppressesIncrementalRendering(void *id) { return [(WKWebViewConfiguration*)id suppressesIncrementalRendering]; } -void WKWebViewConfiguration_inst_setSuppressesIncrementalRendering(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetSuppressesIncrementalRendering(void *id, BOOL value) { [(WKWebViewConfiguration*)id setSuppressesIncrementalRendering: value]; } -BOOL WKWebViewConfiguration_inst_allowsInlineMediaPlayback(void *id) { +BOOL WKWebViewConfiguration_inst_AllowsInlineMediaPlayback(void *id) { return [(WKWebViewConfiguration*)id allowsInlineMediaPlayback]; } -void WKWebViewConfiguration_inst_setAllowsInlineMediaPlayback(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetAllowsInlineMediaPlayback(void *id, BOOL value) { [(WKWebViewConfiguration*)id setAllowsInlineMediaPlayback: value]; } -BOOL WKWebViewConfiguration_inst_allowsAirPlayForMediaPlayback(void *id) { +BOOL WKWebViewConfiguration_inst_AllowsAirPlayForMediaPlayback(void *id) { return [(WKWebViewConfiguration*)id allowsAirPlayForMediaPlayback]; } -void WKWebViewConfiguration_inst_setAllowsAirPlayForMediaPlayback(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetAllowsAirPlayForMediaPlayback(void *id, BOOL value) { [(WKWebViewConfiguration*)id setAllowsAirPlayForMediaPlayback: value]; } -BOOL WKWebViewConfiguration_inst_allowsPictureInPictureMediaPlayback(void *id) { +BOOL WKWebViewConfiguration_inst_AllowsPictureInPictureMediaPlayback(void *id) { return [(WKWebViewConfiguration*)id allowsPictureInPictureMediaPlayback]; } -void WKWebViewConfiguration_inst_setAllowsPictureInPictureMediaPlayback(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetAllowsPictureInPictureMediaPlayback(void *id, BOOL value) { [(WKWebViewConfiguration*)id setAllowsPictureInPictureMediaPlayback: value]; } -BOOL WKWebViewConfiguration_inst_upgradeKnownHostsToHTTPS(void *id) { +BOOL WKWebViewConfiguration_inst_UpgradeKnownHostsToHTTPS(void *id) { return [(WKWebViewConfiguration*)id upgradeKnownHostsToHTTPS]; } -void WKWebViewConfiguration_inst_setUpgradeKnownHostsToHTTPS(void *id, BOOL value) { +void WKWebViewConfiguration_inst_SetUpgradeKnownHostsToHTTPS(void *id, BOOL value) { [(WKWebViewConfiguration*)id setUpgradeKnownHostsToHTTPS: value]; } -void WKPreferences_inst_setValue_forKey(void *id, void* value, void* key) { +void WKPreferences_inst_SetValueForKey(void *id, void* value, void* key) { [(WKPreferences*)id setValue: value forKey: key]; } -void* WKPreferences_inst_init(void *id) { +void* WKPreferences_inst_Init(void *id) { return [(WKPreferences*)id init]; } -double WKPreferences_inst_minimumFontSize(void *id) { +double WKPreferences_inst_MinimumFontSize(void *id) { return [(WKPreferences*)id minimumFontSize]; } -void WKPreferences_inst_setMinimumFontSize(void *id, double value) { +void WKPreferences_inst_SetMinimumFontSize(void *id, double value) { [(WKPreferences*)id setMinimumFontSize: value]; } -BOOL WKPreferences_inst_tabFocusesLinks(void *id) { +BOOL WKPreferences_inst_TabFocusesLinks(void *id) { return [(WKPreferences*)id tabFocusesLinks]; } -void WKPreferences_inst_setTabFocusesLinks(void *id, BOOL value) { +void WKPreferences_inst_SetTabFocusesLinks(void *id, BOOL value) { [(WKPreferences*)id setTabFocusesLinks: value]; } -BOOL WKPreferences_inst_javaScriptCanOpenWindowsAutomatically(void *id) { +BOOL WKPreferences_inst_JavaScriptCanOpenWindowsAutomatically(void *id) { return [(WKPreferences*)id javaScriptCanOpenWindowsAutomatically]; } -void WKPreferences_inst_setJavaScriptCanOpenWindowsAutomatically(void *id, BOOL value) { +void WKPreferences_inst_SetJavaScriptCanOpenWindowsAutomatically(void *id, BOOL value) { [(WKPreferences*)id setJavaScriptCanOpenWindowsAutomatically: value]; } -BOOL WKPreferences_inst_isFraudulentWebsiteWarningEnabled(void *id) { +BOOL WKPreferences_inst_IsFraudulentWebsiteWarningEnabled(void *id) { return [(WKPreferences*)id isFraudulentWebsiteWarningEnabled]; } -void WKPreferences_inst_setFraudulentWebsiteWarningEnabled(void *id, BOOL value) { +void WKPreferences_inst_SetFraudulentWebsiteWarningEnabled(void *id, BOOL value) { [(WKPreferences*)id setFraudulentWebsiteWarningEnabled: value]; } -BOOL WKPreferences_inst_isTextInteractionEnabled(void *id) { +BOOL WKPreferences_inst_IsTextInteractionEnabled(void *id) { return [(WKPreferences*)id isTextInteractionEnabled]; } -void WKPreferences_inst_setTextInteractionEnabled(void *id, BOOL value) { +void WKPreferences_inst_SetTextInteractionEnabled(void *id, BOOL value) { [(WKPreferences*)id setTextInteractionEnabled: value]; } @@ -479,41 +479,41 @@ func convertToObjCBool(b bool) C.BOOL { return C.webkit_objc_bool_false } -// WKNavigation_alloc +// WKNavigation_Alloc // // See for details. -func WKNavigation_alloc() WKNavigation { - ret := C.WKNavigation_type_alloc() +func WKNavigation_Alloc() WKNavigation { + ret := C.WKNavigation_type_Alloc() return WKNavigation_fromPointer(ret) } -// WKUserScript_alloc +// WKUserScript_Alloc // // See for details. -func WKUserScript_alloc() WKUserScript { - ret := C.WKUserScript_type_alloc() +func WKUserScript_Alloc() WKUserScript { + ret := C.WKUserScript_type_Alloc() return WKUserScript_fromPointer(ret) } -// WKWebView_alloc +// WKWebView_Alloc // // See for details. -func WKWebView_alloc() WKWebView { - ret := C.WKWebView_type_alloc() +func WKWebView_Alloc() WKWebView { + ret := C.WKWebView_type_Alloc() return WKWebView_fromPointer(ret) } -// WKWebView_handlesURLScheme returns a boolean value that indicates whether webkit natively supports resources with the specified url scheme. +// WKWebView_HandlesURLScheme returns a boolean value that indicates whether webkit natively supports resources with the specified url scheme. // // See https://developer.apple.com/documentation/webkit/wkwebview/2875370-handlesurlscheme?language=objc for details. -func WKWebView_handlesURLScheme(urlScheme core.NSStringRef) bool { - ret := C.WKWebView_type_handlesURLScheme( +func WKWebView_HandlesURLScheme(urlScheme core.NSStringRef) bool { + ret := C.WKWebView_type_HandlesURLScheme( objc.RefPointer(urlScheme), ) @@ -521,21 +521,21 @@ func WKWebView_handlesURLScheme(urlScheme core.NSStringRef) bool { } -// WKWebViewConfiguration_alloc +// WKWebViewConfiguration_Alloc // // See for details. -func WKWebViewConfiguration_alloc() WKWebViewConfiguration { - ret := C.WKWebViewConfiguration_type_alloc() +func WKWebViewConfiguration_Alloc() WKWebViewConfiguration { + ret := C.WKWebViewConfiguration_type_Alloc() return WKWebViewConfiguration_fromPointer(ret) } -// WKPreferences_alloc +// WKPreferences_Alloc // // See for details. -func WKPreferences_alloc() WKPreferences { - ret := C.WKPreferences_type_alloc() +func WKPreferences_Alloc() WKPreferences { + ret := C.WKPreferences_type_Alloc() return WKPreferences_fromPointer(ret) @@ -564,7 +564,7 @@ func WKNavigation_fromRef(ref objc.Ref) WKNavigation { // // See for details. func (x gen_WKNavigation) Init_asWKNavigation() WKNavigation { - ret := C.WKNavigation_inst_init( + ret := C.WKNavigation_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -595,7 +595,7 @@ func WKUserScript_fromRef(ref objc.Ref) WKUserScript { // // See for details. func (x gen_WKUserScript) Init_asWKUserScript() WKUserScript { - ret := C.WKUserScript_inst_init( + ret := C.WKUserScript_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -607,7 +607,7 @@ func (x gen_WKUserScript) Init_asWKUserScript() WKUserScript { // // See https://developer.apple.com/documentation/webkit/wkuserscript/1537787-source?language=objc for details. func (x gen_WKUserScript) Source() core.NSString { - ret := C.WKUserScript_inst_source( + ret := C.WKUserScript_inst_Source( unsafe.Pointer(x.Pointer()), ) @@ -619,7 +619,7 @@ func (x gen_WKUserScript) Source() core.NSString { // // See https://developer.apple.com/documentation/webkit/wkuserscript/1537856-formainframeonly?language=objc for details. func (x gen_WKUserScript) IsForMainFrameOnly() bool { - ret := C.WKUserScript_inst_isForMainFrameOnly( + ret := C.WKUserScript_inst_IsForMainFrameOnly( unsafe.Pointer(x.Pointer()), ) @@ -650,7 +650,7 @@ func WKWebView_fromRef(ref objc.Ref) WKWebView { // // See https://developer.apple.com/documentation/webkit/wkwebview/1414952-goback?language=objc for details. func (x gen_WKWebView) GoBack() WKNavigation { - ret := C.WKWebView_inst_goBack( + ret := C.WKWebView_inst_GoBack( unsafe.Pointer(x.Pointer()), ) @@ -658,13 +658,13 @@ func (x gen_WKWebView) GoBack() WKNavigation { } -// GoBack_ navigates to the back item in the back-forward list. +// GoBack navigates to the back item in the back-forward list. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414975-goback?language=objc for details. -func (x gen_WKWebView) GoBack_( +func (x gen_WKWebView) GoBack( sender objc.Ref, ) { - C.WKWebView_inst_goBack_( + C.WKWebView_inst_GoBack( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -677,7 +677,7 @@ func (x gen_WKWebView) GoBack_( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414993-goforward?language=objc for details. func (x gen_WKWebView) GoForward() WKNavigation { - ret := C.WKWebView_inst_goForward( + ret := C.WKWebView_inst_GoForward( unsafe.Pointer(x.Pointer()), ) @@ -685,13 +685,13 @@ func (x gen_WKWebView) GoForward() WKNavigation { } -// GoForward_ navigates to the forward item in the back-forward list. +// GoForward navigates to the forward item in the back-forward list. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414960-goforward?language=objc for details. -func (x gen_WKWebView) GoForward_( +func (x gen_WKWebView) GoForward( sender objc.Ref, ) { - C.WKWebView_inst_goForward_( + C.WKWebView_inst_GoForward( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -700,14 +700,14 @@ func (x gen_WKWebView) GoForward_( } -// InitWithFrame_configuration creates a web view and initializes it with the specified frame and configuration data. +// InitWithFrameConfiguration creates a web view and initializes it with the specified frame and configuration data. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414998-initwithframe?language=objc for details. -func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( +func (x gen_WKWebView) InitWithFrameConfiguration_asWKWebView( frame core.NSRect, configuration WKWebViewConfigurationRef, ) WKWebView { - ret := C.WKWebView_inst_initWithFrame_configuration( + ret := C.WKWebView_inst_InitWithFrameConfiguration( unsafe.Pointer(x.Pointer()), *(*C.NSRect)(unsafe.Pointer(&frame)), objc.RefPointer(configuration), @@ -717,16 +717,16 @@ func (x gen_WKWebView) InitWithFrame_configuration_asWKWebView( } -// LoadData_MIMEType_characterEncodingName_baseURL loads the content of the specified data object and navigates to it. +// LoadDataMIMETypeCharacterEncodingNameBaseURL loads the content of the specified data object and navigates to it. // // See https://developer.apple.com/documentation/webkit/wkwebview/1415011-loaddata?language=objc for details. -func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( +func (x gen_WKWebView) LoadDataMIMETypeCharacterEncodingNameBaseURL( data core.NSDataRef, MIMEType core.NSStringRef, characterEncodingName core.NSStringRef, baseURL core.NSURLRef, ) WKNavigation { - ret := C.WKWebView_inst_loadData_MIMEType_characterEncodingName_baseURL( + ret := C.WKWebView_inst_LoadDataMIMETypeCharacterEncodingNameBaseURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(data), objc.RefPointer(MIMEType), @@ -738,14 +738,14 @@ func (x gen_WKWebView) LoadData_MIMEType_characterEncodingName_baseURL( } -// LoadFileRequest_allowingReadAccessToURL +// LoadFileRequestAllowingReadAccessToURL // // See https://developer.apple.com/documentation/webkit/wkwebview/3752237-loadfilerequest?language=objc for details. -func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( +func (x gen_WKWebView) LoadFileRequestAllowingReadAccessToURL( request core.NSURLRequestRef, readAccessURL core.NSURLRef, ) WKNavigation { - ret := C.WKWebView_inst_loadFileRequest_allowingReadAccessToURL( + ret := C.WKWebView_inst_LoadFileRequestAllowingReadAccessToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), objc.RefPointer(readAccessURL), @@ -755,14 +755,14 @@ func (x gen_WKWebView) LoadFileRequest_allowingReadAccessToURL( } -// LoadFileURL_allowingReadAccessToURL loads the web content from the specified file and navigates to it. +// LoadFileURLAllowingReadAccessToURL loads the web content from the specified file and navigates to it. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414973-loadfileurl?language=objc for details. -func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( +func (x gen_WKWebView) LoadFileURLAllowingReadAccessToURL( URL core.NSURLRef, readAccessURL core.NSURLRef, ) WKNavigation { - ret := C.WKWebView_inst_loadFileURL_allowingReadAccessToURL( + ret := C.WKWebView_inst_LoadFileURLAllowingReadAccessToURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(URL), objc.RefPointer(readAccessURL), @@ -772,14 +772,14 @@ func (x gen_WKWebView) LoadFileURL_allowingReadAccessToURL( } -// LoadHTMLString_baseURL loads the contents of the specified html string and navigates to it. +// LoadHTMLStringBaseURL loads the contents of the specified html string and navigates to it. // // See https://developer.apple.com/documentation/webkit/wkwebview/1415004-loadhtmlstring?language=objc for details. -func (x gen_WKWebView) LoadHTMLString_baseURL( +func (x gen_WKWebView) LoadHTMLStringBaseURL( string core.NSStringRef, baseURL core.NSURLRef, ) WKNavigation { - ret := C.WKWebView_inst_loadHTMLString_baseURL( + ret := C.WKWebView_inst_LoadHTMLStringBaseURL( unsafe.Pointer(x.Pointer()), objc.RefPointer(string), objc.RefPointer(baseURL), @@ -795,7 +795,7 @@ func (x gen_WKWebView) LoadHTMLString_baseURL( func (x gen_WKWebView) LoadRequest( request core.NSURLRequestRef, ) WKNavigation { - ret := C.WKWebView_inst_loadRequest( + ret := C.WKWebView_inst_LoadRequest( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), ) @@ -804,14 +804,14 @@ func (x gen_WKWebView) LoadRequest( } -// LoadSimulatedRequest_responseHTMLString +// LoadSimulatedRequestResponseHTMLString // // See https://developer.apple.com/documentation/webkit/wkwebview/3763095-loadsimulatedrequest?language=objc for details. -func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( +func (x gen_WKWebView) LoadSimulatedRequestResponseHTMLString( request core.NSURLRequestRef, string core.NSStringRef, ) WKNavigation { - ret := C.WKWebView_inst_loadSimulatedRequest_responseHTMLString( + ret := C.WKWebView_inst_LoadSimulatedRequestResponseHTMLString( unsafe.Pointer(x.Pointer()), objc.RefPointer(request), objc.RefPointer(string), @@ -825,7 +825,7 @@ func (x gen_WKWebView) LoadSimulatedRequest_responseHTMLString( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414969-reload?language=objc for details. func (x gen_WKWebView) Reload() WKNavigation { - ret := C.WKWebView_inst_reload( + ret := C.WKWebView_inst_Reload( unsafe.Pointer(x.Pointer()), ) @@ -833,13 +833,13 @@ func (x gen_WKWebView) Reload() WKNavigation { } -// Reload_ reloads the current webpage. +// Reload reloads the current webpage. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414987-reload?language=objc for details. -func (x gen_WKWebView) Reload_( +func (x gen_WKWebView) Reload( sender objc.Ref, ) { - C.WKWebView_inst_reload_( + C.WKWebView_inst_Reload( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -852,7 +852,7 @@ func (x gen_WKWebView) Reload_( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414956-reloadfromorigin?language=objc for details. func (x gen_WKWebView) ReloadFromOrigin() WKNavigation { - ret := C.WKWebView_inst_reloadFromOrigin( + ret := C.WKWebView_inst_ReloadFromOrigin( unsafe.Pointer(x.Pointer()), ) @@ -860,13 +860,13 @@ func (x gen_WKWebView) ReloadFromOrigin() WKNavigation { } -// ReloadFromOrigin_ reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. +// ReloadFromOrigin reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414989-reloadfromorigin?language=objc for details. -func (x gen_WKWebView) ReloadFromOrigin_( +func (x gen_WKWebView) ReloadFromOrigin( sender objc.Ref, ) { - C.WKWebView_inst_reloadFromOrigin_( + C.WKWebView_inst_ReloadFromOrigin( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -879,7 +879,7 @@ func (x gen_WKWebView) ReloadFromOrigin_( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414981-stoploading?language=objc for details. func (x gen_WKWebView) StopLoading() { - C.WKWebView_inst_stopLoading( + C.WKWebView_inst_StopLoading( unsafe.Pointer(x.Pointer()), ) @@ -887,13 +887,13 @@ func (x gen_WKWebView) StopLoading() { } -// StopLoading_ stops loading all resources on the current page. +// StopLoading stops loading all resources on the current page. // // See https://developer.apple.com/documentation/webkit/wkwebview/1415013-stoploading?language=objc for details. -func (x gen_WKWebView) StopLoading_( +func (x gen_WKWebView) StopLoading( sender objc.Ref, ) { - C.WKWebView_inst_stopLoading_( + C.WKWebView_inst_StopLoading( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) @@ -906,7 +906,7 @@ func (x gen_WKWebView) StopLoading_( // // See for details. func (x gen_WKWebView) Init_asWKWebView() WKWebView { - ret := C.WKWebView_inst_init( + ret := C.WKWebView_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -918,7 +918,7 @@ func (x gen_WKWebView) Init_asWKWebView() WKWebView { // // See https://developer.apple.com/documentation/webkit/wkwebview/1414979-configuration?language=objc for details. func (x gen_WKWebView) Configuration() WKWebViewConfiguration { - ret := C.WKWebView_inst_configuration( + ret := C.WKWebView_inst_Configuration( unsafe.Pointer(x.Pointer()), ) @@ -944,7 +944,7 @@ func (x gen_WKWebView) UIDelegate() objc.Object { func (x gen_WKWebView) SetUIDelegate( value objc.Ref, ) { - C.WKWebView_inst_setUIDelegate( + C.WKWebView_inst_SetUIDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -957,7 +957,7 @@ func (x gen_WKWebView) SetUIDelegate( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414971-navigationdelegate?language=objc for details. func (x gen_WKWebView) NavigationDelegate() objc.Object { - ret := C.WKWebView_inst_navigationDelegate( + ret := C.WKWebView_inst_NavigationDelegate( unsafe.Pointer(x.Pointer()), ) @@ -971,7 +971,7 @@ func (x gen_WKWebView) NavigationDelegate() objc.Object { func (x gen_WKWebView) SetNavigationDelegate( value objc.Ref, ) { - C.WKWebView_inst_setNavigationDelegate( + C.WKWebView_inst_SetNavigationDelegate( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -984,7 +984,7 @@ func (x gen_WKWebView) SetNavigationDelegate( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414964-loading?language=objc for details. func (x gen_WKWebView) IsLoading() bool { - ret := C.WKWebView_inst_isLoading( + ret := C.WKWebView_inst_IsLoading( unsafe.Pointer(x.Pointer()), ) @@ -996,7 +996,7 @@ func (x gen_WKWebView) IsLoading() bool { // // See https://developer.apple.com/documentation/webkit/wkwebview/1415015-title?language=objc for details. func (x gen_WKWebView) Title() core.NSString { - ret := C.WKWebView_inst_title( + ret := C.WKWebView_inst_Title( unsafe.Pointer(x.Pointer()), ) @@ -1020,7 +1020,7 @@ func (x gen_WKWebView) URL() core.NSURL { // // See https://developer.apple.com/documentation/webkit/wkwebview/3516410-mediatype?language=objc for details. func (x gen_WKWebView) MediaType() core.NSString { - ret := C.WKWebView_inst_mediaType( + ret := C.WKWebView_inst_MediaType( unsafe.Pointer(x.Pointer()), ) @@ -1034,7 +1034,7 @@ func (x gen_WKWebView) MediaType() core.NSString { func (x gen_WKWebView) SetMediaType( value core.NSStringRef, ) { - C.WKWebView_inst_setMediaType( + C.WKWebView_inst_SetMediaType( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1047,7 +1047,7 @@ func (x gen_WKWebView) SetMediaType( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc for details. func (x gen_WKWebView) CustomUserAgent() core.NSString { - ret := C.WKWebView_inst_customUserAgent( + ret := C.WKWebView_inst_CustomUserAgent( unsafe.Pointer(x.Pointer()), ) @@ -1061,7 +1061,7 @@ func (x gen_WKWebView) CustomUserAgent() core.NSString { func (x gen_WKWebView) SetCustomUserAgent( value core.NSStringRef, ) { - C.WKWebView_inst_setCustomUserAgent( + C.WKWebView_inst_SetCustomUserAgent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1074,7 +1074,7 @@ func (x gen_WKWebView) SetCustomUserAgent( // // See https://developer.apple.com/documentation/webkit/wkwebview/1415002-hasonlysecurecontent?language=objc for details. func (x gen_WKWebView) HasOnlySecureContent() bool { - ret := C.WKWebView_inst_hasOnlySecureContent( + ret := C.WKWebView_inst_HasOnlySecureContent( unsafe.Pointer(x.Pointer()), ) @@ -1086,7 +1086,7 @@ func (x gen_WKWebView) HasOnlySecureContent() bool { // // See https://developer.apple.com/documentation/webkit/wkwebview/1414983-allowsmagnification?language=objc for details. func (x gen_WKWebView) AllowsMagnification() bool { - ret := C.WKWebView_inst_allowsMagnification( + ret := C.WKWebView_inst_AllowsMagnification( unsafe.Pointer(x.Pointer()), ) @@ -1100,7 +1100,7 @@ func (x gen_WKWebView) AllowsMagnification() bool { func (x gen_WKWebView) SetAllowsMagnification( value bool, ) { - C.WKWebView_inst_setAllowsMagnification( + C.WKWebView_inst_SetAllowsMagnification( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1113,7 +1113,7 @@ func (x gen_WKWebView) SetAllowsMagnification( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414985-magnification?language=objc for details. func (x gen_WKWebView) Magnification() core.CGFloat { - ret := C.WKWebView_inst_magnification( + ret := C.WKWebView_inst_Magnification( unsafe.Pointer(x.Pointer()), ) @@ -1127,7 +1127,7 @@ func (x gen_WKWebView) Magnification() core.CGFloat { func (x gen_WKWebView) SetMagnification( value core.CGFloat, ) { - C.WKWebView_inst_setMagnification( + C.WKWebView_inst_SetMagnification( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -1140,7 +1140,7 @@ func (x gen_WKWebView) SetMagnification( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414995-allowsbackforwardnavigationgestu?language=objc for details. func (x gen_WKWebView) AllowsBackForwardNavigationGestures() bool { - ret := C.WKWebView_inst_allowsBackForwardNavigationGestures( + ret := C.WKWebView_inst_AllowsBackForwardNavigationGestures( unsafe.Pointer(x.Pointer()), ) @@ -1154,7 +1154,7 @@ func (x gen_WKWebView) AllowsBackForwardNavigationGestures() bool { func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( value bool, ) { - C.WKWebView_inst_setAllowsBackForwardNavigationGestures( + C.WKWebView_inst_SetAllowsBackForwardNavigationGestures( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1167,7 +1167,7 @@ func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( // // See https://developer.apple.com/documentation/webkit/wkwebview/1414966-cangoback?language=objc for details. func (x gen_WKWebView) CanGoBack() bool { - ret := C.WKWebView_inst_canGoBack( + ret := C.WKWebView_inst_CanGoBack( unsafe.Pointer(x.Pointer()), ) @@ -1179,7 +1179,7 @@ func (x gen_WKWebView) CanGoBack() bool { // // See https://developer.apple.com/documentation/webkit/wkwebview/1414962-cangoforward?language=objc for details. func (x gen_WKWebView) CanGoForward() bool { - ret := C.WKWebView_inst_canGoForward( + ret := C.WKWebView_inst_CanGoForward( unsafe.Pointer(x.Pointer()), ) @@ -1191,7 +1191,7 @@ func (x gen_WKWebView) CanGoForward() bool { // // See https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview?language=objc for details. func (x gen_WKWebView) AllowsLinkPreview() bool { - ret := C.WKWebView_inst_allowsLinkPreview( + ret := C.WKWebView_inst_AllowsLinkPreview( unsafe.Pointer(x.Pointer()), ) @@ -1205,7 +1205,7 @@ func (x gen_WKWebView) AllowsLinkPreview() bool { func (x gen_WKWebView) SetAllowsLinkPreview( value bool, ) { - C.WKWebView_inst_setAllowsLinkPreview( + C.WKWebView_inst_SetAllowsLinkPreview( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1218,7 +1218,7 @@ func (x gen_WKWebView) SetAllowsLinkPreview( // // See https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?language=objc for details. func (x gen_WKWebView) InteractionState() objc.Object { - ret := C.WKWebView_inst_interactionState( + ret := C.WKWebView_inst_InteractionState( unsafe.Pointer(x.Pointer()), ) @@ -1232,7 +1232,7 @@ func (x gen_WKWebView) InteractionState() objc.Object { func (x gen_WKWebView) SetInteractionState( value objc.Ref, ) { - C.WKWebView_inst_setInteractionState( + C.WKWebView_inst_SetInteractionState( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1260,14 +1260,14 @@ func WKWebViewConfiguration_fromRef(ref objc.Ref) WKWebViewConfiguration { return WKWebViewConfiguration_fromPointer(unsafe.Pointer(ref.Pointer())) } -// SetURLSchemeHandler_forURLScheme registers an object to load resources associated with the specified url scheme. +// SetURLSchemeHandlerForURLScheme registers an object to load resources associated with the specified url scheme. // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2875766-seturlschemehandler?language=objc for details. -func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( +func (x gen_WKWebViewConfiguration) SetURLSchemeHandlerForURLScheme( urlSchemeHandler objc.Ref, urlScheme core.NSStringRef, ) { - C.WKWebViewConfiguration_inst_setURLSchemeHandler_forURLScheme( + C.WKWebViewConfiguration_inst_SetURLSchemeHandlerForURLScheme( unsafe.Pointer(x.Pointer()), objc.RefPointer(urlSchemeHandler), objc.RefPointer(urlScheme), @@ -1283,7 +1283,7 @@ func (x gen_WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme( func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( urlScheme core.NSStringRef, ) objc.Object { - ret := C.WKWebViewConfiguration_inst_urlSchemeHandlerForURLScheme( + ret := C.WKWebViewConfiguration_inst_UrlSchemeHandlerForURLScheme( unsafe.Pointer(x.Pointer()), objc.RefPointer(urlScheme), ) @@ -1296,7 +1296,7 @@ func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( // // See for details. func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() WKWebViewConfiguration { - ret := C.WKWebViewConfiguration_inst_init( + ret := C.WKWebViewConfiguration_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -1308,7 +1308,7 @@ func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() WKWebViewCon // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395665-applicationnameforuseragent?language=objc for details. func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() core.NSString { - ret := C.WKWebViewConfiguration_inst_applicationNameForUserAgent( + ret := C.WKWebViewConfiguration_inst_ApplicationNameForUserAgent( unsafe.Pointer(x.Pointer()), ) @@ -1322,7 +1322,7 @@ func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() core.NSString func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( value core.NSStringRef, ) { - C.WKWebViewConfiguration_inst_setApplicationNameForUserAgent( + C.WKWebViewConfiguration_inst_SetApplicationNameForUserAgent( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1335,7 +1335,7 @@ func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3585117-limitsnavigationstoappbounddomai?language=objc for details. func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool { - ret := C.WKWebViewConfiguration_inst_limitsNavigationsToAppBoundDomains( + ret := C.WKWebViewConfiguration_inst_LimitsNavigationsToAppBoundDomains( unsafe.Pointer(x.Pointer()), ) @@ -1349,7 +1349,7 @@ func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool { func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( value bool, ) { - C.WKWebViewConfiguration_inst_setLimitsNavigationsToAppBoundDomains( + C.WKWebViewConfiguration_inst_SetLimitsNavigationsToAppBoundDomains( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1362,7 +1362,7 @@ func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395666-preferences?language=objc for details. func (x gen_WKWebViewConfiguration) Preferences() WKPreferences { - ret := C.WKWebViewConfiguration_inst_preferences( + ret := C.WKWebViewConfiguration_inst_Preferences( unsafe.Pointer(x.Pointer()), ) @@ -1376,7 +1376,7 @@ func (x gen_WKWebViewConfiguration) Preferences() WKPreferences { func (x gen_WKWebViewConfiguration) SetPreferences( value WKPreferencesRef, ) { - C.WKWebViewConfiguration_inst_setPreferences( + C.WKWebViewConfiguration_inst_SetPreferences( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), ) @@ -1389,7 +1389,7 @@ func (x gen_WKWebViewConfiguration) SetPreferences( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/2274633-ignoresviewportscalelimits?language=objc for details. func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() bool { - ret := C.WKWebViewConfiguration_inst_ignoresViewportScaleLimits( + ret := C.WKWebViewConfiguration_inst_IgnoresViewportScaleLimits( unsafe.Pointer(x.Pointer()), ) @@ -1403,7 +1403,7 @@ func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() bool { func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( value bool, ) { - C.WKWebViewConfiguration_inst_setIgnoresViewportScaleLimits( + C.WKWebViewConfiguration_inst_SetIgnoresViewportScaleLimits( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1416,7 +1416,7 @@ func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395663-suppressesincrementalrendering?language=objc for details. func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() bool { - ret := C.WKWebViewConfiguration_inst_suppressesIncrementalRendering( + ret := C.WKWebViewConfiguration_inst_SuppressesIncrementalRendering( unsafe.Pointer(x.Pointer()), ) @@ -1430,7 +1430,7 @@ func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() bool { func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( value bool, ) { - C.WKWebViewConfiguration_inst_setSuppressesIncrementalRendering( + C.WKWebViewConfiguration_inst_SetSuppressesIncrementalRendering( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1443,7 +1443,7 @@ func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback?language=objc for details. func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() bool { - ret := C.WKWebViewConfiguration_inst_allowsInlineMediaPlayback( + ret := C.WKWebViewConfiguration_inst_AllowsInlineMediaPlayback( unsafe.Pointer(x.Pointer()), ) @@ -1457,7 +1457,7 @@ func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() bool { func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( value bool, ) { - C.WKWebViewConfiguration_inst_setAllowsInlineMediaPlayback( + C.WKWebViewConfiguration_inst_SetAllowsInlineMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1470,7 +1470,7 @@ func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1395673-allowsairplayformediaplayback?language=objc for details. func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool { - ret := C.WKWebViewConfiguration_inst_allowsAirPlayForMediaPlayback( + ret := C.WKWebViewConfiguration_inst_AllowsAirPlayForMediaPlayback( unsafe.Pointer(x.Pointer()), ) @@ -1484,7 +1484,7 @@ func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool { func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( value bool, ) { - C.WKWebViewConfiguration_inst_setAllowsAirPlayForMediaPlayback( + C.WKWebViewConfiguration_inst_SetAllowsAirPlayForMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1497,7 +1497,7 @@ func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614792-allowspictureinpicturemediaplayb?language=objc for details. func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() bool { - ret := C.WKWebViewConfiguration_inst_allowsPictureInPictureMediaPlayback( + ret := C.WKWebViewConfiguration_inst_AllowsPictureInPictureMediaPlayback( unsafe.Pointer(x.Pointer()), ) @@ -1511,7 +1511,7 @@ func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() bool { func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( value bool, ) { - C.WKWebViewConfiguration_inst_setAllowsPictureInPictureMediaPlayback( + C.WKWebViewConfiguration_inst_SetAllowsPictureInPictureMediaPlayback( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1524,7 +1524,7 @@ func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( // // See https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/3752243-upgradeknownhoststohttps?language=objc for details. func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool { - ret := C.WKWebViewConfiguration_inst_upgradeKnownHostsToHTTPS( + ret := C.WKWebViewConfiguration_inst_UpgradeKnownHostsToHTTPS( unsafe.Pointer(x.Pointer()), ) @@ -1538,7 +1538,7 @@ func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool { func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS( value bool, ) { - C.WKWebViewConfiguration_inst_setUpgradeKnownHostsToHTTPS( + C.WKWebViewConfiguration_inst_SetUpgradeKnownHostsToHTTPS( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1566,14 +1566,14 @@ func WKPreferences_fromRef(ref objc.Ref) WKPreferences { return WKPreferences_fromPointer(unsafe.Pointer(ref.Pointer())) } -// SetValue_forKey +// SetValueForKey // // See for details. -func (x gen_WKPreferences) SetValue_forKey( +func (x gen_WKPreferences) SetValueForKey( value objc.Ref, key core.NSStringRef, ) { - C.WKPreferences_inst_setValue_forKey( + C.WKPreferences_inst_SetValueForKey( unsafe.Pointer(x.Pointer()), objc.RefPointer(value), objc.RefPointer(key), @@ -1587,7 +1587,7 @@ func (x gen_WKPreferences) SetValue_forKey( // // See for details. func (x gen_WKPreferences) Init_asWKPreferences() WKPreferences { - ret := C.WKPreferences_inst_init( + ret := C.WKPreferences_inst_Init( unsafe.Pointer(x.Pointer()), ) @@ -1599,7 +1599,7 @@ func (x gen_WKPreferences) Init_asWKPreferences() WKPreferences { // // See https://developer.apple.com/documentation/webkit/wkpreferences/1537155-minimumfontsize?language=objc for details. func (x gen_WKPreferences) MinimumFontSize() core.CGFloat { - ret := C.WKPreferences_inst_minimumFontSize( + ret := C.WKPreferences_inst_MinimumFontSize( unsafe.Pointer(x.Pointer()), ) @@ -1613,7 +1613,7 @@ func (x gen_WKPreferences) MinimumFontSize() core.CGFloat { func (x gen_WKPreferences) SetMinimumFontSize( value core.CGFloat, ) { - C.WKPreferences_inst_setMinimumFontSize( + C.WKPreferences_inst_SetMinimumFontSize( unsafe.Pointer(x.Pointer()), C.double(value), ) @@ -1626,7 +1626,7 @@ func (x gen_WKPreferences) SetMinimumFontSize( // // See https://developer.apple.com/documentation/webkit/wkpreferences/2818595-tabfocuseslinks?language=objc for details. func (x gen_WKPreferences) TabFocusesLinks() bool { - ret := C.WKPreferences_inst_tabFocusesLinks( + ret := C.WKPreferences_inst_TabFocusesLinks( unsafe.Pointer(x.Pointer()), ) @@ -1640,7 +1640,7 @@ func (x gen_WKPreferences) TabFocusesLinks() bool { func (x gen_WKPreferences) SetTabFocusesLinks( value bool, ) { - C.WKPreferences_inst_setTabFocusesLinks( + C.WKPreferences_inst_SetTabFocusesLinks( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1653,7 +1653,7 @@ func (x gen_WKPreferences) SetTabFocusesLinks( // // See https://developer.apple.com/documentation/webkit/wkpreferences/1536573-javascriptcanopenwindowsautomati?language=objc for details. func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool { - ret := C.WKPreferences_inst_javaScriptCanOpenWindowsAutomatically( + ret := C.WKPreferences_inst_JavaScriptCanOpenWindowsAutomatically( unsafe.Pointer(x.Pointer()), ) @@ -1667,7 +1667,7 @@ func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool { func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( value bool, ) { - C.WKPreferences_inst_setJavaScriptCanOpenWindowsAutomatically( + C.WKPreferences_inst_SetJavaScriptCanOpenWindowsAutomatically( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1680,7 +1680,7 @@ func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( // // See https://developer.apple.com/documentation/webkit/wkpreferences/3335219-fraudulentwebsitewarningenabled?language=objc for details. func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() bool { - ret := C.WKPreferences_inst_isFraudulentWebsiteWarningEnabled( + ret := C.WKPreferences_inst_IsFraudulentWebsiteWarningEnabled( unsafe.Pointer(x.Pointer()), ) @@ -1694,7 +1694,7 @@ func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() bool { func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( value bool, ) { - C.WKPreferences_inst_setFraudulentWebsiteWarningEnabled( + C.WKPreferences_inst_SetFraudulentWebsiteWarningEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) @@ -1707,7 +1707,7 @@ func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( // // See https://developer.apple.com/documentation/webkit/wkpreferences/3727362-textinteractionenabled?language=objc for details. func (x gen_WKPreferences) IsTextInteractionEnabled() bool { - ret := C.WKPreferences_inst_isTextInteractionEnabled( + ret := C.WKPreferences_inst_IsTextInteractionEnabled( unsafe.Pointer(x.Pointer()), ) @@ -1721,7 +1721,7 @@ func (x gen_WKPreferences) IsTextInteractionEnabled() bool { func (x gen_WKPreferences) SetTextInteractionEnabled( value bool, ) { - C.WKPreferences_inst_setTextInteractionEnabled( + C.WKPreferences_inst_SetTextInteractionEnabled( unsafe.Pointer(x.Pointer()), convertToObjCBool(value), ) From 66dbf81f3d07cf0d19a65a540e4c7cdb16169ff1 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 23:34:55 -0700 Subject: [PATCH 12/13] macdriver: impove naming further --- cocoa/NSApplication.go | 4 +- cocoa/NSBundle.go | 2 +- cocoa/NSColor.go | 4 +- cocoa/NSControl.go | 2 +- cocoa/NSEvent_monitor.go | 4 +- cocoa/NSFont.go | 2 +- cocoa/NSImage.go | 6 +- cocoa/NSImageView.go | 2 +- cocoa/NSImage_test.go | 2 +- cocoa/NSMenu.go | 4 +- cocoa/NSMenuItem.go | 6 +- cocoa/NSNib.go | 6 +- cocoa/NSPasteboard.go | 15 +- cocoa/NSPopover.go | 2 +- cocoa/NSScreen.go | 11 +- cocoa/NSSound.go | 2 +- cocoa/NSStatusBar.go | 2 +- cocoa/NSStatusItem.go | 4 +- cocoa/NSTextView.go | 2 +- cocoa/NSView.go | 4 +- cocoa/NSViewController.go | 2 +- cocoa/NSVisualEffectView.go | 2 +- cocoa/NSWindow.go | 8 +- cocoa/cocoa_objc.gen.go | 2680 +++++++----------------------- core/CALayer.go | 2 +- core/NSArray.go | 2 +- core/NSAttributedString.go | 4 +- core/NSData.go | 2 +- core/NSDictionary.go | 6 +- core/NSNumber.go | 4 +- core/NSRunLoop.go | 4 +- core/NSString.go | 4 +- core/NSThread.go | 4 - core/NSURLRequest.go | 2 +- core/core_objc.gen.go | 1115 ++++--------- examples/userdefaults/main.go | 4 +- examples/workspaceutil/main.go | 2 +- gen/gen.go | 3 + gen/gen_class_builder.go | 2 +- gen/lookup.go | 4 +- gen/template/package.tmpl | 18 +- objc/object.go | 4 +- webkit/WKWebView.go | 4 +- webkit/WKWebViewConfiguration.go | 2 +- webkit/webkit_objc.gen.go | 254 +-- 45 files changed, 1102 insertions(+), 3122 deletions(-) diff --git a/cocoa/NSApplication.go b/cocoa/NSApplication.go index 2affcad3..a3d15880 100644 --- a/cocoa/NSApplication.go +++ b/cocoa/NSApplication.go @@ -32,11 +32,11 @@ type NSApplication struct { } func NSApplication_New() NSApplication { - return NSApplication_alloc().Init_asNSApplication() + return NSApplication_Alloc().Init_AsNSApplication() } func NSApp() NSApplication { - return NSApplication_sharedApplication() + return NSApplication_SharedApplication() } func NSApp_WithDidLaunch(cb func(notification objc.Object)) NSApplication { diff --git a/cocoa/NSBundle.go b/cocoa/NSBundle.go index bd60e797..efdf4589 100644 --- a/cocoa/NSBundle.go +++ b/cocoa/NSBundle.go @@ -3,5 +3,5 @@ package cocoa type NSBundle struct{ gen_NSBundle } func NSBundle_Main() NSBundle { - return NSBundle_mainBundle() + return NSBundle_MainBundle() } diff --git a/cocoa/NSColor.go b/cocoa/NSColor.go index c88bafa6..e6c6aac8 100644 --- a/cocoa/NSColor.go +++ b/cocoa/NSColor.go @@ -5,9 +5,9 @@ import "github.com/progrium/macdriver/core" type NSColor struct{ gen_NSColor } func NSColor_Init(r, g, b, a float64) NSColor { - return NSColor_colorWithRed_green_blue_alpha(core.CGFloat(r), core.CGFloat(g), core.CGFloat(b), core.CGFloat(a)) + return NSColor_ColorWithRedGreenBlueAlpha(core.CGFloat(r), core.CGFloat(g), core.CGFloat(b), core.CGFloat(a)) } func NSColor_Clear() NSColor { - return NSColor_clearColor() + return NSColor_ClearColor() } diff --git a/cocoa/NSControl.go b/cocoa/NSControl.go index dd5a4579..548f4c70 100644 --- a/cocoa/NSControl.go +++ b/cocoa/NSControl.go @@ -9,5 +9,5 @@ type NSControl struct { } func NSControl_Init(frame core.NSRect) NSControl { - return NSControl_alloc().InitWithFrame_asNSControl(frame) + return NSControl_Alloc().InitWithFrame_AsNSControl(frame) } diff --git a/cocoa/NSEvent_monitor.go b/cocoa/NSEvent_monitor.go index 6d18d401..023c1869 100644 --- a/cocoa/NSEvent_monitor.go +++ b/cocoa/NSEvent_monitor.go @@ -22,7 +22,7 @@ func monitorGlobalReentry(event unsafe.Pointer) { } obj := objc.ObjectPtr(uintptr(event)) obj.Retain() - monitorCh <- NSEvent_fromRef(obj) + monitorCh <- NSEvent_FromRef(obj) } //export monitorLocalReentry @@ -32,6 +32,6 @@ func monitorLocalReentry(event unsafe.Pointer) unsafe.Pointer { } obj := objc.ObjectPtr(uintptr(event)) obj.Retain() - monitorCh <- NSEvent_fromRef(obj) + monitorCh <- NSEvent_FromRef(obj) return event } diff --git a/cocoa/NSFont.go b/cocoa/NSFont.go index a392c27a..3fb594a2 100644 --- a/cocoa/NSFont.go +++ b/cocoa/NSFont.go @@ -7,7 +7,7 @@ import ( type NSFont struct{ gen_NSFont } func NSFont_Init(fontName string, size float64) NSFont { - return NSFont_fontWithName_size( + return NSFont_FontWithNameSize( core.String(fontName), core.CGFloat(size), ) diff --git a/cocoa/NSImage.go b/cocoa/NSImage.go index 3f305e95..9c4a008c 100644 --- a/cocoa/NSImage.go +++ b/cocoa/NSImage.go @@ -9,15 +9,15 @@ type NSImage struct { } func NSImage_InitWithData(data core.NSDataRef) NSImage { - return NSImage_alloc().InitWithData_asNSImage(data) + return NSImage_Alloc().InitWithData_AsNSImage(data) } func NSImage_InitWithURL(url core.NSURL) NSImage { - return NSImage_alloc().InitWithContentsOfURL_asNSImage(url) + return NSImage_Alloc().InitWithContentsOfURL_AsNSImage(url) } func NSImage_ImageNamed(name string) NSImage { - return NSImage_fromRef(NSImage_alloc().Send("imageNamed:", core.String(name))) + return NSImage_FromRef(NSImage_Alloc().Send("imageNamed:", core.String(name))) } func (i NSImage) SetValueForKey(value, key interface{}) { diff --git a/cocoa/NSImageView.go b/cocoa/NSImageView.go index 4c6fea8c..146457ad 100644 --- a/cocoa/NSImageView.go +++ b/cocoa/NSImageView.go @@ -5,5 +5,5 @@ type NSImageView struct { } func NSImageView_New() NSImageView { - return NSImageView_alloc().Init_asNSImageView() + return NSImageView_Alloc().Init_AsNSImageView() } diff --git a/cocoa/NSImage_test.go b/cocoa/NSImage_test.go index 56e1488b..d57302c4 100644 --- a/cocoa/NSImage_test.go +++ b/cocoa/NSImage_test.go @@ -8,7 +8,7 @@ import ( ) func TestNSImageSize(t *testing.T) { - img := NSImage_alloc().InitWithSize_asNSImage(core.Size(100, 200)) + img := NSImage_Alloc().InitWithSize_AsNSImage(core.Size(100, 200)) size := img.Size() assert.EqualValues(t, 100, size.Width) assert.EqualValues(t, 200, size.Height) diff --git a/cocoa/NSMenu.go b/cocoa/NSMenu.go index cb30923b..968dcf70 100644 --- a/cocoa/NSMenu.go +++ b/cocoa/NSMenu.go @@ -9,11 +9,11 @@ type NSMenu struct { } func NSMenu_New() NSMenu { - return NSMenu_alloc().Init_asNSMenu() + return NSMenu_Alloc().Init_AsNSMenu() } func NSMenu_Init(title string) NSMenu { - return NSMenu_alloc().InitWithTitle_asNSMenu(core.String(title)) + return NSMenu_Alloc().InitWithTitle_AsNSMenu(core.String(title)) } func (menu NSMenu) Title() string { diff --git a/cocoa/NSMenuItem.go b/cocoa/NSMenuItem.go index 369ac171..74cdf074 100644 --- a/cocoa/NSMenuItem.go +++ b/cocoa/NSMenuItem.go @@ -14,19 +14,19 @@ type NSMenuItem struct { // NSMenuItem_Init returns an initialized instance of NSMenuItem. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc func NSMenuItem_Init(itemName string, action objc.Selector, keyEquivalent string) NSMenuItem { - return NSMenuItem_alloc().InitWithTitle_action_keyEquivalent_asNSMenuItem( + return NSMenuItem_Alloc().InitWithTitleActionKeyEquivalent_AsNSMenuItem( core.String(itemName), action, core.String(keyEquivalent)) } // NSMenuItem_New returns an initialized instance of NSMenuItem. func NSMenuItem_New() NSMenuItem { - return NSMenuItem_alloc().Init_asNSMenuItem() + return NSMenuItem_Alloc().Init_AsNSMenuItem() } // NSMenuItem_Separator returns a menu item that is used to separate logical groups of menu commands. // https://developer.apple.com/documentation/appkit/nsmenuitem/1514838-separatoritem?language=objc func NSMenuItem_Separator() NSMenuItem { - return NSMenuItem_separatorItem() + return NSMenuItem_SeparatorItem() } // Hidden returns a boolean value that indicates whether the menu item is hidden. diff --git a/cocoa/NSNib.go b/cocoa/NSNib.go index 9e56b31e..91547e76 100644 --- a/cocoa/NSNib.go +++ b/cocoa/NSNib.go @@ -12,17 +12,17 @@ type NSNib struct { } func NSNib_InitWithNibNamed_Bundle(name string, bundle NSBundle) NSNib { - return NSNib_fromRef(NSNib_alloc().Send("initWithNibNamed:bundle:", core.String(name), bundle)) + return NSNib_FromRef(NSNib_Alloc().Send("initWithNibNamed:bundle:", core.String(name), bundle)) } func NSNib_InitWithNibData_Bundle(data core.NSDataRef, bundle NSBundleRef) NSNib { - return NSNib_alloc().InitWithNibData_bundle_asNSNib(data, bundle) + return NSNib_Alloc().InitWithNibDataBundle_AsNSNib(data, bundle) } func (nib NSNib) InstantiateWithOwner_TopLevelObjects(owner objc.Object) (core.NSArray, bool) { var ptr uintptr ok := nib.Send("instantiateWithOwner:topLevelObjects:", owner, &ptr).Bool() - return core.NSArray_fromPointer(unsafe.Pointer(ptr)), ok + return core.NSArray_FromPointer(unsafe.Pointer(ptr)), ok } // Deprecated: use InstantiateWithOwner_TopLevelObjects diff --git a/cocoa/NSPasteboard.go b/cocoa/NSPasteboard.go index bb371882..dfed43c0 100644 --- a/cocoa/NSPasteboard.go +++ b/cocoa/NSPasteboard.go @@ -51,19 +51,6 @@ type NSPasteboard struct { gen_NSPasteboard } -// NSPasteboard_GeneralPasteboard is the shared pasteboard object to use for general content. -// https://developer.apple.com/documentation/appkit/nspasteboard/1530091-generalpasteboard?language=objc -func NSPasteboard_GeneralPasteboard() NSPasteboard { - return NSPasteboard_generalPasteboard() -} - -// ClearContents clears the existing contents of the pasteboard. -// https://developer.apple.com/documentation/appkit/nspasteboard/1533599-clearcontents?language=objc -func (pb NSPasteboard) ClearContents() { - // TODO this returns an int, should we add that to this wrapper? - pb.gen_NSPasteboard.ClearContents() -} - // SetStringForType sets the given string as the representation for the specified type for the first item on the receiver. // https://developer.apple.com/documentation/appkit/nspasteboard/1528225-setstring?language=objc func (pb NSPasteboard) SetStringForType(s string, t NSPasteboardType) { @@ -79,7 +66,7 @@ func (pb NSPasteboard) StringForType(t NSPasteboardType) string { // DataForType returns the data for the specified type from the first item in the receiver that contains the type. // https://developer.apple.com/documentation/appkit/nspasteboard/1531810-datafortype?language=objc func (pb NSPasteboard) DataForType(t NSPasteboardType) core.NSData { - return core.NSData_fromRef(pb.Send("dataForType:", core.String(string(t)))) + return core.NSData_FromRef(pb.Send("dataForType:", core.String(string(t)))) } // Types is an array of the receiver’s supported data types. diff --git a/cocoa/NSPopover.go b/cocoa/NSPopover.go index 9445a784..4edf9b01 100644 --- a/cocoa/NSPopover.go +++ b/cocoa/NSPopover.go @@ -14,7 +14,7 @@ const ( ) func NSPopover_Init() NSPopover { - return NSPopover_alloc().Init_asNSPopover() + return NSPopover_Alloc().Init_AsNSPopover() } func (p NSPopover) SetContentSize(s core.NSSize) { diff --git a/cocoa/NSScreen.go b/cocoa/NSScreen.go index 7f8011e7..cf88ef2c 100644 --- a/cocoa/NSScreen.go +++ b/cocoa/NSScreen.go @@ -5,14 +5,5 @@ type NSScreen struct { } func NSScreen_Main() NSScreen { - return NSScreen_mainScreen() -} - -func NSScreen_Screens() []NSScreen { - var result []NSScreen - screens := NSScreen_screens() - for i := uint64(0); i < screens.Count(); i++ { - result = append(result, NSScreen_fromRef(screens.ObjectAtIndex(i))) - } - return result + return NSScreen_MainScreen() } diff --git a/cocoa/NSSound.go b/cocoa/NSSound.go index 1d5bf0b3..3451bae6 100644 --- a/cocoa/NSSound.go +++ b/cocoa/NSSound.go @@ -9,7 +9,7 @@ type NSSound struct { } func NSSound_InitWithData(data core.NSDataRef) NSSound { - return NSSound_alloc().InitWithData_asNSSound(data) + return NSSound_Alloc().InitWithData_AsNSSound(data) } func (sound NSSound) Play() { diff --git a/cocoa/NSStatusBar.go b/cocoa/NSStatusBar.go index 9c326561..c6fb5aaf 100644 --- a/cocoa/NSStatusBar.go +++ b/cocoa/NSStatusBar.go @@ -14,7 +14,7 @@ type NSStatusBar struct { } func NSStatusBar_System() NSStatusBar { - return NSStatusBar_systemStatusBar() + return NSStatusBar_SystemStatusBar() } func (sb NSStatusBar) StatusItemWithLength(l float64) NSStatusItem { diff --git a/cocoa/NSStatusItem.go b/cocoa/NSStatusItem.go index f3df6ada..98ed4833 100644 --- a/cocoa/NSStatusItem.go +++ b/cocoa/NSStatusItem.go @@ -9,11 +9,11 @@ type NSStatusItem struct { } func (i NSStatusItem) Button() NSStatusBarButton { - return NSStatusBarButton_fromRef(i.Get("button")) + return NSStatusBarButton_FromRef(i.Get("button")) } func (i NSStatusItem) Menu() NSMenu { - return NSMenu_fromRef(i.Get("menu")) + return NSMenu_FromRef(i.Get("menu")) } func (i NSStatusItem) Target() objc.Object { diff --git a/cocoa/NSTextView.go b/cocoa/NSTextView.go index 65a452c8..9de70626 100644 --- a/cocoa/NSTextView.go +++ b/cocoa/NSTextView.go @@ -19,7 +19,7 @@ type NSTextView struct { } func NSTextView_Init(frame core.NSRect) NSTextView { - return NSTextView_alloc().InitWithFrame_asNSTextView(frame) + return NSTextView_Alloc().InitWithFrame_AsNSTextView(frame) } func (v NSTextView) String() string { diff --git a/cocoa/NSView.go b/cocoa/NSView.go index 54124553..76602e8a 100644 --- a/cocoa/NSView.go +++ b/cocoa/NSView.go @@ -10,11 +10,11 @@ type NSView struct { } func NSView_Init(frame core.NSRect) NSView { - return NSView_alloc().InitWithFrame_asNSView(frame) + return NSView_Alloc().InitWithFrame_AsNSView(frame) } func (v NSView) AddSubviewPositionedRelativeTo(subview NSViewRef, positioned int, relativeTo NSViewRef) { - v.AddSubview_positioned_relativeTo(subview, core.NSUInteger(positioned), relativeTo) + v.gen_NSView.AddSubviewPositionedRelativeTo(subview, core.NSUInteger(positioned), relativeTo) } func (v NSView) SetOpaque(b bool) { diff --git a/cocoa/NSViewController.go b/cocoa/NSViewController.go index cf473231..08cb1938 100644 --- a/cocoa/NSViewController.go +++ b/cocoa/NSViewController.go @@ -3,7 +3,7 @@ package cocoa type NSViewController struct{ gen_NSViewController } func NSViewController_New() NSViewController { - return NSViewController_alloc().Init_asNSViewController() + return NSViewController_Alloc().Init_AsNSViewController() } func (c NSViewController) SetView(v NSView) { diff --git a/cocoa/NSVisualEffectView.go b/cocoa/NSVisualEffectView.go index e126fb16..f85dc525 100644 --- a/cocoa/NSVisualEffectView.go +++ b/cocoa/NSVisualEffectView.go @@ -10,7 +10,7 @@ type NSVisualEffectView struct { } func NSVisualEffectView_New() NSVisualEffectView { - return NSVisualEffectView_alloc().Init_asNSVisualEffectView() + return NSVisualEffectView_Alloc().Init_AsNSVisualEffectView() } // effect.Set("translatesAutoresizingMaskIntoConstraints:", false) diff --git a/cocoa/NSWindow.go b/cocoa/NSWindow.go index a14e7a1a..4a154bfd 100644 --- a/cocoa/NSWindow.go +++ b/cocoa/NSWindow.go @@ -12,15 +12,15 @@ type NSWindow struct { var nsWindow = objc.Get("NSWindow") func NSWindow_New() NSWindow { - return NSWindow_alloc().Init_asNSWindow() + return NSWindow_Alloc().Init_AsNSWindow() } func NSWindow_WithContentViewController(controller NSViewControllerRef) NSWindow { - return NSWindow_windowWithContentViewController(controller) + return NSWindow_WindowWithContentViewController(controller) } func NSWindow_Init(rect core.NSRect, windowStyle core.NSUInteger, bufferingType NSBackingStoreType, deferCreation bool) NSWindow { - return NSWindow_alloc().InitWithContentRect_styleMask_backing_defer_asNSWindow( + return NSWindow_Alloc().InitWithContentRectStyleMaskBackingDefer_AsNSWindow( rect, core.NSUInteger(windowStyle), core.NSUInteger(bufferingType), deferCreation, ) } @@ -66,7 +66,7 @@ func (w NSWindow) MovableByWindowBackground() bool { } func (w NSWindow) SetFrameDisplay(frame core.NSRect, display bool) { - w.SetFrame_display(frame, display) + w.SetFrameDisplay(frame, display) } func (w NSWindow) CollectionBehavior() uint { diff --git a/cocoa/cocoa_objc.gen.go b/cocoa/cocoa_objc.gen.go index dcd68a99..5b4e259e 100755 --- a/cocoa/cocoa_objc.gen.go +++ b/cocoa/cocoa_objc.gen.go @@ -7533,8 +7533,7 @@ func convertToObjCBool(b bool) C.BOOL { func NSBundle_Alloc() NSBundle { ret := C.NSBundle_type_Alloc() - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // NSBundle_BundleWithURL returns an nsbundle object that corresponds to the specified file url. @@ -7545,8 +7544,7 @@ func NSBundle_BundleWithURL(url core.NSURLRef) NSBundle { objc.RefPointer(url), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // NSBundle_BundleWithPath returns an nsbundle object that corresponds to the specified directory. @@ -7557,8 +7555,7 @@ func NSBundle_BundleWithPath(path core.NSStringRef) NSBundle { objc.RefPointer(path), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // NSBundle_BundleWithIdentifier returns the nsbundle instance that has the specified bundle identifier. @@ -7569,8 +7566,7 @@ func NSBundle_BundleWithIdentifier(identifier core.NSStringRef) NSBundle { objc.RefPointer(identifier), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // NSBundle_URLForResourceWithExtensionSubdirectoryInBundleWithURL creates and returns a file url for the resource with the specified name and extension in the specified bundle. @@ -7584,8 +7580,7 @@ func NSBundle_URLForResourceWithExtensionSubdirectoryInBundleWithURL(name core.N objc.RefPointer(bundleURL), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // NSBundle_URLsForResourcesWithExtensionSubdirectoryInBundleWithURL returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle. @@ -7598,8 +7593,7 @@ func NSBundle_URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(ext core. objc.RefPointer(bundleURL), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSBundle_PathForResourceOfTypeInDirectory returns the full pathname for the resource file identified by the specified name and extension and residing in a given bundle directory. @@ -7612,8 +7606,7 @@ func NSBundle_PathForResourceOfTypeInDirectory(name core.NSStringRef, ext core.N objc.RefPointer(bundlePath), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // NSBundle_PathsForResourcesOfTypeInDirectory returns an array containing the pathnames for all bundle resources having the specified extension and residing in the bundle directory at the specified path. @@ -7625,8 +7618,7 @@ func NSBundle_PathsForResourcesOfTypeInDirectory(ext core.NSStringRef, bundlePat objc.RefPointer(bundlePath), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSBundle_PreferredLocalizationsFromArray returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user. @@ -7637,8 +7629,7 @@ func NSBundle_PreferredLocalizationsFromArray(localizationsArray core.NSArrayRef objc.RefPointer(localizationsArray), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSBundle_PreferredLocalizationsFromArrayForPreferences returns locale identifiers for which a bundle would provide localized content, given a specified list of candidates for a user's language preferences. @@ -7650,8 +7641,7 @@ func NSBundle_PreferredLocalizationsFromArrayForPreferences(localizationsArray c objc.RefPointer(preferencesArray), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSBundle_MainBundle returns the bundle object that contains the current executable. @@ -7660,8 +7650,7 @@ func NSBundle_PreferredLocalizationsFromArrayForPreferences(localizationsArray c func NSBundle_MainBundle() NSBundle { ret := C.NSBundle_type_MainBundle() - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // NSBundle_AllFrameworks returns an array of all of the application’s bundles that represent frameworks. @@ -7670,8 +7659,7 @@ func NSBundle_MainBundle() NSBundle { func NSBundle_AllFrameworks() core.NSArray { ret := C.NSBundle_type_AllFrameworks() - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSBundle_AllBundles returns an array of all the application’s non-framework bundles. @@ -7680,8 +7668,7 @@ func NSBundle_AllFrameworks() core.NSArray { func NSBundle_AllBundles() core.NSArray { ret := C.NSBundle_type_AllBundles() - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSSound_Alloc @@ -7690,8 +7677,7 @@ func NSBundle_AllBundles() core.NSArray { func NSSound_Alloc() NSSound { ret := C.NSSound_type_Alloc() - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // NSSound_CanInitWithPasteboard indicates whether the receiver can create an instance of itself from the data in a pasteboard. @@ -7703,7 +7689,6 @@ func NSSound_CanInitWithPasteboard(pasteboard NSPasteboardRef) bool { ) return convertObjCBoolToGo(ret) - } // NSSound_SoundUnfilteredTypes provides the file types the nssound class understands. @@ -7712,8 +7697,7 @@ func NSSound_CanInitWithPasteboard(pasteboard NSPasteboardRef) bool { func NSSound_SoundUnfilteredTypes() core.NSArray { ret := C.NSSound_type_SoundUnfilteredTypes() - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSApplication_Alloc @@ -7722,8 +7706,7 @@ func NSSound_SoundUnfilteredTypes() core.NSArray { func NSApplication_Alloc() NSApplication { ret := C.NSApplication_type_Alloc() - return NSApplication_fromPointer(ret) - + return NSApplication_FromPointer(ret) } // NSApplication_DetachDrawingThreadToTargetWithObject creates and executes a new thread based on the specified target and selector. @@ -7737,7 +7720,6 @@ func NSApplication_DetachDrawingThreadToTargetWithObject(selector objc.Selector, ) return - } // NSApplication_SharedApplication returns the application instance, creating it if it doesn’t exist yet. @@ -7746,8 +7728,7 @@ func NSApplication_DetachDrawingThreadToTargetWithObject(selector objc.Selector, func NSApplication_SharedApplication() NSApplication { ret := C.NSApplication_type_SharedApplication() - return NSApplication_fromPointer(ret) - + return NSApplication_FromPointer(ret) } // NSControl_Alloc @@ -7756,8 +7737,7 @@ func NSApplication_SharedApplication() NSApplication { func NSControl_Alloc() NSControl { ret := C.NSControl_type_Alloc() - return NSControl_fromPointer(ret) - + return NSControl_FromPointer(ret) } // NSButton_Alloc @@ -7766,8 +7746,7 @@ func NSControl_Alloc() NSControl { func NSButton_Alloc() NSButton { ret := C.NSButton_type_Alloc() - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // NSButton_CheckboxWithTitleTargetAction creates a standard checkbox with the title you specify. @@ -7780,8 +7759,7 @@ func NSButton_CheckboxWithTitleTargetAction(title core.NSStringRef, target objc. action.SelectorAddress(), ) - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // NSButton_ButtonWithImageTargetAction creates a standard push button with the image you specify. @@ -7794,8 +7772,7 @@ func NSButton_ButtonWithImageTargetAction(image NSImageRef, target objc.Ref, act action.SelectorAddress(), ) - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // NSButton_RadioButtonWithTitleTargetAction creates a standard radio button with the title you specify. @@ -7808,8 +7785,7 @@ func NSButton_RadioButtonWithTitleTargetAction(title core.NSStringRef, target ob action.SelectorAddress(), ) - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // NSButton_ButtonWithTitleImageTargetAction creates a standard push button with a title and image. @@ -7823,8 +7799,7 @@ func NSButton_ButtonWithTitleImageTargetAction(title core.NSStringRef, image NSI action.SelectorAddress(), ) - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // NSButton_ButtonWithTitleTargetAction creates a standard push button with the title you specify. @@ -7837,8 +7812,7 @@ func NSButton_ButtonWithTitleTargetAction(title core.NSStringRef, target objc.Re action.SelectorAddress(), ) - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // NSEvent_Alloc @@ -7847,8 +7821,7 @@ func NSButton_ButtonWithTitleTargetAction(title core.NSStringRef, target objc.Re func NSEvent_Alloc() NSEvent { ret := C.NSEvent_type_Alloc() - return NSEvent_fromPointer(ret) - + return NSEvent_FromPointer(ret) } // NSEvent_EventWithEventRef creates an event object that is based on a carbon type of event. @@ -7859,8 +7832,7 @@ func NSEvent_EventWithEventRef(eventRef unsafe.Pointer) NSEvent { eventRef, ) - return NSEvent_fromPointer(ret) - + return NSEvent_FromPointer(ret) } // NSEvent_StopPeriodicEvents stops generating periodic events for the current thread and discards any periodic events remaining in the queue. @@ -7870,7 +7842,6 @@ func NSEvent_StopPeriodicEvents() { C.NSEvent_type_StopPeriodicEvents() return - } // NSEvent_RemoveMonitor remove the specified event monitor. @@ -7882,7 +7853,6 @@ func NSEvent_RemoveMonitor(eventMonitor objc.Ref) { ) return - } // NSEvent_PressedMouseButtons returns the indices of the currently depressed mouse buttons. @@ -7892,7 +7862,6 @@ func NSEvent_PressedMouseButtons() core.NSUInteger { ret := C.NSEvent_type_PressedMouseButtons() return core.NSUInteger(ret) - } // NSEvent_MouseLocation reports the current mouse position in screen coordinates. @@ -7902,7 +7871,6 @@ func NSEvent_MouseLocation() core.NSPoint { ret := C.NSEvent_type_MouseLocation() return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // NSEvent_MouseCoalescingEnabled @@ -7912,7 +7880,6 @@ func NSEvent_MouseCoalescingEnabled() bool { ret := C.NSEvent_type_MouseCoalescingEnabled() return convertObjCBoolToGo(ret) - } // NSEvent_SetMouseCoalescingEnabled @@ -7924,7 +7891,6 @@ func NSEvent_SetMouseCoalescingEnabled(value bool) { ) return - } // NSEvent_SwipeTrackingFromScrollEventsEnabled @@ -7934,7 +7900,6 @@ func NSEvent_SwipeTrackingFromScrollEventsEnabled() bool { ret := C.NSEvent_type_SwipeTrackingFromScrollEventsEnabled() return convertObjCBoolToGo(ret) - } // NSFont_Alloc @@ -7943,8 +7908,7 @@ func NSEvent_SwipeTrackingFromScrollEventsEnabled() bool { func NSFont_Alloc() NSFont { ret := C.NSFont_type_Alloc() - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_FontWithNameSize creates a font object for the specified font name and font size. @@ -7956,8 +7920,7 @@ func NSFont_FontWithNameSize(fontName core.NSStringRef, fontSize core.CGFloat) N C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_UserFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. @@ -7968,8 +7931,7 @@ func NSFont_UserFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_UserFixedPitchFontOfSize returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. @@ -7980,8 +7942,7 @@ func NSFont_UserFixedPitchFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_SystemFontOfSize returns the standard system font with the specified size. @@ -7992,8 +7953,7 @@ func NSFont_SystemFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_BoldSystemFontOfSize returns the standard system font in boldface type with the specified size. @@ -8004,8 +7964,7 @@ func NSFont_BoldSystemFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_LabelFontOfSize returns the font used for standard interface labels in the specified size. @@ -8016,8 +7975,7 @@ func NSFont_LabelFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_MessageFontOfSize returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. @@ -8028,8 +7986,7 @@ func NSFont_MessageFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_MenuBarFontOfSize returns the font used for menu bar items, in the specified size. @@ -8040,8 +7997,7 @@ func NSFont_MenuBarFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_MenuFontOfSize returns the font used for menu items, in the specified size. @@ -8052,8 +8008,7 @@ func NSFont_MenuFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_ControlContentFontOfSize returns the font used for the content of controls in the specified size. @@ -8064,8 +8019,7 @@ func NSFont_ControlContentFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_TitleBarFontOfSize returns the font used for window title bars, in the specified size. @@ -8076,8 +8030,7 @@ func NSFont_TitleBarFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_PaletteFontOfSize returns the font used for palette window title bars, in the specified size. @@ -8088,8 +8041,7 @@ func NSFont_PaletteFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_ToolTipsFontOfSize returns the font used for tool tips labels, in the specified size. @@ -8100,8 +8052,7 @@ func NSFont_ToolTipsFontOfSize(fontSize core.CGFloat) NSFont { C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // NSFont_SetUserFont sets the font used by default for documents and other text under the user’s control to the specified font. @@ -8113,7 +8064,6 @@ func NSFont_SetUserFont(font NSFontRef) { ) return - } // NSFont_SetUserFixedPitchFont sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. @@ -8125,7 +8075,6 @@ func NSFont_SetUserFixedPitchFont(font NSFontRef) { ) return - } // NSFont_SystemFontSize returns the size of the standard system font. @@ -8135,7 +8084,6 @@ func NSFont_SystemFontSize() core.CGFloat { ret := C.NSFont_type_SystemFontSize() return core.CGFloat(ret) - } // NSFont_SmallSystemFontSize returns the size of the standard small system font. @@ -8145,7 +8093,6 @@ func NSFont_SmallSystemFontSize() core.CGFloat { ret := C.NSFont_type_SmallSystemFontSize() return core.CGFloat(ret) - } // NSFont_LabelFontSize returns the size of the standard label font. @@ -8155,7 +8102,6 @@ func NSFont_LabelFontSize() core.CGFloat { ret := C.NSFont_type_LabelFontSize() return core.CGFloat(ret) - } // NSImage_Alloc @@ -8164,8 +8110,7 @@ func NSFont_LabelFontSize() core.CGFloat { func NSImage_Alloc() NSImage { ret := C.NSImage_type_Alloc() - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // NSImage_ImageWithSystemSymbolNameAccessibilityDescription creates a symbol image with the system symbol name and accessibility description that you specify. @@ -8177,8 +8122,7 @@ func NSImage_ImageWithSystemSymbolNameAccessibilityDescription(symbolName core.N objc.RefPointer(description), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // NSImage_CanInitWithPasteboard tests whether the image can create an instance of itself using pasteboard data. @@ -8190,7 +8134,6 @@ func NSImage_CanInitWithPasteboard(pasteboard NSPasteboardRef) bool { ) return convertObjCBoolToGo(ret) - } // NSImage_ImageTypes returns an array of uti strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. @@ -8199,8 +8142,7 @@ func NSImage_CanInitWithPasteboard(pasteboard NSPasteboardRef) bool { func NSImage_ImageTypes() core.NSArray { ret := C.NSImage_type_ImageTypes() - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSImage_ImageUnfilteredTypes returns an array of uti strings identifying the image types supported directly by the registered image representation objects. @@ -8209,8 +8151,7 @@ func NSImage_ImageTypes() core.NSArray { func NSImage_ImageUnfilteredTypes() core.NSArray { ret := C.NSImage_type_ImageUnfilteredTypes() - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSImageView_Alloc @@ -8219,8 +8160,7 @@ func NSImage_ImageUnfilteredTypes() core.NSArray { func NSImageView_Alloc() NSImageView { ret := C.NSImageView_type_Alloc() - return NSImageView_fromPointer(ret) - + return NSImageView_FromPointer(ret) } // NSImageView_ImageViewWithImage @@ -8231,8 +8171,7 @@ func NSImageView_ImageViewWithImage(image NSImageRef) NSImageView { objc.RefPointer(image), ) - return NSImageView_fromPointer(ret) - + return NSImageView_FromPointer(ret) } // NSNib_Alloc @@ -8241,8 +8180,7 @@ func NSImageView_ImageViewWithImage(image NSImageRef) NSImageView { func NSNib_Alloc() NSNib { ret := C.NSNib_type_Alloc() - return NSNib_fromPointer(ret) - + return NSNib_FromPointer(ret) } // NSPasteboard_Alloc @@ -8251,8 +8189,7 @@ func NSNib_Alloc() NSNib { func NSPasteboard_Alloc() NSPasteboard { ret := C.NSPasteboard_type_Alloc() - return NSPasteboard_fromPointer(ret) - + return NSPasteboard_FromPointer(ret) } // NSPasteboard_PasteboardByFilteringFile creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. @@ -8263,8 +8200,7 @@ func NSPasteboard_PasteboardByFilteringFile(filename core.NSStringRef) NSPastebo objc.RefPointer(filename), ) - return NSPasteboard_fromPointer(ret) - + return NSPasteboard_FromPointer(ret) } // NSPasteboard_PasteboardByFilteringTypesInPasteboard creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. @@ -8275,8 +8211,7 @@ func NSPasteboard_PasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) objc.RefPointer(pboard), ) - return NSPasteboard_fromPointer(ret) - + return NSPasteboard_FromPointer(ret) } // NSPasteboard_PasteboardWithUniqueName creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. @@ -8285,8 +8220,7 @@ func NSPasteboard_PasteboardByFilteringTypesInPasteboard(pboard NSPasteboardRef) func NSPasteboard_PasteboardWithUniqueName() NSPasteboard { ret := C.NSPasteboard_type_PasteboardWithUniqueName() - return NSPasteboard_fromPointer(ret) - + return NSPasteboard_FromPointer(ret) } // NSPasteboard_GeneralPasteboard returns the shared pasteboard object to use for general content. @@ -8295,8 +8229,7 @@ func NSPasteboard_PasteboardWithUniqueName() NSPasteboard { func NSPasteboard_GeneralPasteboard() NSPasteboard { ret := C.NSPasteboard_type_GeneralPasteboard() - return NSPasteboard_fromPointer(ret) - + return NSPasteboard_FromPointer(ret) } // NSLayoutManager_Alloc @@ -8305,8 +8238,7 @@ func NSPasteboard_GeneralPasteboard() NSPasteboard { func NSLayoutManager_Alloc() NSLayoutManager { ret := C.NSLayoutManager_type_Alloc() - return NSLayoutManager_fromPointer(ret) - + return NSLayoutManager_FromPointer(ret) } // NSMenu_Alloc @@ -8315,8 +8247,7 @@ func NSLayoutManager_Alloc() NSLayoutManager { func NSMenu_Alloc() NSMenu { ret := C.NSMenu_type_Alloc() - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // NSMenu_MenuBarVisible returns a boolean value that indicates whether the menu bar is visible. @@ -8326,7 +8257,6 @@ func NSMenu_MenuBarVisible() bool { ret := C.NSMenu_type_MenuBarVisible() return convertObjCBoolToGo(ret) - } // NSMenu_SetMenuBarVisible sets whether the menu bar is visible and selectable by the user. @@ -8338,7 +8268,6 @@ func NSMenu_SetMenuBarVisible(visible bool) { ) return - } // NSMenu_PopUpContextMenuWithEventForView displays a contextual menu over a view for an event. @@ -8352,7 +8281,6 @@ func NSMenu_PopUpContextMenuWithEventForView(menu NSMenuRef, event NSEventRef, v ) return - } // NSMenu_PopUpContextMenuWithEventForViewWithFont displays a contextual menu over a view for an event using a specified font. @@ -8367,7 +8295,6 @@ func NSMenu_PopUpContextMenuWithEventForViewWithFont(menu NSMenuRef, event NSEve ) return - } // NSPopover_Alloc @@ -8376,8 +8303,7 @@ func NSMenu_PopUpContextMenuWithEventForViewWithFont(menu NSMenuRef, event NSEve func NSPopover_Alloc() NSPopover { ret := C.NSPopover_type_Alloc() - return NSPopover_fromPointer(ret) - + return NSPopover_FromPointer(ret) } // NSMenuItem_Alloc @@ -8386,8 +8312,7 @@ func NSPopover_Alloc() NSPopover { func NSMenuItem_Alloc() NSMenuItem { ret := C.NSMenuItem_type_Alloc() - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // NSMenuItem_SeparatorItem returns a menu item that is used to separate logical groups of menu commands. @@ -8396,8 +8321,7 @@ func NSMenuItem_Alloc() NSMenuItem { func NSMenuItem_SeparatorItem() NSMenuItem { ret := C.NSMenuItem_type_SeparatorItem() - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // NSMenuItem_UsesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. @@ -8407,7 +8331,6 @@ func NSMenuItem_UsesUserKeyEquivalents() bool { ret := C.NSMenuItem_type_UsesUserKeyEquivalents() return convertObjCBoolToGo(ret) - } // NSMenuItem_SetUsesUserKeyEquivalents returns a boolean value that indicates whether menu items conform to user preferences for key equivalents. @@ -8419,7 +8342,6 @@ func NSMenuItem_SetUsesUserKeyEquivalents(value bool) { ) return - } // NSRunningApplication_Alloc @@ -8428,8 +8350,7 @@ func NSMenuItem_SetUsesUserKeyEquivalents(value bool) { func NSRunningApplication_Alloc() NSRunningApplication { ret := C.NSRunningApplication_type_Alloc() - return NSRunningApplication_fromPointer(ret) - + return NSRunningApplication_FromPointer(ret) } // NSRunningApplication_RunningApplicationsWithBundleIdentifier returns an array of currently running applications with the specified bundle identifier. @@ -8440,8 +8361,7 @@ func NSRunningApplication_RunningApplicationsWithBundleIdentifier(bundleIdentifi objc.RefPointer(bundleIdentifier), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSRunningApplication_TerminateAutomaticallyTerminableApplications terminates invisibly running applications as if triggered by system memory pressure. @@ -8451,7 +8371,6 @@ func NSRunningApplication_TerminateAutomaticallyTerminableApplications() { C.NSRunningApplication_type_TerminateAutomaticallyTerminableApplications() return - } // NSRunningApplication_CurrentApplication returns an nsrunningapplication representing this application. @@ -8460,8 +8379,7 @@ func NSRunningApplication_TerminateAutomaticallyTerminableApplications() { func NSRunningApplication_CurrentApplication() NSRunningApplication { ret := C.NSRunningApplication_type_CurrentApplication() - return NSRunningApplication_fromPointer(ret) - + return NSRunningApplication_FromPointer(ret) } // NSScreen_Alloc @@ -8470,8 +8388,7 @@ func NSRunningApplication_CurrentApplication() NSRunningApplication { func NSScreen_Alloc() NSScreen { ret := C.NSScreen_type_Alloc() - return NSScreen_fromPointer(ret) - + return NSScreen_FromPointer(ret) } // NSScreen_MainScreen returns the screen object containing the window with the keyboard focus. @@ -8480,8 +8397,7 @@ func NSScreen_Alloc() NSScreen { func NSScreen_MainScreen() NSScreen { ret := C.NSScreen_type_MainScreen() - return NSScreen_fromPointer(ret) - + return NSScreen_FromPointer(ret) } // NSScreen_DeepestScreen returns a screen object representing the screen that can best represent color. @@ -8490,8 +8406,7 @@ func NSScreen_MainScreen() NSScreen { func NSScreen_DeepestScreen() NSScreen { ret := C.NSScreen_type_DeepestScreen() - return NSScreen_fromPointer(ret) - + return NSScreen_FromPointer(ret) } // NSScreen_Screens returns an array of screen objects representing all of the screens available on the system. @@ -8500,8 +8415,7 @@ func NSScreen_DeepestScreen() NSScreen { func NSScreen_Screens() core.NSArray { ret := C.NSScreen_type_Screens() - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NSScreen_ScreensHaveSeparateSpaces returns a boolean value indicating whether each screen can have its own set of spaces. @@ -8511,7 +8425,6 @@ func NSScreen_ScreensHaveSeparateSpaces() bool { ret := C.NSScreen_type_ScreensHaveSeparateSpaces() return convertObjCBoolToGo(ret) - } // NSStatusBar_Alloc @@ -8520,8 +8433,7 @@ func NSScreen_ScreensHaveSeparateSpaces() bool { func NSStatusBar_Alloc() NSStatusBar { ret := C.NSStatusBar_type_Alloc() - return NSStatusBar_fromPointer(ret) - + return NSStatusBar_FromPointer(ret) } // NSStatusBar_SystemStatusBar returns the system-wide status bar located in the menu bar. @@ -8530,8 +8442,7 @@ func NSStatusBar_Alloc() NSStatusBar { func NSStatusBar_SystemStatusBar() NSStatusBar { ret := C.NSStatusBar_type_SystemStatusBar() - return NSStatusBar_fromPointer(ret) - + return NSStatusBar_FromPointer(ret) } // NSStatusBarButton_Alloc @@ -8540,8 +8451,7 @@ func NSStatusBar_SystemStatusBar() NSStatusBar { func NSStatusBarButton_Alloc() NSStatusBarButton { ret := C.NSStatusBarButton_type_Alloc() - return NSStatusBarButton_fromPointer(ret) - + return NSStatusBarButton_FromPointer(ret) } // NSStatusItem_Alloc @@ -8550,8 +8460,7 @@ func NSStatusBarButton_Alloc() NSStatusBarButton { func NSStatusItem_Alloc() NSStatusItem { ret := C.NSStatusItem_type_Alloc() - return NSStatusItem_fromPointer(ret) - + return NSStatusItem_FromPointer(ret) } // NSText_Alloc @@ -8560,8 +8469,7 @@ func NSStatusItem_Alloc() NSStatusItem { func NSText_Alloc() NSText { ret := C.NSText_type_Alloc() - return NSText_fromPointer(ret) - + return NSText_FromPointer(ret) } // NSTextField_Alloc @@ -8570,8 +8478,7 @@ func NSText_Alloc() NSText { func NSTextField_Alloc() NSTextField { ret := C.NSTextField_type_Alloc() - return NSTextField_fromPointer(ret) - + return NSTextField_FromPointer(ret) } // NSTextField_LabelWithAttributedString creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. @@ -8582,8 +8489,7 @@ func NSTextField_LabelWithAttributedString(attributedStringValue core.NSAttribut objc.RefPointer(attributedStringValue), ) - return NSTextField_fromPointer(ret) - + return NSTextField_FromPointer(ret) } // NSTextField_LabelWithString initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. @@ -8594,8 +8500,7 @@ func NSTextField_LabelWithString(stringValue core.NSStringRef) NSTextField { objc.RefPointer(stringValue), ) - return NSTextField_fromPointer(ret) - + return NSTextField_FromPointer(ret) } // NSTextField_TextFieldWithString initializes a single-line editable text field for user input using the system default font and standard visual appearance. @@ -8606,8 +8511,7 @@ func NSTextField_TextFieldWithString(stringValue core.NSStringRef) NSTextField { objc.RefPointer(stringValue), ) - return NSTextField_fromPointer(ret) - + return NSTextField_FromPointer(ret) } // NSTextField_WrappingLabelWithString initializes a text field for use as a multiline static label with selectable text that uses the system default font. @@ -8618,8 +8522,7 @@ func NSTextField_WrappingLabelWithString(stringValue core.NSStringRef) NSTextFie objc.RefPointer(stringValue), ) - return NSTextField_fromPointer(ret) - + return NSTextField_FromPointer(ret) } // NSTextContainer_Alloc @@ -8628,8 +8531,7 @@ func NSTextField_WrappingLabelWithString(stringValue core.NSStringRef) NSTextFie func NSTextContainer_Alloc() NSTextContainer { ret := C.NSTextContainer_type_Alloc() - return NSTextContainer_fromPointer(ret) - + return NSTextContainer_FromPointer(ret) } // NSViewController_Alloc @@ -8638,8 +8540,7 @@ func NSTextContainer_Alloc() NSTextContainer { func NSViewController_Alloc() NSViewController { ret := C.NSViewController_type_Alloc() - return NSViewController_fromPointer(ret) - + return NSViewController_FromPointer(ret) } // NSVisualEffectView_Alloc @@ -8648,8 +8549,7 @@ func NSViewController_Alloc() NSViewController { func NSVisualEffectView_Alloc() NSVisualEffectView { ret := C.NSVisualEffectView_type_Alloc() - return NSVisualEffectView_fromPointer(ret) - + return NSVisualEffectView_FromPointer(ret) } // NSWindow_Alloc @@ -8658,8 +8558,7 @@ func NSVisualEffectView_Alloc() NSVisualEffectView { func NSWindow_Alloc() NSWindow { ret := C.NSWindow_type_Alloc() - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // NSWindow_WindowWithContentViewController creates a titled window that contains the specified content view controller. @@ -8670,8 +8569,7 @@ func NSWindow_WindowWithContentViewController(contentViewController NSViewContro objc.RefPointer(contentViewController), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // NSWindow_ContentRectForFrameRectStyleMask returns the content rectangle used by a window with a given frame rectangle and window style. @@ -8684,7 +8582,6 @@ func NSWindow_ContentRectForFrameRectStyleMask(fRect core.NSRect, style core.NSU ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // NSWindow_FrameRectForContentRectStyleMask returns the frame rectangle used by a window with a given content rectangle and window style. @@ -8697,7 +8594,6 @@ func NSWindow_FrameRectForContentRectStyleMask(cRect core.NSRect, style core.NSU ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // NSWindow_MinFrameWidthWithTitleStyleMask returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. @@ -8710,7 +8606,6 @@ func NSWindow_MinFrameWidthWithTitleStyleMask(title core.NSStringRef, style core ) return core.CGFloat(ret) - } // NSWindow_WindowNumberAtPointBelowWindowWithWindowNumber returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. @@ -8723,7 +8618,6 @@ func NSWindow_WindowNumberAtPointBelowWindowWithWindowNumber(point core.NSPoint, ) return core.NSInteger(ret) - } // NSWindow_AllowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. @@ -8733,7 +8627,6 @@ func NSWindow_AllowsAutomaticWindowTabbing() bool { ret := C.NSWindow_type_AllowsAutomaticWindowTabbing() return convertObjCBoolToGo(ret) - } // NSWindow_SetAllowsAutomaticWindowTabbing returns a boolean value that indicates whether the app can automatically organize windows into tabs. @@ -8745,7 +8638,6 @@ func NSWindow_SetAllowsAutomaticWindowTabbing(value bool) { ) return - } // NSWorkspace_Alloc @@ -8754,8 +8646,7 @@ func NSWindow_SetAllowsAutomaticWindowTabbing(value bool) { func NSWorkspace_Alloc() NSWorkspace { ret := C.NSWorkspace_type_Alloc() - return NSWorkspace_fromPointer(ret) - + return NSWorkspace_FromPointer(ret) } // NSWorkspace_SharedWorkspace returns the shared workspace object. @@ -8764,8 +8655,7 @@ func NSWorkspace_Alloc() NSWorkspace { func NSWorkspace_SharedWorkspace() NSWorkspace { ret := C.NSWorkspace_type_SharedWorkspace() - return NSWorkspace_fromPointer(ret) - + return NSWorkspace_FromPointer(ret) } // NSColor_Alloc @@ -8774,8 +8664,7 @@ func NSWorkspace_SharedWorkspace() NSWorkspace { func NSColor_Alloc() NSColor { ret := C.NSColor_type_Alloc() - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NSColor_ColorFromPasteboard creates a color object from color data currently on the pasteboard. @@ -8786,8 +8675,7 @@ func NSColor_ColorFromPasteboard(pasteBoard NSPasteboardRef) NSColor { objc.RefPointer(pasteBoard), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NSColor_ColorWithRedGreenBlueAlpha @@ -8801,8 +8689,7 @@ func NSColor_ColorWithRedGreenBlueAlpha(red core.CGFloat, green core.CGFloat, bl C.double(alpha), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NSColor_IgnoresAlpha returns a boolean value that indicates whether the app supports alpha. @@ -8812,7 +8699,6 @@ func NSColor_IgnoresAlpha() bool { ret := C.NSColor_type_IgnoresAlpha() return convertObjCBoolToGo(ret) - } // NSColor_SetIgnoresAlpha returns a boolean value that indicates whether the app supports alpha. @@ -8824,7 +8710,6 @@ func NSColor_SetIgnoresAlpha(value bool) { ) return - } // NSColor_SystemCyanColor @@ -8833,8 +8718,7 @@ func NSColor_SetIgnoresAlpha(value bool) { func NSColor_SystemCyanColor() NSColor { ret := C.NSColor_type_SystemCyanColor() - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NSColor_SystemMintColor @@ -8843,8 +8727,7 @@ func NSColor_SystemCyanColor() NSColor { func NSColor_SystemMintColor() NSColor { ret := C.NSColor_type_SystemMintColor() - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NSColor_ClearColor returns a color object whose grayscale and alpha values are both 0.0. @@ -8853,8 +8736,7 @@ func NSColor_SystemMintColor() NSColor { func NSColor_ClearColor() NSColor { ret := C.NSColor_type_ClearColor() - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NSTextView_Alloc @@ -8863,8 +8745,7 @@ func NSColor_ClearColor() NSColor { func NSTextView_Alloc() NSTextView { ret := C.NSTextView_type_Alloc() - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // NSTextView_RegisterForServices registers send and return types for the services facility. @@ -8874,7 +8755,6 @@ func NSTextView_RegisterForServices() { C.NSTextView_type_RegisterForServices() return - } // NSTextView_FieldEditor @@ -8883,8 +8763,7 @@ func NSTextView_RegisterForServices() { func NSTextView_FieldEditor() NSTextView { ret := C.NSTextView_type_FieldEditor() - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // NSTextView_StronglyReferencesTextStorage @@ -8894,7 +8773,6 @@ func NSTextView_StronglyReferencesTextStorage() bool { ret := C.NSTextView_type_StronglyReferencesTextStorage() return convertObjCBoolToGo(ret) - } // NSView_Alloc @@ -8903,8 +8781,7 @@ func NSTextView_StronglyReferencesTextStorage() bool { func NSView_Alloc() NSView { ret := C.NSView_type_Alloc() - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // NSView_RequiresConstraintBasedLayout returns a boolean value indicating whether the view depends on the constraint-based layout system. @@ -8914,7 +8791,6 @@ func NSView_RequiresConstraintBasedLayout() bool { ret := C.NSView_type_RequiresConstraintBasedLayout() return convertObjCBoolToGo(ret) - } // NSView_FocusView returns the currently focused nsview object, or nil if there is none. @@ -8923,8 +8799,7 @@ func NSView_RequiresConstraintBasedLayout() bool { func NSView_FocusView() NSView { ret := C.NSView_type_FocusView() - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // NSView_DefaultMenu overridden by subclasses to return the default pop-up menu for instances of the receiving class. @@ -8933,8 +8808,7 @@ func NSView_FocusView() NSView { func NSView_DefaultMenu() NSMenu { ret := C.NSView_type_DefaultMenu() - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // NSView_CompatibleWithResponsiveScrolling @@ -8944,26 +8818,25 @@ func NSView_CompatibleWithResponsiveScrolling() bool { ret := C.NSView_type_CompatibleWithResponsiveScrolling() return convertObjCBoolToGo(ret) - } type NSBundleRef interface { Pointer() uintptr - Init_asNSBundle() NSBundle + Init_AsNSBundle() NSBundle } type gen_NSBundle struct { objc.Object } -func NSBundle_fromPointer(ptr unsafe.Pointer) NSBundle { +func NSBundle_FromPointer(ptr unsafe.Pointer) NSBundle { return NSBundle{gen_NSBundle{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSBundle_fromRef(ref objc.Ref) NSBundle { - return NSBundle_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSBundle_FromRef(ref objc.Ref) NSBundle { + return NSBundle_FromPointer(unsafe.Pointer(ref.Pointer())) } // URLForAuxiliaryExecutable returns the file url of the executable with the specified name in the receiver’s bundle. @@ -8977,8 +8850,7 @@ func (x gen_NSBundle) URLForAuxiliaryExecutable( objc.RefPointer(executableName), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // URLForResourceWithExtension returns the file url for the resource identified by the specified name and file extension. @@ -8994,8 +8866,7 @@ func (x gen_NSBundle) URLForResourceWithExtension( objc.RefPointer(ext), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // URLForResourceWithExtensionSubdirectory returns the file url for the resource file identified by the specified name and extension and residing in a given bundle directory. @@ -9013,8 +8884,7 @@ func (x gen_NSBundle) URLForResourceWithExtensionSubdirectory( objc.RefPointer(subpath), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // URLForResourceWithExtensionSubdirectoryLocalization returns the file url for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. @@ -9034,8 +8904,7 @@ func (x gen_NSBundle) URLForResourceWithExtensionSubdirectoryLocalization( objc.RefPointer(localizationName), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // URLsForResourcesWithExtensionSubdirectory returns an array of file urls for all resources identified by the specified file extension and located in the specified bundle subdirectory. @@ -9051,8 +8920,7 @@ func (x gen_NSBundle) URLsForResourcesWithExtensionSubdirectory( objc.RefPointer(subpath), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // URLsForResourcesWithExtensionSubdirectoryLocalization returns an array containing the file urls for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. @@ -9070,14 +8938,13 @@ func (x gen_NSBundle) URLsForResourcesWithExtensionSubdirectoryLocalization( objc.RefPointer(localizationName), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // InitWithPath returns an nsbundle object initialized to correspond to the specified directory. // // See https://developer.apple.com/documentation/foundation/nsbundle/1412741-initwithpath?language=objc for details. -func (x gen_NSBundle) InitWithPath_asNSBundle( +func (x gen_NSBundle) InitWithPath_AsNSBundle( path core.NSStringRef, ) NSBundle { ret := C.NSBundle_inst_InitWithPath( @@ -9085,14 +8952,13 @@ func (x gen_NSBundle) InitWithPath_asNSBundle( objc.RefPointer(path), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // InitWithURL returns an nsbundle object initialized to correspond to the specified file url. // // See https://developer.apple.com/documentation/foundation/nsbundle/1409352-initwithurl?language=objc for details. -func (x gen_NSBundle) InitWithURL_asNSBundle( +func (x gen_NSBundle) InitWithURL_AsNSBundle( url core.NSURLRef, ) NSBundle { ret := C.NSBundle_inst_InitWithURL( @@ -9100,8 +8966,7 @@ func (x gen_NSBundle) InitWithURL_asNSBundle( objc.RefPointer(url), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // Load dynamically loads the bundle’s executable code into a running program, if the code has not already been loaded. @@ -9113,7 +8978,6 @@ func (x gen_NSBundle) Load() bool { ) return convertObjCBoolToGo(ret) - } // LoadNibNamedOwnerOptions unarchives the contents of a nib file located in the receiver's bundle. @@ -9131,8 +8995,7 @@ func (x gen_NSBundle) LoadNibNamedOwnerOptions( objc.RefPointer(options), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // LocalizedAttributedStringForKeyValueTable @@ -9150,8 +9013,7 @@ func (x gen_NSBundle) LocalizedAttributedStringForKeyValueTable( objc.RefPointer(tableName), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // LocalizedStringForKeyValueTable returns a localized version of the string designated by the specified key and residing in the specified table. @@ -9169,8 +9031,7 @@ func (x gen_NSBundle) LocalizedStringForKeyValueTable( objc.RefPointer(tableName), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // ObjectForInfoDictionaryKey returns the value associated with the specified key in the receiver's information property list. @@ -9184,8 +9045,7 @@ func (x gen_NSBundle) ObjectForInfoDictionaryKey( objc.RefPointer(key), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // PathForAuxiliaryExecutable returns the full pathname of the executable with the specified name in the receiver’s bundle. @@ -9199,8 +9059,7 @@ func (x gen_NSBundle) PathForAuxiliaryExecutable( objc.RefPointer(executableName), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // PathForResourceOfType returns the full pathname for the resource identified by the specified name and file extension. @@ -9216,8 +9075,7 @@ func (x gen_NSBundle) PathForResourceOfType( objc.RefPointer(ext), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // PathForResourceOfTypeInDirectory returns the full pathname for the resource identified by the specified name and file extension and located in the specified bundle subdirectory. @@ -9235,8 +9093,7 @@ func (x gen_NSBundle) PathForResourceOfTypeInDirectory( objc.RefPointer(subpath), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // PathForResourceOfTypeInDirectoryForLocalization returns the full pathname for the resource identified by the specified name and file extension, located in the specified bundle subdirectory, and limited to global resources and those associated with the specified localization. @@ -9256,8 +9113,7 @@ func (x gen_NSBundle) PathForResourceOfTypeInDirectoryForLocalization( objc.RefPointer(localizationName), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // PathsForResourcesOfTypeInDirectory returns an array containing the pathnames for all bundle resources having the specified filename extension and residing in the resource subdirectory. @@ -9273,8 +9129,7 @@ func (x gen_NSBundle) PathsForResourcesOfTypeInDirectory( objc.RefPointer(subpath), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // PathsForResourcesOfTypeInDirectoryForLocalization returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization. @@ -9292,8 +9147,7 @@ func (x gen_NSBundle) PathsForResourcesOfTypeInDirectoryForLocalization( objc.RefPointer(localizationName), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // Unload unloads the code associated with the receiver. @@ -9305,19 +9159,17 @@ func (x gen_NSBundle) Unload() bool { ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSBundle) Init_asNSBundle() NSBundle { +func (x gen_NSBundle) Init_AsNSBundle() NSBundle { ret := C.NSBundle_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // ResourceURL returns the file url of the bundle’s subdirectory containing resource files. @@ -9328,8 +9180,7 @@ func (x gen_NSBundle) ResourceURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // ExecutableURL returns the file url of the receiver's executable file. @@ -9340,8 +9191,7 @@ func (x gen_NSBundle) ExecutableURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // PrivateFrameworksURL returns the file url of the bundle’s subdirectory containing private frameworks. @@ -9352,8 +9202,7 @@ func (x gen_NSBundle) PrivateFrameworksURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // SharedFrameworksURL returns the file url of the receiver's subdirectory containing shared frameworks. @@ -9364,8 +9213,7 @@ func (x gen_NSBundle) SharedFrameworksURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // BuiltInPlugInsURL returns the file url of the receiver's subdirectory containing plug-ins. @@ -9376,8 +9224,7 @@ func (x gen_NSBundle) BuiltInPlugInsURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // SharedSupportURL returns the file url of the bundle’s subdirectory containing shared support files. @@ -9388,8 +9235,7 @@ func (x gen_NSBundle) SharedSupportURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // AppStoreReceiptURL returns the file url for the bundle’s app store receipt. @@ -9400,8 +9246,7 @@ func (x gen_NSBundle) AppStoreReceiptURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // ResourcePath returns the full pathname of the bundle’s subdirectory containing resources. @@ -9412,8 +9257,7 @@ func (x gen_NSBundle) ResourcePath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // ExecutablePath returns the full pathname of the receiver's executable file. @@ -9424,8 +9268,7 @@ func (x gen_NSBundle) ExecutablePath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // PrivateFrameworksPath returns the full pathname of the bundle’s subdirectory containing private frameworks. @@ -9436,8 +9279,7 @@ func (x gen_NSBundle) PrivateFrameworksPath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SharedFrameworksPath returns the full pathname of the bundle’s subdirectory containing shared frameworks. @@ -9448,8 +9290,7 @@ func (x gen_NSBundle) SharedFrameworksPath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // BuiltInPlugInsPath returns the full pathname of the receiver's subdirectory containing plug-ins. @@ -9460,8 +9301,7 @@ func (x gen_NSBundle) BuiltInPlugInsPath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SharedSupportPath returns the full pathname of the bundle’s subdirectory containing shared support files. @@ -9472,8 +9312,7 @@ func (x gen_NSBundle) SharedSupportPath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // BundleURL returns the full url of the receiver’s bundle directory. @@ -9484,8 +9323,7 @@ func (x gen_NSBundle) BundleURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // BundlePath returns the full pathname of the receiver’s bundle directory. @@ -9496,8 +9334,7 @@ func (x gen_NSBundle) BundlePath() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // BundleIdentifier returns the receiver’s bundle identifier. @@ -9508,8 +9345,7 @@ func (x gen_NSBundle) BundleIdentifier() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // InfoDictionary returns a dictionary, constructed from the bundle’s info.plist file, that contains information about the receiver. @@ -9520,8 +9356,7 @@ func (x gen_NSBundle) InfoDictionary() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // Localizations returns a list of all the localizations contained in the bundle. @@ -9532,8 +9367,7 @@ func (x gen_NSBundle) Localizations() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // PreferredLocalizations an ordered list of preferred localizations contained in the bundle. @@ -9544,8 +9378,7 @@ func (x gen_NSBundle) PreferredLocalizations() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // DevelopmentLocalization returns the localization for the development language. @@ -9556,8 +9389,7 @@ func (x gen_NSBundle) DevelopmentLocalization() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // LocalizedInfoDictionary returns a dictionary with the keys from the bundle’s localized property list. @@ -9568,8 +9400,7 @@ func (x gen_NSBundle) LocalizedInfoDictionary() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // ExecutableArchitectures an array of numbers indicating the architecture types supported by the bundle’s executable. @@ -9580,8 +9411,7 @@ func (x gen_NSBundle) ExecutableArchitectures() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // IsLoaded returns the load status of a bundle. @@ -9593,32 +9423,31 @@ func (x gen_NSBundle) IsLoaded() bool { ) return convertObjCBoolToGo(ret) - } type NSSoundRef interface { Pointer() uintptr - Init_asNSSound() NSSound + Init_AsNSSound() NSSound } type gen_NSSound struct { objc.Object } -func NSSound_fromPointer(ptr unsafe.Pointer) NSSound { +func NSSound_FromPointer(ptr unsafe.Pointer) NSSound { return NSSound{gen_NSSound{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSSound_fromRef(ref objc.Ref) NSSound { - return NSSound_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSSound_FromRef(ref objc.Ref) NSSound { + return NSSound_FromPointer(unsafe.Pointer(ref.Pointer())) } // InitWithContentsOfFileByReference initializes the receiver with the audio data located at a given filepath. // // See https://developer.apple.com/documentation/appkit/nssound/1477274-initwithcontentsoffile?language=objc for details. -func (x gen_NSSound) InitWithContentsOfFileByReference_asNSSound( +func (x gen_NSSound) InitWithContentsOfFileByReference_AsNSSound( path core.NSStringRef, byRef bool, ) NSSound { @@ -9628,14 +9457,13 @@ func (x gen_NSSound) InitWithContentsOfFileByReference_asNSSound( convertToObjCBool(byRef), ) - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // InitWithContentsOfURLByReference initializes the receiver with the audio data located at a given url. // // See https://developer.apple.com/documentation/appkit/nssound/1477288-initwithcontentsofurl?language=objc for details. -func (x gen_NSSound) InitWithContentsOfURLByReference_asNSSound( +func (x gen_NSSound) InitWithContentsOfURLByReference_AsNSSound( url core.NSURLRef, byRef bool, ) NSSound { @@ -9645,14 +9473,13 @@ func (x gen_NSSound) InitWithContentsOfURLByReference_asNSSound( convertToObjCBool(byRef), ) - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // InitWithData initializes the receiver with a given audio data. // // See https://developer.apple.com/documentation/appkit/nssound/1477292-initwithdata?language=objc for details. -func (x gen_NSSound) InitWithData_asNSSound( +func (x gen_NSSound) InitWithData_AsNSSound( data core.NSDataRef, ) NSSound { ret := C.NSSound_inst_InitWithData( @@ -9660,14 +9487,13 @@ func (x gen_NSSound) InitWithData_asNSSound( objc.RefPointer(data), ) - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // InitWithPasteboard initializes the receiver with data from a pasteboard. the pasteboard should contain a type returned by nssound. nssound expects the data to have a proper magic number, sound header, and data for the formats it supports. // // See https://developer.apple.com/documentation/appkit/nssound/1477294-initwithpasteboard?language=objc for details. -func (x gen_NSSound) InitWithPasteboard_asNSSound( +func (x gen_NSSound) InitWithPasteboard_AsNSSound( pasteboard NSPasteboardRef, ) NSSound { ret := C.NSSound_inst_InitWithPasteboard( @@ -9675,8 +9501,7 @@ func (x gen_NSSound) InitWithPasteboard_asNSSound( objc.RefPointer(pasteboard), ) - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // Pause pauses audio playback. @@ -9688,7 +9513,6 @@ func (x gen_NSSound) Pause() bool { ) return convertObjCBoolToGo(ret) - } // Play initiates audio playback. @@ -9700,7 +9524,6 @@ func (x gen_NSSound) Play() bool { ) return convertObjCBoolToGo(ret) - } // Resume resumes audio playback. @@ -9712,7 +9535,6 @@ func (x gen_NSSound) Resume() bool { ) return convertObjCBoolToGo(ret) - } // Stop concludes audio playback. @@ -9724,7 +9546,6 @@ func (x gen_NSSound) Stop() bool { ) return convertObjCBoolToGo(ret) - } // WriteToPasteboard writes the receiver’s data to a pasteboard. @@ -9739,19 +9560,17 @@ func (x gen_NSSound) WriteToPasteboard( ) return - } // Init // // See for details. -func (x gen_NSSound) Init_asNSSound() NSSound { +func (x gen_NSSound) Init_AsNSSound() NSSound { ret := C.NSSound_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // Delegate returns the sound’s delegate. @@ -9762,8 +9581,7 @@ func (x gen_NSSound) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the sound’s delegate. @@ -9778,7 +9596,6 @@ func (x gen_NSSound) SetDelegate( ) return - } // Loops returns a boolean that indicates whether the sound restarts playback when it reaches the end of its content. @@ -9790,7 +9607,6 @@ func (x gen_NSSound) Loops() bool { ) return convertObjCBoolToGo(ret) - } // SetLoops returns a boolean that indicates whether the sound restarts playback when it reaches the end of its content. @@ -9805,7 +9621,6 @@ func (x gen_NSSound) SetLoops( ) return - } // IsPlaying returns a boolean that indicates whether the sound is playing its audio data. @@ -9817,26 +9632,25 @@ func (x gen_NSSound) IsPlaying() bool { ) return convertObjCBoolToGo(ret) - } type NSApplicationRef interface { Pointer() uintptr - Init_asNSApplication() NSApplication + Init_AsNSApplication() NSApplication } type gen_NSApplication struct { objc.Object } -func NSApplication_fromPointer(ptr unsafe.Pointer) NSApplication { +func NSApplication_FromPointer(ptr unsafe.Pointer) NSApplication { return NSApplication{gen_NSApplication{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSApplication_fromRef(ref objc.Ref) NSApplication { - return NSApplication_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSApplication_FromRef(ref objc.Ref) NSApplication { + return NSApplication_FromPointer(unsafe.Pointer(ref.Pointer())) } // ActivateContextHelpMode places the receiver in context-sensitive help mode. @@ -9851,7 +9665,6 @@ func (x gen_NSApplication) ActivateContextHelpMode( ) return - } // ActivateIgnoringOtherApps makes the receiver the active app. @@ -9866,7 +9679,6 @@ func (x gen_NSApplication) ActivateIgnoringOtherApps( ) return - } // ActivationPolicy returns the app’s activation policy. @@ -9878,7 +9690,6 @@ func (x gen_NSApplication) ActivationPolicy() core.NSInteger { ) return core.NSInteger(ret) - } // CancelUserAttentionRequest cancels a previous user attention request. @@ -9893,7 +9704,6 @@ func (x gen_NSApplication) CancelUserAttentionRequest( ) return - } // Deactivate deactivates the receiver. @@ -9905,7 +9715,6 @@ func (x gen_NSApplication) Deactivate() { ) return - } // DisableRelaunchOnLogin disables relaunching the app on login. @@ -9917,7 +9726,6 @@ func (x gen_NSApplication) DisableRelaunchOnLogin() { ) return - } // EnableRelaunchOnLogin enables relaunching the app on login. @@ -9929,7 +9737,6 @@ func (x gen_NSApplication) EnableRelaunchOnLogin() { ) return - } // FinishLaunching activates the app, opens any files specified by the nsopen user default, and unhighlights the app’s icon. @@ -9941,7 +9748,6 @@ func (x gen_NSApplication) FinishLaunching() { ) return - } // HideOtherApplications hides all apps, except the receiver. @@ -9956,7 +9762,6 @@ func (x gen_NSApplication) HideOtherApplications( ) return - } // PostEventAtStart adds a given event to the receiver’s event queue. @@ -9973,7 +9778,6 @@ func (x gen_NSApplication) PostEventAtStart( ) return - } // RegisterForRemoteNotifications register for notifications sent by apple push notification service (apns). @@ -9985,7 +9789,6 @@ func (x gen_NSApplication) RegisterForRemoteNotifications() { ) return - } // RegisterUserInterfaceItemSearchHandler register an object that provides help data to your app. @@ -10000,7 +9803,6 @@ func (x gen_NSApplication) RegisterUserInterfaceItemSearchHandler( ) return - } // ReplyToApplicationShouldTerminate responds to nsterminatelater once the app knows whether it can terminate. @@ -10015,7 +9817,6 @@ func (x gen_NSApplication) ReplyToApplicationShouldTerminate( ) return - } // Run starts the main event loop. @@ -10027,7 +9828,6 @@ func (x gen_NSApplication) Run() { ) return - } // SendActionToFrom sends the given action message to the given target. @@ -10046,7 +9846,6 @@ func (x gen_NSApplication) SendActionToFrom( ) return convertObjCBoolToGo(ret) - } // SendEvent dispatches an event to other objects. @@ -10061,7 +9860,6 @@ func (x gen_NSApplication) SendEvent( ) return - } // SetActivationPolicy attempts to modify the app’s activation policy. @@ -10076,7 +9874,6 @@ func (x gen_NSApplication) SetActivationPolicy( ) return convertObjCBoolToGo(ret) - } // ShowHelp if your project is properly registered, and the necessary keys have been set in the property list, this method launches help viewer and displays the first page of your app’s help book. @@ -10091,7 +9888,6 @@ func (x gen_NSApplication) ShowHelp( ) return - } // Stop stops the main event loop. @@ -10106,7 +9902,6 @@ func (x gen_NSApplication) Stop( ) return - } // TargetForAction returns the object that receives the action message specified by the given selector. @@ -10120,8 +9915,7 @@ func (x gen_NSApplication) TargetForAction( action.SelectorAddress(), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // TargetForActionToFrom searches for an object that can receive the message specified by the given selector. @@ -10139,8 +9933,7 @@ func (x gen_NSApplication) TargetForActionToFrom( objc.RefPointer(sender), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // Terminate terminates the receiver. @@ -10155,7 +9948,6 @@ func (x gen_NSApplication) Terminate( ) return - } // ToggleTouchBarCustomizationPalette show or hides the interface for customizing the touch bar. @@ -10170,7 +9962,6 @@ func (x gen_NSApplication) ToggleTouchBarCustomizationPalette( ) return - } // TryToPerformWith dispatches an action message to the specified target. @@ -10187,7 +9978,6 @@ func (x gen_NSApplication) TryToPerformWith( ) return convertObjCBoolToGo(ret) - } // UnhideAllApplications unhides all apps, including the receiver. @@ -10202,7 +9992,6 @@ func (x gen_NSApplication) UnhideAllApplications( ) return - } // UnregisterForRemoteNotifications unregister for notifications received from apple push notification service. @@ -10214,7 +10003,6 @@ func (x gen_NSApplication) UnregisterForRemoteNotifications() { ) return - } // UnregisterUserInterfaceItemSearchHandler unregister an object that provides help data to your app. @@ -10229,19 +10017,17 @@ func (x gen_NSApplication) UnregisterUserInterfaceItemSearchHandler( ) return - } // Init // // See for details. -func (x gen_NSApplication) Init_asNSApplication() NSApplication { +func (x gen_NSApplication) Init_AsNSApplication() NSApplication { ret := C.NSApplication_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSApplication_fromPointer(ret) - + return NSApplication_FromPointer(ret) } // Delegate returns the app delegate object. @@ -10252,8 +10038,7 @@ func (x gen_NSApplication) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the app delegate object. @@ -10268,7 +10053,6 @@ func (x gen_NSApplication) SetDelegate( ) return - } // CurrentEvent returns the last event object that the app retrieved from the event queue. @@ -10279,8 +10063,7 @@ func (x gen_NSApplication) CurrentEvent() NSEvent { unsafe.Pointer(x.Pointer()), ) - return NSEvent_fromPointer(ret) - + return NSEvent_FromPointer(ret) } // IsRunning returns a boolean value indicating whether the main event loop is running. @@ -10292,7 +10075,6 @@ func (x gen_NSApplication) IsRunning() bool { ) return convertObjCBoolToGo(ret) - } // IsActive returns a boolean value indicating whether this is the active app. @@ -10304,7 +10086,6 @@ func (x gen_NSApplication) IsActive() bool { ) return convertObjCBoolToGo(ret) - } // IsRegisteredForRemoteNotifications returns a boolean value indicating whether the app is registered with apple push notification service (apns). @@ -10316,7 +10097,6 @@ func (x gen_NSApplication) IsRegisteredForRemoteNotifications() bool { ) return convertObjCBoolToGo(ret) - } // ApplicationIconImage returns the image used for the app’s icon. @@ -10327,8 +10107,7 @@ func (x gen_NSApplication) ApplicationIconImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetApplicationIconImage returns the image used for the app’s icon. @@ -10343,7 +10122,6 @@ func (x gen_NSApplication) SetApplicationIconImage( ) return - } // HelpMenu returns the help menu used by the app. @@ -10354,8 +10132,7 @@ func (x gen_NSApplication) HelpMenu() NSMenu { unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // SetHelpMenu returns the help menu used by the app. @@ -10370,7 +10147,6 @@ func (x gen_NSApplication) SetHelpMenu( ) return - } // ServicesProvider returns the object that provides the services the current app advertises in the services menu of other apps. @@ -10381,8 +10157,7 @@ func (x gen_NSApplication) ServicesProvider() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetServicesProvider returns the object that provides the services the current app advertises in the services menu of other apps. @@ -10397,7 +10172,6 @@ func (x gen_NSApplication) SetServicesProvider( ) return - } // IsFullKeyboardAccessEnabled returns a boolean value indicating whether full keyboard access is enabled in the keyboard preference pane. @@ -10409,7 +10183,6 @@ func (x gen_NSApplication) IsFullKeyboardAccessEnabled() bool { ) return convertObjCBoolToGo(ret) - } // OrderedDocuments an array of document objects arranged according to the front-to-back ordering of their associated windows. @@ -10420,8 +10193,7 @@ func (x gen_NSApplication) OrderedDocuments() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // OrderedWindows an array of window objects arranged according to their front-to-back ordering on the screen. @@ -10432,8 +10204,7 @@ func (x gen_NSApplication) OrderedWindows() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // MainMenu returns the app’s main menu bar. @@ -10444,8 +10215,7 @@ func (x gen_NSApplication) MainMenu() NSMenu { unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // SetMainMenu returns the app’s main menu bar. @@ -10460,26 +10230,25 @@ func (x gen_NSApplication) SetMainMenu( ) return - } type NSControlRef interface { Pointer() uintptr - Init_asNSControl() NSControl + Init_AsNSControl() NSControl } type gen_NSControl struct { NSView } -func NSControl_fromPointer(ptr unsafe.Pointer) NSControl { +func NSControl_FromPointer(ptr unsafe.Pointer) NSControl { return NSControl{gen_NSControl{ - NSView_fromPointer(ptr), + NSView_FromPointer(ptr), }} } -func NSControl_fromRef(ref objc.Ref) NSControl { - return NSControl_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSControl_FromRef(ref objc.Ref) NSControl { + return NSControl_FromPointer(unsafe.Pointer(ref.Pointer())) } // AbortEditing terminates the current editing operation and discards any edited text. @@ -10491,7 +10260,6 @@ func (x gen_NSControl) AbortEditing() bool { ) return convertObjCBoolToGo(ret) - } // CurrentEditor returns the current field editor for the control. @@ -10502,8 +10270,7 @@ func (x gen_NSControl) CurrentEditor() NSText { unsafe.Pointer(x.Pointer()), ) - return NSText_fromPointer(ret) - + return NSText_FromPointer(ret) } // DrawWithExpansionFrameInView performs custom expansion tool tip drawing. @@ -10520,7 +10287,6 @@ func (x gen_NSControl) DrawWithExpansionFrameInView( ) return - } // EditWithFrameEditorDelegateEvent begins editing of the receiver’s text using the specified field editor. @@ -10541,7 +10307,6 @@ func (x gen_NSControl) EditWithFrameEditorDelegateEvent( ) return - } // EndEditing ends the editing of text in the receiver using the specified field editor. @@ -10556,7 +10321,6 @@ func (x gen_NSControl) EndEditing( ) return - } // ExpansionFrameWithFrame returns the frame in which a tool tip can be displayed, if needed. @@ -10571,13 +10335,12 @@ func (x gen_NSControl) ExpansionFrameWithFrame( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // InitWithFrame initializes a control with the specified frame rectangle. // // See https://developer.apple.com/documentation/appkit/nscontrol/1428900-initwithframe?language=objc for details. -func (x gen_NSControl) InitWithFrame_asNSControl( +func (x gen_NSControl) InitWithFrame_AsNSControl( frameRect core.NSRect, ) NSControl { ret := C.NSControl_inst_InitWithFrame( @@ -10585,8 +10348,7 @@ func (x gen_NSControl) InitWithFrame_asNSControl( *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - return NSControl_fromPointer(ret) - + return NSControl_FromPointer(ret) } // MouseDown informs the receiver that the user has pressed the left mouse button. @@ -10601,7 +10363,6 @@ func (x gen_NSControl) MouseDown( ) return - } // PerformClick simulates a single mouse click on the receiver. @@ -10616,7 +10377,6 @@ func (x gen_NSControl) PerformClick( ) return - } // SelectWithFrameEditorDelegateStartLength selects the specified text range in the receiver's field editor. @@ -10639,7 +10399,6 @@ func (x gen_NSControl) SelectWithFrameEditorDelegateStartLength( ) return - } // SendActionTo causes the specified action to be sent to the target. @@ -10656,7 +10415,6 @@ func (x gen_NSControl) SendActionTo( ) return convertObjCBoolToGo(ret) - } // SizeThatFits asks the control to calculate and return the size that best fits the specified size. @@ -10671,7 +10429,6 @@ func (x gen_NSControl) SizeThatFits( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SizeToFit resizes the receiver’s frame so that it’s the minimum size needed to contain its cell. @@ -10683,7 +10440,6 @@ func (x gen_NSControl) SizeToFit() { ) return - } // TakeDoubleValueFrom sets the value of the receiver’s cell to a double-precision floating-point value obtained from the specified object. @@ -10698,7 +10454,6 @@ func (x gen_NSControl) TakeDoubleValueFrom( ) return - } // TakeFloatValueFrom sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object. @@ -10713,7 +10468,6 @@ func (x gen_NSControl) TakeFloatValueFrom( ) return - } // TakeIntValueFrom sets the value of the receiver’s cell to an integer value obtained from the specified object. @@ -10728,7 +10482,6 @@ func (x gen_NSControl) TakeIntValueFrom( ) return - } // TakeIntegerValueFrom sets the value of the receiver’s cell to an nsinteger value obtained from the specified object. @@ -10743,7 +10496,6 @@ func (x gen_NSControl) TakeIntegerValueFrom( ) return - } // TakeObjectValueFrom sets the value of the receiver’s cell to the object value obtained from the specified object. @@ -10758,7 +10510,6 @@ func (x gen_NSControl) TakeObjectValueFrom( ) return - } // TakeStringValueFrom sets the value of the receiver’s cell to the string value obtained from the specified object. @@ -10773,7 +10524,6 @@ func (x gen_NSControl) TakeStringValueFrom( ) return - } // ValidateEditing validates changes to any user-typed text. @@ -10785,19 +10535,17 @@ func (x gen_NSControl) ValidateEditing() { ) return - } // Init // // See for details. -func (x gen_NSControl) Init_asNSControl() NSControl { +func (x gen_NSControl) Init_AsNSControl() NSControl { ret := C.NSControl_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSControl_fromPointer(ret) - + return NSControl_FromPointer(ret) } // IsEnabled returns a boolean value that indicates whether the receiver reacts to mouse events. @@ -10809,7 +10557,6 @@ func (x gen_NSControl) IsEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetEnabled returns a boolean value that indicates whether the receiver reacts to mouse events. @@ -10824,7 +10571,6 @@ func (x gen_NSControl) SetEnabled( ) return - } // IntValue returns the value of the receiver’s cell as an integer. @@ -10836,7 +10582,6 @@ func (x gen_NSControl) IntValue() int32 { ) return int32(ret) - } // SetIntValue returns the value of the receiver’s cell as an integer. @@ -10851,7 +10596,6 @@ func (x gen_NSControl) SetIntValue( ) return - } // IntegerValue returns the value of the receiver’s cell as an nsinteger value. @@ -10863,7 +10607,6 @@ func (x gen_NSControl) IntegerValue() core.NSInteger { ) return core.NSInteger(ret) - } // SetIntegerValue returns the value of the receiver’s cell as an nsinteger value. @@ -10878,7 +10621,6 @@ func (x gen_NSControl) SetIntegerValue( ) return - } // ObjectValue returns the value of the receiver’s cell as an objective-c object. @@ -10889,8 +10631,7 @@ func (x gen_NSControl) ObjectValue() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetObjectValue returns the value of the receiver’s cell as an objective-c object. @@ -10905,7 +10646,6 @@ func (x gen_NSControl) SetObjectValue( ) return - } // StringValue returns the value of the receiver’s cell as an nsstring object. @@ -10916,8 +10656,7 @@ func (x gen_NSControl) StringValue() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetStringValue returns the value of the receiver’s cell as an nsstring object. @@ -10932,7 +10671,6 @@ func (x gen_NSControl) SetStringValue( ) return - } // AttributedStringValue returns the value of the receiver’s cell as an attributed string. @@ -10943,8 +10681,7 @@ func (x gen_NSControl) AttributedStringValue() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // SetAttributedStringValue returns the value of the receiver’s cell as an attributed string. @@ -10959,7 +10696,6 @@ func (x gen_NSControl) SetAttributedStringValue( ) return - } // Font returns the font used to draw text in the receiver’s cell. @@ -10970,8 +10706,7 @@ func (x gen_NSControl) Font() NSFont { unsafe.Pointer(x.Pointer()), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // SetFont returns the font used to draw text in the receiver’s cell. @@ -10986,7 +10721,6 @@ func (x gen_NSControl) SetFont( ) return - } // UsesSingleLineMode returns a boolean value that indicates whether the text in the control’s cell uses single line mode. @@ -10998,7 +10732,6 @@ func (x gen_NSControl) UsesSingleLineMode() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesSingleLineMode returns a boolean value that indicates whether the text in the control’s cell uses single line mode. @@ -11013,7 +10746,6 @@ func (x gen_NSControl) SetUsesSingleLineMode( ) return - } // AllowsExpansionToolTips returns a boolean value that indicates whether expansion tool tips are shown when the control is hovered over. @@ -11025,7 +10757,6 @@ func (x gen_NSControl) AllowsExpansionToolTips() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsExpansionToolTips returns a boolean value that indicates whether expansion tool tips are shown when the control is hovered over. @@ -11040,7 +10771,6 @@ func (x gen_NSControl) SetAllowsExpansionToolTips( ) return - } // IsHighlighted returns a boolean value that indicates whether the cell is highlighted. @@ -11052,7 +10782,6 @@ func (x gen_NSControl) IsHighlighted() bool { ) return convertObjCBoolToGo(ret) - } // SetHighlighted returns a boolean value that indicates whether the cell is highlighted. @@ -11067,7 +10796,6 @@ func (x gen_NSControl) SetHighlighted( ) return - } // Action returns the default action-message selector associated with the control. @@ -11079,7 +10807,6 @@ func (x gen_NSControl) Action() objc.Selector { ) return objc.SelectorAt(ret) - } // SetAction returns the default action-message selector associated with the control. @@ -11094,7 +10821,6 @@ func (x gen_NSControl) SetAction( ) return - } // Target returns the target object that receives action messages from the cell. @@ -11105,8 +10831,7 @@ func (x gen_NSControl) Target() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetTarget returns the target object that receives action messages from the cell. @@ -11121,7 +10846,6 @@ func (x gen_NSControl) SetTarget( ) return - } // IsContinuous returns a boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. @@ -11133,7 +10857,6 @@ func (x gen_NSControl) IsContinuous() bool { ) return convertObjCBoolToGo(ret) - } // SetContinuous returns a boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. @@ -11148,7 +10871,6 @@ func (x gen_NSControl) SetContinuous( ) return - } // Tag returns the tag identifying the receiver (not the tag of the receiver’s cell). @@ -11160,7 +10882,6 @@ func (x gen_NSControl) Tag() core.NSInteger { ) return core.NSInteger(ret) - } // SetTag returns the tag identifying the receiver (not the tag of the receiver’s cell). @@ -11175,7 +10896,6 @@ func (x gen_NSControl) SetTag( ) return - } // RefusesFirstResponder returns a boolean value indicating whether the receiver refuses the first responder role. @@ -11187,7 +10907,6 @@ func (x gen_NSControl) RefusesFirstResponder() bool { ) return convertObjCBoolToGo(ret) - } // SetRefusesFirstResponder returns a boolean value indicating whether the receiver refuses the first responder role. @@ -11202,7 +10921,6 @@ func (x gen_NSControl) SetRefusesFirstResponder( ) return - } // IgnoresMultiClick returns a boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. @@ -11214,7 +10932,6 @@ func (x gen_NSControl) IgnoresMultiClick() bool { ) return convertObjCBoolToGo(ret) - } // SetIgnoresMultiClick returns a boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. @@ -11229,26 +10946,25 @@ func (x gen_NSControl) SetIgnoresMultiClick( ) return - } type NSButtonRef interface { Pointer() uintptr - Init_asNSButton() NSButton + Init_AsNSButton() NSButton } type gen_NSButton struct { NSControl } -func NSButton_fromPointer(ptr unsafe.Pointer) NSButton { +func NSButton_FromPointer(ptr unsafe.Pointer) NSButton { return NSButton{gen_NSButton{ - NSControl_fromPointer(ptr), + NSControl_FromPointer(ptr), }} } -func NSButton_fromRef(ref objc.Ref) NSButton { - return NSButton_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSButton_FromRef(ref objc.Ref) NSButton { + return NSButton_FromPointer(unsafe.Pointer(ref.Pointer())) } // CompressWithPrioritizedCompressionOptions sets the priority compression options for this button. @@ -11263,7 +10979,6 @@ func (x gen_NSButton) CompressWithPrioritizedCompressionOptions( ) return - } // Highlight highlights (or unhighlights) the button. @@ -11278,7 +10993,6 @@ func (x gen_NSButton) Highlight( ) return - } // MinimumSizeWithPrioritizedCompressionOptions returns the minimum size of the button by using the compression options. @@ -11293,7 +11007,6 @@ func (x gen_NSButton) MinimumSizeWithPrioritizedCompressionOptions( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // PerformKeyEquivalent checks the button's key equivalent against the specified event and, if they match, simulates the button being clicked. @@ -11308,7 +11021,6 @@ func (x gen_NSButton) PerformKeyEquivalent( ) return convertObjCBoolToGo(ret) - } // SetNextState sets the button to its next state. @@ -11320,19 +11032,17 @@ func (x gen_NSButton) SetNextState() { ) return - } // Init // // See for details. -func (x gen_NSButton) Init_asNSButton() NSButton { +func (x gen_NSButton) Init_AsNSButton() NSButton { ret := C.NSButton_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSButton_fromPointer(ret) - + return NSButton_FromPointer(ret) } // ContentTintColor returns a tint color to use for the template image and text content. @@ -11343,8 +11053,7 @@ func (x gen_NSButton) ContentTintColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetContentTintColor returns a tint color to use for the template image and text content. @@ -11359,7 +11068,6 @@ func (x gen_NSButton) SetContentTintColor( ) return - } // HasDestructiveAction returns a boolean value that defines whether a button’s action has a destructive effect. @@ -11371,7 +11079,6 @@ func (x gen_NSButton) HasDestructiveAction() bool { ) return convertObjCBoolToGo(ret) - } // SetHasDestructiveAction returns a boolean value that defines whether a button’s action has a destructive effect. @@ -11386,7 +11093,6 @@ func (x gen_NSButton) SetHasDestructiveAction( ) return - } // AlternateTitle returns the title that the button displays when the button is in an on state. @@ -11397,8 +11103,7 @@ func (x gen_NSButton) AlternateTitle() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetAlternateTitle returns the title that the button displays when the button is in an on state. @@ -11413,7 +11118,6 @@ func (x gen_NSButton) SetAlternateTitle( ) return - } // AttributedTitle returns the title that the button displays in an off state, as an attributed string. @@ -11424,8 +11128,7 @@ func (x gen_NSButton) AttributedTitle() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // SetAttributedTitle returns the title that the button displays in an off state, as an attributed string. @@ -11440,7 +11143,6 @@ func (x gen_NSButton) SetAttributedTitle( ) return - } // AttributedAlternateTitle returns the title that the button displays as an attributed string when the button is in an on state. @@ -11451,8 +11153,7 @@ func (x gen_NSButton) AttributedAlternateTitle() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // SetAttributedAlternateTitle returns the title that the button displays as an attributed string when the button is in an on state. @@ -11467,7 +11168,6 @@ func (x gen_NSButton) SetAttributedAlternateTitle( ) return - } // Title returns the title displayed on the button when it’s in an off state. @@ -11478,8 +11178,7 @@ func (x gen_NSButton) Title() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetTitle returns the title displayed on the button when it’s in an off state. @@ -11494,7 +11193,6 @@ func (x gen_NSButton) SetTitle( ) return - } // Sound returns the sound that plays when the user clicks the button. @@ -11505,8 +11203,7 @@ func (x gen_NSButton) Sound() NSSound { unsafe.Pointer(x.Pointer()), ) - return NSSound_fromPointer(ret) - + return NSSound_FromPointer(ret) } // SetSound returns the sound that plays when the user clicks the button. @@ -11521,7 +11218,6 @@ func (x gen_NSButton) SetSound( ) return - } // IsSpringLoaded returns a boolean value that indicates whether spring loading is enabled for the button. @@ -11533,7 +11229,6 @@ func (x gen_NSButton) IsSpringLoaded() bool { ) return convertObjCBoolToGo(ret) - } // SetSpringLoaded returns a boolean value that indicates whether spring loading is enabled for the button. @@ -11548,7 +11243,6 @@ func (x gen_NSButton) SetSpringLoaded( ) return - } // MaxAcceleratorLevel an integer value indicating the maximum pressure level for a button of type nsmultilevelacceleratorbutton. @@ -11560,7 +11254,6 @@ func (x gen_NSButton) MaxAcceleratorLevel() core.NSInteger { ) return core.NSInteger(ret) - } // SetMaxAcceleratorLevel an integer value indicating the maximum pressure level for a button of type nsmultilevelacceleratorbutton. @@ -11575,7 +11268,6 @@ func (x gen_NSButton) SetMaxAcceleratorLevel( ) return - } // Image returns the image that appears on the button when it’s in an off state, or nil if there is no such image. @@ -11586,8 +11278,7 @@ func (x gen_NSButton) Image() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetImage returns the image that appears on the button when it’s in an off state, or nil if there is no such image. @@ -11602,7 +11293,6 @@ func (x gen_NSButton) SetImage( ) return - } // AlternateImage an alternate image that appears on the button when the button is in an on state. @@ -11613,8 +11303,7 @@ func (x gen_NSButton) AlternateImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetAlternateImage an alternate image that appears on the button when the button is in an on state. @@ -11629,7 +11318,6 @@ func (x gen_NSButton) SetAlternateImage( ) return - } // IsBordered returns a boolean value that determines whether the button has a border. @@ -11641,7 +11329,6 @@ func (x gen_NSButton) IsBordered() bool { ) return convertObjCBoolToGo(ret) - } // SetBordered returns a boolean value that determines whether the button has a border. @@ -11656,7 +11343,6 @@ func (x gen_NSButton) SetBordered( ) return - } // IsTransparent returns a boolean value that indicates whether the button is transparent. @@ -11668,7 +11354,6 @@ func (x gen_NSButton) IsTransparent() bool { ) return convertObjCBoolToGo(ret) - } // SetTransparent returns a boolean value that indicates whether the button is transparent. @@ -11683,7 +11368,6 @@ func (x gen_NSButton) SetTransparent( ) return - } // BezelColor returns the color of the button's bezel, in appearances that support it. @@ -11694,8 +11378,7 @@ func (x gen_NSButton) BezelColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBezelColor returns the color of the button's bezel, in appearances that support it. @@ -11710,7 +11393,6 @@ func (x gen_NSButton) SetBezelColor( ) return - } // ShowsBorderOnlyWhileMouseInside returns a boolean value that determines whether the button displays its border only when the pointer is over it. @@ -11722,7 +11404,6 @@ func (x gen_NSButton) ShowsBorderOnlyWhileMouseInside() bool { ) return convertObjCBoolToGo(ret) - } // SetShowsBorderOnlyWhileMouseInside returns a boolean value that determines whether the button displays its border only when the pointer is over it. @@ -11737,7 +11418,6 @@ func (x gen_NSButton) SetShowsBorderOnlyWhileMouseInside( ) return - } // ImageHugsTitle returns a boolean value that determines how the button’s image and title are positioned together within the button bezel. @@ -11749,7 +11429,6 @@ func (x gen_NSButton) ImageHugsTitle() bool { ) return convertObjCBoolToGo(ret) - } // SetImageHugsTitle returns a boolean value that determines how the button’s image and title are positioned together within the button bezel. @@ -11764,7 +11443,6 @@ func (x gen_NSButton) SetImageHugsTitle( ) return - } // AllowsMixedState returns a boolean value that indicates whether the button allows a mixed state. @@ -11776,7 +11454,6 @@ func (x gen_NSButton) AllowsMixedState() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsMixedState returns a boolean value that indicates whether the button allows a mixed state. @@ -11791,7 +11468,6 @@ func (x gen_NSButton) SetAllowsMixedState( ) return - } // State returns the button’s state. @@ -11803,7 +11479,6 @@ func (x gen_NSButton) State() core.NSInteger { ) return core.NSInteger(ret) - } // SetState returns the button’s state. @@ -11818,7 +11493,6 @@ func (x gen_NSButton) SetState( ) return - } // KeyEquivalent returns the key-equivalent character of the button. @@ -11829,8 +11503,7 @@ func (x gen_NSButton) KeyEquivalent() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetKeyEquivalent returns the key-equivalent character of the button. @@ -11845,38 +11518,36 @@ func (x gen_NSButton) SetKeyEquivalent( ) return - } type NSEventRef interface { Pointer() uintptr - Init_asNSEvent() NSEvent + Init_AsNSEvent() NSEvent } type gen_NSEvent struct { objc.Object } -func NSEvent_fromPointer(ptr unsafe.Pointer) NSEvent { +func NSEvent_FromPointer(ptr unsafe.Pointer) NSEvent { return NSEvent{gen_NSEvent{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSEvent_fromRef(ref objc.Ref) NSEvent { - return NSEvent_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSEvent_FromRef(ref objc.Ref) NSEvent { + return NSEvent_FromPointer(unsafe.Pointer(ref.Pointer())) } // Init // // See for details. -func (x gen_NSEvent) Init_asNSEvent() NSEvent { +func (x gen_NSEvent) Init_AsNSEvent() NSEvent { ret := C.NSEvent_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSEvent_fromPointer(ret) - + return NSEvent_FromPointer(ret) } // LocationInWindow returns the receiver’s location in the base coordinate system of the associated window. @@ -11888,7 +11559,6 @@ func (x gen_NSEvent) LocationInWindow() core.NSPoint { ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // Window returns the window object associated with the event. @@ -11899,8 +11569,7 @@ func (x gen_NSEvent) Window() NSWindow { unsafe.Pointer(x.Pointer()), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // WindowNumber returns the identifier for the window device associated with the event. @@ -11912,7 +11581,6 @@ func (x gen_NSEvent) WindowNumber() core.NSInteger { ) return core.NSInteger(ret) - } // EventRef an opaque carbon type associated with this event. @@ -11924,7 +11592,6 @@ func (x gen_NSEvent) EventRef() unsafe.Pointer { ) return ret - } // Characters returns the characters associated with a key-up or key-down event. @@ -11935,8 +11602,7 @@ func (x gen_NSEvent) Characters() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // CharactersIgnoringModifiers returns the characters generated by a key event as if no modifier key (except for shift) applies. @@ -11947,8 +11613,7 @@ func (x gen_NSEvent) CharactersIgnoringModifiers() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // IsARepeat returns a boolean value that indicates whether the key event is a repeat. @@ -11960,7 +11625,6 @@ func (x gen_NSEvent) IsARepeat() bool { ) return convertObjCBoolToGo(ret) - } // ButtonNumber returns the button number for a mouse event. @@ -11972,7 +11636,6 @@ func (x gen_NSEvent) ButtonNumber() core.NSInteger { ) return core.NSInteger(ret) - } // ClickCount returns the number of mouse clicks associated with a mouse-down or mouse-up event. @@ -11984,7 +11647,6 @@ func (x gen_NSEvent) ClickCount() core.NSInteger { ) return core.NSInteger(ret) - } // EventNumber returns the counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter. @@ -11996,7 +11658,6 @@ func (x gen_NSEvent) EventNumber() core.NSInteger { ) return core.NSInteger(ret) - } // TrackingNumber returns the identifier of a mouse-tracking event. @@ -12008,7 +11669,6 @@ func (x gen_NSEvent) TrackingNumber() core.NSInteger { ) return core.NSInteger(ret) - } // UserData returns the data associated with a mouse-tracking event. @@ -12020,7 +11680,6 @@ func (x gen_NSEvent) UserData() unsafe.Pointer { ) return ret - } // Data1 additional data associated with this event. @@ -12032,7 +11691,6 @@ func (x gen_NSEvent) Data1() core.NSInteger { ) return core.NSInteger(ret) - } // Data2 additional data associated with this event. @@ -12044,7 +11702,6 @@ func (x gen_NSEvent) Data2() core.NSInteger { ) return core.NSInteger(ret) - } // DeltaX returns the x-coordinate change for mouse-move, mouse-drag, and swipe events. @@ -12056,7 +11713,6 @@ func (x gen_NSEvent) DeltaX() core.CGFloat { ) return core.CGFloat(ret) - } // DeltaY returns the y-coordinate change for mouse-move, mouse-drag, and swipe events. @@ -12068,7 +11724,6 @@ func (x gen_NSEvent) DeltaY() core.CGFloat { ) return core.CGFloat(ret) - } // DeltaZ returns the z-coordinate change for a scroll wheel, mouse-move, or mouse-drag event. @@ -12080,7 +11735,6 @@ func (x gen_NSEvent) DeltaZ() core.CGFloat { ) return core.CGFloat(ret) - } // Stage returns a value of 0, 1, or 2, indicating the stage of a gesture event of type nseventtypepressure. @@ -12092,7 +11746,6 @@ func (x gen_NSEvent) Stage() core.NSInteger { ) return core.NSInteger(ret) - } // StageTransition returns the transition value for the stage of a pressure gesture event of type nseventtypepressure. @@ -12104,7 +11757,6 @@ func (x gen_NSEvent) StageTransition() core.CGFloat { ) return core.CGFloat(ret) - } // CapabilityMask returns a mask whose set bits indicate the capabilities of the tablet device that generated this event. @@ -12116,7 +11768,6 @@ func (x gen_NSEvent) CapabilityMask() core.NSUInteger { ) return core.NSUInteger(ret) - } // DeviceID returns a special identifier that is used to match tablet-pointer and tablet-proximity events. @@ -12128,7 +11779,6 @@ func (x gen_NSEvent) DeviceID() core.NSUInteger { ) return core.NSUInteger(ret) - } // IsEnteringProximity returns a boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet. @@ -12140,7 +11790,6 @@ func (x gen_NSEvent) IsEnteringProximity() bool { ) return convertObjCBoolToGo(ret) - } // PointingDeviceID returns the index of the pointing device currently in proximity with the tablet. @@ -12152,7 +11801,6 @@ func (x gen_NSEvent) PointingDeviceID() core.NSUInteger { ) return core.NSUInteger(ret) - } // PointingDeviceSerialNumber returns the vendor-assigned serial number of a pointing device. @@ -12164,7 +11812,6 @@ func (x gen_NSEvent) PointingDeviceSerialNumber() core.NSUInteger { ) return core.NSUInteger(ret) - } // SystemTabletID returns the index of the tablet device connected to the system. @@ -12176,7 +11823,6 @@ func (x gen_NSEvent) SystemTabletID() core.NSUInteger { ) return core.NSUInteger(ret) - } // TabletID returns the usb model identifier of the tablet device associated with this event. @@ -12188,7 +11834,6 @@ func (x gen_NSEvent) TabletID() core.NSUInteger { ) return core.NSUInteger(ret) - } // VendorID returns the vendor identifier of the tablet associated with the event. @@ -12200,7 +11845,6 @@ func (x gen_NSEvent) VendorID() core.NSUInteger { ) return core.NSUInteger(ret) - } // VendorPointingDeviceType returns a coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the event. @@ -12212,7 +11856,6 @@ func (x gen_NSEvent) VendorPointingDeviceType() core.NSUInteger { ) return core.NSUInteger(ret) - } // AbsoluteX returns the absolute x coordinate of a pointing device on its tablet at full tablet resolution. @@ -12224,7 +11867,6 @@ func (x gen_NSEvent) AbsoluteX() core.NSInteger { ) return core.NSInteger(ret) - } // AbsoluteY returns the absolute y coordinate of a pointing device on its tablet at full tablet resolution. @@ -12236,7 +11878,6 @@ func (x gen_NSEvent) AbsoluteY() core.NSInteger { ) return core.NSInteger(ret) - } // AbsoluteZ returns the absolute z coordinate of pointing device on its tablet at full tablet resolution. @@ -12248,7 +11889,6 @@ func (x gen_NSEvent) AbsoluteZ() core.NSInteger { ) return core.NSInteger(ret) - } // Tilt returns the scaled tilt values of the pointing device that generated this event. @@ -12260,7 +11900,6 @@ func (x gen_NSEvent) Tilt() core.NSPoint { ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // VendorDefined an array of three vendor-defined nsnumber objects associated with a pointing-type event. @@ -12271,8 +11910,7 @@ func (x gen_NSEvent) VendorDefined() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // Magnification returns the change in magnification. @@ -12284,7 +11922,6 @@ func (x gen_NSEvent) Magnification() core.CGFloat { ) return core.CGFloat(ret) - } // HasPreciseScrollingDeltas returns a boolean value that indicates whether precise scrolling deltas are available. @@ -12296,7 +11933,6 @@ func (x gen_NSEvent) HasPreciseScrollingDeltas() bool { ) return convertObjCBoolToGo(ret) - } // ScrollingDeltaX returns the scroll wheel’s horizontal delta. @@ -12308,7 +11944,6 @@ func (x gen_NSEvent) ScrollingDeltaX() core.CGFloat { ) return core.CGFloat(ret) - } // ScrollingDeltaY returns the scroll wheel’s vertical delta. @@ -12320,7 +11955,6 @@ func (x gen_NSEvent) ScrollingDeltaY() core.CGFloat { ) return core.CGFloat(ret) - } // IsDirectionInvertedFromDevice returns a boolean value that indicates whether the user has changed the device inversion. @@ -12332,26 +11966,25 @@ func (x gen_NSEvent) IsDirectionInvertedFromDevice() bool { ) return convertObjCBoolToGo(ret) - } type NSFontRef interface { Pointer() uintptr - Init_asNSFont() NSFont + Init_AsNSFont() NSFont } type gen_NSFont struct { objc.Object } -func NSFont_fromPointer(ptr unsafe.Pointer) NSFont { +func NSFont_FromPointer(ptr unsafe.Pointer) NSFont { return NSFont{gen_NSFont{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSFont_fromRef(ref objc.Ref) NSFont { - return NSFont_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSFont_FromRef(ref objc.Ref) NSFont { + return NSFont_FromPointer(unsafe.Pointer(ref.Pointer())) } // FontWithSize @@ -12365,8 +11998,7 @@ func (x gen_NSFont) FontWithSize( C.double(fontSize), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // Set sets this font as the font for the current graphics context. @@ -12378,19 +12010,17 @@ func (x gen_NSFont) Set() { ) return - } // Init // // See for details. -func (x gen_NSFont) Init_asNSFont() NSFont { +func (x gen_NSFont) Init_AsNSFont() NSFont { ret := C.NSFont_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // PointSize returns the point size of the font. @@ -12402,7 +12032,6 @@ func (x gen_NSFont) PointSize() core.CGFloat { ) return core.CGFloat(ret) - } // IsFixedPitch returns a boolean value indicating whether all glyphs in the font have the same advancement. @@ -12414,7 +12043,6 @@ func (x gen_NSFont) IsFixedPitch() bool { ) return convertObjCBoolToGo(ret) - } // MostCompatibleStringEncoding returns the string encoding that works best with the font. @@ -12426,7 +12054,6 @@ func (x gen_NSFont) MostCompatibleStringEncoding() core.NSStringEncoding { ) return core.NSStringEncoding(ret) - } // NumberOfGlyphs returns the number of glyphs in the font. @@ -12438,7 +12065,6 @@ func (x gen_NSFont) NumberOfGlyphs() core.NSUInteger { ) return core.NSUInteger(ret) - } // DisplayName returns the name of the font, including family and face names, to use when displaying the font information to the user. @@ -12449,8 +12075,7 @@ func (x gen_NSFont) DisplayName() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // FamilyName returns the family name of the font—for example, “times” or “helvetica.” @@ -12461,8 +12086,7 @@ func (x gen_NSFont) FamilyName() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // FontName returns the full name of the font, as used in postscript language code—for example, “times-roman” or “helvetica-oblique.” @@ -12473,8 +12097,7 @@ func (x gen_NSFont) FontName() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // IsVertical returns a boolean value indicating whether the font is a vertical font. @@ -12486,7 +12109,6 @@ func (x gen_NSFont) IsVertical() bool { ) return convertObjCBoolToGo(ret) - } // VerticalFont returns a vertical version of the font. @@ -12497,27 +12119,26 @@ func (x gen_NSFont) VerticalFont() NSFont { unsafe.Pointer(x.Pointer()), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } type NSImageRef interface { Pointer() uintptr - Init_asNSImage() NSImage + Init_AsNSImage() NSImage } type gen_NSImage struct { objc.Object } -func NSImage_fromPointer(ptr unsafe.Pointer) NSImage { +func NSImage_FromPointer(ptr unsafe.Pointer) NSImage { return NSImage{gen_NSImage{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSImage_fromRef(ref objc.Ref) NSImage { - return NSImage_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSImage_FromRef(ref objc.Ref) NSImage { + return NSImage_FromPointer(unsafe.Pointer(ref.Pointer())) } // AddRepresentations adds an array of image representation objects to the image. @@ -12532,7 +12153,6 @@ func (x gen_NSImage) AddRepresentations( ) return - } // CancelIncrementalLoad cancels the current download operation, if any, for an incrementally loaded image. @@ -12544,7 +12164,6 @@ func (x gen_NSImage) CancelIncrementalLoad() { ) return - } // DrawInRect draws the image in the specified rectangle. @@ -12559,13 +12178,12 @@ func (x gen_NSImage) DrawInRect( ) return - } // InitByReferencingFile initializes and returns an image object using the specified file. // // See https://developer.apple.com/documentation/appkit/nsimage/1519955-initbyreferencingfile?language=objc for details. -func (x gen_NSImage) InitByReferencingFile_asNSImage( +func (x gen_NSImage) InitByReferencingFile_AsNSImage( fileName core.NSStringRef, ) NSImage { ret := C.NSImage_inst_InitByReferencingFile( @@ -12573,14 +12191,13 @@ func (x gen_NSImage) InitByReferencingFile_asNSImage( objc.RefPointer(fileName), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitByReferencingURL initializes and returns an image object using the specified url. // // See https://developer.apple.com/documentation/appkit/nsimage/1519990-initbyreferencingurl?language=objc for details. -func (x gen_NSImage) InitByReferencingURL_asNSImage( +func (x gen_NSImage) InitByReferencingURL_AsNSImage( url core.NSURLRef, ) NSImage { ret := C.NSImage_inst_InitByReferencingURL( @@ -12588,14 +12205,13 @@ func (x gen_NSImage) InitByReferencingURL_asNSImage( objc.RefPointer(url), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitWithContentsOfFile initializes and returns an image object with the contents of the specified file. // // See https://developer.apple.com/documentation/appkit/nsimage/1519918-initwithcontentsoffile?language=objc for details. -func (x gen_NSImage) InitWithContentsOfFile_asNSImage( +func (x gen_NSImage) InitWithContentsOfFile_AsNSImage( fileName core.NSStringRef, ) NSImage { ret := C.NSImage_inst_InitWithContentsOfFile( @@ -12603,14 +12219,13 @@ func (x gen_NSImage) InitWithContentsOfFile_asNSImage( objc.RefPointer(fileName), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitWithContentsOfURL initializes and returns an image object with the contents of the specified url. // // See https://developer.apple.com/documentation/appkit/nsimage/1519907-initwithcontentsofurl?language=objc for details. -func (x gen_NSImage) InitWithContentsOfURL_asNSImage( +func (x gen_NSImage) InitWithContentsOfURL_AsNSImage( url core.NSURLRef, ) NSImage { ret := C.NSImage_inst_InitWithContentsOfURL( @@ -12618,14 +12233,13 @@ func (x gen_NSImage) InitWithContentsOfURL_asNSImage( objc.RefPointer(url), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitWithData initializes and returns an image object using the provided image data. // // See https://developer.apple.com/documentation/appkit/nsimage/1519941-initwithdata?language=objc for details. -func (x gen_NSImage) InitWithData_asNSImage( +func (x gen_NSImage) InitWithData_AsNSImage( data core.NSDataRef, ) NSImage { ret := C.NSImage_inst_InitWithData( @@ -12633,14 +12247,13 @@ func (x gen_NSImage) InitWithData_asNSImage( objc.RefPointer(data), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitWithDataIgnoringOrientation initializes and returns an image object using the provided image data and ignoring the exif orientation tags. // // See https://developer.apple.com/documentation/appkit/nsimage/1519915-initwithdataignoringorientation?language=objc for details. -func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( +func (x gen_NSImage) InitWithDataIgnoringOrientation_AsNSImage( data core.NSDataRef, ) NSImage { ret := C.NSImage_inst_InitWithDataIgnoringOrientation( @@ -12648,14 +12261,13 @@ func (x gen_NSImage) InitWithDataIgnoringOrientation_asNSImage( objc.RefPointer(data), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitWithPasteboard initializes and returns an image object with data from the specified pasteboard. // // See https://developer.apple.com/documentation/appkit/nsimage/1519952-initwithpasteboard?language=objc for details. -func (x gen_NSImage) InitWithPasteboard_asNSImage( +func (x gen_NSImage) InitWithPasteboard_AsNSImage( pasteboard NSPasteboardRef, ) NSImage { ret := C.NSImage_inst_InitWithPasteboard( @@ -12663,14 +12275,13 @@ func (x gen_NSImage) InitWithPasteboard_asNSImage( objc.RefPointer(pasteboard), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // InitWithSize initializes and returns an image object with the specified dimensions. // // See https://developer.apple.com/documentation/appkit/nsimage/1520033-initwithsize?language=objc for details. -func (x gen_NSImage) InitWithSize_asNSImage( +func (x gen_NSImage) InitWithSize_AsNSImage( size core.NSSize, ) NSImage { ret := C.NSImage_inst_InitWithSize( @@ -12678,8 +12289,7 @@ func (x gen_NSImage) InitWithSize_asNSImage( *(*C.NSSize)(unsafe.Pointer(&size)), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // IsTemplate returns a boolean value that indicates whether the image is a template image. @@ -12691,7 +12301,6 @@ func (x gen_NSImage) IsTemplate() bool { ) return convertObjCBoolToGo(ret) - } // LayerContentsForContentsScale returns an object that may be used as the contents of a layer. @@ -12705,8 +12314,7 @@ func (x gen_NSImage) LayerContentsForContentsScale( C.double(layerContentsScale), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // LockFocus prepares the image to receive drawing commands. @@ -12718,7 +12326,6 @@ func (x gen_NSImage) LockFocus() { ) return - } // LockFocusFlipped prepares the image to receive drawing commands using the specified flipped state. @@ -12733,7 +12340,6 @@ func (x gen_NSImage) LockFocusFlipped( ) return - } // Recache invalidates and frees offscreen caches of all image representations. @@ -12745,7 +12351,6 @@ func (x gen_NSImage) Recache() { ) return - } // RecommendedLayerContentsScale returns the recommended layer contents scale for this image. @@ -12760,7 +12365,6 @@ func (x gen_NSImage) RecommendedLayerContentsScale( ) return core.CGFloat(ret) - } // UnlockFocus removes the focus from the image. @@ -12772,19 +12376,17 @@ func (x gen_NSImage) UnlockFocus() { ) return - } // Init // // See for details. -func (x gen_NSImage) Init_asNSImage() NSImage { +func (x gen_NSImage) Init_AsNSImage() NSImage { ret := C.NSImage_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // Delegate returns the image’s delegate object. @@ -12795,8 +12397,7 @@ func (x gen_NSImage) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the image’s delegate object. @@ -12811,7 +12412,6 @@ func (x gen_NSImage) SetDelegate( ) return - } // Size returns the size of the image. @@ -12823,7 +12423,6 @@ func (x gen_NSImage) Size() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetSize returns the size of the image. @@ -12838,7 +12437,6 @@ func (x gen_NSImage) SetSize( ) return - } // SetTemplate returns a boolean value that determines whether the image represents a template image. @@ -12853,7 +12451,6 @@ func (x gen_NSImage) SetTemplate( ) return - } // Representations an array containing all of the image object’s image representations. @@ -12864,8 +12461,7 @@ func (x gen_NSImage) Representations() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // PrefersColorMatch returns a boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. @@ -12877,7 +12473,6 @@ func (x gen_NSImage) PrefersColorMatch() bool { ) return convertObjCBoolToGo(ret) - } // SetPrefersColorMatch returns a boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. @@ -12892,7 +12487,6 @@ func (x gen_NSImage) SetPrefersColorMatch( ) return - } // UsesEPSOnResolutionMismatch returns a boolean value that indicates whether eps representations are preferred when no other representations match the resolution of the device. @@ -12904,7 +12498,6 @@ func (x gen_NSImage) UsesEPSOnResolutionMismatch() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesEPSOnResolutionMismatch returns a boolean value that indicates whether eps representations are preferred when no other representations match the resolution of the device. @@ -12919,7 +12512,6 @@ func (x gen_NSImage) SetUsesEPSOnResolutionMismatch( ) return - } // MatchesOnMultipleResolution returns a boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. @@ -12931,7 +12523,6 @@ func (x gen_NSImage) MatchesOnMultipleResolution() bool { ) return convertObjCBoolToGo(ret) - } // SetMatchesOnMultipleResolution returns a boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. @@ -12946,7 +12537,6 @@ func (x gen_NSImage) SetMatchesOnMultipleResolution( ) return - } // IsValid returns a boolean value that indicates whether it is possible to draw an image representation. @@ -12958,7 +12548,6 @@ func (x gen_NSImage) IsValid() bool { ) return convertObjCBoolToGo(ret) - } // BackgroundColor returns the background color for the image. @@ -12969,8 +12558,7 @@ func (x gen_NSImage) BackgroundColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBackgroundColor returns the background color for the image. @@ -12985,7 +12573,6 @@ func (x gen_NSImage) SetBackgroundColor( ) return - } // AlignmentRect returns a rectangle that you can use to position the image during layout. @@ -12997,7 +12584,6 @@ func (x gen_NSImage) AlignmentRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // SetAlignmentRect returns a rectangle that you can use to position the image during layout. @@ -13012,7 +12598,6 @@ func (x gen_NSImage) SetAlignmentRect( ) return - } // TIFFRepresentation returns a data object containing tiff data for all of the image representations in the image. @@ -13023,8 +12608,7 @@ func (x gen_NSImage) TIFFRepresentation() core.NSData { unsafe.Pointer(x.Pointer()), ) - return core.NSData_fromPointer(ret) - + return core.NSData_FromPointer(ret) } // AccessibilityDescription returns the image’s accessibility description. @@ -13035,8 +12619,7 @@ func (x gen_NSImage) AccessibilityDescription() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetAccessibilityDescription returns the image’s accessibility description. @@ -13051,7 +12634,6 @@ func (x gen_NSImage) SetAccessibilityDescription( ) return - } // MatchesOnlyOnBestFittingAxis returns a boolean value that indicates whether the image matches only on the best fitting axis. @@ -13063,7 +12645,6 @@ func (x gen_NSImage) MatchesOnlyOnBestFittingAxis() bool { ) return convertObjCBoolToGo(ret) - } // SetMatchesOnlyOnBestFittingAxis returns a boolean value that indicates whether the image matches only on the best fitting axis. @@ -13078,38 +12659,36 @@ func (x gen_NSImage) SetMatchesOnlyOnBestFittingAxis( ) return - } type NSImageViewRef interface { Pointer() uintptr - Init_asNSImageView() NSImageView + Init_AsNSImageView() NSImageView } type gen_NSImageView struct { NSControl } -func NSImageView_fromPointer(ptr unsafe.Pointer) NSImageView { +func NSImageView_FromPointer(ptr unsafe.Pointer) NSImageView { return NSImageView{gen_NSImageView{ - NSControl_fromPointer(ptr), + NSControl_FromPointer(ptr), }} } -func NSImageView_fromRef(ref objc.Ref) NSImageView { - return NSImageView_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSImageView_FromRef(ref objc.Ref) NSImageView { + return NSImageView_FromPointer(unsafe.Pointer(ref.Pointer())) } // Init // // See for details. -func (x gen_NSImageView) Init_asNSImageView() NSImageView { +func (x gen_NSImageView) Init_AsNSImageView() NSImageView { ret := C.NSImageView_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSImageView_fromPointer(ret) - + return NSImageView_FromPointer(ret) } // Image returns the image displayed by the image view. @@ -13120,8 +12699,7 @@ func (x gen_NSImageView) Image() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetImage returns the image displayed by the image view. @@ -13136,7 +12714,6 @@ func (x gen_NSImageView) SetImage( ) return - } // Animates returns a boolean value indicating whether the image view automatically plays animated images. @@ -13148,7 +12725,6 @@ func (x gen_NSImageView) Animates() bool { ) return convertObjCBoolToGo(ret) - } // SetAnimates returns a boolean value indicating whether the image view automatically plays animated images. @@ -13163,7 +12739,6 @@ func (x gen_NSImageView) SetAnimates( ) return - } // IsEditable returns a boolean value indicating whether the user can drag a new image into the image view. @@ -13175,7 +12750,6 @@ func (x gen_NSImageView) IsEditable() bool { ) return convertObjCBoolToGo(ret) - } // SetEditable returns a boolean value indicating whether the user can drag a new image into the image view. @@ -13190,7 +12764,6 @@ func (x gen_NSImageView) SetEditable( ) return - } // AllowsCutCopyPaste returns a boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. @@ -13202,7 +12775,6 @@ func (x gen_NSImageView) AllowsCutCopyPaste() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsCutCopyPaste returns a boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. @@ -13217,7 +12789,6 @@ func (x gen_NSImageView) SetAllowsCutCopyPaste( ) return - } // ContentTintColor @@ -13228,8 +12799,7 @@ func (x gen_NSImageView) ContentTintColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetContentTintColor @@ -13244,32 +12814,31 @@ func (x gen_NSImageView) SetContentTintColor( ) return - } type NSNibRef interface { Pointer() uintptr - Init_asNSNib() NSNib + Init_AsNSNib() NSNib } type gen_NSNib struct { objc.Object } -func NSNib_fromPointer(ptr unsafe.Pointer) NSNib { +func NSNib_FromPointer(ptr unsafe.Pointer) NSNib { return NSNib{gen_NSNib{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSNib_fromRef(ref objc.Ref) NSNib { - return NSNib_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSNib_FromRef(ref objc.Ref) NSNib { + return NSNib_FromPointer(unsafe.Pointer(ref.Pointer())) } // InitWithNibDataBundle initializes an instance with nib data and specified bundle for locating resources. // // See https://developer.apple.com/documentation/appkit/nsnib/1535865-initwithnibdata?language=objc for details. -func (x gen_NSNib) InitWithNibDataBundle_asNSNib( +func (x gen_NSNib) InitWithNibDataBundle_AsNSNib( nibData core.NSDataRef, bundle NSBundleRef, ) NSNib { @@ -13279,8 +12848,7 @@ func (x gen_NSNib) InitWithNibDataBundle_asNSNib( objc.RefPointer(bundle), ) - return NSNib_fromPointer(ret) - + return NSNib_FromPointer(ret) } // InstantiateWithOwnerTopLevelObjects instantiates objects in the nib file with the specified owner. @@ -13297,38 +12865,36 @@ func (x gen_NSNib) InstantiateWithOwnerTopLevelObjects( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSNib) Init_asNSNib() NSNib { +func (x gen_NSNib) Init_AsNSNib() NSNib { ret := C.NSNib_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSNib_fromPointer(ret) - + return NSNib_FromPointer(ret) } type NSPasteboardRef interface { Pointer() uintptr - Init_asNSPasteboard() NSPasteboard + Init_AsNSPasteboard() NSPasteboard } type gen_NSPasteboard struct { objc.Object } -func NSPasteboard_fromPointer(ptr unsafe.Pointer) NSPasteboard { +func NSPasteboard_FromPointer(ptr unsafe.Pointer) NSPasteboard { return NSPasteboard{gen_NSPasteboard{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard { - return NSPasteboard_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSPasteboard_FromRef(ref objc.Ref) NSPasteboard { + return NSPasteboard_FromPointer(unsafe.Pointer(ref.Pointer())) } // AddTypesOwner adds promises for the specified types to the first pasteboard item. @@ -13345,7 +12911,6 @@ func (x gen_NSPasteboard) AddTypesOwner( ) return core.NSInteger(ret) - } // CanReadItemWithDataConformingToTypes returns a boolean value that indicates whether the receiver contains any items that conform to the specified utis. @@ -13360,7 +12925,6 @@ func (x gen_NSPasteboard) CanReadItemWithDataConformingToTypes( ) return convertObjCBoolToGo(ret) - } // CanReadObjectForClassesOptions returns a boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. @@ -13377,7 +12941,6 @@ func (x gen_NSPasteboard) CanReadObjectForClassesOptions( ) return convertObjCBoolToGo(ret) - } // ClearContents clears the existing contents of the pasteboard. @@ -13389,7 +12952,6 @@ func (x gen_NSPasteboard) ClearContents() core.NSInteger { ) return core.NSInteger(ret) - } // DeclareTypesOwner prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. @@ -13406,7 +12968,6 @@ func (x gen_NSPasteboard) DeclareTypesOwner( ) return core.NSInteger(ret) - } // ReadObjectsForClassesOptions reads from the receiver objects that best match the specified array of classes. @@ -13422,8 +12983,7 @@ func (x gen_NSPasteboard) ReadObjectsForClassesOptions( objc.RefPointer(options), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // ReleaseGlobally releases the receiver’s resources in the pasteboard server. @@ -13435,7 +12995,6 @@ func (x gen_NSPasteboard) ReleaseGlobally() { ) return - } // WriteFileContents writes the contents of the specified file to the pasteboard. @@ -13450,7 +13009,6 @@ func (x gen_NSPasteboard) WriteFileContents( ) return convertObjCBoolToGo(ret) - } // WriteObjects writes an array of objects to the receiver. @@ -13465,19 +13023,17 @@ func (x gen_NSPasteboard) WriteObjects( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSPasteboard) Init_asNSPasteboard() NSPasteboard { +func (x gen_NSPasteboard) Init_AsNSPasteboard() NSPasteboard { ret := C.NSPasteboard_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSPasteboard_fromPointer(ret) - + return NSPasteboard_FromPointer(ret) } // PasteboardItems an array that contains all the items held by the pasteboard. @@ -13488,8 +13044,7 @@ func (x gen_NSPasteboard) PasteboardItems() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // Types an array of the receiver’s supported data types. @@ -13500,8 +13055,7 @@ func (x gen_NSPasteboard) Types() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // ChangeCount returns the receiver’s change count. @@ -13513,26 +13067,25 @@ func (x gen_NSPasteboard) ChangeCount() core.NSInteger { ) return core.NSInteger(ret) - } type NSLayoutManagerRef interface { Pointer() uintptr - Init_asNSLayoutManager() NSLayoutManager + Init_AsNSLayoutManager() NSLayoutManager } type gen_NSLayoutManager struct { objc.Object } -func NSLayoutManager_fromPointer(ptr unsafe.Pointer) NSLayoutManager { +func NSLayoutManager_FromPointer(ptr unsafe.Pointer) NSLayoutManager { return NSLayoutManager{gen_NSLayoutManager{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSLayoutManager_fromRef(ref objc.Ref) NSLayoutManager { - return NSLayoutManager_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSLayoutManager_FromRef(ref objc.Ref) NSLayoutManager { + return NSLayoutManager_FromPointer(unsafe.Pointer(ref.Pointer())) } // AddTextContainer appends the specified text container to the series of text containers where the layout manager arranges text. @@ -13547,7 +13100,6 @@ func (x gen_NSLayoutManager) AddTextContainer( ) return - } // AttachmentSizeForGlyphAtIndex returns the size of the attachment glyph at the specified index. @@ -13562,7 +13114,6 @@ func (x gen_NSLayoutManager) AttachmentSizeForGlyphAtIndex( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // CharacterIndexForGlyphAtIndex returns the index in the text storage for the first character of the specified glyph. @@ -13577,7 +13128,6 @@ func (x gen_NSLayoutManager) CharacterIndexForGlyphAtIndex( ) return core.NSUInteger(ret) - } // DefaultBaselineOffsetForFont returns the default baseline offset that the layout manager's typesetter uses for the specified font. @@ -13592,7 +13142,6 @@ func (x gen_NSLayoutManager) DefaultBaselineOffsetForFont( ) return core.CGFloat(ret) - } // DefaultLineHeightForFont returns the default line height for a line of text that uses a specified font. @@ -13607,7 +13156,6 @@ func (x gen_NSLayoutManager) DefaultLineHeightForFont( ) return core.CGFloat(ret) - } // DrawsOutsideLineFragmentForGlyphAtIndex indicates whether the glyph draws outside its line fragment rectangle. @@ -13622,7 +13170,6 @@ func (x gen_NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex( ) return convertObjCBoolToGo(ret) - } // EnsureLayoutForBoundingRectInTextContainer forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. @@ -13639,7 +13186,6 @@ func (x gen_NSLayoutManager) EnsureLayoutForBoundingRectInTextContainer( ) return - } // EnsureLayoutForTextContainer forces the layout manager to perform layout for the specified text container if it hasn’t already. @@ -13654,7 +13200,6 @@ func (x gen_NSLayoutManager) EnsureLayoutForTextContainer( ) return - } // FirstUnlaidCharacterIndex returns the index for the first character in the layout manager that isn’t in the layout. @@ -13666,7 +13211,6 @@ func (x gen_NSLayoutManager) FirstUnlaidCharacterIndex() core.NSUInteger { ) return core.NSUInteger(ret) - } // FirstUnlaidGlyphIndex returns the index for the first glyph in the layout manager that isn’t in the layout. @@ -13678,7 +13222,6 @@ func (x gen_NSLayoutManager) FirstUnlaidGlyphIndex() core.NSUInteger { ) return core.NSUInteger(ret) - } // GlyphIndexForCharacterAtIndex returns the index of the first glyph of the character at the specified index. @@ -13693,19 +13236,17 @@ func (x gen_NSLayoutManager) GlyphIndexForCharacterAtIndex( ) return core.NSUInteger(ret) - } // Init initializes a newly created layout manager object. // // See https://developer.apple.com/documentation/uikit/nslayoutmanager/1402975-init?language=objc for details. -func (x gen_NSLayoutManager) Init_asNSLayoutManager() NSLayoutManager { +func (x gen_NSLayoutManager) Init_AsNSLayoutManager() NSLayoutManager { ret := C.NSLayoutManager_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSLayoutManager_fromPointer(ret) - + return NSLayoutManager_FromPointer(ret) } // InsertTextContainerAtIndex inserts a text container at the specified index in the list of text containers. @@ -13722,7 +13263,6 @@ func (x gen_NSLayoutManager) InsertTextContainerAtIndex( ) return - } // IsValidGlyphIndex indicates whether the specified index refers to a valid glyph. @@ -13737,7 +13277,6 @@ func (x gen_NSLayoutManager) IsValidGlyphIndex( ) return convertObjCBoolToGo(ret) - } // LayoutManagerOwnsFirstResponderInWindow indicates whether the first responder in the specified window is a text view for the layout manager. @@ -13752,7 +13291,6 @@ func (x gen_NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow( ) return convertObjCBoolToGo(ret) - } // NotShownAttributeForGlyphAtIndex indicates whether the glyph at the specified index has a visible representation. @@ -13767,7 +13305,6 @@ func (x gen_NSLayoutManager) NotShownAttributeForGlyphAtIndex( ) return convertObjCBoolToGo(ret) - } // RemoveTextContainerAtIndex removes the text container at the specified index and invalidates the layout as necessary. @@ -13782,7 +13319,6 @@ func (x gen_NSLayoutManager) RemoveTextContainerAtIndex( ) return - } // SetDrawsOutsideLineFragmentForGlyphAtIndex indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. @@ -13799,7 +13335,6 @@ func (x gen_NSLayoutManager) SetDrawsOutsideLineFragmentForGlyphAtIndex( ) return - } // SetExtraLineFragmentRectUsedRectTextContainer sets the bounds and container for the extra line fragment. @@ -13818,7 +13353,6 @@ func (x gen_NSLayoutManager) SetExtraLineFragmentRectUsedRectTextContainer( ) return - } // SetNotShownAttributeForGlyphAtIndex sets the visibility of the glyph at the specified index. @@ -13835,7 +13369,6 @@ func (x gen_NSLayoutManager) SetNotShownAttributeForGlyphAtIndex( ) return - } // TextContainerChangedGeometry invalidates the layout information, and possibly glyphs, for the specified text container and all subsequent text container objects. @@ -13850,7 +13383,6 @@ func (x gen_NSLayoutManager) TextContainerChangedGeometry( ) return - } // TextContainerChangedTextView updates the information necessary to manage text view objects for the specified text container. @@ -13865,7 +13397,6 @@ func (x gen_NSLayoutManager) TextContainerChangedTextView( ) return - } // UsedRectForTextContainer returns the bounding rectangle for the glyphs in the specified text container. @@ -13880,7 +13411,6 @@ func (x gen_NSLayoutManager) UsedRectForTextContainer( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // Delegate returns the layout manager’s delegate. @@ -13891,8 +13421,7 @@ func (x gen_NSLayoutManager) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the layout manager’s delegate. @@ -13907,7 +13436,6 @@ func (x gen_NSLayoutManager) SetDelegate( ) return - } // AllowsNonContiguousLayout returns a boolean value that indicates whether the layout manager allows noncontiguous layout. @@ -13919,7 +13447,6 @@ func (x gen_NSLayoutManager) AllowsNonContiguousLayout() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsNonContiguousLayout returns a boolean value that indicates whether the layout manager allows noncontiguous layout. @@ -13934,7 +13461,6 @@ func (x gen_NSLayoutManager) SetAllowsNonContiguousLayout( ) return - } // HasNonContiguousLayout returns a boolean value that indicates whether the layout manager currently has any areas of noncontiguous layout. @@ -13946,7 +13472,6 @@ func (x gen_NSLayoutManager) HasNonContiguousLayout() bool { ) return convertObjCBoolToGo(ret) - } // ShowsInvisibleCharacters returns a boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. @@ -13958,7 +13483,6 @@ func (x gen_NSLayoutManager) ShowsInvisibleCharacters() bool { ) return convertObjCBoolToGo(ret) - } // SetShowsInvisibleCharacters returns a boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. @@ -13973,7 +13497,6 @@ func (x gen_NSLayoutManager) SetShowsInvisibleCharacters( ) return - } // ShowsControlCharacters returns a boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. @@ -13985,7 +13508,6 @@ func (x gen_NSLayoutManager) ShowsControlCharacters() bool { ) return convertObjCBoolToGo(ret) - } // SetShowsControlCharacters returns a boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. @@ -14000,7 +13522,6 @@ func (x gen_NSLayoutManager) SetShowsControlCharacters( ) return - } // UsesFontLeading returns a boolean value that indicates whether the layout manager uses the leading of the font. @@ -14012,7 +13533,6 @@ func (x gen_NSLayoutManager) UsesFontLeading() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesFontLeading returns a boolean value that indicates whether the layout manager uses the leading of the font. @@ -14027,7 +13547,6 @@ func (x gen_NSLayoutManager) SetUsesFontLeading( ) return - } // BackgroundLayoutEnabled returns a boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. @@ -14039,7 +13558,6 @@ func (x gen_NSLayoutManager) BackgroundLayoutEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetBackgroundLayoutEnabled returns a boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. @@ -14054,7 +13572,6 @@ func (x gen_NSLayoutManager) SetBackgroundLayoutEnabled( ) return - } // LimitsLayoutForSuspiciousContents returns a boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. @@ -14066,7 +13583,6 @@ func (x gen_NSLayoutManager) LimitsLayoutForSuspiciousContents() bool { ) return convertObjCBoolToGo(ret) - } // SetLimitsLayoutForSuspiciousContents returns a boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. @@ -14081,7 +13597,6 @@ func (x gen_NSLayoutManager) SetLimitsLayoutForSuspiciousContents( ) return - } // UsesDefaultHyphenation returns a boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. @@ -14093,7 +13608,6 @@ func (x gen_NSLayoutManager) UsesDefaultHyphenation() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesDefaultHyphenation returns a boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. @@ -14108,7 +13622,6 @@ func (x gen_NSLayoutManager) SetUsesDefaultHyphenation( ) return - } // TextContainers returns the current text containers of the layout manager. @@ -14119,8 +13632,7 @@ func (x gen_NSLayoutManager) TextContainers() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // NumberOfGlyphs returns the number of glyphs in the layout manager. @@ -14132,7 +13644,6 @@ func (x gen_NSLayoutManager) NumberOfGlyphs() core.NSUInteger { ) return core.NSUInteger(ret) - } // ExtraLineFragmentRect returns the rectangle for the extra line fragment at the end of a document. @@ -14144,7 +13655,6 @@ func (x gen_NSLayoutManager) ExtraLineFragmentRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ExtraLineFragmentTextContainer returns the text container for the extra line fragment rectangle. @@ -14155,8 +13665,7 @@ func (x gen_NSLayoutManager) ExtraLineFragmentTextContainer() NSTextContainer { unsafe.Pointer(x.Pointer()), ) - return NSTextContainer_fromPointer(ret) - + return NSTextContainer_FromPointer(ret) } // ExtraLineFragmentUsedRect returns the rectangle that encloses the insertion point in the extra line fragment rectangle. @@ -14168,7 +13677,6 @@ func (x gen_NSLayoutManager) ExtraLineFragmentUsedRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // FirstTextView returns the first text view in the layout manager’s series of text views. @@ -14179,8 +13687,7 @@ func (x gen_NSLayoutManager) FirstTextView() NSTextView { unsafe.Pointer(x.Pointer()), ) - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // TextViewForBeginningOfSelection returns the text view that contains the first glyph in the selection. @@ -14191,27 +13698,26 @@ func (x gen_NSLayoutManager) TextViewForBeginningOfSelection() NSTextView { unsafe.Pointer(x.Pointer()), ) - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } type NSMenuRef interface { Pointer() uintptr - Init_asNSMenu() NSMenu + Init_AsNSMenu() NSMenu } type gen_NSMenu struct { objc.Object } -func NSMenu_fromPointer(ptr unsafe.Pointer) NSMenu { +func NSMenu_FromPointer(ptr unsafe.Pointer) NSMenu { return NSMenu{gen_NSMenu{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSMenu_fromRef(ref objc.Ref) NSMenu { - return NSMenu_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSMenu_FromRef(ref objc.Ref) NSMenu { + return NSMenu_FromPointer(unsafe.Pointer(ref.Pointer())) } // AddItem adds a menu item to the end of the menu. @@ -14226,7 +13732,6 @@ func (x gen_NSMenu) AddItem( ) return - } // AddItemWithTitleActionKeyEquivalent creates a new menu item and adds it to the end of the menu. @@ -14244,8 +13749,7 @@ func (x gen_NSMenu) AddItemWithTitleActionKeyEquivalent( objc.RefPointer(charCode), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // CancelTracking dismisses the menu and ends all menu tracking. @@ -14257,7 +13761,6 @@ func (x gen_NSMenu) CancelTracking() { ) return - } // CancelTrackingWithoutAnimation dismisses the menu and ends all menu tracking without displaying the associated animation. @@ -14269,7 +13772,6 @@ func (x gen_NSMenu) CancelTrackingWithoutAnimation() { ) return - } // IndexOfItem returns the index identifying the location of a specified menu item in the menu. @@ -14284,7 +13786,6 @@ func (x gen_NSMenu) IndexOfItem( ) return core.NSInteger(ret) - } // IndexOfItemWithRepresentedObject returns the index of the first menu item in the menu that has a given represented object. @@ -14299,7 +13800,6 @@ func (x gen_NSMenu) IndexOfItemWithRepresentedObject( ) return core.NSInteger(ret) - } // IndexOfItemWithSubmenu returns the index of the menu item in the menu with the given submenu. @@ -14314,7 +13814,6 @@ func (x gen_NSMenu) IndexOfItemWithSubmenu( ) return core.NSInteger(ret) - } // IndexOfItemWithTag returns the index of the first menu item in the menu identified by a tag. @@ -14329,7 +13828,6 @@ func (x gen_NSMenu) IndexOfItemWithTag( ) return core.NSInteger(ret) - } // IndexOfItemWithTargetAndAction returns the index of the first menu item in the menu that has a specified action and target. @@ -14346,7 +13844,6 @@ func (x gen_NSMenu) IndexOfItemWithTargetAndAction( ) return core.NSInteger(ret) - } // IndexOfItemWithTitle returns the index of the first menu item in the menu that has a specified title. @@ -14361,13 +13858,12 @@ func (x gen_NSMenu) IndexOfItemWithTitle( ) return core.NSInteger(ret) - } // InitWithTitle initializes and returns a menu having the specified title and with autoenabling of menu items turned on. // // See https://developer.apple.com/documentation/appkit/nsmenu/1518144-initwithtitle?language=objc for details. -func (x gen_NSMenu) InitWithTitle_asNSMenu( +func (x gen_NSMenu) InitWithTitle_AsNSMenu( title core.NSStringRef, ) NSMenu { ret := C.NSMenu_inst_InitWithTitle( @@ -14375,8 +13871,7 @@ func (x gen_NSMenu) InitWithTitle_asNSMenu( objc.RefPointer(title), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // InsertItemAtIndex inserts a menu item into the menu at a specific location. @@ -14393,7 +13888,6 @@ func (x gen_NSMenu) InsertItemAtIndex( ) return - } // InsertItemWithTitleActionKeyEquivalentAtIndex creates and adds a menu item at a specified location in the menu. @@ -14413,8 +13907,7 @@ func (x gen_NSMenu) InsertItemWithTitleActionKeyEquivalentAtIndex( C.long(index), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // ItemAtIndex returns the menu item at a specific location of the menu. @@ -14428,8 +13921,7 @@ func (x gen_NSMenu) ItemAtIndex( C.long(index), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // ItemChanged invoked when a menu item is modified visually (for example, its title changes). @@ -14444,7 +13936,6 @@ func (x gen_NSMenu) ItemChanged( ) return - } // ItemWithTag returns the first menu item in the menu with the specified tag. @@ -14458,8 +13949,7 @@ func (x gen_NSMenu) ItemWithTag( C.long(tag), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // ItemWithTitle returns the first menu item in the menu with a specified title. @@ -14473,8 +13963,7 @@ func (x gen_NSMenu) ItemWithTitle( objc.RefPointer(title), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // PerformActionForItemAtIndex causes the application to send the action message of a specified menu item to its target. @@ -14489,7 +13978,6 @@ func (x gen_NSMenu) PerformActionForItemAtIndex( ) return - } // PerformKeyEquivalent performs the action for the menu item that corresponds to the given key equivalent. @@ -14504,7 +13992,6 @@ func (x gen_NSMenu) PerformKeyEquivalent( ) return convertObjCBoolToGo(ret) - } // PopUpMenuPositioningItemAtLocationInView pops up the menu at the specified location. @@ -14523,7 +14010,6 @@ func (x gen_NSMenu) PopUpMenuPositioningItemAtLocationInView( ) return convertObjCBoolToGo(ret) - } // RemoveAllItems removes all the menu items in the menu. @@ -14535,7 +14021,6 @@ func (x gen_NSMenu) RemoveAllItems() { ) return - } // RemoveItem removes a menu item from the menu. @@ -14550,7 +14035,6 @@ func (x gen_NSMenu) RemoveItem( ) return - } // RemoveItemAtIndex removes the menu item at a specified location in the menu. @@ -14565,7 +14049,6 @@ func (x gen_NSMenu) RemoveItemAtIndex( ) return - } // SetSubmenuForItem assigns a menu to be a submenu of the menu controlled by a given menu item. @@ -14582,7 +14065,6 @@ func (x gen_NSMenu) SetSubmenuForItem( ) return - } // SubmenuAction returns the action method assigned to menu items that open submenus. @@ -14597,7 +14079,6 @@ func (x gen_NSMenu) SubmenuAction( ) return - } // Update enables or disables the menu items of the menu based on the nsmenuvalidation informal protocol and sizes the menu to fit its current menu items if necessary. @@ -14609,19 +14090,17 @@ func (x gen_NSMenu) Update() { ) return - } // Init // // See for details. -func (x gen_NSMenu) Init_asNSMenu() NSMenu { +func (x gen_NSMenu) Init_AsNSMenu() NSMenu { ret := C.NSMenu_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // MenuBarHeight returns the menu bar height for the main menu in pixels. @@ -14633,7 +14112,6 @@ func (x gen_NSMenu) MenuBarHeight() core.CGFloat { ) return core.CGFloat(ret) - } // NumberOfItems returns the number of menu items in the menu, including separator items. @@ -14645,7 +14123,6 @@ func (x gen_NSMenu) NumberOfItems() core.NSInteger { ) return core.NSInteger(ret) - } // ItemArray an array containing the menu items in the menu. @@ -14656,8 +14133,7 @@ func (x gen_NSMenu) ItemArray() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetItemArray an array containing the menu items in the menu. @@ -14672,7 +14148,6 @@ func (x gen_NSMenu) SetItemArray( ) return - } // Supermenu returns the parent menu that contains the menu as a submenu. @@ -14683,8 +14158,7 @@ func (x gen_NSMenu) Supermenu() NSMenu { unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // SetSupermenu returns the parent menu that contains the menu as a submenu. @@ -14699,7 +14173,6 @@ func (x gen_NSMenu) SetSupermenu( ) return - } // AutoenablesItems indicates whether the menu automatically enables and disables its menu items. @@ -14711,7 +14184,6 @@ func (x gen_NSMenu) AutoenablesItems() bool { ) return convertObjCBoolToGo(ret) - } // SetAutoenablesItems indicates whether the menu automatically enables and disables its menu items. @@ -14726,7 +14198,6 @@ func (x gen_NSMenu) SetAutoenablesItems( ) return - } // Font returns the font of the menu and its submenus. @@ -14737,8 +14208,7 @@ func (x gen_NSMenu) Font() NSFont { unsafe.Pointer(x.Pointer()), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // SetFont returns the font of the menu and its submenus. @@ -14753,7 +14223,6 @@ func (x gen_NSMenu) SetFont( ) return - } // Title returns the title of the menu. @@ -14764,8 +14233,7 @@ func (x gen_NSMenu) Title() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetTitle returns the title of the menu. @@ -14780,7 +14248,6 @@ func (x gen_NSMenu) SetTitle( ) return - } // MinimumWidth returns the minimum width of the menu in screen coordinates. @@ -14792,7 +14259,6 @@ func (x gen_NSMenu) MinimumWidth() core.CGFloat { ) return core.CGFloat(ret) - } // SetMinimumWidth returns the minimum width of the menu in screen coordinates. @@ -14807,7 +14273,6 @@ func (x gen_NSMenu) SetMinimumWidth( ) return - } // Size returns the size of the menu in screen coordinates @@ -14819,7 +14284,6 @@ func (x gen_NSMenu) Size() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // AllowsContextMenuPlugIns indicates whether the pop-up menu allows appending of contextual menu plug-in items. @@ -14831,7 +14295,6 @@ func (x gen_NSMenu) AllowsContextMenuPlugIns() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsContextMenuPlugIns indicates whether the pop-up menu allows appending of contextual menu plug-in items. @@ -14846,7 +14309,6 @@ func (x gen_NSMenu) SetAllowsContextMenuPlugIns( ) return - } // ShowsStateColumn indicates whether the menu displays the state column. @@ -14858,7 +14320,6 @@ func (x gen_NSMenu) ShowsStateColumn() bool { ) return convertObjCBoolToGo(ret) - } // SetShowsStateColumn indicates whether the menu displays the state column. @@ -14873,7 +14334,6 @@ func (x gen_NSMenu) SetShowsStateColumn( ) return - } // HighlightedItem indicates the currently highlighted item in the menu. @@ -14884,8 +14344,7 @@ func (x gen_NSMenu) HighlightedItem() NSMenuItem { unsafe.Pointer(x.Pointer()), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // Delegate returns the delegate of the menu. @@ -14896,8 +14355,7 @@ func (x gen_NSMenu) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the delegate of the menu. @@ -14912,26 +14370,25 @@ func (x gen_NSMenu) SetDelegate( ) return - } type NSPopoverRef interface { Pointer() uintptr - Init_asNSPopover() NSPopover + Init_AsNSPopover() NSPopover } type gen_NSPopover struct { objc.Object } -func NSPopover_fromPointer(ptr unsafe.Pointer) NSPopover { +func NSPopover_FromPointer(ptr unsafe.Pointer) NSPopover { return NSPopover{gen_NSPopover{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSPopover_fromRef(ref objc.Ref) NSPopover { - return NSPopover_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSPopover_FromRef(ref objc.Ref) NSPopover { + return NSPopover_FromPointer(unsafe.Pointer(ref.Pointer())) } // Close forces the popover to close without consulting its delegate. @@ -14943,19 +14400,17 @@ func (x gen_NSPopover) Close() { ) return - } // Init // // See https://developer.apple.com/documentation/appkit/nspopover/1526851-init?language=objc for details. -func (x gen_NSPopover) Init_asNSPopover() NSPopover { +func (x gen_NSPopover) Init_AsNSPopover() NSPopover { ret := C.NSPopover_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSPopover_fromPointer(ret) - + return NSPopover_FromPointer(ret) } // PerformClose attempts to close the popover. @@ -14970,7 +14425,6 @@ func (x gen_NSPopover) PerformClose( ) return - } // Behavior specifies the behavior of the popover. @@ -14982,7 +14436,6 @@ func (x gen_NSPopover) Behavior() core.NSInteger { ) return core.NSInteger(ret) - } // SetBehavior specifies the behavior of the popover. @@ -14997,7 +14450,6 @@ func (x gen_NSPopover) SetBehavior( ) return - } // PositioningRect returns the rectangle within the positioning view relative to which the popover should be positioned. @@ -15009,7 +14461,6 @@ func (x gen_NSPopover) PositioningRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // SetPositioningRect returns the rectangle within the positioning view relative to which the popover should be positioned. @@ -15024,7 +14475,6 @@ func (x gen_NSPopover) SetPositioningRect( ) return - } // Animates specifies if the popover is to be animated. @@ -15036,7 +14486,6 @@ func (x gen_NSPopover) Animates() bool { ) return convertObjCBoolToGo(ret) - } // SetAnimates specifies if the popover is to be animated. @@ -15051,7 +14500,6 @@ func (x gen_NSPopover) SetAnimates( ) return - } // ContentSize returns the content size of the popover. @@ -15063,7 +14511,6 @@ func (x gen_NSPopover) ContentSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetContentSize returns the content size of the popover. @@ -15078,7 +14525,6 @@ func (x gen_NSPopover) SetContentSize( ) return - } // IsShown returns the display state of the popover. @@ -15090,7 +14536,6 @@ func (x gen_NSPopover) IsShown() bool { ) return convertObjCBoolToGo(ret) - } // IsDetached returns a boolean value that indicates whether the window created by a popover's detachment is automatically created. @@ -15102,32 +14547,31 @@ func (x gen_NSPopover) IsDetached() bool { ) return convertObjCBoolToGo(ret) - } type NSMenuItemRef interface { Pointer() uintptr - Init_asNSMenuItem() NSMenuItem + Init_AsNSMenuItem() NSMenuItem } type gen_NSMenuItem struct { objc.Object } -func NSMenuItem_fromPointer(ptr unsafe.Pointer) NSMenuItem { +func NSMenuItem_FromPointer(ptr unsafe.Pointer) NSMenuItem { return NSMenuItem{gen_NSMenuItem{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem { - return NSMenuItem_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSMenuItem_FromRef(ref objc.Ref) NSMenuItem { + return NSMenuItem_FromPointer(unsafe.Pointer(ref.Pointer())) } // InitWithTitleActionKeyEquivalent returns an initialized instance of nsmenuitem. // // See https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc for details. -func (x gen_NSMenuItem) InitWithTitleActionKeyEquivalent_asNSMenuItem( +func (x gen_NSMenuItem) InitWithTitleActionKeyEquivalent_AsNSMenuItem( string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, @@ -15139,20 +14583,18 @@ func (x gen_NSMenuItem) InitWithTitleActionKeyEquivalent_asNSMenuItem( objc.RefPointer(charCode), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // Init // // See for details. -func (x gen_NSMenuItem) Init_asNSMenuItem() NSMenuItem { +func (x gen_NSMenuItem) Init_AsNSMenuItem() NSMenuItem { ret := C.NSMenuItem_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // IsEnabled returns a boolean value that indicates whether the menu item is enabled. @@ -15164,7 +14606,6 @@ func (x gen_NSMenuItem) IsEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetEnabled returns a boolean value that indicates whether the menu item is enabled. @@ -15179,7 +14620,6 @@ func (x gen_NSMenuItem) SetEnabled( ) return - } // IsHidden returns a boolean value that indicates whether the menu item is hidden. @@ -15191,7 +14631,6 @@ func (x gen_NSMenuItem) IsHidden() bool { ) return convertObjCBoolToGo(ret) - } // SetHidden returns a boolean value that indicates whether the menu item is hidden. @@ -15206,7 +14645,6 @@ func (x gen_NSMenuItem) SetHidden( ) return - } // IsHiddenOrHasHiddenAncestor returns a boolean value that indicates whether the menu item or any of its superitems is hidden. @@ -15218,7 +14656,6 @@ func (x gen_NSMenuItem) IsHiddenOrHasHiddenAncestor() bool { ) return convertObjCBoolToGo(ret) - } // Target returns the menu item's target. @@ -15229,8 +14666,7 @@ func (x gen_NSMenuItem) Target() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetTarget returns the menu item's target. @@ -15245,7 +14681,6 @@ func (x gen_NSMenuItem) SetTarget( ) return - } // Action returns the menu item's action-method selector. @@ -15257,7 +14692,6 @@ func (x gen_NSMenuItem) Action() objc.Selector { ) return objc.SelectorAt(ret) - } // SetAction returns the menu item's action-method selector. @@ -15272,7 +14706,6 @@ func (x gen_NSMenuItem) SetAction( ) return - } // Title returns the menu item's title. @@ -15283,8 +14716,7 @@ func (x gen_NSMenuItem) Title() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetTitle returns the menu item's title. @@ -15299,7 +14731,6 @@ func (x gen_NSMenuItem) SetTitle( ) return - } // AttributedTitle returns a custom string for a menu item. @@ -15310,8 +14741,7 @@ func (x gen_NSMenuItem) AttributedTitle() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // SetAttributedTitle returns a custom string for a menu item. @@ -15326,7 +14756,6 @@ func (x gen_NSMenuItem) SetAttributedTitle( ) return - } // Tag returns the menu item's tag. @@ -15338,7 +14767,6 @@ func (x gen_NSMenuItem) Tag() core.NSInteger { ) return core.NSInteger(ret) - } // SetTag returns the menu item's tag. @@ -15353,7 +14781,6 @@ func (x gen_NSMenuItem) SetTag( ) return - } // State returns the state of the menu item. @@ -15365,7 +14792,6 @@ func (x gen_NSMenuItem) State() core.NSInteger { ) return core.NSInteger(ret) - } // SetState returns the state of the menu item. @@ -15380,7 +14806,6 @@ func (x gen_NSMenuItem) SetState( ) return - } // Image returns the menu item’s image. @@ -15391,8 +14816,7 @@ func (x gen_NSMenuItem) Image() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetImage returns the menu item’s image. @@ -15407,7 +14831,6 @@ func (x gen_NSMenuItem) SetImage( ) return - } // OnStateImage returns the image of the menu item that indicates an “on” state. @@ -15418,8 +14841,7 @@ func (x gen_NSMenuItem) OnStateImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetOnStateImage returns the image of the menu item that indicates an “on” state. @@ -15434,7 +14856,6 @@ func (x gen_NSMenuItem) SetOnStateImage( ) return - } // OffStateImage returns the image of the menu item that indicates an “off” state. @@ -15445,8 +14866,7 @@ func (x gen_NSMenuItem) OffStateImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetOffStateImage returns the image of the menu item that indicates an “off” state. @@ -15461,7 +14881,6 @@ func (x gen_NSMenuItem) SetOffStateImage( ) return - } // MixedStateImage returns the image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” @@ -15472,8 +14891,7 @@ func (x gen_NSMenuItem) MixedStateImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetMixedStateImage returns the image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” @@ -15488,7 +14906,6 @@ func (x gen_NSMenuItem) SetMixedStateImage( ) return - } // Submenu returns the submenu of the menu item. @@ -15499,8 +14916,7 @@ func (x gen_NSMenuItem) Submenu() NSMenu { unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // SetSubmenu returns the submenu of the menu item. @@ -15515,7 +14931,6 @@ func (x gen_NSMenuItem) SetSubmenu( ) return - } // HasSubmenu returns a boolean value that indicates whether the menu item has a submenu. @@ -15527,7 +14942,6 @@ func (x gen_NSMenuItem) HasSubmenu() bool { ) return convertObjCBoolToGo(ret) - } // ParentItem returns the menu item whose submenu contains the receiver. @@ -15538,8 +14952,7 @@ func (x gen_NSMenuItem) ParentItem() NSMenuItem { unsafe.Pointer(x.Pointer()), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // IsSeparatorItem returns a menu item that is used to separate logical groups of menu commands. @@ -15551,7 +14964,6 @@ func (x gen_NSMenuItem) IsSeparatorItem() bool { ) return convertObjCBoolToGo(ret) - } // Menu returns the menu item’s menu. @@ -15562,8 +14974,7 @@ func (x gen_NSMenuItem) Menu() NSMenu { unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // SetMenu returns the menu item’s menu. @@ -15578,7 +14989,6 @@ func (x gen_NSMenuItem) SetMenu( ) return - } // KeyEquivalent returns the menu item’s unmodified key equivalent. @@ -15589,8 +14999,7 @@ func (x gen_NSMenuItem) KeyEquivalent() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetKeyEquivalent returns the menu item’s unmodified key equivalent. @@ -15605,7 +15014,6 @@ func (x gen_NSMenuItem) SetKeyEquivalent( ) return - } // UserKeyEquivalent returns the user-assigned key equivalent for the menu item. @@ -15616,8 +15024,7 @@ func (x gen_NSMenuItem) UserKeyEquivalent() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // IsAlternate returns a boolean value that marks the menu item as an alternate to the previous menu item. @@ -15629,7 +15036,6 @@ func (x gen_NSMenuItem) IsAlternate() bool { ) return convertObjCBoolToGo(ret) - } // SetAlternate returns a boolean value that marks the menu item as an alternate to the previous menu item. @@ -15644,7 +15050,6 @@ func (x gen_NSMenuItem) SetAlternate( ) return - } // IndentationLevel returns the menu item indentation level for the menu item. @@ -15656,7 +15061,6 @@ func (x gen_NSMenuItem) IndentationLevel() core.NSInteger { ) return core.NSInteger(ret) - } // SetIndentationLevel returns the menu item indentation level for the menu item. @@ -15671,7 +15075,6 @@ func (x gen_NSMenuItem) SetIndentationLevel( ) return - } // ToolTip returns a help tag for the menu item. @@ -15682,8 +15085,7 @@ func (x gen_NSMenuItem) ToolTip() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetToolTip returns a help tag for the menu item. @@ -15698,7 +15100,6 @@ func (x gen_NSMenuItem) SetToolTip( ) return - } // RepresentedObject returns the object represented by the menu item. @@ -15709,8 +15110,7 @@ func (x gen_NSMenuItem) RepresentedObject() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetRepresentedObject returns the object represented by the menu item. @@ -15725,7 +15125,6 @@ func (x gen_NSMenuItem) SetRepresentedObject( ) return - } // View returns the content view for the menu item. @@ -15736,8 +15135,7 @@ func (x gen_NSMenuItem) View() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // SetView returns the content view for the menu item. @@ -15752,7 +15150,6 @@ func (x gen_NSMenuItem) SetView( ) return - } // IsHighlighted returns a boolean value that indicates whether the menu item should be drawn highlighted. @@ -15764,7 +15161,6 @@ func (x gen_NSMenuItem) IsHighlighted() bool { ) return convertObjCBoolToGo(ret) - } // AllowsAutomaticKeyEquivalentLocalization @@ -15776,7 +15172,6 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsAutomaticKeyEquivalentLocalization @@ -15791,7 +15186,6 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization( ) return - } // AllowsAutomaticKeyEquivalentMirroring @@ -15803,7 +15197,6 @@ func (x gen_NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsAutomaticKeyEquivalentMirroring @@ -15818,7 +15211,6 @@ func (x gen_NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring( ) return - } // AllowsKeyEquivalentWhenHidden @@ -15830,7 +15222,6 @@ func (x gen_NSMenuItem) AllowsKeyEquivalentWhenHidden() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsKeyEquivalentWhenHidden @@ -15845,26 +15236,25 @@ func (x gen_NSMenuItem) SetAllowsKeyEquivalentWhenHidden( ) return - } type NSRunningApplicationRef interface { Pointer() uintptr - Init_asNSRunningApplication() NSRunningApplication + Init_AsNSRunningApplication() NSRunningApplication } type gen_NSRunningApplication struct { objc.Object } -func NSRunningApplication_fromPointer(ptr unsafe.Pointer) NSRunningApplication { +func NSRunningApplication_FromPointer(ptr unsafe.Pointer) NSRunningApplication { return NSRunningApplication{gen_NSRunningApplication{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSRunningApplication_fromRef(ref objc.Ref) NSRunningApplication { - return NSRunningApplication_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSRunningApplication_FromRef(ref objc.Ref) NSRunningApplication { + return NSRunningApplication_FromPointer(unsafe.Pointer(ref.Pointer())) } // ForceTerminate attempts to force the receiver to quit. @@ -15876,7 +15266,6 @@ func (x gen_NSRunningApplication) ForceTerminate() bool { ) return convertObjCBoolToGo(ret) - } // Hide attempts to hide or the application. @@ -15888,7 +15277,6 @@ func (x gen_NSRunningApplication) Hide() bool { ) return convertObjCBoolToGo(ret) - } // Terminate attempts to quit the receiver normally. @@ -15900,7 +15288,6 @@ func (x gen_NSRunningApplication) Terminate() bool { ) return convertObjCBoolToGo(ret) - } // Unhide attempts to unhide or the application. @@ -15912,19 +15299,17 @@ func (x gen_NSRunningApplication) Unhide() bool { ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSRunningApplication) Init_asNSRunningApplication() NSRunningApplication { +func (x gen_NSRunningApplication) Init_AsNSRunningApplication() NSRunningApplication { ret := C.NSRunningApplication_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSRunningApplication_fromPointer(ret) - + return NSRunningApplication_FromPointer(ret) } // IsActive indicates whether the application is currently frontmost. @@ -15936,7 +15321,6 @@ func (x gen_NSRunningApplication) IsActive() bool { ) return convertObjCBoolToGo(ret) - } // ActivationPolicy indicates the activation policy of the application. @@ -15948,7 +15332,6 @@ func (x gen_NSRunningApplication) ActivationPolicy() core.NSInteger { ) return core.NSInteger(ret) - } // IsHidden indicates whether the application is currently hidden. @@ -15960,7 +15343,6 @@ func (x gen_NSRunningApplication) IsHidden() bool { ) return convertObjCBoolToGo(ret) - } // LocalizedName indicates the localized name of the application. @@ -15971,8 +15353,7 @@ func (x gen_NSRunningApplication) LocalizedName() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // Icon returns the icon for the receiver’s application. @@ -15983,8 +15364,7 @@ func (x gen_NSRunningApplication) Icon() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // BundleIdentifier indicates the cfbundleidentifier of the application. @@ -15995,8 +15375,7 @@ func (x gen_NSRunningApplication) BundleIdentifier() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // BundleURL indicates the url to the application's bundle. @@ -16007,8 +15386,7 @@ func (x gen_NSRunningApplication) BundleURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // ExecutableArchitecture indicates the executing processor architecture for the application. @@ -16020,7 +15398,6 @@ func (x gen_NSRunningApplication) ExecutableArchitecture() core.NSInteger { ) return core.NSInteger(ret) - } // ExecutableURL indicates the url to the application's executable. @@ -16031,8 +15408,7 @@ func (x gen_NSRunningApplication) ExecutableURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // IsFinishedLaunching indicates whether the receiver’s process has finished launching, @@ -16044,7 +15420,6 @@ func (x gen_NSRunningApplication) IsFinishedLaunching() bool { ) return convertObjCBoolToGo(ret) - } // OwnsMenuBar returns whether the application owns the current menu bar. @@ -16056,7 +15431,6 @@ func (x gen_NSRunningApplication) OwnsMenuBar() bool { ) return convertObjCBoolToGo(ret) - } // IsTerminated indicates that the receiver’s application has terminated. @@ -16068,26 +15442,25 @@ func (x gen_NSRunningApplication) IsTerminated() bool { ) return convertObjCBoolToGo(ret) - } type NSScreenRef interface { Pointer() uintptr - Init_asNSScreen() NSScreen + Init_AsNSScreen() NSScreen } type gen_NSScreen struct { objc.Object } -func NSScreen_fromPointer(ptr unsafe.Pointer) NSScreen { +func NSScreen_FromPointer(ptr unsafe.Pointer) NSScreen { return NSScreen{gen_NSScreen{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSScreen_fromRef(ref objc.Ref) NSScreen { - return NSScreen_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSScreen_FromRef(ref objc.Ref) NSScreen { + return NSScreen_FromPointer(unsafe.Pointer(ref.Pointer())) } // ConvertRectFromBacking converts the rectangle from the device pixel aligned coordinates system of a screen. @@ -16102,7 +15475,6 @@ func (x gen_NSScreen) ConvertRectFromBacking( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToBacking converts the rectangle to the device pixel aligned coordinates system of a screen. @@ -16117,19 +15489,17 @@ func (x gen_NSScreen) ConvertRectToBacking( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // Init // // See for details. -func (x gen_NSScreen) Init_asNSScreen() NSScreen { +func (x gen_NSScreen) Init_AsNSScreen() NSScreen { ret := C.NSScreen_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSScreen_fromPointer(ret) - + return NSScreen_FromPointer(ret) } // Frame returns the dimensions and location of the screen. @@ -16141,7 +15511,6 @@ func (x gen_NSScreen) Frame() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // DeviceDescription returns the device dictionary for the screen. @@ -16152,8 +15521,7 @@ func (x gen_NSScreen) DeviceDescription() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // VisibleFrame returns the current location and dimensions of the visible screen. @@ -16165,7 +15533,6 @@ func (x gen_NSScreen) VisibleFrame() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // BackingScaleFactor returns the backing store pixel scale factor for the screen. @@ -16177,7 +15544,6 @@ func (x gen_NSScreen) BackingScaleFactor() core.CGFloat { ) return core.CGFloat(ret) - } // MaximumPotentialExtendedDynamicRangeColorComponentValue returns the maximum possible color component value for the screen when it's in extended dynamic range (edr) mode. @@ -16189,7 +15555,6 @@ func (x gen_NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() ) return core.CGFloat(ret) - } // MaximumExtendedDynamicRangeColorComponentValue returns the current maximum color component value for the screen. @@ -16201,7 +15566,6 @@ func (x gen_NSScreen) MaximumExtendedDynamicRangeColorComponentValue() core.CGFl ) return core.CGFloat(ret) - } // MaximumReferenceExtendedDynamicRangeColorComponentValue returns the current maximum color component value for reference rendering to the screen. @@ -16213,7 +15577,6 @@ func (x gen_NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() ) return core.CGFloat(ret) - } // LocalizedName @@ -16224,8 +15587,7 @@ func (x gen_NSScreen) LocalizedName() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // MaximumFramesPerSecond @@ -16237,26 +15599,25 @@ func (x gen_NSScreen) MaximumFramesPerSecond() core.NSInteger { ) return core.NSInteger(ret) - } type NSStatusBarRef interface { Pointer() uintptr - Init_asNSStatusBar() NSStatusBar + Init_AsNSStatusBar() NSStatusBar } type gen_NSStatusBar struct { objc.Object } -func NSStatusBar_fromPointer(ptr unsafe.Pointer) NSStatusBar { +func NSStatusBar_FromPointer(ptr unsafe.Pointer) NSStatusBar { return NSStatusBar{gen_NSStatusBar{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar { - return NSStatusBar_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSStatusBar_FromRef(ref objc.Ref) NSStatusBar { + return NSStatusBar_FromPointer(unsafe.Pointer(ref.Pointer())) } // RemoveStatusItem removes the specified status item from the receiver. @@ -16271,7 +15632,6 @@ func (x gen_NSStatusBar) RemoveStatusItem( ) return - } // StatusItemWithLength returns a newly created status item that has been allotted a specified space within the status bar. @@ -16285,20 +15645,18 @@ func (x gen_NSStatusBar) StatusItemWithLength( C.double(length), ) - return NSStatusItem_fromPointer(ret) - + return NSStatusItem_FromPointer(ret) } // Init // // See for details. -func (x gen_NSStatusBar) Init_asNSStatusBar() NSStatusBar { +func (x gen_NSStatusBar) Init_AsNSStatusBar() NSStatusBar { ret := C.NSStatusBar_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSStatusBar_fromPointer(ret) - + return NSStatusBar_FromPointer(ret) } // IsVertical returns a boolean value indicating whether the status bar has a vertical orientation. @@ -16310,7 +15668,6 @@ func (x gen_NSStatusBar) IsVertical() bool { ) return convertObjCBoolToGo(ret) - } // Thickness returns the thickness of the status bar, in pixels. @@ -16322,38 +15679,36 @@ func (x gen_NSStatusBar) Thickness() core.CGFloat { ) return core.CGFloat(ret) - } type NSStatusBarButtonRef interface { Pointer() uintptr - Init_asNSStatusBarButton() NSStatusBarButton + Init_AsNSStatusBarButton() NSStatusBarButton } type gen_NSStatusBarButton struct { NSButton } -func NSStatusBarButton_fromPointer(ptr unsafe.Pointer) NSStatusBarButton { +func NSStatusBarButton_FromPointer(ptr unsafe.Pointer) NSStatusBarButton { return NSStatusBarButton{gen_NSStatusBarButton{ - NSButton_fromPointer(ptr), + NSButton_FromPointer(ptr), }} } -func NSStatusBarButton_fromRef(ref objc.Ref) NSStatusBarButton { - return NSStatusBarButton_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSStatusBarButton_FromRef(ref objc.Ref) NSStatusBarButton { + return NSStatusBarButton_FromPointer(unsafe.Pointer(ref.Pointer())) } // Init // // See for details. -func (x gen_NSStatusBarButton) Init_asNSStatusBarButton() NSStatusBarButton { +func (x gen_NSStatusBarButton) Init_AsNSStatusBarButton() NSStatusBarButton { ret := C.NSStatusBarButton_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSStatusBarButton_fromPointer(ret) - + return NSStatusBarButton_FromPointer(ret) } // AppearsDisabled @@ -16365,7 +15720,6 @@ func (x gen_NSStatusBarButton) AppearsDisabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAppearsDisabled @@ -16380,38 +15734,36 @@ func (x gen_NSStatusBarButton) SetAppearsDisabled( ) return - } type NSStatusItemRef interface { Pointer() uintptr - Init_asNSStatusItem() NSStatusItem + Init_AsNSStatusItem() NSStatusItem } type gen_NSStatusItem struct { objc.Object } -func NSStatusItem_fromPointer(ptr unsafe.Pointer) NSStatusItem { +func NSStatusItem_FromPointer(ptr unsafe.Pointer) NSStatusItem { return NSStatusItem{gen_NSStatusItem{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSStatusItem_fromRef(ref objc.Ref) NSStatusItem { - return NSStatusItem_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSStatusItem_FromRef(ref objc.Ref) NSStatusItem { + return NSStatusItem_FromPointer(unsafe.Pointer(ref.Pointer())) } // Init // // See for details. -func (x gen_NSStatusItem) Init_asNSStatusItem() NSStatusItem { +func (x gen_NSStatusItem) Init_AsNSStatusItem() NSStatusItem { ret := C.NSStatusItem_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSStatusItem_fromPointer(ret) - + return NSStatusItem_FromPointer(ret) } // StatusBar returns the status bar that displays the status item. @@ -16422,8 +15774,7 @@ func (x gen_NSStatusItem) StatusBar() NSStatusBar { unsafe.Pointer(x.Pointer()), ) - return NSStatusBar_fromPointer(ret) - + return NSStatusBar_FromPointer(ret) } // Button returns the button displayed in the status bar. @@ -16434,8 +15785,7 @@ func (x gen_NSStatusItem) Button() NSStatusBarButton { unsafe.Pointer(x.Pointer()), ) - return NSStatusBarButton_fromPointer(ret) - + return NSStatusBarButton_FromPointer(ret) } // Menu returns the pull-down menu displayed when the user clicks the status item. @@ -16446,8 +15796,7 @@ func (x gen_NSStatusItem) Menu() NSMenu { unsafe.Pointer(x.Pointer()), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // SetMenu returns the pull-down menu displayed when the user clicks the status item. @@ -16462,7 +15811,6 @@ func (x gen_NSStatusItem) SetMenu( ) return - } // IsVisible returns a boolean value indicating if the menu bar currently displays the status item. @@ -16474,7 +15822,6 @@ func (x gen_NSStatusItem) IsVisible() bool { ) return convertObjCBoolToGo(ret) - } // SetVisible returns a boolean value indicating if the menu bar currently displays the status item. @@ -16489,7 +15836,6 @@ func (x gen_NSStatusItem) SetVisible( ) return - } // Length returns the amount of space in the status bar that should be allocated to the status item. @@ -16501,7 +15847,6 @@ func (x gen_NSStatusItem) Length() core.CGFloat { ) return core.CGFloat(ret) - } // SetLength returns the amount of space in the status bar that should be allocated to the status item. @@ -16516,26 +15861,25 @@ func (x gen_NSStatusItem) SetLength( ) return - } type NSTextRef interface { Pointer() uintptr - Init_asNSText() NSText + Init_AsNSText() NSText } type gen_NSText struct { NSView } -func NSText_fromPointer(ptr unsafe.Pointer) NSText { +func NSText_FromPointer(ptr unsafe.Pointer) NSText { return NSText{gen_NSText{ - NSView_fromPointer(ptr), + NSView_FromPointer(ptr), }} } -func NSText_fromRef(ref objc.Ref) NSText { - return NSText_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSText_FromRef(ref objc.Ref) NSText { + return NSText_FromPointer(unsafe.Pointer(ref.Pointer())) } // AlignCenter this action method applies center alignment to selected paragraphs (or all text if the receiver is a plain text object). @@ -16550,7 +15894,6 @@ func (x gen_NSText) AlignCenter( ) return - } // AlignLeft this action method applies left alignment to selected paragraphs (or all text if the receiver is a plain text object). @@ -16565,7 +15908,6 @@ func (x gen_NSText) AlignLeft( ) return - } // AlignRight this action method applies right alignment to selected paragraphs (or all text if the receiver is a plain text object). @@ -16580,7 +15922,6 @@ func (x gen_NSText) AlignRight( ) return - } // ChangeFont this action method changes the font of the selection for a rich text object, or of all text for a plain text object. @@ -16595,7 +15936,6 @@ func (x gen_NSText) ChangeFont( ) return - } // CheckSpelling this action method searches for a misspelled word in the receiver’s text. @@ -16610,7 +15950,6 @@ func (x gen_NSText) CheckSpelling( ) return - } // Copy this action method copies the selected text onto the general pasteboard, in as many formats as the receiver supports. @@ -16625,7 +15964,6 @@ func (x gen_NSText) Copy( ) return - } // CopyFont this action method copies the font information for the first character of the selection (or for the insertion point) onto the font pasteboard, as nsfontpboardtype. @@ -16640,7 +15978,6 @@ func (x gen_NSText) CopyFont( ) return - } // CopyRuler this action method copies the paragraph style information for first selected paragraph onto the ruler pasteboard, as nsrulerpboardtype, and expands the selection to paragraph boundaries. @@ -16655,7 +15992,6 @@ func (x gen_NSText) CopyRuler( ) return - } // Cut this action method deletes the selected text and places it onto the general pasteboard, in as many formats as the receiver supports. @@ -16670,7 +16006,6 @@ func (x gen_NSText) Cut( ) return - } // Delete this action method deletes the selected text. @@ -16685,13 +16020,12 @@ func (x gen_NSText) Delete( ) return - } // InitWithFrame // // See https://developer.apple.com/documentation/appkit/nstext/1525191-initwithframe?language=objc for details. -func (x gen_NSText) InitWithFrame_asNSText( +func (x gen_NSText) InitWithFrame_AsNSText( frameRect core.NSRect, ) NSText { ret := C.NSText_inst_InitWithFrame( @@ -16699,8 +16033,7 @@ func (x gen_NSText) InitWithFrame_asNSText( *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - return NSText_fromPointer(ret) - + return NSText_FromPointer(ret) } // Paste this action method pastes text from the general pasteboard at the insertion point or over the selection. @@ -16715,7 +16048,6 @@ func (x gen_NSText) Paste( ) return - } // PasteFont this action method pastes font information from the font pasteboard onto the selected text or insertion point of a rich text object, or over all text of a plain text object. @@ -16730,7 +16062,6 @@ func (x gen_NSText) PasteFont( ) return - } // PasteRuler this action method pastes paragraph style information from the ruler pasteboard onto the selected paragraphs of a rich text object. @@ -16745,7 +16076,6 @@ func (x gen_NSText) PasteRuler( ) return - } // ReadRTFDFromFile attempts to read the rtfd file at path, returning yes if successful and no if not. @@ -16760,7 +16090,6 @@ func (x gen_NSText) ReadRTFDFromFile( ) return convertObjCBoolToGo(ret) - } // SelectAll this action method selects all of the receiver’s text. @@ -16775,7 +16104,6 @@ func (x gen_NSText) SelectAll( ) return - } // ShowGuessPanel this action method opens the spelling panel, allowing the user to make a correction during spell checking. @@ -16790,7 +16118,6 @@ func (x gen_NSText) ShowGuessPanel( ) return - } // SizeToFit resizes the receiver to fit its text. @@ -16802,7 +16129,6 @@ func (x gen_NSText) SizeToFit() { ) return - } // Subscript this action method applies a subscript attribute to selected text (or all text if the receiver is a plain text object), lowering its baseline offset by a predefined amount. @@ -16817,7 +16143,6 @@ func (x gen_NSText) Subscript( ) return - } // Superscript this action method applies a superscript attribute to selected text (or all text if the receiver is a plain text object), raising its baseline offset by a predefined amount. @@ -16832,7 +16157,6 @@ func (x gen_NSText) Superscript( ) return - } // ToggleRuler this action method shows or hides the ruler, if the receiver is enclosed in a scroll view. @@ -16847,7 +16171,6 @@ func (x gen_NSText) ToggleRuler( ) return - } // Underline adds the underline attribute to the selected text attributes if absent; removes the attribute if present. @@ -16862,7 +16185,6 @@ func (x gen_NSText) Underline( ) return - } // Unscript this action method removes any superscripting or subscripting from selected text (or all text if the receiver is a plain text object). @@ -16877,7 +16199,6 @@ func (x gen_NSText) Unscript( ) return - } // WriteRTFDToFileAtomically writes the receiver’s text as rtf with attachments to a file or directory at path. @@ -16894,19 +16215,17 @@ func (x gen_NSText) WriteRTFDToFileAtomically( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSText) Init_asNSText() NSText { +func (x gen_NSText) Init_AsNSText() NSText { ret := C.NSText_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSText_fromPointer(ret) - + return NSText_FromPointer(ret) } // String returns the characters of the receiver’s text. @@ -16917,8 +16236,7 @@ func (x gen_NSText) String() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetString returns the characters of the receiver’s text. @@ -16933,7 +16251,6 @@ func (x gen_NSText) SetString( ) return - } // BackgroundColor returns the receiver’s background color to a given color. @@ -16944,8 +16261,7 @@ func (x gen_NSText) BackgroundColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBackgroundColor returns the receiver’s background color to a given color. @@ -16960,7 +16276,6 @@ func (x gen_NSText) SetBackgroundColor( ) return - } // DrawsBackground returns a boolean that controls whether the receiver draws its background. @@ -16972,7 +16287,6 @@ func (x gen_NSText) DrawsBackground() bool { ) return convertObjCBoolToGo(ret) - } // SetDrawsBackground returns a boolean that controls whether the receiver draws its background. @@ -16987,7 +16301,6 @@ func (x gen_NSText) SetDrawsBackground( ) return - } // IsEditable returns a boolean that controls whether the receiver allows the user to edit its text. @@ -16999,7 +16312,6 @@ func (x gen_NSText) IsEditable() bool { ) return convertObjCBoolToGo(ret) - } // SetEditable returns a boolean that controls whether the receiver allows the user to edit its text. @@ -17014,7 +16326,6 @@ func (x gen_NSText) SetEditable( ) return - } // IsSelectable returns a boolean that controls whether the receiver allows the user to select its text. @@ -17026,7 +16337,6 @@ func (x gen_NSText) IsSelectable() bool { ) return convertObjCBoolToGo(ret) - } // SetSelectable returns a boolean that controls whether the receiver allows the user to select its text. @@ -17041,7 +16351,6 @@ func (x gen_NSText) SetSelectable( ) return - } // IsFieldEditor returns a boolean that controls whether the receiver interprets tab, shift-tab, and return (enter) as cues to end editing and possibly to change the first responder. @@ -17053,7 +16362,6 @@ func (x gen_NSText) IsFieldEditor() bool { ) return convertObjCBoolToGo(ret) - } // SetFieldEditor returns a boolean that controls whether the receiver interprets tab, shift-tab, and return (enter) as cues to end editing and possibly to change the first responder. @@ -17068,7 +16376,6 @@ func (x gen_NSText) SetFieldEditor( ) return - } // IsRichText returns a boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. @@ -17080,7 +16387,6 @@ func (x gen_NSText) IsRichText() bool { ) return convertObjCBoolToGo(ret) - } // SetRichText returns a boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. @@ -17095,7 +16401,6 @@ func (x gen_NSText) SetRichText( ) return - } // ImportsGraphics returns a boolean that controls whether the receiver allows the user to import files by dragging. @@ -17107,7 +16412,6 @@ func (x gen_NSText) ImportsGraphics() bool { ) return convertObjCBoolToGo(ret) - } // SetImportsGraphics returns a boolean that controls whether the receiver allows the user to import files by dragging. @@ -17122,7 +16426,6 @@ func (x gen_NSText) SetImportsGraphics( ) return - } // UsesFontPanel returns a boolean that controls whether the receiver uses the font panel and font menu. @@ -17134,7 +16437,6 @@ func (x gen_NSText) UsesFontPanel() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesFontPanel returns a boolean that controls whether the receiver uses the font panel and font menu. @@ -17149,7 +16451,6 @@ func (x gen_NSText) SetUsesFontPanel( ) return - } // IsRulerVisible returns a boolean value that indicates whether the receiver’s enclosing scroll view shows its ruler. @@ -17161,7 +16462,6 @@ func (x gen_NSText) IsRulerVisible() bool { ) return convertObjCBoolToGo(ret) - } // Font returns the font of all the receiver’s text. @@ -17172,8 +16472,7 @@ func (x gen_NSText) Font() NSFont { unsafe.Pointer(x.Pointer()), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // SetFont returns the font of all the receiver’s text. @@ -17188,7 +16487,6 @@ func (x gen_NSText) SetFont( ) return - } // TextColor returns the text color of all characters in the receiver. @@ -17199,8 +16497,7 @@ func (x gen_NSText) TextColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetTextColor returns the text color of all characters in the receiver. @@ -17215,7 +16512,6 @@ func (x gen_NSText) SetTextColor( ) return - } // MaxSize returns the receiver’s maximum size. @@ -17227,7 +16523,6 @@ func (x gen_NSText) MaxSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetMaxSize returns the receiver’s maximum size. @@ -17242,7 +16537,6 @@ func (x gen_NSText) SetMaxSize( ) return - } // MinSize returns the receiver’s minimum size. @@ -17254,7 +16548,6 @@ func (x gen_NSText) MinSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetMinSize returns the receiver’s minimum size. @@ -17269,7 +16562,6 @@ func (x gen_NSText) SetMinSize( ) return - } // IsVerticallyResizable returns a boolean that controls whether the receiver changes its height to fit the height of its text. @@ -17281,7 +16573,6 @@ func (x gen_NSText) IsVerticallyResizable() bool { ) return convertObjCBoolToGo(ret) - } // SetVerticallyResizable returns a boolean that controls whether the receiver changes its height to fit the height of its text. @@ -17296,7 +16587,6 @@ func (x gen_NSText) SetVerticallyResizable( ) return - } // IsHorizontallyResizable returns a boolean that controls whether the receiver changes its width to fit the width of its text. @@ -17308,7 +16598,6 @@ func (x gen_NSText) IsHorizontallyResizable() bool { ) return convertObjCBoolToGo(ret) - } // SetHorizontallyResizable returns a boolean that controls whether the receiver changes its width to fit the width of its text. @@ -17323,7 +16612,6 @@ func (x gen_NSText) SetHorizontallyResizable( ) return - } // Delegate returns the receiver’s delegate. @@ -17334,8 +16622,7 @@ func (x gen_NSText) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the receiver’s delegate. @@ -17350,26 +16637,25 @@ func (x gen_NSText) SetDelegate( ) return - } type NSTextFieldRef interface { Pointer() uintptr - Init_asNSTextField() NSTextField + Init_AsNSTextField() NSTextField } type gen_NSTextField struct { NSControl } -func NSTextField_fromPointer(ptr unsafe.Pointer) NSTextField { +func NSTextField_FromPointer(ptr unsafe.Pointer) NSTextField { return NSTextField{gen_NSTextField{ - NSControl_fromPointer(ptr), + NSControl_FromPointer(ptr), }} } -func NSTextField_fromRef(ref objc.Ref) NSTextField { - return NSTextField_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSTextField_FromRef(ref objc.Ref) NSTextField { + return NSTextField_FromPointer(unsafe.Pointer(ref.Pointer())) } // SelectText ends editing in the text field and, if it’s selectable, selects the entire text content. @@ -17384,7 +16670,6 @@ func (x gen_NSTextField) SelectText( ) return - } // TextShouldBeginEditing requests permission to begin editing a text object. @@ -17399,7 +16684,6 @@ func (x gen_NSTextField) TextShouldBeginEditing( ) return convertObjCBoolToGo(ret) - } // TextShouldEndEditing performs validation on the text field’s new value. @@ -17414,19 +16698,17 @@ func (x gen_NSTextField) TextShouldEndEditing( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSTextField) Init_asNSTextField() NSTextField { +func (x gen_NSTextField) Init_AsNSTextField() NSTextField { ret := C.NSTextField_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSTextField_fromPointer(ret) - + return NSTextField_FromPointer(ret) } // IsSelectable returns a boolean value that determines whether the user can select the content of the text field. @@ -17438,7 +16720,6 @@ func (x gen_NSTextField) IsSelectable() bool { ) return convertObjCBoolToGo(ret) - } // SetSelectable returns a boolean value that determines whether the user can select the content of the text field. @@ -17453,7 +16734,6 @@ func (x gen_NSTextField) SetSelectable( ) return - } // IsEditable returns a boolean value that controls whether the user can edit the value in the text field. @@ -17465,7 +16745,6 @@ func (x gen_NSTextField) IsEditable() bool { ) return convertObjCBoolToGo(ret) - } // SetEditable returns a boolean value that controls whether the user can edit the value in the text field. @@ -17480,7 +16759,6 @@ func (x gen_NSTextField) SetEditable( ) return - } // AllowsEditingTextAttributes returns a boolean value that controls whether the user can change font attributes of the text field’s string. @@ -17492,7 +16770,6 @@ func (x gen_NSTextField) AllowsEditingTextAttributes() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsEditingTextAttributes returns a boolean value that controls whether the user can change font attributes of the text field’s string. @@ -17507,7 +16784,6 @@ func (x gen_NSTextField) SetAllowsEditingTextAttributes( ) return - } // ImportsGraphics returns a boolean value that controls whether the user can drag image files into the text field. @@ -17519,7 +16795,6 @@ func (x gen_NSTextField) ImportsGraphics() bool { ) return convertObjCBoolToGo(ret) - } // SetImportsGraphics returns a boolean value that controls whether the user can drag image files into the text field. @@ -17534,7 +16809,6 @@ func (x gen_NSTextField) SetImportsGraphics( ) return - } // PlaceholderString returns the string the text field displays when empty to help the user understand the text field’s purpose. @@ -17545,8 +16819,7 @@ func (x gen_NSTextField) PlaceholderString() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetPlaceholderString returns the string the text field displays when empty to help the user understand the text field’s purpose. @@ -17561,7 +16834,6 @@ func (x gen_NSTextField) SetPlaceholderString( ) return - } // PlaceholderAttributedString returns the attributed string the text field displays when empty to help the user understand the text field’s purpose. @@ -17572,8 +16844,7 @@ func (x gen_NSTextField) PlaceholderAttributedString() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // SetPlaceholderAttributedString returns the attributed string the text field displays when empty to help the user understand the text field’s purpose. @@ -17588,7 +16859,6 @@ func (x gen_NSTextField) SetPlaceholderAttributedString( ) return - } // AllowsDefaultTighteningForTruncation returns a boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. @@ -17600,7 +16870,6 @@ func (x gen_NSTextField) AllowsDefaultTighteningForTruncation() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsDefaultTighteningForTruncation returns a boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. @@ -17615,7 +16884,6 @@ func (x gen_NSTextField) SetAllowsDefaultTighteningForTruncation( ) return - } // MaximumNumberOfLines returns the maximum number of lines a wrapping text field displays before clipping or truncating the text. @@ -17627,7 +16895,6 @@ func (x gen_NSTextField) MaximumNumberOfLines() core.NSInteger { ) return core.NSInteger(ret) - } // SetMaximumNumberOfLines returns the maximum number of lines a wrapping text field displays before clipping or truncating the text. @@ -17642,7 +16909,6 @@ func (x gen_NSTextField) SetMaximumNumberOfLines( ) return - } // PreferredMaxLayoutWidth returns the maximum width of the text field’s intrinsic content size. @@ -17654,7 +16920,6 @@ func (x gen_NSTextField) PreferredMaxLayoutWidth() core.CGFloat { ) return core.CGFloat(ret) - } // SetPreferredMaxLayoutWidth returns the maximum width of the text field’s intrinsic content size. @@ -17669,7 +16934,6 @@ func (x gen_NSTextField) SetPreferredMaxLayoutWidth( ) return - } // TextColor returns the color of the text field’s content. @@ -17680,8 +16944,7 @@ func (x gen_NSTextField) TextColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetTextColor returns the color of the text field’s content. @@ -17696,7 +16959,6 @@ func (x gen_NSTextField) SetTextColor( ) return - } // BackgroundColor returns the color of the background the text field’s cell draws behind the text. @@ -17707,8 +16969,7 @@ func (x gen_NSTextField) BackgroundColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBackgroundColor returns the color of the background the text field’s cell draws behind the text. @@ -17723,7 +16984,6 @@ func (x gen_NSTextField) SetBackgroundColor( ) return - } // DrawsBackground returns a boolean value that controls whether the text field’s cell draws a background color behind the text. @@ -17735,7 +16995,6 @@ func (x gen_NSTextField) DrawsBackground() bool { ) return convertObjCBoolToGo(ret) - } // SetDrawsBackground returns a boolean value that controls whether the text field’s cell draws a background color behind the text. @@ -17750,7 +17009,6 @@ func (x gen_NSTextField) SetDrawsBackground( ) return - } // IsBezeled returns a boolean value that controls whether the text field draws a bezeled background around its contents. @@ -17762,7 +17020,6 @@ func (x gen_NSTextField) IsBezeled() bool { ) return convertObjCBoolToGo(ret) - } // SetBezeled returns a boolean value that controls whether the text field draws a bezeled background around its contents. @@ -17777,7 +17034,6 @@ func (x gen_NSTextField) SetBezeled( ) return - } // IsBordered returns a boolean value that controls whether the text field draws a solid black border around its contents. @@ -17789,7 +17045,6 @@ func (x gen_NSTextField) IsBordered() bool { ) return convertObjCBoolToGo(ret) - } // SetBordered returns a boolean value that controls whether the text field draws a solid black border around its contents. @@ -17804,7 +17059,6 @@ func (x gen_NSTextField) SetBordered( ) return - } // AcceptsFirstResponder returns a boolean value that indicates whether the text field is editable and accepts first responder status. @@ -17816,7 +17070,6 @@ func (x gen_NSTextField) AcceptsFirstResponder() bool { ) return convertObjCBoolToGo(ret) - } // AllowsCharacterPickerTouchBarItem returns a boolean value that controls whether the touch bar displays the character picker item for rich text fields. @@ -17828,7 +17081,6 @@ func (x gen_NSTextField) AllowsCharacterPickerTouchBarItem() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsCharacterPickerTouchBarItem returns a boolean value that controls whether the touch bar displays the character picker item for rich text fields. @@ -17843,7 +17095,6 @@ func (x gen_NSTextField) SetAllowsCharacterPickerTouchBarItem( ) return - } // IsAutomaticTextCompletionEnabled returns a boolean value that indicates whether the text field automatically completes text as the user types. @@ -17855,7 +17106,6 @@ func (x gen_NSTextField) IsAutomaticTextCompletionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticTextCompletionEnabled returns a boolean value that indicates whether the text field automatically completes text as the user types. @@ -17870,7 +17120,6 @@ func (x gen_NSTextField) SetAutomaticTextCompletionEnabled( ) return - } // Delegate returns the text field’s delegate. @@ -17881,8 +17130,7 @@ func (x gen_NSTextField) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the text field’s delegate. @@ -17897,32 +17145,31 @@ func (x gen_NSTextField) SetDelegate( ) return - } type NSTextContainerRef interface { Pointer() uintptr - Init_asNSTextContainer() NSTextContainer + Init_AsNSTextContainer() NSTextContainer } type gen_NSTextContainer struct { objc.Object } -func NSTextContainer_fromPointer(ptr unsafe.Pointer) NSTextContainer { +func NSTextContainer_FromPointer(ptr unsafe.Pointer) NSTextContainer { return NSTextContainer{gen_NSTextContainer{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSTextContainer_fromRef(ref objc.Ref) NSTextContainer { - return NSTextContainer_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSTextContainer_FromRef(ref objc.Ref) NSTextContainer { + return NSTextContainer_FromPointer(unsafe.Pointer(ref.Pointer())) } // InitWithSize initializes a text container with a specified bounding rectangle. // // See https://developer.apple.com/documentation/uikit/nstextcontainer/1444529-initwithsize?language=objc for details. -func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( +func (x gen_NSTextContainer) InitWithSize_AsNSTextContainer( size core.NSSize, ) NSTextContainer { ret := C.NSTextContainer_inst_InitWithSize( @@ -17930,8 +17177,7 @@ func (x gen_NSTextContainer) InitWithSize_asNSTextContainer( *(*C.NSSize)(unsafe.Pointer(&size)), ) - return NSTextContainer_fromPointer(ret) - + return NSTextContainer_FromPointer(ret) } // ReplaceLayoutManager replaces the layout manager for the group of text system objects that contains the text container. @@ -17946,19 +17192,17 @@ func (x gen_NSTextContainer) ReplaceLayoutManager( ) return - } // Init // // See for details. -func (x gen_NSTextContainer) Init_asNSTextContainer() NSTextContainer { +func (x gen_NSTextContainer) Init_AsNSTextContainer() NSTextContainer { ret := C.NSTextContainer_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSTextContainer_fromPointer(ret) - + return NSTextContainer_FromPointer(ret) } // LayoutManager returns the text container’s layout manager. @@ -17969,8 +17213,7 @@ func (x gen_NSTextContainer) LayoutManager() NSLayoutManager { unsafe.Pointer(x.Pointer()), ) - return NSLayoutManager_fromPointer(ret) - + return NSLayoutManager_FromPointer(ret) } // SetLayoutManager returns the text container’s layout manager. @@ -17985,7 +17228,6 @@ func (x gen_NSTextContainer) SetLayoutManager( ) return - } // TextView returns the text container’s text view. @@ -17996,8 +17238,7 @@ func (x gen_NSTextContainer) TextView() NSTextView { unsafe.Pointer(x.Pointer()), ) - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // SetTextView returns the text container’s text view. @@ -18012,7 +17253,6 @@ func (x gen_NSTextContainer) SetTextView( ) return - } // Size returns the size of the text container’s bounding rectangle. @@ -18024,7 +17264,6 @@ func (x gen_NSTextContainer) Size() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetSize returns the size of the text container’s bounding rectangle. @@ -18039,7 +17278,6 @@ func (x gen_NSTextContainer) SetSize( ) return - } // ExclusionPaths an array of path objects that represents the regions where text doesn’t display in the text container. @@ -18050,8 +17288,7 @@ func (x gen_NSTextContainer) ExclusionPaths() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetExclusionPaths an array of path objects that represents the regions where text doesn’t display in the text container. @@ -18066,7 +17303,6 @@ func (x gen_NSTextContainer) SetExclusionPaths( ) return - } // WidthTracksTextView returns a boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. @@ -18078,7 +17314,6 @@ func (x gen_NSTextContainer) WidthTracksTextView() bool { ) return convertObjCBoolToGo(ret) - } // SetWidthTracksTextView returns a boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. @@ -18093,7 +17328,6 @@ func (x gen_NSTextContainer) SetWidthTracksTextView( ) return - } // HeightTracksTextView returns a boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. @@ -18105,7 +17339,6 @@ func (x gen_NSTextContainer) HeightTracksTextView() bool { ) return convertObjCBoolToGo(ret) - } // SetHeightTracksTextView returns a boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. @@ -18120,7 +17353,6 @@ func (x gen_NSTextContainer) SetHeightTracksTextView( ) return - } // MaximumNumberOfLines returns the maximum number of lines that the text container can store. @@ -18132,7 +17364,6 @@ func (x gen_NSTextContainer) MaximumNumberOfLines() core.NSUInteger { ) return core.NSUInteger(ret) - } // SetMaximumNumberOfLines returns the maximum number of lines that the text container can store. @@ -18147,7 +17378,6 @@ func (x gen_NSTextContainer) SetMaximumNumberOfLines( ) return - } // LineFragmentPadding returns the value for the text inset within line fragment rectangles. @@ -18159,7 +17389,6 @@ func (x gen_NSTextContainer) LineFragmentPadding() core.CGFloat { ) return core.CGFloat(ret) - } // SetLineFragmentPadding returns the value for the text inset within line fragment rectangles. @@ -18174,7 +17403,6 @@ func (x gen_NSTextContainer) SetLineFragmentPadding( ) return - } // IsSimpleRectangularTextContainer returns a boolean that indicates whether the text container’s region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes. @@ -18186,26 +17414,25 @@ func (x gen_NSTextContainer) IsSimpleRectangularTextContainer() bool { ) return convertObjCBoolToGo(ret) - } type NSViewControllerRef interface { Pointer() uintptr - Init_asNSViewController() NSViewController + Init_AsNSViewController() NSViewController } type gen_NSViewController struct { objc.Object } -func NSViewController_fromPointer(ptr unsafe.Pointer) NSViewController { +func NSViewController_FromPointer(ptr unsafe.Pointer) NSViewController { return NSViewController{gen_NSViewController{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSViewController_fromRef(ref objc.Ref) NSViewController { - return NSViewController_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSViewController_FromRef(ref objc.Ref) NSViewController { + return NSViewController_FromPointer(unsafe.Pointer(ref.Pointer())) } // AddChildViewController returns a convenience method for adding a child view controller at the end of the childviewcontrollers array. @@ -18220,7 +17447,6 @@ func (x gen_NSViewController) AddChildViewController( ) return - } // CommitEditing returns whether the receiver was able to commit any pending edits. @@ -18232,7 +17458,6 @@ func (x gen_NSViewController) CommitEditing() bool { ) return convertObjCBoolToGo(ret) - } // CommitEditingWithDelegateDidCommitSelectorContextInfo attempt to commit any currently edited results of the receiver. @@ -18251,7 +17476,6 @@ func (x gen_NSViewController) CommitEditingWithDelegateDidCommitSelectorContextI ) return - } // DiscardEditing causes the receiver to discard any changes, restoring the previous values. @@ -18263,7 +17487,6 @@ func (x gen_NSViewController) DiscardEditing() { ) return - } // DismissController @@ -18278,7 +17501,6 @@ func (x gen_NSViewController) DismissController( ) return - } // DismissViewController dismisses a presented view controller, using the same animator that presented it. @@ -18293,7 +17515,6 @@ func (x gen_NSViewController) DismissViewController( ) return - } // InsertChildViewControllerAtIndex inserts a specified child view controller into the childviewcontrollers array at a specified position. @@ -18310,7 +17531,6 @@ func (x gen_NSViewController) InsertChildViewControllerAtIndex( ) return - } // LoadView instantiates a view from a nib file and sets the value of the view property. @@ -18322,7 +17542,6 @@ func (x gen_NSViewController) LoadView() { ) return - } // PreferredContentSizeDidChangeForViewController called when there is a change in value of the preferredcontentsize property of a child view controller or a presented view controller. @@ -18337,7 +17556,6 @@ func (x gen_NSViewController) PreferredContentSizeDidChangeForViewController( ) return - } // PresentViewControllerAnimator presents another view controller using a specified, custom animator for presentation and dismissal. @@ -18354,7 +17572,6 @@ func (x gen_NSViewController) PresentViewControllerAnimator( ) return - } // PresentViewControllerAsModalWindow presents another view controller as a modal window, also known as an alert. @@ -18369,7 +17586,6 @@ func (x gen_NSViewController) PresentViewControllerAsModalWindow( ) return - } // PresentViewControllerAsSheet presents another view controller as a sheet. @@ -18384,7 +17600,6 @@ func (x gen_NSViewController) PresentViewControllerAsSheet( ) return - } // RemoveChildViewControllerAtIndex removes a specified child controller from the view controller. @@ -18399,7 +17614,6 @@ func (x gen_NSViewController) RemoveChildViewControllerAtIndex( ) return - } // RemoveFromParentViewController removes the called view controller from its parent view controller. @@ -18411,7 +17625,6 @@ func (x gen_NSViewController) RemoveFromParentViewController() { ) return - } // UpdateViewConstraints called during auto layout constraint updating to enable the view controller to mediate the process. @@ -18423,7 +17636,6 @@ func (x gen_NSViewController) UpdateViewConstraints() { ) return - } // ViewDidAppear called when the view controller’s view is fully transitioned onto the screen. @@ -18435,7 +17647,6 @@ func (x gen_NSViewController) ViewDidAppear() { ) return - } // ViewDidDisappear called after the view controller’s view is removed from the view hierarchy in a window. @@ -18447,7 +17658,6 @@ func (x gen_NSViewController) ViewDidDisappear() { ) return - } // ViewDidLayout called immediately after the layout method of the view controller's view is called. @@ -18459,7 +17669,6 @@ func (x gen_NSViewController) ViewDidLayout() { ) return - } // ViewDidLoad called after the view controller’s view has been loaded into memory. @@ -18471,7 +17680,6 @@ func (x gen_NSViewController) ViewDidLoad() { ) return - } // ViewWillAppear called after the view controller’s view has been loaded into memory is about to be added to the view hierarchy in the window. @@ -18483,7 +17691,6 @@ func (x gen_NSViewController) ViewWillAppear() { ) return - } // ViewWillDisappear called when the view controller’s view is about to be removed from the view hierarchy in the window. @@ -18495,7 +17702,6 @@ func (x gen_NSViewController) ViewWillDisappear() { ) return - } // ViewWillLayout called just before the layout method of the view controller's view is called. @@ -18507,7 +17713,6 @@ func (x gen_NSViewController) ViewWillLayout() { ) return - } // ViewWillTransitionToSize for a view controller that is part of an app extension, called when its view is about to be resized. @@ -18522,19 +17727,17 @@ func (x gen_NSViewController) ViewWillTransitionToSize( ) return - } // Init // // See for details. -func (x gen_NSViewController) Init_asNSViewController() NSViewController { +func (x gen_NSViewController) Init_AsNSViewController() NSViewController { ret := C.NSViewController_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSViewController_fromPointer(ret) - + return NSViewController_FromPointer(ret) } // RepresentedObject returns the object whose value is presented in the receiver’s primary view. @@ -18545,8 +17748,7 @@ func (x gen_NSViewController) RepresentedObject() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetRepresentedObject returns the object whose value is presented in the receiver’s primary view. @@ -18561,7 +17763,6 @@ func (x gen_NSViewController) SetRepresentedObject( ) return - } // NibBundle returns the nib bundle to be loaded to instantiate the receiver’s primary view. @@ -18572,8 +17773,7 @@ func (x gen_NSViewController) NibBundle() NSBundle { unsafe.Pointer(x.Pointer()), ) - return NSBundle_fromPointer(ret) - + return NSBundle_FromPointer(ret) } // View returns the view controller’s primary view. @@ -18584,8 +17784,7 @@ func (x gen_NSViewController) View() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // SetView returns the view controller’s primary view. @@ -18600,7 +17799,6 @@ func (x gen_NSViewController) SetView( ) return - } // Title returns the localized title of the receiver’s primary view. @@ -18611,8 +17809,7 @@ func (x gen_NSViewController) Title() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetTitle returns the localized title of the receiver’s primary view. @@ -18627,7 +17824,6 @@ func (x gen_NSViewController) SetTitle( ) return - } // IsViewLoaded returns a boolean value indicating whether the view controller’s view is loaded into memory. @@ -18639,7 +17835,6 @@ func (x gen_NSViewController) IsViewLoaded() bool { ) return convertObjCBoolToGo(ret) - } // PreferredContentSize returns the desired size of the view controller’s view, in screen units. @@ -18651,7 +17846,6 @@ func (x gen_NSViewController) PreferredContentSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetPreferredContentSize returns the desired size of the view controller’s view, in screen units. @@ -18666,7 +17860,6 @@ func (x gen_NSViewController) SetPreferredContentSize( ) return - } // ChildViewControllers an array of view controllers that are hierarchical children of the view controller. @@ -18677,8 +17870,7 @@ func (x gen_NSViewController) ChildViewControllers() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetChildViewControllers an array of view controllers that are hierarchical children of the view controller. @@ -18693,7 +17885,6 @@ func (x gen_NSViewController) SetChildViewControllers( ) return - } // ParentViewController returns the immediate ancestor view controller of the view controller. @@ -18704,8 +17895,7 @@ func (x gen_NSViewController) ParentViewController() NSViewController { unsafe.Pointer(x.Pointer()), ) - return NSViewController_fromPointer(ret) - + return NSViewController_FromPointer(ret) } // PresentedViewControllers returns the view controllers, if any, that are currently presented by the view controller. @@ -18716,8 +17906,7 @@ func (x gen_NSViewController) PresentedViewControllers() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // PresentingViewController returns the view controller that presented the view controller or that presented its farthest ancestor view controller. @@ -18728,8 +17917,7 @@ func (x gen_NSViewController) PresentingViewController() NSViewController { unsafe.Pointer(x.Pointer()), ) - return NSViewController_fromPointer(ret) - + return NSViewController_FromPointer(ret) } // PreferredScreenOrigin for a view controller that is part of an app extension, the preferred screen origin. @@ -18741,7 +17929,6 @@ func (x gen_NSViewController) PreferredScreenOrigin() core.NSPoint { ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // SetPreferredScreenOrigin for a view controller that is part of an app extension, the preferred screen origin. @@ -18756,7 +17943,6 @@ func (x gen_NSViewController) SetPreferredScreenOrigin( ) return - } // PreferredMaximumSize for a view controller that is part of an app extension, the largest allowable size for the app extension’s primary view, in screen units. @@ -18768,7 +17954,6 @@ func (x gen_NSViewController) PreferredMaximumSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // PreferredMinimumSize for a view controller that is part of an app extension, the smallest allowable size for the app extension’s primary view, in screen units. @@ -18780,7 +17965,6 @@ func (x gen_NSViewController) PreferredMinimumSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SourceItemView @@ -18791,8 +17975,7 @@ func (x gen_NSViewController) SourceItemView() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // SetSourceItemView @@ -18807,26 +17990,25 @@ func (x gen_NSViewController) SetSourceItemView( ) return - } type NSVisualEffectViewRef interface { Pointer() uintptr - Init_asNSVisualEffectView() NSVisualEffectView + Init_AsNSVisualEffectView() NSVisualEffectView } type gen_NSVisualEffectView struct { NSView } -func NSVisualEffectView_fromPointer(ptr unsafe.Pointer) NSVisualEffectView { +func NSVisualEffectView_FromPointer(ptr unsafe.Pointer) NSVisualEffectView { return NSVisualEffectView{gen_NSVisualEffectView{ - NSView_fromPointer(ptr), + NSView_FromPointer(ptr), }} } -func NSVisualEffectView_fromRef(ref objc.Ref) NSVisualEffectView { - return NSVisualEffectView_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSVisualEffectView_FromRef(ref objc.Ref) NSVisualEffectView { + return NSVisualEffectView_FromPointer(unsafe.Pointer(ref.Pointer())) } // ViewDidMoveToWindow notifies the view that it moved to a new window. @@ -18838,7 +18020,6 @@ func (x gen_NSVisualEffectView) ViewDidMoveToWindow() { ) return - } // ViewWillMoveToWindow notifies the view immediately before it moves to a new window (which may be nil). @@ -18853,19 +18034,17 @@ func (x gen_NSVisualEffectView) ViewWillMoveToWindow( ) return - } // Init // // See for details. -func (x gen_NSVisualEffectView) Init_asNSVisualEffectView() NSVisualEffectView { +func (x gen_NSVisualEffectView) Init_AsNSVisualEffectView() NSVisualEffectView { ret := C.NSVisualEffectView_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSVisualEffectView_fromPointer(ret) - + return NSVisualEffectView_FromPointer(ret) } // IsEmphasized returns a boolean value indicating whether to emphasize the look of the material. @@ -18877,7 +18056,6 @@ func (x gen_NSVisualEffectView) IsEmphasized() bool { ) return convertObjCBoolToGo(ret) - } // SetEmphasized returns a boolean value indicating whether to emphasize the look of the material. @@ -18892,7 +18070,6 @@ func (x gen_NSVisualEffectView) SetEmphasized( ) return - } // MaskImage an image whose alpha channel masks the visual effect view's material. @@ -18903,8 +18080,7 @@ func (x gen_NSVisualEffectView) MaskImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetMaskImage an image whose alpha channel masks the visual effect view's material. @@ -18919,26 +18095,25 @@ func (x gen_NSVisualEffectView) SetMaskImage( ) return - } type NSWindowRef interface { Pointer() uintptr - Init_asNSWindow() NSWindow + Init_AsNSWindow() NSWindow } type gen_NSWindow struct { objc.Object } -func NSWindow_fromPointer(ptr unsafe.Pointer) NSWindow { +func NSWindow_FromPointer(ptr unsafe.Pointer) NSWindow { return NSWindow{gen_NSWindow{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSWindow_fromRef(ref objc.Ref) NSWindow { - return NSWindow_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSWindow_FromRef(ref objc.Ref) NSWindow { + return NSWindow_FromPointer(unsafe.Pointer(ref.Pointer())) } // AddChildWindowOrdered adds a given window as a child window of the window. @@ -18955,7 +18130,6 @@ func (x gen_NSWindow) AddChildWindowOrdered( ) return - } // AddTabbedWindowOrdered adds the provided window as a new tab in a tabbed window using the specified ordering instruction. @@ -18972,7 +18146,6 @@ func (x gen_NSWindow) AddTabbedWindowOrdered( ) return - } // BecomeKeyWindow informs the window that it has become the key window. @@ -18984,7 +18157,6 @@ func (x gen_NSWindow) BecomeKeyWindow() { ) return - } // BecomeMainWindow informs the window that it has become the main window. @@ -18996,7 +18168,6 @@ func (x gen_NSWindow) BecomeMainWindow() { ) return - } // CascadeTopLeftFromPoint positions the window’s top-left to a given point. @@ -19011,7 +18182,6 @@ func (x gen_NSWindow) CascadeTopLeftFromPoint( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // Center sets the window’s location to the center of the screen. @@ -19023,7 +18193,6 @@ func (x gen_NSWindow) Center() { ) return - } // Close removes the window from the screen. @@ -19035,7 +18204,6 @@ func (x gen_NSWindow) Close() { ) return - } // ConstrainFrameRectToScreen modifies and returns a frame rectangle so that its top edge lies on a specific screen. @@ -19052,7 +18220,6 @@ func (x gen_NSWindow) ConstrainFrameRectToScreen( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ContentRectForFrameRect returns the window’s content rectangle with a given frame rectangle. @@ -19067,7 +18234,6 @@ func (x gen_NSWindow) ContentRectForFrameRect( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertPointFromBacking converts a point from its pixel-aligned backing store coordinate system to the window’s coordinate system. @@ -19082,7 +18248,6 @@ func (x gen_NSWindow) ConvertPointFromBacking( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointFromScreen converts a point from the screen coordinate system to the window’s coordinate system. @@ -19097,7 +18262,6 @@ func (x gen_NSWindow) ConvertPointFromScreen( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointToBacking converts a point from the window’s coordinate system to its pixel-aligned backing store coordinate system. @@ -19112,7 +18276,6 @@ func (x gen_NSWindow) ConvertPointToBacking( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointToScreen converts a point to the screen coordinate system from the window’s coordinate system. @@ -19127,7 +18290,6 @@ func (x gen_NSWindow) ConvertPointToScreen( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertRectFromBacking converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system. @@ -19142,7 +18304,6 @@ func (x gen_NSWindow) ConvertRectFromBacking( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectFromScreen converts a rectangle from the screen coordinate system to the window’s coordinate system. @@ -19157,7 +18318,6 @@ func (x gen_NSWindow) ConvertRectFromScreen( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToBacking converts a rectangle from the window’s coordinate system to its pixel-aligned backing store coordinate system. @@ -19172,7 +18332,6 @@ func (x gen_NSWindow) ConvertRectToBacking( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToScreen converts a rectangle to the screen coordinate system from the window’s coordinate system. @@ -19187,7 +18346,6 @@ func (x gen_NSWindow) ConvertRectToScreen( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // DataWithEPSInsideRect returns eps data that draws the region of the window within a given rectangle. @@ -19201,8 +18359,7 @@ func (x gen_NSWindow) DataWithEPSInsideRect( *(*C.NSRect)(unsafe.Pointer(&rect)), ) - return core.NSData_fromPointer(ret) - + return core.NSData_FromPointer(ret) } // DataWithPDFInsideRect returns pdf data that draws the region of the window within a given rectangle. @@ -19216,8 +18373,7 @@ func (x gen_NSWindow) DataWithPDFInsideRect( *(*C.NSRect)(unsafe.Pointer(&rect)), ) - return core.NSData_fromPointer(ret) - + return core.NSData_FromPointer(ret) } // Deminiaturize de-minimizes the window. @@ -19232,7 +18388,6 @@ func (x gen_NSWindow) Deminiaturize( ) return - } // DisableCursorRects disables all cursor rectangle management within the window. @@ -19244,7 +18399,6 @@ func (x gen_NSWindow) DisableCursorRects() { ) return - } // DisableKeyEquivalentForDefaultButtonCell disables the default button cell’s key equivalent, so it doesn’t perform a click when the user presses return (or enter). @@ -19256,7 +18410,6 @@ func (x gen_NSWindow) DisableKeyEquivalentForDefaultButtonCell() { ) return - } // DisableScreenUpdatesUntilFlush disables the window’s screen updates until the window is flushed. @@ -19268,7 +18421,6 @@ func (x gen_NSWindow) DisableScreenUpdatesUntilFlush() { ) return - } // DisableSnapshotRestoration disables snapshot restoration. @@ -19280,7 +18432,6 @@ func (x gen_NSWindow) DisableSnapshotRestoration() { ) return - } // DiscardCursorRects invalidates all cursor rectangles in the window. @@ -19292,7 +18443,6 @@ func (x gen_NSWindow) DiscardCursorRects() { ) return - } // Display passes a display message down the window’s view hierarchy, thus redrawing all views within the window. @@ -19304,7 +18454,6 @@ func (x gen_NSWindow) Display() { ) return - } // DisplayIfNeeded passes a display message down the window’s view hierarchy, thus redrawing all views that need displaying. @@ -19316,7 +18465,6 @@ func (x gen_NSWindow) DisplayIfNeeded() { ) return - } // DragImageAtOffsetEventPasteboardSourceSlideBack begins a dragging session. @@ -19343,7 +18491,6 @@ func (x gen_NSWindow) DragImageAtOffsetEventPasteboardSourceSlideBack( ) return - } // EnableCursorRects reenables cursor rectangle management within the window after a disablecursorrects message. @@ -19355,7 +18502,6 @@ func (x gen_NSWindow) EnableCursorRects() { ) return - } // EnableKeyEquivalentForDefaultButtonCell reenables the default button cell’s key equivalent, so it performs a click when the user presses return (or enter). @@ -19367,7 +18513,6 @@ func (x gen_NSWindow) EnableKeyEquivalentForDefaultButtonCell() { ) return - } // EnableSnapshotRestoration enables snapshot restoration. @@ -19379,7 +18524,6 @@ func (x gen_NSWindow) EnableSnapshotRestoration() { ) return - } // EndEditingFor forces the field editor to give up its first responder status and prepares it for its next assignment. @@ -19394,7 +18538,6 @@ func (x gen_NSWindow) EndEditingFor( ) return - } // EndSheet ends a document-modal session and dismisses the specified sheet. @@ -19409,7 +18552,6 @@ func (x gen_NSWindow) EndSheet( ) return - } // FieldEditorForObject returns the window’s field editor, creating it if requested. @@ -19425,8 +18567,7 @@ func (x gen_NSWindow) FieldEditorForObject( objc.RefPointer(object), ) - return NSText_fromPointer(ret) - + return NSText_FromPointer(ret) } // FrameRectForContentRect returns the window’s frame rectangle with a given content rectangle. @@ -19441,13 +18582,12 @@ func (x gen_NSWindow) FrameRectForContentRect( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // InitWithContentRectStyleMaskBackingDefer initializes the window with the specified values. // // See https://developer.apple.com/documentation/appkit/nswindow/1419477-initwithcontentrect?language=objc for details. -func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDefer_asNSWindow( +func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDefer_AsNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, @@ -19461,14 +18601,13 @@ func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDefer_asNSWindow( convertToObjCBool(flag), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // InitWithContentRectStyleMaskBackingDeferScreen initializes an allocated window with the specified values. // // See https://developer.apple.com/documentation/appkit/nswindow/1419755-initwithcontentrect?language=objc for details. -func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDeferScreen_asNSWindow( +func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDeferScreen_AsNSWindow( contentRect core.NSRect, style core.NSUInteger, backingStoreType core.NSUInteger, @@ -19484,8 +18623,7 @@ func (x gen_NSWindow) InitWithContentRectStyleMaskBackingDeferScreen_asNSWindow( objc.RefPointer(screen), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // InvalidateCursorRectsForView marks as invalid the cursor rectangles of a given view object in the window, so they’ll be set up again when the window becomes key. @@ -19500,7 +18638,6 @@ func (x gen_NSWindow) InvalidateCursorRectsForView( ) return - } // InvalidateShadow invalidates the window shadow so that it is recomputed based on the current window shape. @@ -19512,7 +18649,6 @@ func (x gen_NSWindow) InvalidateShadow() { ) return - } // LayoutIfNeeded updates the layout of views in the window based on the current views and constraints. @@ -19524,7 +18660,6 @@ func (x gen_NSWindow) LayoutIfNeeded() { ) return - } // MakeKeyAndOrderFront moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window. @@ -19539,7 +18674,6 @@ func (x gen_NSWindow) MakeKeyAndOrderFront( ) return - } // MakeKeyWindow makes the window the key window. @@ -19551,7 +18685,6 @@ func (x gen_NSWindow) MakeKeyWindow() { ) return - } // MakeMainWindow makes the window the main window. @@ -19563,7 +18696,6 @@ func (x gen_NSWindow) MakeMainWindow() { ) return - } // MergeAllWindows merges all open windows into a single tabbed window. @@ -19578,7 +18710,6 @@ func (x gen_NSWindow) MergeAllWindows( ) return - } // Miniaturize removes the window from the screen list and displays the minimized window in the dock. @@ -19593,7 +18724,6 @@ func (x gen_NSWindow) Miniaturize( ) return - } // MoveTabToNewWindow moves the tab to a new containing window. @@ -19608,7 +18738,6 @@ func (x gen_NSWindow) MoveTabToNewWindow( ) return - } // OrderBack moves the window to the back of its level in the screen list, without changing either the key window or the main window. @@ -19623,7 +18752,6 @@ func (x gen_NSWindow) OrderBack( ) return - } // OrderFront moves the window to the front of its level in the screen list, without changing either the key window or the main window. @@ -19638,7 +18766,6 @@ func (x gen_NSWindow) OrderFront( ) return - } // OrderFrontRegardless moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window. @@ -19650,7 +18777,6 @@ func (x gen_NSWindow) OrderFrontRegardless() { ) return - } // OrderOut removes the window from the screen list, which hides the window. @@ -19665,7 +18791,6 @@ func (x gen_NSWindow) OrderOut( ) return - } // OrderWindowRelativeTo repositions the window’s window device in the window server’s screen list. @@ -19682,7 +18807,6 @@ func (x gen_NSWindow) OrderWindowRelativeTo( ) return - } // PerformClose simulates the user clicking the close button by momentarily highlighting the button and then closing the window. @@ -19697,7 +18821,6 @@ func (x gen_NSWindow) PerformClose( ) return - } // PerformMiniaturize simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window. @@ -19712,7 +18835,6 @@ func (x gen_NSWindow) PerformMiniaturize( ) return - } // PerformWindowDragWithEvent starts a window drag based on the specified mouse-down event. @@ -19727,7 +18849,6 @@ func (x gen_NSWindow) PerformWindowDragWithEvent( ) return - } // PerformZoom this action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window. @@ -19742,7 +18863,6 @@ func (x gen_NSWindow) PerformZoom( ) return - } // PostEventAtStart forwards the message to the global application object. @@ -19759,7 +18879,6 @@ func (x gen_NSWindow) PostEventAtStart( ) return - } // Print runs the print panel, and if the user chooses an option other than canceling, prints the window (its frame view and all subviews). @@ -19774,7 +18893,6 @@ func (x gen_NSWindow) Print( ) return - } // RecalculateKeyViewLoop marks the key view loop as “dirty” and in need of recalculation. @@ -19786,7 +18904,6 @@ func (x gen_NSWindow) RecalculateKeyViewLoop() { ) return - } // RegisterForDraggedTypes registers a set of pasteboard types that the window accepts as the destination of an image-dragging session. @@ -19801,7 +18918,6 @@ func (x gen_NSWindow) RegisterForDraggedTypes( ) return - } // RemoveChildWindow detaches a given child window from the window. @@ -19816,7 +18932,6 @@ func (x gen_NSWindow) RemoveChildWindow( ) return - } // RemoveTitlebarAccessoryViewControllerAtIndex removes the view controller at the specified index from the window’s array of title bar accessory view controllers. @@ -19831,7 +18946,6 @@ func (x gen_NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex( ) return - } // ResetCursorRects clears the window’s cursor rectangles and the cursor rectangles of the nsview objects in its view hierarchy. @@ -19843,7 +18957,6 @@ func (x gen_NSWindow) ResetCursorRects() { ) return - } // ResignKeyWindow resigns the window’s key window status. @@ -19855,7 +18968,6 @@ func (x gen_NSWindow) ResignKeyWindow() { ) return - } // ResignMainWindow resigns the window’s main window status. @@ -19867,7 +18979,6 @@ func (x gen_NSWindow) ResignMainWindow() { ) return - } // RunToolbarCustomizationPalette presents the toolbar customization user interface. @@ -19882,7 +18993,6 @@ func (x gen_NSWindow) RunToolbarCustomizationPalette( ) return - } // SelectKeyViewFollowingView gives key view status to the view that follows the given view. @@ -19897,7 +19007,6 @@ func (x gen_NSWindow) SelectKeyViewFollowingView( ) return - } // SelectKeyViewPrecedingView gives key view status to the view that precedes the given view. @@ -19912,7 +19021,6 @@ func (x gen_NSWindow) SelectKeyViewPrecedingView( ) return - } // SelectNextKeyView searches for a candidate next key view and, if it finds one, tries to make it the first responder. @@ -19927,7 +19035,6 @@ func (x gen_NSWindow) SelectNextKeyView( ) return - } // SelectNextTab selects the next tab in the tab group in the trailing direction. @@ -19942,7 +19049,6 @@ func (x gen_NSWindow) SelectNextTab( ) return - } // SelectPreviousKeyView searches for a candidate previous key view and, if it finds one, tries to make it the first responder. @@ -19957,7 +19063,6 @@ func (x gen_NSWindow) SelectPreviousKeyView( ) return - } // SelectPreviousTab selects the previous tab in the tab group in the leading direction. @@ -19972,7 +19077,6 @@ func (x gen_NSWindow) SelectPreviousTab( ) return - } // SendEvent this action method dispatches mouse and keyboard events the global application object sends to the window. @@ -19987,7 +19091,6 @@ func (x gen_NSWindow) SendEvent( ) return - } // SetContentSize sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system. @@ -20002,7 +19105,6 @@ func (x gen_NSWindow) SetContentSize( ) return - } // SetDynamicDepthLimit sets a boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. @@ -20017,7 +19119,6 @@ func (x gen_NSWindow) SetDynamicDepthLimit( ) return - } // SetFrameDisplay sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. @@ -20034,7 +19135,6 @@ func (x gen_NSWindow) SetFrameDisplay( ) return - } // SetFrameDisplayAnimate sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen. @@ -20053,7 +19153,6 @@ func (x gen_NSWindow) SetFrameDisplayAnimate( ) return - } // SetFrameOrigin positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates. @@ -20068,7 +19167,6 @@ func (x gen_NSWindow) SetFrameOrigin( ) return - } // SetFrameTopLeftPoint positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates. @@ -20083,7 +19181,6 @@ func (x gen_NSWindow) SetFrameTopLeftPoint( ) return - } // SetIsMiniaturized sets the window’s miniaturized state to the value you specify. @@ -20098,7 +19195,6 @@ func (x gen_NSWindow) SetIsMiniaturized( ) return - } // SetIsVisible sets the window’s visible state to the value you specify. @@ -20113,7 +19209,6 @@ func (x gen_NSWindow) SetIsVisible( ) return - } // SetIsZoomed sets the window’s zoomed state to the value you specify. @@ -20128,7 +19223,6 @@ func (x gen_NSWindow) SetIsZoomed( ) return - } // SetTitleWithRepresentedFilename sets a given path as the window’s title, formatting it as a file-system path, and records this path as the window’s associated file. @@ -20143,7 +19237,6 @@ func (x gen_NSWindow) SetTitleWithRepresentedFilename( ) return - } // ToggleFullScreen takes the window into or out of fullscreen mode, @@ -20158,7 +19251,6 @@ func (x gen_NSWindow) ToggleFullScreen( ) return - } // ToggleTabBar shows or hides the tab bar. @@ -20173,7 +19265,6 @@ func (x gen_NSWindow) ToggleTabBar( ) return - } // ToggleTabOverview shows or hides the tab overview. @@ -20188,7 +19279,6 @@ func (x gen_NSWindow) ToggleTabOverview( ) return - } // ToggleToolbarShown toggles the visibility of the window’s toolbar. @@ -20203,7 +19293,6 @@ func (x gen_NSWindow) ToggleToolbarShown( ) return - } // TryToPerformWith dispatches action messages with a given argument. @@ -20220,7 +19309,6 @@ func (x gen_NSWindow) TryToPerformWith( ) return convertObjCBoolToGo(ret) - } // UnregisterDraggedTypes unregisters the window as a possible destination for dragging operations. @@ -20232,7 +19320,6 @@ func (x gen_NSWindow) UnregisterDraggedTypes() { ) return - } // Update updates the window. @@ -20244,7 +19331,6 @@ func (x gen_NSWindow) Update() { ) return - } // UpdateConstraintsIfNeeded updates the constraints based on changes to views in the window since the last layout. @@ -20256,7 +19342,6 @@ func (x gen_NSWindow) UpdateConstraintsIfNeeded() { ) return - } // VisualizeConstraints displays a visual representation of the supplied constraints in the window. @@ -20271,7 +19356,6 @@ func (x gen_NSWindow) VisualizeConstraints( ) return - } // Zoom toggles the size and location of the window between its standard state (which the application provides as the best size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window). @@ -20286,19 +19370,17 @@ func (x gen_NSWindow) Zoom( ) return - } // Init // // See for details. -func (x gen_NSWindow) Init_asNSWindow() NSWindow { +func (x gen_NSWindow) Init_AsNSWindow() NSWindow { ret := C.NSWindow_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // Delegate returns the window’s delegate. @@ -20309,8 +19391,7 @@ func (x gen_NSWindow) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the window’s delegate. @@ -20325,7 +19406,6 @@ func (x gen_NSWindow) SetDelegate( ) return - } // ContentViewController returns the main content view controller for the window. @@ -20336,8 +19416,7 @@ func (x gen_NSWindow) ContentViewController() NSViewController { unsafe.Pointer(x.Pointer()), ) - return NSViewController_fromPointer(ret) - + return NSViewController_FromPointer(ret) } // SetContentViewController returns the main content view controller for the window. @@ -20352,7 +19431,6 @@ func (x gen_NSWindow) SetContentViewController( ) return - } // ContentView returns the window’s content view, the highest accessible view object in the window’s view hierarchy. @@ -20363,8 +19441,7 @@ func (x gen_NSWindow) ContentView() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // SetContentView returns the window’s content view, the highest accessible view object in the window’s view hierarchy. @@ -20379,7 +19456,6 @@ func (x gen_NSWindow) SetContentView( ) return - } // StyleMask flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. @@ -20391,7 +19467,6 @@ func (x gen_NSWindow) StyleMask() core.NSUInteger { ) return core.NSUInteger(ret) - } // SetStyleMask flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. @@ -20406,7 +19481,6 @@ func (x gen_NSWindow) SetStyleMask( ) return - } // WorksWhenModal returns a boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally. @@ -20418,7 +19492,6 @@ func (x gen_NSWindow) WorksWhenModal() bool { ) return convertObjCBoolToGo(ret) - } // AlphaValue returns the window’s alpha value. @@ -20430,7 +19503,6 @@ func (x gen_NSWindow) AlphaValue() core.CGFloat { ) return core.CGFloat(ret) - } // SetAlphaValue returns the window’s alpha value. @@ -20445,7 +19517,6 @@ func (x gen_NSWindow) SetAlphaValue( ) return - } // BackgroundColor returns the color of the window’s background. @@ -20456,8 +19527,7 @@ func (x gen_NSWindow) BackgroundColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBackgroundColor returns the color of the window’s background. @@ -20472,7 +19542,6 @@ func (x gen_NSWindow) SetBackgroundColor( ) return - } // CanHide returns a boolean value that indicates whether the window can hide when its application becomes hidden. @@ -20484,7 +19553,6 @@ func (x gen_NSWindow) CanHide() bool { ) return convertObjCBoolToGo(ret) - } // SetCanHide returns a boolean value that indicates whether the window can hide when its application becomes hidden. @@ -20499,7 +19567,6 @@ func (x gen_NSWindow) SetCanHide( ) return - } // IsOnActiveSpace returns a boolean value that indicates whether the window is on the currently active space. @@ -20511,7 +19578,6 @@ func (x gen_NSWindow) IsOnActiveSpace() bool { ) return convertObjCBoolToGo(ret) - } // HidesOnDeactivate returns a boolean value that indicates whether the window is removed from the screen when its application becomes inactive. @@ -20523,7 +19589,6 @@ func (x gen_NSWindow) HidesOnDeactivate() bool { ) return convertObjCBoolToGo(ret) - } // SetHidesOnDeactivate returns a boolean value that indicates whether the window is removed from the screen when its application becomes inactive. @@ -20538,7 +19603,6 @@ func (x gen_NSWindow) SetHidesOnDeactivate( ) return - } // CollectionBehavior returns a value that identifies the window’s behavior in window collections. @@ -20550,7 +19614,6 @@ func (x gen_NSWindow) CollectionBehavior() core.NSUInteger { ) return core.NSUInteger(ret) - } // SetCollectionBehavior returns a value that identifies the window’s behavior in window collections. @@ -20565,7 +19628,6 @@ func (x gen_NSWindow) SetCollectionBehavior( ) return - } // IsOpaque returns a boolean value that indicates whether the window is opaque. @@ -20577,7 +19639,6 @@ func (x gen_NSWindow) IsOpaque() bool { ) return convertObjCBoolToGo(ret) - } // SetOpaque returns a boolean value that indicates whether the window is opaque. @@ -20592,7 +19653,6 @@ func (x gen_NSWindow) SetOpaque( ) return - } // HasShadow returns a boolean value that indicates whether the window has a shadow. @@ -20604,7 +19664,6 @@ func (x gen_NSWindow) HasShadow() bool { ) return convertObjCBoolToGo(ret) - } // SetHasShadow returns a boolean value that indicates whether the window has a shadow. @@ -20619,7 +19678,6 @@ func (x gen_NSWindow) SetHasShadow( ) return - } // PreventsApplicationTerminationWhenModal returns a boolean value that indicates whether the window prevents application termination when modal. @@ -20631,7 +19689,6 @@ func (x gen_NSWindow) PreventsApplicationTerminationWhenModal() bool { ) return convertObjCBoolToGo(ret) - } // SetPreventsApplicationTerminationWhenModal returns a boolean value that indicates whether the window prevents application termination when modal. @@ -20646,7 +19703,6 @@ func (x gen_NSWindow) SetPreventsApplicationTerminationWhenModal( ) return - } // HasDynamicDepthLimit returns a boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. @@ -20658,7 +19714,6 @@ func (x gen_NSWindow) HasDynamicDepthLimit() bool { ) return convertObjCBoolToGo(ret) - } // WindowNumber returns the window number of the window’s window device. @@ -20670,7 +19725,6 @@ func (x gen_NSWindow) WindowNumber() core.NSInteger { ) return core.NSInteger(ret) - } // DeviceDescription returns a dictionary containing information about the window’s resolution, such as color, depth, and so on. @@ -20681,8 +19735,7 @@ func (x gen_NSWindow) DeviceDescription() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // CanBecomeVisibleWithoutLogin returns a boolean value that indicates whether the window can be displayed at the login window. @@ -20694,7 +19747,6 @@ func (x gen_NSWindow) CanBecomeVisibleWithoutLogin() bool { ) return convertObjCBoolToGo(ret) - } // SetCanBecomeVisibleWithoutLogin returns a boolean value that indicates whether the window can be displayed at the login window. @@ -20709,7 +19761,6 @@ func (x gen_NSWindow) SetCanBecomeVisibleWithoutLogin( ) return - } // BackingType returns the window’s backing store type. @@ -20721,7 +19772,6 @@ func (x gen_NSWindow) BackingType() core.NSUInteger { ) return core.NSUInteger(ret) - } // SetBackingType returns the window’s backing store type. @@ -20736,7 +19786,6 @@ func (x gen_NSWindow) SetBackingType( ) return - } // AttachedSheet returns the sheet attached to the window. @@ -20747,8 +19796,7 @@ func (x gen_NSWindow) AttachedSheet() NSWindow { unsafe.Pointer(x.Pointer()), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // IsSheet returns a boolean value that indicates whether the window has ever run as a modal sheet. @@ -20760,7 +19808,6 @@ func (x gen_NSWindow) IsSheet() bool { ) return convertObjCBoolToGo(ret) - } // SheetParent returns the window to which the sheet is attached. @@ -20771,8 +19818,7 @@ func (x gen_NSWindow) SheetParent() NSWindow { unsafe.Pointer(x.Pointer()), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // Sheets an array of the sheets currently attached to the window. @@ -20783,8 +19829,7 @@ func (x gen_NSWindow) Sheets() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // Frame returns the window’s frame rectangle in screen coordinates, including the title bar. @@ -20796,7 +19841,6 @@ func (x gen_NSWindow) Frame() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // AspectRatio returns the window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. @@ -20808,7 +19852,6 @@ func (x gen_NSWindow) AspectRatio() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetAspectRatio returns the window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. @@ -20823,7 +19866,6 @@ func (x gen_NSWindow) SetAspectRatio( ) return - } // MinSize returns the minimum size to which the window’s frame (including its title bar) can be sized. @@ -20835,7 +19877,6 @@ func (x gen_NSWindow) MinSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetMinSize returns the minimum size to which the window’s frame (including its title bar) can be sized. @@ -20850,7 +19891,6 @@ func (x gen_NSWindow) SetMinSize( ) return - } // MaxSize returns the maximum size to which the window’s frame (including its title bar) can be sized. @@ -20862,7 +19902,6 @@ func (x gen_NSWindow) MaxSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetMaxSize returns the maximum size to which the window’s frame (including its title bar) can be sized. @@ -20877,7 +19916,6 @@ func (x gen_NSWindow) SetMaxSize( ) return - } // IsZoomed returns a boolean value that indicates whether the window is in a zoomed state. @@ -20889,7 +19927,6 @@ func (x gen_NSWindow) IsZoomed() bool { ) return convertObjCBoolToGo(ret) - } // ResizeIncrements returns the window’s resizing increments. @@ -20901,7 +19938,6 @@ func (x gen_NSWindow) ResizeIncrements() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetResizeIncrements returns the window’s resizing increments. @@ -20916,7 +19952,6 @@ func (x gen_NSWindow) SetResizeIncrements( ) return - } // PreservesContentDuringLiveResize returns a boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. @@ -20928,7 +19963,6 @@ func (x gen_NSWindow) PreservesContentDuringLiveResize() bool { ) return convertObjCBoolToGo(ret) - } // SetPreservesContentDuringLiveResize returns a boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. @@ -20943,7 +19977,6 @@ func (x gen_NSWindow) SetPreservesContentDuringLiveResize( ) return - } // InLiveResize returns a boolean value that indicates whether the window is being resized by the user. @@ -20955,7 +19988,6 @@ func (x gen_NSWindow) InLiveResize() bool { ) return convertObjCBoolToGo(ret) - } // ContentAspectRatio returns the window’s content aspect ratio. @@ -20967,7 +19999,6 @@ func (x gen_NSWindow) ContentAspectRatio() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetContentAspectRatio returns the window’s content aspect ratio. @@ -20982,7 +20013,6 @@ func (x gen_NSWindow) SetContentAspectRatio( ) return - } // ContentMinSize returns the minimum size of the window’s content view in the window’s base coordinate system. @@ -20994,7 +20024,6 @@ func (x gen_NSWindow) ContentMinSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetContentMinSize returns the minimum size of the window’s content view in the window’s base coordinate system. @@ -21009,7 +20038,6 @@ func (x gen_NSWindow) SetContentMinSize( ) return - } // ContentMaxSize returns the maximum size of the window’s content view in the window’s base coordinate system. @@ -21021,7 +20049,6 @@ func (x gen_NSWindow) ContentMaxSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetContentMaxSize returns the maximum size of the window’s content view in the window’s base coordinate system. @@ -21036,7 +20063,6 @@ func (x gen_NSWindow) SetContentMaxSize( ) return - } // ContentResizeIncrements returns the window’s content-view resizing increments. @@ -21048,7 +20074,6 @@ func (x gen_NSWindow) ContentResizeIncrements() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetContentResizeIncrements returns the window’s content-view resizing increments. @@ -21063,7 +20088,6 @@ func (x gen_NSWindow) SetContentResizeIncrements( ) return - } // ContentLayoutGuide returns a value used by auto layout constraints to automatically bind to the value of contentlayoutrect. @@ -21074,8 +20098,7 @@ func (x gen_NSWindow) ContentLayoutGuide() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // ContentLayoutRect returns the area inside the window that is for non-obscured content, in window coordinates. @@ -21087,7 +20110,6 @@ func (x gen_NSWindow) ContentLayoutRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // MaxFullScreenContentSize returns a maximum size that is used to determine if a window can fit when it is in full screen in a tile. @@ -21099,7 +20121,6 @@ func (x gen_NSWindow) MaxFullScreenContentSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetMaxFullScreenContentSize returns a maximum size that is used to determine if a window can fit when it is in full screen in a tile. @@ -21114,7 +20135,6 @@ func (x gen_NSWindow) SetMaxFullScreenContentSize( ) return - } // MinFullScreenContentSize returns a minimum size that is used to determine if a window can fit when it is in full screen in a tile. @@ -21126,7 +20146,6 @@ func (x gen_NSWindow) MinFullScreenContentSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetMinFullScreenContentSize returns a minimum size that is used to determine if a window can fit when it is in full screen in a tile. @@ -21141,7 +20160,6 @@ func (x gen_NSWindow) SetMinFullScreenContentSize( ) return - } // Level returns the window level of the window. @@ -21153,7 +20171,6 @@ func (x gen_NSWindow) Level() core.NSInteger { ) return core.NSInteger(ret) - } // SetLevel returns the window level of the window. @@ -21168,7 +20185,6 @@ func (x gen_NSWindow) SetLevel( ) return - } // IsVisible returns a boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows). @@ -21180,7 +20196,6 @@ func (x gen_NSWindow) IsVisible() bool { ) return convertObjCBoolToGo(ret) - } // IsKeyWindow returns a boolean value that indicates whether the window is the key window for the application. @@ -21192,7 +20207,6 @@ func (x gen_NSWindow) IsKeyWindow() bool { ) return convertObjCBoolToGo(ret) - } // CanBecomeKeyWindow returns a boolean value that indicates whether the window can become the key window. @@ -21204,7 +20218,6 @@ func (x gen_NSWindow) CanBecomeKeyWindow() bool { ) return convertObjCBoolToGo(ret) - } // IsMainWindow returns a boolean value that indicates whether the window is the application’s main window. @@ -21216,7 +20229,6 @@ func (x gen_NSWindow) IsMainWindow() bool { ) return convertObjCBoolToGo(ret) - } // CanBecomeMainWindow returns a boolean value that indicates whether the window can become the application’s main window. @@ -21228,7 +20240,6 @@ func (x gen_NSWindow) CanBecomeMainWindow() bool { ) return convertObjCBoolToGo(ret) - } // ChildWindows an array of the window’s attached child windows. @@ -21239,8 +20250,7 @@ func (x gen_NSWindow) ChildWindows() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // ParentWindow returns the parent window to which the window is attached as a child. @@ -21251,8 +20261,7 @@ func (x gen_NSWindow) ParentWindow() NSWindow { unsafe.Pointer(x.Pointer()), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // SetParentWindow returns the parent window to which the window is attached as a child. @@ -21267,7 +20276,6 @@ func (x gen_NSWindow) SetParentWindow( ) return - } // IsExcludedFromWindowsMenu returns a boolean value that indicates whether the window is excluded from the application’s windows menu. @@ -21279,7 +20287,6 @@ func (x gen_NSWindow) IsExcludedFromWindowsMenu() bool { ) return convertObjCBoolToGo(ret) - } // SetExcludedFromWindowsMenu returns a boolean value that indicates whether the window is excluded from the application’s windows menu. @@ -21294,7 +20301,6 @@ func (x gen_NSWindow) SetExcludedFromWindowsMenu( ) return - } // AreCursorRectsEnabled returns a boolean value that indicates whether the window’s cursor rectangles are enabled. @@ -21306,7 +20312,6 @@ func (x gen_NSWindow) AreCursorRectsEnabled() bool { ) return convertObjCBoolToGo(ret) - } // ShowsToolbarButton returns a boolean value that indicates whether the toolbar control button is currently displayed. @@ -21318,7 +20323,6 @@ func (x gen_NSWindow) ShowsToolbarButton() bool { ) return convertObjCBoolToGo(ret) - } // SetShowsToolbarButton returns a boolean value that indicates whether the toolbar control button is currently displayed. @@ -21333,7 +20337,6 @@ func (x gen_NSWindow) SetShowsToolbarButton( ) return - } // TitlebarAppearsTransparent returns a boolean value that indicates whether the title bar draws its background. @@ -21345,7 +20348,6 @@ func (x gen_NSWindow) TitlebarAppearsTransparent() bool { ) return convertObjCBoolToGo(ret) - } // SetTitlebarAppearsTransparent returns a boolean value that indicates whether the title bar draws its background. @@ -21360,7 +20362,6 @@ func (x gen_NSWindow) SetTitlebarAppearsTransparent( ) return - } // TitlebarAccessoryViewControllers an array of title bar accessory view controllers that are currently added to the window. @@ -21371,8 +20372,7 @@ func (x gen_NSWindow) TitlebarAccessoryViewControllers() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetTitlebarAccessoryViewControllers an array of title bar accessory view controllers that are currently added to the window. @@ -21387,7 +20387,6 @@ func (x gen_NSWindow) SetTitlebarAccessoryViewControllers( ) return - } // TabbedWindows an array of windows that display as tabs. @@ -21398,8 +20397,7 @@ func (x gen_NSWindow) TabbedWindows() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // AllowsToolTipsWhenApplicationIsInactive returns a boolean value that indicates whether the window can display tooltips even when the application is in the background. @@ -21411,7 +20409,6 @@ func (x gen_NSWindow) AllowsToolTipsWhenApplicationIsInactive() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsToolTipsWhenApplicationIsInactive returns a boolean value that indicates whether the window can display tooltips even when the application is in the background. @@ -21426,7 +20423,6 @@ func (x gen_NSWindow) SetAllowsToolTipsWhenApplicationIsInactive( ) return - } // CurrentEvent returns the event currently being processed by the application. @@ -21437,8 +20433,7 @@ func (x gen_NSWindow) CurrentEvent() NSEvent { unsafe.Pointer(x.Pointer()), ) - return NSEvent_fromPointer(ret) - + return NSEvent_FromPointer(ret) } // InitialFirstResponder returns the view that’s made first responder (also called the key view) the first time the window is placed onscreen. @@ -21449,8 +20444,7 @@ func (x gen_NSWindow) InitialFirstResponder() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // SetInitialFirstResponder returns the view that’s made first responder (also called the key view) the first time the window is placed onscreen. @@ -21465,7 +20459,6 @@ func (x gen_NSWindow) SetInitialFirstResponder( ) return - } // AutorecalculatesKeyViewLoop returns a boolean value that indicates whether the window automatically recalculates the key view loop when views are added. @@ -21477,7 +20470,6 @@ func (x gen_NSWindow) AutorecalculatesKeyViewLoop() bool { ) return convertObjCBoolToGo(ret) - } // SetAutorecalculatesKeyViewLoop returns a boolean value that indicates whether the window automatically recalculates the key view loop when views are added. @@ -21492,7 +20484,6 @@ func (x gen_NSWindow) SetAutorecalculatesKeyViewLoop( ) return - } // AcceptsMouseMovedEvents returns a boolean value that indicates whether the window accepts mouse-moved events. @@ -21504,7 +20495,6 @@ func (x gen_NSWindow) AcceptsMouseMovedEvents() bool { ) return convertObjCBoolToGo(ret) - } // SetAcceptsMouseMovedEvents returns a boolean value that indicates whether the window accepts mouse-moved events. @@ -21519,7 +20509,6 @@ func (x gen_NSWindow) SetAcceptsMouseMovedEvents( ) return - } // IgnoresMouseEvents returns a boolean value that indicates whether the window is transparent to mouse events. @@ -21531,7 +20520,6 @@ func (x gen_NSWindow) IgnoresMouseEvents() bool { ) return convertObjCBoolToGo(ret) - } // SetIgnoresMouseEvents returns a boolean value that indicates whether the window is transparent to mouse events. @@ -21546,7 +20534,6 @@ func (x gen_NSWindow) SetIgnoresMouseEvents( ) return - } // MouseLocationOutsideOfEventStream returns the current location of the pointer reckoned in the window’s base coordinate system, regardless of the current event being handled or of any events pending. @@ -21558,7 +20545,6 @@ func (x gen_NSWindow) MouseLocationOutsideOfEventStream() core.NSPoint { ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // IsRestorable returns a boolean value indicating whether the window configuration is preserved between application launches. @@ -21570,7 +20556,6 @@ func (x gen_NSWindow) IsRestorable() bool { ) return convertObjCBoolToGo(ret) - } // SetRestorable returns a boolean value indicating whether the window configuration is preserved between application launches. @@ -21585,7 +20570,6 @@ func (x gen_NSWindow) SetRestorable( ) return - } // ViewsNeedDisplay returns a boolean value that indicates whether any of the window’s views need to be displayed. @@ -21597,7 +20581,6 @@ func (x gen_NSWindow) ViewsNeedDisplay() bool { ) return convertObjCBoolToGo(ret) - } // SetViewsNeedDisplay returns a boolean value that indicates whether any of the window’s views need to be displayed. @@ -21612,7 +20595,6 @@ func (x gen_NSWindow) SetViewsNeedDisplay( ) return - } // AllowsConcurrentViewDrawing returns a boolean value that indicates whether the window allows multithreaded view drawing. @@ -21624,7 +20606,6 @@ func (x gen_NSWindow) AllowsConcurrentViewDrawing() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsConcurrentViewDrawing returns a boolean value that indicates whether the window allows multithreaded view drawing. @@ -21639,7 +20620,6 @@ func (x gen_NSWindow) SetAllowsConcurrentViewDrawing( ) return - } // IsDocumentEdited returns a boolean value that indicates whether the window’s document has been edited. @@ -21651,7 +20631,6 @@ func (x gen_NSWindow) IsDocumentEdited() bool { ) return convertObjCBoolToGo(ret) - } // SetDocumentEdited returns a boolean value that indicates whether the window’s document has been edited. @@ -21666,7 +20645,6 @@ func (x gen_NSWindow) SetDocumentEdited( ) return - } // BackingScaleFactor returns the backing scale factor. @@ -21678,7 +20656,6 @@ func (x gen_NSWindow) BackingScaleFactor() core.CGFloat { ) return core.CGFloat(ret) - } // Title returns the string that appears in the title bar of the window or the path to the represented file. @@ -21689,8 +20666,7 @@ func (x gen_NSWindow) Title() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetTitle returns the string that appears in the title bar of the window or the path to the represented file. @@ -21705,7 +20681,6 @@ func (x gen_NSWindow) SetTitle( ) return - } // Subtitle returns a secondary line of text that appears in the title bar of the window. @@ -21716,8 +20691,7 @@ func (x gen_NSWindow) Subtitle() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetSubtitle returns a secondary line of text that appears in the title bar of the window. @@ -21732,7 +20706,6 @@ func (x gen_NSWindow) SetSubtitle( ) return - } // TitleVisibility returns a value that indicates the visibility of the window’s title and title bar buttons. @@ -21744,7 +20717,6 @@ func (x gen_NSWindow) TitleVisibility() core.NSInteger { ) return core.NSInteger(ret) - } // SetTitleVisibility returns a value that indicates the visibility of the window’s title and title bar buttons. @@ -21759,7 +20731,6 @@ func (x gen_NSWindow) SetTitleVisibility( ) return - } // RepresentedFilename returns the path to the file of the window’s represented file. @@ -21770,8 +20741,7 @@ func (x gen_NSWindow) RepresentedFilename() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetRepresentedFilename returns the path to the file of the window’s represented file. @@ -21786,7 +20756,6 @@ func (x gen_NSWindow) SetRepresentedFilename( ) return - } // RepresentedURL returns the url of the file the window represents. @@ -21797,8 +20766,7 @@ func (x gen_NSWindow) RepresentedURL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // SetRepresentedURL returns the url of the file the window represents. @@ -21813,7 +20781,6 @@ func (x gen_NSWindow) SetRepresentedURL( ) return - } // Screen returns the screen the window is on. @@ -21824,8 +20791,7 @@ func (x gen_NSWindow) Screen() NSScreen { unsafe.Pointer(x.Pointer()), ) - return NSScreen_fromPointer(ret) - + return NSScreen_FromPointer(ret) } // DeepestScreen returns the deepest screen the window is on (it may be split over several screens). @@ -21836,8 +20802,7 @@ func (x gen_NSWindow) DeepestScreen() NSScreen { unsafe.Pointer(x.Pointer()), ) - return NSScreen_fromPointer(ret) - + return NSScreen_FromPointer(ret) } // DisplaysWhenScreenProfileChanges returns a boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. @@ -21849,7 +20814,6 @@ func (x gen_NSWindow) DisplaysWhenScreenProfileChanges() bool { ) return convertObjCBoolToGo(ret) - } // SetDisplaysWhenScreenProfileChanges returns a boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. @@ -21864,7 +20828,6 @@ func (x gen_NSWindow) SetDisplaysWhenScreenProfileChanges( ) return - } // IsMovableByWindowBackground returns a boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. @@ -21876,7 +20839,6 @@ func (x gen_NSWindow) IsMovableByWindowBackground() bool { ) return convertObjCBoolToGo(ret) - } // SetMovableByWindowBackground returns a boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. @@ -21891,7 +20853,6 @@ func (x gen_NSWindow) SetMovableByWindowBackground( ) return - } // IsMovable returns a boolean value that indicates whether the window can be dragged by clicking in its title bar or background. @@ -21903,7 +20864,6 @@ func (x gen_NSWindow) IsMovable() bool { ) return convertObjCBoolToGo(ret) - } // SetMovable returns a boolean value that indicates whether the window can be dragged by clicking in its title bar or background. @@ -21918,7 +20878,6 @@ func (x gen_NSWindow) SetMovable( ) return - } // IsReleasedWhenClosed returns a boolean value that indicates whether the window is released when it receives the close message. @@ -21930,7 +20889,6 @@ func (x gen_NSWindow) IsReleasedWhenClosed() bool { ) return convertObjCBoolToGo(ret) - } // SetReleasedWhenClosed returns a boolean value that indicates whether the window is released when it receives the close message. @@ -21945,7 +20903,6 @@ func (x gen_NSWindow) SetReleasedWhenClosed( ) return - } // IsMiniaturized returns a boolean value that indicates whether the window is minimized. @@ -21957,7 +20914,6 @@ func (x gen_NSWindow) IsMiniaturized() bool { ) return convertObjCBoolToGo(ret) - } // MiniwindowImage returns the custom miniaturized window image of the window. @@ -21968,8 +20924,7 @@ func (x gen_NSWindow) MiniwindowImage() NSImage { unsafe.Pointer(x.Pointer()), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // SetMiniwindowImage returns the custom miniaturized window image of the window. @@ -21984,7 +20939,6 @@ func (x gen_NSWindow) SetMiniwindowImage( ) return - } // MiniwindowTitle returns the title displayed in the window’s minimized window. @@ -21995,8 +20949,7 @@ func (x gen_NSWindow) MiniwindowTitle() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetMiniwindowTitle returns the title displayed in the window’s minimized window. @@ -22011,7 +20964,6 @@ func (x gen_NSWindow) SetMiniwindowTitle( ) return - } // HasCloseBox returns a boolean value that indicates if the window has a close box. @@ -22023,7 +20975,6 @@ func (x gen_NSWindow) HasCloseBox() bool { ) return convertObjCBoolToGo(ret) - } // HasTitleBar returns a boolean value that indicates if the window has a title bar. @@ -22035,7 +20986,6 @@ func (x gen_NSWindow) HasTitleBar() bool { ) return convertObjCBoolToGo(ret) - } // IsModalPanel returns a boolean value that indicates whether the window is a modal panel. @@ -22047,7 +20997,6 @@ func (x gen_NSWindow) IsModalPanel() bool { ) return convertObjCBoolToGo(ret) - } // IsFloatingPanel returns a boolean value that indicates whether the window is a floating panel. @@ -22059,7 +21008,6 @@ func (x gen_NSWindow) IsFloatingPanel() bool { ) return convertObjCBoolToGo(ret) - } // IsZoomable returns a boolean value that indicates whether the window allows zooming. @@ -22071,7 +21019,6 @@ func (x gen_NSWindow) IsZoomable() bool { ) return convertObjCBoolToGo(ret) - } // IsResizable returns a boolean value that indicates if the user can resize the window. @@ -22083,7 +21030,6 @@ func (x gen_NSWindow) IsResizable() bool { ) return convertObjCBoolToGo(ret) - } // IsMiniaturizable returns a boolean value that indicates whether the window can minimize. @@ -22095,7 +21041,6 @@ func (x gen_NSWindow) IsMiniaturizable() bool { ) return convertObjCBoolToGo(ret) - } // OrderedIndex returns the zero-based position of the window, based on its order from front to back among all visible application windows. @@ -22107,7 +21052,6 @@ func (x gen_NSWindow) OrderedIndex() core.NSInteger { ) return core.NSInteger(ret) - } // SetOrderedIndex returns the zero-based position of the window, based on its order from front to back among all visible application windows. @@ -22122,26 +21066,25 @@ func (x gen_NSWindow) SetOrderedIndex( ) return - } type NSWorkspaceRef interface { Pointer() uintptr - Init_asNSWorkspace() NSWorkspace + Init_AsNSWorkspace() NSWorkspace } type gen_NSWorkspace struct { objc.Object } -func NSWorkspace_fromPointer(ptr unsafe.Pointer) NSWorkspace { +func NSWorkspace_FromPointer(ptr unsafe.Pointer) NSWorkspace { return NSWorkspace{gen_NSWorkspace{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSWorkspace_fromRef(ref objc.Ref) NSWorkspace { - return NSWorkspace_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSWorkspace_FromRef(ref objc.Ref) NSWorkspace { + return NSWorkspace_FromPointer(unsafe.Pointer(ref.Pointer())) } // URLForApplicationToOpenURL returns the url to the default app that would be opened. @@ -22155,8 +21098,7 @@ func (x gen_NSWorkspace) URLForApplicationToOpenURL( objc.RefPointer(url), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // URLForApplicationWithBundleIdentifier returns the url for the app with the specified identifier. @@ -22170,8 +21112,7 @@ func (x gen_NSWorkspace) URLForApplicationWithBundleIdentifier( objc.RefPointer(bundleIdentifier), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // URLsForApplicationsToOpenURL @@ -22185,8 +21126,7 @@ func (x gen_NSWorkspace) URLsForApplicationsToOpenURL( objc.RefPointer(url), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // URLsForApplicationsWithBundleIdentifier @@ -22200,8 +21140,7 @@ func (x gen_NSWorkspace) URLsForApplicationsWithBundleIdentifier( objc.RefPointer(bundleIdentifier), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // ActivateFileViewerSelectingURLs activates the finder, and opens one or more windows selecting the specified files. @@ -22216,7 +21155,6 @@ func (x gen_NSWorkspace) ActivateFileViewerSelectingURLs( ) return - } // DesktopImageOptionsForScreen returns the desktop image options for the given screen. @@ -22230,8 +21168,7 @@ func (x gen_NSWorkspace) DesktopImageOptionsForScreen( objc.RefPointer(screen), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // DesktopImageURLForScreen returns the url for the desktop image for the given screen. @@ -22245,8 +21182,7 @@ func (x gen_NSWorkspace) DesktopImageURLForScreen( objc.RefPointer(screen), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // ExtendPowerOffBy requests the system wait for the specified amount of time before turning off the power or logging out the user. @@ -22261,7 +21197,6 @@ func (x gen_NSWorkspace) ExtendPowerOffBy( ) return core.NSInteger(ret) - } // HideOtherApplications hides all applications other than the sender. @@ -22273,7 +21208,6 @@ func (x gen_NSWorkspace) HideOtherApplications() { ) return - } // IconForFile returns an image containing the icon for the specified file. @@ -22287,8 +21221,7 @@ func (x gen_NSWorkspace) IconForFile( objc.RefPointer(fullPath), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // IconForFiles returns an image containing the icon for the specified files. @@ -22302,8 +21235,7 @@ func (x gen_NSWorkspace) IconForFiles( objc.RefPointer(fullPaths), ) - return NSImage_fromPointer(ret) - + return NSImage_FromPointer(ret) } // IsFilePackageAtPath determines whether the specified path is a file package. @@ -22318,7 +21250,6 @@ func (x gen_NSWorkspace) IsFilePackageAtPath( ) return convertObjCBoolToGo(ret) - } // NoteFileSystemChanged informs the workspace object that the file system changed at the specified path. @@ -22333,7 +21264,6 @@ func (x gen_NSWorkspace) NoteFileSystemChanged( ) return - } // OpenURL opens the location at the specified url. @@ -22348,7 +21278,6 @@ func (x gen_NSWorkspace) OpenURL( ) return convertObjCBoolToGo(ret) - } // SelectFileInFileViewerRootedAtPath selects the file at the specified path. @@ -22365,7 +21294,6 @@ func (x gen_NSWorkspace) SelectFileInFileViewerRootedAtPath( ) return convertObjCBoolToGo(ret) - } // ShowSearchResultsForQueryString displays a spotlight search results window in finder for the specified query string. @@ -22380,7 +21308,6 @@ func (x gen_NSWorkspace) ShowSearchResultsForQueryString( ) return convertObjCBoolToGo(ret) - } // UnmountAndEjectDeviceAtPath unmounts and ejects the device at the specified path. @@ -22395,19 +21322,17 @@ func (x gen_NSWorkspace) UnmountAndEjectDeviceAtPath( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSWorkspace) Init_asNSWorkspace() NSWorkspace { +func (x gen_NSWorkspace) Init_AsNSWorkspace() NSWorkspace { ret := C.NSWorkspace_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSWorkspace_fromPointer(ret) - + return NSWorkspace_FromPointer(ret) } // FrontmostApplication returns the frontmost app, which is the app that receives key events. @@ -22418,8 +21343,7 @@ func (x gen_NSWorkspace) FrontmostApplication() NSRunningApplication { unsafe.Pointer(x.Pointer()), ) - return NSRunningApplication_fromPointer(ret) - + return NSRunningApplication_FromPointer(ret) } // RunningApplications returns an array of running apps. @@ -22430,8 +21354,7 @@ func (x gen_NSWorkspace) RunningApplications() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // MenuBarOwningApplication returns the app that owns the currently displayed menu bar. @@ -22442,8 +21365,7 @@ func (x gen_NSWorkspace) MenuBarOwningApplication() NSRunningApplication { unsafe.Pointer(x.Pointer()), ) - return NSRunningApplication_fromPointer(ret) - + return NSRunningApplication_FromPointer(ret) } // FileLabels returns the array of file labels, returned as strings. @@ -22454,8 +21376,7 @@ func (x gen_NSWorkspace) FileLabels() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // FileLabelColors returns the array of colors for the file labels. @@ -22466,8 +21387,7 @@ func (x gen_NSWorkspace) FileLabelColors() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // AccessibilityDisplayShouldDifferentiateWithoutColor returns a boolean value that indicates whether the app avoids conveying information through color alone. @@ -22479,7 +21399,6 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldDifferentiateWithoutColor() b ) return convertObjCBoolToGo(ret) - } // AccessibilityDisplayShouldIncreaseContrast returns a boolean value that indicates whether the app presents a high-contrast user interface. @@ -22491,7 +21410,6 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldIncreaseContrast() bool { ) return convertObjCBoolToGo(ret) - } // AccessibilityDisplayShouldReduceTransparency returns a boolean value that indicates whether the app avoids using semitransparent backgrounds. @@ -22503,7 +21421,6 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceTransparency() bool { ) return convertObjCBoolToGo(ret) - } // AccessibilityDisplayShouldInvertColors returns a boolean value that indicates whether the accessibility option to invert colors is in an enabled state. @@ -22515,7 +21432,6 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldInvertColors() bool { ) return convertObjCBoolToGo(ret) - } // AccessibilityDisplayShouldReduceMotion returns a boolean value that indicates whether the accessibility option to reduce motion is in an enabled state. @@ -22527,7 +21443,6 @@ func (x gen_NSWorkspace) AccessibilityDisplayShouldReduceMotion() bool { ) return convertObjCBoolToGo(ret) - } // IsSwitchControlEnabled returns a boolean value that indicates whether switch control is currently running. @@ -22539,7 +21454,6 @@ func (x gen_NSWorkspace) IsSwitchControlEnabled() bool { ) return convertObjCBoolToGo(ret) - } // IsVoiceOverEnabled returns a boolean value that indicates whether voiceover is currently running. @@ -22551,26 +21465,25 @@ func (x gen_NSWorkspace) IsVoiceOverEnabled() bool { ) return convertObjCBoolToGo(ret) - } type NSColorRef interface { Pointer() uintptr - Init_asNSColor() NSColor + Init_AsNSColor() NSColor } type gen_NSColor struct { objc.Object } -func NSColor_fromPointer(ptr unsafe.Pointer) NSColor { +func NSColor_FromPointer(ptr unsafe.Pointer) NSColor { return NSColor{gen_NSColor{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSColor_fromRef(ref objc.Ref) NSColor { - return NSColor_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSColor_FromRef(ref objc.Ref) NSColor { + return NSColor_FromPointer(unsafe.Pointer(ref.Pointer())) } // BlendedColorWithFractionOfColor creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. @@ -22586,8 +21499,7 @@ func (x gen_NSColor) BlendedColorWithFractionOfColor( objc.RefPointer(color), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // ColorWithAlphaComponent creates a new color object that has the same color space and component values as the current color object, but the specified alpha component. @@ -22601,8 +21513,7 @@ func (x gen_NSColor) ColorWithAlphaComponent( C.double(alpha), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // DrawSwatchInRect draws the current color in the specified rectangle. @@ -22617,7 +21528,6 @@ func (x gen_NSColor) DrawSwatchInRect( ) return - } // HighlightWithLevel creates a new color object that represents a blend between the current color and the highlight color. @@ -22631,8 +21541,7 @@ func (x gen_NSColor) HighlightWithLevel( C.double(val), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // Set sets the color of subsequent drawing to the color that the color object represents. @@ -22644,7 +21553,6 @@ func (x gen_NSColor) Set() { ) return - } // SetFill sets the fill color of subsequent drawing to the color object’s color. @@ -22656,7 +21564,6 @@ func (x gen_NSColor) SetFill() { ) return - } // SetStroke sets the stroke color of subsequent drawing to the color object’s color. @@ -22668,7 +21575,6 @@ func (x gen_NSColor) SetStroke() { ) return - } // ShadowWithLevel creates a new color object that represents a blend between the current color and the shadow color. @@ -22682,8 +21588,7 @@ func (x gen_NSColor) ShadowWithLevel( C.double(val), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // WriteToPasteboard writes the color object’s data to the specified pasteboard. @@ -22698,19 +21603,17 @@ func (x gen_NSColor) WriteToPasteboard( ) return - } // Init // // See for details. -func (x gen_NSColor) Init_asNSColor() NSColor { +func (x gen_NSColor) Init_AsNSColor() NSColor { ret := C.NSColor_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // NumberOfComponents returns the number of components in the color. @@ -22722,7 +21625,6 @@ func (x gen_NSColor) NumberOfComponents() core.NSInteger { ) return core.NSInteger(ret) - } // AlphaComponent returns the alpha (opacity) component value of the color. @@ -22734,7 +21636,6 @@ func (x gen_NSColor) AlphaComponent() core.CGFloat { ) return core.CGFloat(ret) - } // WhiteComponent returns the white component value of the color. @@ -22746,7 +21647,6 @@ func (x gen_NSColor) WhiteComponent() core.CGFloat { ) return core.CGFloat(ret) - } // RedComponent returns the red component value of the color. @@ -22758,7 +21658,6 @@ func (x gen_NSColor) RedComponent() core.CGFloat { ) return core.CGFloat(ret) - } // GreenComponent returns the green component value of the color. @@ -22770,7 +21669,6 @@ func (x gen_NSColor) GreenComponent() core.CGFloat { ) return core.CGFloat(ret) - } // BlueComponent returns the blue component value of the color. @@ -22782,7 +21680,6 @@ func (x gen_NSColor) BlueComponent() core.CGFloat { ) return core.CGFloat(ret) - } // CyanComponent returns the cyan component value of the color. @@ -22794,7 +21691,6 @@ func (x gen_NSColor) CyanComponent() core.CGFloat { ) return core.CGFloat(ret) - } // MagentaComponent returns the magenta component value of the color. @@ -22806,7 +21702,6 @@ func (x gen_NSColor) MagentaComponent() core.CGFloat { ) return core.CGFloat(ret) - } // YellowComponent returns the yellow component value of the color. @@ -22818,7 +21713,6 @@ func (x gen_NSColor) YellowComponent() core.CGFloat { ) return core.CGFloat(ret) - } // BlackComponent returns the black component value of the color. @@ -22830,7 +21724,6 @@ func (x gen_NSColor) BlackComponent() core.CGFloat { ) return core.CGFloat(ret) - } // HueComponent returns the hue component value of the color. @@ -22842,7 +21735,6 @@ func (x gen_NSColor) HueComponent() core.CGFloat { ) return core.CGFloat(ret) - } // SaturationComponent returns the saturation component value of the color. @@ -22854,7 +21746,6 @@ func (x gen_NSColor) SaturationComponent() core.CGFloat { ) return core.CGFloat(ret) - } // BrightnessComponent returns the brightness component value of the color. @@ -22866,7 +21757,6 @@ func (x gen_NSColor) BrightnessComponent() core.CGFloat { ) return core.CGFloat(ret) - } // LocalizedCatalogNameComponent returns the localized version of the catalog name containing the color. @@ -22877,8 +21767,7 @@ func (x gen_NSColor) LocalizedCatalogNameComponent() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // LocalizedColorNameComponent returns the localized version of the color name. @@ -22889,27 +21778,26 @@ func (x gen_NSColor) LocalizedColorNameComponent() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } type NSTextViewRef interface { Pointer() uintptr - Init_asNSTextView() NSTextView + Init_AsNSTextView() NSTextView } type gen_NSTextView struct { NSText } -func NSTextView_fromPointer(ptr unsafe.Pointer) NSTextView { +func NSTextView_FromPointer(ptr unsafe.Pointer) NSTextView { return NSTextView{gen_NSTextView{ - NSText_fromPointer(ptr), + NSText_FromPointer(ptr), }} } -func NSTextView_fromRef(ref objc.Ref) NSTextView { - return NSTextView_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSTextView_FromRef(ref objc.Ref) NSTextView { + return NSTextView_FromPointer(unsafe.Pointer(ref.Pointer())) } // AlignJustified applies full justification to selected paragraphs (or all text, if the receiver is a plain text object). @@ -22924,7 +21812,6 @@ func (x gen_NSTextView) AlignJustified( ) return - } // BreakUndoCoalescing informs the receiver that it should begin coalescing successive typing operations in a new undo grouping. @@ -22936,7 +21823,6 @@ func (x gen_NSTextView) BreakUndoCoalescing() { ) return - } // ChangeAttributes changes the attributes of the current selection. @@ -22951,7 +21837,6 @@ func (x gen_NSTextView) ChangeAttributes( ) return - } // ChangeColor sets the color of the selected text. @@ -22966,7 +21851,6 @@ func (x gen_NSTextView) ChangeColor( ) return - } // ChangeDocumentBackgroundColor an action method used to set the background color. @@ -22981,7 +21865,6 @@ func (x gen_NSTextView) ChangeDocumentBackgroundColor( ) return - } // ChangeLayoutOrientation an action method that sets the layout orientation of the text. @@ -22996,7 +21879,6 @@ func (x gen_NSTextView) ChangeLayoutOrientation( ) return - } // CharacterIndexForInsertionAtPoint returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point. @@ -23011,7 +21893,6 @@ func (x gen_NSTextView) CharacterIndexForInsertionAtPoint( ) return core.NSUInteger(ret) - } // CheckTextInDocument performs the default text checking on the entire document. @@ -23026,7 +21907,6 @@ func (x gen_NSTextView) CheckTextInDocument( ) return - } // CheckTextInSelection performs the default text checking on the current selection. @@ -23041,7 +21921,6 @@ func (x gen_NSTextView) CheckTextInSelection( ) return - } // CleanUpAfterDragOperation releases the drag information still existing after the dragging session has completed. @@ -23053,7 +21932,6 @@ func (x gen_NSTextView) CleanUpAfterDragOperation() { ) return - } // ClickedOnLinkAtIndex causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. @@ -23070,7 +21948,6 @@ func (x gen_NSTextView) ClickedOnLinkAtIndex( ) return - } // Complete invokes completion in a text view. @@ -23085,7 +21962,6 @@ func (x gen_NSTextView) Complete( ) return - } // DidChangeText sends out necessary notifications when a text change completes. @@ -23097,7 +21973,6 @@ func (x gen_NSTextView) DidChangeText() { ) return - } // DragSelectionWithEventOffsetSlideBack begins dragging the current selected text range. @@ -23116,7 +21991,6 @@ func (x gen_NSTextView) DragSelectionWithEventOffsetSlideBack( ) return convertObjCBoolToGo(ret) - } // DrawInsertionPointInRectColorTurnedOn draws or erases the insertion point. @@ -23135,7 +22009,6 @@ func (x gen_NSTextView) DrawInsertionPointInRectColorTurnedOn( ) return - } // DrawViewBackgroundInRect draws the background of the text view. @@ -23150,13 +22023,12 @@ func (x gen_NSTextView) DrawViewBackgroundInRect( ) return - } // InitWithFrame initializes a text view. // // See https://developer.apple.com/documentation/appkit/nstextview/1449262-initwithframe?language=objc for details. -func (x gen_NSTextView) InitWithFrame_asNSTextView( +func (x gen_NSTextView) InitWithFrame_AsNSTextView( frameRect core.NSRect, ) NSTextView { ret := C.NSTextView_inst_InitWithFrame( @@ -23164,14 +22036,13 @@ func (x gen_NSTextView) InitWithFrame_asNSTextView( *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // InitWithFrameTextContainer initializes a text view. // // See https://developer.apple.com/documentation/appkit/nstextview/1449347-initwithframe?language=objc for details. -func (x gen_NSTextView) InitWithFrameTextContainer_asNSTextView( +func (x gen_NSTextView) InitWithFrameTextContainer_AsNSTextView( frameRect core.NSRect, container NSTextContainerRef, ) NSTextView { @@ -23181,8 +22052,7 @@ func (x gen_NSTextView) InitWithFrameTextContainer_asNSTextView( objc.RefPointer(container), ) - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // InvalidateTextContainerOrigin invalidates the calculated origin of the text container. @@ -23194,7 +22064,6 @@ func (x gen_NSTextView) InvalidateTextContainerOrigin() { ) return - } // LoosenKerning increases the space between glyphs in the receiver’s selection, or in all text if the receiver is a plain text view. @@ -23209,7 +22078,6 @@ func (x gen_NSTextView) LoosenKerning( ) return - } // LowerBaseline lowers the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. @@ -23224,7 +22092,6 @@ func (x gen_NSTextView) LowerBaseline( ) return - } // OrderFrontLinkPanel brings forward a panel allowing the user to manipulate links in the text view. @@ -23239,7 +22106,6 @@ func (x gen_NSTextView) OrderFrontLinkPanel( ) return - } // OrderFrontListPanel brings forward a panel allowing the user to manipulate text lists in the text view. @@ -23254,7 +22120,6 @@ func (x gen_NSTextView) OrderFrontListPanel( ) return - } // OrderFrontSharingServicePicker creates and displays a new instance of the sharing service picker. @@ -23269,7 +22134,6 @@ func (x gen_NSTextView) OrderFrontSharingServicePicker( ) return - } // OrderFrontSpacingPanel brings forward a panel allowing the user to manipulate text line heights, interline spacing, and paragraph spacing, in the text view. @@ -23284,7 +22148,6 @@ func (x gen_NSTextView) OrderFrontSpacingPanel( ) return - } // OrderFrontSubstitutionsPanel brings forward a panel allowing the user to specify string substitutions in the text view. @@ -23299,7 +22162,6 @@ func (x gen_NSTextView) OrderFrontSubstitutionsPanel( ) return - } // OrderFrontTablePanel brings forward a panel allowing the user to manipulate text tables in the text view. @@ -23314,7 +22176,6 @@ func (x gen_NSTextView) OrderFrontTablePanel( ) return - } // Outline adds the outline attribute to the selected text attributes if absent; removes the attribute if present. @@ -23329,7 +22190,6 @@ func (x gen_NSTextView) Outline( ) return - } // PasteAsPlainText inserts the contents of the pasteboard into the receiver’s text as plain text. @@ -23344,7 +22204,6 @@ func (x gen_NSTextView) PasteAsPlainText( ) return - } // PasteAsRichText this action method inserts the contents of the pasteboard into the receiver’s text as rich text, maintaining its attributes. @@ -23359,7 +22218,6 @@ func (x gen_NSTextView) PasteAsRichText( ) return - } // PerformFindPanelAction performs a find panel action specified by the sender's tag. @@ -23374,7 +22232,6 @@ func (x gen_NSTextView) PerformFindPanelAction( ) return - } // QuickLookPreviewableItemsInRanges returns an array of urls for items that can be displayed by quicklook in the specified ranges. @@ -23388,8 +22245,7 @@ func (x gen_NSTextView) QuickLookPreviewableItemsInRanges( objc.RefPointer(ranges), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // RaiseBaseline raises the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. @@ -23404,7 +22260,6 @@ func (x gen_NSTextView) RaiseBaseline( ) return - } // ReadSelectionFromPasteboard reads the text view’s preferred type of data from the specified pasteboard. @@ -23419,7 +22274,6 @@ func (x gen_NSTextView) ReadSelectionFromPasteboard( ) return convertObjCBoolToGo(ret) - } // ReplaceTextContainer replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact. @@ -23434,7 +22288,6 @@ func (x gen_NSTextView) ReplaceTextContainer( ) return - } // SetConstrainedFrameSize attempts to set the frame size as if by user action. @@ -23449,7 +22302,6 @@ func (x gen_NSTextView) SetConstrainedFrameSize( ) return - } // SetNeedsDisplayInRectAvoidAdditionalLayout marks the receiver as requiring display. @@ -23466,7 +22318,6 @@ func (x gen_NSTextView) SetNeedsDisplayInRectAvoidAdditionalLayout( ) return - } // ShouldChangeTextInRangesReplacementStrings initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. @@ -23483,7 +22334,6 @@ func (x gen_NSTextView) ShouldChangeTextInRangesReplacementStrings( ) return convertObjCBoolToGo(ret) - } // StartSpeaking speaks the selected text, or all text if no selection. @@ -23498,7 +22348,6 @@ func (x gen_NSTextView) StartSpeaking( ) return - } // StopSpeaking stops the speaking of text. @@ -23513,7 +22362,6 @@ func (x gen_NSTextView) StopSpeaking( ) return - } // TightenKerning decreases the space between glyphs in the receiver’s selection, or for all glyphs if the receiver is a plain text view. @@ -23528,7 +22376,6 @@ func (x gen_NSTextView) TightenKerning( ) return - } // ToggleAutomaticDashSubstitution toggles the state of the automatic dash substitution. @@ -23543,7 +22390,6 @@ func (x gen_NSTextView) ToggleAutomaticDashSubstitution( ) return - } // ToggleAutomaticDataDetection toggles the state of the automatic data detection. @@ -23558,7 +22404,6 @@ func (x gen_NSTextView) ToggleAutomaticDataDetection( ) return - } // ToggleAutomaticLinkDetection changes the state of automatic link detection from enabled to disabled and vice versa. @@ -23573,7 +22418,6 @@ func (x gen_NSTextView) ToggleAutomaticLinkDetection( ) return - } // ToggleAutomaticQuoteSubstitution changes the state of automatic quotation mark substitution from enabled to disabled and vice versa. @@ -23588,7 +22432,6 @@ func (x gen_NSTextView) ToggleAutomaticQuoteSubstitution( ) return - } // ToggleAutomaticSpellingCorrection toggles the state of the automatic spelling correction. @@ -23603,7 +22446,6 @@ func (x gen_NSTextView) ToggleAutomaticSpellingCorrection( ) return - } // ToggleAutomaticTextCompletion @@ -23618,7 +22460,6 @@ func (x gen_NSTextView) ToggleAutomaticTextCompletion( ) return - } // ToggleAutomaticTextReplacement toggles the state of the automatic text replacement. @@ -23633,7 +22474,6 @@ func (x gen_NSTextView) ToggleAutomaticTextReplacement( ) return - } // ToggleContinuousSpellChecking toggles whether continuous spell checking is enabled for the receiver. @@ -23648,7 +22488,6 @@ func (x gen_NSTextView) ToggleContinuousSpellChecking( ) return - } // ToggleGrammarChecking changes the state of grammar checking from enabled to disabled and vice versa. @@ -23663,7 +22502,6 @@ func (x gen_NSTextView) ToggleGrammarChecking( ) return - } // ToggleQuickLookPreviewPanel an action message that toggles the visibility state of the quick look preview panel. @@ -23678,7 +22516,6 @@ func (x gen_NSTextView) ToggleQuickLookPreviewPanel( ) return - } // ToggleSmartInsertDelete changes the state of smart insert and delete from enabled to disabled and vice versa. @@ -23693,7 +22530,6 @@ func (x gen_NSTextView) ToggleSmartInsertDelete( ) return - } // TurnOffKerning sets the receiver to use nominal glyph spacing for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. @@ -23708,7 +22544,6 @@ func (x gen_NSTextView) TurnOffKerning( ) return - } // TurnOffLigatures sets the receiver to use only required ligatures when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. @@ -23723,7 +22558,6 @@ func (x gen_NSTextView) TurnOffLigatures( ) return - } // UpdateCandidates @@ -23735,7 +22569,6 @@ func (x gen_NSTextView) UpdateCandidates() { ) return - } // UpdateDragTypeRegistration updates the acceptable drag types of all text views associated with the receiver's layout manager. @@ -23747,7 +22580,6 @@ func (x gen_NSTextView) UpdateDragTypeRegistration() { ) return - } // UpdateFontPanel updates the font panel to contain the font attributes of the selection. @@ -23759,7 +22591,6 @@ func (x gen_NSTextView) UpdateFontPanel() { ) return - } // UpdateInsertionPointStateAndRestartTimer updates the insertion point’s location and optionally restarts the blinking cursor timer. @@ -23774,7 +22605,6 @@ func (x gen_NSTextView) UpdateInsertionPointStateAndRestartTimer( ) return - } // UpdateQuickLookPreviewPanel notifies the quicklook panel that an update may be required. @@ -23786,7 +22616,6 @@ func (x gen_NSTextView) UpdateQuickLookPreviewPanel() { ) return - } // UpdateRuler updates the ruler view in the receiver’s enclosing scroll view to reflect the selection’s paragraph and marker attributes. @@ -23798,7 +22627,6 @@ func (x gen_NSTextView) UpdateRuler() { ) return - } // UpdateTextTouchBarItems @@ -23810,7 +22638,6 @@ func (x gen_NSTextView) UpdateTextTouchBarItems() { ) return - } // UpdateTouchBarItemIdentifiers @@ -23822,7 +22649,6 @@ func (x gen_NSTextView) UpdateTouchBarItemIdentifiers() { ) return - } // UseAllLigatures sets the receiver to use all ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. @@ -23837,7 +22663,6 @@ func (x gen_NSTextView) UseAllLigatures( ) return - } // UseStandardKerning set the receiver to use pair kerning data for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. @@ -23852,7 +22677,6 @@ func (x gen_NSTextView) UseStandardKerning( ) return - } // UseStandardLigatures sets the receiver to use the standard ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. @@ -23867,7 +22691,6 @@ func (x gen_NSTextView) UseStandardLigatures( ) return - } // WriteSelectionToPasteboardTypes writes the current selection to the specified pasteboard under each given type. @@ -23884,19 +22707,17 @@ func (x gen_NSTextView) WriteSelectionToPasteboardTypes( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSTextView) Init_asNSTextView() NSTextView { +func (x gen_NSTextView) Init_AsNSTextView() NSTextView { ret := C.NSTextView_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSTextView_fromPointer(ret) - + return NSTextView_FromPointer(ret) } // Delegate returns the delegate for all text views sharing the receiver’s layout manager. @@ -23907,8 +22728,7 @@ func (x gen_NSTextView) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the delegate for all text views sharing the receiver’s layout manager. @@ -23923,7 +22743,6 @@ func (x gen_NSTextView) SetDelegate( ) return - } // TextContainer returns the receiver’s text container. @@ -23934,8 +22753,7 @@ func (x gen_NSTextView) TextContainer() NSTextContainer { unsafe.Pointer(x.Pointer()), ) - return NSTextContainer_fromPointer(ret) - + return NSTextContainer_FromPointer(ret) } // SetTextContainer returns the receiver’s text container. @@ -23950,7 +22768,6 @@ func (x gen_NSTextView) SetTextContainer( ) return - } // TextContainerInset returns the empty space the receiver leaves around its associated text container. @@ -23962,7 +22779,6 @@ func (x gen_NSTextView) TextContainerInset() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // SetTextContainerInset returns the empty space the receiver leaves around its associated text container. @@ -23977,7 +22793,6 @@ func (x gen_NSTextView) SetTextContainerInset( ) return - } // TextContainerOrigin returns the origin of the receiver’s text container. @@ -23989,7 +22804,6 @@ func (x gen_NSTextView) TextContainerOrigin() core.NSPoint { ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // LayoutManager returns the layout manager that lays out text for the receiver’s text container. @@ -24000,8 +22814,7 @@ func (x gen_NSTextView) LayoutManager() NSLayoutManager { unsafe.Pointer(x.Pointer()), ) - return NSLayoutManager_fromPointer(ret) - + return NSLayoutManager_FromPointer(ret) } // BackgroundColor returns the receiver’s background color. @@ -24012,8 +22825,7 @@ func (x gen_NSTextView) BackgroundColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBackgroundColor returns the receiver’s background color. @@ -24028,7 +22840,6 @@ func (x gen_NSTextView) SetBackgroundColor( ) return - } // DrawsBackground returns a boolean value that indicates whether the receiver draws its background. @@ -24040,7 +22851,6 @@ func (x gen_NSTextView) DrawsBackground() bool { ) return convertObjCBoolToGo(ret) - } // SetDrawsBackground returns a boolean value that indicates whether the receiver draws its background. @@ -24055,7 +22865,6 @@ func (x gen_NSTextView) SetDrawsBackground( ) return - } // AllowsDocumentBackgroundColorChange returns a boolean value that indicates whether the receiver allows its background color to change. @@ -24067,7 +22876,6 @@ func (x gen_NSTextView) AllowsDocumentBackgroundColorChange() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsDocumentBackgroundColorChange returns a boolean value that indicates whether the receiver allows its background color to change. @@ -24082,7 +22890,6 @@ func (x gen_NSTextView) SetAllowsDocumentBackgroundColorChange( ) return - } // ShouldDrawInsertionPoint returns a boolean value that determines whether the receiver should draw its insertion point. @@ -24094,7 +22901,6 @@ func (x gen_NSTextView) ShouldDrawInsertionPoint() bool { ) return convertObjCBoolToGo(ret) - } // AllowedInputSourceLocales an array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. @@ -24105,8 +22911,7 @@ func (x gen_NSTextView) AllowedInputSourceLocales() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetAllowedInputSourceLocales an array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. @@ -24121,7 +22926,6 @@ func (x gen_NSTextView) SetAllowedInputSourceLocales( ) return - } // AllowsUndo returns a boolean value that indicates whether the receiver allows undo. @@ -24133,7 +22937,6 @@ func (x gen_NSTextView) AllowsUndo() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsUndo returns a boolean value that indicates whether the receiver allows undo. @@ -24148,7 +22951,6 @@ func (x gen_NSTextView) SetAllowsUndo( ) return - } // IsEditable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. @@ -24160,7 +22962,6 @@ func (x gen_NSTextView) IsEditable() bool { ) return convertObjCBoolToGo(ret) - } // SetEditable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text. @@ -24175,7 +22976,6 @@ func (x gen_NSTextView) SetEditable( ) return - } // IsSelectable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. @@ -24187,7 +22987,6 @@ func (x gen_NSTextView) IsSelectable() bool { ) return convertObjCBoolToGo(ret) - } // SetSelectable returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text. @@ -24202,7 +23001,6 @@ func (x gen_NSTextView) SetSelectable( ) return - } // IsFieldEditor returns a boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. @@ -24214,7 +23012,6 @@ func (x gen_NSTextView) IsFieldEditor() bool { ) return convertObjCBoolToGo(ret) - } // SetFieldEditor returns a boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors. @@ -24229,7 +23026,6 @@ func (x gen_NSTextView) SetFieldEditor( ) return - } // IsRichText returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. @@ -24241,7 +23037,6 @@ func (x gen_NSTextView) IsRichText() bool { ) return convertObjCBoolToGo(ret) - } // SetRichText returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to apply attributes to specific ranges of text. @@ -24256,7 +23051,6 @@ func (x gen_NSTextView) SetRichText( ) return - } // ImportsGraphics returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. @@ -24268,7 +23062,6 @@ func (x gen_NSTextView) ImportsGraphics() bool { ) return convertObjCBoolToGo(ret) - } // SetImportsGraphics returns a boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging. @@ -24283,7 +23076,6 @@ func (x gen_NSTextView) SetImportsGraphics( ) return - } // AllowsImageEditing indicates whether image attachments should permit editing of their images. @@ -24295,7 +23087,6 @@ func (x gen_NSTextView) AllowsImageEditing() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsImageEditing indicates whether image attachments should permit editing of their images. @@ -24310,7 +23101,6 @@ func (x gen_NSTextView) SetAllowsImageEditing( ) return - } // IsAutomaticQuoteSubstitutionEnabled returns a boolean value that enables and disables automatic quotation mark substitution. @@ -24322,7 +23112,6 @@ func (x gen_NSTextView) IsAutomaticQuoteSubstitutionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticQuoteSubstitutionEnabled returns a boolean value that enables and disables automatic quotation mark substitution. @@ -24337,7 +23126,6 @@ func (x gen_NSTextView) SetAutomaticQuoteSubstitutionEnabled( ) return - } // IsAutomaticLinkDetectionEnabled returns a boolean value that enables or disables automatic link detection. @@ -24349,7 +23137,6 @@ func (x gen_NSTextView) IsAutomaticLinkDetectionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticLinkDetectionEnabled returns a boolean value that enables or disables automatic link detection. @@ -24364,7 +23151,6 @@ func (x gen_NSTextView) SetAutomaticLinkDetectionEnabled( ) return - } // DisplaysLinkToolTips returns a boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. @@ -24376,7 +23162,6 @@ func (x gen_NSTextView) DisplaysLinkToolTips() bool { ) return convertObjCBoolToGo(ret) - } // SetDisplaysLinkToolTips returns a boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. @@ -24391,7 +23176,6 @@ func (x gen_NSTextView) SetDisplaysLinkToolTips( ) return - } // IsAutomaticTextCompletionEnabled returns a boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. @@ -24403,7 +23187,6 @@ func (x gen_NSTextView) IsAutomaticTextCompletionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticTextCompletionEnabled returns a boolean vlaue that inidcates whether the text view supplies autocompletion suggestions as the user types. @@ -24418,7 +23201,6 @@ func (x gen_NSTextView) SetAutomaticTextCompletionEnabled( ) return - } // UsesAdaptiveColorMappingForDarkAppearance returns a boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. @@ -24430,7 +23212,6 @@ func (x gen_NSTextView) UsesAdaptiveColorMappingForDarkAppearance() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesAdaptiveColorMappingForDarkAppearance returns a boolean vlaues that indicates whether the framework should use adaptive color mapping for dark appearance. @@ -24445,7 +23226,6 @@ func (x gen_NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance( ) return - } // UsesRolloverButtonForSelection @@ -24457,7 +23237,6 @@ func (x gen_NSTextView) UsesRolloverButtonForSelection() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesRolloverButtonForSelection @@ -24472,7 +23251,6 @@ func (x gen_NSTextView) SetUsesRolloverButtonForSelection( ) return - } // UsesRuler returns a boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. @@ -24484,7 +23262,6 @@ func (x gen_NSTextView) UsesRuler() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesRuler returns a boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. @@ -24499,7 +23276,6 @@ func (x gen_NSTextView) SetUsesRuler( ) return - } // IsRulerVisible returns a boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. @@ -24511,7 +23287,6 @@ func (x gen_NSTextView) IsRulerVisible() bool { ) return convertObjCBoolToGo(ret) - } // SetRulerVisible returns a boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. @@ -24526,7 +23301,6 @@ func (x gen_NSTextView) SetRulerVisible( ) return - } // UsesInspectorBar returns a boolean value that indicates whether this text view uses the inspector bar. @@ -24538,7 +23312,6 @@ func (x gen_NSTextView) UsesInspectorBar() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesInspectorBar returns a boolean value that indicates whether this text view uses the inspector bar. @@ -24553,7 +23326,6 @@ func (x gen_NSTextView) SetUsesInspectorBar( ) return - } // SelectedRanges an array containing the ranges of characters selected in the receiver’s layout manager. @@ -24564,8 +23336,7 @@ func (x gen_NSTextView) SelectedRanges() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetSelectedRanges an array containing the ranges of characters selected in the receiver’s layout manager. @@ -24580,7 +23351,6 @@ func (x gen_NSTextView) SetSelectedRanges( ) return - } // InsertionPointColor returns the color of the insertion point. @@ -24591,8 +23361,7 @@ func (x gen_NSTextView) InsertionPointColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetInsertionPointColor returns the color of the insertion point. @@ -24607,7 +23376,6 @@ func (x gen_NSTextView) SetInsertionPointColor( ) return - } // SelectedTextAttributes returns the attributes used to indicate the selection. @@ -24618,8 +23386,7 @@ func (x gen_NSTextView) SelectedTextAttributes() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // SetSelectedTextAttributes returns the attributes used to indicate the selection. @@ -24634,7 +23401,6 @@ func (x gen_NSTextView) SetSelectedTextAttributes( ) return - } // MarkedTextAttributes returns the attributes used to draw marked text. @@ -24645,8 +23411,7 @@ func (x gen_NSTextView) MarkedTextAttributes() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // SetMarkedTextAttributes returns the attributes used to draw marked text. @@ -24661,7 +23426,6 @@ func (x gen_NSTextView) SetMarkedTextAttributes( ) return - } // LinkTextAttributes returns the attributes used to draw the onscreen presentation of link text. @@ -24672,8 +23436,7 @@ func (x gen_NSTextView) LinkTextAttributes() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // SetLinkTextAttributes returns the attributes used to draw the onscreen presentation of link text. @@ -24688,7 +23451,6 @@ func (x gen_NSTextView) SetLinkTextAttributes( ) return - } // ReadablePasteboardTypes returns the types this text view can read immediately from the pasteboard. @@ -24699,8 +23461,7 @@ func (x gen_NSTextView) ReadablePasteboardTypes() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // WritablePasteboardTypes returns the pasteboard types that can be provided from the current selection. @@ -24711,8 +23472,7 @@ func (x gen_NSTextView) WritablePasteboardTypes() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // TypingAttributes returns the receiver’s typing attributes. @@ -24723,8 +23483,7 @@ func (x gen_NSTextView) TypingAttributes() core.NSDictionary { unsafe.Pointer(x.Pointer()), ) - return core.NSDictionary_fromPointer(ret) - + return core.NSDictionary_FromPointer(ret) } // SetTypingAttributes returns the receiver’s typing attributes. @@ -24739,7 +23498,6 @@ func (x gen_NSTextView) SetTypingAttributes( ) return - } // IsCoalescingUndo returns a boolean value that indicates whether undo coalescing is in progress. @@ -24751,7 +23509,6 @@ func (x gen_NSTextView) IsCoalescingUndo() bool { ) return convertObjCBoolToGo(ret) - } // AcceptableDragTypes returns the data types that the receiver accepts as the destination view of a dragging operation. @@ -24762,8 +23519,7 @@ func (x gen_NSTextView) AcceptableDragTypes() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // RangesForUserCharacterAttributeChange an array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes. @@ -24774,8 +23530,7 @@ func (x gen_NSTextView) RangesForUserCharacterAttributeChange() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // RangesForUserParagraphAttributeChange an array containing the ranges of characters affected by a method that changes paragraph (not character) attributes. @@ -24786,8 +23541,7 @@ func (x gen_NSTextView) RangesForUserParagraphAttributeChange() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // RangesForUserTextChange an array containing the ranges of characters affected by a method that changes characters (as opposed to attributes). @@ -24798,8 +23552,7 @@ func (x gen_NSTextView) RangesForUserTextChange() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SmartInsertDeleteEnabled returns a boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. @@ -24811,7 +23564,6 @@ func (x gen_NSTextView) SmartInsertDeleteEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetSmartInsertDeleteEnabled returns a boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. @@ -24826,7 +23578,6 @@ func (x gen_NSTextView) SetSmartInsertDeleteEnabled( ) return - } // IsContinuousSpellCheckingEnabled returns a boolean value that indicates whether the receiver has continuous spell checking enabled. @@ -24838,7 +23589,6 @@ func (x gen_NSTextView) IsContinuousSpellCheckingEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetContinuousSpellCheckingEnabled returns a boolean value that indicates whether the receiver has continuous spell checking enabled. @@ -24853,7 +23603,6 @@ func (x gen_NSTextView) SetContinuousSpellCheckingEnabled( ) return - } // SpellCheckerDocumentTag returns a tag identifying the text view's text as a document for the spell checker server. @@ -24865,7 +23614,6 @@ func (x gen_NSTextView) SpellCheckerDocumentTag() core.NSInteger { ) return core.NSInteger(ret) - } // IsGrammarCheckingEnabled enables and disables grammar checking. @@ -24877,7 +23625,6 @@ func (x gen_NSTextView) IsGrammarCheckingEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetGrammarCheckingEnabled enables and disables grammar checking. @@ -24892,7 +23639,6 @@ func (x gen_NSTextView) SetGrammarCheckingEnabled( ) return - } // AcceptsGlyphInfo returns a boolean value that indicates whether the receiver accepts the glyph info attribute. @@ -24904,7 +23650,6 @@ func (x gen_NSTextView) AcceptsGlyphInfo() bool { ) return convertObjCBoolToGo(ret) - } // SetAcceptsGlyphInfo returns a boolean value that indicates whether the receiver accepts the glyph info attribute. @@ -24919,7 +23664,6 @@ func (x gen_NSTextView) SetAcceptsGlyphInfo( ) return - } // UsesFontPanel returns a boolean value that controls whether the text views sharing the receiver’s layout manager use the font panel and font menu. @@ -24931,7 +23675,6 @@ func (x gen_NSTextView) UsesFontPanel() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesFontPanel returns a boolean value that controls whether the text views sharing the receiver’s layout manager use the font panel and font menu. @@ -24946,7 +23689,6 @@ func (x gen_NSTextView) SetUsesFontPanel( ) return - } // UsesFindPanel returns a boolean value that indicates whether the receiver allows for a find panel. @@ -24958,7 +23700,6 @@ func (x gen_NSTextView) UsesFindPanel() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesFindPanel returns a boolean value that indicates whether the receiver allows for a find panel. @@ -24973,7 +23714,6 @@ func (x gen_NSTextView) SetUsesFindPanel( ) return - } // IsAutomaticDashSubstitutionEnabled returns a boolean value that indicates whether automatic dash substitution is enabled. @@ -24985,7 +23725,6 @@ func (x gen_NSTextView) IsAutomaticDashSubstitutionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticDashSubstitutionEnabled returns a boolean value that indicates whether automatic dash substitution is enabled. @@ -25000,7 +23739,6 @@ func (x gen_NSTextView) SetAutomaticDashSubstitutionEnabled( ) return - } // IsAutomaticDataDetectionEnabled returns a boolean value that indicates whether automatic data detection is enabled. @@ -25012,7 +23750,6 @@ func (x gen_NSTextView) IsAutomaticDataDetectionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticDataDetectionEnabled returns a boolean value that indicates whether automatic data detection is enabled. @@ -25027,7 +23764,6 @@ func (x gen_NSTextView) SetAutomaticDataDetectionEnabled( ) return - } // IsAutomaticSpellingCorrectionEnabled returns a boolean value that indicates whether automatic spelling correction is enabled. @@ -25039,7 +23775,6 @@ func (x gen_NSTextView) IsAutomaticSpellingCorrectionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticSpellingCorrectionEnabled returns a boolean value that indicates whether automatic spelling correction is enabled. @@ -25054,7 +23789,6 @@ func (x gen_NSTextView) SetAutomaticSpellingCorrectionEnabled( ) return - } // IsAutomaticTextReplacementEnabled returns a boolean value that indicates whether automatic text replacement is enabled. @@ -25066,7 +23800,6 @@ func (x gen_NSTextView) IsAutomaticTextReplacementEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetAutomaticTextReplacementEnabled returns a boolean value that indicates whether automatic text replacement is enabled. @@ -25081,7 +23814,6 @@ func (x gen_NSTextView) SetAutomaticTextReplacementEnabled( ) return - } // UsesFindBar returns a boolean value that indicates whether to use the find bar for this text view. @@ -25093,7 +23825,6 @@ func (x gen_NSTextView) UsesFindBar() bool { ) return convertObjCBoolToGo(ret) - } // SetUsesFindBar returns a boolean value that indicates whether to use the find bar for this text view. @@ -25108,7 +23839,6 @@ func (x gen_NSTextView) SetUsesFindBar( ) return - } // IsIncrementalSearchingEnabled returns a boolean value that indicates whether incremental searching is enabled. @@ -25120,7 +23850,6 @@ func (x gen_NSTextView) IsIncrementalSearchingEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetIncrementalSearchingEnabled returns a boolean value that indicates whether incremental searching is enabled. @@ -25135,7 +23864,6 @@ func (x gen_NSTextView) SetIncrementalSearchingEnabled( ) return - } // AllowsCharacterPickerTouchBarItem @@ -25147,7 +23875,6 @@ func (x gen_NSTextView) AllowsCharacterPickerTouchBarItem() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsCharacterPickerTouchBarItem @@ -25162,7 +23889,6 @@ func (x gen_NSTextView) SetAllowsCharacterPickerTouchBarItem( ) return - } // Font @@ -25173,8 +23899,7 @@ func (x gen_NSTextView) Font() NSFont { unsafe.Pointer(x.Pointer()), ) - return NSFont_fromPointer(ret) - + return NSFont_FromPointer(ret) } // SetFont @@ -25189,26 +23914,25 @@ func (x gen_NSTextView) SetFont( ) return - } type NSViewRef interface { Pointer() uintptr - Init_asNSView() NSView + Init_AsNSView() NSView } type gen_NSView struct { objc.Object } -func NSView_fromPointer(ptr unsafe.Pointer) NSView { +func NSView_FromPointer(ptr unsafe.Pointer) NSView { return NSView{gen_NSView{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSView_fromRef(ref objc.Ref) NSView { - return NSView_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSView_FromRef(ref objc.Ref) NSView { + return NSView_FromPointer(unsafe.Pointer(ref.Pointer())) } // AcceptsFirstMouse overridden by subclasses to return yes if the view should be sent a mousedown: message for an initial mouse-down event, no if not. @@ -25223,7 +23947,6 @@ func (x gen_NSView) AcceptsFirstMouse( ) return convertObjCBoolToGo(ret) - } // AddConstraints adds multiple constraints on the layout of the receiving view or its subviews. @@ -25238,7 +23961,6 @@ func (x gen_NSView) AddConstraints( ) return - } // AddSubview adds a view to the view’s subviews so it’s displayed above its siblings. @@ -25253,7 +23975,6 @@ func (x gen_NSView) AddSubview( ) return - } // AddSubviewPositionedRelativeTo inserts a view among the view’s subviews so it’s displayed immediately above or below another view. @@ -25272,7 +23993,6 @@ func (x gen_NSView) AddSubviewPositionedRelativeTo( ) return - } // AdjustScroll overridden by subclasses to modify a given rectangle, returning the altered rectangle. @@ -25287,7 +24007,6 @@ func (x gen_NSView) AdjustScroll( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // AlignmentRectForFrame returns the view’s alignment rectangle for a given frame. @@ -25302,7 +24021,6 @@ func (x gen_NSView) AlignmentRectForFrame( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // AncestorSharedWithView returns the closest ancestor shared by the view and another specified view. @@ -25316,8 +24034,7 @@ func (x gen_NSView) AncestorSharedWithView( objc.RefPointer(view), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // Autoscroll scrolls the view’s closest ancestor nsclipview object proportionally to the distance of an event that occurs outside of it. @@ -25332,7 +24049,6 @@ func (x gen_NSView) Autoscroll( ) return convertObjCBoolToGo(ret) - } // BeginDocument invoked at the beginning of the printing session, this method sets up the current graphics context. @@ -25344,7 +24060,6 @@ func (x gen_NSView) BeginDocument() { ) return - } // BeginPageInRectAtPlacement called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. @@ -25361,7 +24076,6 @@ func (x gen_NSView) BeginPageInRectAtPlacement( ) return - } // CenterScanRect converts the corners of a specified rectangle to lie on the center of device pixels, which is useful in compensating for rendering overscanning when the coordinate system has been scaled. @@ -25376,7 +24090,6 @@ func (x gen_NSView) CenterScanRect( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertPointFromView converts a point from the coordinate system of a given view to that of the view. @@ -25393,7 +24106,6 @@ func (x gen_NSView) ConvertPointFromView( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointToView converts a point from the view’s coordinate system to that of a given view. @@ -25410,7 +24122,6 @@ func (x gen_NSView) ConvertPointToView( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointFromBacking converts a point from its pixel aligned backing store coordinate system to the view’s interior coordinate system. @@ -25425,7 +24136,6 @@ func (x gen_NSView) ConvertPointFromBacking( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointFromLayer convert the point from the layer's interior coordinate system to the view’s interior coordinate system. @@ -25440,7 +24150,6 @@ func (x gen_NSView) ConvertPointFromLayer( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointToBacking converts a point from the view’s interior coordinate system to its pixel aligned backing store coordinate system. @@ -25455,7 +24164,6 @@ func (x gen_NSView) ConvertPointToBacking( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertPointToLayer convert the size from the view’s interior coordinate system to the layer's interior coordinate system. @@ -25470,7 +24178,6 @@ func (x gen_NSView) ConvertPointToLayer( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // ConvertRectFromView converts a rectangle from the coordinate system of another view to that of the view. @@ -25487,7 +24194,6 @@ func (x gen_NSView) ConvertRectFromView( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToView converts a rectangle from the view’s coordinate system to that of another view. @@ -25504,7 +24210,6 @@ func (x gen_NSView) ConvertRectToView( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectFromBacking converts a rectangle from its pixel aligned backing store coordinate system to the view’s interior coordinate system. @@ -25519,7 +24224,6 @@ func (x gen_NSView) ConvertRectFromBacking( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectFromLayer convert the rectangle from the layer's interior coordinate system to the view’s interior coordinate system. @@ -25534,7 +24238,6 @@ func (x gen_NSView) ConvertRectFromLayer( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToBacking converts a rectangle from the view’s interior coordinate system to its pixel aligned backing store coordinate system. @@ -25549,7 +24252,6 @@ func (x gen_NSView) ConvertRectToBacking( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToLayer convert the size from the view’s interior coordinate system to the layer's interior coordinate system. @@ -25564,7 +24266,6 @@ func (x gen_NSView) ConvertRectToLayer( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // ConvertSizeFromView converts a size from another view’s coordinate system to that of the view. @@ -25581,7 +24282,6 @@ func (x gen_NSView) ConvertSizeFromView( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // ConvertSizeToView converts a size from the view’s coordinate system to that of another view. @@ -25598,7 +24298,6 @@ func (x gen_NSView) ConvertSizeToView( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // ConvertSizeFromBacking converts a size from its pixel aligned backing store coordinate system to the view’s interior coordinate system. @@ -25613,7 +24312,6 @@ func (x gen_NSView) ConvertSizeFromBacking( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // ConvertSizeFromLayer convert the size from the layer's interior coordinate system to the view’s interior coordinate system. @@ -25628,7 +24326,6 @@ func (x gen_NSView) ConvertSizeFromLayer( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // ConvertSizeToBacking converts a size from the view’s interior coordinate system to its pixel aligned backing store coordinate system. @@ -25643,7 +24340,6 @@ func (x gen_NSView) ConvertSizeToBacking( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // ConvertSizeToLayer convert the size from the view’s interior coordinate system to the layer's interior coordinate system. @@ -25658,7 +24354,6 @@ func (x gen_NSView) ConvertSizeToLayer( ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // DataWithEPSInsideRect returns eps data that draws the region of the view within a specified rectangle. @@ -25672,8 +24367,7 @@ func (x gen_NSView) DataWithEPSInsideRect( *(*C.NSRect)(unsafe.Pointer(&rect)), ) - return core.NSData_fromPointer(ret) - + return core.NSData_FromPointer(ret) } // DataWithPDFInsideRect returns pdf data that draws the region of the view within a specified rectangle. @@ -25687,8 +24381,7 @@ func (x gen_NSView) DataWithPDFInsideRect( *(*C.NSRect)(unsafe.Pointer(&rect)), ) - return core.NSData_fromPointer(ret) - + return core.NSData_FromPointer(ret) } // DidAddSubview overridden by subclasses to perform additional actions when subviews are added to the view. @@ -25703,7 +24396,6 @@ func (x gen_NSView) DidAddSubview( ) return - } // DidCloseMenuWithEvent called after a contextual menu that was displayed from the receiving view has been closed. @@ -25720,7 +24412,6 @@ func (x gen_NSView) DidCloseMenuWithEvent( ) return - } // DiscardCursorRects invalidates all cursor rectangles set up using addcursorrect:cursor:. @@ -25732,7 +24423,6 @@ func (x gen_NSView) DiscardCursorRects() { ) return - } // Display displays the view and all its subviews if possible, invoking each of the nsview methods lockfocus, drawrect:, and unlockfocus as necessary. @@ -25744,7 +24434,6 @@ func (x gen_NSView) Display() { ) return - } // DisplayIfNeeded displays the view and all its subviews if any part of the view has been marked as needing display. @@ -25756,7 +24445,6 @@ func (x gen_NSView) DisplayIfNeeded() { ) return - } // DisplayIfNeededIgnoringOpacity acts as displayifneeded, except that this method doesn’t back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. @@ -25768,7 +24456,6 @@ func (x gen_NSView) DisplayIfNeededIgnoringOpacity() { ) return - } // DisplayIfNeededInRect acts as displayifneeded, confining drawing to a specified region of the view. @@ -25783,7 +24470,6 @@ func (x gen_NSView) DisplayIfNeededInRect( ) return - } // DisplayIfNeededInRectIgnoringOpacity acts as displayifneeded, but confining drawing to arect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. @@ -25798,7 +24484,6 @@ func (x gen_NSView) DisplayIfNeededInRectIgnoringOpacity( ) return - } // DisplayRect acts as display, but confining drawing to a rectangular region of the view. @@ -25813,7 +24498,6 @@ func (x gen_NSView) DisplayRect( ) return - } // DisplayRectIgnoringOpacity displays the view but confines drawing to a specified region and does not back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. @@ -25828,7 +24512,6 @@ func (x gen_NSView) DisplayRectIgnoringOpacity( ) return - } // DrawFocusRingMask draws the focus ring mask for the view. @@ -25840,7 +24523,6 @@ func (x gen_NSView) DrawFocusRingMask() { ) return - } // DrawPageBorderWithSize allows applications that use the appkit pagination facility to draw additional marks on each logical page. @@ -25855,7 +24537,6 @@ func (x gen_NSView) DrawPageBorderWithSize( ) return - } // DrawRect overridden by subclasses to draw the view’s image within the specified rectangle. @@ -25870,7 +24551,6 @@ func (x gen_NSView) DrawRect( ) return - } // EndDocument this method is invoked at the end of the printing session. @@ -25882,7 +24562,6 @@ func (x gen_NSView) EndDocument() { ) return - } // EndPage writes the end of a conforming page. @@ -25894,7 +24573,6 @@ func (x gen_NSView) EndPage() { ) return - } // EnterFullScreenModeWithOptions sets the view to full screen mode. @@ -25911,7 +24589,6 @@ func (x gen_NSView) EnterFullScreenModeWithOptions( ) return convertObjCBoolToGo(ret) - } // ExerciseAmbiguityInLayout randomly changes the frame of a view with an ambiguous layout between the different valid values. @@ -25923,7 +24600,6 @@ func (x gen_NSView) ExerciseAmbiguityInLayout() { ) return - } // ExitFullScreenModeWithOptions instructs the view to exit full screen mode. @@ -25938,7 +24614,6 @@ func (x gen_NSView) ExitFullScreenModeWithOptions( ) return - } // FrameForAlignmentRect returns the view’s frame for a given alignment rectangle. @@ -25953,7 +24628,6 @@ func (x gen_NSView) FrameForAlignmentRect( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // HitTest returns the farthest descendant of the view in the view hierarchy (including itself) that contains a specified point, or nil if that point lies completely outside the view. @@ -25967,14 +24641,13 @@ func (x gen_NSView) HitTest( *(*C.NSPoint)(unsafe.Pointer(&point)), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // InitWithFrame initializes and returns a newly allocated nsview object with a specified frame rectangle. // // See https://developer.apple.com/documentation/appkit/nsview/1483458-initwithframe?language=objc for details. -func (x gen_NSView) InitWithFrame_asNSView( +func (x gen_NSView) InitWithFrame_AsNSView( frameRect core.NSRect, ) NSView { ret := C.NSView_inst_InitWithFrame( @@ -25982,8 +24655,7 @@ func (x gen_NSView) InitWithFrame_asNSView( *(*C.NSRect)(unsafe.Pointer(&frameRect)), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // InvalidateIntrinsicContentSize invalidates the view’s intrinsic content size. @@ -25995,7 +24667,6 @@ func (x gen_NSView) InvalidateIntrinsicContentSize() { ) return - } // IsDescendantOf returns yes if the view is a subview of a given view or if it’s identical to that view; otherwise, it returns no. @@ -26010,7 +24681,6 @@ func (x gen_NSView) IsDescendantOf( ) return convertObjCBoolToGo(ret) - } // Layout perform layout in concert with the constraint-based layout system. @@ -26022,7 +24692,6 @@ func (x gen_NSView) Layout() { ) return - } // LayoutSubtreeIfNeeded updates the layout of the receiving view and its subviews based on the current views and constraints. @@ -26034,7 +24703,6 @@ func (x gen_NSView) LayoutSubtreeIfNeeded() { ) return - } // LocationOfPrintRect invoked by print: to determine the location of the region of the view being printed on the physical page. @@ -26049,7 +24717,6 @@ func (x gen_NSView) LocationOfPrintRect( ) return *(*core.NSPoint)(unsafe.Pointer(&ret)) - } // MakeBackingLayer creates the view’s backing layer. @@ -26060,8 +24727,7 @@ func (x gen_NSView) MakeBackingLayer() core.CALayer { unsafe.Pointer(x.Pointer()), ) - return core.CALayer_fromPointer(ret) - + return core.CALayer_FromPointer(ret) } // MenuForEvent overridden by subclasses to return a context-sensitive pop-up menu for a given mouse-down event. @@ -26075,8 +24741,7 @@ func (x gen_NSView) MenuForEvent( objc.RefPointer(event), ) - return NSMenu_fromPointer(ret) - + return NSMenu_FromPointer(ret) } // MouseInRect returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. @@ -26093,7 +24758,6 @@ func (x gen_NSView) MouseInRect( ) return convertObjCBoolToGo(ret) - } // NeedsToDrawRect returns a boolean value indicating whether the specified rectangle intersects any part of the area that the view is being asked to draw. @@ -26108,7 +24772,6 @@ func (x gen_NSView) NeedsToDrawRect( ) return convertObjCBoolToGo(ret) - } // NoteFocusRingMaskChanged invoked to notify the view that the focus ring mask requires updating. @@ -26120,7 +24783,6 @@ func (x gen_NSView) NoteFocusRingMaskChanged() { ) return - } // PerformKeyEquivalent implemented by subclasses to respond to key equivalents (also known as keyboard shortcuts). @@ -26135,7 +24797,6 @@ func (x gen_NSView) PerformKeyEquivalent( ) return convertObjCBoolToGo(ret) - } // PrepareContentInRect prepares the overdraw region for drawing. @@ -26150,7 +24811,6 @@ func (x gen_NSView) PrepareContentInRect( ) return - } // PrepareForReuse restores the view to an initial state so that it can be reused. @@ -26162,7 +24822,6 @@ func (x gen_NSView) PrepareForReuse() { ) return - } // Print this action method opens the print panel, and if the user chooses an option other than canceling, prints the view and all its subviews to the device specified in the print panel. @@ -26177,7 +24836,6 @@ func (x gen_NSView) Print( ) return - } // RectForPage implemented by subclasses to determine the portion of the view to be printed for the specified page number. @@ -26192,7 +24850,6 @@ func (x gen_NSView) RectForPage( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // RectForSmartMagnificationAtPointInRect returns the appropriate rectangle to use when magnifying around the specified point. @@ -26209,7 +24866,6 @@ func (x gen_NSView) RectForSmartMagnificationAtPointInRect( ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // RegisterForDraggedTypes registers the pasteboard types that the view will accept as the destination of an image-dragging session. @@ -26224,7 +24880,6 @@ func (x gen_NSView) RegisterForDraggedTypes( ) return - } // RemoveAllToolTips removes all tooltips assigned to the view. @@ -26236,7 +24891,6 @@ func (x gen_NSView) RemoveAllToolTips() { ) return - } // RemoveConstraints removes the specified constraints from the view. @@ -26251,7 +24905,6 @@ func (x gen_NSView) RemoveConstraints( ) return - } // RemoveFromSuperview unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles. @@ -26263,7 +24916,6 @@ func (x gen_NSView) RemoveFromSuperview() { ) return - } // RemoveFromSuperviewWithoutNeedingDisplay unlinks the view from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing. @@ -26275,7 +24927,6 @@ func (x gen_NSView) RemoveFromSuperviewWithoutNeedingDisplay() { ) return - } // ReplaceSubviewWith replaces one of the view’s subviews with another view. @@ -26292,7 +24943,6 @@ func (x gen_NSView) ReplaceSubviewWith( ) return - } // ResetCursorRects overridden by subclasses to define their default cursor rectangles. @@ -26304,7 +24954,6 @@ func (x gen_NSView) ResetCursorRects() { ) return - } // ResizeSubviewsWithOldSize informs the view’s subviews that the view’s bounds rectangle size has changed. @@ -26319,7 +24968,6 @@ func (x gen_NSView) ResizeSubviewsWithOldSize( ) return - } // ResizeWithOldSuperviewSize informs the view that the bounds size of its superview has changed. @@ -26334,7 +24982,6 @@ func (x gen_NSView) ResizeWithOldSuperviewSize( ) return - } // RotateByAngle rotates the view’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0). @@ -26349,7 +24996,6 @@ func (x gen_NSView) RotateByAngle( ) return - } // ScaleUnitSquareToSize scales the view’s coordinate system so that the unit square scales to the specified dimensions. @@ -26364,7 +25010,6 @@ func (x gen_NSView) ScaleUnitSquareToSize( ) return - } // ScrollPoint scrolls the view’s closest ancestor nsclipview object so a point in the view lies at the origin of the clip view's bounds rectangle. @@ -26379,7 +25024,6 @@ func (x gen_NSView) ScrollPoint( ) return - } // ScrollRectToVisible scrolls the view’s closest ancestor nsclipview object the minimum distance needed so a specified region of the view becomes visible in the clip view. @@ -26394,7 +25038,6 @@ func (x gen_NSView) ScrollRectToVisible( ) return convertObjCBoolToGo(ret) - } // SetBoundsOrigin sets the origin of the view’s bounds rectangle to a specified point. @@ -26409,7 +25052,6 @@ func (x gen_NSView) SetBoundsOrigin( ) return - } // SetBoundsSize sets the size of the view’s bounds rectangle to specified dimensions, inversely scaling its coordinate system relative to its frame rectangle. @@ -26424,7 +25066,6 @@ func (x gen_NSView) SetBoundsSize( ) return - } // SetFrameOrigin sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview. @@ -26439,7 +25080,6 @@ func (x gen_NSView) SetFrameOrigin( ) return - } // SetFrameSize sets the size of the view’s frame rectangle to the specified dimensions, resizing it within its superview without affecting its coordinate system. @@ -26454,7 +25094,6 @@ func (x gen_NSView) SetFrameSize( ) return - } // SetKeyboardFocusRingNeedsDisplayInRect invalidates the area around the focus ring. @@ -26469,7 +25108,6 @@ func (x gen_NSView) SetKeyboardFocusRingNeedsDisplayInRect( ) return - } // SetNeedsDisplayInRect marks the region of the view within the specified rectangle as needing display, increasing the view’s existing invalid region to include it. @@ -26484,7 +25122,6 @@ func (x gen_NSView) SetNeedsDisplayInRect( ) return - } // ShouldDelayWindowOrderingForEvent allows the user to drag objects from the view without activating the app or moving the window of the view forward, possibly obscuring the destination. @@ -26499,7 +25136,6 @@ func (x gen_NSView) ShouldDelayWindowOrderingForEvent( ) return convertObjCBoolToGo(ret) - } // ShowDefinitionForAttributedStringAtPoint shows a window displaying the definition of the attributed string at the specified point. @@ -26516,7 +25152,6 @@ func (x gen_NSView) ShowDefinitionForAttributedStringAtPoint( ) return - } // TranslateOriginToPoint translates the view’s coordinate system so that its origin moves to a new location. @@ -26531,7 +25166,6 @@ func (x gen_NSView) TranslateOriginToPoint( ) return - } // TranslateRectsNeedingDisplayInRectBy translates the display rectangles by the specified delta. @@ -26548,7 +25182,6 @@ func (x gen_NSView) TranslateRectsNeedingDisplayInRectBy( ) return - } // UnregisterDraggedTypes unregisters the view as a possible destination in a dragging session. @@ -26560,7 +25193,6 @@ func (x gen_NSView) UnregisterDraggedTypes() { ) return - } // UpdateConstraints update constraints for the view. @@ -26572,7 +25204,6 @@ func (x gen_NSView) UpdateConstraints() { ) return - } // UpdateConstraintsForSubtreeIfNeeded updates the constraints for the receiving view and its subviews. @@ -26584,7 +25215,6 @@ func (x gen_NSView) UpdateConstraintsForSubtreeIfNeeded() { ) return - } // UpdateLayer updates the view’s content by modifying its underlying layer. @@ -26596,7 +25226,6 @@ func (x gen_NSView) UpdateLayer() { ) return - } // UpdateTrackingAreas invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated. @@ -26608,7 +25237,6 @@ func (x gen_NSView) UpdateTrackingAreas() { ) return - } // ViewDidChangeBackingProperties responds when the view’s backing store properties change. @@ -26620,7 +25248,6 @@ func (x gen_NSView) ViewDidChangeBackingProperties() { ) return - } // ViewDidChangeEffectiveAppearance @@ -26632,7 +25259,6 @@ func (x gen_NSView) ViewDidChangeEffectiveAppearance() { ) return - } // ViewDidEndLiveResize informs the view of the end of a live resize—the user has finished resizing the view. @@ -26644,7 +25270,6 @@ func (x gen_NSView) ViewDidEndLiveResize() { ) return - } // ViewDidHide invoked when the view is hidden, either directly, or in response to an ancestor being hidden. @@ -26656,7 +25281,6 @@ func (x gen_NSView) ViewDidHide() { ) return - } // ViewDidMoveToSuperview informs the view that its superview has changed (possibly to nil). @@ -26668,7 +25292,6 @@ func (x gen_NSView) ViewDidMoveToSuperview() { ) return - } // ViewDidMoveToWindow informs the view that it has been added to a new view hierarchy. @@ -26680,7 +25303,6 @@ func (x gen_NSView) ViewDidMoveToWindow() { ) return - } // ViewDidUnhide invoked when the view is unhidden, either directly, or in response to an ancestor being unhidden @@ -26692,7 +25314,6 @@ func (x gen_NSView) ViewDidUnhide() { ) return - } // ViewWillDraw informs the view that it’s required to draw content. @@ -26704,7 +25325,6 @@ func (x gen_NSView) ViewWillDraw() { ) return - } // ViewWillMoveToSuperview informs the view that its superview is about to change to the specified superview (which may be nil). @@ -26719,7 +25339,6 @@ func (x gen_NSView) ViewWillMoveToSuperview( ) return - } // ViewWillMoveToWindow informs the view that it’s being added to the view hierarchy of the specified window object (which may be nil). @@ -26734,7 +25353,6 @@ func (x gen_NSView) ViewWillMoveToWindow( ) return - } // ViewWillStartLiveResize informs the view of the start of a live resize—the user has started resizing the view. @@ -26746,7 +25364,6 @@ func (x gen_NSView) ViewWillStartLiveResize() { ) return - } // ViewWithTag returns the view’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag. @@ -26760,8 +25377,7 @@ func (x gen_NSView) ViewWithTag( C.long(tag), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // WillOpenMenuWithEvent called just before a contextual menu for a view is opened on screen. @@ -26778,7 +25394,6 @@ func (x gen_NSView) WillOpenMenuWithEvent( ) return - } // WillRemoveSubview overridden by subclasses to perform additional actions before subviews are removed from the view. @@ -26793,7 +25408,6 @@ func (x gen_NSView) WillRemoveSubview( ) return - } // WriteEPSInsideRectToPasteboard writes eps data that draws the region of the view within a specified rectangle onto a pasteboard. @@ -26810,7 +25424,6 @@ func (x gen_NSView) WriteEPSInsideRectToPasteboard( ) return - } // WritePDFInsideRectToPasteboard writes pdf data that draws the region of the view within a specified rectangle onto a pasteboard. @@ -26827,19 +25440,17 @@ func (x gen_NSView) WritePDFInsideRectToPasteboard( ) return - } // Init // // See for details. -func (x gen_NSView) Init_asNSView() NSView { +func (x gen_NSView) Init_AsNSView() NSView { ret := C.NSView_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // Superview returns the view that is the parent of the current view. @@ -26850,8 +25461,7 @@ func (x gen_NSView) Superview() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // Subviews returns the array of views embedded in the current view. @@ -26862,8 +25472,7 @@ func (x gen_NSView) Subviews() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetSubviews returns the array of views embedded in the current view. @@ -26878,7 +25487,6 @@ func (x gen_NSView) SetSubviews( ) return - } // Window returns the view’s window object, if it is installed in a window. @@ -26889,8 +25497,7 @@ func (x gen_NSView) Window() NSWindow { unsafe.Pointer(x.Pointer()), ) - return NSWindow_fromPointer(ret) - + return NSWindow_FromPointer(ret) } // OpaqueAncestor returns the view’s closest opaque ancestor, which might be the view itself. @@ -26901,8 +25508,7 @@ func (x gen_NSView) OpaqueAncestor() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // EnclosingMenuItem returns the menu item containing the view or any of its superviews in the view hierarchy. @@ -26913,8 +25519,7 @@ func (x gen_NSView) EnclosingMenuItem() NSMenuItem { unsafe.Pointer(x.Pointer()), ) - return NSMenuItem_fromPointer(ret) - + return NSMenuItem_FromPointer(ret) } // Frame returns the view’s frame rectangle, which defines its position and size in its superview’s coordinate system. @@ -26926,7 +25531,6 @@ func (x gen_NSView) Frame() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // SetFrame returns the view’s frame rectangle, which defines its position and size in its superview’s coordinate system. @@ -26941,7 +25545,6 @@ func (x gen_NSView) SetFrame( ) return - } // FrameRotation returns the angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. @@ -26953,7 +25556,6 @@ func (x gen_NSView) FrameRotation() core.CGFloat { ) return core.CGFloat(ret) - } // SetFrameRotation returns the angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. @@ -26968,7 +25570,6 @@ func (x gen_NSView) SetFrameRotation( ) return - } // Bounds returns the view’s bounds rectangle, which expresses its location and size in its own coordinate system. @@ -26980,7 +25581,6 @@ func (x gen_NSView) Bounds() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // SetBounds returns the view’s bounds rectangle, which expresses its location and size in its own coordinate system. @@ -26995,7 +25595,6 @@ func (x gen_NSView) SetBounds( ) return - } // BoundsRotation returns the angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. @@ -27007,7 +25606,6 @@ func (x gen_NSView) BoundsRotation() core.CGFloat { ) return core.CGFloat(ret) - } // SetBoundsRotation returns the angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. @@ -27022,7 +25620,6 @@ func (x gen_NSView) SetBoundsRotation( ) return - } // WantsLayer returns a boolean value indicating whether the view uses a layer as its backing store. @@ -27034,7 +25631,6 @@ func (x gen_NSView) WantsLayer() bool { ) return convertObjCBoolToGo(ret) - } // SetWantsLayer returns a boolean value indicating whether the view uses a layer as its backing store. @@ -27049,7 +25645,6 @@ func (x gen_NSView) SetWantsLayer( ) return - } // WantsUpdateLayer returns a boolean value indicating which drawing path the view takes when updating its contents. @@ -27061,7 +25656,6 @@ func (x gen_NSView) WantsUpdateLayer() bool { ) return convertObjCBoolToGo(ret) - } // Layer returns the core animation layer that the view uses as its backing store. @@ -27072,8 +25666,7 @@ func (x gen_NSView) Layer() core.CALayer { unsafe.Pointer(x.Pointer()), ) - return core.CALayer_fromPointer(ret) - + return core.CALayer_FromPointer(ret) } // SetLayer returns the core animation layer that the view uses as its backing store. @@ -27088,7 +25681,6 @@ func (x gen_NSView) SetLayer( ) return - } // CanDrawSubviewsIntoLayer returns a boolean value indicating whether the view incorporates content from its subviews into its own layer. @@ -27100,7 +25692,6 @@ func (x gen_NSView) CanDrawSubviewsIntoLayer() bool { ) return convertObjCBoolToGo(ret) - } // SetCanDrawSubviewsIntoLayer returns a boolean value indicating whether the view incorporates content from its subviews into its own layer. @@ -27115,7 +25706,6 @@ func (x gen_NSView) SetCanDrawSubviewsIntoLayer( ) return - } // LayerUsesCoreImageFilters returns a boolean value indicating whether the view’s layer uses core image filters and needs in-process rendering. @@ -27127,7 +25717,6 @@ func (x gen_NSView) LayerUsesCoreImageFilters() bool { ) return convertObjCBoolToGo(ret) - } // SetLayerUsesCoreImageFilters returns a boolean value indicating whether the view’s layer uses core image filters and needs in-process rendering. @@ -27142,7 +25731,6 @@ func (x gen_NSView) SetLayerUsesCoreImageFilters( ) return - } // AlphaValue returns the opacity of the view. @@ -27154,7 +25742,6 @@ func (x gen_NSView) AlphaValue() core.CGFloat { ) return core.CGFloat(ret) - } // SetAlphaValue returns the opacity of the view. @@ -27169,7 +25756,6 @@ func (x gen_NSView) SetAlphaValue( ) return - } // FrameCenterRotation returns the rotation angle of the view around the center of its layer. @@ -27181,7 +25767,6 @@ func (x gen_NSView) FrameCenterRotation() core.CGFloat { ) return core.CGFloat(ret) - } // SetFrameCenterRotation returns the rotation angle of the view around the center of its layer. @@ -27196,7 +25781,6 @@ func (x gen_NSView) SetFrameCenterRotation( ) return - } // BackgroundFilters an array of core image filters to apply to the view’s background. @@ -27207,8 +25791,7 @@ func (x gen_NSView) BackgroundFilters() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetBackgroundFilters an array of core image filters to apply to the view’s background. @@ -27223,7 +25806,6 @@ func (x gen_NSView) SetBackgroundFilters( ) return - } // ContentFilters an array of core image filters to apply to the contents of the view and its sublayers. @@ -27234,8 +25816,7 @@ func (x gen_NSView) ContentFilters() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetContentFilters an array of core image filters to apply to the contents of the view and its sublayers. @@ -27250,7 +25831,6 @@ func (x gen_NSView) SetContentFilters( ) return - } // CanDrawConcurrently returns a boolean value indicating whether the view can draw its contents on a background thread. @@ -27262,7 +25842,6 @@ func (x gen_NSView) CanDrawConcurrently() bool { ) return convertObjCBoolToGo(ret) - } // SetCanDrawConcurrently returns a boolean value indicating whether the view can draw its contents on a background thread. @@ -27277,7 +25856,6 @@ func (x gen_NSView) SetCanDrawConcurrently( ) return - } // VisibleRect returns the portion of the view that is not clipped by its superviews. @@ -27289,7 +25867,6 @@ func (x gen_NSView) VisibleRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // WantsDefaultClipping returns a boolean value indicating whether appkit’s default clipping behavior is in effect. @@ -27301,7 +25878,6 @@ func (x gen_NSView) WantsDefaultClipping() bool { ) return convertObjCBoolToGo(ret) - } // PrintJobTitle returns the view’s print job title. @@ -27312,8 +25888,7 @@ func (x gen_NSView) PrintJobTitle() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // PageHeader returns a default header string that includes the print job title and date. @@ -27324,8 +25899,7 @@ func (x gen_NSView) PageHeader() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // PageFooter returns a default footer string that includes the current page number and page count. @@ -27336,8 +25910,7 @@ func (x gen_NSView) PageFooter() core.NSAttributedString { unsafe.Pointer(x.Pointer()), ) - return core.NSAttributedString_fromPointer(ret) - + return core.NSAttributedString_FromPointer(ret) } // HeightAdjustLimit returns the fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as lines of text from being divided across pages. @@ -27349,7 +25922,6 @@ func (x gen_NSView) HeightAdjustLimit() core.CGFloat { ) return core.CGFloat(ret) - } // WidthAdjustLimit returns the fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as small images or text columns from being divided across pages. @@ -27361,7 +25933,6 @@ func (x gen_NSView) WidthAdjustLimit() core.CGFloat { ) return core.CGFloat(ret) - } // NeedsDisplay returns a boolean value that determines whether the view needs to be redrawn before being displayed. @@ -27373,7 +25944,6 @@ func (x gen_NSView) NeedsDisplay() bool { ) return convertObjCBoolToGo(ret) - } // SetNeedsDisplay returns a boolean value that determines whether the view needs to be redrawn before being displayed. @@ -27388,7 +25958,6 @@ func (x gen_NSView) SetNeedsDisplay( ) return - } // IsOpaque returns a boolean value indicating whether the view fills its frame rectangle with opaque content. @@ -27400,7 +25969,6 @@ func (x gen_NSView) IsOpaque() bool { ) return convertObjCBoolToGo(ret) - } // IsFlipped returns a boolean value indicating whether the view uses a flipped coordinate system. @@ -27412,7 +25980,6 @@ func (x gen_NSView) IsFlipped() bool { ) return convertObjCBoolToGo(ret) - } // IsRotatedFromBase returns a boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds. @@ -27424,7 +25991,6 @@ func (x gen_NSView) IsRotatedFromBase() bool { ) return convertObjCBoolToGo(ret) - } // IsRotatedOrScaledFromBase returns a boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds, or has been scaled from the window’s base coordinate system. @@ -27436,7 +26002,6 @@ func (x gen_NSView) IsRotatedOrScaledFromBase() bool { ) return convertObjCBoolToGo(ret) - } // AutoresizesSubviews returns a boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. @@ -27448,7 +26013,6 @@ func (x gen_NSView) AutoresizesSubviews() bool { ) return convertObjCBoolToGo(ret) - } // SetAutoresizesSubviews returns a boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. @@ -27463,7 +26027,6 @@ func (x gen_NSView) SetAutoresizesSubviews( ) return - } // Constraints returns the constraints held by the view. @@ -27474,8 +26037,7 @@ func (x gen_NSView) Constraints() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // LayoutGuides returns the array of layout guide objects owned by this view. @@ -27486,8 +26048,7 @@ func (x gen_NSView) LayoutGuides() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // FittingSize returns the minimum size of the view that satisfies the constraints it holds. @@ -27499,7 +26060,6 @@ func (x gen_NSView) FittingSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // IntrinsicContentSize returns the natural size for the receiving view, considering only properties of the view itself. @@ -27511,7 +26071,6 @@ func (x gen_NSView) IntrinsicContentSize() core.NSSize { ) return *(*core.NSSize)(unsafe.Pointer(&ret)) - } // BaselineOffsetFromBottom returns the distance (in points) between the bottom of the view’s alignment rectangle and its baseline. @@ -27523,7 +26082,6 @@ func (x gen_NSView) BaselineOffsetFromBottom() core.CGFloat { ) return core.CGFloat(ret) - } // FirstBaselineOffsetFromTop returns the distance (in points) between the top of the view’s alignment rectangle and its topmost baseline. @@ -27535,7 +26093,6 @@ func (x gen_NSView) FirstBaselineOffsetFromTop() core.CGFloat { ) return core.CGFloat(ret) - } // LastBaselineOffsetFromBottom returns the distance (in points) between the bottom of the view’s alignment rectangle and its bottommost baseline. @@ -27547,7 +26104,6 @@ func (x gen_NSView) LastBaselineOffsetFromBottom() core.CGFloat { ) return core.CGFloat(ret) - } // NeedsLayout returns a boolean value indicating whether the view needs a layout pass before it can be drawn. @@ -27559,7 +26115,6 @@ func (x gen_NSView) NeedsLayout() bool { ) return convertObjCBoolToGo(ret) - } // SetNeedsLayout returns a boolean value indicating whether the view needs a layout pass before it can be drawn. @@ -27574,7 +26129,6 @@ func (x gen_NSView) SetNeedsLayout( ) return - } // NeedsUpdateConstraints returns a boolean value indicating whether the view’s constraints need to be updated. @@ -27586,7 +26140,6 @@ func (x gen_NSView) NeedsUpdateConstraints() bool { ) return convertObjCBoolToGo(ret) - } // SetNeedsUpdateConstraints returns a boolean value indicating whether the view’s constraints need to be updated. @@ -27601,7 +26154,6 @@ func (x gen_NSView) SetNeedsUpdateConstraints( ) return - } // TranslatesAutoresizingMaskIntoConstraints returns a boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. @@ -27613,7 +26165,6 @@ func (x gen_NSView) TranslatesAutoresizingMaskIntoConstraints() bool { ) return convertObjCBoolToGo(ret) - } // SetTranslatesAutoresizingMaskIntoConstraints returns a boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. @@ -27628,7 +26179,6 @@ func (x gen_NSView) SetTranslatesAutoresizingMaskIntoConstraints( ) return - } // HasAmbiguousLayout returns a boolean value indicating whether the constraints impacting the layout of the view incompletely specify the location of the view. @@ -27640,7 +26190,6 @@ func (x gen_NSView) HasAmbiguousLayout() bool { ) return convertObjCBoolToGo(ret) - } // FocusRingMaskBounds returns the focus ring mask bounds, specified in the view’s coordinate space. @@ -27652,7 +26201,6 @@ func (x gen_NSView) FocusRingMaskBounds() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // AllowsVibrancy returns a boolean value indicating whether the view ensures it is vibrant on top of other content. @@ -27664,7 +26212,6 @@ func (x gen_NSView) AllowsVibrancy() bool { ) return convertObjCBoolToGo(ret) - } // IsInFullScreenMode returns a boolean value indicating whether the view is in full screen mode. @@ -27676,7 +26223,6 @@ func (x gen_NSView) IsInFullScreenMode() bool { ) return convertObjCBoolToGo(ret) - } // IsHidden returns a boolean value indicating whether the view is hidden. @@ -27688,7 +26234,6 @@ func (x gen_NSView) IsHidden() bool { ) return convertObjCBoolToGo(ret) - } // SetHidden returns a boolean value indicating whether the view is hidden. @@ -27703,7 +26248,6 @@ func (x gen_NSView) SetHidden( ) return - } // IsHiddenOrHasHiddenAncestor returns a boolean value indicating whether the view is hidden from sight because it, or one of its ancestors, is marked as hidden. @@ -27715,7 +26259,6 @@ func (x gen_NSView) IsHiddenOrHasHiddenAncestor() bool { ) return convertObjCBoolToGo(ret) - } // InLiveResize returns a boolean value indicating whether the view is being rendered as part of a live resizing operation. @@ -27727,7 +26270,6 @@ func (x gen_NSView) InLiveResize() bool { ) return convertObjCBoolToGo(ret) - } // PreservesContentDuringLiveResize returns a boolean value indicating whether the view optimizes live-resize operations by preserving content that has not moved. @@ -27739,7 +26281,6 @@ func (x gen_NSView) PreservesContentDuringLiveResize() bool { ) return convertObjCBoolToGo(ret) - } // RectPreservedDuringLiveResize returns the rectangle identifying the portion of your view that did not change during a live resize operation. @@ -27751,7 +26292,6 @@ func (x gen_NSView) RectPreservedDuringLiveResize() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // GestureRecognizers returns the gesture recognize objects currently attached to the view. @@ -27762,8 +26302,7 @@ func (x gen_NSView) GestureRecognizers() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // SetGestureRecognizers returns the gesture recognize objects currently attached to the view. @@ -27778,7 +26317,6 @@ func (x gen_NSView) SetGestureRecognizers( ) return - } // MouseDownCanMoveWindow returns a boolean value indicating whether the view can pass mouse down events through to its superviews. @@ -27790,7 +26328,6 @@ func (x gen_NSView) MouseDownCanMoveWindow() bool { ) return convertObjCBoolToGo(ret) - } // WantsRestingTouches returns a boolean value indicating whether the view wants resting touches. @@ -27802,7 +26339,6 @@ func (x gen_NSView) WantsRestingTouches() bool { ) return convertObjCBoolToGo(ret) - } // SetWantsRestingTouches returns a boolean value indicating whether the view wants resting touches. @@ -27817,7 +26353,6 @@ func (x gen_NSView) SetWantsRestingTouches( ) return - } // CanBecomeKeyView returns a boolean value indicating whether the view can become key view. @@ -27829,7 +26364,6 @@ func (x gen_NSView) CanBecomeKeyView() bool { ) return convertObjCBoolToGo(ret) - } // NeedsPanelToBecomeKey returns a boolean value indicating whether the view needs its panel to become the key window before it can handle keyboard input and navigation. @@ -27841,7 +26375,6 @@ func (x gen_NSView) NeedsPanelToBecomeKey() bool { ) return convertObjCBoolToGo(ret) - } // NextKeyView returns the view object that follows the current view in the key view loop. @@ -27852,8 +26385,7 @@ func (x gen_NSView) NextKeyView() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // SetNextKeyView returns the view object that follows the current view in the key view loop. @@ -27868,7 +26400,6 @@ func (x gen_NSView) SetNextKeyView( ) return - } // NextValidKeyView returns the closest view object in the key view loop that follows the current view in the key view loop and accepts first responder status. @@ -27879,8 +26410,7 @@ func (x gen_NSView) NextValidKeyView() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // PreviousKeyView returns the view object preceding the current view in the key view loop. @@ -27891,8 +26421,7 @@ func (x gen_NSView) PreviousKeyView() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // PreviousValidKeyView returns the closest view object in the key view loop that precedes the current view and accepts first responder status. @@ -27903,8 +26432,7 @@ func (x gen_NSView) PreviousValidKeyView() NSView { unsafe.Pointer(x.Pointer()), ) - return NSView_fromPointer(ret) - + return NSView_FromPointer(ret) } // PreparedContentRect returns the portion of the view that has been rendered and is available for responsive scrolling. @@ -27916,7 +26444,6 @@ func (x gen_NSView) PreparedContentRect() core.NSRect { ) return *(*core.NSRect)(unsafe.Pointer(&ret)) - } // SetPreparedContentRect returns the portion of the view that has been rendered and is available for responsive scrolling. @@ -27931,7 +26458,6 @@ func (x gen_NSView) SetPreparedContentRect( ) return - } // RegisteredDraggedTypes returns the array of pasteboard drag types that the view can accept. @@ -27942,8 +26468,7 @@ func (x gen_NSView) RegisteredDraggedTypes() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // PostsFrameChangedNotifications returns a boolean value indicating whether the view posts notifications when its frame rectangle changes. @@ -27955,7 +26480,6 @@ func (x gen_NSView) PostsFrameChangedNotifications() bool { ) return convertObjCBoolToGo(ret) - } // SetPostsFrameChangedNotifications returns a boolean value indicating whether the view posts notifications when its frame rectangle changes. @@ -27970,7 +26494,6 @@ func (x gen_NSView) SetPostsFrameChangedNotifications( ) return - } // PostsBoundsChangedNotifications returns a boolean value indicating whether the view posts notifications when its bounds rectangle changes. @@ -27982,7 +26505,6 @@ func (x gen_NSView) PostsBoundsChangedNotifications() bool { ) return convertObjCBoolToGo(ret) - } // SetPostsBoundsChangedNotifications returns a boolean value indicating whether the view posts notifications when its bounds rectangle changes. @@ -27997,7 +26519,6 @@ func (x gen_NSView) SetPostsBoundsChangedNotifications( ) return - } // Tag returns the view’s tag, which is an integer that you use to identify the view within your app. @@ -28009,7 +26530,6 @@ func (x gen_NSView) Tag() core.NSInteger { ) return core.NSInteger(ret) - } // ToolTip returns the text for the view’s tooltip. @@ -28020,8 +26540,7 @@ func (x gen_NSView) ToolTip() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetToolTip returns the text for the view’s tooltip. @@ -28036,7 +26555,6 @@ func (x gen_NSView) SetToolTip( ) return - } // TrackingAreas an array of the view’s tracking areas. @@ -28047,8 +26565,7 @@ func (x gen_NSView) TrackingAreas() core.NSArray { unsafe.Pointer(x.Pointer()), ) - return core.NSArray_fromPointer(ret) - + return core.NSArray_FromPointer(ret) } // IsDrawingFindIndicator returns a boolean value indicating whether the view or one of its ancestors is being drawn for a find indicator. @@ -28060,7 +26577,6 @@ func (x gen_NSView) IsDrawingFindIndicator() bool { ) return convertObjCBoolToGo(ret) - } // IsHorizontalContentSizeConstraintActive @@ -28072,7 +26588,6 @@ func (x gen_NSView) IsHorizontalContentSizeConstraintActive() bool { ) return convertObjCBoolToGo(ret) - } // SetHorizontalContentSizeConstraintActive @@ -28087,7 +26602,6 @@ func (x gen_NSView) SetHorizontalContentSizeConstraintActive( ) return - } // IsVerticalContentSizeConstraintActive @@ -28099,7 +26613,6 @@ func (x gen_NSView) IsVerticalContentSizeConstraintActive() bool { ) return convertObjCBoolToGo(ret) - } // SetVerticalContentSizeConstraintActive @@ -28114,7 +26627,6 @@ func (x gen_NSView) SetVerticalContentSizeConstraintActive( ) return - } // BackgroundColor @@ -28125,8 +26637,7 @@ func (x gen_NSView) BackgroundColor() NSColor { unsafe.Pointer(x.Pointer()), ) - return NSColor_fromPointer(ret) - + return NSColor_FromPointer(ret) } // SetBackgroundColor @@ -28141,5 +26652,4 @@ func (x gen_NSView) SetBackgroundColor( ) return - } diff --git a/core/CALayer.go b/core/CALayer.go index aa1ae382..ad1d1ebd 100644 --- a/core/CALayer.go +++ b/core/CALayer.go @@ -17,5 +17,5 @@ func (l CALayer) SetCornerRadius(r float64) { } func (l CALayer) SetContents(o objc.Object) { - l.gen_CALayer.SetContents(objc.Object_fromRef(o)) + l.gen_CALayer.SetContents(objc.Object_FromRef(o)) } diff --git a/core/NSArray.go b/core/NSArray.go index 0e1dad37..f9581b1c 100644 --- a/core/NSArray.go +++ b/core/NSArray.go @@ -19,7 +19,7 @@ func NSArray_WithObjects(objs ...objc.Object) NSArray { for i, obj := range objs { objsInterface[i] = obj } - return NSArray_fromRef(objc.Get("NSArray").Send("arrayWithObjects:", objsInterface...)) + return NSArray_FromRef(objc.Get("NSArray").Send("arrayWithObjects:", objsInterface...)) } // Count returns the number of objects in the array. diff --git a/core/NSAttributedString.go b/core/NSAttributedString.go index 32680ce8..112bc04c 100644 --- a/core/NSAttributedString.go +++ b/core/NSAttributedString.go @@ -14,9 +14,9 @@ type NSAttributedString struct { // https://developer.apple.com/documentation/foundation/nsattributedstring/1407481-initwithstring?language=objc func NSAttributedString_FromString(str string) NSAttributedString { nsstr := NSString_FromString(str) - return NSAttributedString_alloc().InitWithString_asNSAttributedString(nsstr) + return NSAttributedString_Alloc().InitWithString_AsNSAttributedString(nsstr) } func NSAttributedString_FromObject(obj objc.Object) NSAttributedString { - return NSAttributedString_fromRef(obj) + return NSAttributedString_FromRef(obj) } diff --git a/core/NSData.go b/core/NSData.go index 39eee19e..03afedb7 100644 --- a/core/NSData.go +++ b/core/NSData.go @@ -14,7 +14,7 @@ type NSData struct { func NSData_WithBytes(b []byte, length uint64) NSData { buf := C.CBytes(b) defer C.free(buf) - return NSData_dataWithBytes_length(buf, NSUInteger(length)) + return NSData_DataWithBytesLength(buf, NSUInteger(length)) } // Length is the number of bytes contained by the data object. diff --git a/core/NSDictionary.go b/core/NSDictionary.go index 42b7ddb7..817a4af1 100644 --- a/core/NSDictionary.go +++ b/core/NSDictionary.go @@ -9,12 +9,12 @@ type NSDictionary struct { } func NSDictionary_New() NSDictionary { - return NSDictionary_alloc().Init_asNSDictionary() + return NSDictionary_Alloc().Init_AsNSDictionary() } func NSDictionary_Init(valueKeys ...interface{}) NSDictionary { - return NSDictionary_fromRef( - NSDictionary_alloc().Send("initWithObjectsAndKeys:", valueKeys...)) + return NSDictionary_FromRef( + NSDictionary_Alloc().Send("initWithObjectsAndKeys:", valueKeys...)) } func (d NSDictionary) ObjectForKey(key objc.Object) objc.Object { diff --git a/core/NSNumber.go b/core/NSNumber.go index d7a18e56..3bc80d0e 100644 --- a/core/NSNumber.go +++ b/core/NSNumber.go @@ -5,9 +5,9 @@ type NSNumber struct { } func NSNumber_WithBool(b bool) NSNumber { - return NSNumber_numberWithBool(b) + return NSNumber_NumberWithBool(b) } func NSNumber_WithInt(n int32) NSNumber { - return NSNumber_numberWithInt(n) + return NSNumber_NumberWithInt(n) } diff --git a/core/NSRunLoop.go b/core/NSRunLoop.go index c417beee..868b0658 100644 --- a/core/NSRunLoop.go +++ b/core/NSRunLoop.go @@ -5,9 +5,9 @@ type NSRunLoop struct { } func NSRunLoop_Current() NSRunLoop { - return NSRunLoop_currentRunLoop() + return NSRunLoop_CurrentRunLoop() } func NSRunLoop_Main() NSRunLoop { - return NSRunLoop_mainRunLoop() + return NSRunLoop_MainRunLoop() } diff --git a/core/NSString.go b/core/NSString.go index 9c1e6511..640614bb 100644 --- a/core/NSString.go +++ b/core/NSString.go @@ -30,12 +30,12 @@ func NSString_FromString(s string) NSString { b := []byte(s) c := C.CBytes(b) defer C.free(unsafe.Pointer(c)) - ret := NSString_alloc().InitWithBytes_length_encoding_asNSString(c, NSUInteger(len(b)), NSUTF8StringEncoding) + ret := NSString_Alloc().InitWithBytesLengthEncoding_AsNSString(c, NSUInteger(len(b)), NSUTF8StringEncoding) return ret } func NSString_FromObject(obj objc.Object) NSString { - return NSString_fromRef(obj) + return NSString_FromRef(obj) } func (s NSString) SizeWithAttributes(attrs NSDictionary) NSSize { diff --git a/core/NSThread.go b/core/NSThread.go index f633ea1f..0fd54cdc 100644 --- a/core/NSThread.go +++ b/core/NSThread.go @@ -3,7 +3,3 @@ package core type NSThread struct { gen_NSThread } - -func NSThread_IsMainThread() bool { - return NSThread_isMainThread() -} diff --git a/core/NSURLRequest.go b/core/NSURLRequest.go index d2533ff8..d2a469cb 100644 --- a/core/NSURLRequest.go +++ b/core/NSURLRequest.go @@ -5,5 +5,5 @@ type NSURLRequest struct { } func NSURLRequest_Init(url NSURL) NSURLRequest { - return NSURLRequest_requestWithURL(url) + return NSURLRequest_RequestWithURL(url) } diff --git a/core/core_objc.gen.go b/core/core_objc.gen.go index 00967ef1..27f9c216 100755 --- a/core/core_objc.gen.go +++ b/core/core_objc.gen.go @@ -2173,8 +2173,7 @@ func convertToObjCBool(b bool) C.BOOL { func CALayer_Alloc() CALayer { ret := C.CALayer_type_Alloc() - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // CALayer_Layer creates and returns an instance of the layer object. @@ -2183,8 +2182,7 @@ func CALayer_Alloc() CALayer { func CALayer_Layer() CALayer { ret := C.CALayer_type_Layer() - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // CALayer_NeedsDisplayForKey returns a boolean indicating whether changes to the specified key require the layer to be redisplayed. @@ -2196,7 +2194,6 @@ func CALayer_NeedsDisplayForKey(key NSStringRef) bool { ) return convertObjCBoolToGo(ret) - } // CALayer_DefaultActionForKey returns the default action for the current class. @@ -2207,8 +2204,7 @@ func CALayer_DefaultActionForKey(event NSStringRef) objc.Object { objc.RefPointer(event), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // CALayer_DefaultValueForKey specifies the default value associated with the specified key. @@ -2219,8 +2215,7 @@ func CALayer_DefaultValueForKey(key NSStringRef) objc.Object { objc.RefPointer(key), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // NSArray_Alloc @@ -2229,8 +2224,7 @@ func CALayer_DefaultValueForKey(key NSStringRef) objc.Object { func NSArray_Alloc() NSArray { ret := C.NSArray_type_Alloc() - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSArray_Array creates and returns an empty array. @@ -2239,8 +2233,7 @@ func NSArray_Alloc() NSArray { func NSArray_Array() NSArray { ret := C.NSArray_type_Array() - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSArray_ArrayWithArray creates and returns an array containing the objects in another given array. @@ -2251,8 +2244,7 @@ func NSArray_ArrayWithArray(array NSArrayRef) NSArray { objc.RefPointer(array), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSAttributedString_Alloc @@ -2261,8 +2253,7 @@ func NSArray_ArrayWithArray(array NSArrayRef) NSArray { func NSAttributedString_Alloc() NSAttributedString { ret := C.NSAttributedString_type_Alloc() - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // NSAttributedString_TextTypes an array of uti strings that identify the file types that attributed strings support, either directly or through a user-installed filter service. @@ -2271,8 +2262,7 @@ func NSAttributedString_Alloc() NSAttributedString { func NSAttributedString_TextTypes() NSArray { ret := C.NSAttributedString_type_TextTypes() - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSAttributedString_TextUnfilteredTypes an array of uti strings that identify the file types that attributed strings support directly. @@ -2281,8 +2271,7 @@ func NSAttributedString_TextTypes() NSArray { func NSAttributedString_TextUnfilteredTypes() NSArray { ret := C.NSAttributedString_type_TextUnfilteredTypes() - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSData_Alloc @@ -2291,8 +2280,7 @@ func NSAttributedString_TextUnfilteredTypes() NSArray { func NSData_Alloc() NSData { ret := C.NSData_type_Alloc() - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_Data creates an empty data object. @@ -2301,8 +2289,7 @@ func NSData_Alloc() NSData { func NSData_Data() NSData { ret := C.NSData_type_Data() - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_DataWithBytesLength creates a data object containing a given number of bytes copied from a given buffer. @@ -2314,8 +2301,7 @@ func NSData_DataWithBytesLength(bytes unsafe.Pointer, length NSUInteger) NSData C.ulong(length), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_DataWithBytesNoCopyLength creates a data object that holds a given number of bytes from a given buffer. @@ -2327,8 +2313,7 @@ func NSData_DataWithBytesNoCopyLength(bytes unsafe.Pointer, length NSUInteger) N C.ulong(length), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_DataWithBytesNoCopyLengthFreeWhenDone creates a data object that holds a given number of bytes from a given buffer. @@ -2341,8 +2326,7 @@ func NSData_DataWithBytesNoCopyLengthFreeWhenDone(bytes unsafe.Pointer, length N convertToObjCBool(b), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_DataWithData creates a data object containing the contents of another data object. @@ -2353,8 +2337,7 @@ func NSData_DataWithData(data NSDataRef) NSData { objc.RefPointer(data), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_DataWithContentsOfFile creates a data object by reading every byte from the file at a given path. @@ -2365,8 +2348,7 @@ func NSData_DataWithContentsOfFile(path NSStringRef) NSData { objc.RefPointer(path), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSData_DataWithContentsOfURL creates a data object containing the data from the location specified by a given url. @@ -2377,8 +2359,7 @@ func NSData_DataWithContentsOfURL(url NSURLRef) NSData { objc.RefPointer(url), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // NSDictionary_Alloc @@ -2387,8 +2368,7 @@ func NSData_DataWithContentsOfURL(url NSURLRef) NSData { func NSDictionary_Alloc() NSDictionary { ret := C.NSDictionary_type_Alloc() - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // NSDictionary_Dictionary creates an empty dictionary. @@ -2397,8 +2377,7 @@ func NSDictionary_Alloc() NSDictionary { func NSDictionary_Dictionary() NSDictionary { ret := C.NSDictionary_type_Dictionary() - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // NSDictionary_DictionaryWithObjectsForKeys creates a dictionary containing entries constructed from the contents of an array of keys and an array of values. @@ -2410,8 +2389,7 @@ func NSDictionary_DictionaryWithObjectsForKeys(objects NSArrayRef, keys NSArrayR objc.RefPointer(keys), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // NSDictionary_DictionaryWithDictionary creates a dictionary containing the keys and values from another given dictionary. @@ -2422,8 +2400,7 @@ func NSDictionary_DictionaryWithDictionary(dict NSDictionaryRef) NSDictionary { objc.RefPointer(dict), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // NSDictionary_SharedKeySetForKeys creates a shared key set object for the specified keys. @@ -2434,8 +2411,7 @@ func NSDictionary_SharedKeySetForKeys(keys NSArrayRef) objc.Object { objc.RefPointer(keys), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // NSNumber_Alloc @@ -2444,8 +2420,7 @@ func NSDictionary_SharedKeySetForKeys(keys NSArrayRef) objc.Object { func NSNumber_Alloc() NSNumber { ret := C.NSNumber_type_Alloc() - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // NSNumber_NumberWithBool creates and returns an nsnumber object containing a given value, treating it as a bool. @@ -2456,8 +2431,7 @@ func NSNumber_NumberWithBool(value bool) NSNumber { convertToObjCBool(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // NSNumber_NumberWithInt creates and returns an nsnumber object containing a given value, treating it as a signed int. @@ -2468,8 +2442,7 @@ func NSNumber_NumberWithInt(value int32) NSNumber { C.int(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // NSNumber_NumberWithInteger creates and returns an nsnumber object containing a given value, treating it as an nsinteger. @@ -2480,8 +2453,7 @@ func NSNumber_NumberWithInteger(value NSInteger) NSNumber { C.long(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // NSNumber_NumberWithUnsignedInt creates and returns an nsnumber object containing a given value, treating it as an unsigned int. @@ -2492,8 +2464,7 @@ func NSNumber_NumberWithUnsignedInt(value int32) NSNumber { C.int(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // NSNumber_NumberWithUnsignedInteger creates and returns an nsnumber object containing a given value, treating it as an nsuinteger. @@ -2504,8 +2475,7 @@ func NSNumber_NumberWithUnsignedInteger(value NSUInteger) NSNumber { C.ulong(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // NSRunLoop_Alloc @@ -2514,8 +2484,7 @@ func NSNumber_NumberWithUnsignedInteger(value NSUInteger) NSNumber { func NSRunLoop_Alloc() NSRunLoop { ret := C.NSRunLoop_type_Alloc() - return NSRunLoop_fromPointer(ret) - + return NSRunLoop_FromPointer(ret) } // NSRunLoop_CurrentRunLoop returns the run loop for the current thread. @@ -2524,8 +2493,7 @@ func NSRunLoop_Alloc() NSRunLoop { func NSRunLoop_CurrentRunLoop() NSRunLoop { ret := C.NSRunLoop_type_CurrentRunLoop() - return NSRunLoop_fromPointer(ret) - + return NSRunLoop_FromPointer(ret) } // NSRunLoop_MainRunLoop returns the run loop of the main thread. @@ -2534,8 +2502,7 @@ func NSRunLoop_CurrentRunLoop() NSRunLoop { func NSRunLoop_MainRunLoop() NSRunLoop { ret := C.NSRunLoop_type_MainRunLoop() - return NSRunLoop_fromPointer(ret) - + return NSRunLoop_FromPointer(ret) } // NSString_Alloc @@ -2544,8 +2511,7 @@ func NSRunLoop_MainRunLoop() NSRunLoop { func NSString_Alloc() NSString { ret := C.NSString_type_Alloc() - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // NSString_String returns an empty string. @@ -2554,8 +2520,7 @@ func NSString_Alloc() NSString { func NSString_String() NSString { ret := C.NSString_type_String() - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // NSString_LocalizedUserNotificationStringForKeyArguments returns a localized string intended for display in a notification alert. @@ -2567,8 +2532,7 @@ func NSString_LocalizedUserNotificationStringForKeyArguments(key NSStringRef, ar objc.RefPointer(arguments), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // NSString_StringWithString returns a string created by copying the characters from another given string. @@ -2579,8 +2543,7 @@ func NSString_StringWithString(string NSStringRef) NSString { objc.RefPointer(string), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // NSString_LocalizedNameOfStringEncoding returns a human-readable string giving the name of a given encoding. @@ -2591,8 +2554,7 @@ func NSString_LocalizedNameOfStringEncoding(encoding NSStringEncoding) NSString C.ulong(encoding), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // NSString_PathWithComponents returns a string built from the strings in a given array by concatenating them with a path separator between each pair. @@ -2603,8 +2565,7 @@ func NSString_PathWithComponents(components NSArrayRef) NSString { objc.RefPointer(components), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // NSString_DefaultCStringEncoding returns the c-string encoding assumed for any method accepting a c string as an argument. @@ -2614,7 +2575,6 @@ func NSString_DefaultCStringEncoding() NSStringEncoding { ret := C.NSString_type_DefaultCStringEncoding() return NSStringEncoding(ret) - } // NSThread_Alloc @@ -2623,8 +2583,7 @@ func NSString_DefaultCStringEncoding() NSStringEncoding { func NSThread_Alloc() NSThread { ret := C.NSThread_type_Alloc() - return NSThread_fromPointer(ret) - + return NSThread_FromPointer(ret) } // NSThread_DetachNewThreadSelectorToTargetWithObject detaches a new thread and uses the specified selector as the thread entry point. @@ -2638,7 +2597,6 @@ func NSThread_DetachNewThreadSelectorToTargetWithObject(selector objc.Selector, ) return - } // NSThread_Exit terminates the current thread. @@ -2648,7 +2606,6 @@ func NSThread_Exit() { C.NSThread_type_Exit() return - } // NSThread_IsMultiThreaded returns whether the application is multithreaded. @@ -2658,7 +2615,6 @@ func NSThread_IsMultiThreaded() bool { ret := C.NSThread_type_IsMultiThreaded() return convertObjCBoolToGo(ret) - } // NSThread_IsMainThread returns a boolean value that indicates whether the current thread is the main thread. @@ -2668,7 +2624,6 @@ func NSThread_IsMainThread() bool { ret := C.NSThread_type_IsMainThread() return convertObjCBoolToGo(ret) - } // NSThread_MainThread returns the nsthread object representing the main thread. @@ -2677,8 +2632,7 @@ func NSThread_IsMainThread() bool { func NSThread_MainThread() NSThread { ret := C.NSThread_type_MainThread() - return NSThread_fromPointer(ret) - + return NSThread_FromPointer(ret) } // NSThread_CurrentThread returns the thread object representing the current thread of execution. @@ -2687,8 +2641,7 @@ func NSThread_MainThread() NSThread { func NSThread_CurrentThread() NSThread { ret := C.NSThread_type_CurrentThread() - return NSThread_fromPointer(ret) - + return NSThread_FromPointer(ret) } // NSThread_CallStackReturnAddresses returns an array containing the call stack return addresses. @@ -2697,8 +2650,7 @@ func NSThread_CurrentThread() NSThread { func NSThread_CallStackReturnAddresses() NSArray { ret := C.NSThread_type_CallStackReturnAddresses() - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSThread_CallStackSymbols returns an array containing the call stack symbols. @@ -2707,8 +2659,7 @@ func NSThread_CallStackReturnAddresses() NSArray { func NSThread_CallStackSymbols() NSArray { ret := C.NSThread_type_CallStackSymbols() - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // NSURL_Alloc @@ -2717,8 +2668,7 @@ func NSThread_CallStackSymbols() NSArray { func NSURL_Alloc() NSURL { ret := C.NSURL_type_Alloc() - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_URLWithString creates and returns an nsurl object initialized with a provided url string. @@ -2729,8 +2679,7 @@ func NSURL_URLWithString(URLString NSStringRef) NSURL { objc.RefPointer(URLString), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_URLWithStringRelativeToURL creates and returns an nsurl object initialized with a base url and a relative string. @@ -2742,8 +2691,7 @@ func NSURL_URLWithStringRelativeToURL(URLString NSStringRef, baseURL NSURLRef) N objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_FileURLWithPathIsDirectory initializes and returns a newly created nsurl object as a file url with a specified path. @@ -2755,8 +2703,7 @@ func NSURL_FileURLWithPathIsDirectory(path NSStringRef, isDir bool) NSURL { convertToObjCBool(isDir), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_FileURLWithPathRelativeToURL @@ -2768,8 +2715,7 @@ func NSURL_FileURLWithPathRelativeToURL(path NSStringRef, baseURL NSURLRef) NSUR objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_FileURLWithPathIsDirectoryRelativeToURL @@ -2782,8 +2728,7 @@ func NSURL_FileURLWithPathIsDirectoryRelativeToURL(path NSStringRef, isDir bool, objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_FileURLWithPath initializes and returns a newly created nsurl object as a file url with a specified path. @@ -2794,8 +2739,7 @@ func NSURL_FileURLWithPath(path NSStringRef) NSURL { objc.RefPointer(path), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_FileURLWithPathComponents initializes and returns a newly created nsurl object as a file url with specified path components. @@ -2806,8 +2750,7 @@ func NSURL_FileURLWithPathComponents(components NSArrayRef) NSURL { objc.RefPointer(components), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_AbsoluteURLWithDataRepresentationRelativeToURL @@ -2819,8 +2762,7 @@ func NSURL_AbsoluteURLWithDataRepresentationRelativeToURL(data NSDataRef, baseUR objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_URLWithDataRepresentationRelativeToURL @@ -2832,8 +2774,7 @@ func NSURL_URLWithDataRepresentationRelativeToURL(data NSDataRef, baseURL NSURLR objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // NSURL_ResourceValuesForKeysFromBookmarkData returns the resource values for properties identified by a specified array of keys contained in specified bookmark data. @@ -2845,8 +2786,7 @@ func NSURL_ResourceValuesForKeysFromBookmarkData(keys NSArrayRef, bookmarkData N objc.RefPointer(bookmarkData), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // NSURLRequest_Alloc @@ -2855,8 +2795,7 @@ func NSURL_ResourceValuesForKeysFromBookmarkData(keys NSArrayRef, bookmarkData N func NSURLRequest_Alloc() NSURLRequest { ret := C.NSURLRequest_type_Alloc() - return NSURLRequest_fromPointer(ret) - + return NSURLRequest_FromPointer(ret) } // NSURLRequest_RequestWithURL creates and returns a url request for a specified url. @@ -2867,8 +2806,7 @@ func NSURLRequest_RequestWithURL(URL NSURLRef) NSURLRequest { objc.RefPointer(URL), ) - return NSURLRequest_fromPointer(ret) - + return NSURLRequest_FromPointer(ret) } // NSURLRequest_SupportsSecureCoding returns a boolean value indicating whether the nsurlrequest implements the nssecurecoding protocol. @@ -2878,7 +2816,6 @@ func NSURLRequest_SupportsSecureCoding() bool { ret := C.NSURLRequest_type_SupportsSecureCoding() return convertObjCBoolToGo(ret) - } // NSUserDefaults_Alloc @@ -2887,8 +2824,7 @@ func NSURLRequest_SupportsSecureCoding() bool { func NSUserDefaults_Alloc() NSUserDefaults { ret := C.NSUserDefaults_type_Alloc() - return NSUserDefaults_fromPointer(ret) - + return NSUserDefaults_FromPointer(ret) } // NSUserDefaults_ResetStandardUserDefaults this method has no effect and shouldn't be used. @@ -2898,7 +2834,6 @@ func NSUserDefaults_ResetStandardUserDefaults() { C.NSUserDefaults_type_ResetStandardUserDefaults() return - } // NSUserDefaults_StandardUserDefaults returns the shared defaults object. @@ -2907,27 +2842,26 @@ func NSUserDefaults_ResetStandardUserDefaults() { func NSUserDefaults_StandardUserDefaults() NSUserDefaults { ret := C.NSUserDefaults_type_StandardUserDefaults() - return NSUserDefaults_fromPointer(ret) - + return NSUserDefaults_FromPointer(ret) } type CALayerRef interface { Pointer() uintptr - Init_asCALayer() CALayer + Init_AsCALayer() CALayer } type gen_CALayer struct { objc.Object } -func CALayer_fromPointer(ptr unsafe.Pointer) CALayer { +func CALayer_FromPointer(ptr unsafe.Pointer) CALayer { return CALayer{gen_CALayer{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func CALayer_fromRef(ref objc.Ref) CALayer { - return CALayer_fromPointer(unsafe.Pointer(ref.Pointer())) +func CALayer_FromRef(ref objc.Ref) CALayer { + return CALayer_FromPointer(unsafe.Pointer(ref.Pointer())) } // ActionForKey returns the action object assigned to the specified key. @@ -2941,8 +2875,7 @@ func (x gen_CALayer) ActionForKey( objc.RefPointer(event), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // AddSublayer appends the layer to the layer’s list of sublayers. @@ -2957,7 +2890,6 @@ func (x gen_CALayer) AddSublayer( ) return - } // AnimationKeys returns an array of strings that identify the animations currently attached to the layer. @@ -2968,8 +2900,7 @@ func (x gen_CALayer) AnimationKeys() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // ContentsAreFlipped returns a boolean indicating whether the layer content is implicitly flipped when rendered. @@ -2981,7 +2912,6 @@ func (x gen_CALayer) ContentsAreFlipped() bool { ) return convertObjCBoolToGo(ret) - } // ConvertRectFromLayer converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. @@ -2998,7 +2928,6 @@ func (x gen_CALayer) ConvertRectFromLayer( ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // ConvertRectToLayer converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. @@ -3015,7 +2944,6 @@ func (x gen_CALayer) ConvertRectToLayer( ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // Display reloads the content of this layer. @@ -3027,7 +2955,6 @@ func (x gen_CALayer) Display() { ) return - } // DisplayIfNeeded initiates the update process for a layer if it is currently marked as needing an update. @@ -3039,25 +2966,23 @@ func (x gen_CALayer) DisplayIfNeeded() { ) return - } // Init returns an initialized calayer object. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410835-init?language=objc for details. -func (x gen_CALayer) Init_asCALayer() CALayer { +func (x gen_CALayer) Init_AsCALayer() CALayer { ret := C.CALayer_inst_Init( unsafe.Pointer(x.Pointer()), ) - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // InitWithLayer override to copy or initialize custom fields of the specified layer. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410842-initwithlayer?language=objc for details. -func (x gen_CALayer) InitWithLayer_asCALayer( +func (x gen_CALayer) InitWithLayer_AsCALayer( layer objc.Ref, ) CALayer { ret := C.CALayer_inst_InitWithLayer( @@ -3065,8 +2990,7 @@ func (x gen_CALayer) InitWithLayer_asCALayer( objc.RefPointer(layer), ) - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // InsertSublayerAbove inserts the specified sublayer above a different sublayer that already belongs to the receiver. @@ -3083,7 +3007,6 @@ func (x gen_CALayer) InsertSublayerAbove( ) return - } // InsertSublayerAtIndex inserts the specified layer into the receiver’s list of sublayers at the specified index. @@ -3100,7 +3023,6 @@ func (x gen_CALayer) InsertSublayerAtIndex( ) return - } // InsertSublayerBelow inserts the specified sublayer below a different sublayer that already belongs to the receiver. @@ -3117,7 +3039,6 @@ func (x gen_CALayer) InsertSublayerBelow( ) return - } // LayoutIfNeeded recalculate the receiver’s layout, if required. @@ -3129,7 +3050,6 @@ func (x gen_CALayer) LayoutIfNeeded() { ) return - } // LayoutSublayers tells the layer to update its layout. @@ -3141,19 +3061,17 @@ func (x gen_CALayer) LayoutSublayers() { ) return - } // ModelLayer returns the model layer object associated with the receiver, if any. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410853-modellayer?language=objc for details. -func (x gen_CALayer) ModelLayer_asCALayer() CALayer { +func (x gen_CALayer) ModelLayer_AsCALayer() CALayer { ret := C.CALayer_inst_ModelLayer( unsafe.Pointer(x.Pointer()), ) - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // NeedsDisplay returns a boolean indicating whether the layer has been marked as needing an update. @@ -3165,7 +3083,6 @@ func (x gen_CALayer) NeedsDisplay() bool { ) return convertObjCBoolToGo(ret) - } // NeedsLayout returns a boolean indicating whether the layer has been marked as needing a layout update. @@ -3177,7 +3094,6 @@ func (x gen_CALayer) NeedsLayout() bool { ) return convertObjCBoolToGo(ret) - } // PreferredFrameSize returns the preferred size of the layer in the coordinate space of its superlayer. @@ -3189,19 +3105,17 @@ func (x gen_CALayer) PreferredFrameSize() NSSize { ) return *(*NSSize)(unsafe.Pointer(&ret)) - } // PresentationLayer returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. // // See https://developer.apple.com/documentation/quartzcore/calayer/1410744-presentationlayer?language=objc for details. -func (x gen_CALayer) PresentationLayer_asCALayer() CALayer { +func (x gen_CALayer) PresentationLayer_AsCALayer() CALayer { ret := C.CALayer_inst_PresentationLayer( unsafe.Pointer(x.Pointer()), ) - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // RemoveAllAnimations remove all animations attached to the layer. @@ -3213,7 +3127,6 @@ func (x gen_CALayer) RemoveAllAnimations() { ) return - } // RemoveAnimationForKey remove the animation object with the specified key. @@ -3228,7 +3141,6 @@ func (x gen_CALayer) RemoveAnimationForKey( ) return - } // RemoveFromSuperlayer detaches the layer from its parent layer. @@ -3240,7 +3152,6 @@ func (x gen_CALayer) RemoveFromSuperlayer() { ) return - } // ReplaceSublayerWith replaces the specified sublayer with a different layer object. @@ -3257,7 +3168,6 @@ func (x gen_CALayer) ReplaceSublayerWith( ) return - } // ResizeSublayersWithOldSize informs the receiver’s sublayers that the receiver’s size has changed. @@ -3272,7 +3182,6 @@ func (x gen_CALayer) ResizeSublayersWithOldSize( ) return - } // ResizeWithOldSuperlayerSize informs the receiver that the size of its superlayer changed. @@ -3287,7 +3196,6 @@ func (x gen_CALayer) ResizeWithOldSuperlayerSize( ) return - } // ScrollRectToVisible initiates a scroll in the layer’s closest ancestor scroll layer so that the specified rectangle becomes visible. @@ -3302,7 +3210,6 @@ func (x gen_CALayer) ScrollRectToVisible( ) return - } // SetNeedsDisplay marks the layer’s contents as needing to be updated. @@ -3314,7 +3221,6 @@ func (x gen_CALayer) SetNeedsDisplay() { ) return - } // SetNeedsDisplayInRect marks the region within the specified rectangle as needing to be updated. @@ -3329,7 +3235,6 @@ func (x gen_CALayer) SetNeedsDisplayInRect( ) return - } // SetNeedsLayout invalidates the layer’s layout and marks it as needing an update. @@ -3341,7 +3246,6 @@ func (x gen_CALayer) SetNeedsLayout() { ) return - } // ShouldArchiveValueForKey returns a boolean indicating whether the value of the specified key should be archived. @@ -3356,7 +3260,6 @@ func (x gen_CALayer) ShouldArchiveValueForKey( ) return convertObjCBoolToGo(ret) - } // Delegate returns the layer’s delegate object. @@ -3367,8 +3270,7 @@ func (x gen_CALayer) Delegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetDelegate returns the layer’s delegate object. @@ -3383,7 +3285,6 @@ func (x gen_CALayer) SetDelegate( ) return - } // Contents an object that provides the contents of the layer. animatable. @@ -3394,8 +3295,7 @@ func (x gen_CALayer) Contents() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetContents an object that provides the contents of the layer. animatable. @@ -3410,7 +3310,6 @@ func (x gen_CALayer) SetContents( ) return - } // ContentsRect returns the rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. animatable. @@ -3422,7 +3321,6 @@ func (x gen_CALayer) ContentsRect() NSRect { ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // SetContentsRect returns the rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. animatable. @@ -3437,7 +3335,6 @@ func (x gen_CALayer) SetContentsRect( ) return - } // ContentsCenter returns the rectangle that defines how the layer contents are scaled if the layer’s contents are resized. animatable. @@ -3449,7 +3346,6 @@ func (x gen_CALayer) ContentsCenter() NSRect { ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // SetContentsCenter returns the rectangle that defines how the layer contents are scaled if the layer’s contents are resized. animatable. @@ -3464,7 +3360,6 @@ func (x gen_CALayer) SetContentsCenter( ) return - } // IsHidden returns a boolean indicating whether the layer is displayed. animatable. @@ -3476,7 +3371,6 @@ func (x gen_CALayer) IsHidden() bool { ) return convertObjCBoolToGo(ret) - } // SetHidden returns a boolean indicating whether the layer is displayed. animatable. @@ -3491,7 +3385,6 @@ func (x gen_CALayer) SetHidden( ) return - } // MasksToBounds returns a boolean indicating whether sublayers are clipped to the layer’s bounds. animatable. @@ -3503,7 +3396,6 @@ func (x gen_CALayer) MasksToBounds() bool { ) return convertObjCBoolToGo(ret) - } // SetMasksToBounds returns a boolean indicating whether sublayers are clipped to the layer’s bounds. animatable. @@ -3518,7 +3410,6 @@ func (x gen_CALayer) SetMasksToBounds( ) return - } // Mask an optional layer whose alpha channel is used to mask the layer’s content. @@ -3529,8 +3420,7 @@ func (x gen_CALayer) Mask() CALayer { unsafe.Pointer(x.Pointer()), ) - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // SetMask an optional layer whose alpha channel is used to mask the layer’s content. @@ -3545,7 +3435,6 @@ func (x gen_CALayer) SetMask( ) return - } // IsDoubleSided returns a boolean indicating whether the layer displays its content when facing away from the viewer. animatable. @@ -3557,7 +3446,6 @@ func (x gen_CALayer) IsDoubleSided() bool { ) return convertObjCBoolToGo(ret) - } // SetDoubleSided returns a boolean indicating whether the layer displays its content when facing away from the viewer. animatable. @@ -3572,7 +3460,6 @@ func (x gen_CALayer) SetDoubleSided( ) return - } // CornerRadius returns the radius to use when drawing rounded corners for the layer’s background. animatable. @@ -3584,7 +3471,6 @@ func (x gen_CALayer) CornerRadius() CGFloat { ) return CGFloat(ret) - } // SetCornerRadius returns the radius to use when drawing rounded corners for the layer’s background. animatable. @@ -3599,7 +3485,6 @@ func (x gen_CALayer) SetCornerRadius( ) return - } // BorderWidth returns the width of the layer’s border. animatable. @@ -3611,7 +3496,6 @@ func (x gen_CALayer) BorderWidth() CGFloat { ) return CGFloat(ret) - } // SetBorderWidth returns the width of the layer’s border. animatable. @@ -3626,7 +3510,6 @@ func (x gen_CALayer) SetBorderWidth( ) return - } // ShadowRadius returns the blur radius (in points) used to render the layer’s shadow. animatable. @@ -3638,7 +3521,6 @@ func (x gen_CALayer) ShadowRadius() CGFloat { ) return CGFloat(ret) - } // SetShadowRadius returns the blur radius (in points) used to render the layer’s shadow. animatable. @@ -3653,7 +3535,6 @@ func (x gen_CALayer) SetShadowRadius( ) return - } // ShadowOffset returns the offset (in points) of the layer’s shadow. animatable. @@ -3665,7 +3546,6 @@ func (x gen_CALayer) ShadowOffset() NSSize { ) return *(*NSSize)(unsafe.Pointer(&ret)) - } // SetShadowOffset returns the offset (in points) of the layer’s shadow. animatable. @@ -3680,7 +3560,6 @@ func (x gen_CALayer) SetShadowOffset( ) return - } // Style an optional dictionary used to store property values that aren't explicitly defined by the layer. @@ -3691,8 +3570,7 @@ func (x gen_CALayer) Style() NSDictionary { unsafe.Pointer(x.Pointer()), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // SetStyle an optional dictionary used to store property values that aren't explicitly defined by the layer. @@ -3707,7 +3585,6 @@ func (x gen_CALayer) SetStyle( ) return - } // AllowsEdgeAntialiasing returns a boolean indicating whether the layer is allowed to perform edge antialiasing. @@ -3719,7 +3596,6 @@ func (x gen_CALayer) AllowsEdgeAntialiasing() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsEdgeAntialiasing returns a boolean indicating whether the layer is allowed to perform edge antialiasing. @@ -3734,7 +3610,6 @@ func (x gen_CALayer) SetAllowsEdgeAntialiasing( ) return - } // AllowsGroupOpacity returns a boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. @@ -3746,7 +3621,6 @@ func (x gen_CALayer) AllowsGroupOpacity() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsGroupOpacity returns a boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. @@ -3761,7 +3635,6 @@ func (x gen_CALayer) SetAllowsGroupOpacity( ) return - } // Filters an array of core image filters to apply to the contents of the layer and its sublayers. animatable. @@ -3772,8 +3645,7 @@ func (x gen_CALayer) Filters() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SetFilters an array of core image filters to apply to the contents of the layer and its sublayers. animatable. @@ -3788,7 +3660,6 @@ func (x gen_CALayer) SetFilters( ) return - } // CompositingFilter returns a coreimage filter used to composite the layer and the content behind it. animatable. @@ -3799,8 +3670,7 @@ func (x gen_CALayer) CompositingFilter() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetCompositingFilter returns a coreimage filter used to composite the layer and the content behind it. animatable. @@ -3815,7 +3685,6 @@ func (x gen_CALayer) SetCompositingFilter( ) return - } // BackgroundFilters an array of core image filters to apply to the content immediately behind the layer. animatable. @@ -3826,8 +3695,7 @@ func (x gen_CALayer) BackgroundFilters() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SetBackgroundFilters an array of core image filters to apply to the content immediately behind the layer. animatable. @@ -3842,7 +3710,6 @@ func (x gen_CALayer) SetBackgroundFilters( ) return - } // IsOpaque returns a boolean value indicating whether the layer contains completely opaque content. @@ -3854,7 +3721,6 @@ func (x gen_CALayer) IsOpaque() bool { ) return convertObjCBoolToGo(ret) - } // SetOpaque returns a boolean value indicating whether the layer contains completely opaque content. @@ -3869,7 +3735,6 @@ func (x gen_CALayer) SetOpaque( ) return - } // IsGeometryFlipped returns a boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. @@ -3881,7 +3746,6 @@ func (x gen_CALayer) IsGeometryFlipped() bool { ) return convertObjCBoolToGo(ret) - } // SetGeometryFlipped returns a boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. @@ -3896,7 +3760,6 @@ func (x gen_CALayer) SetGeometryFlipped( ) return - } // DrawsAsynchronously returns a boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. @@ -3908,7 +3771,6 @@ func (x gen_CALayer) DrawsAsynchronously() bool { ) return convertObjCBoolToGo(ret) - } // SetDrawsAsynchronously returns a boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. @@ -3923,7 +3785,6 @@ func (x gen_CALayer) SetDrawsAsynchronously( ) return - } // ShouldRasterize returns a boolean that indicates whether the layer is rendered as a bitmap before compositing. animatable @@ -3935,7 +3796,6 @@ func (x gen_CALayer) ShouldRasterize() bool { ) return convertObjCBoolToGo(ret) - } // SetShouldRasterize returns a boolean that indicates whether the layer is rendered as a bitmap before compositing. animatable @@ -3950,7 +3810,6 @@ func (x gen_CALayer) SetShouldRasterize( ) return - } // RasterizationScale returns the scale at which to rasterize content, relative to the coordinate space of the layer. animatable @@ -3962,7 +3821,6 @@ func (x gen_CALayer) RasterizationScale() CGFloat { ) return CGFloat(ret) - } // SetRasterizationScale returns the scale at which to rasterize content, relative to the coordinate space of the layer. animatable @@ -3977,7 +3835,6 @@ func (x gen_CALayer) SetRasterizationScale( ) return - } // Frame returns the layer’s frame rectangle. @@ -3989,7 +3846,6 @@ func (x gen_CALayer) Frame() NSRect { ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // SetFrame returns the layer’s frame rectangle. @@ -4004,7 +3860,6 @@ func (x gen_CALayer) SetFrame( ) return - } // Bounds returns the layer’s bounds rectangle. animatable. @@ -4016,7 +3871,6 @@ func (x gen_CALayer) Bounds() NSRect { ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // SetBounds returns the layer’s bounds rectangle. animatable. @@ -4031,7 +3885,6 @@ func (x gen_CALayer) SetBounds( ) return - } // ZPosition returns the layer’s position on the z axis. animatable. @@ -4043,7 +3896,6 @@ func (x gen_CALayer) ZPosition() CGFloat { ) return CGFloat(ret) - } // SetZPosition returns the layer’s position on the z axis. animatable. @@ -4058,7 +3910,6 @@ func (x gen_CALayer) SetZPosition( ) return - } // AnchorPointZ returns the anchor point for the layer’s position along the z axis. animatable. @@ -4070,7 +3921,6 @@ func (x gen_CALayer) AnchorPointZ() CGFloat { ) return CGFloat(ret) - } // SetAnchorPointZ returns the anchor point for the layer’s position along the z axis. animatable. @@ -4085,7 +3935,6 @@ func (x gen_CALayer) SetAnchorPointZ( ) return - } // ContentsScale returns the scale factor applied to the layer. @@ -4097,7 +3946,6 @@ func (x gen_CALayer) ContentsScale() CGFloat { ) return CGFloat(ret) - } // SetContentsScale returns the scale factor applied to the layer. @@ -4112,7 +3960,6 @@ func (x gen_CALayer) SetContentsScale( ) return - } // Sublayers an array containing the layer’s sublayers. @@ -4123,8 +3970,7 @@ func (x gen_CALayer) Sublayers() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SetSublayers an array containing the layer’s sublayers. @@ -4139,7 +3985,6 @@ func (x gen_CALayer) SetSublayers( ) return - } // Superlayer returns the superlayer of the layer. @@ -4150,8 +3995,7 @@ func (x gen_CALayer) Superlayer() CALayer { unsafe.Pointer(x.Pointer()), ) - return CALayer_fromPointer(ret) - + return CALayer_FromPointer(ret) } // NeedsDisplayOnBoundsChange returns a boolean indicating whether the layer contents must be updated when its bounds rectangle changes. @@ -4163,7 +4007,6 @@ func (x gen_CALayer) NeedsDisplayOnBoundsChange() bool { ) return convertObjCBoolToGo(ret) - } // SetNeedsDisplayOnBoundsChange returns a boolean indicating whether the layer contents must be updated when its bounds rectangle changes. @@ -4178,7 +4021,6 @@ func (x gen_CALayer) SetNeedsDisplayOnBoundsChange( ) return - } // LayoutManager returns the object responsible for laying out the layer’s sublayers. @@ -4189,8 +4031,7 @@ func (x gen_CALayer) LayoutManager() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetLayoutManager returns the object responsible for laying out the layer’s sublayers. @@ -4205,7 +4046,6 @@ func (x gen_CALayer) SetLayoutManager( ) return - } // Constraints returns the constraints used to position current layer’s sublayers. @@ -4216,8 +4056,7 @@ func (x gen_CALayer) Constraints() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SetConstraints returns the constraints used to position current layer’s sublayers. @@ -4232,7 +4071,6 @@ func (x gen_CALayer) SetConstraints( ) return - } // Actions returns a dictionary containing layer actions. @@ -4243,8 +4081,7 @@ func (x gen_CALayer) Actions() NSDictionary { unsafe.Pointer(x.Pointer()), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // SetActions returns a dictionary containing layer actions. @@ -4259,7 +4096,6 @@ func (x gen_CALayer) SetActions( ) return - } // VisibleRect returns the visible region of the layer in its own coordinate space. @@ -4271,7 +4107,6 @@ func (x gen_CALayer) VisibleRect() NSRect { ) return *(*NSRect)(unsafe.Pointer(&ret)) - } // Name returns the name of the receiver. @@ -4282,8 +4117,7 @@ func (x gen_CALayer) Name() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // SetName returns the name of the receiver. @@ -4298,26 +4132,25 @@ func (x gen_CALayer) SetName( ) return - } type NSArrayRef interface { Pointer() uintptr - Init_asNSArray() NSArray + Init_AsNSArray() NSArray } type gen_NSArray struct { objc.Object } -func NSArray_fromPointer(ptr unsafe.Pointer) NSArray { +func NSArray_FromPointer(ptr unsafe.Pointer) NSArray { return NSArray{gen_NSArray{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSArray_fromRef(ref objc.Ref) NSArray { - return NSArray_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSArray_FromRef(ref objc.Ref) NSArray { + return NSArray_FromPointer(unsafe.Pointer(ref.Pointer())) } // ArrayByAddingObjectsFromArray returns a new array that is a copy of the receiving array with the objects contained in another array added to the end. @@ -4331,8 +4164,7 @@ func (x gen_NSArray) ArrayByAddingObjectsFromArray( objc.RefPointer(otherArray), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // ComponentsJoinedByString constructs and returns an nsstring object that is the result of interposing a given separator between the elements of the array. @@ -4346,8 +4178,7 @@ func (x gen_NSArray) ComponentsJoinedByString( objc.RefPointer(separator), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // DescriptionWithLocale returns a string that represents the contents of the array, formatted as a property list. @@ -4361,8 +4192,7 @@ func (x gen_NSArray) DescriptionWithLocale( objc.RefPointer(locale), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // DescriptionWithLocaleIndent returns a string that represents the contents of the array, formatted as a property list. @@ -4378,26 +4208,24 @@ func (x gen_NSArray) DescriptionWithLocaleIndent( C.ulong(level), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Init initializes a newly allocated array. // // See https://developer.apple.com/documentation/foundation/nsarray/1414315-init?language=objc for details. -func (x gen_NSArray) Init_asNSArray() NSArray { +func (x gen_NSArray) Init_AsNSArray() NSArray { ret := C.NSArray_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // InitWithArray initializes a newly allocated array by placing in it the objects contained in a given array. // // See https://developer.apple.com/documentation/foundation/nsarray/1412169-initwitharray?language=objc for details. -func (x gen_NSArray) InitWithArray_asNSArray( +func (x gen_NSArray) InitWithArray_AsNSArray( array NSArrayRef, ) NSArray { ret := C.NSArray_inst_InitWithArray( @@ -4405,14 +4233,13 @@ func (x gen_NSArray) InitWithArray_asNSArray( objc.RefPointer(array), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // InitWithArrayCopyItems initializes a newly allocated array using anarray as the source of data objects for the array. // // See https://developer.apple.com/documentation/foundation/nsarray/1408557-initwitharray?language=objc for details. -func (x gen_NSArray) InitWithArrayCopyItems_asNSArray( +func (x gen_NSArray) InitWithArrayCopyItems_AsNSArray( array NSArrayRef, flag bool, ) NSArray { @@ -4422,8 +4249,7 @@ func (x gen_NSArray) InitWithArrayCopyItems_asNSArray( convertToObjCBool(flag), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // IsEqualToArray compares the receiving array to another array. @@ -4438,7 +4264,6 @@ func (x gen_NSArray) IsEqualToArray( ) return convertObjCBoolToGo(ret) - } // MakeObjectsPerformSelector sends to each object in the array the message identified by a given selector, starting with the first object and continuing through the array to the last object. @@ -4453,7 +4278,6 @@ func (x gen_NSArray) MakeObjectsPerformSelector( ) return - } // MakeObjectsPerformSelectorWithObject sends the aselector message to each object in the array, starting with the first object and continuing through the array to the last object. @@ -4470,7 +4294,6 @@ func (x gen_NSArray) MakeObjectsPerformSelectorWithObject( ) return - } // PathsMatchingExtensions returns an array containing all the pathname elements in the receiving array that have filename extensions from a given array. @@ -4484,8 +4307,7 @@ func (x gen_NSArray) PathsMatchingExtensions( objc.RefPointer(filterTypes), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SetValueForKey invokes setvalue:forkey: on each of the array's items using the specified value and key. @@ -4502,7 +4324,6 @@ func (x gen_NSArray) SetValueForKey( ) return - } // ShuffledArray returns a new array that lists this array’s elements in a random order. @@ -4513,8 +4334,7 @@ func (x gen_NSArray) ShuffledArray() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SortedArrayUsingDescriptors returns a copy of the receiving array sorted as specified by a given array of sort descriptors. @@ -4528,8 +4348,7 @@ func (x gen_NSArray) SortedArrayUsingDescriptors( objc.RefPointer(sortDescriptors), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SortedArrayUsingSelector returns an array that lists the receiving array’s elements in ascending order, as determined by the comparison method specified by a given selector. @@ -4543,8 +4362,7 @@ func (x gen_NSArray) SortedArrayUsingSelector( comparator.SelectorAddress(), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // ValueForKey returns an array containing the results of invoking valueforkey: using key on each of the array's objects. @@ -4558,8 +4376,7 @@ func (x gen_NSArray) ValueForKey( objc.RefPointer(key), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // Count returns the number of objects in the array. @@ -4571,7 +4388,6 @@ func (x gen_NSArray) Count() NSUInteger { ) return NSUInteger(ret) - } // SortedArrayHint analyzes the array and returns a “hint” that speeds the sorting of the array when the hint is supplied to sortedarrayusingfunction:context:hint:. @@ -4582,8 +4398,7 @@ func (x gen_NSArray) SortedArrayHint() NSData { unsafe.Pointer(x.Pointer()), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // Description returns a string that represents the contents of the array, formatted as a property list. @@ -4594,27 +4409,26 @@ func (x gen_NSArray) Description() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } type NSAttributedStringRef interface { Pointer() uintptr - Init_asNSAttributedString() NSAttributedString + Init_AsNSAttributedString() NSAttributedString } type gen_NSAttributedString struct { objc.Object } -func NSAttributedString_fromPointer(ptr unsafe.Pointer) NSAttributedString { +func NSAttributedString_FromPointer(ptr unsafe.Pointer) NSAttributedString { return NSAttributedString{gen_NSAttributedString{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSAttributedString_fromRef(ref objc.Ref) NSAttributedString { - return NSAttributedString_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSAttributedString_FromRef(ref objc.Ref) NSAttributedString { + return NSAttributedString_FromPointer(unsafe.Pointer(ref.Pointer())) } // AttributedStringByInflectingString @@ -4625,8 +4439,7 @@ func (x gen_NSAttributedString) AttributedStringByInflectingString() NSAttribute unsafe.Pointer(x.Pointer()), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // DrawInRect draws the attributed string inside the specified bounding rectangle in the current graphics context. @@ -4641,13 +4454,12 @@ func (x gen_NSAttributedString) DrawInRect( ) return - } // InitWithAttributedString creates an attributed string with the characters and attributes of the specified attributed string. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1415342-initwithattributedstring?language=objc for details. -func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( +func (x gen_NSAttributedString) InitWithAttributedString_AsNSAttributedString( attrStr NSAttributedStringRef, ) NSAttributedString { ret := C.NSAttributedString_inst_InitWithAttributedString( @@ -4655,14 +4467,13 @@ func (x gen_NSAttributedString) InitWithAttributedString_asNSAttributedString( objc.RefPointer(attrStr), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithDocFormatDocumentAttributes creates an attributed string from microsoft word format data in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1534329-initwithdocformat?language=objc for details. -func (x gen_NSAttributedString) InitWithDocFormatDocumentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithDocFormatDocumentAttributes_AsNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { @@ -4672,14 +4483,13 @@ func (x gen_NSAttributedString) InitWithDocFormatDocumentAttributes_asNSAttribut objc.RefPointer(dict), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithHTMLBaseURLDocumentAttributes creates an attributed string from the html in the specified data object and base url. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1524624-initwithhtml?language=objc for details. -func (x gen_NSAttributedString) InitWithHTMLBaseURLDocumentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTMLBaseURLDocumentAttributes_AsNSAttributedString( data NSDataRef, base NSURLRef, dict NSDictionaryRef, @@ -4691,14 +4501,13 @@ func (x gen_NSAttributedString) InitWithHTMLBaseURLDocumentAttributes_asNSAttrib objc.RefPointer(dict), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithHTMLDocumentAttributes creates an attributed string from the html in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1525953-initwithhtml?language=objc for details. -func (x gen_NSAttributedString) InitWithHTMLDocumentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTMLDocumentAttributes_AsNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { @@ -4708,14 +4517,13 @@ func (x gen_NSAttributedString) InitWithHTMLDocumentAttributes_asNSAttributedStr objc.RefPointer(dict), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithHTMLOptionsDocumentAttributes creates an attributed string from the html in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1535412-initwithhtml?language=objc for details. -func (x gen_NSAttributedString) InitWithHTMLOptionsDocumentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithHTMLOptionsDocumentAttributes_AsNSAttributedString( data NSDataRef, options NSDictionaryRef, dict NSDictionaryRef, @@ -4727,14 +4535,13 @@ func (x gen_NSAttributedString) InitWithHTMLOptionsDocumentAttributes_asNSAttrib objc.RefPointer(dict), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithRTFDocumentAttributes creates an attributed string by decoding the stream of rtf commands and data in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1532912-initwithrtf?language=objc for details. -func (x gen_NSAttributedString) InitWithRTFDocumentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithRTFDocumentAttributes_AsNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { @@ -4744,14 +4551,13 @@ func (x gen_NSAttributedString) InitWithRTFDocumentAttributes_asNSAttributedStri objc.RefPointer(dict), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithRTFDDocumentAttributes creates an attributed string by decoding the stream of rtfd commands and data in the specified data object. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1530987-initwithrtfd?language=objc for details. -func (x gen_NSAttributedString) InitWithRTFDDocumentAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithRTFDDocumentAttributes_AsNSAttributedString( data NSDataRef, dict NSDictionaryRef, ) NSAttributedString { @@ -4761,14 +4567,13 @@ func (x gen_NSAttributedString) InitWithRTFDDocumentAttributes_asNSAttributedStr objc.RefPointer(dict), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithString creates an attributed string with the characters of the specified string and no attribute information. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1407481-initwithstring?language=objc for details. -func (x gen_NSAttributedString) InitWithString_asNSAttributedString( +func (x gen_NSAttributedString) InitWithString_AsNSAttributedString( str NSStringRef, ) NSAttributedString { ret := C.NSAttributedString_inst_InitWithString( @@ -4776,14 +4581,13 @@ func (x gen_NSAttributedString) InitWithString_asNSAttributedString( objc.RefPointer(str), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // InitWithStringAttributes creates an attributed string with the specified string and attributes. // // See https://developer.apple.com/documentation/foundation/nsattributedstring/1408136-initwithstring?language=objc for details. -func (x gen_NSAttributedString) InitWithStringAttributes_asNSAttributedString( +func (x gen_NSAttributedString) InitWithStringAttributes_AsNSAttributedString( str NSStringRef, attrs NSDictionaryRef, ) NSAttributedString { @@ -4793,8 +4597,7 @@ func (x gen_NSAttributedString) InitWithStringAttributes_asNSAttributedString( objc.RefPointer(attrs), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // IsEqualToAttributedString returns a boolean value that indicates whether the attributed string is equal to another attributed string. @@ -4809,7 +4612,6 @@ func (x gen_NSAttributedString) IsEqualToAttributedString( ) return convertObjCBoolToGo(ret) - } // NextWordFromIndexForward returns the index of the first character of the word after or before the specified index. @@ -4826,7 +4628,6 @@ func (x gen_NSAttributedString) NextWordFromIndexForward( ) return NSUInteger(ret) - } // Size returns the size necessary to draw the string. @@ -4838,19 +4639,17 @@ func (x gen_NSAttributedString) Size() NSSize { ) return *(*NSSize)(unsafe.Pointer(&ret)) - } // Init // // See for details. -func (x gen_NSAttributedString) Init_asNSAttributedString() NSAttributedString { +func (x gen_NSAttributedString) Init_AsNSAttributedString() NSAttributedString { ret := C.NSAttributedString_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSAttributedString_fromPointer(ret) - + return NSAttributedString_FromPointer(ret) } // String returns the character contents of the attributed string as a string. @@ -4861,8 +4660,7 @@ func (x gen_NSAttributedString) String() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Length returns the length of the attributed string. @@ -4874,26 +4672,25 @@ func (x gen_NSAttributedString) Length() NSUInteger { ) return NSUInteger(ret) - } type NSDataRef interface { Pointer() uintptr - Init_asNSData() NSData + Init_AsNSData() NSData } type gen_NSData struct { objc.Object } -func NSData_fromPointer(ptr unsafe.Pointer) NSData { +func NSData_FromPointer(ptr unsafe.Pointer) NSData { return NSData{gen_NSData{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSData_fromRef(ref objc.Ref) NSData { - return NSData_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSData_FromRef(ref objc.Ref) NSData { + return NSData_FromPointer(unsafe.Pointer(ref.Pointer())) } // GetBytesLength copies a number of bytes from the start of the data object into a given buffer. @@ -4910,13 +4707,12 @@ func (x gen_NSData) GetBytesLength( ) return - } // InitWithBytesLength initializes a data object filled with a given number of bytes copied from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1412793-initwithbytes?language=objc for details. -func (x gen_NSData) InitWithBytesLength_asNSData( +func (x gen_NSData) InitWithBytesLength_AsNSData( bytes unsafe.Pointer, length NSUInteger, ) NSData { @@ -4926,14 +4722,13 @@ func (x gen_NSData) InitWithBytesLength_asNSData( C.ulong(length), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // InitWithBytesNoCopyLength initializes a data object filled with a given number of bytes of data from a given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1409454-initwithbytesnocopy?language=objc for details. -func (x gen_NSData) InitWithBytesNoCopyLength_asNSData( +func (x gen_NSData) InitWithBytesNoCopyLength_AsNSData( bytes unsafe.Pointer, length NSUInteger, ) NSData { @@ -4943,14 +4738,13 @@ func (x gen_NSData) InitWithBytesNoCopyLength_asNSData( C.ulong(length), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // InitWithBytesNoCopyLengthFreeWhenDone initializes a newly allocated data object by adding the given number of bytes from the given buffer. // // See https://developer.apple.com/documentation/foundation/nsdata/1416020-initwithbytesnocopy?language=objc for details. -func (x gen_NSData) InitWithBytesNoCopyLengthFreeWhenDone_asNSData( +func (x gen_NSData) InitWithBytesNoCopyLengthFreeWhenDone_AsNSData( bytes unsafe.Pointer, length NSUInteger, b bool, @@ -4962,14 +4756,13 @@ func (x gen_NSData) InitWithBytesNoCopyLengthFreeWhenDone_asNSData( convertToObjCBool(b), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // InitWithContentsOfFile initializes a data object with the content of the file at a given path. // // See https://developer.apple.com/documentation/foundation/nsdata/1408672-initwithcontentsoffile?language=objc for details. -func (x gen_NSData) InitWithContentsOfFile_asNSData( +func (x gen_NSData) InitWithContentsOfFile_AsNSData( path NSStringRef, ) NSData { ret := C.NSData_inst_InitWithContentsOfFile( @@ -4977,14 +4770,13 @@ func (x gen_NSData) InitWithContentsOfFile_asNSData( objc.RefPointer(path), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // InitWithContentsOfURL initializes a data object with the data from the location specified by a given url. // // See https://developer.apple.com/documentation/foundation/nsdata/1413892-initwithcontentsofurl?language=objc for details. -func (x gen_NSData) InitWithContentsOfURL_asNSData( +func (x gen_NSData) InitWithContentsOfURL_AsNSData( url NSURLRef, ) NSData { ret := C.NSData_inst_InitWithContentsOfURL( @@ -4992,14 +4784,13 @@ func (x gen_NSData) InitWithContentsOfURL_asNSData( objc.RefPointer(url), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // InitWithData initializes a data object with the contents of another data object. // // See https://developer.apple.com/documentation/foundation/nsdata/1417055-initwithdata?language=objc for details. -func (x gen_NSData) InitWithData_asNSData( +func (x gen_NSData) InitWithData_AsNSData( data NSDataRef, ) NSData { ret := C.NSData_inst_InitWithData( @@ -5007,8 +4798,7 @@ func (x gen_NSData) InitWithData_asNSData( objc.RefPointer(data), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // IsEqualToData returns a boolean value indicating whether this data object is the same as another. @@ -5023,7 +4813,6 @@ func (x gen_NSData) IsEqualToData( ) return convertObjCBoolToGo(ret) - } // WriteToFileAtomically writes the data object's bytes to the file specified by a given path. @@ -5040,7 +4829,6 @@ func (x gen_NSData) WriteToFileAtomically( ) return convertObjCBoolToGo(ret) - } // WriteToURLAtomically writes the data object's bytes to the location specified by a given url. @@ -5057,19 +4845,17 @@ func (x gen_NSData) WriteToURLAtomically( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSData) Init_asNSData() NSData { +func (x gen_NSData) Init_AsNSData() NSData { ret := C.NSData_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // Bytes returns a pointer to the data object's contents. @@ -5081,7 +4867,6 @@ func (x gen_NSData) Bytes() unsafe.Pointer { ) return ret - } // Length returns the number of bytes contained by the data object. @@ -5093,7 +4878,6 @@ func (x gen_NSData) Length() NSUInteger { ) return NSUInteger(ret) - } // Description returns a string that contains a hexadecimal representation of the data object’s contents in a property list format. @@ -5104,27 +4888,26 @@ func (x gen_NSData) Description() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } type NSDictionaryRef interface { Pointer() uintptr - Init_asNSDictionary() NSDictionary + Init_AsNSDictionary() NSDictionary } type gen_NSDictionary struct { objc.Object } -func NSDictionary_fromPointer(ptr unsafe.Pointer) NSDictionary { +func NSDictionary_FromPointer(ptr unsafe.Pointer) NSDictionary { return NSDictionary{gen_NSDictionary{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSDictionary_fromRef(ref objc.Ref) NSDictionary { - return NSDictionary_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSDictionary_FromRef(ref objc.Ref) NSDictionary { + return NSDictionary_FromPointer(unsafe.Pointer(ref.Pointer())) } // DescriptionWithLocale returns a string object that represents the contents of the dictionary, formatted as a property list. @@ -5138,8 +4921,7 @@ func (x gen_NSDictionary) DescriptionWithLocale( objc.RefPointer(locale), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // DescriptionWithLocaleIndent returns a string object that represents the contents of the dictionary, formatted as a property list. @@ -5155,8 +4937,7 @@ func (x gen_NSDictionary) DescriptionWithLocaleIndent( C.ulong(level), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // FileExtensionHidden returns a boolean value indicating whether the file hides its extension. @@ -5168,7 +4949,6 @@ func (x gen_NSDictionary) FileExtensionHidden() bool { ) return convertObjCBoolToGo(ret) - } // FileGroupOwnerAccountID returns file’s group owner account id. @@ -5179,8 +4959,7 @@ func (x gen_NSDictionary) FileGroupOwnerAccountID() NSNumber { unsafe.Pointer(x.Pointer()), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // FileGroupOwnerAccountName returns the file’s group owner account name. @@ -5191,8 +4970,7 @@ func (x gen_NSDictionary) FileGroupOwnerAccountName() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // FileIsAppendOnly returns a boolean value indicating whether the file is append only. @@ -5204,7 +4982,6 @@ func (x gen_NSDictionary) FileIsAppendOnly() bool { ) return convertObjCBoolToGo(ret) - } // FileIsImmutable returns a boolean value indicating whether the file is immutable. @@ -5216,7 +4993,6 @@ func (x gen_NSDictionary) FileIsImmutable() bool { ) return convertObjCBoolToGo(ret) - } // FileOwnerAccountID returns the file’s owner account id. @@ -5227,8 +5003,7 @@ func (x gen_NSDictionary) FileOwnerAccountID() NSNumber { unsafe.Pointer(x.Pointer()), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // FileOwnerAccountName returns the file’s owner account name. @@ -5239,8 +5014,7 @@ func (x gen_NSDictionary) FileOwnerAccountName() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // FilePosixPermissions returns the file’s posix permissions. @@ -5252,7 +5026,6 @@ func (x gen_NSDictionary) FilePosixPermissions() NSUInteger { ) return NSUInteger(ret) - } // FileSystemFileNumber returns the filesystem file number. @@ -5264,7 +5037,6 @@ func (x gen_NSDictionary) FileSystemFileNumber() NSUInteger { ) return NSUInteger(ret) - } // FileSystemNumber returns the filesystem number. @@ -5276,7 +5048,6 @@ func (x gen_NSDictionary) FileSystemNumber() NSInteger { ) return NSInteger(ret) - } // FileType returns the file type. @@ -5287,26 +5058,24 @@ func (x gen_NSDictionary) FileType() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Init initializes a newly allocated dictionary. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1418147-init?language=objc for details. -func (x gen_NSDictionary) Init_asNSDictionary() NSDictionary { +func (x gen_NSDictionary) Init_AsNSDictionary() NSDictionary { ret := C.NSDictionary_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // InitWithDictionary initializes a newly allocated dictionary by placing in it the keys and values contained in another given dictionary. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1418434-initwithdictionary?language=objc for details. -func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( +func (x gen_NSDictionary) InitWithDictionary_AsNSDictionary( otherDictionary NSDictionaryRef, ) NSDictionary { ret := C.NSDictionary_inst_InitWithDictionary( @@ -5314,14 +5083,13 @@ func (x gen_NSDictionary) InitWithDictionary_asNSDictionary( objc.RefPointer(otherDictionary), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // InitWithDictionaryCopyItems initializes a newly allocated dictionary using the objects contained in another given dictionary. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1410124-initwithdictionary?language=objc for details. -func (x gen_NSDictionary) InitWithDictionaryCopyItems_asNSDictionary( +func (x gen_NSDictionary) InitWithDictionaryCopyItems_AsNSDictionary( otherDictionary NSDictionaryRef, flag bool, ) NSDictionary { @@ -5331,14 +5099,13 @@ func (x gen_NSDictionary) InitWithDictionaryCopyItems_asNSDictionary( convertToObjCBool(flag), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // InitWithObjectsForKeys initializes a newly allocated dictionary with key-value pairs constructed from the provided arrays of keys and objects. // // See https://developer.apple.com/documentation/foundation/nsdictionary/1410010-initwithobjects?language=objc for details. -func (x gen_NSDictionary) InitWithObjectsForKeys_asNSDictionary( +func (x gen_NSDictionary) InitWithObjectsForKeys_AsNSDictionary( objects NSArrayRef, keys NSArrayRef, ) NSDictionary { @@ -5348,8 +5115,7 @@ func (x gen_NSDictionary) InitWithObjectsForKeys_asNSDictionary( objc.RefPointer(keys), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // IsEqualToDictionary returns a boolean value that indicates whether the contents of the receiving dictionary are equal to the contents of another given dictionary. @@ -5364,7 +5130,6 @@ func (x gen_NSDictionary) IsEqualToDictionary( ) return convertObjCBoolToGo(ret) - } // KeysSortedByValueUsingSelector returns an array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values. @@ -5378,8 +5143,7 @@ func (x gen_NSDictionary) KeysSortedByValueUsingSelector( comparator.SelectorAddress(), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // Count returns the number of entries in the dictionary. @@ -5391,7 +5155,6 @@ func (x gen_NSDictionary) Count() NSUInteger { ) return NSUInteger(ret) - } // AllKeys returns a new array containing the dictionary’s keys, or an empty array if the dictionary has no entries. @@ -5402,8 +5165,7 @@ func (x gen_NSDictionary) AllKeys() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // AllValues returns a new array containing the dictionary’s values, or an empty array if the dictionary has no entries. @@ -5414,8 +5176,7 @@ func (x gen_NSDictionary) AllValues() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // Description returns a string that represents the contents of the dictionary, formatted as a property list. @@ -5426,8 +5187,7 @@ func (x gen_NSDictionary) Description() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // DescriptionInStringsFileFormat returns a string that represents the contents of the dictionary, formatted in .strings file format. @@ -5438,27 +5198,26 @@ func (x gen_NSDictionary) DescriptionInStringsFileFormat() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } type NSNumberRef interface { Pointer() uintptr - Init_asNSNumber() NSNumber + Init_AsNSNumber() NSNumber } type gen_NSNumber struct { objc.Object } -func NSNumber_fromPointer(ptr unsafe.Pointer) NSNumber { +func NSNumber_FromPointer(ptr unsafe.Pointer) NSNumber { return NSNumber{gen_NSNumber{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSNumber_fromRef(ref objc.Ref) NSNumber { - return NSNumber_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSNumber_FromRef(ref objc.Ref) NSNumber { + return NSNumber_FromPointer(unsafe.Pointer(ref.Pointer())) } // DescriptionWithLocale returns a string that represents the contents of the number object for a given locale. @@ -5472,8 +5231,7 @@ func (x gen_NSNumber) DescriptionWithLocale( objc.RefPointer(locale), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // InitWithBool returns an nsnumber object initialized to contain a given value, treated as a bool. @@ -5487,8 +5245,7 @@ func (x gen_NSNumber) InitWithBool( convertToObjCBool(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // InitWithInt returns an nsnumber object initialized to contain a given value, treated as a signed int. @@ -5502,8 +5259,7 @@ func (x gen_NSNumber) InitWithInt( C.int(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // InitWithInteger returns an nsnumber object initialized to contain a given value, treated as an nsinteger. @@ -5517,8 +5273,7 @@ func (x gen_NSNumber) InitWithInteger( C.long(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // InitWithUnsignedInt returns an nsnumber object initialized to contain a given value, treated as an unsigned int. @@ -5532,8 +5287,7 @@ func (x gen_NSNumber) InitWithUnsignedInt( C.int(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // InitWithUnsignedInteger returns an nsnumber object initialized to contain a given value, treated as an nsuinteger. @@ -5547,8 +5301,7 @@ func (x gen_NSNumber) InitWithUnsignedInteger( C.ulong(value), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // IsEqualToNumber returns a boolean value that indicates whether the number object’s value and a given number are equal. @@ -5563,19 +5316,17 @@ func (x gen_NSNumber) IsEqualToNumber( ) return convertObjCBoolToGo(ret) - } // Init // // See for details. -func (x gen_NSNumber) Init_asNSNumber() NSNumber { +func (x gen_NSNumber) Init_AsNSNumber() NSNumber { ret := C.NSNumber_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // BoolValue returns the number object's value expressed as a boolean value. @@ -5587,7 +5338,6 @@ func (x gen_NSNumber) BoolValue() bool { ) return convertObjCBoolToGo(ret) - } // IntValue returns the number object's value expressed as an int, converted as necessary. @@ -5599,7 +5349,6 @@ func (x gen_NSNumber) IntValue() int32 { ) return int32(ret) - } // IntegerValue returns the number object's value expressed as an nsinteger object, converted as necessary. @@ -5611,7 +5360,6 @@ func (x gen_NSNumber) IntegerValue() NSInteger { ) return NSInteger(ret) - } // UnsignedIntegerValue returns the number object's value expressed as an nsuinteger object, converted as necessary. @@ -5623,7 +5371,6 @@ func (x gen_NSNumber) UnsignedIntegerValue() NSUInteger { ) return NSUInteger(ret) - } // UnsignedIntValue returns the number object's value expressed as an unsigned int, converted as necessary. @@ -5635,7 +5382,6 @@ func (x gen_NSNumber) UnsignedIntValue() int32 { ) return int32(ret) - } // StringValue returns the number object's value expressed as a human-readable string. @@ -5646,27 +5392,26 @@ func (x gen_NSNumber) StringValue() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } type NSRunLoopRef interface { Pointer() uintptr - Init_asNSRunLoop() NSRunLoop + Init_AsNSRunLoop() NSRunLoop } type gen_NSRunLoop struct { objc.Object } -func NSRunLoop_fromPointer(ptr unsafe.Pointer) NSRunLoop { +func NSRunLoop_FromPointer(ptr unsafe.Pointer) NSRunLoop { return NSRunLoop{gen_NSRunLoop{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSRunLoop_fromRef(ref objc.Ref) NSRunLoop { - return NSRunLoop_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSRunLoop_FromRef(ref objc.Ref) NSRunLoop { + return NSRunLoop_FromPointer(unsafe.Pointer(ref.Pointer())) } // CancelPerformSelectorTargetArgument cancels the sending of a previously scheduled message. @@ -5685,7 +5430,6 @@ func (x gen_NSRunLoop) CancelPerformSelectorTargetArgument( ) return - } // CancelPerformSelectorsWithTarget cancels all outstanding ordered performs scheduled with a given target. @@ -5700,7 +5444,6 @@ func (x gen_NSRunLoop) CancelPerformSelectorsWithTarget( ) return - } // PerformSelectorTargetArgumentOrderModes schedules the sending of a message on the receiver. @@ -5723,7 +5466,6 @@ func (x gen_NSRunLoop) PerformSelectorTargetArgumentOrderModes( ) return - } // Run puts the receiver into a permanent loop, during which time it processes data from all attached input sources. @@ -5735,38 +5477,36 @@ func (x gen_NSRunLoop) Run() { ) return - } // Init // // See for details. -func (x gen_NSRunLoop) Init_asNSRunLoop() NSRunLoop { +func (x gen_NSRunLoop) Init_AsNSRunLoop() NSRunLoop { ret := C.NSRunLoop_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSRunLoop_fromPointer(ret) - + return NSRunLoop_FromPointer(ret) } type NSStringRef interface { Pointer() uintptr - Init_asNSString() NSString + Init_AsNSString() NSString } type gen_NSString struct { objc.Object } -func NSString_fromPointer(ptr unsafe.Pointer) NSString { +func NSString_FromPointer(ptr unsafe.Pointer) NSString { return NSString{gen_NSString{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSString_fromRef(ref objc.Ref) NSString { - return NSString_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSString_FromRef(ref objc.Ref) NSString { + return NSString_FromPointer(unsafe.Pointer(ref.Pointer())) } // CanBeConvertedToEncoding returns a boolean value that indicates whether the receiver can be converted to a given encoding without loss of information. @@ -5781,7 +5521,6 @@ func (x gen_NSString) CanBeConvertedToEncoding( ) return convertObjCBoolToGo(ret) - } // CharacterAtIndex returns the character at a given utf-16 code unit index. @@ -5796,7 +5535,6 @@ func (x gen_NSString) CharacterAtIndex( ) return Unichar(ret) - } // CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver. @@ -5817,7 +5555,6 @@ func (x gen_NSString) CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterT ) return NSUInteger(ret) - } // ComponentsSeparatedByString returns an array containing substrings from the receiver that have been divided by a given separator. @@ -5831,8 +5568,7 @@ func (x gen_NSString) ComponentsSeparatedByString( objc.RefPointer(separator), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // ContainsString returns a boolean value indicating whether the string contains a given string by performing a case-sensitive, locale-unaware search. @@ -5847,7 +5583,6 @@ func (x gen_NSString) ContainsString( ) return convertObjCBoolToGo(ret) - } // DataUsingEncoding returns an nsdata object containing a representation of the receiver encoded using a given encoding. @@ -5861,8 +5596,7 @@ func (x gen_NSString) DataUsingEncoding( C.ulong(encoding), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // DataUsingEncodingAllowLossyConversion returns an nsdata object containing a representation of the receiver encoded using a given encoding. @@ -5878,8 +5612,7 @@ func (x gen_NSString) DataUsingEncodingAllowLossyConversion( convertToObjCBool(lossy), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // DrawInRectWithAttributes draws the attributed string inside the specified bounding rectangle. @@ -5896,7 +5629,6 @@ func (x gen_NSString) DrawInRectWithAttributes( ) return - } // HasPrefix returns a boolean value that indicates whether a given string matches the beginning characters of the receiver. @@ -5911,7 +5643,6 @@ func (x gen_NSString) HasPrefix( ) return convertObjCBoolToGo(ret) - } // HasSuffix returns a boolean value that indicates whether a given string matches the ending characters of the receiver. @@ -5926,25 +5657,23 @@ func (x gen_NSString) HasSuffix( ) return convertObjCBoolToGo(ret) - } // Init returns an initialized nsstring object that contains no characters. // // See https://developer.apple.com/documentation/foundation/nsstring/1409306-init?language=objc for details. -func (x gen_NSString) Init_asNSString() NSString { +func (x gen_NSString) Init_AsNSString() NSString { ret := C.NSString_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // InitWithBytesLengthEncoding returns an initialized nsstring object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding. // // See https://developer.apple.com/documentation/foundation/nsstring/1407339-initwithbytes?language=objc for details. -func (x gen_NSString) InitWithBytesLengthEncoding_asNSString( +func (x gen_NSString) InitWithBytesLengthEncoding_AsNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, @@ -5956,14 +5685,13 @@ func (x gen_NSString) InitWithBytesLengthEncoding_asNSString( C.ulong(encoding), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // InitWithBytesNoCopyLengthEncodingFreeWhenDone returns an initialized nsstring object that contains a given number of bytes from a given buffer of bytes interpreted in a given encoding, and optionally frees the buffer. // // See https://developer.apple.com/documentation/foundation/nsstring/1413830-initwithbytesnocopy?language=objc for details. -func (x gen_NSString) InitWithBytesNoCopyLengthEncodingFreeWhenDone_asNSString( +func (x gen_NSString) InitWithBytesNoCopyLengthEncodingFreeWhenDone_AsNSString( bytes unsafe.Pointer, len NSUInteger, encoding NSStringEncoding, @@ -5977,14 +5705,13 @@ func (x gen_NSString) InitWithBytesNoCopyLengthEncodingFreeWhenDone_asNSString( convertToObjCBool(freeBuffer), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // InitWithDataEncoding returns an nsstring object initialized by converting given data into utf-16 code units using a given encoding. // // See https://developer.apple.com/documentation/foundation/nsstring/1416374-initwithdata?language=objc for details. -func (x gen_NSString) InitWithDataEncoding_asNSString( +func (x gen_NSString) InitWithDataEncoding_AsNSString( data NSDataRef, encoding NSStringEncoding, ) NSString { @@ -5994,14 +5721,13 @@ func (x gen_NSString) InitWithDataEncoding_asNSString( C.ulong(encoding), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // InitWithString returns an nsstring object initialized by copying the characters from another given string. // // See https://developer.apple.com/documentation/foundation/nsstring/1411293-initwithstring?language=objc for details. -func (x gen_NSString) InitWithString_asNSString( +func (x gen_NSString) InitWithString_AsNSString( aString NSStringRef, ) NSString { ret := C.NSString_inst_InitWithString( @@ -6009,8 +5735,7 @@ func (x gen_NSString) InitWithString_asNSString( objc.RefPointer(aString), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // IsEqualToString returns a boolean value that indicates whether a given string is equal to the receiver using a literal unicode-based comparison. @@ -6025,7 +5750,6 @@ func (x gen_NSString) IsEqualToString( ) return convertObjCBoolToGo(ret) - } // LengthOfBytesUsingEncoding returns the number of bytes required to store the receiver in a given encoding. @@ -6040,7 +5764,6 @@ func (x gen_NSString) LengthOfBytesUsingEncoding( ) return NSUInteger(ret) - } // LocalizedCaseInsensitiveContainsString returns a boolean value indicating whether the string contains a given string by performing a case-insensitive, locale-aware search. @@ -6055,7 +5778,6 @@ func (x gen_NSString) LocalizedCaseInsensitiveContainsString( ) return convertObjCBoolToGo(ret) - } // LocalizedStandardContainsString returns a boolean value indicating whether the string contains a given string by performing a case and diacritic insensitive, locale-aware search. @@ -6070,7 +5792,6 @@ func (x gen_NSString) LocalizedStandardContainsString( ) return convertObjCBoolToGo(ret) - } // MaximumLengthOfBytesUsingEncoding returns the maximum number of bytes needed to store the receiver in a given encoding. @@ -6085,7 +5806,6 @@ func (x gen_NSString) MaximumLengthOfBytesUsingEncoding( ) return NSUInteger(ret) - } // PropertyList parses the receiver as a text representation of a property list, returning an nsstring, nsdata, nsarray, or nsdictionary object, according to the topmost element. @@ -6096,8 +5816,7 @@ func (x gen_NSString) PropertyList() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // PropertyListFromStringsFileFormat returns a dictionary object initialized with the keys and values found in the receiver. @@ -6108,8 +5827,7 @@ func (x gen_NSString) PropertyListFromStringsFileFormat() NSDictionary { unsafe.Pointer(x.Pointer()), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // SizeWithAttributes returns the bounding box size the receiver occupies when drawn with the given attributes. @@ -6124,7 +5842,6 @@ func (x gen_NSString) SizeWithAttributes( ) return *(*NSSize)(unsafe.Pointer(&ret)) - } // StringByAppendingPathComponent returns a new string made by appending to the receiver a given string. @@ -6138,8 +5855,7 @@ func (x gen_NSString) StringByAppendingPathComponent( objc.RefPointer(str), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByAppendingPathExtension returns a new string made by appending to the receiver an extension separator followed by a given extension. @@ -6153,8 +5869,7 @@ func (x gen_NSString) StringByAppendingPathExtension( objc.RefPointer(str), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByAppendingString returns a new string made by appending a given string to the receiver. @@ -6168,8 +5883,7 @@ func (x gen_NSString) StringByAppendingString( objc.RefPointer(aString), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByPaddingToLengthWithStringStartingAtIndex returns a new string formed from the receiver by either removing characters from the end, or by appending as many occurrences as necessary of a given pad string. @@ -6187,8 +5901,7 @@ func (x gen_NSString) StringByPaddingToLengthWithStringStartingAtIndex( C.ulong(padIndex), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByReplacingOccurrencesOfStringWithString returns a new string in which all occurrences of a target string in the receiver are replaced by another given string. @@ -6204,8 +5917,7 @@ func (x gen_NSString) StringByReplacingOccurrencesOfStringWithString( objc.RefPointer(replacement), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringsByAppendingPaths returns an array of strings made by separately appending to the receiver each string in a given array. @@ -6219,8 +5931,7 @@ func (x gen_NSString) StringsByAppendingPaths( objc.RefPointer(paths), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // SubstringFromIndex returns a new string containing the characters of the receiver from the one at a given index to the end. @@ -6234,8 +5945,7 @@ func (x gen_NSString) SubstringFromIndex( C.ulong(from), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // SubstringToIndex returns a new string containing the characters of the receiver up to, but not including, the one at a given index. @@ -6249,8 +5959,7 @@ func (x gen_NSString) SubstringToIndex( C.ulong(to), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // VariantFittingPresentationWidth returns a string variation suitable for the specified presentation width. @@ -6264,8 +5973,7 @@ func (x gen_NSString) VariantFittingPresentationWidth( C.long(width), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Length returns the number of utf-16 code units in the receiver. @@ -6277,7 +5985,6 @@ func (x gen_NSString) Length() NSUInteger { ) return NSUInteger(ret) - } // Hash an unsigned integer that can be used as a hash table address. @@ -6289,7 +5996,6 @@ func (x gen_NSString) Hash() NSUInteger { ) return NSUInteger(ret) - } // LowercaseString returns a lowercase representation of the string. @@ -6300,8 +6006,7 @@ func (x gen_NSString) LowercaseString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // LocalizedLowercaseString returns a version of the string with all letters converted to lowercase, taking into account the current locale. @@ -6312,8 +6017,7 @@ func (x gen_NSString) LocalizedLowercaseString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // UppercaseString an uppercase representation of the string. @@ -6324,8 +6028,7 @@ func (x gen_NSString) UppercaseString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // LocalizedUppercaseString returns a version of the string with all letters converted to uppercase, taking into account the current locale. @@ -6336,8 +6039,7 @@ func (x gen_NSString) LocalizedUppercaseString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // CapitalizedString returns a capitalized representation of the string. @@ -6348,8 +6050,7 @@ func (x gen_NSString) CapitalizedString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // LocalizedCapitalizedString returns a capitalized representation of the receiver using the current locale. @@ -6360,8 +6061,7 @@ func (x gen_NSString) LocalizedCapitalizedString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // DecomposedStringWithCanonicalMapping returns a string made by normalizing the string’s contents using the unicode normalization form d. @@ -6372,8 +6072,7 @@ func (x gen_NSString) DecomposedStringWithCanonicalMapping() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // DecomposedStringWithCompatibilityMapping returns a string made by normalizing the receiver’s contents using the unicode normalization form kd. @@ -6384,8 +6083,7 @@ func (x gen_NSString) DecomposedStringWithCompatibilityMapping() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // PrecomposedStringWithCanonicalMapping returns a string made by normalizing the string’s contents using the unicode normalization form c. @@ -6396,8 +6094,7 @@ func (x gen_NSString) PrecomposedStringWithCanonicalMapping() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // PrecomposedStringWithCompatibilityMapping returns a string made by normalizing the receiver’s contents using the unicode normalization form kc. @@ -6408,8 +6105,7 @@ func (x gen_NSString) PrecomposedStringWithCompatibilityMapping() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // IntValue returns the integer value of the string. @@ -6421,7 +6117,6 @@ func (x gen_NSString) IntValue() int32 { ) return int32(ret) - } // IntegerValue returns the nsinteger value of the string. @@ -6433,7 +6128,6 @@ func (x gen_NSString) IntegerValue() NSInteger { ) return NSInteger(ret) - } // BoolValue returns the boolean value of the string. @@ -6445,7 +6139,6 @@ func (x gen_NSString) BoolValue() bool { ) return convertObjCBoolToGo(ret) - } // Description this nsstring object. @@ -6456,8 +6149,7 @@ func (x gen_NSString) Description() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // FastestEncoding returns the fastest encoding to which the receiver may be converted without loss of information. @@ -6469,7 +6161,6 @@ func (x gen_NSString) FastestEncoding() NSStringEncoding { ) return NSStringEncoding(ret) - } // SmallestEncoding returns the smallest encoding to which the receiver can be converted without loss of information. @@ -6481,7 +6172,6 @@ func (x gen_NSString) SmallestEncoding() NSStringEncoding { ) return NSStringEncoding(ret) - } // PathComponents returns the file-system path components of the receiver. @@ -6492,8 +6182,7 @@ func (x gen_NSString) PathComponents() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // IsAbsolutePath returns a boolean value that indicates whether the receiver represents an absolute path. @@ -6505,7 +6194,6 @@ func (x gen_NSString) IsAbsolutePath() bool { ) return convertObjCBoolToGo(ret) - } // LastPathComponent returns the last path component of the receiver. @@ -6516,8 +6204,7 @@ func (x gen_NSString) LastPathComponent() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // PathExtension returns the path extension, if any, of the string as interpreted as a path. @@ -6528,8 +6215,7 @@ func (x gen_NSString) PathExtension() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByAbbreviatingWithTildeInPath returns a new string that replaces the current home directory portion of the current path with a tilde (~) character. @@ -6540,8 +6226,7 @@ func (x gen_NSString) StringByAbbreviatingWithTildeInPath() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByDeletingLastPathComponent returns a new string made by deleting the last path component from the receiver, along with any final path separator. @@ -6552,8 +6237,7 @@ func (x gen_NSString) StringByDeletingLastPathComponent() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByDeletingPathExtension returns a new string made by deleting the extension (if any, and only the last) from the receiver. @@ -6564,8 +6248,7 @@ func (x gen_NSString) StringByDeletingPathExtension() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByExpandingTildeInPath returns a new string made by expanding the initial component of the receiver to its full path value. @@ -6576,8 +6259,7 @@ func (x gen_NSString) StringByExpandingTildeInPath() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByResolvingSymlinksInPath returns a new string made from the receiver by resolving all symbolic links and standardizing path. @@ -6588,8 +6270,7 @@ func (x gen_NSString) StringByResolvingSymlinksInPath() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByStandardizingPath returns a new string made by removing extraneous path components from the receiver. @@ -6600,8 +6281,7 @@ func (x gen_NSString) StringByStandardizingPath() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StringByRemovingPercentEncoding returns a new string made from the receiver by replacing all percent encoded sequences with the matching utf-8 characters. @@ -6612,27 +6292,26 @@ func (x gen_NSString) StringByRemovingPercentEncoding() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } type NSThreadRef interface { Pointer() uintptr - Init_asNSThread() NSThread + Init_AsNSThread() NSThread } type gen_NSThread struct { objc.Object } -func NSThread_fromPointer(ptr unsafe.Pointer) NSThread { +func NSThread_FromPointer(ptr unsafe.Pointer) NSThread { return NSThread{gen_NSThread{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSThread_fromRef(ref objc.Ref) NSThread { - return NSThread_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSThread_FromRef(ref objc.Ref) NSThread { + return NSThread_FromPointer(unsafe.Pointer(ref.Pointer())) } // Cancel changes the cancelled state of the receiver to indicate that it should exit. @@ -6644,25 +6323,23 @@ func (x gen_NSThread) Cancel() { ) return - } // Init returns an initialized nsthread object. // // See https://developer.apple.com/documentation/foundation/nsthread/1416464-init?language=objc for details. -func (x gen_NSThread) Init_asNSThread() NSThread { +func (x gen_NSThread) Init_AsNSThread() NSThread { ret := C.NSThread_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSThread_fromPointer(ret) - + return NSThread_FromPointer(ret) } // InitWithTargetSelectorObject returns an nsthread object initialized with the given arguments. // // See https://developer.apple.com/documentation/foundation/nsthread/1414773-initwithtarget?language=objc for details. -func (x gen_NSThread) InitWithTargetSelectorObject_asNSThread( +func (x gen_NSThread) InitWithTargetSelectorObject_AsNSThread( target objc.Ref, selector objc.Selector, argument objc.Ref, @@ -6674,8 +6351,7 @@ func (x gen_NSThread) InitWithTargetSelectorObject_asNSThread( objc.RefPointer(argument), ) - return NSThread_fromPointer(ret) - + return NSThread_FromPointer(ret) } // Main returns the main entry point routine for the thread. @@ -6687,7 +6363,6 @@ func (x gen_NSThread) Main() { ) return - } // Start starts the receiver. @@ -6699,7 +6374,6 @@ func (x gen_NSThread) Start() { ) return - } // IsExecuting returns a boolean value that indicates whether the receiver is executing. @@ -6711,7 +6385,6 @@ func (x gen_NSThread) IsExecuting() bool { ) return convertObjCBoolToGo(ret) - } // IsFinished returns a boolean value that indicates whether the receiver has finished execution. @@ -6723,7 +6396,6 @@ func (x gen_NSThread) IsFinished() bool { ) return convertObjCBoolToGo(ret) - } // IsCancelled returns a boolean value that indicates whether the receiver is cancelled. @@ -6735,7 +6407,6 @@ func (x gen_NSThread) IsCancelled() bool { ) return convertObjCBoolToGo(ret) - } // IsMainThread returns a boolean value that indicates whether the receiver is the main thread. @@ -6747,7 +6418,6 @@ func (x gen_NSThread) IsMainThread() bool { ) return convertObjCBoolToGo(ret) - } // Name returns the name of the receiver. @@ -6758,8 +6428,7 @@ func (x gen_NSThread) Name() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // SetName returns the name of the receiver. @@ -6774,7 +6443,6 @@ func (x gen_NSThread) SetName( ) return - } // StackSize returns the stack size of the receiver, in bytes. @@ -6786,7 +6454,6 @@ func (x gen_NSThread) StackSize() NSUInteger { ) return NSUInteger(ret) - } // SetStackSize returns the stack size of the receiver, in bytes. @@ -6801,26 +6468,25 @@ func (x gen_NSThread) SetStackSize( ) return - } type NSURLRef interface { Pointer() uintptr - Init_asNSURL() NSURL + Init_AsNSURL() NSURL } type gen_NSURL struct { objc.Object } -func NSURL_fromPointer(ptr unsafe.Pointer) NSURL { +func NSURL_FromPointer(ptr unsafe.Pointer) NSURL { return NSURL{gen_NSURL{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSURL_fromRef(ref objc.Ref) NSURL { - return NSURL_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSURL_FromRef(ref objc.Ref) NSURL { + return NSURL_FromPointer(unsafe.Pointer(ref.Pointer())) } // URLByAppendingPathComponent returns a new url made by appending a path component to the original url. @@ -6834,8 +6500,7 @@ func (x gen_NSURL) URLByAppendingPathComponent( objc.RefPointer(pathComponent), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // URLByAppendingPathComponentIsDirectory returns a new url made by appending a path component to the original url, along with a trailing slash if the component is designated a directory. @@ -6851,8 +6516,7 @@ func (x gen_NSURL) URLByAppendingPathComponentIsDirectory( convertToObjCBool(isDirectory), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // URLByAppendingPathExtension returns a new url made by appending a path extension to the original url. @@ -6866,8 +6530,7 @@ func (x gen_NSURL) URLByAppendingPathExtension( objc.RefPointer(pathExtension), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // FileReferenceURL returns a new file reference url that points to the same resource as the receiver. @@ -6878,14 +6541,13 @@ func (x gen_NSURL) FileReferenceURL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitAbsoluteURLWithDataRepresentationRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1410750-initabsoluteurlwithdatarepresent?language=objc for details. -func (x gen_NSURL) InitAbsoluteURLWithDataRepresentationRelativeToURL_asNSURL( +func (x gen_NSURL) InitAbsoluteURLWithDataRepresentationRelativeToURL_AsNSURL( data NSDataRef, baseURL NSURLRef, ) NSURL { @@ -6895,14 +6557,13 @@ func (x gen_NSURL) InitAbsoluteURLWithDataRepresentationRelativeToURL_asNSURL( objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitFileURLWithPath initializes a newly created nsurl referencing the local file or directory at path. // // See https://developer.apple.com/documentation/foundation/nsurl/1410301-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPath_asNSURL( +func (x gen_NSURL) InitFileURLWithPath_AsNSURL( path NSStringRef, ) NSURL { ret := C.NSURL_inst_InitFileURLWithPath( @@ -6910,14 +6571,13 @@ func (x gen_NSURL) InitFileURLWithPath_asNSURL( objc.RefPointer(path), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitFileURLWithPathIsDirectory initializes a newly created nsurl referencing the local file or directory at path. // // See https://developer.apple.com/documentation/foundation/nsurl/1417505-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPathIsDirectory_asNSURL( +func (x gen_NSURL) InitFileURLWithPathIsDirectory_AsNSURL( path NSStringRef, isDir bool, ) NSURL { @@ -6927,14 +6587,13 @@ func (x gen_NSURL) InitFileURLWithPathIsDirectory_asNSURL( convertToObjCBool(isDir), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitFileURLWithPathIsDirectoryRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1417932-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPathIsDirectoryRelativeToURL_asNSURL( +func (x gen_NSURL) InitFileURLWithPathIsDirectoryRelativeToURL_AsNSURL( path NSStringRef, isDir bool, baseURL NSURLRef, @@ -6946,14 +6605,13 @@ func (x gen_NSURL) InitFileURLWithPathIsDirectoryRelativeToURL_asNSURL( objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitFileURLWithPathRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1415077-initfileurlwithpath?language=objc for details. -func (x gen_NSURL) InitFileURLWithPathRelativeToURL_asNSURL( +func (x gen_NSURL) InitFileURLWithPathRelativeToURL_AsNSURL( path NSStringRef, baseURL NSURLRef, ) NSURL { @@ -6963,14 +6621,13 @@ func (x gen_NSURL) InitFileURLWithPathRelativeToURL_asNSURL( objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitWithDataRepresentationRelativeToURL // // See https://developer.apple.com/documentation/foundation/nsurl/1416851-initwithdatarepresentation?language=objc for details. -func (x gen_NSURL) InitWithDataRepresentationRelativeToURL_asNSURL( +func (x gen_NSURL) InitWithDataRepresentationRelativeToURL_AsNSURL( data NSDataRef, baseURL NSURLRef, ) NSURL { @@ -6980,14 +6637,13 @@ func (x gen_NSURL) InitWithDataRepresentationRelativeToURL_asNSURL( objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitWithString initializes an nsurl object with a provided url string. // // See https://developer.apple.com/documentation/foundation/nsurl/1413146-initwithstring?language=objc for details. -func (x gen_NSURL) InitWithString_asNSURL( +func (x gen_NSURL) InitWithString_AsNSURL( URLString NSStringRef, ) NSURL { ret := C.NSURL_inst_InitWithString( @@ -6995,14 +6651,13 @@ func (x gen_NSURL) InitWithString_asNSURL( objc.RefPointer(URLString), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // InitWithStringRelativeToURL initializes an nsurl object with a base url and a relative string. // // See https://developer.apple.com/documentation/foundation/nsurl/1417949-initwithstring?language=objc for details. -func (x gen_NSURL) InitWithStringRelativeToURL_asNSURL( +func (x gen_NSURL) InitWithStringRelativeToURL_AsNSURL( URLString NSStringRef, baseURL NSURLRef, ) NSURL { @@ -7012,8 +6667,7 @@ func (x gen_NSURL) InitWithStringRelativeToURL_asNSURL( objc.RefPointer(baseURL), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // IsFileReferenceURL returns whether the url is a file reference url. @@ -7025,7 +6679,6 @@ func (x gen_NSURL) IsFileReferenceURL() bool { ) return convertObjCBoolToGo(ret) - } // RemoveAllCachedResourceValues removes all cached resource values and temporary resource values from the url object. @@ -7037,7 +6690,6 @@ func (x gen_NSURL) RemoveAllCachedResourceValues() { ) return - } // StartAccessingSecurityScopedResource in an app that has adopted app sandbox, makes the resource pointed to by a security-scoped url available to the app. @@ -7049,7 +6701,6 @@ func (x gen_NSURL) StartAccessingSecurityScopedResource() bool { ) return convertObjCBoolToGo(ret) - } // StopAccessingSecurityScopedResource in an app that adopts app sandbox, revokes access to the resource pointed to by a security-scoped url. @@ -7061,19 +6712,17 @@ func (x gen_NSURL) StopAccessingSecurityScopedResource() { ) return - } // Init // // See for details. -func (x gen_NSURL) Init_asNSURL() NSURL { +func (x gen_NSURL) Init_AsNSURL() NSURL { ret := C.NSURL_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // DataRepresentation @@ -7084,8 +6733,7 @@ func (x gen_NSURL) DataRepresentation() NSData { unsafe.Pointer(x.Pointer()), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // IsFileURL returns a boolean value that determines whether the receiver is a file url. @@ -7097,7 +6745,6 @@ func (x gen_NSURL) IsFileURL() bool { ) return convertObjCBoolToGo(ret) - } // AbsoluteString returns the url string for the receiver as an absolute url. (read-only) @@ -7108,8 +6755,7 @@ func (x gen_NSURL) AbsoluteString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // AbsoluteURL an absolute url that refers to the same resource as the receiver. (read-only) @@ -7120,8 +6766,7 @@ func (x gen_NSURL) AbsoluteURL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // BaseURL returns the base url. (read-only) @@ -7132,8 +6777,7 @@ func (x gen_NSURL) BaseURL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // Fragment returns the fragment identifier, conforming to rfc 1808. (read-only) @@ -7144,8 +6788,7 @@ func (x gen_NSURL) Fragment() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Host returns the host, conforming to rfc 1808. (read-only) @@ -7156,8 +6799,7 @@ func (x gen_NSURL) Host() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // LastPathComponent returns the last path component. (read-only) @@ -7168,8 +6810,7 @@ func (x gen_NSURL) LastPathComponent() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Password returns the password conforming to rfc 1808. (read-only) @@ -7180,8 +6821,7 @@ func (x gen_NSURL) Password() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Path returns the path, conforming to rfc 1808. (read-only) @@ -7192,8 +6832,7 @@ func (x gen_NSURL) Path() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // PathComponents an array containing the path components. (read-only) @@ -7204,8 +6843,7 @@ func (x gen_NSURL) PathComponents() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // PathExtension returns the path extension. (read-only) @@ -7216,8 +6854,7 @@ func (x gen_NSURL) PathExtension() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Port returns the port, conforming to rfc 1808. @@ -7228,8 +6865,7 @@ func (x gen_NSURL) Port() NSNumber { unsafe.Pointer(x.Pointer()), ) - return NSNumber_fromPointer(ret) - + return NSNumber_FromPointer(ret) } // Query returns the query string, conforming to rfc 1808. @@ -7240,8 +6876,7 @@ func (x gen_NSURL) Query() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // RelativePath returns the relative path, conforming to rfc 1808. (read-only) @@ -7252,8 +6887,7 @@ func (x gen_NSURL) RelativePath() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // RelativeString returns a string representation of the relative portion of the url. (read-only) @@ -7264,8 +6898,7 @@ func (x gen_NSURL) RelativeString() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // ResourceSpecifier returns the resource specifier. (read-only) @@ -7276,8 +6909,7 @@ func (x gen_NSURL) ResourceSpecifier() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Scheme returns the scheme. (read-only) @@ -7288,8 +6920,7 @@ func (x gen_NSURL) Scheme() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // StandardizedURL returns a copy of the url with any instances of ".." or "." removed from its path. (read-only) @@ -7300,8 +6931,7 @@ func (x gen_NSURL) StandardizedURL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // User returns the user name, conforming to rfc 1808. @@ -7312,8 +6942,7 @@ func (x gen_NSURL) User() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // FilePathURL returns a file path url that points to the same resource as the url object. (read-only) @@ -7324,8 +6953,7 @@ func (x gen_NSURL) FilePathURL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // URLByDeletingLastPathComponent returns a url created by taking the receiver and removing the last path component. (read-only) @@ -7336,8 +6964,7 @@ func (x gen_NSURL) URLByDeletingLastPathComponent() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // URLByDeletingPathExtension returns a url created by taking the receiver and removing the path extension, if any. (read-only) @@ -7348,8 +6975,7 @@ func (x gen_NSURL) URLByDeletingPathExtension() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // URLByResolvingSymlinksInPath returns a url that points to the same resource as the receiver and includes no symbolic links. (read-only) @@ -7360,8 +6986,7 @@ func (x gen_NSURL) URLByResolvingSymlinksInPath() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // URLByStandardizingPath returns a url that points to the same resource as the original url using an absolute path. (read-only) @@ -7372,8 +6997,7 @@ func (x gen_NSURL) URLByStandardizingPath() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // HasDirectoryPath @@ -7385,32 +7009,31 @@ func (x gen_NSURL) HasDirectoryPath() bool { ) return convertObjCBoolToGo(ret) - } type NSURLRequestRef interface { Pointer() uintptr - Init_asNSURLRequest() NSURLRequest + Init_AsNSURLRequest() NSURLRequest } type gen_NSURLRequest struct { objc.Object } -func NSURLRequest_fromPointer(ptr unsafe.Pointer) NSURLRequest { +func NSURLRequest_FromPointer(ptr unsafe.Pointer) NSURLRequest { return NSURLRequest{gen_NSURLRequest{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSURLRequest_fromRef(ref objc.Ref) NSURLRequest { - return NSURLRequest_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSURLRequest_FromRef(ref objc.Ref) NSURLRequest { + return NSURLRequest_FromPointer(unsafe.Pointer(ref.Pointer())) } // InitWithURL creates a url request for a specified url. // // See https://developer.apple.com/documentation/foundation/nsurlrequest/1410303-initwithurl?language=objc for details. -func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( +func (x gen_NSURLRequest) InitWithURL_AsNSURLRequest( URL NSURLRef, ) NSURLRequest { ret := C.NSURLRequest_inst_InitWithURL( @@ -7418,8 +7041,7 @@ func (x gen_NSURLRequest) InitWithURL_asNSURLRequest( objc.RefPointer(URL), ) - return NSURLRequest_fromPointer(ret) - + return NSURLRequest_FromPointer(ret) } // ValueForHTTPHeaderField returns the value of the specified http header field. @@ -7433,20 +7055,18 @@ func (x gen_NSURLRequest) ValueForHTTPHeaderField( objc.RefPointer(field), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Init // // See for details. -func (x gen_NSURLRequest) Init_asNSURLRequest() NSURLRequest { +func (x gen_NSURLRequest) Init_AsNSURLRequest() NSURLRequest { ret := C.NSURLRequest_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSURLRequest_fromPointer(ret) - + return NSURLRequest_FromPointer(ret) } // HTTPMethod returns the http request method. @@ -7457,8 +7077,7 @@ func (x gen_NSURLRequest) HTTPMethod() NSString { unsafe.Pointer(x.Pointer()), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // URL returns the url being requested. @@ -7469,8 +7088,7 @@ func (x gen_NSURLRequest) URL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // HTTPBody returns the request body. @@ -7481,8 +7099,7 @@ func (x gen_NSURLRequest) HTTPBody() NSData { unsafe.Pointer(x.Pointer()), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // MainDocumentURL returns the main document url associated with the request. @@ -7493,8 +7110,7 @@ func (x gen_NSURLRequest) MainDocumentURL() NSURL { unsafe.Pointer(x.Pointer()), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // AllHTTPHeaderFields returns a dictionary containing all of the http header fields for a request. @@ -7505,8 +7121,7 @@ func (x gen_NSURLRequest) AllHTTPHeaderFields() NSDictionary { unsafe.Pointer(x.Pointer()), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // HTTPShouldHandleCookies returns a boolean value that indicates whether the default cookie handling will be used for this request. @@ -7518,7 +7133,6 @@ func (x gen_NSURLRequest) HTTPShouldHandleCookies() bool { ) return convertObjCBoolToGo(ret) - } // HTTPShouldUsePipelining returns a boolean value that indicates whether the request should continue transmitting data before receiving a response from an earlier transmission. @@ -7530,7 +7144,6 @@ func (x gen_NSURLRequest) HTTPShouldUsePipelining() bool { ) return convertObjCBoolToGo(ret) - } // AllowsCellularAccess returns a boolean value that indicates whether the request is allowed to use the cellular radio (if present). @@ -7542,7 +7155,6 @@ func (x gen_NSURLRequest) AllowsCellularAccess() bool { ) return convertObjCBoolToGo(ret) - } // AllowsConstrainedNetworkAccess returns a boolean value that indicates whether connections may use the network when the user has specified low data mode. @@ -7554,7 +7166,6 @@ func (x gen_NSURLRequest) AllowsConstrainedNetworkAccess() bool { ) return convertObjCBoolToGo(ret) - } // AllowsExpensiveNetworkAccess returns a boolean value that indicates whether connections may use a network interface that the system considers expensive. @@ -7566,7 +7177,6 @@ func (x gen_NSURLRequest) AllowsExpensiveNetworkAccess() bool { ) return convertObjCBoolToGo(ret) - } // AssumesHTTP3Capable @@ -7578,26 +7188,25 @@ func (x gen_NSURLRequest) AssumesHTTP3Capable() bool { ) return convertObjCBoolToGo(ret) - } type NSUserDefaultsRef interface { Pointer() uintptr - Init_asNSUserDefaults() NSUserDefaults + Init_AsNSUserDefaults() NSUserDefaults } type gen_NSUserDefaults struct { objc.Object } -func NSUserDefaults_fromPointer(ptr unsafe.Pointer) NSUserDefaults { +func NSUserDefaults_FromPointer(ptr unsafe.Pointer) NSUserDefaults { return NSUserDefaults{gen_NSUserDefaults{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func NSUserDefaults_fromRef(ref objc.Ref) NSUserDefaults { - return NSUserDefaults_fromPointer(unsafe.Pointer(ref.Pointer())) +func NSUserDefaults_FromRef(ref objc.Ref) NSUserDefaults { + return NSUserDefaults_FromPointer(unsafe.Pointer(ref.Pointer())) } // URLForKey returns the url associated with the specified key. @@ -7611,8 +7220,7 @@ func (x gen_NSUserDefaults) URLForKey( objc.RefPointer(defaultName), ) - return NSURL_fromPointer(ret) - + return NSURL_FromPointer(ret) } // AddSuiteNamed inserts the specified domain name into the receiver’s search list. @@ -7627,7 +7235,6 @@ func (x gen_NSUserDefaults) AddSuiteNamed( ) return - } // ArrayForKey returns the array associated with the specified key. @@ -7641,8 +7248,7 @@ func (x gen_NSUserDefaults) ArrayForKey( objc.RefPointer(defaultName), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // BoolForKey returns the boolean value associated with the specified key. @@ -7657,7 +7263,6 @@ func (x gen_NSUserDefaults) BoolForKey( ) return convertObjCBoolToGo(ret) - } // DataForKey returns the data object associated with the specified key. @@ -7671,8 +7276,7 @@ func (x gen_NSUserDefaults) DataForKey( objc.RefPointer(defaultName), ) - return NSData_fromPointer(ret) - + return NSData_FromPointer(ret) } // DictionaryForKey returns the dictionary object associated with the specified key. @@ -7686,8 +7290,7 @@ func (x gen_NSUserDefaults) DictionaryForKey( objc.RefPointer(defaultName), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // DictionaryRepresentation returns a dictionary that contains a union of all key-value pairs in the domains in the search list. @@ -7698,26 +7301,24 @@ func (x gen_NSUserDefaults) DictionaryRepresentation() NSDictionary { unsafe.Pointer(x.Pointer()), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // Init creates a user defaults object initialized with the defaults for the app and current user. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1414356-init?language=objc for details. -func (x gen_NSUserDefaults) Init_asNSUserDefaults() NSUserDefaults { +func (x gen_NSUserDefaults) Init_AsNSUserDefaults() NSUserDefaults { ret := C.NSUserDefaults_inst_Init( unsafe.Pointer(x.Pointer()), ) - return NSUserDefaults_fromPointer(ret) - + return NSUserDefaults_FromPointer(ret) } // InitWithSuiteName creates a user defaults object initialized with the defaults for the specified database name. // // See https://developer.apple.com/documentation/foundation/nsuserdefaults/1409957-initwithsuitename?language=objc for details. -func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( +func (x gen_NSUserDefaults) InitWithSuiteName_AsNSUserDefaults( suitename NSStringRef, ) NSUserDefaults { ret := C.NSUserDefaults_inst_InitWithSuiteName( @@ -7725,8 +7326,7 @@ func (x gen_NSUserDefaults) InitWithSuiteName_asNSUserDefaults( objc.RefPointer(suitename), ) - return NSUserDefaults_fromPointer(ret) - + return NSUserDefaults_FromPointer(ret) } // IntegerForKey returns the integer value associated with the specified key. @@ -7741,7 +7341,6 @@ func (x gen_NSUserDefaults) IntegerForKey( ) return NSInteger(ret) - } // ObjectForKey returns the object associated with the specified key. @@ -7755,8 +7354,7 @@ func (x gen_NSUserDefaults) ObjectForKey( objc.RefPointer(defaultName), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // ObjectIsForcedForKey returns a boolean value indicating whether the specified key is managed by an administrator. @@ -7771,7 +7369,6 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKey( ) return convertObjCBoolToGo(ret) - } // ObjectIsForcedForKeyInDomain returns a boolean value indicating whether the key in the specified domain is managed by an administrator. @@ -7788,7 +7385,6 @@ func (x gen_NSUserDefaults) ObjectIsForcedForKeyInDomain( ) return convertObjCBoolToGo(ret) - } // PersistentDomainForName returns a dictionary representation of the defaults for the specified domain. @@ -7802,8 +7398,7 @@ func (x gen_NSUserDefaults) PersistentDomainForName( objc.RefPointer(domainName), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // RegisterDefaults adds the contents of the specified dictionary to the registration domain. @@ -7818,7 +7413,6 @@ func (x gen_NSUserDefaults) RegisterDefaults( ) return - } // RemoveObjectForKey removes the value of the specified default key. @@ -7833,7 +7427,6 @@ func (x gen_NSUserDefaults) RemoveObjectForKey( ) return - } // RemovePersistentDomainForName removes the contents of the specified persistent domain from the user’s defaults. @@ -7848,7 +7441,6 @@ func (x gen_NSUserDefaults) RemovePersistentDomainForName( ) return - } // RemoveSuiteNamed removes the specified domain name from the receiver’s search list. @@ -7863,7 +7455,6 @@ func (x gen_NSUserDefaults) RemoveSuiteNamed( ) return - } // RemoveVolatileDomainForName removes the specified volatile domain from the user’s defaults. @@ -7878,7 +7469,6 @@ func (x gen_NSUserDefaults) RemoveVolatileDomainForName( ) return - } // SetBoolForKey sets the value of the specified default key to the specified boolean value. @@ -7895,7 +7485,6 @@ func (x gen_NSUserDefaults) SetBoolForKey( ) return - } // SetIntegerForKey sets the value of the specified default key to the specified integer value. @@ -7912,7 +7501,6 @@ func (x gen_NSUserDefaults) SetIntegerForKey( ) return - } // SetObjectForKey sets the value of the specified default key. @@ -7929,7 +7517,6 @@ func (x gen_NSUserDefaults) SetObjectForKey( ) return - } // SetPersistentDomainForName sets a dictionary for the specified persistent domain. @@ -7946,7 +7533,6 @@ func (x gen_NSUserDefaults) SetPersistentDomainForName( ) return - } // SetURLForKey sets the value of the specified default key to the specified url. @@ -7963,7 +7549,6 @@ func (x gen_NSUserDefaults) SetURLForKey( ) return - } // SetVolatileDomainForName sets the dictionary for the specified volatile domain. @@ -7980,7 +7565,6 @@ func (x gen_NSUserDefaults) SetVolatileDomainForName( ) return - } // StringArrayForKey returns the array of strings associated with the specified key. @@ -7994,8 +7578,7 @@ func (x gen_NSUserDefaults) StringArrayForKey( objc.RefPointer(defaultName), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } // StringForKey returns the string associated with the specified key. @@ -8009,8 +7592,7 @@ func (x gen_NSUserDefaults) StringForKey( objc.RefPointer(defaultName), ) - return NSString_fromPointer(ret) - + return NSString_FromPointer(ret) } // Synchronize waits for any pending asynchronous updates to the defaults database and returns; this method is unnecessary and shouldn't be used. @@ -8022,7 +7604,6 @@ func (x gen_NSUserDefaults) Synchronize() bool { ) return convertObjCBoolToGo(ret) - } // VolatileDomainForName returns the dictionary for the specified volatile domain. @@ -8036,8 +7617,7 @@ func (x gen_NSUserDefaults) VolatileDomainForName( objc.RefPointer(domainName), ) - return NSDictionary_fromPointer(ret) - + return NSDictionary_FromPointer(ret) } // VolatileDomainNames returns the current volatile domain names. @@ -8048,6 +7628,5 @@ func (x gen_NSUserDefaults) VolatileDomainNames() NSArray { unsafe.Pointer(x.Pointer()), ) - return NSArray_fromPointer(ret) - + return NSArray_FromPointer(ret) } diff --git a/examples/userdefaults/main.go b/examples/userdefaults/main.go index 39779277..2f28c6d1 100644 --- a/examples/userdefaults/main.go +++ b/examples/userdefaults/main.go @@ -7,8 +7,8 @@ import ( ) func main() { - ud := core.NSUserDefaults_standardUserDefaults() - ud.SetURL_forKey(core.URL("https://github.com/progrium/macdriver"), core.String("macdriver")) + ud := core.NSUserDefaults_StandardUserDefaults() + ud.SetURLForKey(core.URL("https://github.com/progrium/macdriver"), core.String("macdriver")) u := ud.URLForKey(core.String("macdriver")) fmt.Println("looked up 'macdriver' key in NSUserDefaults and got:", u) } diff --git a/examples/workspaceutil/main.go b/examples/workspaceutil/main.go index e28fdfab..6b6764b4 100644 --- a/examples/workspaceutil/main.go +++ b/examples/workspaceutil/main.go @@ -7,7 +7,7 @@ import ( ) func main() { - ws := cocoa.NSWorkspace_sharedWorkspace() + ws := cocoa.NSWorkspace_SharedWorkspace() apps := ws.RunningApplications() fmt.Println(apps) diff --git a/gen/gen.go b/gen/gen.go index 9d65d92a..c5726da3 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -52,6 +52,9 @@ func selectorNameToGoIdent(generatedNames map[string]string, sel string) string ident += string(r) } } + if capNext { + ident += "_" + } if strings.HasSuffix(sel, ":") { trimmedSel := strings.TrimSuffix(sel, ":") diff --git a/gen/gen_class_builder.go b/gen/gen_class_builder.go index d08b3c10..15416d38 100644 --- a/gen/gen_class_builder.go +++ b/gen/gen_class_builder.go @@ -69,7 +69,7 @@ func (cb *classBuilder) instanceMethod(method schema.Method) MethodDef { WrappedFunc: cb.cgoWrapperFunc(method, false), } if isInstanceType(method.Return) { - r.Name += "_as" + cb.Class.Name + r.Name += "_As" + cb.Class.Name } return r } diff --git a/gen/lookup.go b/gen/lookup.go index 4bd9cec2..64c4bb7f 100644 --- a/gen/lookup.go +++ b/gen/lookup.go @@ -47,7 +47,7 @@ func (cb *classBuilder) mapClass(name string) *typeMapping { GoType: pkgPrefix + name, GoSimpleRefType: pkgPrefix + name + "Ref", CType: "void*", - FromCGoFmt: pkgPrefix + name + "_fromPointer(%s)", + FromCGoFmt: pkgPrefix + name + "_FromPointer(%s)", ToCGoFmt: "objc.RefPointer(%s)", } } @@ -163,7 +163,7 @@ func (cb *classBuilder) mapType(dt schema.DataType) typeMapping { GoType: "objc.Object", GoSimpleRefType: "objc.Ref", CType: "void*", - FromCGoFmt: "objc.Object_fromPointer(%s)", + FromCGoFmt: "objc.Object_FromPointer(%s)", ToCGoFmt: "objc.RefPointer(%s)", } default: diff --git a/gen/template/package.tmpl b/gen/template/package.tmpl index 7ea5c615..f0a3b269 100644 --- a/gen/template/package.tmpl +++ b/gen/template/package.tmpl @@ -105,12 +105,12 @@ func {{.Name}}( ) {{ if eq (len .WrappedFunc.Returns) 1}} return {{printf (index .WrappedFunc.Returns 0).FromCGoFmt "ret"}} - {{ else }} + {{- else }} {{- range $i, $_ := .WrappedFunc.Returns}} r{{$i}} = {{printf .FromCGoFmt "ret"}} {{- end}} return - {{ end }} + {{- end }} } {{end}} @@ -121,21 +121,21 @@ func {{.Name}}( {{range $cls := .}} type {{.Name}}Ref interface { Pointer() uintptr - Init_as{{.Name}}() {{.Name}} + Init_As{{.Name}}() {{.Name}} } type gen_{{.Name}} struct { {{.Base}} } -func {{.Name}}_fromPointer(ptr unsafe.Pointer) {{.Name}} { +func {{.Name}}_FromPointer(ptr unsafe.Pointer) {{.Name}} { return {{.Name}}{gen_{{.Name}}{ - {{.Base}}_fromPointer(ptr), + {{.Base}}_FromPointer(ptr), }} } -func {{.Name}}_fromRef(ref objc.Ref) {{.Name}} { - return {{.Name}}_fromPointer(unsafe.Pointer(ref.Pointer())) +func {{.Name}}_FromRef(ref objc.Ref) {{.Name}} { + return {{.Name}}_FromPointer(unsafe.Pointer(ref.Pointer())) } {{range .InstanceMethods}} @@ -161,12 +161,12 @@ func (x gen_{{$cls.Name}}) {{.Name}}( ) {{ if eq (len .WrappedFunc.Returns) 1}} return {{printf (index .WrappedFunc.Returns 0).FromCGoFmt "ret"}} - {{ else }} + {{- else }} {{- range $i, $_ := .WrappedFunc.Returns}} r{{$i}} = {{printf .FromCGoFmt "ret"}} {{- end}} return - {{ end }} + {{- end }} } {{end}} diff --git a/objc/object.go b/objc/object.go index 0245ea22..ac3627c7 100644 --- a/objc/object.go +++ b/objc/object.go @@ -95,11 +95,11 @@ func ObjectPtr(ptr uintptr) Object { return object{ptr: ptr} } -func Object_fromPointer(id unsafe.Pointer) Object { +func Object_FromPointer(id unsafe.Pointer) Object { return ObjectPtr(uintptr(id)) } -func Object_fromRef(ref Ref) Object { +func Object_FromRef(ref Ref) Object { if ref == nil { return nil } diff --git a/webkit/WKWebView.go b/webkit/WKWebView.go index dd1bd979..06c15268 100644 --- a/webkit/WKWebView.go +++ b/webkit/WKWebView.go @@ -10,7 +10,7 @@ type WKWebView struct { } func WKWebView_Init(frame core.NSRect, config WKWebViewConfiguration) WKWebView { - return WKWebView_alloc().InitWithFrame_configuration_asWKWebView(frame, config) + return WKWebView_Alloc().InitWithFrameConfiguration_AsWKWebView(frame, config) } // FIXME this would conflict with the `reload` selector that doesn't take a @@ -21,5 +21,5 @@ func (wv WKWebView) Reload(sender objc.Object) { } func (wv WKWebView) LoadHTMLString(html core.NSString, url core.NSURL) { - wv.LoadHTMLString_baseURL(html, url) + wv.LoadHTMLStringBaseURL(html, url) } diff --git a/webkit/WKWebViewConfiguration.go b/webkit/WKWebViewConfiguration.go index 17b29bb6..53c7c95a 100644 --- a/webkit/WKWebViewConfiguration.go +++ b/webkit/WKWebViewConfiguration.go @@ -5,5 +5,5 @@ type WKWebViewConfiguration struct { } func WKWebViewConfiguration_New() WKWebViewConfiguration { - return WKWebViewConfiguration_alloc().Init_asWKWebViewConfiguration() + return WKWebViewConfiguration_Alloc().Init_AsWKWebViewConfiguration() } diff --git a/webkit/webkit_objc.gen.go b/webkit/webkit_objc.gen.go index deffd495..3654196c 100755 --- a/webkit/webkit_objc.gen.go +++ b/webkit/webkit_objc.gen.go @@ -73,7 +73,7 @@ void* WKWebView_inst_GoBack(void *id) { goBack]; } -void WKWebView_inst_GoBack(void *id, void* sender) { +void WKWebView_inst_GoBack_(void *id, void* sender) { [(WKWebView*)id goBack: sender]; } @@ -83,7 +83,7 @@ void* WKWebView_inst_GoForward(void *id) { goForward]; } -void WKWebView_inst_GoForward(void *id, void* sender) { +void WKWebView_inst_GoForward_(void *id, void* sender) { [(WKWebView*)id goForward: sender]; } @@ -136,7 +136,7 @@ void* WKWebView_inst_Reload(void *id) { reload]; } -void WKWebView_inst_Reload(void *id, void* sender) { +void WKWebView_inst_Reload_(void *id, void* sender) { [(WKWebView*)id reload: sender]; } @@ -146,7 +146,7 @@ void* WKWebView_inst_ReloadFromOrigin(void *id) { reloadFromOrigin]; } -void WKWebView_inst_ReloadFromOrigin(void *id, void* sender) { +void WKWebView_inst_ReloadFromOrigin_(void *id, void* sender) { [(WKWebView*)id reloadFromOrigin: sender]; } @@ -156,7 +156,7 @@ void WKWebView_inst_StopLoading(void *id) { stopLoading]; } -void WKWebView_inst_StopLoading(void *id, void* sender) { +void WKWebView_inst_StopLoading_(void *id, void* sender) { [(WKWebView*)id stopLoading: sender]; } @@ -485,8 +485,7 @@ func convertToObjCBool(b bool) C.BOOL { func WKNavigation_Alloc() WKNavigation { ret := C.WKNavigation_type_Alloc() - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // WKUserScript_Alloc @@ -495,8 +494,7 @@ func WKNavigation_Alloc() WKNavigation { func WKUserScript_Alloc() WKUserScript { ret := C.WKUserScript_type_Alloc() - return WKUserScript_fromPointer(ret) - + return WKUserScript_FromPointer(ret) } // WKWebView_Alloc @@ -505,8 +503,7 @@ func WKUserScript_Alloc() WKUserScript { func WKWebView_Alloc() WKWebView { ret := C.WKWebView_type_Alloc() - return WKWebView_fromPointer(ret) - + return WKWebView_FromPointer(ret) } // WKWebView_HandlesURLScheme returns a boolean value that indicates whether webkit natively supports resources with the specified url scheme. @@ -518,7 +515,6 @@ func WKWebView_HandlesURLScheme(urlScheme core.NSStringRef) bool { ) return convertObjCBoolToGo(ret) - } // WKWebViewConfiguration_Alloc @@ -527,8 +523,7 @@ func WKWebView_HandlesURLScheme(urlScheme core.NSStringRef) bool { func WKWebViewConfiguration_Alloc() WKWebViewConfiguration { ret := C.WKWebViewConfiguration_type_Alloc() - return WKWebViewConfiguration_fromPointer(ret) - + return WKWebViewConfiguration_FromPointer(ret) } // WKPreferences_Alloc @@ -537,70 +532,67 @@ func WKWebViewConfiguration_Alloc() WKWebViewConfiguration { func WKPreferences_Alloc() WKPreferences { ret := C.WKPreferences_type_Alloc() - return WKPreferences_fromPointer(ret) - + return WKPreferences_FromPointer(ret) } type WKNavigationRef interface { Pointer() uintptr - Init_asWKNavigation() WKNavigation + Init_AsWKNavigation() WKNavigation } type gen_WKNavigation struct { objc.Object } -func WKNavigation_fromPointer(ptr unsafe.Pointer) WKNavigation { +func WKNavigation_FromPointer(ptr unsafe.Pointer) WKNavigation { return WKNavigation{gen_WKNavigation{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func WKNavigation_fromRef(ref objc.Ref) WKNavigation { - return WKNavigation_fromPointer(unsafe.Pointer(ref.Pointer())) +func WKNavigation_FromRef(ref objc.Ref) WKNavigation { + return WKNavigation_FromPointer(unsafe.Pointer(ref.Pointer())) } // Init // // See for details. -func (x gen_WKNavigation) Init_asWKNavigation() WKNavigation { +func (x gen_WKNavigation) Init_AsWKNavigation() WKNavigation { ret := C.WKNavigation_inst_Init( unsafe.Pointer(x.Pointer()), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } type WKUserScriptRef interface { Pointer() uintptr - Init_asWKUserScript() WKUserScript + Init_AsWKUserScript() WKUserScript } type gen_WKUserScript struct { objc.Object } -func WKUserScript_fromPointer(ptr unsafe.Pointer) WKUserScript { +func WKUserScript_FromPointer(ptr unsafe.Pointer) WKUserScript { return WKUserScript{gen_WKUserScript{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func WKUserScript_fromRef(ref objc.Ref) WKUserScript { - return WKUserScript_fromPointer(unsafe.Pointer(ref.Pointer())) +func WKUserScript_FromRef(ref objc.Ref) WKUserScript { + return WKUserScript_FromPointer(unsafe.Pointer(ref.Pointer())) } // Init // // See for details. -func (x gen_WKUserScript) Init_asWKUserScript() WKUserScript { +func (x gen_WKUserScript) Init_AsWKUserScript() WKUserScript { ret := C.WKUserScript_inst_Init( unsafe.Pointer(x.Pointer()), ) - return WKUserScript_fromPointer(ret) - + return WKUserScript_FromPointer(ret) } // Source returns the script’s source code. @@ -611,8 +603,7 @@ func (x gen_WKUserScript) Source() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // IsForMainFrameOnly returns a boolean value that indicates whether to inject the script into the main frame or all frames. @@ -624,26 +615,25 @@ func (x gen_WKUserScript) IsForMainFrameOnly() bool { ) return convertObjCBoolToGo(ret) - } type WKWebViewRef interface { Pointer() uintptr - Init_asWKWebView() WKWebView + Init_AsWKWebView() WKWebView } type gen_WKWebView struct { cocoa.NSView } -func WKWebView_fromPointer(ptr unsafe.Pointer) WKWebView { +func WKWebView_FromPointer(ptr unsafe.Pointer) WKWebView { return WKWebView{gen_WKWebView{ - cocoa.NSView_fromPointer(ptr), + cocoa.NSView_FromPointer(ptr), }} } -func WKWebView_fromRef(ref objc.Ref) WKWebView { - return WKWebView_fromPointer(unsafe.Pointer(ref.Pointer())) +func WKWebView_FromRef(ref objc.Ref) WKWebView { + return WKWebView_FromPointer(unsafe.Pointer(ref.Pointer())) } // GoBack navigates to the back item in the back-forward list. @@ -654,23 +644,21 @@ func (x gen_WKWebView) GoBack() WKNavigation { unsafe.Pointer(x.Pointer()), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } -// GoBack navigates to the back item in the back-forward list. +// GoBack_ navigates to the back item in the back-forward list. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414975-goback?language=objc for details. -func (x gen_WKWebView) GoBack( +func (x gen_WKWebView) GoBack_( sender objc.Ref, ) { - C.WKWebView_inst_GoBack( + C.WKWebView_inst_GoBack_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return - } // GoForward navigates to the forward item in the back-forward list. @@ -681,29 +669,27 @@ func (x gen_WKWebView) GoForward() WKNavigation { unsafe.Pointer(x.Pointer()), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } -// GoForward navigates to the forward item in the back-forward list. +// GoForward_ navigates to the forward item in the back-forward list. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414960-goforward?language=objc for details. -func (x gen_WKWebView) GoForward( +func (x gen_WKWebView) GoForward_( sender objc.Ref, ) { - C.WKWebView_inst_GoForward( + C.WKWebView_inst_GoForward_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return - } // InitWithFrameConfiguration creates a web view and initializes it with the specified frame and configuration data. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414998-initwithframe?language=objc for details. -func (x gen_WKWebView) InitWithFrameConfiguration_asWKWebView( +func (x gen_WKWebView) InitWithFrameConfiguration_AsWKWebView( frame core.NSRect, configuration WKWebViewConfigurationRef, ) WKWebView { @@ -713,8 +699,7 @@ func (x gen_WKWebView) InitWithFrameConfiguration_asWKWebView( objc.RefPointer(configuration), ) - return WKWebView_fromPointer(ret) - + return WKWebView_FromPointer(ret) } // LoadDataMIMETypeCharacterEncodingNameBaseURL loads the content of the specified data object and navigates to it. @@ -734,8 +719,7 @@ func (x gen_WKWebView) LoadDataMIMETypeCharacterEncodingNameBaseURL( objc.RefPointer(baseURL), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // LoadFileRequestAllowingReadAccessToURL @@ -751,8 +735,7 @@ func (x gen_WKWebView) LoadFileRequestAllowingReadAccessToURL( objc.RefPointer(readAccessURL), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // LoadFileURLAllowingReadAccessToURL loads the web content from the specified file and navigates to it. @@ -768,8 +751,7 @@ func (x gen_WKWebView) LoadFileURLAllowingReadAccessToURL( objc.RefPointer(readAccessURL), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // LoadHTMLStringBaseURL loads the contents of the specified html string and navigates to it. @@ -785,8 +767,7 @@ func (x gen_WKWebView) LoadHTMLStringBaseURL( objc.RefPointer(baseURL), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // LoadRequest loads the web content referenced by the specified url request object and navigates to it. @@ -800,8 +781,7 @@ func (x gen_WKWebView) LoadRequest( objc.RefPointer(request), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // LoadSimulatedRequestResponseHTMLString @@ -817,8 +797,7 @@ func (x gen_WKWebView) LoadSimulatedRequestResponseHTMLString( objc.RefPointer(string), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } // Reload reloads the current webpage. @@ -829,23 +808,21 @@ func (x gen_WKWebView) Reload() WKNavigation { unsafe.Pointer(x.Pointer()), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } -// Reload reloads the current webpage. +// Reload_ reloads the current webpage. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414987-reload?language=objc for details. -func (x gen_WKWebView) Reload( +func (x gen_WKWebView) Reload_( sender objc.Ref, ) { - C.WKWebView_inst_Reload( + C.WKWebView_inst_Reload_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return - } // ReloadFromOrigin reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. @@ -856,23 +833,21 @@ func (x gen_WKWebView) ReloadFromOrigin() WKNavigation { unsafe.Pointer(x.Pointer()), ) - return WKNavigation_fromPointer(ret) - + return WKNavigation_FromPointer(ret) } -// ReloadFromOrigin reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. +// ReloadFromOrigin_ reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. // // See https://developer.apple.com/documentation/webkit/wkwebview/1414989-reloadfromorigin?language=objc for details. -func (x gen_WKWebView) ReloadFromOrigin( +func (x gen_WKWebView) ReloadFromOrigin_( sender objc.Ref, ) { - C.WKWebView_inst_ReloadFromOrigin( + C.WKWebView_inst_ReloadFromOrigin_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return - } // StopLoading stops loading all resources on the current page. @@ -884,34 +859,31 @@ func (x gen_WKWebView) StopLoading() { ) return - } -// StopLoading stops loading all resources on the current page. +// StopLoading_ stops loading all resources on the current page. // // See https://developer.apple.com/documentation/webkit/wkwebview/1415013-stoploading?language=objc for details. -func (x gen_WKWebView) StopLoading( +func (x gen_WKWebView) StopLoading_( sender objc.Ref, ) { - C.WKWebView_inst_StopLoading( + C.WKWebView_inst_StopLoading_( unsafe.Pointer(x.Pointer()), objc.RefPointer(sender), ) return - } // Init // // See for details. -func (x gen_WKWebView) Init_asWKWebView() WKWebView { +func (x gen_WKWebView) Init_AsWKWebView() WKWebView { ret := C.WKWebView_inst_Init( unsafe.Pointer(x.Pointer()), ) - return WKWebView_fromPointer(ret) - + return WKWebView_FromPointer(ret) } // Configuration returns the object that contains the configuration details for the web view. @@ -922,8 +894,7 @@ func (x gen_WKWebView) Configuration() WKWebViewConfiguration { unsafe.Pointer(x.Pointer()), ) - return WKWebViewConfiguration_fromPointer(ret) - + return WKWebViewConfiguration_FromPointer(ret) } // UIDelegate returns the object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. @@ -934,8 +905,7 @@ func (x gen_WKWebView) UIDelegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetUIDelegate returns the object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions. @@ -950,7 +920,6 @@ func (x gen_WKWebView) SetUIDelegate( ) return - } // NavigationDelegate returns the object you use to manage navigation behavior for the web view. @@ -961,8 +930,7 @@ func (x gen_WKWebView) NavigationDelegate() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetNavigationDelegate returns the object you use to manage navigation behavior for the web view. @@ -977,7 +945,6 @@ func (x gen_WKWebView) SetNavigationDelegate( ) return - } // IsLoading returns a boolean value that indicates whether the view is currently loading content. @@ -989,7 +956,6 @@ func (x gen_WKWebView) IsLoading() bool { ) return convertObjCBoolToGo(ret) - } // Title returns the page title. @@ -1000,8 +966,7 @@ func (x gen_WKWebView) Title() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // URL returns the url for the current webpage. @@ -1012,8 +977,7 @@ func (x gen_WKWebView) URL() core.NSURL { unsafe.Pointer(x.Pointer()), ) - return core.NSURL_fromPointer(ret) - + return core.NSURL_FromPointer(ret) } // MediaType returns the media type for the contents of the web view. @@ -1024,8 +988,7 @@ func (x gen_WKWebView) MediaType() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetMediaType returns the media type for the contents of the web view. @@ -1040,7 +1003,6 @@ func (x gen_WKWebView) SetMediaType( ) return - } // CustomUserAgent returns the custom user agent string. @@ -1051,8 +1013,7 @@ func (x gen_WKWebView) CustomUserAgent() core.NSString { unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetCustomUserAgent returns the custom user agent string. @@ -1067,7 +1028,6 @@ func (x gen_WKWebView) SetCustomUserAgent( ) return - } // HasOnlySecureContent returns a boolean value that indicates whether the web view loaded all resources on the page through securely encrypted connections. @@ -1079,7 +1039,6 @@ func (x gen_WKWebView) HasOnlySecureContent() bool { ) return convertObjCBoolToGo(ret) - } // AllowsMagnification returns a boolean value that indicates whether magnify gestures change the web view’s magnification. @@ -1091,7 +1050,6 @@ func (x gen_WKWebView) AllowsMagnification() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsMagnification returns a boolean value that indicates whether magnify gestures change the web view’s magnification. @@ -1106,7 +1064,6 @@ func (x gen_WKWebView) SetAllowsMagnification( ) return - } // Magnification returns the factor by which the page content is currently scaled. @@ -1118,7 +1075,6 @@ func (x gen_WKWebView) Magnification() core.CGFloat { ) return core.CGFloat(ret) - } // SetMagnification returns the factor by which the page content is currently scaled. @@ -1133,7 +1089,6 @@ func (x gen_WKWebView) SetMagnification( ) return - } // AllowsBackForwardNavigationGestures returns a boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. @@ -1145,7 +1100,6 @@ func (x gen_WKWebView) AllowsBackForwardNavigationGestures() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsBackForwardNavigationGestures returns a boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation. @@ -1160,7 +1114,6 @@ func (x gen_WKWebView) SetAllowsBackForwardNavigationGestures( ) return - } // CanGoBack returns a boolean value that indicates whether there is a valid back item in the back-forward list. @@ -1172,7 +1125,6 @@ func (x gen_WKWebView) CanGoBack() bool { ) return convertObjCBoolToGo(ret) - } // CanGoForward returns a boolean value that indicates whether there is a valid forward item in the back-forward list. @@ -1184,7 +1136,6 @@ func (x gen_WKWebView) CanGoForward() bool { ) return convertObjCBoolToGo(ret) - } // AllowsLinkPreview returns a boolean value that determines whether pressing a link displays a preview of the destination for the link. @@ -1196,7 +1147,6 @@ func (x gen_WKWebView) AllowsLinkPreview() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsLinkPreview returns a boolean value that determines whether pressing a link displays a preview of the destination for the link. @@ -1211,7 +1161,6 @@ func (x gen_WKWebView) SetAllowsLinkPreview( ) return - } // InteractionState @@ -1222,8 +1171,7 @@ func (x gen_WKWebView) InteractionState() objc.Object { unsafe.Pointer(x.Pointer()), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // SetInteractionState @@ -1238,26 +1186,25 @@ func (x gen_WKWebView) SetInteractionState( ) return - } type WKWebViewConfigurationRef interface { Pointer() uintptr - Init_asWKWebViewConfiguration() WKWebViewConfiguration + Init_AsWKWebViewConfiguration() WKWebViewConfiguration } type gen_WKWebViewConfiguration struct { objc.Object } -func WKWebViewConfiguration_fromPointer(ptr unsafe.Pointer) WKWebViewConfiguration { +func WKWebViewConfiguration_FromPointer(ptr unsafe.Pointer) WKWebViewConfiguration { return WKWebViewConfiguration{gen_WKWebViewConfiguration{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func WKWebViewConfiguration_fromRef(ref objc.Ref) WKWebViewConfiguration { - return WKWebViewConfiguration_fromPointer(unsafe.Pointer(ref.Pointer())) +func WKWebViewConfiguration_FromRef(ref objc.Ref) WKWebViewConfiguration { + return WKWebViewConfiguration_FromPointer(unsafe.Pointer(ref.Pointer())) } // SetURLSchemeHandlerForURLScheme registers an object to load resources associated with the specified url scheme. @@ -1274,7 +1221,6 @@ func (x gen_WKWebViewConfiguration) SetURLSchemeHandlerForURLScheme( ) return - } // UrlSchemeHandlerForURLScheme returns the currently registered handler object for the specified url scheme. @@ -1288,20 +1234,18 @@ func (x gen_WKWebViewConfiguration) UrlSchemeHandlerForURLScheme( objc.RefPointer(urlScheme), ) - return objc.Object_fromPointer(ret) - + return objc.Object_FromPointer(ret) } // Init // // See for details. -func (x gen_WKWebViewConfiguration) Init_asWKWebViewConfiguration() WKWebViewConfiguration { +func (x gen_WKWebViewConfiguration) Init_AsWKWebViewConfiguration() WKWebViewConfiguration { ret := C.WKWebViewConfiguration_inst_Init( unsafe.Pointer(x.Pointer()), ) - return WKWebViewConfiguration_fromPointer(ret) - + return WKWebViewConfiguration_FromPointer(ret) } // ApplicationNameForUserAgent returns the app name that appears in the user agent string. @@ -1312,8 +1256,7 @@ func (x gen_WKWebViewConfiguration) ApplicationNameForUserAgent() core.NSString unsafe.Pointer(x.Pointer()), ) - return core.NSString_fromPointer(ret) - + return core.NSString_FromPointer(ret) } // SetApplicationNameForUserAgent returns the app name that appears in the user agent string. @@ -1328,7 +1271,6 @@ func (x gen_WKWebViewConfiguration) SetApplicationNameForUserAgent( ) return - } // LimitsNavigationsToAppBoundDomains returns a boolean value that indicates whether the web view limits navigation to pages within the app’s domain. @@ -1340,7 +1282,6 @@ func (x gen_WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool { ) return convertObjCBoolToGo(ret) - } // SetLimitsNavigationsToAppBoundDomains returns a boolean value that indicates whether the web view limits navigation to pages within the app’s domain. @@ -1355,7 +1296,6 @@ func (x gen_WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains( ) return - } // Preferences returns the object that manages the preference-related settings for the web view. @@ -1366,8 +1306,7 @@ func (x gen_WKWebViewConfiguration) Preferences() WKPreferences { unsafe.Pointer(x.Pointer()), ) - return WKPreferences_fromPointer(ret) - + return WKPreferences_FromPointer(ret) } // SetPreferences returns the object that manages the preference-related settings for the web view. @@ -1382,7 +1321,6 @@ func (x gen_WKWebViewConfiguration) SetPreferences( ) return - } // IgnoresViewportScaleLimits returns a boolean value that determines whether a web view allows scaling of the webpage. @@ -1394,7 +1332,6 @@ func (x gen_WKWebViewConfiguration) IgnoresViewportScaleLimits() bool { ) return convertObjCBoolToGo(ret) - } // SetIgnoresViewportScaleLimits returns a boolean value that determines whether a web view allows scaling of the webpage. @@ -1409,7 +1346,6 @@ func (x gen_WKWebViewConfiguration) SetIgnoresViewportScaleLimits( ) return - } // SuppressesIncrementalRendering returns a boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. @@ -1421,7 +1357,6 @@ func (x gen_WKWebViewConfiguration) SuppressesIncrementalRendering() bool { ) return convertObjCBoolToGo(ret) - } // SetSuppressesIncrementalRendering returns a boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory. @@ -1436,7 +1371,6 @@ func (x gen_WKWebViewConfiguration) SetSuppressesIncrementalRendering( ) return - } // AllowsInlineMediaPlayback returns a boolean value that indicates whether html5 videos play inline or use the native full-screen controller. @@ -1448,7 +1382,6 @@ func (x gen_WKWebViewConfiguration) AllowsInlineMediaPlayback() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsInlineMediaPlayback returns a boolean value that indicates whether html5 videos play inline or use the native full-screen controller. @@ -1463,7 +1396,6 @@ func (x gen_WKWebViewConfiguration) SetAllowsInlineMediaPlayback( ) return - } // AllowsAirPlayForMediaPlayback returns a boolean value that indicates whether the web view allows media playback over airplay. @@ -1475,7 +1407,6 @@ func (x gen_WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsAirPlayForMediaPlayback returns a boolean value that indicates whether the web view allows media playback over airplay. @@ -1490,7 +1421,6 @@ func (x gen_WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback( ) return - } // AllowsPictureInPictureMediaPlayback returns a boolean value that indicates whether html5 videos can play picture in picture. @@ -1502,7 +1432,6 @@ func (x gen_WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() bool { ) return convertObjCBoolToGo(ret) - } // SetAllowsPictureInPictureMediaPlayback returns a boolean value that indicates whether html5 videos can play picture in picture. @@ -1517,7 +1446,6 @@ func (x gen_WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback( ) return - } // UpgradeKnownHostsToHTTPS @@ -1529,7 +1457,6 @@ func (x gen_WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool { ) return convertObjCBoolToGo(ret) - } // SetUpgradeKnownHostsToHTTPS @@ -1544,26 +1471,25 @@ func (x gen_WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS( ) return - } type WKPreferencesRef interface { Pointer() uintptr - Init_asWKPreferences() WKPreferences + Init_AsWKPreferences() WKPreferences } type gen_WKPreferences struct { objc.Object } -func WKPreferences_fromPointer(ptr unsafe.Pointer) WKPreferences { +func WKPreferences_FromPointer(ptr unsafe.Pointer) WKPreferences { return WKPreferences{gen_WKPreferences{ - objc.Object_fromPointer(ptr), + objc.Object_FromPointer(ptr), }} } -func WKPreferences_fromRef(ref objc.Ref) WKPreferences { - return WKPreferences_fromPointer(unsafe.Pointer(ref.Pointer())) +func WKPreferences_FromRef(ref objc.Ref) WKPreferences { + return WKPreferences_FromPointer(unsafe.Pointer(ref.Pointer())) } // SetValueForKey @@ -1580,19 +1506,17 @@ func (x gen_WKPreferences) SetValueForKey( ) return - } // Init // // See for details. -func (x gen_WKPreferences) Init_asWKPreferences() WKPreferences { +func (x gen_WKPreferences) Init_AsWKPreferences() WKPreferences { ret := C.WKPreferences_inst_Init( unsafe.Pointer(x.Pointer()), ) - return WKPreferences_fromPointer(ret) - + return WKPreferences_FromPointer(ret) } // MinimumFontSize returns the minimum font size, in points. @@ -1604,7 +1528,6 @@ func (x gen_WKPreferences) MinimumFontSize() core.CGFloat { ) return core.CGFloat(ret) - } // SetMinimumFontSize returns the minimum font size, in points. @@ -1619,7 +1542,6 @@ func (x gen_WKPreferences) SetMinimumFontSize( ) return - } // TabFocusesLinks returns a boolean value that indicates whether pressing the tab key changes the focus to links and form controls. @@ -1631,7 +1553,6 @@ func (x gen_WKPreferences) TabFocusesLinks() bool { ) return convertObjCBoolToGo(ret) - } // SetTabFocusesLinks returns a boolean value that indicates whether pressing the tab key changes the focus to links and form controls. @@ -1646,7 +1567,6 @@ func (x gen_WKPreferences) SetTabFocusesLinks( ) return - } // JavaScriptCanOpenWindowsAutomatically returns a boolean value that indicates whether javascript can open windows without user interaction. @@ -1658,7 +1578,6 @@ func (x gen_WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool { ) return convertObjCBoolToGo(ret) - } // SetJavaScriptCanOpenWindowsAutomatically returns a boolean value that indicates whether javascript can open windows without user interaction. @@ -1673,7 +1592,6 @@ func (x gen_WKPreferences) SetJavaScriptCanOpenWindowsAutomatically( ) return - } // IsFraudulentWebsiteWarningEnabled returns a boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. @@ -1685,7 +1603,6 @@ func (x gen_WKPreferences) IsFraudulentWebsiteWarningEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetFraudulentWebsiteWarningEnabled returns a boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps. @@ -1700,7 +1617,6 @@ func (x gen_WKPreferences) SetFraudulentWebsiteWarningEnabled( ) return - } // IsTextInteractionEnabled @@ -1712,7 +1628,6 @@ func (x gen_WKPreferences) IsTextInteractionEnabled() bool { ) return convertObjCBoolToGo(ret) - } // SetTextInteractionEnabled @@ -1727,5 +1642,4 @@ func (x gen_WKPreferences) SetTextInteractionEnabled( ) return - } From ed2e36ce5d070f20e1db9b65857e91fa2e410677 Mon Sep 17 00:00:00 2001 From: Travis Cline Date: Wed, 5 Jul 2023 23:58:03 -0700 Subject: [PATCH 13/13] gen: pull out struct support start for now --- gen/gen_struct_builder.go | 278 -------------------------------------- 1 file changed, 278 deletions(-) delete mode 100644 gen/gen_struct_builder.go diff --git a/gen/gen_struct_builder.go b/gen/gen_struct_builder.go deleted file mode 100644 index e85aa547..00000000 --- a/gen/gen_struct_builder.go +++ /dev/null @@ -1,278 +0,0 @@ -package gen - -import ( - "github.com/progrium/macschema/schema" -) - -type structBuilder struct { - Struct schema.Struct - Imports []PackageContents - consumedImports map[Import]bool -} - -// func (sb *structBuilder) EachTypeMethod(f func(schema.Method)) { -// f(schema.Method{ -// Name: "alloc", -// Return: schema.DataType{Name: "instancetype"}, -// }) -// for _, m := range sb.Struct.TypeMethods { -// f(m) -// } -// for _, p := range sb.Struct.TypeProperties { -// for _, m := range propertyMethods(p) { -// f(m) -// } -// } -// } - -// func (sb *structBuilder) EachInstanceMethod(f func(schema.Method)) { -// seen := make(map[string]bool) -// for _, m := range sb.Struct.InstanceMethods { -// seen[m.Name] = true -// f(m) -// } -// if !seen["init"] { -// f(schema.Method{ -// Name: "init", -// Return: schema.DataType{Name: "instancetype"}, -// }) -// } -// for _, p := range sb.Struct.InstanceProperties { -// func() { -// defer ignoreIfUnimplemented(fmt.Sprintf("%s.%s", sb.Struct.Name, p.Name)) -// for _, m := range propertyMethods(p) { -// // properties sometimes specify a getter or setter method that is also -// // in `InstanceMethods`, so skip those if they've already been handled -// if !seen[m.Name] { -// f(m) -// } -// } -// }() -// } -// } - -// func (sb *structBuilder) instanceMethod(method schema.Method) MethodDef { -// r := MethodDef{ -// Name: toExportedName(selectorNameToGoIdent(method.Name)), -// WrappedFunc: sb.cgoWrapperFunc(method, false), -// } -// if isInstanceType(method.Return) { -// r.Name += "_as" + sb.Struct.Name -// } -// return r -// } - -// func (sb *structBuilder) msgSend(method schema.Method, isTypeMethod bool) CGoMsgSend { -// msg := CGoMsgSend{ -// Name: msgSendFuncName(sb.Struct, method.Name, isTypeMethod), -// Class: sb.Struct.Name, -// Return: sb.toMsgSendReturn(method.Return), -// } -// for i, key := range strings.SplitAfter(method.Name, ":") { -// if key == "" { -// continue -// } -// part := SelectorPart{ -// Key: key, -// } -// if i < len(method.Args) { -// arg := method.Args[i] -// typ := sb.mapType(arg.Type) -// part.Arg = &Arg{ -// Name: arg.Name, -// Type: typ.CType, -// } -// } -// msg.Selector = append(msg.Selector, part) -// } -// return msg -// } - -func (sb *structBuilder) toMsgSendReturn(dt schema.DataType) string { - if isVoid(dt) { - return "void" - } - typ := sb.mapType(dt) - return typ.CType -} - -// func (sb *structBuilder) cgoWrapperFunc(method schema.Method, isTypeMethod bool) CGoWrapperFunc { -// r := CGoWrapperFunc{ -// Name: msgSendFuncName(sb.Struct, method.Name, isTypeMethod), -// Args: []CGoWrapperArg{}, -// Returns: sb.toCGoWrapperReturn(method.Return), -// } -// for _, arg := range method.Args { -// typ := sb.mapType(arg.Type) -// goType := typ.GoSimpleRefType -// if goType == "" { -// goType = typ.GoType -// } -// r.Args = append(r.Args, CGoWrapperArg{ -// Name: arg.Name, -// Type: goType, -// ToCGoFmt: typ.ToCGoFmt, -// }) -// } -// return r -// } - -func (sb *structBuilder) toCGoWrapperReturn(dt schema.DataType) []CGoWrapperReturn { - if isVoid(dt) { - return nil - } - typ := sb.mapType(dt) - return []CGoWrapperReturn{ - {Type: typ.GoType, FromCGoFmt: typ.FromCGoFmt}, - } -} - -func (sb *structBuilder) pkgPrefixForStruct(name string) (_ string, _found bool) { - if name == sb.Struct.Name { - return "", true - } - for _, imp := range sb.Imports { - if !imp.Classes[name] { - continue - } - if imp.Import == nil { - return "", true - } - sb.consumedImports[*imp.Import] = true - return imp.Import.Alias + ".", true - } - return "", false -} - -func (sb *structBuilder) mapStruct(name string) *typeMapping { - pkgPrefix, found := sb.pkgPrefixForStruct(name) - if !found { - return nil - } - return &typeMapping{ - GoType: pkgPrefix + name, - GoSimpleRefType: pkgPrefix + name + "Ref", - CType: "void*", - FromCGoFmt: pkgPrefix + name + "_fromPointer(%s)", - ToCGoFmt: "objc.RefPointer(%s)", - } -} - -func (sb *structBuilder) mapType(dt schema.DataType) typeMapping { - if dt.IsPtr { - if structType := sb.mapStruct(dt.Name); structType != nil { - return *structType - } - if dt.Name == "void" { - return typeMapping{ - GoType: "unsafe.Pointer", - CType: "void*", - FromCGoFmt: "%s", - ToCGoFmt: "%s", - } - } - } - if dt.IsPtr || dt.IsPtrPtr { - panic(unimplemented("pointers %#v", dt)) - } - if isInstanceType(dt) { - return *sb.mapStruct(sb.Struct.Name) - } - // FIXME(mgood): look these up based on the schema, but for now just use - // "NSString" as a known struct expected to be present to resolve to the - // "core" package. - corePkg, found := sb.pkgPrefixForStruct("NSString") - if !found { - panic("could not locate the `core` package to resolve primitive types") - } - switch dt.Name { - // FIXME split enums into their own types - case "NSUInteger", "NSWindowStyleMask", "NSBackingStoreType", "NSWindowOrderingMode", "NSWindowCollectionBehavior": - return typeMapping{ - GoType: corePkg + "NSUInteger", - CType: "unsigned long", - FromCGoFmt: corePkg + "NSUInteger(%s)", - ToCGoFmt: "C.ulong(%s)", - } - case "NSInteger", "NSWindowTitleVisibility", "NSWindowLevel", "NSApplicationActivationPolicy", "NSControlStateValue", "NSPopoverBehavior": - return typeMapping{ - GoType: corePkg + "NSInteger", - CType: "long", - FromCGoFmt: corePkg + "NSInteger(%s)", - ToCGoFmt: "C.long(%s)", - } - case "CGFloat": - return typeMapping{ - GoType: corePkg + "CGFloat", - CType: "double", - FromCGoFmt: corePkg + "CGFloat(%s)", - ToCGoFmt: "C.double(%s)", - } - case "NSStringEncoding": - return typeMapping{ - GoType: corePkg + "NSStringEncoding", - CType: "unsigned long", - FromCGoFmt: corePkg + "NSStringEncoding(%s)", - ToCGoFmt: "C.ulong(%s)", - } - case "unichar": - return typeMapping{ - GoType: corePkg + "Unichar", - CType: "unsigned short", - FromCGoFmt: corePkg + "Unichar(%s)", - ToCGoFmt: "C.ushort(%s)", - } - case "BOOL": - return typeMapping{ - GoType: "bool", - CType: "BOOL", - FromCGoFmt: "convertObjCBoolToGo(%s)", - ToCGoFmt: "convertToObjCBool(%s)", - } - case "int": - return typeMapping{ - GoType: "int32", - CType: "int", - FromCGoFmt: "int32(%s)", - ToCGoFmt: "C.int(%s)", - } - case "SEL": - return typeMapping{ - GoType: "objc.Selector", - CType: "void*", - FromCGoFmt: "objc.SelectorAt(%s)", - ToCGoFmt: "%s.SelectorAddress()", - } - case "NSRect", "CGRect": - return typeMapping{ - GoType: corePkg + "NSRect", - CType: "NSRect", - FromCGoFmt: "*(*" + corePkg + "NSRect)(unsafe.Pointer(&%s))", - ToCGoFmt: "*(*C.NSRect)(unsafe.Pointer(&%s))", - } - case "NSPoint": - return typeMapping{ - GoType: corePkg + "NSPoint", - CType: "NSPoint", - FromCGoFmt: "*(*" + corePkg + "NSPoint)(unsafe.Pointer(&%s))", - ToCGoFmt: "*(*C.NSPoint)(unsafe.Pointer(&%s))", - } - case "NSSize", "CGSize": - return typeMapping{ - GoType: corePkg + "NSSize", - CType: "NSSize", - FromCGoFmt: "*(*" + corePkg + "NSSize)(unsafe.Pointer(&%s))", - ToCGoFmt: "*(*C.NSSize)(unsafe.Pointer(&%s))", - } - case "id": - return typeMapping{ - GoType: "objc.Object", - GoSimpleRefType: "objc.Ref", - CType: "void*", - FromCGoFmt: "objc.Object_fromPointer(%s)", - ToCGoFmt: "objc.RefPointer(%s)", - } - default: - panic(unimplemented("mapType: %s", dt.Name)) - } -}