NSImageView
public func addSymbolEffect(_ effect: some SymbolEffect & DiscreteSymbolEffect, options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func addSymbolEffect(_ effect: some Symbols.SymbolEffect & Symbols.IndefiniteSymbolEffect, options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func addSymbolEffect(_ effect: some Symbols.SymbolEffect & Symbols.IndefiniteSymbolEffect & Symbols.DiscreteSymbolEffect, options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func removeAllSymbolEffects(options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func removeSymbolEffect(ofType effect: some Symbols.SymbolEffect & Symbols.DiscreteSymbolEffect, options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func removeSymbolEffect(ofType effect: some Symbols.SymbolEffect & Symbols.IndefiniteSymbolEffect, options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func removeSymbolEffect(ofType effect: some Symbols.SymbolEffect & Symbols.DiscreteSymbolEffect & Symbols.IndefiniteSymbolEffect, options: Symbols.SymbolEffectOptions = .default, animated: Swift.Bool = true)
NSImageView
public func setSymbolImage(_ image: AppKit.NSImage, contentTransition: some Symbols.SymbolEffect & Symbols.ContentTransitionSymbolEffect, options: Symbols.SymbolEffectOptions = .default)
NSMenu
public static func palette(colors: [AppKit.NSColor], titles: [Swift.String] = [], template: AppKit.NSImage? = nil, onSelectionChange: ((AppKit.NSMenu) -> Swift.Void)? = nil) -> AppKit.NSMenu
NSMenuItem
public static func sectionHeader(title: Swift.String) -> AppKit.NSMenuItem
NSBezierPath
+ (nonnull NSBezierPath *)bezierPathWithCGPath:(nonnull CGPathRef)cgPath;
NSBezierPath
- (void)curveToPoint:(NSPoint)endPoint controlPoint:(NSPoint)controlPoint;
NSBezierPath
- (void)relativeCurveToPoint:(NSPoint)endPoint controlPoint:(NSPoint)controlPoint;
NSBezierPath
- (void)setCGPath:(CGPathRef)CGPath;
NSApplication
- (void)activate;
NSApplication
- (void)yieldActivationToApplication:(nonnull NSRunningApplication *)application;
NSApplication
- (void)yieldActivationToApplicationWithBundleIdentifier:(nonnull NSString *)bundleIdentifier;
NSImage
- (nonnull NSImage *)imageWithLocale:(nullable NSLocale *)locale;
NSPageLayout
- (void)beginSheetUsingPrintInfo:(nonnull NSPrintInfo *)printInfo onWindow:(nonnull NSWindow *)parentWindow completionHandler:(void (^ _Nullable)(NSPageLayoutResult))handler;
NSTextInputContext
- (void)textInputClientWillStartScrollingOrZooming;
NSTextInputContext
- (void)textInputClientDidEndScrollingOrZooming;
NSViewController
- (void)loadViewIfNeeded;
NSViewControllerPresentationAndTransitionStyles
- (void)presentViewController:(nonnull NSViewController *)viewController asPopoverRelativeToRect:(NSRect)positioningRect ofView:(nonnull NSView *)positioningView preferredEdge:(NSRectEdge)preferredEdge behavior:(NSPopoverBehavior)behavior hasFullSizeContent:(BOOL)hasFullSizeContent;
NSMenuItem
+ (nonnull instancetype)sectionHeaderWithTitle:(nonnull NSString *)title;
NSMenuItem
- (BOOL)isSectionHeader;
NSSpellChecker
- (void)showInlinePredictionForCandidates:(nonnull NSArray<NSTextCheckingResult *> *)candidates client:(nonnull id<NSTextInputClient>)client;
NSSpellChecker
+ (BOOL)isAutomaticInlinePredictionEnabled;
NSPopover
- (void)showRelativeToToolbarItem:(nonnull NSToolbarItem *)toolbarItem;
NSSplitViewControllerToggleSidebarAction
- (void)toggleInspector:(nullable id)sender;
NSOutlineViewDelegate
- (BOOL)outlineView:(nonnull NSOutlineView *)outlineView userCanChangeVisibilityOfTableColumn:(nonnull NSTableColumn *)column;
NSOutlineViewDelegate
- (void)outlineView:(nonnull NSOutlineView *)outlineView userDidChangeVisibilityOfTableColumns:(nonnull NSArray<NSTableColumn *> *)columns;
NSTableViewDelegate
- (BOOL)tableView:(nonnull NSTableView *)tableView userCanChangeVisibilityOfTableColumn:(nonnull NSTableColumn *)column;
NSTableViewDelegate
- (void)tableView:(nonnull NSTableView *)tableView userDidChangeVisibilityOfTableColumns:(nonnull NSArray<NSTableColumn *> *)columns;
NSRunningApplication
- (BOOL)activateFromApplication:(nonnull NSRunningApplication *)application options:(NSApplicationActivationOptions)options;
NSPrintPanel
- (void)beginSheetUsingPrintInfo:(nonnull NSPrintInfo *)printInfo onWindow:(nonnull NSWindow *)parentWindow completionHandler:(void (^ _Nullable)(NSPrintPanelResult))handler;
NSPaletteMenus
+ (nonnull instancetype)paletteMenuWithColors:(nonnull NSArray<NSColor *> *)colors titles:(nonnull NSArray<NSString *> *)itemTitles selectionHandler:(nullable void (^)(NSMenu * _Nonnull))onSelectionChange;
NSPaletteMenus
+ (nonnull instancetype)paletteMenuWithColors:(nonnull NSArray<NSColor *> *)colors titles:(nonnull NSArray<NSString *> *)itemTitles templateImage:(nonnull NSImage *)image selectionHandler:(nullable void (^)(NSMenu * _Nonnull))onSelectionChange;
NSTextLayoutFragment
- (nullable NSTextLineFragment *)textLineFragmentForVerticalOffset:(CGFloat)verticalOffset requiresExactMatch:(BOOL)requiresExactMatch;
NSTextLayoutFragment
- (nullable NSTextLineFragment *)textLineFragmentForTextLocation:(nonnull id<NSTextLocation>)textLocation isUpstreamAffinity:(BOOL)isUpstreamAffinity;
NSColor
public static var transferRepresentation: some CoreTransferable.TransferRepresentation
NSImage
public static var transferRepresentation: some CoreTransferable.TransferRepresentation
NSMenuItemBadge
@objc dynamic public var stringValue: Swift.String?
NSSound
public static var transferRepresentation: some CoreTransferable.TransferRepresentation
extern const NSAttributedStringDocumentAttributeKey _Nonnull NSDefaultFontExcludedDocumentAttribute
NSTextInputTraits
@optional
@property(atomic, assign, unsafe_unretained, readwrite) NSTextInputTraitType inlinePredictionType;
NSBezierPath
@property(atomic, assign, unsafe_unretained, readwrite, nonnull) CGPathRef CGPath;
NSImage
@property(atomic, copy, readonly, nullable) NSLocale *locale;
NSAccessibility
@required
@property(atomic, copy, readwrite, nullable) NSArray<NSString *> *accessibilityUserInputLabels;
NSAccessibility
@required
@property(atomic, copy, readwrite, nullable) NSArray<NSAttributedString *> *accessibilityAttributedUserInputLabels;
NSColorWell
@property(atomic, assign, unsafe_unretained, readwrite) BOOL supportsAlpha;
extern NSToolbarItemIdentifier _Nonnull NSToolbarToggleInspectorItemIdentifier
extern ) NSToolbarItemIdentifier NSToolbarInspectorTrackingSeparatorItemIdentifier
NSViewController
@property(atomic, strong, readonly, nullable) NSView *viewIfLoaded;
NSTextChecking
@property(atomic, assign, unsafe_unretained, readwrite) NSTextInputTraitType inlinePredictionType;
NSMenuItem
@property(atomic, readonly, getter = isSectionHeader) BOOL sectionHeader;
NSMenuItem
@property(atomic, copy, readwrite, nullable) NSMenuItemBadge *badge;
extern ) NSTextCheckingOptionKey NSTextCheckingGenerateInlinePredictionsKey
NSSpellChecker
@property(class, atomic, readonly, getter = isAutomaticInlinePredictionEnabled) BOOL automaticInlinePredictionEnabled;
extern ) const NSNotificationName NSSpellCheckerDidChangeAutomaticInlinePredictionNotification
NSPopover
@property(atomic, assign, unsafe_unretained, readwrite) BOOL hasFullSizeContent;
NSProgressIndicator
@property(atomic, strong, readwrite, nullable) NSProgress *observedProgress;
extern ) NSString *const NSAccessibilityTextCompletionAttribute
NSColor
@property(class, atomic, strong, readonly) NSColor *textInsertionPointColor;
NSColor
@property(class, atomic, strong, readonly) NSColor *systemFillColor;
NSColor
@property(class, atomic, strong, readonly) NSColor *secondarySystemFillColor;
NSColor
@property(class, atomic, strong, readonly) NSColor *tertiarySystemFillColor;
NSColor
@property(class, atomic, strong, readonly) NSColor *quaternarySystemFillColor;
NSColor
@property(class, atomic, strong, readonly) NSColor *quinarySystemFillColor;
extern const NSTextContentType _Nonnull NSTextContentTypeNewPassword
extern const NSTextContentType _Nonnull NSTextContentTypeName
extern const NSTextContentType _Nonnull NSTextContentTypeNamePrefix
extern const NSTextContentType _Nonnull NSTextContentTypeGivenName
extern const NSTextContentType _Nonnull NSTextContentTypeMiddleName
extern const NSTextContentType _Nonnull NSTextContentTypeFamilyName
extern const NSTextContentType _Nonnull NSTextContentTypeNameSuffix
extern const NSTextContentType _Nonnull NSTextContentTypeNickname
extern const NSTextContentType _Nonnull NSTextContentTypeJobTitle
extern const NSTextContentType _Nonnull NSTextContentTypeOrganizationName
extern const NSTextContentType _Nonnull NSTextContentTypeLocation
extern const NSTextContentType _Nonnull NSTextContentTypeFullStreetAddress
extern const NSTextContentType _Nonnull NSTextContentTypeStreetAddressLine1
extern const NSTextContentType _Nonnull NSTextContentTypeStreetAddressLine2
extern const NSTextContentType _Nonnull NSTextContentTypeAddressCity
extern const NSTextContentType _Nonnull NSTextContentTypeAddressState
extern const NSTextContentType _Nonnull NSTextContentTypeAddressCityAndState
extern const NSTextContentType _Nonnull NSTextContentTypeSublocality
extern const NSTextContentType _Nonnull NSTextContentTypeCountryName
extern const NSTextContentType _Nonnull NSTextContentTypePostalCode
extern const NSTextContentType _Nonnull NSTextContentTypeTelephoneNumber
extern const NSTextContentType _Nonnull NSTextContentTypeEmailAddress
extern const NSTextContentType _Nonnull NSTextContentTypeURL
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardNumber
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardName
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardGivenName
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardMiddleName
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardFamilyName
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardSecurityCode
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardExpiration
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardExpirationMonth
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardExpirationYear
extern const NSTextContentType _Nonnull NSTextContentTypeCreditCardType
extern const NSTextContentType _Nonnull NSTextContentTypeShipmentTrackingNumber
extern const NSTextContentType _Nonnull NSTextContentTypeFlightNumber
extern const NSTextContentType _Nonnull NSTextContentTypeDateTime
extern const NSTextContentType _Nonnull NSTextContentTypeBirthdate
extern const NSTextContentType _Nonnull NSTextContentTypeBirthdateDay
extern const NSTextContentType _Nonnull NSTextContentTypeBirthdateMonth
extern const NSTextContentType _Nonnull NSTextContentTypeBirthdateYear
NSTextInputClient
@optional
@property(atomic, readonly) NSRect unionRectInVisibleSelectedRange;
NSTextInputClient
@optional
@property(atomic, readonly) NSRect documentVisibleRect;
NSImageView
@property(class, atomic, assign, unsafe_unretained, readwrite) NSImageDynamicRange defaultPreferredImageDynamicRange;
NSImageView
@property(atomic, assign, unsafe_unretained, readwrite) NSImageDynamicRange preferredImageDynamicRange;
NSImageView
@property(atomic, readonly) NSImageDynamicRange imageDynamicRange;
NSPaletteMenus
@property(atomic, assign, unsafe_unretained, readwrite) NSMenuPresentationStyle presentationStyle;
NSPaletteMenus
@property(atomic, assign, unsafe_unretained, readwrite) NSMenuSelectionMode selectionMode;
NSPaletteMenus
@property(atomic, copy, readwrite) NSArray<NSMenuItem *> *selectedItems;